1 // $ANTLR 3.2 Aug 07, 2010 22:08:38 /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/lexertest-simple/TestLexer.g 2010-08-11 13:41:44 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 13 #pragma mark Rule return scopes start 14 #pragma mark Rule return scopes end 15 #pragma mark Tokens 16 #define DIGIT 5 17 #define ID 6 18 #define EOF -1 19 #define LETTER 4 20 @interface TestLexer : ANTLRLexer { 21 } 22 - (void) mID; 23 - (void) mDIGIT; 24 - (void) mLETTER; 25 - (void) mTokens; 26 @end // end of TestLexer interface