2015-01-11 21:38:45 +01:00
|
|
|
|
|
|
|
state 0
|
|
|
|
$accept: .top $end
|
2015-01-13 19:27:31 +01:00
|
|
|
top: . (1)
|
2015-01-11 21:38:45 +01:00
|
|
|
|
2015-01-11 22:59:24 +01:00
|
|
|
PROGRAM_BRACKET_LEFT shift 7
|
2015-01-12 09:28:47 +01:00
|
|
|
STRING shift 6
|
2015-02-26 23:33:56 +01:00
|
|
|
. reduce 1 (src line 34)
|
2015-01-11 21:38:45 +01:00
|
|
|
|
2015-01-11 22:59:24 +01:00
|
|
|
interpolation goto 5
|
|
|
|
literal goto 4
|
|
|
|
literalModeTop goto 2
|
|
|
|
literalModeValue goto 3
|
2015-01-11 21:38:45 +01:00
|
|
|
top goto 1
|
|
|
|
|
|
|
|
state 1
|
|
|
|
$accept: top.$end
|
|
|
|
|
|
|
|
$end accept
|
|
|
|
. error
|
|
|
|
|
|
|
|
|
|
|
|
state 2
|
2015-01-13 19:27:31 +01:00
|
|
|
top: literalModeTop. (2)
|
2015-01-11 22:59:24 +01:00
|
|
|
literalModeTop: literalModeTop.literalModeValue
|
2015-01-11 21:38:45 +01:00
|
|
|
|
2015-01-11 22:59:24 +01:00
|
|
|
PROGRAM_BRACKET_LEFT shift 7
|
2015-01-12 09:28:47 +01:00
|
|
|
STRING shift 6
|
2015-02-26 23:33:56 +01:00
|
|
|
. reduce 2 (src line 42)
|
2015-01-11 21:38:45 +01:00
|
|
|
|
2015-01-11 22:59:24 +01:00
|
|
|
interpolation goto 5
|
|
|
|
literal goto 4
|
|
|
|
literalModeValue goto 8
|
2015-01-11 21:38:45 +01:00
|
|
|
|
|
|
|
state 3
|
2015-01-13 19:27:31 +01:00
|
|
|
literalModeTop: literalModeValue. (3)
|
2015-01-11 21:38:45 +01:00
|
|
|
|
2015-02-26 23:33:56 +01:00
|
|
|
. reduce 3 (src line 64)
|
2015-01-11 21:38:45 +01:00
|
|
|
|
|
|
|
|
|
|
|
state 4
|
2015-01-13 19:27:31 +01:00
|
|
|
literalModeValue: literal. (5)
|
2015-01-11 21:38:45 +01:00
|
|
|
|
2015-02-26 23:33:56 +01:00
|
|
|
. reduce 5 (src line 84)
|
2015-01-11 21:38:45 +01:00
|
|
|
|
|
|
|
|
|
|
|
state 5
|
2015-01-13 19:27:31 +01:00
|
|
|
literalModeValue: interpolation. (6)
|
2015-01-11 21:38:45 +01:00
|
|
|
|
2015-02-26 23:33:56 +01:00
|
|
|
. reduce 6 (src line 89)
|
2015-01-11 21:38:45 +01:00
|
|
|
|
|
|
|
|
|
|
|
state 6
|
2015-10-23 22:09:34 +02:00
|
|
|
literal: STRING. (19)
|
2015-01-11 21:38:45 +01:00
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
. reduce 19 (src line 163)
|
2015-01-11 21:38:45 +01:00
|
|
|
|
|
|
|
|
|
|
|
state 7
|
2015-01-11 22:59:24 +01:00
|
|
|
interpolation: PROGRAM_BRACKET_LEFT.expr PROGRAM_BRACKET_RIGHT
|
2015-01-11 21:38:45 +01:00
|
|
|
|
2015-01-11 22:59:24 +01:00
|
|
|
PROGRAM_BRACKET_LEFT shift 7
|
2015-02-26 23:39:04 +01:00
|
|
|
PAREN_LEFT shift 10
|
2015-10-23 22:09:34 +02:00
|
|
|
ARITH_OP shift 14
|
|
|
|
IDENTIFIER shift 15
|
2015-02-26 23:39:04 +01:00
|
|
|
INTEGER shift 12
|
|
|
|
FLOAT shift 13
|
2015-01-12 09:28:47 +01:00
|
|
|
STRING shift 6
|
2015-01-11 22:03:37 +01:00
|
|
|
. error
|
2015-01-11 21:38:45 +01:00
|
|
|
|
2015-01-11 22:59:24 +01:00
|
|
|
expr goto 9
|
|
|
|
interpolation goto 5
|
|
|
|
literal goto 4
|
2015-02-26 23:39:04 +01:00
|
|
|
literalModeTop goto 11
|
2015-01-11 22:59:24 +01:00
|
|
|
literalModeValue goto 3
|
2015-01-11 21:38:45 +01:00
|
|
|
|
|
|
|
state 8
|
2015-01-13 19:27:31 +01:00
|
|
|
literalModeTop: literalModeTop literalModeValue. (4)
|
2015-01-11 21:38:45 +01:00
|
|
|
|
2015-02-26 23:33:56 +01:00
|
|
|
. reduce 4 (src line 69)
|
2015-01-11 21:38:45 +01:00
|
|
|
|
|
|
|
|
|
|
|
state 9
|
2015-01-11 22:59:24 +01:00
|
|
|
interpolation: PROGRAM_BRACKET_LEFT expr.PROGRAM_BRACKET_RIGHT
|
2015-02-26 23:26:14 +01:00
|
|
|
expr: expr.ARITH_OP expr
|
2015-01-11 21:38:45 +01:00
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
PROGRAM_BRACKET_RIGHT shift 16
|
|
|
|
ARITH_OP shift 17
|
2015-01-11 22:59:24 +01:00
|
|
|
. error
|
2015-01-11 22:03:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
state 10
|
2015-02-26 23:39:04 +01:00
|
|
|
expr: PAREN_LEFT.expr PAREN_RIGHT
|
2015-01-11 22:03:37 +01:00
|
|
|
|
2015-01-11 22:59:24 +01:00
|
|
|
PROGRAM_BRACKET_LEFT shift 7
|
2015-02-26 23:39:04 +01:00
|
|
|
PAREN_LEFT shift 10
|
2015-10-23 22:09:34 +02:00
|
|
|
ARITH_OP shift 14
|
|
|
|
IDENTIFIER shift 15
|
2015-02-26 23:39:04 +01:00
|
|
|
INTEGER shift 12
|
|
|
|
FLOAT shift 13
|
2015-01-12 09:28:47 +01:00
|
|
|
STRING shift 6
|
2015-02-26 23:39:04 +01:00
|
|
|
. error
|
2015-01-11 22:03:37 +01:00
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
expr goto 18
|
2015-01-11 22:59:24 +01:00
|
|
|
interpolation goto 5
|
|
|
|
literal goto 4
|
2015-02-26 23:39:04 +01:00
|
|
|
literalModeTop goto 11
|
|
|
|
literalModeValue goto 3
|
2015-01-11 22:03:37 +01:00
|
|
|
|
|
|
|
state 11
|
2015-02-26 23:39:04 +01:00
|
|
|
literalModeTop: literalModeTop.literalModeValue
|
|
|
|
expr: literalModeTop. (9)
|
2015-01-11 22:03:37 +01:00
|
|
|
|
2015-02-26 23:39:04 +01:00
|
|
|
PROGRAM_BRACKET_LEFT shift 7
|
|
|
|
STRING shift 6
|
2015-02-26 23:33:56 +01:00
|
|
|
. reduce 9 (src line 105)
|
2015-01-11 22:03:37 +01:00
|
|
|
|
2015-02-26 23:39:04 +01:00
|
|
|
interpolation goto 5
|
|
|
|
literal goto 4
|
|
|
|
literalModeValue goto 8
|
2015-01-11 22:03:37 +01:00
|
|
|
|
|
|
|
state 12
|
2015-02-26 23:39:04 +01:00
|
|
|
expr: INTEGER. (10)
|
2015-01-12 17:53:27 +01:00
|
|
|
|
2015-02-26 23:39:04 +01:00
|
|
|
. reduce 10 (src line 109)
|
2015-01-12 17:53:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
state 13
|
2015-02-26 23:39:04 +01:00
|
|
|
expr: FLOAT. (11)
|
2015-02-26 20:32:39 +01:00
|
|
|
|
2015-02-26 23:39:04 +01:00
|
|
|
. reduce 11 (src line 117)
|
2015-02-26 20:32:39 +01:00
|
|
|
|
|
|
|
|
2015-02-26 23:26:14 +01:00
|
|
|
state 14
|
2015-10-23 22:09:34 +02:00
|
|
|
expr: ARITH_OP.expr
|
2015-02-26 23:39:04 +01:00
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
PROGRAM_BRACKET_LEFT shift 7
|
|
|
|
PAREN_LEFT shift 10
|
|
|
|
ARITH_OP shift 14
|
|
|
|
IDENTIFIER shift 15
|
|
|
|
INTEGER shift 12
|
|
|
|
FLOAT shift 13
|
|
|
|
STRING shift 6
|
|
|
|
. error
|
2015-02-26 23:39:04 +01:00
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
expr goto 19
|
|
|
|
interpolation goto 5
|
|
|
|
literal goto 4
|
|
|
|
literalModeTop goto 11
|
|
|
|
literalModeValue goto 3
|
2015-02-26 23:39:04 +01:00
|
|
|
|
|
|
|
state 15
|
2015-10-23 22:09:34 +02:00
|
|
|
expr: IDENTIFIER. (14)
|
|
|
|
expr: IDENTIFIER.PAREN_LEFT args PAREN_RIGHT
|
|
|
|
|
|
|
|
PAREN_LEFT shift 20
|
|
|
|
. reduce 14 (src line 141)
|
|
|
|
|
|
|
|
|
|
|
|
state 16
|
2015-01-13 19:27:31 +01:00
|
|
|
interpolation: PROGRAM_BRACKET_LEFT expr PROGRAM_BRACKET_RIGHT. (7)
|
2015-01-11 22:03:37 +01:00
|
|
|
|
2015-02-26 23:33:56 +01:00
|
|
|
. reduce 7 (src line 94)
|
2015-01-11 22:03:37 +01:00
|
|
|
|
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
state 17
|
2015-02-26 23:26:14 +01:00
|
|
|
expr: expr ARITH_OP.expr
|
2015-02-26 20:32:39 +01:00
|
|
|
|
2015-02-26 23:26:14 +01:00
|
|
|
PROGRAM_BRACKET_LEFT shift 7
|
2015-02-26 23:39:04 +01:00
|
|
|
PAREN_LEFT shift 10
|
2015-10-23 22:09:34 +02:00
|
|
|
ARITH_OP shift 14
|
|
|
|
IDENTIFIER shift 15
|
2015-02-26 23:39:04 +01:00
|
|
|
INTEGER shift 12
|
|
|
|
FLOAT shift 13
|
2015-02-26 23:26:14 +01:00
|
|
|
STRING shift 6
|
2015-02-26 20:32:39 +01:00
|
|
|
. error
|
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
expr goto 21
|
2015-02-26 23:26:14 +01:00
|
|
|
interpolation goto 5
|
|
|
|
literal goto 4
|
2015-02-26 23:39:04 +01:00
|
|
|
literalModeTop goto 11
|
2015-02-26 23:26:14 +01:00
|
|
|
literalModeValue goto 3
|
2015-02-26 20:32:39 +01:00
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
state 18
|
2015-02-26 23:39:04 +01:00
|
|
|
expr: PAREN_LEFT expr.PAREN_RIGHT
|
|
|
|
expr: expr.ARITH_OP expr
|
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
PAREN_RIGHT shift 22
|
|
|
|
ARITH_OP shift 17
|
2015-02-26 23:39:04 +01:00
|
|
|
. error
|
|
|
|
|
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
state 19
|
|
|
|
expr: expr.ARITH_OP expr
|
|
|
|
expr: ARITH_OP expr. (13)
|
|
|
|
|
|
|
|
. reduce 13 (src line 133)
|
|
|
|
|
|
|
|
|
|
|
|
state 20
|
2015-01-11 22:59:24 +01:00
|
|
|
expr: IDENTIFIER PAREN_LEFT.args PAREN_RIGHT
|
2015-10-23 22:09:34 +02:00
|
|
|
args: . (16)
|
2015-01-11 22:03:37 +01:00
|
|
|
|
2015-01-11 22:59:24 +01:00
|
|
|
PROGRAM_BRACKET_LEFT shift 7
|
2015-02-26 23:39:04 +01:00
|
|
|
PAREN_LEFT shift 10
|
2015-10-23 22:09:34 +02:00
|
|
|
ARITH_OP shift 14
|
|
|
|
IDENTIFIER shift 15
|
2015-02-26 23:39:04 +01:00
|
|
|
INTEGER shift 12
|
|
|
|
FLOAT shift 13
|
2015-01-12 09:28:47 +01:00
|
|
|
STRING shift 6
|
2015-10-23 22:09:34 +02:00
|
|
|
. reduce 16 (src line 150)
|
2015-01-11 22:03:37 +01:00
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
expr goto 24
|
2015-01-11 22:59:24 +01:00
|
|
|
interpolation goto 5
|
|
|
|
literal goto 4
|
2015-02-26 23:39:04 +01:00
|
|
|
literalModeTop goto 11
|
2015-01-11 22:59:24 +01:00
|
|
|
literalModeValue goto 3
|
2015-10-23 22:09:34 +02:00
|
|
|
args goto 23
|
2015-01-11 22:03:37 +01:00
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
state 21
|
2015-02-26 23:26:14 +01:00
|
|
|
expr: expr.ARITH_OP expr
|
2015-02-26 23:39:04 +01:00
|
|
|
expr: expr ARITH_OP expr. (12)
|
2015-02-26 20:32:39 +01:00
|
|
|
|
2015-02-26 23:39:04 +01:00
|
|
|
. reduce 12 (src line 125)
|
2015-02-26 20:32:39 +01:00
|
|
|
|
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
state 22
|
2015-02-26 23:39:04 +01:00
|
|
|
expr: PAREN_LEFT expr PAREN_RIGHT. (8)
|
|
|
|
|
|
|
|
. reduce 8 (src line 100)
|
|
|
|
|
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
state 23
|
2015-01-11 22:59:24 +01:00
|
|
|
expr: IDENTIFIER PAREN_LEFT args.PAREN_RIGHT
|
|
|
|
args: args.COMMA expr
|
2015-01-11 22:03:37 +01:00
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
PAREN_RIGHT shift 25
|
|
|
|
COMMA shift 26
|
2015-01-11 22:59:24 +01:00
|
|
|
. error
|
2015-01-11 22:03:37 +01:00
|
|
|
|
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
state 24
|
2015-02-26 23:26:14 +01:00
|
|
|
expr: expr.ARITH_OP expr
|
2015-10-23 22:09:34 +02:00
|
|
|
args: expr. (18)
|
2015-01-11 22:59:24 +01:00
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
ARITH_OP shift 17
|
|
|
|
. reduce 18 (src line 158)
|
2015-01-11 22:59:24 +01:00
|
|
|
|
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
state 25
|
|
|
|
expr: IDENTIFIER PAREN_LEFT args PAREN_RIGHT. (15)
|
2015-01-11 22:59:24 +01:00
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
. reduce 15 (src line 145)
|
2015-01-11 22:59:24 +01:00
|
|
|
|
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
state 26
|
2015-01-11 22:03:37 +01:00
|
|
|
args: args COMMA.expr
|
|
|
|
|
2015-01-11 22:59:24 +01:00
|
|
|
PROGRAM_BRACKET_LEFT shift 7
|
2015-02-26 23:39:04 +01:00
|
|
|
PAREN_LEFT shift 10
|
2015-10-23 22:09:34 +02:00
|
|
|
ARITH_OP shift 14
|
|
|
|
IDENTIFIER shift 15
|
2015-02-26 23:39:04 +01:00
|
|
|
INTEGER shift 12
|
|
|
|
FLOAT shift 13
|
2015-01-12 09:28:47 +01:00
|
|
|
STRING shift 6
|
2015-01-11 22:03:37 +01:00
|
|
|
. error
|
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
expr goto 27
|
2015-01-11 22:59:24 +01:00
|
|
|
interpolation goto 5
|
|
|
|
literal goto 4
|
2015-02-26 23:39:04 +01:00
|
|
|
literalModeTop goto 11
|
2015-01-11 22:59:24 +01:00
|
|
|
literalModeValue goto 3
|
2015-01-11 22:03:37 +01:00
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
state 27
|
2015-02-26 23:26:14 +01:00
|
|
|
expr: expr.ARITH_OP expr
|
2015-10-23 22:09:34 +02:00
|
|
|
args: args COMMA expr. (17)
|
2015-01-11 22:03:37 +01:00
|
|
|
|
2015-10-23 22:09:34 +02:00
|
|
|
ARITH_OP shift 17
|
|
|
|
. reduce 17 (src line 154)
|
2015-01-11 21:38:45 +01:00
|
|
|
|
|
|
|
|
2015-02-26 23:26:14 +01:00
|
|
|
15 terminals, 8 nonterminals
|
2015-10-23 22:09:34 +02:00
|
|
|
20 grammar rules, 28/2000 states
|
2015-02-26 23:33:56 +01:00
|
|
|
0 shift/reduce, 0 reduce/reduce conflicts reported
|
2015-02-26 23:26:14 +01:00
|
|
|
57 working sets used
|
2015-10-23 22:09:34 +02:00
|
|
|
memory: parser 40/30000
|
|
|
|
23 extra closures
|
|
|
|
57 shift entries, 1 exceptions
|
|
|
|
15 goto entries
|
|
|
|
27 entries saved by goto default
|
|
|
|
Optimizer space used: output 34/30000
|
|
|
|
34 table entries, 2 zero
|
|
|
|
maximum spread: 15, maximum offset: 26
|