Stanse  -1
GNUCaParser.h
Go to the documentation of this file.
1 
117 // [The "BSD licence"]
118 // Copyright (c) 2005-2009 Jim Idle, Temporal Wave LLC
119 // http://www.temporal-wave.com
120 // http://www.linkedin.com/in/jimidle
121 //
122 // All rights reserved.
123 //
124 // Redistribution and use in source and binary forms, with or without
125 // modification, are permitted provided that the following conditions
126 // are met:
127 // 1. Redistributions of source code must retain the above copyright
128 // notice, this list of conditions and the following disclaimer.
129 // 2. Redistributions in binary form must reproduce the above copyright
130 // notice, this list of conditions and the following disclaimer in the
131 // documentation and/or other materials provided with the distribution.
132 // 3. The name of the author may not be used to endorse or promote products
133 // derived from this software without specific prior written permission.
134 //
135 // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
136 // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
137 // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
138 // IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
139 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
140 // NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
141 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
142 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
143 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
144 // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
145 
146 #ifndef _GNUCaParser_H
147 #define _GNUCaParser_H
148 /* =============================================================================
149  * Standard antlr3 C runtime definitions
150  */
151 #include <antlr3.h>
152 
153 /* End of standard antlr 3 runtime definitions
154  * =============================================================================
155  */
156 
157 #ifdef __cplusplus
158 extern "C" {
159 #endif
160 
161 // Forward declare the context typedef so that we can use it before it is
162 // properly defined. Delegators and delegates (from import statements) are
163 // interdependent and their context structures contain pointers to each other
164 // C only allows such things to be declared if you pre-declare the typedef.
165 //
167 
168 
169 
170 #define HASH_SIZE 100
171 
172 
173 #ifdef ANTLR3_WINDOWS
174 // Disable: Unreferenced parameter, - Rules with parameters that are not used
175 // constant conditional, - ANTLR realizes that a prediction is always true (synpred usually)
176 // initialized but unused variable - tree rewrite variables declared but not needed
177 // Unreferenced local variable - lexer rule declares but does not always use _type
178 // potentially unitialized variable used - retval always returned from a rule
179 // unreferenced local function has been removed - susually getTokenNames or freeScope, they can go without warnigns
180 //
181 // These are only really displayed at warning level /W4 but that is the code ideal I am aiming at
182 // and the codegen must generate some of these warnings by necessity, apart from 4100, which is
183 // usually generated when a parser rule is given a parameter that it does not use. Mostly though
184 // this is a matter of orthogonality hence I disable that one.
185 //
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 )
192 #endif
193 
194 /* ========================
195  * BACKTRACKING IS ENABLED
196  * ========================
197  */
198 
199 /* globalAttributeScopeDecl(scope)
200  */
201 /* makeScopeSet()
202  */
208 {
214  void (ANTLR3_CDECL *free) (struct GNUCaParser_Symbols_SCOPE_struct * frame);
215 
216  /* =============================================================================
217  * Programmer defined variables...
218  */
219  pANTLR3_HASH_TABLE types;
220 
221  /* End of programmer defined variables
222  * =============================================================================
223  */
224 }
226 /* globalAttributeScopeDecl(scope)
227  */
228 /* makeScopeSet()
229  */
235 {
241  void (ANTLR3_CDECL *free) (struct GNUCaParser_Typedef_SCOPE_struct * frame);
242 
243  /* =============================================================================
244  * Programmer defined variables...
245  */
246  _Bool isTypedef;
247 
248  /* End of programmer defined variables
249  * =============================================================================
250  */
251 }
253 
257 {
261  pANTLR3_PARSER pParser;
262  /* globalAttributeScopeDef(scope)
263  */
272  pGNUCaParser_Symbols_SCOPE pGNUCaParser_SymbolsTop;
273 
274 
275  /* globalAttributeScopeDef(scope)
276  */
285  pGNUCaParser_Typedef_SCOPE pGNUCaParser_TypedefTop;
286 
287 
288  void (*translationUnit) (struct GNUCaParser_Ctx_struct * ctx);
293  void (*asmDefinition) (struct GNUCaParser_Ctx_struct * ctx);
294  void (*simpleAsmExpr) (struct GNUCaParser_Ctx_struct * ctx);
295  void (*asmStringLiteral) (struct GNUCaParser_Ctx_struct * ctx);
296  void (*declaration) (struct GNUCaParser_Ctx_struct * ctx);
299  void (*initDeclarator) (struct GNUCaParser_Ctx_struct * ctx);
301  void (*typeSpecifier) (struct GNUCaParser_Ctx_struct * ctx);
303  void (*structOrUnion) (struct GNUCaParser_Ctx_struct * ctx);
307  void (*structDeclarator) (struct GNUCaParser_Ctx_struct * ctx);
308  void (*enumSpecifier) (struct GNUCaParser_Ctx_struct * ctx);
309  void (*enumeratorList) (struct GNUCaParser_Ctx_struct * ctx);
310  void (*enumerator) (struct GNUCaParser_Ctx_struct * ctx);
311  void (*typeQualifier) (struct GNUCaParser_Ctx_struct * ctx);
313  void (*declarator) (struct GNUCaParser_Ctx_struct * ctx);
314  void (*directDeclarator) (struct GNUCaParser_Ctx_struct * ctx);
315  void (*pointer) (struct GNUCaParser_Ctx_struct * ctx);
317  void (*parameterList) (struct GNUCaParser_Ctx_struct * ctx);
319  void (*identifierList) (struct GNUCaParser_Ctx_struct * ctx);
320  void (*typeName) (struct GNUCaParser_Ctx_struct * ctx);
324  void (*typedefName) (struct GNUCaParser_Ctx_struct * ctx);
325  void (*typeofSpecifier) (struct GNUCaParser_Ctx_struct * ctx);
326  void (*initializer) (struct GNUCaParser_Ctx_struct * ctx);
327  void (*initializerList) (struct GNUCaParser_Ctx_struct * ctx);
328  void (*designation) (struct GNUCaParser_Ctx_struct * ctx);
329  void (*designator) (struct GNUCaParser_Ctx_struct * ctx);
330  void (*arrayDesignator) (struct GNUCaParser_Ctx_struct * ctx);
331  void (*attributes) (struct GNUCaParser_Ctx_struct * ctx);
332  void (*attribute) (struct GNUCaParser_Ctx_struct * ctx);
333  void (*attributeList) (struct GNUCaParser_Ctx_struct * ctx);
334  void (*attrib) (struct GNUCaParser_Ctx_struct * ctx);
339  void (*unaryExpression) (struct GNUCaParser_Ctx_struct * ctx);
340  void (*unaryOperator) (struct GNUCaParser_Ctx_struct * ctx);
341  void (*castExpression) (struct GNUCaParser_Ctx_struct * ctx);
344  void (*shiftExpression) (struct GNUCaParser_Ctx_struct * ctx);
347  void (*andExpression) (struct GNUCaParser_Ctx_struct * ctx);
348  void (*xorExpression) (struct GNUCaParser_Ctx_struct * ctx);
349  void (*orExpression) (struct GNUCaParser_Ctx_struct * ctx);
350  void (*landExpression) (struct GNUCaParser_Ctx_struct * ctx);
351  void (*lorExpression) (struct GNUCaParser_Ctx_struct * ctx);
355  void (*expression) (struct GNUCaParser_Ctx_struct * ctx);
357  void (*statement) (struct GNUCaParser_Ctx_struct * ctx);
358  void (*labeledStatement) (struct GNUCaParser_Ctx_struct * ctx);
360  void (*blockItem) (struct GNUCaParser_Ctx_struct * ctx);
361  void (*labelDeclaration) (struct GNUCaParser_Ctx_struct * ctx);
365  void (*jumpStatement) (struct GNUCaParser_Ctx_struct * ctx);
366  void (*asmStatement) (struct GNUCaParser_Ctx_struct * ctx);
367  void (*asmArgument) (struct GNUCaParser_Ctx_struct * ctx);
368  void (*asmOperands) (struct GNUCaParser_Ctx_struct * ctx);
369  void (*asmOperand) (struct GNUCaParser_Ctx_struct * ctx);
370  void (*asmClobbers) (struct GNUCaParser_Ctx_struct * ctx);
371  void (*asmLabels) (struct GNUCaParser_Ctx_struct * ctx);
372  void (*sTRING_LITERAL) (struct GNUCaParser_Ctx_struct * ctx);
373  void (*constant) (struct GNUCaParser_Ctx_struct * ctx);
374  ANTLR3_BOOLEAN (*synpred1_GNUCa) (struct GNUCaParser_Ctx_struct * ctx);
375  ANTLR3_BOOLEAN (*synpred2_GNUCa) (struct GNUCaParser_Ctx_struct * ctx);
376  ANTLR3_BOOLEAN (*synpred3_GNUCa) (struct GNUCaParser_Ctx_struct * ctx);
377  ANTLR3_BOOLEAN (*synpred4_GNUCa) (struct GNUCaParser_Ctx_struct * ctx);
378  ANTLR3_BOOLEAN (*synpred5_GNUCa) (struct GNUCaParser_Ctx_struct * ctx);
379  ANTLR3_BOOLEAN (*synpred6_GNUCa) (struct GNUCaParser_Ctx_struct * ctx);
380  ANTLR3_BOOLEAN (*synpred7_GNUCa) (struct GNUCaParser_Ctx_struct * ctx);
381  ANTLR3_BOOLEAN (*synpred8_GNUCa) (struct GNUCaParser_Ctx_struct * ctx);
382  // Delegated rules
383  const char * (*getGrammarFileName)();
384  void (*free) (struct GNUCaParser_Ctx_struct * ctx);
385 
386 };
387 
388 // Function protoypes for the constructor functions that external translation units
389 // such as delegators and delegates may wish to call.
390 //
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);
393 
402 #ifdef EOF
403 #undef EOF
404 #endif
405 #ifdef Tokens
406 #undef Tokens
407 #endif
408 #define OctalConstant 71
409 #define BinaryExponentPart 77
410 #define T__159 159
411 #define T__158 158
412 #define POINTER 36
413 #define NonDigit 58
414 #define T__160 160
415 #define BRACKET_DESIGNATOR 4
416 #define COMPLEX 6
417 #define E2 8
418 #define E1 7
419 #define E3 9
420 #define T__167 167
421 #define T__168 168
422 #define EOF -1
423 #define T__165 165
424 #define T__166 166
425 #define T__163 163
426 #define T__164 164
427 #define T__161 161
428 #define T__162 162
429 #define T__93 93
430 #define T__94 94
431 #define T__91 91
432 #define T__92 92
433 #define T__148 148
434 #define STRING_LITERAL 56
435 #define T__147 147
436 #define T__90 90
437 #define T__149 149
438 #define Sign 63
439 #define T__154 154
440 #define T__155 155
441 #define T__156 156
442 #define T__157 157
443 #define T__99 99
444 #define T__150 150
445 #define T__98 98
446 #define FUNCTION_DEFINITION 39
447 #define T__151 151
448 #define T__97 97
449 #define T__152 152
450 #define T__96 96
451 #define T__153 153
452 #define T__95 95
453 #define T__139 139
454 #define T__138 138
455 #define T__137 137
456 #define T__136 136
457 #define T__82 82
458 #define T__83 83
459 #define XU 16
460 #define ASM 11
461 #define T__141 141
462 #define T__85 85
463 #define T__142 142
464 #define T__84 84
465 #define T__87 87
466 #define T__140 140
467 #define T__86 86
468 #define T__145 145
469 #define T__89 89
470 #define T__146 146
471 #define T__88 88
472 #define T__143 143
473 #define COMPOUND_LITERAL 30
474 #define T__144 144
475 #define T__126 126
476 #define T__125 125
477 #define T__128 128
478 #define T__127 127
479 #define DESIGNATOR 27
480 #define WS 78
481 #define T__129 129
482 #define TYPEOF 21
483 #define COMPOUND_STATEMENT 51
484 #define IntegerSuffix 70
485 #define EXPRESSION_STATEMENT 10
486 #define FUNCTION_CALL 53
487 #define T__130 130
488 #define T__131 131
489 #define T__132 132
490 #define T__133 133
491 #define T__134 134
492 #define T__135 135
493 #define CAST_EXPRESSION 48
494 #define T__118 118
495 #define T__119 119
496 #define T__116 116
497 #define T__117 117
498 #define T__114 114
499 #define T__115 115
500 #define T__124 124
501 #define T__123 123
502 #define T__122 122
503 #define T__121 121
504 #define T__120 120
505 #define DECLARATION 44
506 #define HexDigit 62
507 #define ASSIGNMENT_EXPRESSION 22
508 #define XTYPE_SPECIFIER 41
509 #define AU 17
510 #define T__107 107
511 #define T__108 108
512 #define T__109 109
513 #define T__103 103
514 #define T__104 104
515 #define T__105 105
516 #define T__106 106
517 #define T__111 111
518 #define T__110 110
519 #define PU 14
520 #define ENUMERATOR 28
521 #define T__113 113
522 #define T__112 112
523 #define PP 12
524 #define XTYPE_QUALIFIER 42
525 #define XSTORAGE_CLASS 43
526 #define T__102 102
527 #define T__101 101
528 #define T__100 100
529 #define TRANSLATION_UNIT 29
530 #define FloatingSuffix 76
531 #define XID 40
532 #define EXTENSION 57
533 #define OctalEscape 64
534 #define SIGNED 5
535 #define UniversalCharacterName 66
536 #define DecimalConstant 69
537 #define DecimalFloatingConstant 73
538 #define MU 15
539 #define TYPEDEF_NAME 20
540 #define HexadecimalFloatingConstant 74
541 #define MM 13
542 #define PARAMETER 32
543 #define ExponentPart 75
544 #define COMMENT 79
545 #define LINE_COMMENT 80
546 #define FUNCTION_DECLARATOR 24
547 #define HexadecimalEscape 65
548 #define DECLARATOR 35
549 #define ICONSTANT 67
550 #define RCONSTANT 68
551 #define STR_LITERAL 54
552 #define LINE_COMMAND 81
553 #define INIT_DECLARATOR 45
554 #define BASETYPE 47
555 #define EscapeSequence 60
556 #define ABSTRACT_DECLARATOR 34
557 #define VARARGS 33
558 #define CharacterLiteral 61
559 #define ALIGNOF 52
560 #define INITIALIZER 26
561 #define STRUCT_DECLARATOR 37
562 #define T__194 194
563 #define T__193 193
564 #define T__192 192
565 #define T__191 191
566 #define CONDITIONAL_EXPRESSION 49
567 #define T__190 190
568 #define IDENTIFIER 55
569 #define TYPE_NAME 23
570 #define T__184 184
571 #define T__183 183
572 #define T__186 186
573 #define T__185 185
574 #define T__188 188
575 #define T__187 187
576 #define T__189 189
577 #define T__180 180
578 #define HexadecimalConstant 72
579 #define T__182 182
580 #define T__181 181
581 #define ARRAY_ACCESS 31
582 #define Digit 59
583 #define T__175 175
584 #define ARRAY_DECLARATOR 25
585 #define T__174 174
586 #define T__173 173
587 #define T__172 172
588 #define T__179 179
589 #define T__178 178
590 #define T__177 177
591 #define BUILTIN_OFFSETOF 19
592 #define T__176 176
593 #define LABEL 50
594 #define LABREF 18
595 #define STRUCT_DECLARATION 38
596 #define T__171 171
597 #define T__170 170
598 #define DECLARATION_SPECIFIERS 46
599 #define T__169 169
600 #ifdef EOF
601 #undef EOF
602 #define EOF ANTLR3_TOKEN_EOF
603 #endif
604 
605 #ifndef TOKENSOURCE
606 #define TOKENSOURCE(lxr) lxr->pLexer->rec->state->tokSource
607 #endif
608 
609 /* End of token definitions for GNUCaParser
610  * =============================================================================
611  */
614 #ifdef __cplusplus
615 }
616 #endif
617 
618 #endif
619 
620 /* END - Note:Keep extra line feed to satisfy UNIX systems */
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