Navigation

Operators and Keywords

Function List:

C++ API

lex.h File Reference

#include <list>

Include dependency graph for lex.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Classes

class  lexical_feedback
class  stream_reader

Defines

#define octave_lex_h   1

Typedefs

typedef struct yy_buffer_stateYY_BUFFER_STATE

Functions

OCTINTERP_API YY_BUFFER_STATE create_buffer (FILE *f)
OCTINTERP_API YY_BUFFER_STATE current_buffer (void)
OCTINTERP_API void switch_to_buffer (YY_BUFFER_STATE buf)
OCTINTERP_API void delete_buffer (YY_BUFFER_STATE buf)
bool is_keyword (const std::string &s)
void prep_lexer_for_script_file (void)
void prep_lexer_for_function_file (void)
std::string grab_comment_block (stream_reader &reader, bool at_bol, bool &eof)

Variables

bool parser_end_of_input
lexical_feedback lexer_flags

Define Documentation

#define octave_lex_h   1


Typedef Documentation


Function Documentation

OCTINTERP_API YY_BUFFER_STATE create_buffer ( FILE *  f  ) 

OCTINTERP_API YY_BUFFER_STATE current_buffer ( void   ) 

OCTINTERP_API void delete_buffer ( YY_BUFFER_STATE  buf  ) 

std::string grab_comment_block ( stream_reader reader,
bool  at_bol,
bool eof 
)

bool is_keyword ( const std::string s  ) 

void prep_lexer_for_function_file ( void   ) 

void prep_lexer_for_script_file ( void   ) 

OCTINTERP_API void switch_to_buffer ( YY_BUFFER_STATE  buf  ) 


Variable Documentation