146 #ifndef _GNUCaParser_H
147 #define _GNUCaParser_H
170 #define HASH_SIZE 100
173 #ifdef ANTLR3_WINDOWS
186 #pragma warning( disable : 4100 )
187 #pragma warning( disable : 4101 )
188 #pragma warning( disable : 4127 )
189 #pragma warning( disable : 4189 )
190 #pragma warning( disable : 4505 )
191 #pragma warning( disable : 4701 )
383 const char * (*getGrammarFileName)();
391 ANTLR3_API pGNUCaParser
GNUCaParserNew (pANTLR3_COMMON_TOKEN_STREAM instream);
392 ANTLR3_API pGNUCaParser
GNUCaParserNewSSD (pANTLR3_COMMON_TOKEN_STREAM instream, pANTLR3_RECOGNIZER_SHARED_STATE state);
408 #define OctalConstant 71
409 #define BinaryExponentPart 77
415 #define BRACKET_DESIGNATOR 4
434 #define STRING_LITERAL 56
446 #define FUNCTION_DEFINITION 39
473 #define COMPOUND_LITERAL 30
479 #define DESIGNATOR 27
483 #define COMPOUND_STATEMENT 51
484 #define IntegerSuffix 70
485 #define EXPRESSION_STATEMENT 10
486 #define FUNCTION_CALL 53
493 #define CAST_EXPRESSION 48
505 #define DECLARATION 44
507 #define ASSIGNMENT_EXPRESSION 22
508 #define XTYPE_SPECIFIER 41
520 #define ENUMERATOR 28
524 #define XTYPE_QUALIFIER 42
525 #define XSTORAGE_CLASS 43
529 #define TRANSLATION_UNIT 29
530 #define FloatingSuffix 76
533 #define OctalEscape 64
535 #define UniversalCharacterName 66
536 #define DecimalConstant 69
537 #define DecimalFloatingConstant 73
539 #define TYPEDEF_NAME 20
540 #define HexadecimalFloatingConstant 74
543 #define ExponentPart 75
545 #define LINE_COMMENT 80
546 #define FUNCTION_DECLARATOR 24
547 #define HexadecimalEscape 65
548 #define DECLARATOR 35
551 #define STR_LITERAL 54
552 #define LINE_COMMAND 81
553 #define INIT_DECLARATOR 45
555 #define EscapeSequence 60
556 #define ABSTRACT_DECLARATOR 34
558 #define CharacterLiteral 61
560 #define INITIALIZER 26
561 #define STRUCT_DECLARATOR 37
566 #define CONDITIONAL_EXPRESSION 49
568 #define IDENTIFIER 55
578 #define HexadecimalConstant 72
581 #define ARRAY_ACCESS 31
584 #define ARRAY_DECLARATOR 25
591 #define BUILTIN_OFFSETOF 19
595 #define STRUCT_DECLARATION 38
598 #define DECLARATION_SPECIFIERS 46
602 #define EOF ANTLR3_TOKEN_EOF
606 #define TOKENSOURCE(lxr) lxr->pLexer->rec->state->tokSource
void(* initDeclarator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:299
void(* abstractDeclarator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:321
pANTLR3_STACK pGNUCaParser_TypedefStack
Definition: GNUCaParser.h:280
void(* typeName)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:320
ANTLR3_API pGNUCaParser GNUCaParserNew(pANTLR3_COMMON_TOKEN_STREAM instream)
Create a new GNUCaParser parser and return a context for it.
Definition: GNUCaParser.c:734
void(* enumeratorList)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:309
void(* designation)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:328
void(* parameterTypeList)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:316
void(* enumSpecifier)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:308
void(* labeledStatement)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:358
void(* shiftExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:344
void(* initializerList)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:327
void(* declarationSuffix)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:291
ANTLR3_BOOLEAN(* synpred3_GNUCa)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:376
void(* parameterList)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:317
void(* jumpStatement)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:365
struct GNUCaParser_Typedef_SCOPE_struct * pGNUCaParser_Typedef_SCOPE
void(* free)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:384
ANTLR3_UINT32 pGNUCaParser_SymbolsStack_limit
Definition: GNUCaParser.h:268
void(* expression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:355
void(* equalityExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:346
ANTLR3_BOOLEAN(* synpred1_GNUCa)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:374
void(* structOrUnion)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:303
void(* unaryExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:339
void(* assignmentOperator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:354
void(* attrib)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:334
void(* asmLabels)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:371
pGNUCaParser_Symbols_SCOPE pGNUCaParser_SymbolsTop
Definition: GNUCaParser.h:272
void(* typeSpecifier)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:301
void(* attributeList)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:333
pANTLR3_HASH_TABLE types
Definition: GNUCaParser.h:219
void(* orExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:349
void(* iterationStatement)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:364
void(* enumerator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:310
void(* argumentExpressionList)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:338
void(* assignmentExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:353
Definition: GNUCaParser.h:207
struct GNUCaParser_Typedef_SCOPE_struct GNUCaParser_Typedef_SCOPE
ANTLR3_BOOLEAN(* synpred6_GNUCa)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:379
void(* blockItem)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:360
pANTLR3_PARSER pParser
Definition: GNUCaParser.h:261
void(* asmArgument)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:367
void(* arrayOrFunctionDeclarator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:323
void(* storageClassSpecifier)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:300
void(* relationalExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:345
void(* structDeclarator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:307
pANTLR3_STACK pGNUCaParser_SymbolsStack
Definition: GNUCaParser.h:267
void(* translationUnit)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:288
struct GNUCaParser_Ctx_struct * pGNUCaParser
Definition: GNUCaParser.h:166
void(* labelDeclaration)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:361
void(* expressionStatement)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:362
void(* selectionStatement)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:363
void(* designator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:329
ANTLR3_BOOLEAN(* synpred5_GNUCa)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:378
struct GNUCaParser_Symbols_SCOPE_struct GNUCaParser_Symbols_SCOPE
void(* structDeclaration)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:304
void(* specifierQualifier)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:305
void(* structDeclaratorList)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:306
void(* typeQualifier)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:311
Definition: GNUCaParser.h:234
struct GNUCaParser_Symbols_SCOPE_struct * pGNUCaParser_Symbols_SCOPE
void(* attribute)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:332
pGNUCaParser_Symbols_SCOPE(* pGNUCaParser_SymbolsPush)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:271
void(* externalDeclaration)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:289
void(* xorExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:348
void(* multiplicativeExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:342
void(* unaryOperator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:340
void(* andExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:347
void(* pointer)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:315
void(* postfixExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:337
ANTLR3_BOOLEAN(* synpred7_GNUCa)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:380
void(* asmOperand)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:369
void(* identifierList)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:319
void(* asmOperands)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:368
void(* declarator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:313
void(* castExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:341
_Bool isTypedef
Definition: GNUCaParser.h:246
ANTLR3_BOOLEAN(* synpred2_GNUCa)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:375
pGNUCaParser_Typedef_SCOPE(* pGNUCaParser_TypedefPush)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:284
void(* initDeclaratorList)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:298
ANTLR3_UINT32 pGNUCaParser_TypedefStack_limit
Definition: GNUCaParser.h:281
void(* declaration)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:296
void(* directDeclarator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:314
void(* statement)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:357
Definition: GNUCaParser.h:256
ANTLR3_BOOLEAN(* synpred4_GNUCa)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:377
void(ANTLR3_CDECL *free)(struct GNUCaParser_Typedef_SCOPE_struct *frame)
void(* lorExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:351
void(* offsetofMemberDesignator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:336
void(* structOrUnionSpecifier)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:302
void(* directAbstractDeclarator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:322
void(* initializer)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:326
ANTLR3_BOOLEAN(* synpred8_GNUCa)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:381
void(* additiveExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:343
void(* constantExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:356
void(* landExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:350
void(* typeofSpecifier)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:325
void(* attributes)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:331
void(* declarationOrFnDef)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:290
void(* primaryExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:335
void(* constant)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:373
void(* simpleAsmExpr)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:294
void(* asmDefinition)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:293
pGNUCaParser_Typedef_SCOPE pGNUCaParser_TypedefTop
Definition: GNUCaParser.h:285
void(* compoundStatement)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:359
void(ANTLR3_CDECL *free)(struct GNUCaParser_Symbols_SCOPE_struct *frame)
void(* typedefName)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:324
void(* arrayDesignator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:330
void(* parameterDeclaration)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:318
void(* conditionalExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:352
void(* functionSpecifier)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:312
void(* declarationSpecifiers)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:297
void(* asmClobbers)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:370
void(* asmStatement)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:366
void(* sTRING_LITERAL)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:372
ANTLR3_API pGNUCaParser GNUCaParserNewSSD(pANTLR3_COMMON_TOKEN_STREAM instream, pANTLR3_RECOGNIZER_SHARED_STATE state)
Create a new GNUCaParser parser and return a context for it.
Definition: GNUCaParser.c:748
void(* functionDefinitionSuffix)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:292
void(* asmStringLiteral)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:295