blob: 6f229564a869632973310fd37f228c03f13118d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
// $ANTLR 3.2 Aug 19, 2010 17:16:04 /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g 2010-08-19 17:16:47
/* =============================================================================
* Standard antlr3 OBJC runtime definitions
*/
#import <Cocoa/Cocoa.h>
#import "antlr3.h"
/* End of standard antlr3 runtime definitions
* =============================================================================
*/
#pragma mark Tokens
#define WS 6
#define T__12 12
#define T__11 11
#define T__14 14
#define T__13 13
#define T__10 10
#define INT 5
#define ID 4
#define EOF -1
#define T__9 9
#define T__8 8
#define T__7 7
#pragma mark Dynamic Global Scopes
@interface Symbols_Scope : ANTLRSymbolsScope { /* globalAttributeScopeDecl */
ANTLRHashMap * names;
}
/* start of properties */
@property (retain, getter=getnames, setter=setnames:) ANTLRHashMap * names;
/* end properties */
+ (Symbols_Scope *)newSymbols_Scope;
/* start of iterated get and set functions */
- (ANTLRHashMap *)getnames;
- (void)setnames:(ANTLRHashMap *)aVal;
/* End of iterated get and set functions */
@end
#pragma mark Dynamic Rule Scopes
#pragma mark Rule Return Scopes start
#pragma mark Rule return scopes end
@interface SymbolTableParser : ANTLRParser { // line 529
// start of globalAttributeScopeMemVar
/* globalAttributeScopeMemVar */
ANTLRSymbolStack *gStack;
Symbols_Scope *Symbols_scope;
// start of action-actionScope-memVars
int level;
// start of ruleAttributeScopeMemVar
// Start of memVars
}
// start of action-actionScope-methodsDecl
- (void)prog;
- (void)globals;
- (void)method;
- (void)block;
- (void)stat;
- (void)decl;
@end // end of SymbolTableParser
|