| 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 | reduce(2), // c, reduce: B |
| 20 | nil, // empty |
| 21 | shift(3), // b |
| 22 | }, |
| 23 | }, |
| 24 | actionRow{ // S1 |
| 25 | canRecover: false, |
| 26 | actions: [numSymbols]action{ |
| 27 | nil, // INVALID |
| 28 | accept(true), // ␚ |
| 29 | nil, // c |
| 30 | nil, // empty |
| 31 | nil, // b |
| 32 | }, |
| 33 | }, |
| 34 | actionRow{ // S2 |
| 35 | canRecover: false, |
| 36 | actions: [numSymbols]action{ |
| 37 | nil, // INVALID |
| 38 | nil, // ␚ |
| 39 | shift(4), // c |
| 40 | nil, // empty |
| 41 | nil, // b |
| 42 | }, |
| 43 | }, |
| 44 | actionRow{ // S3 |
| 45 | canRecover: false, |
| 46 | actions: [numSymbols]action{ |
| 47 | nil, // INVALID |
| 48 | nil, // ␚ |
| 49 | reduce(3), // c, reduce: B |
| 50 | nil, // empty |
| 51 | nil, // b |
| 52 | }, |
| 53 | }, |
| 54 | actionRow{ // S4 |
| 55 | canRecover: false, |
| 56 | actions: [numSymbols]action{ |
| 57 | nil, // INVALID |
| 58 | reduce(1), // ␚, reduce: A |
| 59 | nil, // c |
| 60 | nil, // empty |
| 61 | nil, // b |
| 62 | }, |
| 63 | }, |
| 64 | } |