Debian Codegraph @

example/nolexer/parser/actiontable.go

raw symbols SCIP
1 // Code generated by gocc; DO NOT EDIT.
2
3 package parser
4
5 type (
6 actionTable [numStates]actionRow
7 actionRow struct {
8 canRecover bool
9 actions [numSymbols]action
10 }
11 )
12
13 var actionTab = actionTable{
14 actionRow{ // S0
15 canRecover: false,
16 actions: [numSymbols]action{
17 nil, // INVALID
18 nil, // ␚
19 nil, // name
20 shift(3), // hello
21 shift(4), // hiya
22 },
23 },
24 actionRow{ // S1
25 canRecover: false,
26 actions: [numSymbols]action{
27 nil, // INVALID
28 accept(true), // ␚
29 nil, // name
30 nil, // hello
31 nil, // hiya
32 },
33 },
34 actionRow{ // S2
35 canRecover: false,
36 actions: [numSymbols]action{
37 nil, // INVALID
38 nil, // ␚
39 shift(5), // name
40 nil, // hello
41 nil, // hiya
42 },
43 },
44 actionRow{ // S3
45 canRecover: false,
46 actions: [numSymbols]action{
47 nil, // INVALID
48 nil, // ␚
49 reduce(2), // name, reduce: Saying
50 nil, // hello
51 nil, // hiya
52 },
53 },
54 actionRow{ // S4
55 canRecover: false,
56 actions: [numSymbols]action{
57 nil, // INVALID
58 nil, // ␚
59 reduce(3), // name, reduce: Saying
60 nil, // hello
61 nil, // hiya
62 },
63 },
64 actionRow{ // S5
65 canRecover: false,
66 actions: [numSymbols]action{
67 nil, // INVALID
68 reduce(1), // ␚, reduce: Hello
69 nil, // name
70 nil, // hello
71 nil, // hiya
72 },
73 },
74 }