1 // $ANTLR 3.4 /Users/acondit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/lexertest-simple/TestLexer.g 2012-02-16 17:36:38 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 DIGIT 4 22 #define ID 5 23 #define LETTER 6 24 /* interface lexer class */ 25 @interface TestLexer : Lexer { // line 283 26 /* ObjC start of actions.lexer.memVars */ 27 /* ObjC end of actions.lexer.memVars */ 28 } 29 + (void) initialize; 30 + (TestLexer *)newTestLexerWithCharStream:(id<CharStream>)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