src/parser.h File Reference

Go to the source code of this file.


Classes

class  example::Parser
 A Bison parser. More...
union  example::Parser::semantic_type
 Symbol semantic values. More...
struct  example::Parser::token
 Tokens. More...

Namespaces

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

Defines

#define YYDEBUG   1
#define YYERROR_VERBOSE   1
#define YYTOKEN_TABLE   0
#define YYLLOC_DEFAULT(Current, Rhs, N)


Define Documentation

#define YYDEBUG   1

Definition at line 69 of file parser.h.

#define YYERROR_VERBOSE   1

Definition at line 77 of file parser.h.

#define YYLLOC_DEFAULT ( Current,
Rhs,
 ) 

Value:

do {                                                    \
  if (N)                                                \
    {                                                   \
      (Current).begin = (Rhs)[1].begin;                 \
      (Current).end   = (Rhs)[N].end;                   \
    }                                                   \
  else                                                  \
    {                                                   \
      (Current).begin = (Current).end = (Rhs)[0].end;   \
    }                                                   \
} while (false)

Definition at line 90 of file parser.h.

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

#define YYTOKEN_TABLE   0

Definition at line 82 of file parser.h.


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