38 lines
1.1 KiB
Objective-C
38 lines
1.1 KiB
Objective-C
// $ANTLR 3.4 /Users/acondit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/treerewrite/TreeRewrite.g 2012-02-16 17:42:35
|
|
|
|
/* =============================================================================
|
|
* Standard antlr OBJC runtime definitions
|
|
*/
|
|
#import <Foundation/Foundation.h>
|
|
#import <ANTLR/ANTLR.h>
|
|
/* End of standard antlr3 runtime definitions
|
|
* =============================================================================
|
|
*/
|
|
|
|
/* Start cyclicDFAInterface */
|
|
|
|
#pragma mark Rule return scopes Interface start
|
|
#pragma mark Rule return scopes Interface end
|
|
#pragma mark Tokens
|
|
#ifdef EOF
|
|
#undef EOF
|
|
#endif
|
|
#define EOF -1
|
|
#define INT 4
|
|
#define WS 5
|
|
/* interface lexer class */
|
|
@interface TreeRewriteLexer : Lexer { // line 283
|
|
/* ObjC start of actions.lexer.memVars */
|
|
/* ObjC end of actions.lexer.memVars */
|
|
}
|
|
+ (void) initialize;
|
|
+ (TreeRewriteLexer *)newTreeRewriteLexerWithCharStream:(id<CharStream>)anInput;
|
|
/* ObjC start actions.lexer.methodsDecl */
|
|
/* ObjC end actions.lexer.methodsDecl */
|
|
- (void) mINT ;
|
|
- (void) mWS ;
|
|
- (void) mTokens ;
|
|
|
|
@end /* end of TreeRewriteLexer interface */
|
|
|