Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Tagexpr_parser_y.cc File Reference

#include "Tagexpr.h"
#include "TagexprParser.h"

Defines

#define YYBISON   1
#define YYSKELETON_NAME   "yacc.c"
#define YYPURE   0
#define YYLSP_NEEDED   0
#define TAG   258
#define LPAREN   259
#define RPAREN   260
#define OR   261
#define AND   262
#define NOT   263
#define YYSTYPE   Tagcoll::Tagexpr*
#define YYDEBUG   0
#define YYERROR_VERBOSE   0
#define YYSTACK_ALLOC   malloc
#define YYSTACK_FREE   free
#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)
#define YYSTACK_BYTES(N)
#define YYCOPY(To, From, Count)
#define YYSTACK_RELOCATE(Stack)
#define YYFINAL   8
#define YYLAST   12
#define YYNTOKENS   9
#define YYNNTS   3
#define YYNRULES   7
#define YYNSTATES   14
#define YYUNDEFTOK   2
#define YYMAXUTOK   263
#define YYTRANSLATE(YYX)   ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
#define YYPACT_NINF   -5
#define YYTABLE_NINF   -1
#define YYSIZE_T   unsigned int
#define yyerrok   (yyerrstatus = 0)
#define yyclearin   (yychar = YYEMPTY)
#define YYEMPTY   (-2)
#define YYEOF   0
#define YYACCEPT   goto yyacceptlab
#define YYABORT   goto yyabortlab
#define YYERROR   goto yyerrlab1
#define YYFAIL   goto yyerrlab
#define YYRECOVERING()   (!!yyerrstatus)
#define YYBACKUP(Token, Value)
#define YYTERROR   1
#define YYERRCODE   256
#define YYLLOC_DEFAULT(Current, Rhs, N)
#define YYLEX   yylex ()
#define YYDPRINTF(Args)
#define YYDSYMPRINT(Args)
#define YYDSYMPRINTF(Title, Token, Value, Location)
#define YY_STACK_PRINT(Bottom, Top)
#define YY_REDUCE_PRINT(Rule)
#define YYINITDEPTH   200
#define YYMAXDEPTH   10000
#define YYPOPSTACK   (yyvsp--, yyssp--)

Typedefs

typedef short yysigned_char

Enumerations

enum  yytokentype {
  TAG = 258, LPAREN = 259, RPAREN = 260, OR = 261,
  AND = 262, NOT = 263
}

Functions

int yylex ()
void yyerror (const char *s)
int yyparse ()

Variables

YYSTYPEyyvaluep
int yychar
YYSTYPE yylval
int yynerrs

Define Documentation

#define AND   262
 

#define LPAREN   259
 

#define NOT   263
 

#define OR   261
 

#define RPAREN   260
 

#define TAG   258
 

#define YY_REDUCE_PRINT Rule   ) 
 

#define YY_STACK_PRINT Bottom,
Top   ) 
 

#define YYABORT   goto yyabortlab
 

#define YYACCEPT   goto yyacceptlab
 

#define YYBACKUP Token,
Value   ) 
 

Value:

do                              \
  if (yychar == YYEMPTY && yylen == 1)              \
    {                               \
      yychar = (Token);                     \
      yylval = (Value);                     \
      yytoken = YYTRANSLATE (yychar);               \
      YYPOPSTACK;                       \
      goto yybackup;                        \
    }                               \
  else                              \
    {                               \
      yyerror ("syntax error: cannot back up");\
      YYERROR;                          \
    }                               \
while (0)

#define YYBISON   1
 

#define yyclearin   (yychar = YYEMPTY)
 

#define YYCOPY To,
From,
Count   ) 
 

Value:

do                  \
    {                   \
      register YYSIZE_T yyi;        \
      for (yyi = 0; yyi < (Count); yyi++)   \
        (To)[yyi] = (From)[yyi];        \
    }                   \
      while (0)

#define YYDEBUG   0
 

#define YYDPRINTF Args   ) 
 

#define YYDSYMPRINT Args   ) 
 

#define YYDSYMPRINTF Title,
Token,
Value,
Location   ) 
 

#define YYEMPTY   (-2)
 

#define YYEOF   0
 

#define YYERRCODE   256
 

#define yyerrok   (yyerrstatus = 0)
 

#define YYERROR   goto yyerrlab1
 

#define YYERROR_VERBOSE   0
 

#define YYFAIL   goto yyerrlab
 

#define YYFINAL   8
 

#define YYINITDEPTH   200
 

#define YYLAST   12
 

#define YYLEX   yylex ()
 

#define YYLLOC_DEFAULT Current,
Rhs,
 ) 
 

Value:

Current.first_line   = Rhs[1].first_line;      \
  Current.first_column = Rhs[1].first_column;    \
  Current.last_line    = Rhs[N].last_line;       \
  Current.last_column  = Rhs[N].last_column;

#define YYLSP_NEEDED   0
 

#define YYMAXDEPTH   10000
 

#define YYMAXUTOK   263
 

#define YYNNTS   3
 

#define YYNRULES   7
 

#define YYNSTATES   14
 

#define YYNTOKENS   9
 

#define YYPACT_NINF   -5
 

#define YYPOPSTACK   (yyvsp--, yyssp--)
 

#define YYPURE   0
 

 
#define YYRECOVERING  )     (!!yyerrstatus)
 

#define YYSIZE_T   unsigned int
 

#define YYSKELETON_NAME   "yacc.c"
 

#define YYSTACK_ALLOC   malloc
 

#define YYSTACK_BYTES  ) 
 

Value:

((N) * (sizeof (short) + sizeof (YYSTYPE))              \
      + YYSTACK_GAP_MAXIMUM)

#define YYSTACK_FREE   free
 

#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)
 

#define YYSTACK_RELOCATE Stack   ) 
 

Value:

do                                  \
      {                                 \
    YYSIZE_T yynewbytes;                        \
    YYCOPY (&yyptr->Stack, Stack, yysize);              \
    Stack = &yyptr->Stack;                      \
    yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
    yyptr += yynewbytes / sizeof (*yyptr);              \
      }                                 \
    while (0)

#define YYSTYPE   Tagcoll::Tagexpr*
 

#define YYTABLE_NINF   -1
 

#define YYTERROR   1
 

#define YYTRANSLATE YYX   )     ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
 

#define YYUNDEFTOK   2
 


Typedef Documentation

typedef short yysigned_char
 


Enumeration Type Documentation

enum yytokentype
 

Enumeration values:
TAG 
LPAREN 
RPAREN 
OR 
AND 
NOT 


Function Documentation

void yyerror const char *  s  ) 
 

int yylex  ) 
 

int yyparse  ) 
 


Variable Documentation

int yychar
 

YYSTYPE yylval
 

int yynerrs
 

YYSTYPE* yyvaluep
 


Generated on Tue Oct 26 18:30:09 2004 for libtagcoll by  doxygen 1.3.9.1