-
Notifications
You must be signed in to change notification settings - Fork 0
/
MiniJavaParserConstants.java
150 lines (145 loc) · 3.17 KB
/
MiniJavaParserConstants.java
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
/* Generated By:JavaCC: Do not edit this line. MiniJavaParserConstants.java */
/**
* Token literal values and constants.
* Generated by org.javacc.parser.OtherFilesGen#start()
*/
public interface MiniJavaParserConstants {
/** End of File. */
int EOF = 0;
/** RegularExpression Id. */
int SINGLE_LINE_COMMENT = 6;
/** RegularExpression Id. */
int FORMAL_COMMENT = 7;
/** RegularExpression Id. */
int MULTI_LINE_COMMENT = 8;
/** RegularExpression Id. */
int LPAREN = 9;
/** RegularExpression Id. */
int RPAREN = 10;
/** RegularExpression Id. */
int LSQPAREN = 11;
/** RegularExpression Id. */
int RSQPAREN = 12;
/** RegularExpression Id. */
int LBRACE = 13;
/** RegularExpression Id. */
int RBRACE = 14;
/** RegularExpression Id. */
int SEMICOLON = 15;
/** RegularExpression Id. */
int DOT = 16;
/** RegularExpression Id. */
int ASSIGN = 17;
/** RegularExpression Id. */
int LT = 18;
/** RegularExpression Id. */
int PLUS = 19;
/** RegularExpression Id. */
int MINUS = 20;
/** RegularExpression Id. */
int AND = 21;
/** RegularExpression Id. */
int NOT = 22;
/** RegularExpression Id. */
int BOOLEAN = 23;
/** RegularExpression Id. */
int CLASS = 24;
/** RegularExpression Id. */
int INTERFACE = 25;
/** RegularExpression Id. */
int ELSE = 26;
/** RegularExpression Id. */
int EXTENDS = 27;
/** RegularExpression Id. */
int FALSE = 28;
/** RegularExpression Id. */
int IF = 29;
/** RegularExpression Id. */
int WHILE = 30;
/** RegularExpression Id. */
int INTEGER = 31;
/** RegularExpression Id. */
int LENGTH = 32;
/** RegularExpression Id. */
int MAIN = 33;
/** RegularExpression Id. */
int NEW = 34;
/** RegularExpression Id. */
int PUBLIC = 35;
/** RegularExpression Id. */
int RETURN = 36;
/** RegularExpression Id. */
int STATIC = 37;
/** RegularExpression Id. */
int STRING = 38;
/** RegularExpression Id. */
int THIS = 39;
/** RegularExpression Id. */
int TRUE = 40;
/** RegularExpression Id. */
int PRINT = 41;
/** RegularExpression Id. */
int VOID = 42;
/** RegularExpression Id. */
int INTEGER_LITERAL = 43;
/** RegularExpression Id. */
int IDENTIFIER = 44;
/** RegularExpression Id. */
int LETTER = 45;
/** RegularExpression Id. */
int DIGIT = 46;
/** Lexical state. */
int DEFAULT = 0;
/** Literal token values. */
String[] tokenImage = {
"<EOF>",
"\" \"",
"\"\\t\"",
"\"\\n\"",
"\"\\r\"",
"\"\\f\"",
"<SINGLE_LINE_COMMENT>",
"<FORMAL_COMMENT>",
"<MULTI_LINE_COMMENT>",
"\"(\"",
"\")\"",
"\"[\"",
"\"]\"",
"\"{\"",
"\"}\"",
"\";\"",
"\".\"",
"\"=\"",
"\"<\"",
"\"+\"",
"\"-\"",
"\"&&\"",
"\"!\"",
"\"boolean\"",
"\"class\"",
"\"interface\"",
"\"else\"",
"\"extends\"",
"\"false\"",
"\"if\"",
"\"while\"",
"\"int\"",
"\"length\"",
"\"main\"",
"\"new\"",
"\"public\"",
"\"return\"",
"\"static\"",
"\"String\"",
"\"this\"",
"\"true\"",
"\"System.out.println\"",
"\"void\"",
"<INTEGER_LITERAL>",
"<IDENTIFIER>",
"<LETTER>",
"<DIGIT>",
"\",\"",
"\"*\"",
};
}