1 // $ANTLR 3.4 /Users/acondit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/treeparser/Lang.g 2012-02-16 17:58:54 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 /* Start cyclicDFAInterface */ 13 14 #pragma mark Rule return scopes Interface start 15 #pragma mark Rule return scopes Interface end 16 #pragma mark Tokens 17 #ifdef EOF 18 #undef EOF 19 #endif 20 #define EOF -1 21 #define T__10 10 22 #define DECL 4 23 #define FLOATTYPE 5 24 #define ID 6 25 #define INT 7 26 #define INTTYPE 8 27 #define WS 9 28 /* interface lexer class */ 29 @interface LangLexer : Lexer { // line 283 30 /* ObjC start of actions.lexer.memVars */ 31 /* ObjC end of actions.lexer.memVars */ 32 } 33 + (void) initialize; 34 + (LangLexer *)newLangLexerWithCharStream:(id<CharStream>)anInput; 35 /* ObjC start actions.lexer.methodsDecl */ 36 /* ObjC end actions.lexer.methodsDecl */ 37 - (void) mT__10 ; 38 - (void) mINTTYPE ; 39 - (void) mFLOATTYPE ; 40 - (void) mID ; 41 - (void) mINT ; 42 - (void) mWS ; 43 - (void) mTokens ; 44 45 @end /* end of LangLexer interface */ 46 47