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-02-26 23:26:14 +01:00
|
|
|
literal: STRING. (17)
|
2015-01-11 21:38:45 +01:00
|
|
|
|
2015-02-26 23:33:56 +01:00
|
|
|
. reduce 17 (src line 151)
|
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:26:14 +01:00
|
|
|
IDENTIFIER shift 13
|
2015-01-12 17:53:27 +01:00
|
|
|
INTEGER shift 11
|
|
|
|
FLOAT shift 12
|
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
|
|
|
|
literalModeTop goto 10
|
|
|
|
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-02-26 23:26:14 +01:00
|
|
|
PROGRAM_BRACKET_RIGHT shift 14
|
|
|
|
ARITH_OP shift 15
|
2015-01-11 22:59:24 +01:00
|
|
|
. error
|
2015-01-11 22:03:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
state 10
|
2015-01-11 22:59:24 +01:00
|
|
|
literalModeTop: literalModeTop.literalModeValue
|
2015-01-13 19:27:31 +01:00
|
|
|
expr: literalModeTop. (8)
|
2015-01-11 22:03:37 +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 8 (src line 100)
|
2015-01-11 22:03:37 +01:00
|
|
|
|
2015-01-11 22:59:24 +01:00
|
|
|
interpolation goto 5
|
|
|
|
literal goto 4
|
|
|
|
literalModeValue goto 8
|
2015-01-11 22:03:37 +01:00
|
|
|
|
|
|
|
state 11
|
2015-01-13 19:27:31 +01:00
|
|
|
expr: INTEGER. (9)
|
2015-01-11 22:03:37 +01:00
|
|
|
|
2015-02-26 23:33:56 +01:00
|
|
|
. reduce 9 (src line 105)
|
2015-01-11 22:03:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
state 12
|
2015-01-13 19:27:31 +01:00
|
|
|
expr: FLOAT. (10)
|
2015-01-12 17:53:27 +01:00
|
|
|
|
2015-02-26 23:33:56 +01:00
|
|
|
. reduce 10 (src line 113)
|
2015-01-12 17:53:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
state 13
|
2015-02-26 20:32:39 +01:00
|
|
|
expr: IDENTIFIER. (12)
|
|
|
|
expr: IDENTIFIER.PAREN_LEFT args PAREN_RIGHT
|
|
|
|
|
2015-02-26 23:26:14 +01:00
|
|
|
PAREN_LEFT shift 16
|
2015-02-26 23:33:56 +01:00
|
|
|
. reduce 12 (src line 129)
|
2015-02-26 20:32:39 +01:00
|
|
|
|
|
|
|
|
2015-02-26 23:26:14 +01:00
|
|
|
state 14
|
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-02-26 23:26:14 +01:00
|
|
|
state 15
|
|
|
|
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
|
|
|
|
IDENTIFIER shift 13
|
|
|
|
INTEGER shift 11
|
|
|
|
FLOAT shift 12
|
|
|
|
STRING shift 6
|
2015-02-26 20:32:39 +01:00
|
|
|
. error
|
|
|
|
|
2015-02-26 23:26:14 +01:00
|
|
|
expr goto 17
|
|
|
|
interpolation goto 5
|
|
|
|
literal goto 4
|
|
|
|
literalModeTop goto 10
|
|
|
|
literalModeValue goto 3
|
2015-02-26 20:32:39 +01:00
|
|
|
|
2015-02-26 23:26:14 +01:00
|
|
|
state 16
|
2015-01-11 22:59:24 +01:00
|
|
|
expr: IDENTIFIER PAREN_LEFT.args PAREN_RIGHT
|
2015-02-26 23:26:14 +01:00
|
|
|
args: . (14)
|
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:26:14 +01:00
|
|
|
IDENTIFIER shift 13
|
2015-01-12 17:53:27 +01:00
|
|
|
INTEGER shift 11
|
|
|
|
FLOAT shift 12
|
2015-01-12 09:28:47 +01:00
|
|
|
STRING shift 6
|
2015-02-26 23:33:56 +01:00
|
|
|
. reduce 14 (src line 138)
|
2015-01-11 22:03:37 +01:00
|
|
|
|
2015-02-26 23:26:14 +01:00
|
|
|
expr goto 19
|
2015-01-11 22:59:24 +01:00
|
|
|
interpolation goto 5
|
|
|
|
literal goto 4
|
|
|
|
literalModeTop goto 10
|
|
|
|
literalModeValue goto 3
|
2015-02-26 23:26:14 +01:00
|
|
|
args goto 18
|
2015-01-11 22:03:37 +01:00
|
|
|
|
2015-02-26 23:26:14 +01:00
|
|
|
state 17
|
|
|
|
expr: expr.ARITH_OP expr
|
|
|
|
expr: expr ARITH_OP expr. (11)
|
2015-02-26 20:32:39 +01:00
|
|
|
|
2015-02-26 23:33:56 +01:00
|
|
|
. reduce 11 (src line 121)
|
2015-02-26 20:32:39 +01:00
|
|
|
|
|
|
|
|
2015-02-26 23:26:14 +01:00
|
|
|
state 18
|
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-02-26 23:26:14 +01:00
|
|
|
PAREN_RIGHT shift 20
|
|
|
|
COMMA shift 21
|
2015-01-11 22:59:24 +01:00
|
|
|
. error
|
2015-01-11 22:03:37 +01:00
|
|
|
|
|
|
|
|
2015-02-26 23:26:14 +01:00
|
|
|
state 19
|
|
|
|
expr: expr.ARITH_OP expr
|
|
|
|
args: expr. (16)
|
2015-01-11 22:59:24 +01:00
|
|
|
|
2015-02-26 23:26:14 +01:00
|
|
|
ARITH_OP shift 15
|
2015-02-26 23:33:56 +01:00
|
|
|
. reduce 16 (src line 146)
|
2015-01-11 22:59:24 +01:00
|
|
|
|
|
|
|
|
2015-02-26 23:26:14 +01:00
|
|
|
state 20
|
2015-02-26 20:32:39 +01:00
|
|
|
expr: IDENTIFIER PAREN_LEFT args PAREN_RIGHT. (13)
|
2015-01-11 22:59:24 +01:00
|
|
|
|
2015-02-26 23:33:56 +01:00
|
|
|
. reduce 13 (src line 133)
|
2015-01-11 22:59:24 +01:00
|
|
|
|
|
|
|
|
2015-02-26 23:26:14 +01:00
|
|
|
state 21
|
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:26:14 +01:00
|
|
|
IDENTIFIER shift 13
|
2015-01-12 17:53:27 +01:00
|
|
|
INTEGER shift 11
|
|
|
|
FLOAT shift 12
|
2015-01-12 09:28:47 +01:00
|
|
|
STRING shift 6
|
2015-01-11 22:03:37 +01:00
|
|
|
. error
|
|
|
|
|
2015-02-26 23:26:14 +01:00
|
|
|
expr goto 22
|
2015-01-11 22:59:24 +01:00
|
|
|
interpolation goto 5
|
|
|
|
literal goto 4
|
|
|
|
literalModeTop goto 10
|
|
|
|
literalModeValue goto 3
|
2015-01-11 22:03:37 +01:00
|
|
|
|
2015-02-26 23:26:14 +01:00
|
|
|
state 22
|
|
|
|
expr: expr.ARITH_OP expr
|
|
|
|
args: args COMMA expr. (15)
|
2015-01-11 22:03:37 +01:00
|
|
|
|
2015-02-26 23:26:14 +01:00
|
|
|
ARITH_OP shift 15
|
2015-02-26 23:33:56 +01:00
|
|
|
. reduce 15 (src line 142)
|
2015-01-11 21:38:45 +01:00
|
|
|
|
|
|
|
|
2015-02-26 23:26:14 +01:00
|
|
|
15 terminals, 8 nonterminals
|
|
|
|
18 grammar rules, 23/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
|
|
|
|
memory: parser 30/30000
|
|
|
|
18 extra closures
|
2015-02-26 23:33:56 +01:00
|
|
|
33 shift entries, 1 exceptions
|
2015-02-26 20:32:39 +01:00
|
|
|
13 goto entries
|
2015-02-26 23:26:14 +01:00
|
|
|
19 entries saved by goto default
|
2015-02-26 20:32:39 +01:00
|
|
|
Optimizer space used: output 26/30000
|
|
|
|
26 table entries, 0 zero
|
2015-02-26 23:26:14 +01:00
|
|
|
maximum spread: 15, maximum offset: 21
|