• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // $ANTLR 3.3.1-SNAPSHOT Jan 30, 2011 08:28:24 PolyPrinter.g 2011-01-30 08:45:32
2 
3 /* =============================================================================
4  * Standard antlr3 OBJC runtime definitions
5  */
6 #import <Foundation/Foundation.h>
7 #import <ANTLR/ANTLR.h>
8 #import <ST4/ST.h>
9 
10 /* End of standard antlr3 runtime definitions
11  * =============================================================================
12  */
13 
14 /* treeParserHeaderFile */
15 
16 #ifndef ANTLR3TokenTypeAlreadyDefined
17 #define ANTLR3TokenTypeAlreadyDefined
18 typedef enum {
19     ANTLR_EOF = -1,
20     INVALID,
21     EOR,
22     DOWN,
23     UP,
24     MIN
25 } ANTLR3TokenType;
26 #endif
27 
28 #pragma mark Tokens
29 #ifdef EOF
30 #undef EOF
31 #endif
32 #define EOF -1
33 #define T__8 8
34 #define T__9 9
35 #define MULT 4
36 #define INT 5
37 #define ID 6
38 #define WS 7
39 #pragma mark Dynamic Global Scopes
40 #pragma mark Dynamic Rule Scopes
41 #pragma mark Rule Return Scopes start
42 /* returnScopeInterface */
43 @interface PolyPrinter_poly_return :TreeRuleReturnScope { /* returnScopeInterface line 1838 */
44 ST *st; /* start of memVars() */
45 }
46  /* start properties */
47 + (PolyPrinter_poly_return *)newPolyPrinter_poly_return;
48 /* this is start of set and get methods */
49 /* AST returnScopeInterface.methodsdecl */
50 - (id) getTemplate;  /* methodsDecl */
51 @end /* end of returnScopeInterface interface */
52 
53 #pragma mark Rule return scopes end
54 @interface PolyPrinter : TreeParser { /* line 572 */
55 // start of globalAttributeScopeMemVar
56 
57 
58 // start of action-actionScope-memVars
59 // start of ruleAttributeScopeMemVar
60 
61 
62 // Start of memVars
63 
64  }
65 
66 // start of action-actionScope-methodsDecl
67 + (id) newPolyPrinter:(id<TreeNodeStream>)aStream;
68 
69 
70 
71 - (PolyPrinter_poly_return *)poly;
72 
73 
74 @end /* end of PolyPrinter interface */
75