223 lines
3.5 KiB
Plaintext
223 lines
3.5 KiB
Plaintext
|
|
state 0
|
|
$accept: .top $end
|
|
top: . (1)
|
|
|
|
PROGRAM_BRACKET_LEFT shift 7
|
|
STRING shift 6
|
|
. reduce 1 (src line 32)
|
|
|
|
interpolation goto 5
|
|
literal goto 4
|
|
literalModeTop goto 2
|
|
literalModeValue goto 3
|
|
top goto 1
|
|
|
|
state 1
|
|
$accept: top.$end
|
|
|
|
$end accept
|
|
. error
|
|
|
|
|
|
state 2
|
|
top: literalModeTop. (2)
|
|
literalModeTop: literalModeTop.literalModeValue
|
|
|
|
PROGRAM_BRACKET_LEFT shift 7
|
|
STRING shift 6
|
|
. reduce 2 (src line 40)
|
|
|
|
interpolation goto 5
|
|
literal goto 4
|
|
literalModeValue goto 8
|
|
|
|
state 3
|
|
literalModeTop: literalModeValue. (3)
|
|
|
|
. reduce 3 (src line 62)
|
|
|
|
|
|
state 4
|
|
literalModeValue: literal. (5)
|
|
|
|
. reduce 5 (src line 82)
|
|
|
|
|
|
state 5
|
|
literalModeValue: interpolation. (6)
|
|
|
|
. reduce 6 (src line 87)
|
|
|
|
|
|
state 6
|
|
literal: STRING. (18)
|
|
|
|
. reduce 18 (src line 166)
|
|
|
|
|
|
state 7
|
|
interpolation: PROGRAM_BRACKET_LEFT.expr PROGRAM_BRACKET_RIGHT
|
|
|
|
PROGRAM_BRACKET_LEFT shift 7
|
|
IDENTIFIER shift 14
|
|
INTEGER shift 11
|
|
FLOAT shift 12
|
|
STRING shift 6
|
|
. error
|
|
|
|
arith goto 13
|
|
expr goto 9
|
|
interpolation goto 5
|
|
literal goto 4
|
|
literalModeTop goto 10
|
|
literalModeValue goto 3
|
|
|
|
state 8
|
|
literalModeTop: literalModeTop literalModeValue. (4)
|
|
|
|
. reduce 4 (src line 67)
|
|
|
|
|
|
state 9
|
|
interpolation: PROGRAM_BRACKET_LEFT expr.PROGRAM_BRACKET_RIGHT
|
|
|
|
PROGRAM_BRACKET_RIGHT shift 15
|
|
. error
|
|
|
|
|
|
state 10
|
|
literalModeTop: literalModeTop.literalModeValue
|
|
expr: literalModeTop. (8)
|
|
|
|
PROGRAM_BRACKET_LEFT shift 7
|
|
STRING shift 6
|
|
. reduce 8 (src line 98)
|
|
|
|
interpolation goto 5
|
|
literal goto 4
|
|
literalModeValue goto 8
|
|
|
|
state 11
|
|
expr: INTEGER. (9)
|
|
arith: INTEGER.ARITH_OP INTEGER
|
|
|
|
ARITH_OP shift 16
|
|
. reduce 9 (src line 103)
|
|
|
|
|
|
state 12
|
|
expr: FLOAT. (10)
|
|
|
|
. reduce 10 (src line 111)
|
|
|
|
|
|
state 13
|
|
expr: arith. (11)
|
|
|
|
. reduce 11 (src line 119)
|
|
|
|
|
|
state 14
|
|
expr: IDENTIFIER. (12)
|
|
expr: IDENTIFIER.PAREN_LEFT args PAREN_RIGHT
|
|
|
|
PAREN_LEFT shift 17
|
|
. reduce 12 (src line 123)
|
|
|
|
|
|
state 15
|
|
interpolation: PROGRAM_BRACKET_LEFT expr PROGRAM_BRACKET_RIGHT. (7)
|
|
|
|
. reduce 7 (src line 92)
|
|
|
|
|
|
state 16
|
|
arith: INTEGER ARITH_OP.INTEGER
|
|
|
|
INTEGER shift 18
|
|
. error
|
|
|
|
|
|
state 17
|
|
expr: IDENTIFIER PAREN_LEFT.args PAREN_RIGHT
|
|
args: . (15)
|
|
|
|
PROGRAM_BRACKET_LEFT shift 7
|
|
IDENTIFIER shift 14
|
|
INTEGER shift 11
|
|
FLOAT shift 12
|
|
STRING shift 6
|
|
. reduce 15 (src line 153)
|
|
|
|
arith goto 13
|
|
expr goto 20
|
|
interpolation goto 5
|
|
literal goto 4
|
|
literalModeTop goto 10
|
|
literalModeValue goto 3
|
|
args goto 19
|
|
|
|
state 18
|
|
arith: INTEGER ARITH_OP INTEGER. (14)
|
|
|
|
. reduce 14 (src line 132)
|
|
|
|
|
|
state 19
|
|
expr: IDENTIFIER PAREN_LEFT args.PAREN_RIGHT
|
|
args: args.COMMA expr
|
|
|
|
PAREN_RIGHT shift 21
|
|
COMMA shift 22
|
|
. error
|
|
|
|
|
|
state 20
|
|
args: expr. (17)
|
|
|
|
. reduce 17 (src line 161)
|
|
|
|
|
|
state 21
|
|
expr: IDENTIFIER PAREN_LEFT args PAREN_RIGHT. (13)
|
|
|
|
. reduce 13 (src line 127)
|
|
|
|
|
|
state 22
|
|
args: args COMMA.expr
|
|
|
|
PROGRAM_BRACKET_LEFT shift 7
|
|
IDENTIFIER shift 14
|
|
INTEGER shift 11
|
|
FLOAT shift 12
|
|
STRING shift 6
|
|
. error
|
|
|
|
arith goto 13
|
|
expr goto 23
|
|
interpolation goto 5
|
|
literal goto 4
|
|
literalModeTop goto 10
|
|
literalModeValue goto 3
|
|
|
|
state 23
|
|
args: args COMMA expr. (16)
|
|
|
|
. reduce 16 (src line 157)
|
|
|
|
|
|
15 terminals, 9 nonterminals
|
|
19 grammar rules, 24/2000 states
|
|
0 shift/reduce, 0 reduce/reduce conflicts reported
|
|
58 working sets used
|
|
memory: parser 28/30000
|
|
19 extra closures
|
|
27 shift entries, 1 exceptions
|
|
13 goto entries
|
|
17 entries saved by goto default
|
|
Optimizer space used: output 26/30000
|
|
26 table entries, 0 zero
|
|
maximum spread: 15, maximum offset: 22
|