Debian Codegraph @

example/usercontext/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, // ...42...
20 shift(3), // capitalized
21 shift(4), // lowercase
22 },
23 },
24 actionRow{ // S1
25 canRecover: false,
26 actions: [numSymbols]action{
27 nil, // INVALID
28 accept(true), // ␚
29 nil, // ...42...
30 nil, // capitalized
31 nil, // lowercase
32 },
33 },
34 actionRow{ // S2
35 canRecover: false,
36 actions: [numSymbols]action{
37 nil, // INVALID
38 nil, // ␚
39 shift(5), // ...42...
40 shift(6), // capitalized
41 shift(7), // lowercase
42 },
43 },
44 actionRow{ // S3
45 canRecover: false,
46 actions: [numSymbols]action{
47 nil, // INVALID
48 nil, // ␚
49 reduce(2), // ...42..., reduce: Words
50 reduce(2), // capitalized, reduce: Words
51 reduce(2), // lowercase, reduce: Words
52 },
53 },
54 actionRow{ // S4
55 canRecover: false,
56 actions: [numSymbols]action{
57 nil, // INVALID
58 nil, // ␚
59 reduce(4), // ...42..., reduce: Words
60 reduce(4), // capitalized, reduce: Words
61 reduce(4), // lowercase, reduce: Words
62 },
63 },
64 actionRow{ // S5
65 canRecover: false,
66 actions: [numSymbols]action{
67 nil, // INVALID
68 reduce(1), // ␚, reduce: Grammar
69 nil, // ...42...
70 nil, // capitalized
71 nil, // lowercase
72 },
73 },
74 actionRow{ // S6
75 canRecover: false,
76 actions: [numSymbols]action{
77 nil, // INVALID
78 nil, // ␚
79 reduce(3), // ...42..., reduce: Words
80 reduce(3), // capitalized, reduce: Words
81 reduce(3), // lowercase, reduce: Words
82 },
83 },
84 actionRow{ // S7
85 canRecover: false,
86 actions: [numSymbols]action{
87 nil, // INVALID
88 nil, // ␚
89 reduce(5), // ...42..., reduce: Words
90 reduce(5), // capitalized, reduce: Words
91 reduce(5), // lowercase, reduce: Words
92 },
93 },
94 }