-
Notifications
You must be signed in to change notification settings - Fork 0
/
acttab.go
231 lines (224 loc) · 2.9 KB
/
acttab.go
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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
// Code generated by gocc; DO NOT EDIT.
package lexer
import (
"fmt"
"github.com/aggronmagi/gstacks/stacks/token"
)
type ActionTable [NumStates]ActionRow
type ActionRow struct {
Accept token.Type
Ignore string
}
func (a ActionRow) String() string {
return fmt.Sprintf("Accept=%d, Ignore=%s", a.Accept, a.Ignore)
}
var ActTab = ActionTable{
ActionRow{ // S0
Accept: 0,
Ignore: "",
},
ActionRow{ // S1
Accept: -1,
Ignore: "!whitespace",
},
ActionRow{ // S2
Accept: 3,
Ignore: "",
},
ActionRow{ // S3
Accept: 8,
Ignore: "",
},
ActionRow{ // S4
Accept: 0,
Ignore: "",
},
ActionRow{ // S5
Accept: 9,
Ignore: "",
},
ActionRow{ // S6
Accept: 8,
Ignore: "",
},
ActionRow{ // S7
Accept: 8,
Ignore: "",
},
ActionRow{ // S8
Accept: 5,
Ignore: "",
},
ActionRow{ // S9
Accept: 5,
Ignore: "",
},
ActionRow{ // S10
Accept: 6,
Ignore: "",
},
ActionRow{ // S11
Accept: 0,
Ignore: "",
},
ActionRow{ // S12
Accept: 15,
Ignore: "",
},
ActionRow{ // S13
Accept: 8,
Ignore: "",
},
ActionRow{ // S14
Accept: 8,
Ignore: "",
},
ActionRow{ // S15
Accept: 8,
Ignore: "",
},
ActionRow{ // S16
Accept: 8,
Ignore: "",
},
ActionRow{ // S17
Accept: 8,
Ignore: "",
},
ActionRow{ // S18
Accept: 8,
Ignore: "",
},
ActionRow{ // S19
Accept: 5,
Ignore: "",
},
ActionRow{ // S20
Accept: 5,
Ignore: "",
},
ActionRow{ // S21
Accept: 5,
Ignore: "",
},
ActionRow{ // S22
Accept: 8,
Ignore: "",
},
ActionRow{ // S23
Accept: 0,
Ignore: "",
},
ActionRow{ // S24
Accept: 7,
Ignore: "",
},
ActionRow{ // S25
Accept: 13,
Ignore: "",
},
ActionRow{ // S26
Accept: 8,
Ignore: "",
},
ActionRow{ // S27
Accept: 8,
Ignore: "",
},
ActionRow{ // S28
Accept: 8,
Ignore: "",
},
ActionRow{ // S29
Accept: 0,
Ignore: "",
},
ActionRow{ // S30
Accept: 14,
Ignore: "",
},
ActionRow{ // S31
Accept: 11,
Ignore: "",
},
ActionRow{ // S32
Accept: 11,
Ignore: "",
},
ActionRow{ // S33
Accept: 8,
Ignore: "",
},
ActionRow{ // S34
Accept: 8,
Ignore: "",
},
ActionRow{ // S35
Accept: 8,
Ignore: "",
},
ActionRow{ // S36
Accept: 11,
Ignore: "",
},
ActionRow{ // S37
Accept: 11,
Ignore: "",
},
ActionRow{ // S38
Accept: 8,
Ignore: "",
},
ActionRow{ // S39
Accept: 8,
Ignore: "",
},
ActionRow{ // S40
Accept: 8,
Ignore: "",
},
ActionRow{ // S41
Accept: 8,
Ignore: "",
},
ActionRow{ // S42
Accept: 8,
Ignore: "",
},
ActionRow{ // S43
Accept: 8,
Ignore: "",
},
ActionRow{ // S44
Accept: 8,
Ignore: "",
},
ActionRow{ // S45
Accept: 8,
Ignore: "",
},
ActionRow{ // S46
Accept: 8,
Ignore: "",
},
ActionRow{ // S47
Accept: 12,
Ignore: "",
},
ActionRow{ // S48
Accept: 8,
Ignore: "",
},
ActionRow{ // S49
Accept: 10,
Ignore: "",
},
ActionRow{ // S50
Accept: 8,
Ignore: "",
},
ActionRow{ // S51
Accept: 4,
Ignore: "",
},
}