1 // $ANTLR 3.2 Aug 23, 2010 07:48:06 /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/simplecTreeParser/SimpleC.g 2010-08-23 07:54:47
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 /* Start cyclicDFAInterface */
13 #pragma mark Cyclic DFA interface start DFA4
14 @interface DFA4 : ANTLRDFA {
15 }
16 + newDFA4WithRecognizer:(ANTLRBaseRecognizer *)theRecognizer;
17 - initWithRecognizer:(ANTLRBaseRecognizer *)recognizer;
18 @end /* end of DFA4 interface  */
19 
20 #pragma mark Cyclic DFA interface end DFA4
21 
22 #pragma mark Rule return scopes start
23 #pragma mark Rule return scopes end
24 #pragma mark Tokens
25 #define K_ID 10
26 #define T__26 26
27 #define T__25 25
28 #define T__24 24
29 #define T__23 23
30 #define K_EQEQ 16
31 #define T__22 22
32 #define K_INT 11
33 #define T__21 21
34 #define K_FOR 14
35 #define FUNC_HDR 6
36 #define FUNC_DEF 8
37 #define EOF -1
38 #define K_INT_TYPE 19
39 #define FUNC_DECL 7
40 #define ARG_DEF 5
41 #define WS 20
42 #define K_EQ 15
43 #define BLOCK 9
44 #define K_LT 17
45 #define K_CHAR 12
46 #define K_VOID 13
47 #define VAR_DEF 4
48 #define K_PLUS 18
49 @interface SimpleCLexer : ANTLRLexer { // line 283
50 DFA4 *dfa4;
51 // start of actions.lexer.memVars
52 // start of action-actionScope-memVars
53 }
54 + (SimpleCLexer *)newSimpleCLexer:(id<ANTLRCharStream>)anInput;
55 
56 - (void)mT__21;
57 - (void)mT__22;
58 - (void)mT__23;
59 - (void)mT__24;
60 - (void)mT__25;
61 - (void)mT__26;
62 - (void)mK_FOR;
63 - (void)mK_INT_TYPE;
64 - (void)mK_CHAR;
65 - (void)mK_VOID;
66 - (void)mK_ID;
67 - (void)mK_INT;
68 - (void)mK_EQ;
69 - (void)mK_EQEQ;
70 - (void)mK_LT;
71 - (void)mK_PLUS;
72 - (void)mWS;
73 - (void)mTokens;
74 
75 @end /* end of SimpleCLexer interface */
76