1 // $ANTLR 3.2 Aug 20, 2010 15:00:19 /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/treerewrite/TreeRewrite.g 2010-08-20 15:03:14 2 3 /* ============================================================================= 4 * Standard antlr3 OBJC runtime definitions 5 */ 6 #import <Cocoa/Cocoa.h> 7 #import "antlr3.h" 8 /* End of standard antlr3 runtime definitions 9 * ============================================================================= 10 */ 11 12 /* Start cyclicDFAInterface */ 13 14 #pragma mark Rule return scopes start 15 #pragma mark Rule return scopes end 16 #pragma mark Tokens 17 #define INT 4 18 #define WS 5 19 #define EOF -1 20 @interface TreeRewriteLexer : ANTLRLexer { // line 283 21 // start of actions.lexer.memVars 22 // start of action-actionScope-memVars 23 } 24 + (TreeRewriteLexer *)newTreeRewriteLexer:(id<ANTLRCharStream>)anInput; 25 26 - (void)mINT; 27 - (void)mWS; 28 - (void)mTokens; 29 30 @end /* end of TreeRewriteLexer interface */ 31