1 // $ANTLR ${project.version} ${buildNumber} TestLexer.g 2011-05-06 19:16:22 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 /* Start cyclicDFAInterface */ 13 14 #pragma mark Rule return scopes start 15 #pragma mark Rule return scopes end 16 #pragma mark Tokens 17 #ifdef EOF 18 #undef EOF 19 #endif 20 #define EOF -1 21 #define DIGIT 4 22 #define ID 5 23 #define LETTER 6 24 /* interface lexer class */ 25 @interface TestLexer : ANTLRLexer { // line 283 26 /* ObjC start of actions.lexer.memVars */ 27 /* ObjC end of actions.lexer.memVars */ 28 } 29 + (void) initialize; 30 + (TestLexer *)newTestLexerWithCharStream:(id<ANTLRCharStream>)anInput; 31 /* ObjC start actions.lexer.methodsDecl */ 32 /* ObjC end actions.lexer.methodsDecl */ 33 - (void) mID ; 34 - (void) mDIGIT ; 35 - (void) mLETTER ; 36 - (void) mTokens ; 37 38 @end /* end of TestLexer interface */ 39 40