1// $ANTLR ${project.version} ${buildNumber} SimpleC.g 2011-05-06 15:09:17 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_DEF 4 22#define BLOCK 5 23#define FUNC_DECL 6 24#define FUNC_DEF 7 25#define FUNC_HDR 8 26#define K_CHAR 9 27#define K_COMMA 10 28#define K_EQ 11 29#define K_EQEQ 12 30#define K_FOR 13 31#define K_ID 14 32#define K_INT 15 33#define K_INT_TYPE 16 34#define K_LCURLY 17 35#define K_LCURVE 18 36#define K_LT 19 37#define K_PLUS 20 38#define K_RCURLY 21 39#define K_RCURVE 22 40#define K_SEMICOLON 23 41#define K_VOID 24 42#define VAR_DEF 25 43#define WS 26 44/* interface lexer class */ 45@interface SimpleCLexer : ANTLRLexer { // line 283 46/* ObjC start of actions.lexer.memVars */ 47/* ObjC end of actions.lexer.memVars */ 48} 49+ (void) initialize; 50+ (SimpleCLexer *)newSimpleCLexerWithCharStream:(id<ANTLRCharStream>)anInput; 51/* ObjC start actions.lexer.methodsDecl */ 52/* ObjC end actions.lexer.methodsDecl */ 53- (void) mK_FOR ; 54- (void) mK_CHAR ; 55- (void) mK_INT_TYPE ; 56- (void) mK_VOID ; 57- (void) mK_ID ; 58- (void) mK_INT ; 59- (void) mK_LCURVE ; 60- (void) mK_RCURVE ; 61- (void) mK_PLUS ; 62- (void) mK_COMMA ; 63- (void) mK_SEMICOLON ; 64- (void) mK_LT ; 65- (void) mK_EQ ; 66- (void) mK_EQEQ ; 67- (void) mK_LCURLY ; 68- (void) mK_RCURLY ; 69- (void) mWS ; 70- (void) mTokens ; 71 72@end /* end of SimpleCLexer interface */ 73 74