1 // $ANTLR ${project.version} ${buildNumber} /Users/acondit/source/antlr3/acondit_localhost/code/antlr/antlr3-main/runtime/ObjC/Framework/examples/fuzzy/Fuzzy.g 2011-05-05 22:05:01 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 ARG 4 22 #define CALL 5 23 #define CHAR 6 24 #define CLASS 7 25 #define COMMENT 8 26 #define ESC 9 27 #define FIELD 10 28 #define ID 11 29 #define IMPORT 12 30 #define METHOD 13 31 #define QID 14 32 #define QIDStar 15 33 #define RETURN 16 34 #define SL_COMMENT 17 35 #define STAT 18 36 #define STRING 19 37 #define TYPE 20 38 #define WS 21 39 /* interface lexer class */ 40 @interface Fuzzy : ANTLRLexer { // line 283 41 SEL synpred9_FuzzySelector; 42 SEL synpred2_FuzzySelector; 43 SEL synpred7_FuzzySelector; 44 SEL synpred4_FuzzySelector; 45 SEL synpred8_FuzzySelector; 46 SEL synpred6_FuzzySelector; 47 SEL synpred5_FuzzySelector; 48 SEL synpred3_FuzzySelector; 49 SEL synpred1_FuzzySelector; 50 /* ObjC start of actions.lexer.memVars */ 51 /* ObjC end of actions.lexer.memVars */ 52 } 53 + (void) initialize; 54 + (Fuzzy *)newFuzzyWithCharStream:(id<ANTLRCharStream>)anInput; 55 /* ObjC start actions.lexer.methodsDecl */ 56 /* ObjC end actions.lexer.methodsDecl */ 57 - (void) mIMPORT ; 58 - (void) mRETURN ; 59 - (void) mCLASS ; 60 - (void) mMETHOD ; 61 - (void) mFIELD ; 62 - (void) mSTAT ; 63 - (void) mCALL ; 64 - (void) mCOMMENT ; 65 - (void) mSL_COMMENT ; 66 - (void) mSTRING ; 67 - (void) mCHAR ; 68 - (void) mWS ; 69 - (void) mQID ; 70 - (void) mQIDStar ; 71 - (void) mTYPE ; 72 - (void) mARG ; 73 - (void) mID ; 74 - (void) mESC ; 75 - (void) mTokens ; 76 - (void) synpred1_Fuzzy_fragment ; 77 - (void) synpred2_Fuzzy_fragment ; 78 - (void) synpred3_Fuzzy_fragment ; 79 - (void) synpred4_Fuzzy_fragment ; 80 - (void) synpred5_Fuzzy_fragment ; 81 - (void) synpred6_Fuzzy_fragment ; 82 - (void) synpred7_Fuzzy_fragment ; 83 - (void) synpred8_Fuzzy_fragment ; 84 - (void) synpred9_Fuzzy_fragment ; 85 86 @end /* end of Fuzzy interface */ 87 88