-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsym.java
More file actions
72 lines (69 loc) · 1.73 KB
/
sym.java
File metadata and controls
72 lines (69 loc) · 1.73 KB
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
//----------------------------------------------------
// The following code was generated by CUP v0.11b 20160615 (GIT 4ac7450)
//----------------------------------------------------
/** CUP generated class containing symbol constants. */
public class sym {
/* terminals */
public static final int LT = 11;
public static final int NE = 16;
public static final int MULTIPLY = 9;
public static final int SEMICOLON = 17;
public static final int ELSE = 3;
public static final int PLUS = 7;
public static final int INT = 27;
public static final int RPAREN = 20;
public static final int LCURL = 23;
public static final int WHILE = 5;
public static final int RETURN = 4;
public static final int ERROR = 29;
public static final int IF = 2;
public static final int LPAREN = 19;
public static final int GT = 13;
public static final int ID = 25;
public static final int LE = 12;
public static final int NUM = 26;
public static final int COMMA = 18;
public static final int EOF = 0;
public static final int DIVIDE = 10;
public static final int LSQUARE = 21;
public static final int GE = 14;
public static final int MINUS = 8;
public static final int error = 1;
public static final int ASSIGN = 6;
public static final int EQ = 15;
public static final int RSQUARE = 22;
public static final int RCURL = 24;
public static final int VOID = 28;
public static final String[] terminalNames = new String[] {
"EOF",
"error",
"IF",
"ELSE",
"RETURN",
"WHILE",
"ASSIGN",
"PLUS",
"MINUS",
"MULTIPLY",
"DIVIDE",
"LT",
"LE",
"GT",
"GE",
"EQ",
"NE",
"SEMICOLON",
"COMMA",
"LPAREN",
"RPAREN",
"LSQUARE",
"RSQUARE",
"LCURL",
"RCURL",
"ID",
"NUM",
"INT",
"VOID",
"ERROR"
};
}