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)();
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(* asmStatement)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:366
pANTLR3_STACK pGNUCaParser_TypedefStack
Definition: GNUCaParser.h:280
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(* asmOperands)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:368
void(* selectionStatement)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:363
void(* equalityExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:346
void(* asmStringLiteral)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:295
ANTLR3_BOOLEAN(* synpred7_GNUCa)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:380
void(* lorExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:351
pGNUCaParser_Symbols_SCOPE(* pGNUCaParser_SymbolsPush)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:271
void(* structDeclaration)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:304
void(* storageClassSpecifier)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:300
void(* initDeclarator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:299
void(* attributeList)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:333
struct GNUCaParser_Typedef_SCOPE_struct * pGNUCaParser_Typedef_SCOPE
ANTLR3_UINT32 pGNUCaParser_SymbolsStack_limit
Definition: GNUCaParser.h:268
void(* sTRING_LITERAL)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:372
void(* arrayDesignator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:330
void(* attrib)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:334
void(* typeSpecifier)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:301
void(* constant)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:373
pGNUCaParser_Symbols_SCOPE pGNUCaParser_SymbolsTop
Definition: GNUCaParser.h:272
void(* declaration)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:296
void(* enumSpecifier)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:308
void(* andExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:347
pANTLR3_HASH_TABLE types
Definition: GNUCaParser.h:219
void(* argumentExpressionList)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:338
void(* free)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:384
void(* parameterList)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:317
void(* identifierList)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:319
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(* castExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:341
void(* unaryExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:339
void(* multiplicativeExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:342
pANTLR3_PARSER pParser
Definition: GNUCaParser.h:261
void(* designator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:329
void(* typeofSpecifier)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:325
void(* offsetofMemberDesignator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:336
void(* jumpStatement)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:365
void(* unaryOperator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:340
void(* externalDeclaration)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:289
ANTLR3_BOOLEAN(* synpred5_GNUCa)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:378
void(* initializerList)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:327
void(* relationalExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:345
void(* initDeclaratorList)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:298
pANTLR3_STACK pGNUCaParser_SymbolsStack
Definition: GNUCaParser.h:267
void(* orExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:349
void(* parameterTypeList)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:316
struct GNUCaParser_Ctx_struct * pGNUCaParser
Definition: GNUCaParser.h:166
void(* functionDefinitionSuffix)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:292
void(* designation)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:328
void(* constantExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:356
void(* pointer)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:315
void(* enumerator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:310
void(* declarationSuffix)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:291
struct GNUCaParser_Symbols_SCOPE_struct GNUCaParser_Symbols_SCOPE
void(* compoundStatement)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:359
ANTLR3_BOOLEAN(* synpred8_GNUCa)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:381
Definition: GNUCaParser.h:234
struct GNUCaParser_Symbols_SCOPE_struct * pGNUCaParser_Symbols_SCOPE
void(* structOrUnionSpecifier)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:302
void(* declarationSpecifiers)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:297
void(* postfixExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:337
void(* structDeclarator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:307
void(* asmLabels)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:371
void(* iterationStatement)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:364
void(* conditionalExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:352
void(* structOrUnion)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:303
void(* assignmentExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:353
void(* statement)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:357
void(* xorExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:348
void(* typeQualifier)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:311
_Bool isTypedef
Definition: GNUCaParser.h:246
void(* functionSpecifier)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:312
void(* additiveExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:343
void(* asmClobbers)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:370
ANTLR3_BOOLEAN(* synpred4_GNUCa)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:377
void(* abstractDeclarator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:321
void(* asmOperand)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:369
ANTLR3_UINT32 pGNUCaParser_TypedefStack_limit
Definition: GNUCaParser.h:281
void(* asmDefinition)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:293
void(* asmArgument)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:367
void(* directDeclarator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:314
void(* declarationOrFnDef)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:290
void(* structDeclaratorList)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:306
Definition: GNUCaParser.h:256
void(* assignmentOperator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:354
void(ANTLR3_CDECL *free)(struct GNUCaParser_Typedef_SCOPE_struct *frame)
void(* declarator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:313
ANTLR3_BOOLEAN(* synpred1_GNUCa)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:374
void(* labelDeclaration)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:361
ANTLR3_BOOLEAN(* synpred3_GNUCa)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:376
void(* shiftExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:344
void(* typeName)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:320
void(* landExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:350
void(* initializer)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:326
void(* expressionStatement)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:362
ANTLR3_BOOLEAN(* synpred2_GNUCa)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:375
void(* directAbstractDeclarator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:322
void(* typedefName)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:324
void(* enumeratorList)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:309
void(* labeledStatement)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:358
void(* parameterDeclaration)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:318
void(* simpleAsmExpr)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:294
pGNUCaParser_Typedef_SCOPE pGNUCaParser_TypedefTop
Definition: GNUCaParser.h:285
void(* attribute)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:332
void(* specifierQualifier)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:305
void(* expression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:355
pGNUCaParser_Typedef_SCOPE(* pGNUCaParser_TypedefPush)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:284
void(ANTLR3_CDECL *free)(struct GNUCaParser_Symbols_SCOPE_struct *frame)
void(* attributes)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:331
void(* arrayOrFunctionDeclarator)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:323
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(* translationUnit)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:288
void(* blockItem)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:360
void(* primaryExpression)(struct GNUCaParser_Ctx_struct *ctx)
Definition: GNUCaParser.h:335