1 // $ANTLR ${project.version} ${buildNumber} LangDumpDecl.g 2011-05-06 17:39:09 2 3 /* ============================================================================= 4 * Standard antlr3 OBJC runtime definitions 5 */ 6 #import <Cocoa/Cocoa.h> 7 #import <ANTLR/ANTLR.h> 8 /* End of standard antlr3 runtime definitions 9 * ============================================================================= 10 */ 11 12 /* treeParserHeaderFile */ 13 #ifndef ANTLR3TokenTypeAlreadyDefined 14 #define ANTLR3TokenTypeAlreadyDefined 15 typedef enum { 16 ANTLR_EOF = -1, 17 INVALID, 18 EOR, 19 DOWN, 20 UP, 21 MIN 22 } ANTLR3TokenType; 23 #endif 24 25 #pragma mark Tokens 26 #ifdef EOF 27 #undef EOF 28 #endif 29 #define EOF -1 30 #define T__10 10 31 #define DECL 4 32 #define FLOATTYPE 5 33 #define ID 6 34 #define INT 7 35 #define INTTYPE 8 36 #define WS 9 37 #pragma mark Dynamic Global Scopes 38 #pragma mark Dynamic Rule Scopes 39 #pragma mark Rule Return Scopes start 40 /* returnScopeInterface LangDumpDecl_declarator_return */ 41 @interface LangDumpDecl_declarator_return :ANTLRTreeRuleReturnScope { /* returnScopeInterface line 1838 */ 42 /* ObjC start of memVars() */ 43 } 44 /* start properties */ 45 + (LangDumpDecl_declarator_return *)newLangDumpDecl_declarator_return; 46 /* this is start of set and get methods */ 47 /* methodsDecl */ 48 @end /* end of returnScopeInterface interface */ 49 50 51 52 53 /* Interface grammar class */ 54 @interface LangDumpDecl : ANTLRTreeParser { /* line 572 */ 55 /* ObjC start of ruleAttributeScopeMemVar */ 56 57 58 /* ObjC end of ruleAttributeScopeMemVar */ 59 /* ObjC start of globalAttributeScopeMemVar */ 60 61 62 /* ObjC end of globalAttributeScopeMemVar */ 63 /* ObjC start of actions.(actionScope).memVars */ 64 /* ObjC end of actions.(actionScope).memVars */ 65 /* ObjC start of memVars */ 66 /* ObjC end of memVars */ 67 68 } 69 70 /* ObjC start of actions.(actionScope).properties */ 71 /* ObjC end of actions.(actionScope).properties */ 72 /* ObjC start of properties */ 73 /* ObjC end of properties */ 74 75 + (void) initialize; 76 + (id) newLangDumpDecl:(id<ANTLRTreeNodeStream>)aStream; 77 /* ObjC start of actions.(actionScope).methodsDecl */ 78 /* ObjC end of actions.(actionScope).methodsDecl */ 79 80 /* ObjC start of methodsDecl */ 81 /* ObjC end of methodsDecl */ 82 83 - (void)decl; 84 - (void)type; 85 - (LangDumpDecl_declarator_return *)declarator; 86 87 88 @end /* end of LangDumpDecl interface */ 89 90