-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsym.java
98 lines (95 loc) · 2.43 KB
/
sym.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
//----------------------------------------------------
// The following code was generated by CUP v0.11b 20141204 (SVN rev 60)
//----------------------------------------------------
/** CUP generated class containing symbol constants. */
public class sym {
/* terminals */
public static final int ATTRIB = 27;
public static final int DIVIDE = 6;
public static final int FUNCAO = 34;
public static final int FIMENQUANTO = 39;
public static final int DE = 29;
public static final int EQUALS = 9;
public static final int FUNCAOFIM = 36;
public static final int LPAREN = 7;
public static final int GREATER = 10;
public static final int SEMI = 23;
public static final int FUNCAOINI = 35;
public static final int OUU = 22;
public static final int LESS = 11;
public static final int MINUS = 4;
public static final int PASSO = 37;
public static final int RPAREN = 8;
public static final int THENN = 24;
public static final int RCOL = 18;
public static final int ATE = 30;
public static final int ENDPRG = 14;
public static final int PLUS = 2;
public static final int ID = 40;
public static final int ELSEE = 25;
public static final int RETORNO = 3;
public static final int EOF = 0;
public static final int STARTPRG = 13;
public static final int ENDELSE = 26;
public static final int error = 1;
public static final int PROGRAM = 12;
public static final int ENQUANTO = 33;
public static final int NUMBER = 41;
public static final int FIMPARA = 32;
public static final int FACA = 38;
public static final int TIMES = 5;
public static final int WRITELINE = 15;
public static final int LEIA = 31;
public static final int EE = 21;
public static final int FLOAT = 42;
public static final int DECLINT = 16;
public static final int LCOL = 19;
public static final int DECFLOAT = 17;
public static final int PARA = 28;
public static final int IFF = 20;
public static final String[] terminalNames = new String[] {
"EOF",
"error",
"PLUS",
"RETORNO",
"MINUS",
"TIMES",
"DIVIDE",
"LPAREN",
"RPAREN",
"EQUALS",
"GREATER",
"LESS",
"PROGRAM",
"STARTPRG",
"ENDPRG",
"WRITELINE",
"DECLINT",
"DECFLOAT",
"RCOL",
"LCOL",
"IFF",
"EE",
"OUU",
"SEMI",
"THENN",
"ELSEE",
"ENDELSE",
"ATTRIB",
"PARA",
"DE",
"ATE",
"LEIA",
"FIMPARA",
"ENQUANTO",
"FUNCAO",
"FUNCAOINI",
"FUNCAOFIM",
"PASSO",
"FACA",
"FIMENQUANTO",
"ID",
"NUMBER",
"FLOAT"
};
}