src/parser.cc File Reference

Go to the source code of this file.


Namespaces

namespace  example
 The example namespace is used to encapsulate the three parser classes example::Parser, example::Scanner and example::Driver.

Defines

#define yylex   examplelex
#define yylex   driver.lexer->lex
#define YY_(msgid)   msgid
#define YYUSE(e)   ((void) (e))
#define YYCDEBUG   if (false) std::cerr
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)
#define YY_REDUCE_PRINT(Rule)
#define YY_STACK_PRINT()
#define yyerrok   (yyerrstatus_ = 0)
#define yyclearin   (yychar = yyempty_)
#define YYACCEPT   goto yyacceptlab
#define YYABORT   goto yyabortlab
#define YYERROR   goto yyerrorlab
#define YYRECOVERING()   (!!yyerrstatus_)


Define Documentation

#define YY_ ( msgid   )     msgid

Definition at line 86 of file parser.cc.

Referenced by example::Parser::yysyntax_error_().

#define YY_REDUCE_PRINT ( Rule   ) 

Definition at line 125 of file parser.cc.

Referenced by example::Parser::parse().

 
#define YY_STACK_PRINT (  ) 

Definition at line 126 of file parser.cc.

Referenced by example::Parser::parse().

#define YY_SYMBOL_PRINT ( Title,
Type,
Value,
Location   ) 

Definition at line 124 of file parser.cc.

Referenced by example::Parser::parse(), and example::Parser::yydestruct_().

#define YYABORT   goto yyabortlab

Definition at line 134 of file parser.cc.

Referenced by example::Parser::parse().

#define YYACCEPT   goto yyacceptlab

Definition at line 133 of file parser.cc.

#define YYCDEBUG   if (false) std::cerr

Definition at line 123 of file parser.cc.

Referenced by example::Parser::parse().

#define yyclearin   (yychar = yyempty_)

Definition at line 131 of file parser.cc.

#define yyerrok   (yyerrstatus_ = 0)

Definition at line 130 of file parser.cc.

#define YYERROR   goto yyerrorlab

Definition at line 135 of file parser.cc.

Referenced by example::Parser::parse().

#define yylex   driver.lexer->lex

Definition at line 71 of file parser.cc.

#define yylex   examplelex

Definition at line 71 of file parser.cc.

Referenced by example::Parser::parse().

 
#define YYRECOVERING (  )     (!!yyerrstatus_)

Definition at line 136 of file parser.cc.

#define YYUSE (  )     ((void) (e))

Definition at line 91 of file parser.cc.

Referenced by example::Parser::yydestruct_(), and example::Parser::yysyntax_error_().


Generated on Sat Sep 5 10:26:25 2009 for Flex Bison C++ Example by  doxygen 1.5.9