1 // $ANTLR 3.4 /Users/acondit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/treeparser/LangDumpDecl.g 2012-02-16 17:59:08
2 
3 /* =============================================================================
4  * Standard antlr OBJC runtime definitions
5  */
6 #import <Foundation/Foundation.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 globalAttributeScopeInterface
38 #pragma mark Dynamic Rule Scopes ruleAttributeScopeInterface
39 #pragma mark Rule Return Scopes returnScopeInterface
40 /* returnScopeInterface LangDumpDecl_declarator_return */
41 @interface LangDumpDecl_declarator_return : TreeRuleReturnScope { /* returnScopeInterface line 1838 */
42  /* ObjC start of memVars() */
43 
44 }
45 /* start property declarations */
46 
47 
48 /* start of method declarations */
49 
50 + (LangDumpDecl_declarator_return *)newLangDumpDecl_declarator_return;
51 /* this is start of set and get methods */
52   /* methodsDecl */
53 
54 @end /* end of returnScopeInterface interface */
55 
56 
57 
58 /* Interface grammar class */
59 @interface LangDumpDecl  : TreeParser { /* line 572 */
60 #pragma mark Dynamic Rule Scopes ruleAttributeScopeDecl
61 #pragma mark Dynamic Global Rule Scopes globalAttributeScopeMemVar
62 
63 
64 /* ObjC start of actions.(actionScope).memVars */
65 /* ObjC end of actions.(actionScope).memVars */
66 /* ObjC start of memVars */
67 /* ObjC end of memVars */
68 
69  }
70 
71 /* ObjC start of actions.(actionScope).properties */
72 /* ObjC end of actions.(actionScope).properties */
73 /* ObjC start of properties */
74 /* ObjC end of properties */
75 
76 + (void) initialize;
77 + (id) newLangDumpDecl:(id<TreeNodeStream>)aStream;
78 /* ObjC start of actions.(actionScope).methodsDecl */
79 /* ObjC end of actions.(actionScope).methodsDecl */
80 
81 /* ObjC start of methodsDecl */
82 /* ObjC end of methodsDecl */
83 
84 - (void)decl;
85 - (void)type;
86 - (LangDumpDecl_declarator_return *)declarator;
87 
88 
89 @end /* end of LangDumpDecl interface */
90 
91