-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIR_CUPSym.java
63 lines (60 loc) · 2.24 KB
/
IR_CUPSym.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
//----------------------------------------------------
// The following code was generated by CUP v0.11a beta 20060608
// Wed Feb 03 09:07:01 IST 2016
//----------------------------------------------------
/** CUP generated interface containing symbol constants. */
public interface IR_CUPSym {
/* terminals */
public static final int DIVIDE = 49;
public static final int MOVEARRAY = 4;
public static final int STATICCALL = 28;
public static final int WORD = 37;
public static final int STRINGLABEL = 42;
public static final int MOVEFIELD = 5;
public static final int COMMENT = 41;
public static final int XOR = 18;
public static final int LPAREN = 44;
public static final int LIBRARY = 27;
public static final int RPAREN = 45;
public static final int SEMICOLON = 46;
public static final int NOT = 15;
public static final int AND = 16;
public static final int LP = 39;
public static final int OR = 17;
public static final int COMMA = 31;
public static final int JUMPTRUE = 21;
public static final int JUMPGE = 24;
public static final int INC = 12;
public static final int RP = 40;
public static final int DIV = 10;
public static final int PLUS = 47;
public static final int QUOTE = 38;
public static final int ASSIGN = 35;
public static final int ID = 51;
public static final int DOT = 32;
public static final int EOF = 0;
public static final int UNDER = 43;
public static final int LB = 33;
public static final int RETURN = 30;
public static final int error = 1;
public static final int MUL = 9;
public static final int RB = 34;
public static final int VIRTUALCALL = 29;
public static final int JUMPFALSE = 22;
public static final int ADD = 7;
public static final int JUMP = 20;
public static final int NUMBER = 50;
public static final int MOD = 11;
public static final int ARRAYLENGTH = 6;
public static final int TIMES = 48;
public static final int MOVE = 3;
public static final int COMPARE = 19;
public static final int COLON = 2;
public static final int NEG = 14;
public static final int JUMPLE = 26;
public static final int JUMPL = 25;
public static final int UNDERSCORE = 36;
public static final int JUMPG = 23;
public static final int DEC = 13;
public static final int SUB = 8;
}