mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
3376 lines
110 KiB
Plaintext
3376 lines
110 KiB
Plaintext
state 0 contains 1 shift/reduce conflicts
|
|
state 1 contains 3 shift/reduce conflicts
|
|
state 2 contains 1 reduce/reduce conflicts
|
|
state 5 contains 1 shift/reduce conflicts
|
|
state 8 contains 1 shift/reduce conflicts
|
|
state 8 contains 1 reduce/reduce conflicts
|
|
state 9 contains 1 shift/reduce conflicts
|
|
state 11 contains 1 shift/reduce conflicts
|
|
state 20 contains 1 shift/reduce conflicts
|
|
state 27 contains 1 shift/reduce conflicts
|
|
state 29 contains 1 shift/reduce conflicts
|
|
state 36 contains 1 shift/reduce conflicts
|
|
state 36 contains 1 reduce/reduce conflicts
|
|
state 37 contains 1 shift/reduce conflicts
|
|
state 45 contains 1 shift/reduce conflicts
|
|
state 46 contains 1 shift/reduce conflicts
|
|
state 47 contains 1 shift/reduce conflicts
|
|
state 48 contains 1 shift/reduce conflicts
|
|
state 49 contains 1 shift/reduce conflicts
|
|
state 50 contains 1 shift/reduce conflicts
|
|
state 51 contains 1 shift/reduce conflicts
|
|
state 52 contains 1 shift/reduce conflicts
|
|
state 53 contains 1 shift/reduce conflicts
|
|
state 54 contains 1 shift/reduce conflicts
|
|
state 55 contains 1 shift/reduce conflicts
|
|
state 56 contains 1 shift/reduce conflicts
|
|
state 57 contains 1 shift/reduce conflicts
|
|
state 58 contains 1 shift/reduce conflicts
|
|
state 59 contains 1 shift/reduce conflicts
|
|
state 60 contains 1 shift/reduce conflicts
|
|
state 61 contains 1 shift/reduce conflicts
|
|
state 62 contains 1 shift/reduce conflicts
|
|
state 63 contains 1 shift/reduce conflicts
|
|
state 64 contains 1 shift/reduce conflicts
|
|
state 65 contains 1 shift/reduce conflicts
|
|
state 66 contains 1 shift/reduce conflicts
|
|
state 67 contains 1 shift/reduce conflicts
|
|
state 70 contains 2 shift/reduce conflicts
|
|
state 74 contains 1 shift/reduce conflicts
|
|
state 78 contains 21 shift/reduce conflicts
|
|
state 79 contains 1 shift/reduce conflicts
|
|
state 80 contains 1 shift/reduce conflicts
|
|
state 82 contains 1 shift/reduce conflicts
|
|
state 119 contains 1 shift/reduce conflicts
|
|
state 122 contains 1 shift/reduce conflicts
|
|
state 124 contains 1 shift/reduce conflicts
|
|
|
|
|
|
-------- Grammar --------
|
|
|
|
rule 1 Root:
|
|
rule 2 Root: Expressions
|
|
rule 3 Expressions: Expression
|
|
rule 4 Expressions: Expressions Terminator Expression
|
|
rule 5 Expressions: Expressions Terminator
|
|
rule 6 Expressions: Terminator Expressions
|
|
rule 7 Expression: Literal
|
|
rule 8 Expression: Variable
|
|
rule 9 Expression: Call
|
|
rule 10 Expression: Assign
|
|
rule 11 Expression: Object
|
|
rule 12 Expression: Code
|
|
rule 13 Expression: Operation
|
|
rule 14 Expression: Array
|
|
rule 15 Expression: If
|
|
rule 16 Terminator: "\n"
|
|
rule 17 Terminator: ";"
|
|
rule 18 Literal: NUMBER
|
|
rule 19 Literal: STRING
|
|
rule 20 Literal: TRUE
|
|
rule 21 Literal: FALSE
|
|
rule 22 Literal: NULL
|
|
rule 23 Assign: Variable ":" Expression
|
|
rule 24 AssignObj: IDENTIFIER ":" Expression
|
|
rule 25 Operation: "!" Expression
|
|
rule 26 Operation: "-" Expression
|
|
rule 27 Operation: NOT Expression
|
|
rule 28 Operation: Expression "*" Expression
|
|
rule 29 Operation: Expression "/" Expression
|
|
rule 30 Operation: Expression "%" Expression
|
|
rule 31 Operation: Expression "+" Expression
|
|
rule 32 Operation: Expression "-" Expression
|
|
rule 33 Operation: Expression "<=" Expression
|
|
rule 34 Operation: Expression "<" Expression
|
|
rule 35 Operation: Expression ">" Expression
|
|
rule 36 Operation: Expression ">=" Expression
|
|
rule 37 Operation: Expression "==" Expression
|
|
rule 38 Operation: Expression "!=" Expression
|
|
rule 39 Operation: Expression IS Expression
|
|
rule 40 Operation: Expression AINT Expression
|
|
rule 41 Operation: Expression "&&" Expression
|
|
rule 42 Operation: Expression "||" Expression
|
|
rule 43 Operation: Expression AND Expression
|
|
rule 44 Operation: Expression OR Expression
|
|
rule 45 Operation: Expression "-=" Expression
|
|
rule 46 Operation: Expression "+=" Expression
|
|
rule 47 Operation: Expression "/=" Expression
|
|
rule 48 Operation: Expression "*=" Expression
|
|
rule 49 Code: "=>" Expressions "."
|
|
rule 50 Code: ParamList "=>" Expressions "."
|
|
rule 51 ParamList:
|
|
rule 52 ParamList: IDENTIFIER
|
|
rule 53 ParamList: ParamList "," IDENTIFIER
|
|
rule 54 Variable: IDENTIFIER
|
|
rule 55 Variable: Variable PROPERTY_ACCESS IDENTIFIER
|
|
rule 56 Object: "{" "}"
|
|
rule 57 Object: "{" AssignList "}"
|
|
rule 58 Object: "{" Terminator AssignList Terminator "}"
|
|
rule 59 AssignList:
|
|
rule 60 AssignList: AssignObj
|
|
rule 61 AssignList: AssignList "," AssignObj
|
|
rule 62 AssignList: AssignList Terminator AssignObj
|
|
rule 63 Call: Variable "(" ArgList ")"
|
|
rule 64 Array: "[" ArgList "]"
|
|
rule 65 ArgList:
|
|
rule 66 ArgList: Expression
|
|
rule 67 ArgList: ArgList "," Expression
|
|
rule 68 If: IF Expression THEN Expression "."
|
|
rule 69 If: IF Expression Terminator Expressions "."
|
|
rule 70 If: IF Expression THEN Expression ELSE Expression "."
|
|
rule 71 If: IF Expression Terminator Expressions Terminator ELSE Expressions "."
|
|
|
|
------- Symbols -------
|
|
|
|
**Nonterminals, with rules where they appear
|
|
|
|
$start (50)
|
|
on right:
|
|
on left :
|
|
Root (51)
|
|
on right:
|
|
on left : 1 2
|
|
Expressions (52)
|
|
on right: 2 4 5 6 49 50 69 71
|
|
on left : 3 4 5 6
|
|
Expression (53)
|
|
on right: 3 4 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 66 67 68 69 70 71
|
|
on left : 7 8 9 10 11 12 13 14 15
|
|
Terminator (54)
|
|
on right: 4 5 6 58 62 69 71
|
|
on left : 16 17
|
|
Literal (55)
|
|
on right: 7
|
|
on left : 18 19 20 21 22
|
|
Variable (56)
|
|
on right: 8 23 55 63
|
|
on left : 54 55
|
|
Call (57)
|
|
on right: 9
|
|
on left : 63
|
|
Assign (58)
|
|
on right: 10
|
|
on left : 23
|
|
Object (59)
|
|
on right: 11
|
|
on left : 56 57 58
|
|
Code (60)
|
|
on right: 12
|
|
on left : 49 50
|
|
Operation (61)
|
|
on right: 13
|
|
on left : 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
|
Array (62)
|
|
on right: 14
|
|
on left : 64
|
|
If (63)
|
|
on right: 15
|
|
on left : 68 69 70 71
|
|
AssignObj (64)
|
|
on right: 60 61 62
|
|
on left : 24
|
|
ParamList (65)
|
|
on right: 50 53
|
|
on left : 51 52 53
|
|
AssignList (66)
|
|
on right: 57 58 61 62
|
|
on left : 59 60 61 62
|
|
ArgList (67)
|
|
on right: 63 64 67
|
|
on left : 65 66 67
|
|
|
|
**Terminals, with rules where they appear
|
|
|
|
$end (0)
|
|
error (1)
|
|
IF (2) 68 69 70 71
|
|
ELSE (3) 70 71
|
|
THEN (4) 68 70
|
|
NEWLINE (5)
|
|
NUMBER (6) 18
|
|
STRING (7) 19
|
|
TRUE (8) 20
|
|
FALSE (9) 21
|
|
NULL (10) 22
|
|
IDENTIFIER (11) 24 52 53 54 55
|
|
PROPERTY_ACCESS (12) 55
|
|
CODE (13)
|
|
UMINUS (14)
|
|
NOT (15) 27
|
|
"!" (16) 25
|
|
"*" (17) 28
|
|
"/" (18) 29
|
|
"%" (19) 30
|
|
"+" (20) 31
|
|
"-" (21) 26 32
|
|
"<=" (22) 33
|
|
"<" (23) 34
|
|
">" (24) 35
|
|
">=" (25) 36
|
|
"==" (26) 37
|
|
"!=" (27) 38
|
|
IS (28) 39
|
|
AINT (29) 40
|
|
"&&" (30) 41
|
|
"||" (31) 42
|
|
AND (32) 43
|
|
OR (33) 44
|
|
"-=" (34) 45
|
|
"+=" (35) 46
|
|
"/=" (36) 47
|
|
"*=" (37) 48
|
|
"\n" (38) 16
|
|
";" (39) 17
|
|
":" (40) 23 24
|
|
"=>" (41) 49 50
|
|
"." (42) 49 50 68 69 70 71
|
|
"," (43) 53 61 67
|
|
"{" (44) 56 57 58
|
|
"}" (45) 56 57 58
|
|
"(" (46) 63
|
|
")" (47) 63
|
|
"[" (48) 64
|
|
"]" (49) 64
|
|
|
|
--------- State ---------
|
|
|
|
state 0
|
|
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"\n" shift, and go to state 12
|
|
";" shift, and go to state 15
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
"," reduce using rule 51 (ParamList)
|
|
$default reduce using rule 1 (Root)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Root go to state 19
|
|
Array go to state 18
|
|
Expressions go to state 23
|
|
If go to state 22
|
|
Expression go to state 25
|
|
Terminator go to state 29
|
|
ParamList go to state 26
|
|
|
|
state 1
|
|
|
|
56) Object : "{" _ "}"
|
|
57) Object : "{" _ AssignList "}"
|
|
58) Object : "{" _ Terminator AssignList Terminator "}"
|
|
|
|
IDENTIFIER shift, and go to state 31
|
|
"\n" shift, and go to state 12
|
|
"\n" [reduce using rule 59 (AssignList)]
|
|
";" shift, and go to state 15
|
|
";" [reduce using rule 59 (AssignList)]
|
|
"}" shift, and go to state 32
|
|
"}" [reduce using rule 59 (AssignList)]
|
|
$default reduce using rule 59 (AssignList)
|
|
|
|
AssignList go to state 30
|
|
AssignObj go to state 33
|
|
Terminator go to state 34
|
|
|
|
state 2
|
|
|
|
52) ParamList : IDENTIFIER _
|
|
54) Variable : IDENTIFIER _
|
|
|
|
"=>" reduce using rule 52 (ParamList)
|
|
"," reduce using rule 52 (ParamList)
|
|
"," [reduce using rule 54 (Variable)]
|
|
$default reduce using rule 54 (Variable)
|
|
|
|
|
|
state 3
|
|
|
|
7) Expression : Literal _
|
|
|
|
$default reduce using rule 7 (Expression)
|
|
|
|
|
|
state 4
|
|
|
|
8) Expression : Variable _
|
|
23) Assign : Variable _ ":" Expression
|
|
55) Variable : Variable _ PROPERTY_ACCESS IDENTIFIER
|
|
63) Call : Variable _ "(" ArgList ")"
|
|
|
|
PROPERTY_ACCESS shift, and go to state 35
|
|
":" shift, and go to state 37
|
|
"(" shift, and go to state 36
|
|
$default reduce using rule 8 (Expression)
|
|
|
|
|
|
state 5
|
|
|
|
68) If : IF _ Expression THEN Expression "."
|
|
69) If : IF _ Expression Terminator Expressions "."
|
|
70) If : IF _ Expression THEN Expression ELSE Expression "."
|
|
71) If : IF _ Expression Terminator Expressions Terminator ELSE Expressions "."
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 38
|
|
ParamList go to state 26
|
|
|
|
state 6
|
|
|
|
9) Expression : Call _
|
|
|
|
$default reduce using rule 9 (Expression)
|
|
|
|
|
|
state 7
|
|
|
|
10) Expression : Assign _
|
|
|
|
$default reduce using rule 10 (Expression)
|
|
|
|
|
|
state 8
|
|
|
|
64) Array : "[" _ ArgList "]"
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
"]" reduce using rule 65 (ArgList)
|
|
"," [reduce using rule 65 (ArgList)]
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
ArgList go to state 39
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 40
|
|
ParamList go to state 26
|
|
|
|
state 9
|
|
|
|
27) Operation : NOT _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 41
|
|
ParamList go to state 26
|
|
|
|
state 10
|
|
|
|
11) Expression : Object _
|
|
|
|
$default reduce using rule 11 (Expression)
|
|
|
|
|
|
state 11
|
|
|
|
25) Operation : "!" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 42
|
|
ParamList go to state 26
|
|
|
|
state 12
|
|
|
|
16) Terminator : "\n" _
|
|
|
|
$default reduce using rule 16 (Terminator)
|
|
|
|
|
|
state 13
|
|
|
|
12) Expression : Code _
|
|
|
|
$default reduce using rule 12 (Expression)
|
|
|
|
|
|
state 14
|
|
|
|
18) Literal : NUMBER _
|
|
|
|
$default reduce using rule 18 (Literal)
|
|
|
|
|
|
state 15
|
|
|
|
17) Terminator : ";" _
|
|
|
|
$default reduce using rule 17 (Terminator)
|
|
|
|
|
|
state 16
|
|
|
|
13) Expression : Operation _
|
|
|
|
$default reduce using rule 13 (Expression)
|
|
|
|
|
|
state 17
|
|
|
|
19) Literal : STRING _
|
|
|
|
$default reduce using rule 19 (Literal)
|
|
|
|
|
|
state 18
|
|
|
|
14) Expression : Array _
|
|
|
|
$default reduce using rule 14 (Expression)
|
|
|
|
|
|
state 19
|
|
|
|
|
|
$end shift, and go to state 43
|
|
|
|
|
|
state 20
|
|
|
|
49) Code : "=>" _ Expressions "."
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"\n" shift, and go to state 12
|
|
";" shift, and go to state 15
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
Expressions go to state 44
|
|
If go to state 22
|
|
Expression go to state 25
|
|
Terminator go to state 29
|
|
ParamList go to state 26
|
|
|
|
state 21
|
|
|
|
20) Literal : TRUE _
|
|
|
|
$default reduce using rule 20 (Literal)
|
|
|
|
|
|
state 22
|
|
|
|
15) Expression : If _
|
|
|
|
$default reduce using rule 15 (Expression)
|
|
|
|
|
|
state 23
|
|
|
|
2) Root : Expressions _
|
|
4) Expressions : Expressions _ Terminator Expression
|
|
5) Expressions : Expressions _ Terminator
|
|
|
|
"\n" shift, and go to state 12
|
|
";" shift, and go to state 15
|
|
$default reduce using rule 2 (Root)
|
|
|
|
Terminator go to state 45
|
|
|
|
state 24
|
|
|
|
21) Literal : FALSE _
|
|
|
|
$default reduce using rule 21 (Literal)
|
|
|
|
|
|
state 25
|
|
|
|
3) Expressions : Expression _
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
"<=" shift, and go to state 47
|
|
"<" shift, and go to state 49
|
|
">" shift, and go to state 51
|
|
">=" shift, and go to state 53
|
|
"==" shift, and go to state 55
|
|
"!=" shift, and go to state 56
|
|
IS shift, and go to state 57
|
|
AINT shift, and go to state 59
|
|
"&&" shift, and go to state 61
|
|
"||" shift, and go to state 63
|
|
AND shift, and go to state 65
|
|
OR shift, and go to state 46
|
|
"-=" shift, and go to state 48
|
|
"+=" shift, and go to state 50
|
|
"/=" shift, and go to state 52
|
|
"*=" shift, and go to state 54
|
|
$default reduce using rule 3 (Expressions)
|
|
|
|
|
|
state 26
|
|
|
|
50) Code : ParamList _ "=>" Expressions "."
|
|
53) ParamList : ParamList _ "," IDENTIFIER
|
|
|
|
"=>" shift, and go to state 67
|
|
"," shift, and go to state 68
|
|
|
|
|
|
state 27
|
|
|
|
26) Operation : "-" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 69
|
|
ParamList go to state 26
|
|
|
|
state 28
|
|
|
|
22) Literal : NULL _
|
|
|
|
$default reduce using rule 22 (Literal)
|
|
|
|
|
|
state 29
|
|
|
|
6) Expressions : Terminator _ Expressions
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"\n" shift, and go to state 12
|
|
";" shift, and go to state 15
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
Expressions go to state 70
|
|
If go to state 22
|
|
Expression go to state 25
|
|
Terminator go to state 29
|
|
ParamList go to state 26
|
|
|
|
state 30
|
|
|
|
57) Object : "{" AssignList _ "}"
|
|
61) AssignList : AssignList _ "," AssignObj
|
|
62) AssignList : AssignList _ Terminator AssignObj
|
|
|
|
"\n" shift, and go to state 12
|
|
";" shift, and go to state 15
|
|
"," shift, and go to state 73
|
|
"}" shift, and go to state 71
|
|
|
|
Terminator go to state 72
|
|
|
|
state 31
|
|
|
|
24) AssignObj : IDENTIFIER _ ":" Expression
|
|
|
|
":" shift, and go to state 74
|
|
|
|
|
|
state 32
|
|
|
|
56) Object : "{" "}" _
|
|
|
|
$default reduce using rule 56 (Object)
|
|
|
|
|
|
state 33
|
|
|
|
60) AssignList : AssignObj _
|
|
|
|
$default reduce using rule 60 (AssignList)
|
|
|
|
|
|
state 34
|
|
|
|
58) Object : "{" Terminator _ AssignList Terminator "}"
|
|
|
|
IDENTIFIER shift, and go to state 31
|
|
$default reduce using rule 59 (AssignList)
|
|
|
|
AssignList go to state 75
|
|
AssignObj go to state 33
|
|
|
|
state 35
|
|
|
|
55) Variable : Variable PROPERTY_ACCESS _ IDENTIFIER
|
|
|
|
IDENTIFIER shift, and go to state 76
|
|
|
|
|
|
state 36
|
|
|
|
63) Call : Variable "(" _ ArgList ")"
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
")" reduce using rule 65 (ArgList)
|
|
"," [reduce using rule 65 (ArgList)]
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
ArgList go to state 77
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 40
|
|
ParamList go to state 26
|
|
|
|
state 37
|
|
|
|
23) Assign : Variable ":" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 78
|
|
ParamList go to state 26
|
|
|
|
state 38
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
68) If : IF Expression _ THEN Expression "."
|
|
69) If : IF Expression _ Terminator Expressions "."
|
|
70) If : IF Expression _ THEN Expression ELSE Expression "."
|
|
71) If : IF Expression _ Terminator Expressions Terminator ELSE Expressions "."
|
|
|
|
THEN shift, and go to state 79
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
"<=" shift, and go to state 47
|
|
"<" shift, and go to state 49
|
|
">" shift, and go to state 51
|
|
">=" shift, and go to state 53
|
|
"==" shift, and go to state 55
|
|
"!=" shift, and go to state 56
|
|
IS shift, and go to state 57
|
|
AINT shift, and go to state 59
|
|
"&&" shift, and go to state 61
|
|
"||" shift, and go to state 63
|
|
AND shift, and go to state 65
|
|
OR shift, and go to state 46
|
|
"-=" shift, and go to state 48
|
|
"+=" shift, and go to state 50
|
|
"/=" shift, and go to state 52
|
|
"*=" shift, and go to state 54
|
|
"\n" shift, and go to state 12
|
|
";" shift, and go to state 15
|
|
|
|
Terminator go to state 80
|
|
|
|
state 39
|
|
|
|
64) Array : "[" ArgList _ "]"
|
|
67) ArgList : ArgList _ "," Expression
|
|
|
|
"," shift, and go to state 82
|
|
"]" shift, and go to state 81
|
|
|
|
|
|
state 40
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
66) ArgList : Expression _
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
"<=" shift, and go to state 47
|
|
"<" shift, and go to state 49
|
|
">" shift, and go to state 51
|
|
">=" shift, and go to state 53
|
|
"==" shift, and go to state 55
|
|
"!=" shift, and go to state 56
|
|
IS shift, and go to state 57
|
|
AINT shift, and go to state 59
|
|
"&&" shift, and go to state 61
|
|
"||" shift, and go to state 63
|
|
AND shift, and go to state 65
|
|
OR shift, and go to state 46
|
|
"-=" shift, and go to state 48
|
|
"+=" shift, and go to state 50
|
|
"/=" shift, and go to state 52
|
|
"*=" shift, and go to state 54
|
|
$default reduce using rule 66 (ArgList)
|
|
|
|
|
|
state 41
|
|
|
|
27) Operation : NOT Expression _
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
$default reduce using rule 27 (Operation)
|
|
|
|
|
|
state 42
|
|
|
|
25) Operation : "!" Expression _
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
$default reduce using rule 25 (Operation)
|
|
|
|
|
|
state 43
|
|
|
|
|
|
$end shift, and go to state 83
|
|
|
|
|
|
state 44
|
|
|
|
4) Expressions : Expressions _ Terminator Expression
|
|
5) Expressions : Expressions _ Terminator
|
|
49) Code : "=>" Expressions _ "."
|
|
|
|
"\n" shift, and go to state 12
|
|
";" shift, and go to state 15
|
|
"." shift, and go to state 84
|
|
|
|
Terminator go to state 45
|
|
|
|
state 45
|
|
|
|
4) Expressions : Expressions Terminator _ Expression
|
|
5) Expressions : Expressions Terminator _
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
"," reduce using rule 51 (ParamList)
|
|
$default reduce using rule 5 (Expressions)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 85
|
|
ParamList go to state 26
|
|
|
|
state 46
|
|
|
|
44) Operation : Expression OR _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 86
|
|
ParamList go to state 26
|
|
|
|
state 47
|
|
|
|
33) Operation : Expression "<=" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 87
|
|
ParamList go to state 26
|
|
|
|
state 48
|
|
|
|
45) Operation : Expression "-=" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 88
|
|
ParamList go to state 26
|
|
|
|
state 49
|
|
|
|
34) Operation : Expression "<" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 89
|
|
ParamList go to state 26
|
|
|
|
state 50
|
|
|
|
46) Operation : Expression "+=" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 90
|
|
ParamList go to state 26
|
|
|
|
state 51
|
|
|
|
35) Operation : Expression ">" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 91
|
|
ParamList go to state 26
|
|
|
|
state 52
|
|
|
|
47) Operation : Expression "/=" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 92
|
|
ParamList go to state 26
|
|
|
|
state 53
|
|
|
|
36) Operation : Expression ">=" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 93
|
|
ParamList go to state 26
|
|
|
|
state 54
|
|
|
|
48) Operation : Expression "*=" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 94
|
|
ParamList go to state 26
|
|
|
|
state 55
|
|
|
|
37) Operation : Expression "==" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 95
|
|
ParamList go to state 26
|
|
|
|
state 56
|
|
|
|
38) Operation : Expression "!=" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 96
|
|
ParamList go to state 26
|
|
|
|
state 57
|
|
|
|
39) Operation : Expression IS _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 97
|
|
ParamList go to state 26
|
|
|
|
state 58
|
|
|
|
28) Operation : Expression "*" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 98
|
|
ParamList go to state 26
|
|
|
|
state 59
|
|
|
|
40) Operation : Expression AINT _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 99
|
|
ParamList go to state 26
|
|
|
|
state 60
|
|
|
|
29) Operation : Expression "/" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 100
|
|
ParamList go to state 26
|
|
|
|
state 61
|
|
|
|
41) Operation : Expression "&&" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 101
|
|
ParamList go to state 26
|
|
|
|
state 62
|
|
|
|
30) Operation : Expression "%" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 102
|
|
ParamList go to state 26
|
|
|
|
state 63
|
|
|
|
42) Operation : Expression "||" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 103
|
|
ParamList go to state 26
|
|
|
|
state 64
|
|
|
|
31) Operation : Expression "+" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 104
|
|
ParamList go to state 26
|
|
|
|
state 65
|
|
|
|
43) Operation : Expression AND _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 105
|
|
ParamList go to state 26
|
|
|
|
state 66
|
|
|
|
32) Operation : Expression "-" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 106
|
|
ParamList go to state 26
|
|
|
|
state 67
|
|
|
|
50) Code : ParamList "=>" _ Expressions "."
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"\n" shift, and go to state 12
|
|
";" shift, and go to state 15
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
Expressions go to state 107
|
|
If go to state 22
|
|
Expression go to state 25
|
|
Terminator go to state 29
|
|
ParamList go to state 26
|
|
|
|
state 68
|
|
|
|
53) ParamList : ParamList "," _ IDENTIFIER
|
|
|
|
IDENTIFIER shift, and go to state 108
|
|
|
|
|
|
state 69
|
|
|
|
26) Operation : "-" Expression _
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
$default reduce using rule 26 (Operation)
|
|
|
|
|
|
state 70
|
|
|
|
4) Expressions : Expressions _ Terminator Expression
|
|
5) Expressions : Expressions _ Terminator
|
|
6) Expressions : Terminator Expressions _
|
|
|
|
"\n" shift, and go to state 12
|
|
"\n" [reduce using rule 6 (Expressions)]
|
|
";" shift, and go to state 15
|
|
";" [reduce using rule 6 (Expressions)]
|
|
$default reduce using rule 6 (Expressions)
|
|
|
|
Terminator go to state 45
|
|
|
|
state 71
|
|
|
|
57) Object : "{" AssignList "}" _
|
|
|
|
$default reduce using rule 57 (Object)
|
|
|
|
|
|
state 72
|
|
|
|
62) AssignList : AssignList Terminator _ AssignObj
|
|
|
|
IDENTIFIER shift, and go to state 31
|
|
|
|
AssignObj go to state 109
|
|
|
|
state 73
|
|
|
|
61) AssignList : AssignList "," _ AssignObj
|
|
|
|
IDENTIFIER shift, and go to state 31
|
|
|
|
AssignObj go to state 110
|
|
|
|
state 74
|
|
|
|
24) AssignObj : IDENTIFIER ":" _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 111
|
|
ParamList go to state 26
|
|
|
|
state 75
|
|
|
|
58) Object : "{" Terminator AssignList _ Terminator "}"
|
|
61) AssignList : AssignList _ "," AssignObj
|
|
62) AssignList : AssignList _ Terminator AssignObj
|
|
|
|
"\n" shift, and go to state 12
|
|
";" shift, and go to state 15
|
|
"," shift, and go to state 73
|
|
|
|
Terminator go to state 112
|
|
|
|
state 76
|
|
|
|
55) Variable : Variable PROPERTY_ACCESS IDENTIFIER _
|
|
|
|
$default reduce using rule 55 (Variable)
|
|
|
|
|
|
state 77
|
|
|
|
63) Call : Variable "(" ArgList _ ")"
|
|
67) ArgList : ArgList _ "," Expression
|
|
|
|
"," shift, and go to state 82
|
|
")" shift, and go to state 113
|
|
|
|
|
|
state 78
|
|
|
|
23) Assign : Variable ":" Expression _
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"*" [reduce using rule 23 (Assign)]
|
|
"/" shift, and go to state 60
|
|
"/" [reduce using rule 23 (Assign)]
|
|
"%" shift, and go to state 62
|
|
"%" [reduce using rule 23 (Assign)]
|
|
"+" shift, and go to state 64
|
|
"+" [reduce using rule 23 (Assign)]
|
|
"-" shift, and go to state 66
|
|
"-" [reduce using rule 23 (Assign)]
|
|
"<=" shift, and go to state 47
|
|
"<=" [reduce using rule 23 (Assign)]
|
|
"<" shift, and go to state 49
|
|
"<" [reduce using rule 23 (Assign)]
|
|
">" shift, and go to state 51
|
|
">" [reduce using rule 23 (Assign)]
|
|
">=" shift, and go to state 53
|
|
">=" [reduce using rule 23 (Assign)]
|
|
"==" shift, and go to state 55
|
|
"==" [reduce using rule 23 (Assign)]
|
|
"!=" shift, and go to state 56
|
|
"!=" [reduce using rule 23 (Assign)]
|
|
IS shift, and go to state 57
|
|
IS [reduce using rule 23 (Assign)]
|
|
AINT shift, and go to state 59
|
|
AINT [reduce using rule 23 (Assign)]
|
|
"&&" shift, and go to state 61
|
|
"&&" [reduce using rule 23 (Assign)]
|
|
"||" shift, and go to state 63
|
|
"||" [reduce using rule 23 (Assign)]
|
|
AND shift, and go to state 65
|
|
AND [reduce using rule 23 (Assign)]
|
|
OR shift, and go to state 46
|
|
OR [reduce using rule 23 (Assign)]
|
|
"-=" shift, and go to state 48
|
|
"-=" [reduce using rule 23 (Assign)]
|
|
"+=" shift, and go to state 50
|
|
"+=" [reduce using rule 23 (Assign)]
|
|
"/=" shift, and go to state 52
|
|
"/=" [reduce using rule 23 (Assign)]
|
|
"*=" shift, and go to state 54
|
|
"*=" [reduce using rule 23 (Assign)]
|
|
$default reduce using rule 23 (Assign)
|
|
|
|
|
|
state 79
|
|
|
|
68) If : IF Expression THEN _ Expression "."
|
|
70) If : IF Expression THEN _ Expression ELSE Expression "."
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 114
|
|
ParamList go to state 26
|
|
|
|
state 80
|
|
|
|
69) If : IF Expression Terminator _ Expressions "."
|
|
71) If : IF Expression Terminator _ Expressions Terminator ELSE Expressions "."
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"\n" shift, and go to state 12
|
|
";" shift, and go to state 15
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
Expressions go to state 115
|
|
If go to state 22
|
|
Expression go to state 25
|
|
Terminator go to state 29
|
|
ParamList go to state 26
|
|
|
|
state 81
|
|
|
|
64) Array : "[" ArgList "]" _
|
|
|
|
$default reduce using rule 64 (Array)
|
|
|
|
|
|
state 82
|
|
|
|
67) ArgList : ArgList "," _ Expression
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 116
|
|
ParamList go to state 26
|
|
|
|
state 83
|
|
|
|
|
|
$default accept
|
|
|
|
|
|
state 84
|
|
|
|
49) Code : "=>" Expressions "." _
|
|
|
|
$default reduce using rule 49 (Code)
|
|
|
|
|
|
state 85
|
|
|
|
4) Expressions : Expressions Terminator Expression _
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
"<=" shift, and go to state 47
|
|
"<" shift, and go to state 49
|
|
">" shift, and go to state 51
|
|
">=" shift, and go to state 53
|
|
"==" shift, and go to state 55
|
|
"!=" shift, and go to state 56
|
|
IS shift, and go to state 57
|
|
AINT shift, and go to state 59
|
|
"&&" shift, and go to state 61
|
|
"||" shift, and go to state 63
|
|
AND shift, and go to state 65
|
|
OR shift, and go to state 46
|
|
"-=" shift, and go to state 48
|
|
"+=" shift, and go to state 50
|
|
"/=" shift, and go to state 52
|
|
"*=" shift, and go to state 54
|
|
$default reduce using rule 4 (Expressions)
|
|
|
|
|
|
state 86
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
44) Operation : Expression OR Expression _
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
"<=" shift, and go to state 47
|
|
"<" shift, and go to state 49
|
|
">" shift, and go to state 51
|
|
">=" shift, and go to state 53
|
|
"==" shift, and go to state 55
|
|
"!=" shift, and go to state 56
|
|
IS shift, and go to state 57
|
|
AINT shift, and go to state 59
|
|
$default reduce using rule 44 (Operation)
|
|
|
|
|
|
state 87
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
33) Operation : Expression "<=" Expression _
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
$default reduce using rule 33 (Operation)
|
|
|
|
|
|
state 88
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
45) Operation : Expression "-=" Expression _
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
"<=" shift, and go to state 47
|
|
"<" shift, and go to state 49
|
|
">" shift, and go to state 51
|
|
">=" shift, and go to state 53
|
|
"==" shift, and go to state 55
|
|
"!=" shift, and go to state 56
|
|
IS shift, and go to state 57
|
|
AINT shift, and go to state 59
|
|
"&&" shift, and go to state 61
|
|
"||" shift, and go to state 63
|
|
AND shift, and go to state 65
|
|
OR shift, and go to state 46
|
|
"-=" shift, and go to state 48
|
|
"+=" shift, and go to state 50
|
|
"/=" shift, and go to state 52
|
|
"*=" shift, and go to state 54
|
|
$default reduce using rule 45 (Operation)
|
|
|
|
|
|
state 89
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
34) Operation : Expression "<" Expression _
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
$default reduce using rule 34 (Operation)
|
|
|
|
|
|
state 90
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
46) Operation : Expression "+=" Expression _
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
"<=" shift, and go to state 47
|
|
"<" shift, and go to state 49
|
|
">" shift, and go to state 51
|
|
">=" shift, and go to state 53
|
|
"==" shift, and go to state 55
|
|
"!=" shift, and go to state 56
|
|
IS shift, and go to state 57
|
|
AINT shift, and go to state 59
|
|
"&&" shift, and go to state 61
|
|
"||" shift, and go to state 63
|
|
AND shift, and go to state 65
|
|
OR shift, and go to state 46
|
|
"-=" shift, and go to state 48
|
|
"+=" shift, and go to state 50
|
|
"/=" shift, and go to state 52
|
|
"*=" shift, and go to state 54
|
|
$default reduce using rule 46 (Operation)
|
|
|
|
|
|
state 91
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
35) Operation : Expression ">" Expression _
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
$default reduce using rule 35 (Operation)
|
|
|
|
|
|
state 92
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
47) Operation : Expression "/=" Expression _
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
"<=" shift, and go to state 47
|
|
"<" shift, and go to state 49
|
|
">" shift, and go to state 51
|
|
">=" shift, and go to state 53
|
|
"==" shift, and go to state 55
|
|
"!=" shift, and go to state 56
|
|
IS shift, and go to state 57
|
|
AINT shift, and go to state 59
|
|
"&&" shift, and go to state 61
|
|
"||" shift, and go to state 63
|
|
AND shift, and go to state 65
|
|
OR shift, and go to state 46
|
|
"-=" shift, and go to state 48
|
|
"+=" shift, and go to state 50
|
|
"/=" shift, and go to state 52
|
|
"*=" shift, and go to state 54
|
|
$default reduce using rule 47 (Operation)
|
|
|
|
|
|
state 93
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
36) Operation : Expression ">=" Expression _
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
$default reduce using rule 36 (Operation)
|
|
|
|
|
|
state 94
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
48) Operation : Expression "*=" Expression _
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
"<=" shift, and go to state 47
|
|
"<" shift, and go to state 49
|
|
">" shift, and go to state 51
|
|
">=" shift, and go to state 53
|
|
"==" shift, and go to state 55
|
|
"!=" shift, and go to state 56
|
|
IS shift, and go to state 57
|
|
AINT shift, and go to state 59
|
|
"&&" shift, and go to state 61
|
|
"||" shift, and go to state 63
|
|
AND shift, and go to state 65
|
|
OR shift, and go to state 46
|
|
"-=" shift, and go to state 48
|
|
"+=" shift, and go to state 50
|
|
"/=" shift, and go to state 52
|
|
"*=" shift, and go to state 54
|
|
$default reduce using rule 48 (Operation)
|
|
|
|
|
|
state 95
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
37) Operation : Expression "==" Expression _
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
"<=" shift, and go to state 47
|
|
"<" shift, and go to state 49
|
|
">" shift, and go to state 51
|
|
">=" shift, and go to state 53
|
|
"==" shift, and go to state 55
|
|
"!=" shift, and go to state 56
|
|
IS shift, and go to state 57
|
|
AINT shift, and go to state 59
|
|
$default reduce using rule 37 (Operation)
|
|
|
|
|
|
state 96
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
38) Operation : Expression "!=" Expression _
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
"<=" shift, and go to state 47
|
|
"<" shift, and go to state 49
|
|
">" shift, and go to state 51
|
|
">=" shift, and go to state 53
|
|
"==" shift, and go to state 55
|
|
"!=" shift, and go to state 56
|
|
IS shift, and go to state 57
|
|
AINT shift, and go to state 59
|
|
$default reduce using rule 38 (Operation)
|
|
|
|
|
|
state 97
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
39) Operation : Expression IS Expression _
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
"<=" shift, and go to state 47
|
|
"<" shift, and go to state 49
|
|
">" shift, and go to state 51
|
|
">=" shift, and go to state 53
|
|
"==" shift, and go to state 55
|
|
"!=" shift, and go to state 56
|
|
IS shift, and go to state 57
|
|
AINT shift, and go to state 59
|
|
$default reduce using rule 39 (Operation)
|
|
|
|
|
|
state 98
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
28) Operation : Expression "*" Expression _
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
$default reduce using rule 28 (Operation)
|
|
|
|
|
|
state 99
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
40) Operation : Expression AINT Expression _
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
"<=" shift, and go to state 47
|
|
"<" shift, and go to state 49
|
|
">" shift, and go to state 51
|
|
">=" shift, and go to state 53
|
|
"==" shift, and go to state 55
|
|
"!=" shift, and go to state 56
|
|
IS shift, and go to state 57
|
|
AINT shift, and go to state 59
|
|
$default reduce using rule 40 (Operation)
|
|
|
|
|
|
state 100
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
29) Operation : Expression "/" Expression _
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
$default reduce using rule 29 (Operation)
|
|
|
|
|
|
state 101
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
41) Operation : Expression "&&" Expression _
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
"<=" shift, and go to state 47
|
|
"<" shift, and go to state 49
|
|
">" shift, and go to state 51
|
|
">=" shift, and go to state 53
|
|
"==" shift, and go to state 55
|
|
"!=" shift, and go to state 56
|
|
IS shift, and go to state 57
|
|
AINT shift, and go to state 59
|
|
$default reduce using rule 41 (Operation)
|
|
|
|
|
|
state 102
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
30) Operation : Expression "%" Expression _
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
$default reduce using rule 30 (Operation)
|
|
|
|
|
|
state 103
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
42) Operation : Expression "||" Expression _
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
"<=" shift, and go to state 47
|
|
"<" shift, and go to state 49
|
|
">" shift, and go to state 51
|
|
">=" shift, and go to state 53
|
|
"==" shift, and go to state 55
|
|
"!=" shift, and go to state 56
|
|
IS shift, and go to state 57
|
|
AINT shift, and go to state 59
|
|
$default reduce using rule 42 (Operation)
|
|
|
|
|
|
state 104
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
31) Operation : Expression "+" Expression _
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
$default reduce using rule 31 (Operation)
|
|
|
|
|
|
state 105
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
43) Operation : Expression AND Expression _
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
"<=" shift, and go to state 47
|
|
"<" shift, and go to state 49
|
|
">" shift, and go to state 51
|
|
">=" shift, and go to state 53
|
|
"==" shift, and go to state 55
|
|
"!=" shift, and go to state 56
|
|
IS shift, and go to state 57
|
|
AINT shift, and go to state 59
|
|
$default reduce using rule 43 (Operation)
|
|
|
|
|
|
state 106
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
32) Operation : Expression "-" Expression _
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
$default reduce using rule 32 (Operation)
|
|
|
|
|
|
state 107
|
|
|
|
4) Expressions : Expressions _ Terminator Expression
|
|
5) Expressions : Expressions _ Terminator
|
|
50) Code : ParamList "=>" Expressions _ "."
|
|
|
|
"\n" shift, and go to state 12
|
|
";" shift, and go to state 15
|
|
"." shift, and go to state 117
|
|
|
|
Terminator go to state 45
|
|
|
|
state 108
|
|
|
|
53) ParamList : ParamList "," IDENTIFIER _
|
|
|
|
$default reduce using rule 53 (ParamList)
|
|
|
|
|
|
state 109
|
|
|
|
62) AssignList : AssignList Terminator AssignObj _
|
|
|
|
$default reduce using rule 62 (AssignList)
|
|
|
|
|
|
state 110
|
|
|
|
61) AssignList : AssignList "," AssignObj _
|
|
|
|
$default reduce using rule 61 (AssignList)
|
|
|
|
|
|
state 111
|
|
|
|
24) AssignObj : IDENTIFIER ":" Expression _
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
"<=" shift, and go to state 47
|
|
"<" shift, and go to state 49
|
|
">" shift, and go to state 51
|
|
">=" shift, and go to state 53
|
|
"==" shift, and go to state 55
|
|
"!=" shift, and go to state 56
|
|
IS shift, and go to state 57
|
|
AINT shift, and go to state 59
|
|
"&&" shift, and go to state 61
|
|
"||" shift, and go to state 63
|
|
AND shift, and go to state 65
|
|
OR shift, and go to state 46
|
|
"-=" shift, and go to state 48
|
|
"+=" shift, and go to state 50
|
|
"/=" shift, and go to state 52
|
|
"*=" shift, and go to state 54
|
|
$default reduce using rule 24 (AssignObj)
|
|
|
|
|
|
state 112
|
|
|
|
58) Object : "{" Terminator AssignList Terminator _ "}"
|
|
62) AssignList : AssignList Terminator _ AssignObj
|
|
|
|
IDENTIFIER shift, and go to state 31
|
|
"}" shift, and go to state 118
|
|
|
|
AssignObj go to state 109
|
|
|
|
state 113
|
|
|
|
63) Call : Variable "(" ArgList ")" _
|
|
|
|
$default reduce using rule 63 (Call)
|
|
|
|
|
|
state 114
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
68) If : IF Expression THEN Expression _ "."
|
|
70) If : IF Expression THEN Expression _ ELSE Expression "."
|
|
|
|
ELSE shift, and go to state 119
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
"<=" shift, and go to state 47
|
|
"<" shift, and go to state 49
|
|
">" shift, and go to state 51
|
|
">=" shift, and go to state 53
|
|
"==" shift, and go to state 55
|
|
"!=" shift, and go to state 56
|
|
IS shift, and go to state 57
|
|
AINT shift, and go to state 59
|
|
"&&" shift, and go to state 61
|
|
"||" shift, and go to state 63
|
|
AND shift, and go to state 65
|
|
OR shift, and go to state 46
|
|
"-=" shift, and go to state 48
|
|
"+=" shift, and go to state 50
|
|
"/=" shift, and go to state 52
|
|
"*=" shift, and go to state 54
|
|
"." shift, and go to state 120
|
|
|
|
|
|
state 115
|
|
|
|
4) Expressions : Expressions _ Terminator Expression
|
|
5) Expressions : Expressions _ Terminator
|
|
69) If : IF Expression Terminator Expressions _ "."
|
|
71) If : IF Expression Terminator Expressions _ Terminator ELSE Expressions "."
|
|
|
|
"\n" shift, and go to state 12
|
|
";" shift, and go to state 15
|
|
"." shift, and go to state 121
|
|
|
|
Terminator go to state 122
|
|
|
|
state 116
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
67) ArgList : ArgList "," Expression _
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
"<=" shift, and go to state 47
|
|
"<" shift, and go to state 49
|
|
">" shift, and go to state 51
|
|
">=" shift, and go to state 53
|
|
"==" shift, and go to state 55
|
|
"!=" shift, and go to state 56
|
|
IS shift, and go to state 57
|
|
AINT shift, and go to state 59
|
|
"&&" shift, and go to state 61
|
|
"||" shift, and go to state 63
|
|
AND shift, and go to state 65
|
|
OR shift, and go to state 46
|
|
"-=" shift, and go to state 48
|
|
"+=" shift, and go to state 50
|
|
"/=" shift, and go to state 52
|
|
"*=" shift, and go to state 54
|
|
$default reduce using rule 67 (ArgList)
|
|
|
|
|
|
state 117
|
|
|
|
50) Code : ParamList "=>" Expressions "." _
|
|
|
|
$default reduce using rule 50 (Code)
|
|
|
|
|
|
state 118
|
|
|
|
58) Object : "{" Terminator AssignList Terminator "}" _
|
|
|
|
$default reduce using rule 58 (Object)
|
|
|
|
|
|
state 119
|
|
|
|
70) If : IF Expression THEN Expression ELSE _ Expression "."
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 123
|
|
ParamList go to state 26
|
|
|
|
state 120
|
|
|
|
68) If : IF Expression THEN Expression "." _
|
|
|
|
$default reduce using rule 68 (If)
|
|
|
|
|
|
state 121
|
|
|
|
69) If : IF Expression Terminator Expressions "." _
|
|
|
|
$default reduce using rule 69 (If)
|
|
|
|
|
|
state 122
|
|
|
|
4) Expressions : Expressions Terminator _ Expression
|
|
5) Expressions : Expressions Terminator _
|
|
71) If : IF Expression Terminator Expressions Terminator _ ELSE Expressions "."
|
|
|
|
IF shift, and go to state 5
|
|
ELSE shift, and go to state 124
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
"," reduce using rule 51 (ParamList)
|
|
$default reduce using rule 5 (Expressions)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
If go to state 22
|
|
Expression go to state 85
|
|
ParamList go to state 26
|
|
|
|
state 123
|
|
|
|
28) Operation : Expression _ "*" Expression
|
|
29) Operation : Expression _ "/" Expression
|
|
30) Operation : Expression _ "%" Expression
|
|
31) Operation : Expression _ "+" Expression
|
|
32) Operation : Expression _ "-" Expression
|
|
33) Operation : Expression _ "<=" Expression
|
|
34) Operation : Expression _ "<" Expression
|
|
35) Operation : Expression _ ">" Expression
|
|
36) Operation : Expression _ ">=" Expression
|
|
37) Operation : Expression _ "==" Expression
|
|
38) Operation : Expression _ "!=" Expression
|
|
39) Operation : Expression _ IS Expression
|
|
40) Operation : Expression _ AINT Expression
|
|
41) Operation : Expression _ "&&" Expression
|
|
42) Operation : Expression _ "||" Expression
|
|
43) Operation : Expression _ AND Expression
|
|
44) Operation : Expression _ OR Expression
|
|
45) Operation : Expression _ "-=" Expression
|
|
46) Operation : Expression _ "+=" Expression
|
|
47) Operation : Expression _ "/=" Expression
|
|
48) Operation : Expression _ "*=" Expression
|
|
70) If : IF Expression THEN Expression ELSE Expression _ "."
|
|
|
|
"*" shift, and go to state 58
|
|
"/" shift, and go to state 60
|
|
"%" shift, and go to state 62
|
|
"+" shift, and go to state 64
|
|
"-" shift, and go to state 66
|
|
"<=" shift, and go to state 47
|
|
"<" shift, and go to state 49
|
|
">" shift, and go to state 51
|
|
">=" shift, and go to state 53
|
|
"==" shift, and go to state 55
|
|
"!=" shift, and go to state 56
|
|
IS shift, and go to state 57
|
|
AINT shift, and go to state 59
|
|
"&&" shift, and go to state 61
|
|
"||" shift, and go to state 63
|
|
AND shift, and go to state 65
|
|
OR shift, and go to state 46
|
|
"-=" shift, and go to state 48
|
|
"+=" shift, and go to state 50
|
|
"/=" shift, and go to state 52
|
|
"*=" shift, and go to state 54
|
|
"." shift, and go to state 125
|
|
|
|
|
|
state 124
|
|
|
|
71) If : IF Expression Terminator Expressions Terminator ELSE _ Expressions "."
|
|
|
|
IF shift, and go to state 5
|
|
NUMBER shift, and go to state 14
|
|
STRING shift, and go to state 17
|
|
TRUE shift, and go to state 21
|
|
FALSE shift, and go to state 24
|
|
NULL shift, and go to state 28
|
|
IDENTIFIER shift, and go to state 2
|
|
NOT shift, and go to state 9
|
|
"!" shift, and go to state 11
|
|
"-" shift, and go to state 27
|
|
"\n" shift, and go to state 12
|
|
";" shift, and go to state 15
|
|
"=>" shift, and go to state 20
|
|
"=>" [reduce using rule 51 (ParamList)]
|
|
"{" shift, and go to state 1
|
|
"[" shift, and go to state 8
|
|
$default reduce using rule 51 (ParamList)
|
|
|
|
Literal go to state 3
|
|
Variable go to state 4
|
|
Call go to state 6
|
|
Assign go to state 7
|
|
Object go to state 10
|
|
Code go to state 13
|
|
Operation go to state 16
|
|
Array go to state 18
|
|
Expressions go to state 126
|
|
If go to state 22
|
|
Expression go to state 25
|
|
Terminator go to state 29
|
|
ParamList go to state 26
|
|
|
|
state 125
|
|
|
|
70) If : IF Expression THEN Expression ELSE Expression "." _
|
|
|
|
$default reduce using rule 70 (If)
|
|
|
|
|
|
state 126
|
|
|
|
4) Expressions : Expressions _ Terminator Expression
|
|
5) Expressions : Expressions _ Terminator
|
|
71) If : IF Expression Terminator Expressions Terminator ELSE Expressions _ "."
|
|
|
|
"\n" shift, and go to state 12
|
|
";" shift, and go to state 15
|
|
"." shift, and go to state 127
|
|
|
|
Terminator go to state 45
|
|
|
|
state 127
|
|
|
|
71) If : IF Expression Terminator Expressions Terminator ELSE Expressions "." _
|
|
|
|
$default reduce using rule 71 (If)
|
|
|