1 // $ANTLR 3.4 /Users/acondit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/treerewrite/TreeRewrite.g 2012-02-16 17:42:35 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 INT 4 22 #define WS 5 23 /* interface lexer class */ 24 @interface TreeRewriteLexer : Lexer { // line 283 25 /* ObjC start of actions.lexer.memVars */ 26 /* ObjC end of actions.lexer.memVars */ 27 } 28 + (void) initialize; 29 + (TreeRewriteLexer *)newTreeRewriteLexerWithCharStream:(id<CharStream>)anInput; 30 /* ObjC start actions.lexer.methodsDecl */ 31 /* ObjC end actions.lexer.methodsDecl */ 32 - (void) mINT ; 33 - (void) mWS ; 34 - (void) mTokens ; 35 36 @end /* end of TreeRewriteLexer interface */ 37 38