summaryrefslogtreecommitdiff
path: root/src/kanga/KangaParserConstants.java
blob: c36a5e65467c38b0aa9de50740ff94d1f2b1e348 (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
package kanga;
/* Generated By:JavaCC: Do not edit this line. KangaParserConstants.java */
public interface KangaParserConstants {

  int EOF = 0;
  int SINGLE_LINE_COMMENT = 6;
  int FORMAL_COMMENT = 7;
  int MULTI_LINE_COMMENT = 8;
  int LPAREN = 9;
  int RPAREN = 10;
  int LBRACE = 11;
  int RBRACE = 12;
  int LSQPAREN = 13;
  int RSQPAREN = 14;
  int DOT = 15;
  int LT = 16;
  int LE = 17;
  int GT = 18;
  int GE = 19;
  int NE = 20;
  int EQ = 21;
  int PLUS = 22;
  int MINUS = 23;
  int AND = 24;
  int OR = 25;
  int NOT = 26;
  int TIMES = 27;
  int MAIN = 28;
  int CODE = 29;
  int HALLOCATE = 30;
  int SPILLEDARG = 31;
  int END = 32;
  int NOOP = 33;
  int MOVE = 34;
  int CALL = 35;
  int ERROR = 36;
  int PRINT = 37;
  int BEGIN = 38;
  int RETURN = 39;
  int JUMP = 40;
  int CJUMP = 41;
  int HSTORE = 42;
  int HLOAD = 43;
  int ALOAD = 44;
  int ASTORE = 45;
  int PASSARG = 46;
  int MEM = 47;
  int TEMP = 48;
  int ARG = 49;
  int ZERO = 50;
  int at = 51;
  int v0 = 52;
  int v1 = 53;
  int a0 = 54;
  int a1 = 55;
  int a2 = 56;
  int a3 = 57;
  int t0 = 58;
  int t1 = 59;
  int t2 = 60;
  int t3 = 61;
  int t4 = 62;
  int t5 = 63;
  int t6 = 64;
  int t7 = 65;
  int s0 = 66;
  int s1 = 67;
  int s2 = 68;
  int s3 = 69;
  int s4 = 70;
  int s5 = 71;
  int s6 = 72;
  int s7 = 73;
  int t8 = 74;
  int t9 = 75;
  int k0 = 76;
  int k1 = 77;
  int gp = 78;
  int sp = 79;
  int fp = 80;
  int ra = 81;
  int INTEGER_LITERAL = 82;
  int IDENTIFIER = 83;
  int LETTER = 84;
  int DIGIT = 85;

  int DEFAULT = 0;

  String[] tokenImage = {
    "<EOF>",
    "\" \"",
    "\"\\t\"",
    "\"\\n\"",
    "\"\\r\"",
    "\"\\f\"",
    "<SINGLE_LINE_COMMENT>",
    "<FORMAL_COMMENT>",
    "<MULTI_LINE_COMMENT>",
    "\"(\"",
    "\")\"",
    "\"{\"",
    "\"}\"",
    "\"[\"",
    "\"]\"",
    "\".\"",
    "\"LT\"",
    "\"LE\"",
    "\"GT\"",
    "\"GE\"",
    "\"NE\"",
    "\"EQ\"",
    "\"PLUS\"",
    "\"MINUS\"",
    "\"AND\"",
    "\"OR\"",
    "\"NOT\"",
    "\"TIMES\"",
    "\"MAIN\"",
    "\"CODE\"",
    "\"HALLOCATE\"",
    "\"SPILLEDARG\"",
    "\"END\"",
    "\"NOOP\"",
    "\"MOVE\"",
    "\"CALL\"",
    "\"ERROR\"",
    "\"PRINT\"",
    "\"BEGIN\"",
    "\"RETURN\"",
    "\"JUMP\"",
    "\"CJUMP\"",
    "\"HSTORE\"",
    "\"HLOAD\"",
    "\"ALOAD\"",
    "\"ASTORE\"",
    "\"PASSARG\"",
    "\"MEM\"",
    "\"TEMP\"",
    "\"ARG\"",
    "\"zero\"",
    "\"at\"",
    "\"v0\"",
    "\"v1\"",
    "\"a0\"",
    "\"a1\"",
    "\"a2\"",
    "\"a3\"",
    "\"t0\"",
    "\"t1\"",
    "\"t2\"",
    "\"t3\"",
    "\"t4\"",
    "\"t5\"",
    "\"t6\"",
    "\"t7\"",
    "\"s0\"",
    "\"s1\"",
    "\"s2\"",
    "\"s3\"",
    "\"s4\"",
    "\"s5\"",
    "\"s6\"",
    "\"s7\"",
    "\"t8\"",
    "\"t9\"",
    "\"k0\"",
    "\"k1\"",
    "\"gp\"",
    "\"sp\"",
    "\"fp\"",
    "\"ra\"",
    "<INTEGER_LITERAL>",
    "<IDENTIFIER>",
    "<LETTER>",
    "<DIGIT>",
  };

}