name:
dist/Parser/ParserConstants.d.ts
-rw-r--r--
1334
1import { Symbol } from "./Symbols";
2import { ReductionPair } from "./ReductionPair";
3import { RULES } from "./Rules";
4/**
5 * Actions to take when processing tokens one by one. We're always either taking the next token, reducing our current
6 * tokens, or accepting and returning.
7 */
8declare const SHIFT = 1;
9declare const REDUCE = 2;
10declare const ACCEPT = 3;
11declare const PRODUCTIONS: ReductionPair[];
12declare const SYMBOL_NAME_TO_INDEX: {
13 "$accept": Symbol;
14 "$end": Symbol;
15 "error": Symbol;
16 "expressions": Symbol;
17 "expression": Symbol;
18 "EOF": Symbol;
19 "variableSequence": Symbol;
20 "number": Symbol;
21 "STRING": Symbol;
22 "&": Symbol;
23 "=": Symbol;
24 "+": Symbol;
25 "(": Symbol;
26 ")": Symbol;
27 "<": Symbol;
28 ">": Symbol;
29 "-": Symbol;
30 "*": Symbol;
31 "/": Symbol;
32 "^": Symbol;
33 "FUNCTION": Symbol;
34 "expseq": Symbol;
35 "cell": Symbol;
36 "FIXEDCELL": Symbol;
37 ":": Symbol;
38 "CELL": Symbol;
39 "ARRAY": Symbol;
40 ";": Symbol;
41 ",": Symbol;
42 "VARIABLE": Symbol;
43 "DECIMAL": Symbol;
44 "NUMBER": Symbol;
45 "%": Symbol;
46 "#": Symbol;
47 "!": Symbol;
48};
49declare const SYMBOL_INDEX_TO_NAME: {};
50declare const ACTION_TABLE: any[];
51export { ACTION_TABLE, RULES, REDUCE, ACCEPT, SHIFT, SYMBOL_INDEX_TO_NAME, SYMBOL_NAME_TO_INDEX, PRODUCTIONS };