15#define YY_DECL SEAMS::Parser::token_type SEAMS::Scanner::lex(SEAMS::Parser::semantic_type *yylval)
18#define yyFlexLexer SEAMSFlexLexer
42 std::ostream *out =
nullptr);
SEAMSFlexLexer(std::istream *arg_yyin=nullptr, std::ostream *arg_yyout=nullptr)
value_type semantic_type
Backward compatibility (Bison 3.8).
Definition aprepro_parser.h:201
token_kind_type token_type
Backward compatibility alias (Bison 3.6).
Definition aprepro_parser.h:276
void LexerOutput(const char *buf, int size) override
int LexerInput(char *buf, int max_size) override
class Aprepro & aprepro
Definition apr_scanner.h:69
void save_history_string()
Scanner(Aprepro &aprepro_yyarg, std::istream *in=nullptr, std::ostream *out=nullptr)
bool add_include_file(const std::string &filename, bool must_exist)
char * execute(char *string)
char * import_handler(char *string)
char * elseif_handler(double x)
char * if_handler(double x)
char * switch_handler(double x)
friend class Parser
Definition apr_scanner.h:36
virtual Parser::token_type lex(Parser::semantic_type *yylval)
char * rescan(char *string)
void yyerror(const char *s)
char * case_handler(double x)
Definition apr_aprepro.cc:57