Home | History | Annotate | Download | only in scopes
      1 // $ANTLR ${project.version} ${buildNumber} SymbolTable.g 2011-05-06 15:04:42
      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 /* parserHeaderFile */
     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__7 7
     31 #define T__8 8
     32 #define T__9 9
     33 #define T__10 10
     34 #define T__11 11
     35 #define T__12 12
     36 #define T__13 13
     37 #define T__14 14
     38 #define ID 4
     39 #define INT 5
     40 #define WS 6
     41 #pragma mark Dynamic Global Scopes
     42 /* globalAttributeScopeInterface */
     43 @interface Symbols_Scope : ANTLRSymbolsScope {
     44 ANTLRPtrBuffer * names;
     45 
     46 }
     47 /* start of globalAttributeScopeInterface properties */
     48 
     49 @property (assign, getter=getnames, setter=setnames:) ANTLRPtrBuffer * names;
     50 
     51 /* end globalAttributeScopeInterface properties */
     52 
     53 
     54 + (Symbols_Scope *)newSymbols_Scope;
     55 - (id) init;
     56 /* start of globalAttributeScopeInterface methodsDecl */
     57 
     58 - (ANTLRPtrBuffer *)getnames;
     59 - (void)setnames:(ANTLRPtrBuffer *)aVal;
     60 
     61 /* End of globalAttributeScopeInterface methodsDecl */
     62 
     63 @end /* end of Symbols_Scope interface */
     64 
     65 #pragma mark Dynamic Rule Scopes
     66 #pragma mark Rule Return Scopes start
     67 
     68 /* Interface grammar class */
     69 @interface SymbolTableParser : ANTLRParser { /* line 572 */
     70 /* ObjC start of ruleAttributeScopeMemVar */
     71 
     72 
     73 /* ObjC end of ruleAttributeScopeMemVar */
     74 /* ObjC start of globalAttributeScopeMemVar */
     75 /* globalAttributeScopeMemVar */
     76 //ANTLRSymbolStack *gStack;
     77 ANTLRSymbolStack *Symbols_stack;
     78 Symbols_Scope *Symbols_scope;
     79 
     80 /* ObjC end of globalAttributeScopeMemVar */
     81 /* ObjC start of actions.(actionScope).memVars */
     82 
     83 int level;
     84 
     85 /* ObjC end of actions.(actionScope).memVars */
     86 /* ObjC start of memVars */
     87 /* ObjC end of memVars */
     88 
     89  }
     90 
     91 /* ObjC start of actions.(actionScope).properties */
     92 /* ObjC end of actions.(actionScope).properties */
     93 /* ObjC start of properties */
     94 /* ObjC end of properties */
     95 
     96 + (void) initialize;
     97 + (id) newSymbolTableParser:(id<ANTLRTokenStream>)aStream;
     98 /* ObjC start of actions.(actionScope).methodsDecl */
     99 /* ObjC end of actions.(actionScope).methodsDecl */
    100 
    101 /* ObjC start of methodsDecl */
    102 /* ObjC end of methodsDecl */
    103 
    104 - (void)prog;
    105 - (void)globals;
    106 - (void)method;
    107 - (void)block;
    108 - (void)stat;
    109 - (void)decl;
    110 
    111 
    112 @end /* end of SymbolTableParser interface */
    113 
    114