Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

parser.c File Reference

Go to the source code of this file.

Compounds

union  YYSTYPE

Functions

void yyerror (char *s)
void __yy_memcpy (to, from, count) char *to
int yyparse (void *)
int yyparse (void)
int yyparse (YYPARSE_PARAM_ARG) YYPARSE_PARAM_DECL

Variables

CstringList scannerDecl_tokenStates
int scannerDecl_tokenKind
int yylineno
const char yytranslate []
const short yyprhs []
const short yyrhs []
const short yyrline []
const char* const yytname []
const short yyr1 []
const short yyr2 []
const short yydefact []
const short yydefgoto []
const short yypact []
const short yypgoto []
const short yytable []
const short yycheck []
int yychar
YYSTYPE yylval
YYLTYPE yylloc
int yynerrs
int yydebug
char* from
unsigned int count


Function Documentation

void yyerror ( char * message )
 

void __yy_memcpy ( to,
from,
count ) [static]
 

Referenced by yyparse().

int yyparse ( void * )
 

int yyparse ( void )
 

int yyparse ( YYPARSE_PARAM_ARG )
 

Definition at line 725 of file parser.c.


Variable Documentation

CstringList scannerDecl_tokenStates
 

Definition at line 152 of file parser.c.

int scannerDecl_tokenKind
 

Definition at line 153 of file parser.c.

int yylineno
 

Definition at line 154 of file parser.c.

const char yytranslate [static]
 

Definition at line 189 of file parser.c.

const short yyprhs [static]
 

Initial value:

 {     0,
     0,     1,     7,     8,    10,    15,    19,    21,    24,    26,
    29,    33,    37,    41,    42,    43,    44,    53,    54,    55,
    56,    67,    69,    72,    74,    75,    82,    83,    90,    91,
    98,    99,   106,   107,   113,   114,   116,   120,   124,   126,
   130,   132,   135,   142,   149,   151,   154,   156,   158,   162,
   164,   167,   169,   172,   175,   178,   180,   184,   186,   190,
   195,   196,   198,   200,   204,   206,   210,   211,   212,   213,
   224,   226,   229,   231,   233,   234,   235,   236,   237,   238,
   239,   256,   257,   258,   263,   264,   266,   268,   272,   274,
   277,   285,   286,   288,   289,   294,   296,   298,   300,   304,
   308,   312,   318,   320,   323,   326,   329,   330,   336,   339,
   340,   345,   349,   350,   354,   355,   357,   359,   362,   363,
   364,   371,   372,   373,   377,   378,   380,   381
}

Definition at line 223 of file parser.c.

const short yyrhs [static]
 

Definition at line 239 of file parser.c.

const short yyrline [static]
 

Initial value:

 { 0,
   224,   231,   235,   236,   243,   244,   247,   248,   251,   252,
   255,   257,   259,   267,   274,   280,   287,   297,   304,   310,
   316,   319,   320,   323,   328,   331,   335,   338,   342,   345,
   349,   352,   356,   357,   363,   367,   373,   377,   383,   387,
   393,   394,   397,   403,   431,   436,   443,   446,   450,   456,
   460,   466,   470,   474,   478,   484,   489,   493,   497,   503,
   510,   511,   514,   518,   525,   530,   541,   548,   554,   560,
   563,   564,   567,   572,   575,   576,   577,   578,   580,   581,
   583,   594,   595,   597,   600,   601,   604,   606,   610,   612,
   616,   638,   639,   642,   644,   648,   650,   652,   657,   659,
   664,   669,   676,   678,   680,   682,   686,   686,   694,   700,
   701,   705,   709,   710,   713,   714,   717,   721,   727,   728,
   730,   747,   748,   749,   754,   755,   758,   759
}

Definition at line 284 of file parser.c.

const char *const yytname [static]
 

Initial value:

 {   "$","error","$undefined.","TOK_OPTIONS",
"TOK_TOKEN","TOK_SCANNER","TOK_CODE","TOK_SPECIAL","TOK_SKIP","TOK_MORE","TOK_KEYWORD",
"TOK_PARSER","TOK_LOOKAHEAD","TOK_THROW","TOK_CATCH","TOK_LBRACE","TOK_RBRACE",
"TOK_LPAREN","TOK_RPAREN","TOK_LBRACKET","TOK_RBRACKET","TOK_EQUAL","TOK_COMMA",
"TOK_SEMICOLON","TOK_TWODOTS","TOK_STAR","TOK_HASH","TOK_OR","TOK_FORCE","TOK_PLUS",
"TOK_QMARK","TOK_LSQUARE","TOK_RSQUARE","TOK_TILDE","TOK_DASH","TOK_NAME","TOK_STRING",
"TOK_NUMBER","TOK_BOOL","TOK_CHAR","TOK_DUMB","GRAMMAR_FILE","@1","OPTIONS_SECTION_OPTIONAL",
"OPTIONS_SECTION","OPTIONS_LIST","OPTION_LINE1","OPTION_LINE","TOKEN_CUSTOMIZATION_SECTION",
"@2","@3","@4","LEXICAL_SECTION","@5","@6","@7","SCANNER_DECL_LIST","SCANNER_DECL",
"@8","@9","@10","@11","@12","LEXICAL_STATES_LIST_OPTIONAL","LEXICAL_STATES_LIST",
"STATE_NAME_LIST","TOKEN_DECL_LIST","TOKEN_DECL","SPECIAL_TOKEN_DECL_LIST","TOKEN_REGEXP",
"REGEXP_OR_LIST","REGEXP_CAT_LIST","REGEXP_TERM","REGEXP_ATOM","CHARACTER_LIST",
"NEGATE_OPTIONAL","CHARACTER_DESCRIPTOR_LIST","CHARACTER_DESCRIPTOR","SYNTAX_SECTION",
"@13","@14","@15","PARSER_DECL_LIST","PARSER_DECL","PRODUCTION","@16","@17",
"@18","@19","@20","@21","THROW_CLAUSE_OPTIONAL","@22","OR_LIST_OPTIONAL","OR_LIST",
"CAT_LIST","EXPANSION","FORCE_OPTIONAL","LOOKAHEAD_OPTIONAL","LOOKAHEAD_ARGS",
"FACTOR","ATOM","@23","@24","ACTUAL_ARGS_LIST","@25","CATCH_CLAUSES_OPTIONAL",
"CATCH_CLAUSES_LIST","CATCH_CLAUSE","@26","@27","C_INHERITANCE_OPTIONAL","@28",
"C_BLOCK_OPTIONAL","C_BLOCK","@29", NULL
}

Definition at line 304 of file parser.c.

const short yyr1 [static]
 

Initial value:

 {     0,
    42,    41,    43,    43,    44,    44,    45,    45,    46,    46,
    47,    47,    47,    49,    50,    51,    48,    53,    54,    55,
    52,    56,    56,    57,    58,    57,    59,    57,    60,    57,
    61,    57,    62,    57,    63,    63,    64,    64,    65,    65,
    66,    66,    67,    67,    68,    68,    69,    70,    70,    71,
    71,    72,    72,    72,    72,    73,    73,    73,    73,    74,
    75,    75,    76,    76,    77,    77,    79,    80,    81,    78,
    82,    82,    83,    83,    85,    86,    87,    88,    89,    90,
    84,    91,    92,    91,    93,    93,    94,    94,    95,    95,
    96,    97,    97,    98,    98,    99,    99,    99,    99,    99,
    99,    99,   100,   100,   100,   100,   102,   101,   101,   103,
   101,   101,   105,   104,   106,   106,   107,   107,   109,   110,
   108,   111,   112,   111,   113,   113,   115,   114
}

Definition at line 326 of file parser.c.

const short yyr2 [static]
 

Initial value:

 {     0,
     0,     5,     0,     1,     4,     3,     1,     2,     1,     2,
     3,     3,     3,     0,     0,     0,     8,     0,     0,     0,
    10,     1,     2,     1,     0,     6,     0,     6,     0,     6,
     0,     6,     0,     5,     0,     1,     3,     3,     1,     3,
     1,     2,     6,     6,     1,     2,     1,     1,     3,     1,
     2,     1,     2,     2,     2,     1,     3,     1,     3,     4,
     0,     1,     1,     3,     1,     3,     0,     0,     0,    10,
     1,     2,     1,     1,     0,     0,     0,     0,     0,     0,
    16,     0,     0,     4,     0,     1,     1,     3,     1,     2,
     7,     0,     1,     0,     4,     1,     1,     1,     3,     3,
     3,     5,     1,     2,     2,     2,     0,     5,     2,     0,
     4,     3,     0,     3,     0,     1,     1,     2,     0,     0,
     6,     0,     0,     3,     0,     1,     0,     3
}

Definition at line 342 of file parser.c.

const short yydefact [static]
 

Initial value:

 {     3,
     0,     1,     4,     0,   125,     6,     0,     0,     7,     9,
   127,   125,    14,   126,     0,     5,     8,    10,     0,   125,
    18,     0,    11,    12,    13,   128,     2,    67,     0,     0,
     0,     0,    15,     0,    19,   122,    68,   122,   123,    16,
   122,    20,     0,     0,    69,     0,   124,    17,     0,    35,
     0,    33,     0,    35,    22,     0,    36,    24,    75,     0,
    71,    74,    73,     0,     0,    39,     0,    21,    23,    31,
    25,    27,    29,     0,    70,    72,     0,    38,    37,     0,
     0,     0,     0,     0,    76,    45,     0,    40,     0,     0,
     0,     0,     0,    34,    46,     0,     0,    41,     0,     0,
     0,     0,     0,     0,    32,    42,    26,    28,    30,    77,
     0,    61,     0,    61,    61,     0,    62,    56,     0,    47,
    48,    50,    52,    58,     0,    78,     0,     0,     0,   125,
    61,    51,    53,    54,    55,     0,    82,    43,    59,    57,
    44,    49,    65,     0,    63,     0,    79,     0,     0,    60,
    83,     0,    66,    64,     0,   125,    84,    80,    94,     0,
     0,    86,    94,    89,   125,    94,    81,    94,    90,    92,
    96,    97,     0,    98,    88,    93,     0,    94,     0,    95,
    94,     0,   107,   115,   103,    99,   100,   101,     0,     0,
   113,     0,   109,     0,   125,   116,   117,   106,   104,   105,
     0,   112,   110,     0,     0,   119,    92,   118,   102,   111,
   114,     0,     0,    91,   108,   120,     0,   121,     0,     0,
     0
}

Definition at line 358 of file parser.c.

const short yydefgoto [static]
 

Initial value:

 {   219,
     5,     2,     3,     8,     9,    10,    12,    22,    36,    44,
    20,    29,    38,    46,    54,    55,    82,    83,    84,    81,
    64,    56,    57,    67,    97,    98,    87,   119,   120,   121,
   122,   123,   124,   125,   144,   145,    27,    31,    41,    49,
    60,    61,    62,    74,    93,   113,   137,   152,   159,   147,
   155,   161,   162,   163,   164,   177,   165,   173,   184,   185,
   192,   210,   193,   204,   195,   196,   197,   213,   217,    40,
    43,    13,    14,    19
}

Definition at line 384 of file parser.c.

const short yypact [static]
 

Initial value:

 {     9,
    37,-32768,-32768,   -10,    48,-32768,    43,     2,-32768,    55,
-32768,    48,-32768,-32768,    36,-32768,-32768,-32768,    60,    48,
-32768,    97,-32768,-32768,-32768,-32768,-32768,-32768,    98,    69,
    91,    70,-32768,    71,-32768,    83,-32768,    83,-32768,-32768,
    83,-32768,    73,    48,-32768,    93,-32768,-32768,    94,    42,
    12,-32768,   -14,    39,-32768,    58,-32768,-32768,-32768,    79,
-32768,-32768,-32768,    95,    92,-32768,   -15,-32768,-32768,-32768,
-32768,-32768,-32768,    74,-32768,-32768,    76,-32768,-32768,    80,
   101,   102,   104,   105,-32768,-32768,     4,-32768,   103,   103,
   103,   103,    86,-32768,-32768,    24,    66,-32768,    67,    68,
    72,   106,    89,   107,-32768,-32768,-32768,-32768,-32768,-32768,
   108,    -2,    87,    -2,    -2,    99,-32768,-32768,   109,   112,
    -3,-32768,    40,-32768,   110,-32768,   113,    33,   115,    48,
    -2,-32768,-32768,-32768,-32768,   111,   117,-32768,-32768,-32768,
-32768,    -3,   114,    13,-32768,   119,-32768,   116,   111,-32768,
-32768,   125,-32768,-32768,    88,    48,-32768,-32768,    32,   126,
   129,-32768,    20,-32768,    48,   -11,-32768,   130,-32768,   118,
   127,   132,   133,-32768,-32768,-32768,     5,    77,    48,-32768,
   130,   121,   135,   143,    46,   136,-32768,-32768,   141,   142,
-32768,   140,-32768,   146,    48,   143,-32768,-32768,-32768,-32768,
    48,-32768,-32768,   124,   131,-32768,   118,-32768,-32768,-32768,
-32768,   135,   128,-32768,-32768,-32768,    48,-32768,   147,   165,
-32768
}

Definition at line 395 of file parser.c.

const short yypgoto [static]
 

Initial value:

 {-32768,
-32768,-32768,-32768,-32768,   159,-32768,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,   120,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,     7,   -20,-32768,    56,    11,    38,
  -119,-32768,-32768,-32768,-32768,    22,-32768,-32768,-32768,-32768,
-32768,   122,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
-32768,-32768,  -125,-32768,    10,   -35,-32768,-32768,-32768,-32768,
-32768,-32768,   -37,-32768,-32768,-32768,   -19,-32768,-32768,    52,
-32768,   -12,   -41,-32768
}

Definition at line 421 of file parser.c.

const short yytable [static]
 

Initial value:

 {    21,
   160,   132,    48,    11,    79,     6,    80,    28,    58,    63,
    65,     1,    58,   115,   115,   116,   116,    16,    63,    94,
    66,   181,   132,   182,     7,   171,    11,   -61,    59,   117,
   117,   160,   118,   118,   149,   -87,     7,   -87,    95,   183,
   172,   -87,   175,   160,   150,    52,   168,   -85,    52,   103,
   139,     4,   186,    11,    68,   189,    11,    53,   104,   131,
    53,    70,    11,    15,   133,    71,    72,    73,   134,   135,
   198,    23,    24,    25,   199,   200,   106,    18,   106,   106,
   106,   105,   107,   108,    96,    96,    96,   109,   160,    42,
    96,    11,    45,    11,    75,    59,    99,   100,   101,    26,
    30,    34,    32,    33,    35,    37,    39,    50,    51,    77,
    86,    78,    47,    85,    88,    89,    90,   141,    91,    92,
   102,    96,   110,   111,   174,   128,   126,   157,   130,   146,
   112,   114,   138,   129,   140,   151,   187,   188,   131,   156,
   136,   160,   166,   158,   167,   176,   220,   148,   178,   143,
   180,   191,   170,   179,   153,   190,   194,   201,   202,   209,
   205,   203,   206,   211,   221,   212,    17,   216,   142,   127,
   154,   214,   169,    69,   215,   218,   208,     0,     0,     0,
     0,    76,   207
}

Definition at line 436 of file parser.c.

const short yycheck [static]
 

Initial value:

 {    12,
    12,   121,    44,    15,    20,    16,    22,    20,    50,    51,
    25,     3,    54,    17,    17,    19,    19,    16,    60,    16,
    35,    17,   142,    19,    35,    37,    15,    31,    17,    33,
    33,    12,    36,    36,    22,    16,    35,    18,    35,    35,
   166,    22,   168,    12,    32,     7,    27,    16,     7,    26,
    18,    15,   178,    15,    16,   181,    15,    19,    35,    27,
    19,     4,    15,    21,    25,     8,     9,    10,    29,    30,
    25,    36,    37,    38,    29,    30,    97,    23,    99,   100,
   101,    16,    16,    16,    19,    19,    19,    16,    12,    38,
    19,    15,    41,    15,    16,    17,    90,    91,    92,    40,
     4,    11,     5,    35,    35,    35,    24,    15,    15,    15,
    35,    20,    40,    40,    35,    15,    15,   130,    15,    15,
    35,    19,    17,    35,   166,   115,    40,    40,    20,    13,
    24,    24,    20,    35,    20,    17,   178,   179,    27,    15,
    31,    12,    17,   156,    16,    28,     0,    34,    22,    39,
    18,    17,   165,    22,    39,    35,    14,    22,    18,   201,
    21,    20,    17,    40,     0,    35,     8,    40,   131,   114,
   149,   207,   163,    54,   212,   217,   196,    -1,    -1,    -1,
    -1,    60,   195
}

Definition at line 458 of file parser.c.

int yychar
 

Definition at line 615 of file parser.c.

YYSTYPE yylval
 

Definition at line 616 of file parser.c.

YYLTYPE yylloc
 

Definition at line 620 of file parser.c.

int yynerrs
 

Definition at line 624 of file parser.c.

int yydebug
 

Definition at line 628 of file parser.c.

char * from
 

Definition at line 665 of file parser.c.

unsigned int count
 

Definition at line 666 of file parser.c.


Generated at Tue Jul 9 21:05:47 2002 for CppCC by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001