forked from JavaTX/JavaCompilerCore
7694 lines
171 KiB
Plaintext
7694 lines
171 KiB
Plaintext
|
0 $accept : compilationunit $end
|
|||
|
|
|||
|
1 compilationunit : typedeclarations
|
|||
|
|
|||
|
2 packagedeclaration : PACKAGE name ';'
|
|||
|
|
|||
|
3 importdeclarations : importdeclaration
|
|||
|
4 | importdeclarations importdeclaration
|
|||
|
|
|||
|
5 importdeclaration : IMPORT importqualifiedname ';'
|
|||
|
|
|||
|
6 typedeclarations : typedeclaration
|
|||
|
7 | typedeclarations typedeclaration
|
|||
|
|
|||
|
8 name : qualifiedname
|
|||
|
9 | simplename
|
|||
|
|
|||
|
10 typedeclaration : classdeclaration
|
|||
|
|
|||
|
11 qualifiedname : name '.' IDENTIFIER
|
|||
|
|
|||
|
12 importqualifiedname : name '.' IDENTIFIER
|
|||
|
13 | name '.' '*'
|
|||
|
|
|||
|
14 simplename : IDENTIFIER
|
|||
|
|
|||
|
15 classdeclaration : CLASS classidentifier classbody
|
|||
|
16 | modifiers CLASS classidentifier classbody
|
|||
|
17 | CLASS classidentifier super classbody
|
|||
|
18 | modifiers CLASS classidentifier super classbody
|
|||
|
19 | CLASS classidentifier interfaces classbody
|
|||
|
20 | modifiers CLASS classidentifier interfaces classbody
|
|||
|
21 | CLASS classidentifier super interfaces classbody
|
|||
|
22 | modifiers CLASS classidentifier super interfaces classbody
|
|||
|
|
|||
|
23 interfaceidentifier : IDENTIFIER
|
|||
|
24 | IDENTIFIER '<' boundedClassParameters '>'
|
|||
|
|
|||
|
25 classidentifier : IDENTIFIER
|
|||
|
26 | IDENTIFIER '<' boundedClassParameters '>'
|
|||
|
|
|||
|
27 interfacedeclaration : INTERFACE interfaceidentifier interfacebody
|
|||
|
28 | modifiers INTERFACE interfaceidentifier interfacebody
|
|||
|
29 | INTERFACE interfaceidentifier extendsinterfaces interfacebody
|
|||
|
30 | modifiers INTERFACE interfaceidentifier extendsinterfaces interfacebody
|
|||
|
|
|||
|
31 paralist : IDENTIFIER
|
|||
|
32 | IDENTIFIER '<' paralist '>'
|
|||
|
33 | wildcardparameter
|
|||
|
34 | paralist ',' IDENTIFIER
|
|||
|
35 | paralist ',' IDENTIFIER '<' paralist '>'
|
|||
|
36 | paralist ',' wildcardparameter
|
|||
|
|
|||
|
37 wildcardparameter : '?'
|
|||
|
38 | '?' EXTENDS referencetype
|
|||
|
39 | '?' SUPER referencetype
|
|||
|
|
|||
|
40 classbody : '{' '}'
|
|||
|
41 | '{' classbodydeclarations '}'
|
|||
|
|
|||
|
42 modifiers : modifier
|
|||
|
43 | modifiers modifier
|
|||
|
|
|||
|
44 super : EXTENDS classtype
|
|||
|
|
|||
|
45 interfaces : IMPLEMENTS interfacetype
|
|||
|
46 | interfaces ',' interfacetype
|
|||
|
|
|||
|
47 interfacebody : '{' '}'
|
|||
|
48 | '{' interfacememberdeclarations '}'
|
|||
|
|
|||
|
49 extendsinterfaces : EXTENDS interfacetype
|
|||
|
50 | extendsinterfaces ',' interfacetype
|
|||
|
|
|||
|
51 classbodydeclarations : classbodydeclaration
|
|||
|
52 | classbodydeclarations classbodydeclaration
|
|||
|
|
|||
|
53 modifier : PUBLIC
|
|||
|
54 | PROTECTED
|
|||
|
55 | PRIVATE
|
|||
|
56 | STATIC
|
|||
|
57 | ABSTRACT
|
|||
|
58 | FINAL
|
|||
|
|
|||
|
59 classtype : classorinterfacetype
|
|||
|
|
|||
|
60 interfacememberdeclarations : interfacememberdeclaration
|
|||
|
61 | interfacememberdeclarations interfacememberdeclaration
|
|||
|
|
|||
|
62 interfacetype : classorinterfacetype
|
|||
|
|
|||
|
63 classbodydeclaration : classmemberdeclaration
|
|||
|
64 | staticinitializer
|
|||
|
65 | constructordeclaration
|
|||
|
|
|||
|
66 classorinterfacetype : simplename parameter
|
|||
|
|
|||
|
67 parameter :
|
|||
|
68 | '<' paralist '>'
|
|||
|
|
|||
|
69 interfacememberdeclaration : constantdeclaration
|
|||
|
70 | abstractmethoddeclaration
|
|||
|
|
|||
|
71 classmemberdeclaration : fielddeclaration
|
|||
|
72 | methoddeclaration
|
|||
|
|
|||
|
73 staticinitializer : STATIC block
|
|||
|
|
|||
|
74 constructordeclaration : constructordeclarator constructorbody
|
|||
|
75 | modifiers constructordeclarator constructorbody
|
|||
|
|
|||
|
76 constantdeclaration : modifiers type IDENTIFIER '=' expression ';'
|
|||
|
|
|||
|
77 abstractmethoddeclaration : methodheader ';'
|
|||
|
|
|||
|
78 fielddeclarator : variabledeclarator '=' expression
|
|||
|
|
|||
|
79 fielddeclaration : fielddeclarator ';'
|
|||
|
80 | type fielddeclarator
|
|||
|
81 | variabledeclarators ';'
|
|||
|
82 | type variabledeclarators ';'
|
|||
|
83 | modifiers type variabledeclarators ';'
|
|||
|
|
|||
|
84 methoddeclaration : methodheader methodbody
|
|||
|
|
|||
|
85 block : '{' '}'
|
|||
|
86 | '{' blockstatements '}'
|
|||
|
|
|||
|
87 constructordeclarator : simplename '(' ')'
|
|||
|
88 | simplename '(' formalparameterlist ')'
|
|||
|
|
|||
|
89 constructorbody : '{' '}'
|
|||
|
90 | '{' explicitconstructorinvocation '}'
|
|||
|
91 | '{' blockstatements '}'
|
|||
|
92 | '{' explicitconstructorinvocation blockstatements '}'
|
|||
|
|
|||
|
93 throws : THROWS classtypelist
|
|||
|
|
|||
|
94 boundedClassParameter : boundedMethodParameter
|
|||
|
|
|||
|
95 boundedClassParameters : boundedClassParameter
|
|||
|
96 | boundedClassParameters ',' boundedClassParameter
|
|||
|
|
|||
|
97 boundedMethodParameter : IDENTIFIER
|
|||
|
98 | IDENTIFIER EXTENDS boundedclassidentifierlist
|
|||
|
|
|||
|
99 boundedclassidentifierlist : referencetype
|
|||
|
100 | boundedclassidentifierlist '&' referencetype
|
|||
|
|
|||
|
101 boundedMethodParameters : boundedMethodParameter
|
|||
|
102 | boundedMethodParameters ',' boundedMethodParameter
|
|||
|
|
|||
|
103 methodheader : '<' boundedMethodParameters '>' type methoddeclarator
|
|||
|
104 | type methoddeclarator
|
|||
|
105 | modifiers type methoddeclarator
|
|||
|
106 | modifiers '<' boundedMethodParameters '>' type methoddeclarator
|
|||
|
107 | type methoddeclarator throws
|
|||
|
108 | '<' boundedMethodParameters '>' type methoddeclarator throws
|
|||
|
109 | modifiers type methoddeclarator throws
|
|||
|
110 | modifiers '<' boundedMethodParameters '>' type methoddeclarator throws
|
|||
|
111 | VOID methoddeclarator
|
|||
|
112 | modifiers VOID methoddeclarator
|
|||
|
113 | VOID methoddeclarator throws
|
|||
|
114 | modifiers VOID methoddeclarator throws
|
|||
|
115 | '<' boundedMethodParameters '>' VOID methoddeclarator
|
|||
|
116 | modifiers '<' boundedMethodParameters '>' VOID methoddeclarator
|
|||
|
117 | '<' boundedMethodParameters '>' VOID methoddeclarator throws
|
|||
|
118 | modifiers '<' boundedMethodParameters '>' VOID methoddeclarator throws
|
|||
|
119 | methoddeclarator
|
|||
|
120 | '<' boundedMethodParameters '>' methoddeclarator
|
|||
|
121 | modifiers methoddeclarator
|
|||
|
122 | methoddeclarator throws
|
|||
|
123 | modifiers methoddeclarator throws
|
|||
|
|
|||
|
124 type : primitivetype
|
|||
|
125 | primitivetype '[' ']'
|
|||
|
126 | referencetype
|
|||
|
127 | referencetype '[' ']'
|
|||
|
|
|||
|
128 variabledeclarators : variabledeclarator
|
|||
|
129 | variabledeclarators ',' variabledeclarator
|
|||
|
|
|||
|
130 methodbody : block
|
|||
|
|
|||
|
131 blockstatements : blockstatement
|
|||
|
132 | blockstatements blockstatement
|
|||
|
|
|||
|
133 formalparameterlist : formalparameter
|
|||
|
134 | formalparameterlist ',' formalparameter
|
|||
|
|
|||
|
135 explicitconstructorinvocation : THIS '(' ')' ';'
|
|||
|
136 | THIS '(' argumentlist ')' ';'
|
|||
|
|
|||
|
137 classtypelist : classtype
|
|||
|
138 | classtypelist ',' classtype
|
|||
|
|
|||
|
139 methoddeclarator : IDENTIFIER '(' ')'
|
|||
|
140 | IDENTIFIER '(' formalparameterlist ')'
|
|||
|
|
|||
|
141 primitivetype : BOOLEAN
|
|||
|
142 | numerictype
|
|||
|
|
|||
|
143 referencetype : classorinterfacetype
|
|||
|
|
|||
|
144 variabledeclarator : variabledeclaratorid
|
|||
|
|
|||
|
145 blockstatement : localvariabledeclarationstatement
|
|||
|
146 | statement
|
|||
|
|
|||
|
147 formalparameter : type variabledeclaratorid
|
|||
|
148 | variabledeclaratorid
|
|||
|
|
|||
|
149 argumentlist : expression
|
|||
|
150 | argumentlist ',' expression
|
|||
|
|
|||
|
151 numerictype : integraltype
|
|||
|
|
|||
|
152 variabledeclaratorid : IDENTIFIER
|
|||
|
|
|||
|
153 variableinitializer : expression
|
|||
|
|
|||
|
154 localvariabledeclarationstatement : localvariabledeclaration ';'
|
|||
|
|
|||
|
155 statement : statementwithouttrailingsubstatement
|
|||
|
156 | ifthenstatement
|
|||
|
157 | ifthenelsestatement
|
|||
|
158 | whilestatement
|
|||
|
159 | forstatement
|
|||
|
|
|||
|
160 expression : assignmentexpression
|
|||
|
161 | classinstancecreationexpression
|
|||
|
|
|||
|
162 integraltype : INT
|
|||
|
163 | CHAR
|
|||
|
|
|||
|
164 localvariabledeclaration : type variabledeclarators
|
|||
|
165 | variabledeclarators
|
|||
|
|
|||
|
166 statementwithouttrailingsubstatement : block
|
|||
|
167 | emptystatement
|
|||
|
168 | expressionstatement
|
|||
|
169 | returnstatement
|
|||
|
|
|||
|
170 ifthenstatement : IF '(' expression ')' statement
|
|||
|
|
|||
|
171 ifthenelsestatement : IF '(' expression ')' statementnoshortif ELSE statement
|
|||
|
|
|||
|
172 whilestatement : WHILE '(' expression ')' statement
|
|||
|
|
|||
|
173 forstatement : FOR '(' expression ';' expression ';' expression ')' statement
|
|||
|
174 | FOR '(' expression ';' expression ';' ')' statement
|
|||
|
175 | FOR '(' expression ';' ';' expression ')' statement
|
|||
|
176 | FOR '(' ';' expression ';' expression ')' statement
|
|||
|
177 | FOR '(' expression ';' ';' ')' statement
|
|||
|
178 | FOR '(' ';' expression ';' ')' statement
|
|||
|
179 | FOR '(' ';' ';' expression ')' statement
|
|||
|
180 | FOR '(' ';' ';' ')' statement
|
|||
|
|
|||
|
181 assignmentexpression : conditionalexpression
|
|||
|
182 | assignment
|
|||
|
|
|||
|
183 emptystatement : ';'
|
|||
|
|
|||
|
184 expressionstatement : statementexpression ';'
|
|||
|
|
|||
|
185 returnstatement : RETURN ';'
|
|||
|
186 | RETURN expression ';'
|
|||
|
|
|||
|
187 statementnoshortif : statementwithouttrailingsubstatement
|
|||
|
188 | ifthenelsestatementnoshortif
|
|||
|
189 | whilestatementnoshortif
|
|||
|
|
|||
|
190 conditionalexpression : conditionalorexpression
|
|||
|
|
|||
|
191 assignment : lefthandside assignmentoperator assignmentexpression
|
|||
|
192 | lefthandside assignmentoperator classinstancecreationexpression
|
|||
|
|
|||
|
193 statementexpression : assignment
|
|||
|
194 | preincrementexpression
|
|||
|
195 | predecrementexpression
|
|||
|
196 | postincrementexpression
|
|||
|
197 | postdecrementexpression
|
|||
|
198 | methodinvocation
|
|||
|
|
|||
|
199 ifthenelsestatementnoshortif : IF '(' expression ')' statementnoshortif ELSE statementnoshortif
|
|||
|
|
|||
|
200 whilestatementnoshortif : WHILE '(' expression ')' statementnoshortif
|
|||
|
|
|||
|
201 conditionalorexpression : conditionalandexpression
|
|||
|
202 | conditionalorexpression LOGICALOR conditionalandexpression
|
|||
|
|
|||
|
203 lambdaassignmentoperator : LAMBDAASSIGNMENT
|
|||
|
|
|||
|
204 lambdabody : block
|
|||
|
205 | expression
|
|||
|
|
|||
|
206 lambdaexpressionparameter : '(' ')'
|
|||
|
207 | '(' formalparameterlist ')'
|
|||
|
|
|||
|
208 lambdaexpression : lambdaexpressionparameter lambdaassignmentoperator lambdabody
|
|||
|
|
|||
|
209 lefthandside : name
|
|||
|
|
|||
|
210 assignmentoperator : '='
|
|||
|
211 | TIMESEQUAL
|
|||
|
212 | DIVIDEEQUAL
|
|||
|
213 | MODULOEQUAL
|
|||
|
214 | PLUSEQUAL
|
|||
|
215 | MINUSEQUAL
|
|||
|
|
|||
|
216 preincrementexpression : INCREMENT unaryexpression
|
|||
|
|
|||
|
217 predecrementexpression : DECREMENT unaryexpression
|
|||
|
|
|||
|
218 postincrementexpression : postfixexpression INCREMENT
|
|||
|
|
|||
|
219 postdecrementexpression : postfixexpression DECREMENT
|
|||
|
|
|||
|
220 methodinvocation : name '(' ')'
|
|||
|
221 | name '(' argumentlist ')'
|
|||
|
222 | primary '.' IDENTIFIER '(' ')'
|
|||
|
223 | primary '.' IDENTIFIER '(' argumentlist ')'
|
|||
|
|
|||
|
224 classinstancecreationexpression : NEW classtype '(' ')'
|
|||
|
225 | NEW classtype '(' argumentlist ')'
|
|||
|
|
|||
|
226 conditionalandexpression : inclusiveorexpression
|
|||
|
227 | conditionalandexpression LOGICALAND inclusiveorexpression
|
|||
|
|
|||
|
228 unaryexpression : preincrementexpression
|
|||
|
229 | predecrementexpression
|
|||
|
230 | '+' unaryexpression
|
|||
|
231 | '-' unaryexpression
|
|||
|
232 | unaryexpressionnotplusminus
|
|||
|
|
|||
|
233 postfixexpression : primary
|
|||
|
234 | name
|
|||
|
235 | postincrementexpression
|
|||
|
236 | postdecrementexpression
|
|||
|
|
|||
|
237 primary : primarynonewarray
|
|||
|
|
|||
|
238 inclusiveorexpression : exclusiveorexpression
|
|||
|
239 | inclusiveorexpression '|' exclusiveorexpression
|
|||
|
|
|||
|
240 primarynonewarray : literal
|
|||
|
241 | THIS
|
|||
|
242 | methodinvocation
|
|||
|
243 | lambdaexpression
|
|||
|
|
|||
|
244 unaryexpressionnotplusminus : postfixexpression
|
|||
|
245 | '!' unaryexpression
|
|||
|
246 | castexpression
|
|||
|
|
|||
|
247 exclusiveorexpression : andexpression
|
|||
|
248 | exclusiveorexpression '^' andexpression
|
|||
|
|
|||
|
249 literal : INTLITERAL
|
|||
|
250 | BOOLLITERAL
|
|||
|
251 | CHARLITERAL
|
|||
|
252 | STRINGLITERAL
|
|||
|
253 | LONGLITERAL
|
|||
|
254 | FLOATLITERAL
|
|||
|
255 | DOUBLELITERAL
|
|||
|
256 | JNULL
|
|||
|
|
|||
|
257 castexpression : '(' primitivetype ')' unaryexpression
|
|||
|
|
|||
|
258 andexpression : equalityexpression
|
|||
|
259 | andexpression '&' equalityexpression
|
|||
|
|
|||
|
260 equalityexpression : relationalexpression
|
|||
|
261 | equalityexpression EQUAL relationalexpression
|
|||
|
262 | equalityexpression NOTEQUAL relationalexpression
|
|||
|
|
|||
|
263 relationalexpression : shiftexpression
|
|||
|
264 | relationalexpression '<' shiftexpression
|
|||
|
265 | relationalexpression '>' shiftexpression
|
|||
|
266 | relationalexpression LESSEQUAL shiftexpression
|
|||
|
267 | relationalexpression GREATEREQUAL shiftexpression
|
|||
|
268 | relationalexpression INSTANCEOF referencetype
|
|||
|
|
|||
|
269 shiftexpression : additiveexpression
|
|||
|
|
|||
|
270 additiveexpression : multiplicativeexpression
|
|||
|
271 | additiveexpression '+' multiplicativeexpression
|
|||
|
272 | additiveexpression '-' multiplicativeexpression
|
|||
|
|
|||
|
273 multiplicativeexpression : unaryexpression
|
|||
|
274 | multiplicativeexpression '*' unaryexpression
|
|||
|
275 | multiplicativeexpression '/' unaryexpression
|
|||
|
276 | multiplicativeexpression '%' unaryexpression
|
|||
|
|
|||
|
state 0
|
|||
|
$accept : . compilationunit $end (0)
|
|||
|
|
|||
|
ABSTRACT shift 1
|
|||
|
CLASS shift 2
|
|||
|
FINAL shift 3
|
|||
|
PRIVATE shift 4
|
|||
|
PROTECTED shift 5
|
|||
|
PUBLIC shift 6
|
|||
|
STATIC shift 7
|
|||
|
. error
|
|||
|
|
|||
|
compilationunit goto 8
|
|||
|
classdeclaration goto 9
|
|||
|
modifiers goto 10
|
|||
|
modifier goto 11
|
|||
|
typedeclarations goto 12
|
|||
|
typedeclaration goto 13
|
|||
|
|
|||
|
|
|||
|
state 1
|
|||
|
modifier : ABSTRACT . (57)
|
|||
|
|
|||
|
. reduce 57
|
|||
|
|
|||
|
|
|||
|
state 2
|
|||
|
classdeclaration : CLASS . classidentifier classbody (15)
|
|||
|
classdeclaration : CLASS . classidentifier super classbody (17)
|
|||
|
classdeclaration : CLASS . classidentifier interfaces classbody (19)
|
|||
|
classdeclaration : CLASS . classidentifier super interfaces classbody (21)
|
|||
|
|
|||
|
IDENTIFIER shift 14
|
|||
|
. error
|
|||
|
|
|||
|
classidentifier goto 15
|
|||
|
|
|||
|
|
|||
|
state 3
|
|||
|
modifier : FINAL . (58)
|
|||
|
|
|||
|
. reduce 58
|
|||
|
|
|||
|
|
|||
|
state 4
|
|||
|
modifier : PRIVATE . (55)
|
|||
|
|
|||
|
. reduce 55
|
|||
|
|
|||
|
|
|||
|
state 5
|
|||
|
modifier : PROTECTED . (54)
|
|||
|
|
|||
|
. reduce 54
|
|||
|
|
|||
|
|
|||
|
state 6
|
|||
|
modifier : PUBLIC . (53)
|
|||
|
|
|||
|
. reduce 53
|
|||
|
|
|||
|
|
|||
|
state 7
|
|||
|
modifier : STATIC . (56)
|
|||
|
|
|||
|
. reduce 56
|
|||
|
|
|||
|
|
|||
|
state 8
|
|||
|
$accept : compilationunit . $end (0)
|
|||
|
|
|||
|
$end accept
|
|||
|
|
|||
|
|
|||
|
state 9
|
|||
|
typedeclaration : classdeclaration . (10)
|
|||
|
|
|||
|
. reduce 10
|
|||
|
|
|||
|
|
|||
|
state 10
|
|||
|
classdeclaration : modifiers . CLASS classidentifier classbody (16)
|
|||
|
classdeclaration : modifiers . CLASS classidentifier super classbody (18)
|
|||
|
classdeclaration : modifiers . CLASS classidentifier interfaces classbody (20)
|
|||
|
classdeclaration : modifiers . CLASS classidentifier super interfaces classbody (22)
|
|||
|
modifiers : modifiers . modifier (43)
|
|||
|
|
|||
|
ABSTRACT shift 1
|
|||
|
CLASS shift 16
|
|||
|
FINAL shift 3
|
|||
|
PRIVATE shift 4
|
|||
|
PROTECTED shift 5
|
|||
|
PUBLIC shift 6
|
|||
|
STATIC shift 7
|
|||
|
. error
|
|||
|
|
|||
|
modifier goto 17
|
|||
|
|
|||
|
|
|||
|
state 11
|
|||
|
modifiers : modifier . (42)
|
|||
|
|
|||
|
. reduce 42
|
|||
|
|
|||
|
|
|||
|
state 12
|
|||
|
compilationunit : typedeclarations . (1)
|
|||
|
typedeclarations : typedeclarations . typedeclaration (7)
|
|||
|
|
|||
|
ABSTRACT shift 1
|
|||
|
CLASS shift 2
|
|||
|
FINAL shift 3
|
|||
|
PRIVATE shift 4
|
|||
|
PROTECTED shift 5
|
|||
|
PUBLIC shift 6
|
|||
|
STATIC shift 7
|
|||
|
$end reduce 1
|
|||
|
|
|||
|
classdeclaration goto 9
|
|||
|
modifiers goto 10
|
|||
|
modifier goto 11
|
|||
|
typedeclaration goto 18
|
|||
|
|
|||
|
|
|||
|
state 13
|
|||
|
typedeclarations : typedeclaration . (6)
|
|||
|
|
|||
|
. reduce 6
|
|||
|
|
|||
|
|
|||
|
state 14
|
|||
|
classidentifier : IDENTIFIER . (25)
|
|||
|
classidentifier : IDENTIFIER . '<' boundedClassParameters '>' (26)
|
|||
|
|
|||
|
'<' shift 19
|
|||
|
EXTENDS reduce 25
|
|||
|
IMPLEMENTS reduce 25
|
|||
|
'{' reduce 25
|
|||
|
|
|||
|
|
|||
|
state 15
|
|||
|
classdeclaration : CLASS classidentifier . classbody (15)
|
|||
|
classdeclaration : CLASS classidentifier . super classbody (17)
|
|||
|
classdeclaration : CLASS classidentifier . interfaces classbody (19)
|
|||
|
classdeclaration : CLASS classidentifier . super interfaces classbody (21)
|
|||
|
|
|||
|
EXTENDS shift 20
|
|||
|
IMPLEMENTS shift 21
|
|||
|
'{' shift 22
|
|||
|
. error
|
|||
|
|
|||
|
classbody goto 23
|
|||
|
super goto 24
|
|||
|
interfaces goto 25
|
|||
|
|
|||
|
|
|||
|
state 16
|
|||
|
classdeclaration : modifiers CLASS . classidentifier classbody (16)
|
|||
|
classdeclaration : modifiers CLASS . classidentifier super classbody (18)
|
|||
|
classdeclaration : modifiers CLASS . classidentifier interfaces classbody (20)
|
|||
|
classdeclaration : modifiers CLASS . classidentifier super interfaces classbody (22)
|
|||
|
|
|||
|
IDENTIFIER shift 14
|
|||
|
. error
|
|||
|
|
|||
|
classidentifier goto 26
|
|||
|
|
|||
|
|
|||
|
state 17
|
|||
|
modifiers : modifiers modifier . (43)
|
|||
|
|
|||
|
. reduce 43
|
|||
|
|
|||
|
|
|||
|
state 18
|
|||
|
typedeclarations : typedeclarations typedeclaration . (7)
|
|||
|
|
|||
|
. reduce 7
|
|||
|
|
|||
|
|
|||
|
state 19
|
|||
|
classidentifier : IDENTIFIER '<' . boundedClassParameters '>' (26)
|
|||
|
|
|||
|
IDENTIFIER shift 27
|
|||
|
. error
|
|||
|
|
|||
|
boundedMethodParameter goto 28
|
|||
|
boundedClassParameter goto 29
|
|||
|
boundedClassParameters goto 30
|
|||
|
|
|||
|
|
|||
|
state 20
|
|||
|
super : EXTENDS . classtype (44)
|
|||
|
|
|||
|
IDENTIFIER shift 31
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 32
|
|||
|
classtype goto 33
|
|||
|
classorinterfacetype goto 34
|
|||
|
|
|||
|
|
|||
|
state 21
|
|||
|
interfaces : IMPLEMENTS . interfacetype (45)
|
|||
|
|
|||
|
IDENTIFIER shift 31
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 32
|
|||
|
classorinterfacetype goto 35
|
|||
|
interfacetype goto 36
|
|||
|
|
|||
|
|
|||
|
state 22
|
|||
|
classbody : '{' . '}' (40)
|
|||
|
classbody : '{' . classbodydeclarations '}' (41)
|
|||
|
|
|||
|
ABSTRACT shift 1
|
|||
|
BOOLEAN shift 37
|
|||
|
CHAR shift 38
|
|||
|
FINAL shift 3
|
|||
|
INT shift 39
|
|||
|
PRIVATE shift 4
|
|||
|
PROTECTED shift 5
|
|||
|
PUBLIC shift 6
|
|||
|
STATIC shift 40
|
|||
|
VOID shift 41
|
|||
|
IDENTIFIER shift 42
|
|||
|
'<' shift 43
|
|||
|
'}' shift 44
|
|||
|
. error
|
|||
|
|
|||
|
fielddeclaration goto 45
|
|||
|
methodheader goto 46
|
|||
|
methoddeclaration goto 47
|
|||
|
methoddeclarator goto 48
|
|||
|
classbodydeclarations goto 49
|
|||
|
classbodydeclaration goto 50
|
|||
|
classmemberdeclaration goto 51
|
|||
|
variabledeclarators goto 52
|
|||
|
fielddeclarator goto 53
|
|||
|
variabledeclarator goto 54
|
|||
|
variabledeclaratorid goto 55
|
|||
|
simplename goto 56
|
|||
|
classorinterfacetype goto 57
|
|||
|
integraltype goto 58
|
|||
|
numerictype goto 59
|
|||
|
primitivetype goto 60
|
|||
|
referencetype goto 61
|
|||
|
type goto 62
|
|||
|
modifiers goto 63
|
|||
|
modifier goto 11
|
|||
|
constructordeclaration goto 64
|
|||
|
constructordeclarator goto 65
|
|||
|
staticinitializer goto 66
|
|||
|
|
|||
|
|
|||
|
state 23
|
|||
|
classdeclaration : CLASS classidentifier classbody . (15)
|
|||
|
|
|||
|
. reduce 15
|
|||
|
|
|||
|
|
|||
|
state 24
|
|||
|
classdeclaration : CLASS classidentifier super . classbody (17)
|
|||
|
classdeclaration : CLASS classidentifier super . interfaces classbody (21)
|
|||
|
|
|||
|
IMPLEMENTS shift 21
|
|||
|
'{' shift 22
|
|||
|
. error
|
|||
|
|
|||
|
classbody goto 67
|
|||
|
interfaces goto 68
|
|||
|
|
|||
|
|
|||
|
state 25
|
|||
|
classdeclaration : CLASS classidentifier interfaces . classbody (19)
|
|||
|
interfaces : interfaces . ',' interfacetype (46)
|
|||
|
|
|||
|
',' shift 69
|
|||
|
'{' shift 22
|
|||
|
. error
|
|||
|
|
|||
|
classbody goto 70
|
|||
|
|
|||
|
|
|||
|
state 26
|
|||
|
classdeclaration : modifiers CLASS classidentifier . classbody (16)
|
|||
|
classdeclaration : modifiers CLASS classidentifier . super classbody (18)
|
|||
|
classdeclaration : modifiers CLASS classidentifier . interfaces classbody (20)
|
|||
|
classdeclaration : modifiers CLASS classidentifier . super interfaces classbody (22)
|
|||
|
|
|||
|
EXTENDS shift 20
|
|||
|
IMPLEMENTS shift 21
|
|||
|
'{' shift 22
|
|||
|
. error
|
|||
|
|
|||
|
classbody goto 71
|
|||
|
super goto 72
|
|||
|
interfaces goto 73
|
|||
|
|
|||
|
|
|||
|
state 27
|
|||
|
boundedMethodParameter : IDENTIFIER . (97)
|
|||
|
boundedMethodParameter : IDENTIFIER . EXTENDS boundedclassidentifierlist (98)
|
|||
|
|
|||
|
EXTENDS shift 74
|
|||
|
',' reduce 97
|
|||
|
'>' reduce 97
|
|||
|
|
|||
|
|
|||
|
state 28
|
|||
|
boundedClassParameter : boundedMethodParameter . (94)
|
|||
|
|
|||
|
. reduce 94
|
|||
|
|
|||
|
|
|||
|
state 29
|
|||
|
boundedClassParameters : boundedClassParameter . (95)
|
|||
|
|
|||
|
. reduce 95
|
|||
|
|
|||
|
|
|||
|
state 30
|
|||
|
classidentifier : IDENTIFIER '<' boundedClassParameters . '>' (26)
|
|||
|
boundedClassParameters : boundedClassParameters . ',' boundedClassParameter (96)
|
|||
|
|
|||
|
',' shift 75
|
|||
|
'>' shift 76
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 31
|
|||
|
simplename : IDENTIFIER . (14)
|
|||
|
|
|||
|
. reduce 14
|
|||
|
|
|||
|
|
|||
|
32: shift/reduce conflict (shift 77, reduce 67) on '<'
|
|||
|
state 32
|
|||
|
classorinterfacetype : simplename . parameter (66)
|
|||
|
parameter : . (67)
|
|||
|
|
|||
|
'<' shift 77
|
|||
|
ABSTRACT reduce 67
|
|||
|
BOOLEAN reduce 67
|
|||
|
CHAR reduce 67
|
|||
|
FINAL reduce 67
|
|||
|
INSTANCEOF reduce 67
|
|||
|
INT reduce 67
|
|||
|
PRIVATE reduce 67
|
|||
|
PROTECTED reduce 67
|
|||
|
PUBLIC reduce 67
|
|||
|
IMPLEMENTS reduce 67
|
|||
|
STATIC reduce 67
|
|||
|
VOID reduce 67
|
|||
|
IDENTIFIER reduce 67
|
|||
|
EQUAL reduce 67
|
|||
|
LESSEQUAL reduce 67
|
|||
|
GREATEREQUAL reduce 67
|
|||
|
NOTEQUAL reduce 67
|
|||
|
LOGICALOR reduce 67
|
|||
|
LOGICALAND reduce 67
|
|||
|
INCREMENT reduce 67
|
|||
|
DECREMENT reduce 67
|
|||
|
',' reduce 67
|
|||
|
';' reduce 67
|
|||
|
'.' reduce 67
|
|||
|
'*' reduce 67
|
|||
|
'>' reduce 67
|
|||
|
'{' reduce 67
|
|||
|
'}' reduce 67
|
|||
|
'(' reduce 67
|
|||
|
')' reduce 67
|
|||
|
'&' reduce 67
|
|||
|
'[' reduce 67
|
|||
|
'+' reduce 67
|
|||
|
'-' reduce 67
|
|||
|
'|' reduce 67
|
|||
|
'^' reduce 67
|
|||
|
'/' reduce 67
|
|||
|
'%' reduce 67
|
|||
|
|
|||
|
parameter goto 78
|
|||
|
|
|||
|
|
|||
|
state 33
|
|||
|
super : EXTENDS classtype . (44)
|
|||
|
|
|||
|
. reduce 44
|
|||
|
|
|||
|
|
|||
|
state 34
|
|||
|
classtype : classorinterfacetype . (59)
|
|||
|
|
|||
|
. reduce 59
|
|||
|
|
|||
|
|
|||
|
state 35
|
|||
|
interfacetype : classorinterfacetype . (62)
|
|||
|
|
|||
|
. reduce 62
|
|||
|
|
|||
|
|
|||
|
state 36
|
|||
|
interfaces : IMPLEMENTS interfacetype . (45)
|
|||
|
|
|||
|
. reduce 45
|
|||
|
|
|||
|
|
|||
|
state 37
|
|||
|
primitivetype : BOOLEAN . (141)
|
|||
|
|
|||
|
. reduce 141
|
|||
|
|
|||
|
|
|||
|
state 38
|
|||
|
integraltype : CHAR . (163)
|
|||
|
|
|||
|
. reduce 163
|
|||
|
|
|||
|
|
|||
|
state 39
|
|||
|
integraltype : INT . (162)
|
|||
|
|
|||
|
. reduce 162
|
|||
|
|
|||
|
|
|||
|
state 40
|
|||
|
modifier : STATIC . (56)
|
|||
|
staticinitializer : STATIC . block (73)
|
|||
|
|
|||
|
'{' shift 79
|
|||
|
ABSTRACT reduce 56
|
|||
|
BOOLEAN reduce 56
|
|||
|
CHAR reduce 56
|
|||
|
FINAL reduce 56
|
|||
|
INT reduce 56
|
|||
|
PRIVATE reduce 56
|
|||
|
PROTECTED reduce 56
|
|||
|
PUBLIC reduce 56
|
|||
|
STATIC reduce 56
|
|||
|
VOID reduce 56
|
|||
|
IDENTIFIER reduce 56
|
|||
|
'<' reduce 56
|
|||
|
|
|||
|
block goto 80
|
|||
|
|
|||
|
|
|||
|
state 41
|
|||
|
methodheader : VOID . methoddeclarator (111)
|
|||
|
methodheader : VOID . methoddeclarator throws (113)
|
|||
|
|
|||
|
IDENTIFIER shift 81
|
|||
|
. error
|
|||
|
|
|||
|
methoddeclarator goto 82
|
|||
|
|
|||
|
|
|||
|
42: shift/reduce conflict (shift 83, reduce 14) on '('
|
|||
|
state 42
|
|||
|
simplename : IDENTIFIER . (14)
|
|||
|
methoddeclarator : IDENTIFIER . '(' ')' (139)
|
|||
|
methoddeclarator : IDENTIFIER . '(' formalparameterlist ')' (140)
|
|||
|
variabledeclaratorid : IDENTIFIER . (152)
|
|||
|
|
|||
|
'(' shift 83
|
|||
|
IDENTIFIER reduce 14
|
|||
|
',' reduce 152
|
|||
|
';' reduce 152
|
|||
|
'<' reduce 14
|
|||
|
'=' reduce 152
|
|||
|
'[' reduce 14
|
|||
|
|
|||
|
|
|||
|
state 43
|
|||
|
methodheader : '<' . boundedMethodParameters '>' type methoddeclarator (103)
|
|||
|
methodheader : '<' . boundedMethodParameters '>' type methoddeclarator throws (108)
|
|||
|
methodheader : '<' . boundedMethodParameters '>' VOID methoddeclarator (115)
|
|||
|
methodheader : '<' . boundedMethodParameters '>' VOID methoddeclarator throws (117)
|
|||
|
methodheader : '<' . boundedMethodParameters '>' methoddeclarator (120)
|
|||
|
|
|||
|
IDENTIFIER shift 27
|
|||
|
. error
|
|||
|
|
|||
|
boundedMethodParameter goto 84
|
|||
|
boundedMethodParameters goto 85
|
|||
|
|
|||
|
|
|||
|
state 44
|
|||
|
classbody : '{' '}' . (40)
|
|||
|
|
|||
|
. reduce 40
|
|||
|
|
|||
|
|
|||
|
state 45
|
|||
|
classmemberdeclaration : fielddeclaration . (71)
|
|||
|
|
|||
|
. reduce 71
|
|||
|
|
|||
|
|
|||
|
state 46
|
|||
|
methoddeclaration : methodheader . methodbody (84)
|
|||
|
|
|||
|
'{' shift 79
|
|||
|
. error
|
|||
|
|
|||
|
block goto 86
|
|||
|
methodbody goto 87
|
|||
|
|
|||
|
|
|||
|
state 47
|
|||
|
classmemberdeclaration : methoddeclaration . (72)
|
|||
|
|
|||
|
. reduce 72
|
|||
|
|
|||
|
|
|||
|
state 48
|
|||
|
methodheader : methoddeclarator . (119)
|
|||
|
methodheader : methoddeclarator . throws (122)
|
|||
|
|
|||
|
THROWS shift 88
|
|||
|
'{' reduce 119
|
|||
|
|
|||
|
throws goto 89
|
|||
|
|
|||
|
|
|||
|
state 49
|
|||
|
classbody : '{' classbodydeclarations . '}' (41)
|
|||
|
classbodydeclarations : classbodydeclarations . classbodydeclaration (52)
|
|||
|
|
|||
|
ABSTRACT shift 1
|
|||
|
BOOLEAN shift 37
|
|||
|
CHAR shift 38
|
|||
|
FINAL shift 3
|
|||
|
INT shift 39
|
|||
|
PRIVATE shift 4
|
|||
|
PROTECTED shift 5
|
|||
|
PUBLIC shift 6
|
|||
|
STATIC shift 40
|
|||
|
VOID shift 41
|
|||
|
IDENTIFIER shift 42
|
|||
|
'<' shift 43
|
|||
|
'}' shift 90
|
|||
|
. error
|
|||
|
|
|||
|
fielddeclaration goto 45
|
|||
|
methodheader goto 46
|
|||
|
methoddeclaration goto 47
|
|||
|
methoddeclarator goto 48
|
|||
|
classbodydeclaration goto 91
|
|||
|
classmemberdeclaration goto 51
|
|||
|
variabledeclarators goto 52
|
|||
|
fielddeclarator goto 53
|
|||
|
variabledeclarator goto 54
|
|||
|
variabledeclaratorid goto 55
|
|||
|
simplename goto 56
|
|||
|
classorinterfacetype goto 57
|
|||
|
integraltype goto 58
|
|||
|
numerictype goto 59
|
|||
|
primitivetype goto 60
|
|||
|
referencetype goto 61
|
|||
|
type goto 62
|
|||
|
modifiers goto 63
|
|||
|
modifier goto 11
|
|||
|
constructordeclaration goto 64
|
|||
|
constructordeclarator goto 65
|
|||
|
staticinitializer goto 66
|
|||
|
|
|||
|
|
|||
|
state 50
|
|||
|
classbodydeclarations : classbodydeclaration . (51)
|
|||
|
|
|||
|
. reduce 51
|
|||
|
|
|||
|
|
|||
|
state 51
|
|||
|
classbodydeclaration : classmemberdeclaration . (63)
|
|||
|
|
|||
|
. reduce 63
|
|||
|
|
|||
|
|
|||
|
state 52
|
|||
|
fielddeclaration : variabledeclarators . ';' (81)
|
|||
|
variabledeclarators : variabledeclarators . ',' variabledeclarator (129)
|
|||
|
|
|||
|
',' shift 92
|
|||
|
';' shift 93
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 53
|
|||
|
fielddeclaration : fielddeclarator . ';' (79)
|
|||
|
|
|||
|
';' shift 94
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 54
|
|||
|
fielddeclarator : variabledeclarator . '=' expression (78)
|
|||
|
variabledeclarators : variabledeclarator . (128)
|
|||
|
|
|||
|
'=' shift 95
|
|||
|
',' reduce 128
|
|||
|
';' reduce 128
|
|||
|
|
|||
|
|
|||
|
state 55
|
|||
|
variabledeclarator : variabledeclaratorid . (144)
|
|||
|
|
|||
|
. reduce 144
|
|||
|
|
|||
|
|
|||
|
state 56
|
|||
|
classorinterfacetype : simplename . parameter (66)
|
|||
|
constructordeclarator : simplename . '(' ')' (87)
|
|||
|
constructordeclarator : simplename . '(' formalparameterlist ')' (88)
|
|||
|
parameter : . (67)
|
|||
|
|
|||
|
'<' shift 77
|
|||
|
'(' shift 96
|
|||
|
IDENTIFIER reduce 67
|
|||
|
'[' reduce 67
|
|||
|
|
|||
|
parameter goto 78
|
|||
|
|
|||
|
|
|||
|
state 57
|
|||
|
referencetype : classorinterfacetype . (143)
|
|||
|
|
|||
|
. reduce 143
|
|||
|
|
|||
|
|
|||
|
state 58
|
|||
|
numerictype : integraltype . (151)
|
|||
|
|
|||
|
. reduce 151
|
|||
|
|
|||
|
|
|||
|
state 59
|
|||
|
primitivetype : numerictype . (142)
|
|||
|
|
|||
|
. reduce 142
|
|||
|
|
|||
|
|
|||
|
state 60
|
|||
|
type : primitivetype . (124)
|
|||
|
type : primitivetype . '[' ']' (125)
|
|||
|
|
|||
|
'[' shift 97
|
|||
|
IDENTIFIER reduce 124
|
|||
|
|
|||
|
|
|||
|
state 61
|
|||
|
type : referencetype . (126)
|
|||
|
type : referencetype . '[' ']' (127)
|
|||
|
|
|||
|
'[' shift 98
|
|||
|
IDENTIFIER reduce 126
|
|||
|
|
|||
|
|
|||
|
state 62
|
|||
|
fielddeclaration : type . fielddeclarator (80)
|
|||
|
fielddeclaration : type . variabledeclarators ';' (82)
|
|||
|
methodheader : type . methoddeclarator (104)
|
|||
|
methodheader : type . methoddeclarator throws (107)
|
|||
|
|
|||
|
IDENTIFIER shift 99
|
|||
|
. error
|
|||
|
|
|||
|
methoddeclarator goto 100
|
|||
|
variabledeclarators goto 101
|
|||
|
fielddeclarator goto 102
|
|||
|
variabledeclarator goto 54
|
|||
|
variabledeclaratorid goto 55
|
|||
|
|
|||
|
|
|||
|
state 63
|
|||
|
modifiers : modifiers . modifier (43)
|
|||
|
constructordeclaration : modifiers . constructordeclarator constructorbody (75)
|
|||
|
fielddeclaration : modifiers . type variabledeclarators ';' (83)
|
|||
|
methodheader : modifiers . type methoddeclarator (105)
|
|||
|
methodheader : modifiers . '<' boundedMethodParameters '>' type methoddeclarator (106)
|
|||
|
methodheader : modifiers . type methoddeclarator throws (109)
|
|||
|
methodheader : modifiers . '<' boundedMethodParameters '>' type methoddeclarator throws (110)
|
|||
|
methodheader : modifiers . VOID methoddeclarator (112)
|
|||
|
methodheader : modifiers . VOID methoddeclarator throws (114)
|
|||
|
methodheader : modifiers . '<' boundedMethodParameters '>' VOID methoddeclarator (116)
|
|||
|
methodheader : modifiers . '<' boundedMethodParameters '>' VOID methoddeclarator throws (118)
|
|||
|
methodheader : modifiers . methoddeclarator (121)
|
|||
|
methodheader : modifiers . methoddeclarator throws (123)
|
|||
|
|
|||
|
ABSTRACT shift 1
|
|||
|
BOOLEAN shift 37
|
|||
|
CHAR shift 38
|
|||
|
FINAL shift 3
|
|||
|
INT shift 39
|
|||
|
PRIVATE shift 4
|
|||
|
PROTECTED shift 5
|
|||
|
PUBLIC shift 6
|
|||
|
STATIC shift 7
|
|||
|
VOID shift 103
|
|||
|
IDENTIFIER shift 104
|
|||
|
'<' shift 105
|
|||
|
. error
|
|||
|
|
|||
|
methoddeclarator goto 106
|
|||
|
simplename goto 56
|
|||
|
classorinterfacetype goto 57
|
|||
|
integraltype goto 58
|
|||
|
numerictype goto 59
|
|||
|
primitivetype goto 60
|
|||
|
referencetype goto 61
|
|||
|
type goto 107
|
|||
|
modifier goto 17
|
|||
|
constructordeclarator goto 108
|
|||
|
|
|||
|
|
|||
|
state 64
|
|||
|
classbodydeclaration : constructordeclaration . (65)
|
|||
|
|
|||
|
. reduce 65
|
|||
|
|
|||
|
|
|||
|
state 65
|
|||
|
constructordeclaration : constructordeclarator . constructorbody (74)
|
|||
|
|
|||
|
'{' shift 109
|
|||
|
. error
|
|||
|
|
|||
|
constructorbody goto 110
|
|||
|
|
|||
|
|
|||
|
state 66
|
|||
|
classbodydeclaration : staticinitializer . (64)
|
|||
|
|
|||
|
. reduce 64
|
|||
|
|
|||
|
|
|||
|
state 67
|
|||
|
classdeclaration : CLASS classidentifier super classbody . (17)
|
|||
|
|
|||
|
. reduce 17
|
|||
|
|
|||
|
|
|||
|
state 68
|
|||
|
classdeclaration : CLASS classidentifier super interfaces . classbody (21)
|
|||
|
interfaces : interfaces . ',' interfacetype (46)
|
|||
|
|
|||
|
',' shift 69
|
|||
|
'{' shift 22
|
|||
|
. error
|
|||
|
|
|||
|
classbody goto 111
|
|||
|
|
|||
|
|
|||
|
state 69
|
|||
|
interfaces : interfaces ',' . interfacetype (46)
|
|||
|
|
|||
|
IDENTIFIER shift 31
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 32
|
|||
|
classorinterfacetype goto 35
|
|||
|
interfacetype goto 112
|
|||
|
|
|||
|
|
|||
|
state 70
|
|||
|
classdeclaration : CLASS classidentifier interfaces classbody . (19)
|
|||
|
|
|||
|
. reduce 19
|
|||
|
|
|||
|
|
|||
|
state 71
|
|||
|
classdeclaration : modifiers CLASS classidentifier classbody . (16)
|
|||
|
|
|||
|
. reduce 16
|
|||
|
|
|||
|
|
|||
|
state 72
|
|||
|
classdeclaration : modifiers CLASS classidentifier super . classbody (18)
|
|||
|
classdeclaration : modifiers CLASS classidentifier super . interfaces classbody (22)
|
|||
|
|
|||
|
IMPLEMENTS shift 21
|
|||
|
'{' shift 22
|
|||
|
. error
|
|||
|
|
|||
|
classbody goto 113
|
|||
|
interfaces goto 114
|
|||
|
|
|||
|
|
|||
|
state 73
|
|||
|
classdeclaration : modifiers CLASS classidentifier interfaces . classbody (20)
|
|||
|
interfaces : interfaces . ',' interfacetype (46)
|
|||
|
|
|||
|
',' shift 69
|
|||
|
'{' shift 22
|
|||
|
. error
|
|||
|
|
|||
|
classbody goto 115
|
|||
|
|
|||
|
|
|||
|
state 74
|
|||
|
boundedMethodParameter : IDENTIFIER EXTENDS . boundedclassidentifierlist (98)
|
|||
|
|
|||
|
IDENTIFIER shift 31
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 32
|
|||
|
classorinterfacetype goto 57
|
|||
|
referencetype goto 116
|
|||
|
boundedclassidentifierlist goto 117
|
|||
|
|
|||
|
|
|||
|
state 75
|
|||
|
boundedClassParameters : boundedClassParameters ',' . boundedClassParameter (96)
|
|||
|
|
|||
|
IDENTIFIER shift 27
|
|||
|
. error
|
|||
|
|
|||
|
boundedMethodParameter goto 28
|
|||
|
boundedClassParameter goto 118
|
|||
|
|
|||
|
|
|||
|
state 76
|
|||
|
classidentifier : IDENTIFIER '<' boundedClassParameters '>' . (26)
|
|||
|
|
|||
|
. reduce 26
|
|||
|
|
|||
|
|
|||
|
state 77
|
|||
|
parameter : '<' . paralist '>' (68)
|
|||
|
|
|||
|
IDENTIFIER shift 119
|
|||
|
'?' shift 120
|
|||
|
. error
|
|||
|
|
|||
|
paralist goto 121
|
|||
|
wildcardparameter goto 122
|
|||
|
|
|||
|
|
|||
|
state 78
|
|||
|
classorinterfacetype : simplename parameter . (66)
|
|||
|
|
|||
|
. reduce 66
|
|||
|
|
|||
|
|
|||
|
state 79
|
|||
|
block : '{' . '}' (85)
|
|||
|
block : '{' . blockstatements '}' (86)
|
|||
|
|
|||
|
BOOLEAN shift 37
|
|||
|
CHAR shift 38
|
|||
|
FOR shift 123
|
|||
|
IF shift 124
|
|||
|
INT shift 39
|
|||
|
RETURN shift 125
|
|||
|
THIS shift 126
|
|||
|
WHILE shift 127
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 136
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 139
|
|||
|
'{' shift 79
|
|||
|
'}' shift 140
|
|||
|
'(' shift 141
|
|||
|
. error
|
|||
|
|
|||
|
variabledeclarators goto 142
|
|||
|
variabledeclarator goto 143
|
|||
|
variabledeclaratorid goto 55
|
|||
|
simplename goto 144
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
classorinterfacetype goto 57
|
|||
|
integraltype goto 58
|
|||
|
numerictype goto 59
|
|||
|
primitivetype goto 60
|
|||
|
referencetype goto 61
|
|||
|
type goto 147
|
|||
|
block goto 148
|
|||
|
blockstatements goto 149
|
|||
|
localvariabledeclarationstatement goto 150
|
|||
|
localvariabledeclaration goto 151
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 156
|
|||
|
lambdaexpression goto 157
|
|||
|
statementexpression goto 158
|
|||
|
preincrementexpression goto 159
|
|||
|
predecrementexpression goto 160
|
|||
|
postincrementexpression goto 161
|
|||
|
postdecrementexpression goto 162
|
|||
|
expressionstatement goto 163
|
|||
|
statementwithouttrailingsubstatement goto 164
|
|||
|
blockstatement goto 165
|
|||
|
statement goto 166
|
|||
|
whilestatement goto 167
|
|||
|
forstatement goto 168
|
|||
|
ifthenstatement goto 169
|
|||
|
ifthenelsestatement goto 170
|
|||
|
emptystatement goto 171
|
|||
|
returnstatement goto 172
|
|||
|
assignment goto 173
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 175
|
|||
|
|
|||
|
|
|||
|
state 80
|
|||
|
staticinitializer : STATIC block . (73)
|
|||
|
|
|||
|
. reduce 73
|
|||
|
|
|||
|
|
|||
|
state 81
|
|||
|
methoddeclarator : IDENTIFIER . '(' ')' (139)
|
|||
|
methoddeclarator : IDENTIFIER . '(' formalparameterlist ')' (140)
|
|||
|
|
|||
|
'(' shift 83
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 82
|
|||
|
methodheader : VOID methoddeclarator . (111)
|
|||
|
methodheader : VOID methoddeclarator . throws (113)
|
|||
|
|
|||
|
THROWS shift 88
|
|||
|
'{' reduce 111
|
|||
|
|
|||
|
throws goto 176
|
|||
|
|
|||
|
|
|||
|
state 83
|
|||
|
methoddeclarator : IDENTIFIER '(' . ')' (139)
|
|||
|
methoddeclarator : IDENTIFIER '(' . formalparameterlist ')' (140)
|
|||
|
|
|||
|
BOOLEAN shift 37
|
|||
|
CHAR shift 38
|
|||
|
INT shift 39
|
|||
|
IDENTIFIER shift 136
|
|||
|
')' shift 177
|
|||
|
. error
|
|||
|
|
|||
|
variabledeclaratorid goto 178
|
|||
|
simplename goto 32
|
|||
|
classorinterfacetype goto 57
|
|||
|
integraltype goto 58
|
|||
|
numerictype goto 59
|
|||
|
primitivetype goto 60
|
|||
|
referencetype goto 61
|
|||
|
type goto 179
|
|||
|
formalparameter goto 180
|
|||
|
formalparameterlist goto 181
|
|||
|
|
|||
|
|
|||
|
state 84
|
|||
|
boundedMethodParameters : boundedMethodParameter . (101)
|
|||
|
|
|||
|
. reduce 101
|
|||
|
|
|||
|
|
|||
|
state 85
|
|||
|
boundedMethodParameters : boundedMethodParameters . ',' boundedMethodParameter (102)
|
|||
|
methodheader : '<' boundedMethodParameters . '>' type methoddeclarator (103)
|
|||
|
methodheader : '<' boundedMethodParameters . '>' type methoddeclarator throws (108)
|
|||
|
methodheader : '<' boundedMethodParameters . '>' VOID methoddeclarator (115)
|
|||
|
methodheader : '<' boundedMethodParameters . '>' VOID methoddeclarator throws (117)
|
|||
|
methodheader : '<' boundedMethodParameters . '>' methoddeclarator (120)
|
|||
|
|
|||
|
',' shift 182
|
|||
|
'>' shift 183
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 86
|
|||
|
methodbody : block . (130)
|
|||
|
|
|||
|
. reduce 130
|
|||
|
|
|||
|
|
|||
|
state 87
|
|||
|
methoddeclaration : methodheader methodbody . (84)
|
|||
|
|
|||
|
. reduce 84
|
|||
|
|
|||
|
|
|||
|
state 88
|
|||
|
throws : THROWS . classtypelist (93)
|
|||
|
|
|||
|
IDENTIFIER shift 31
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 32
|
|||
|
classtype goto 184
|
|||
|
classorinterfacetype goto 34
|
|||
|
classtypelist goto 185
|
|||
|
|
|||
|
|
|||
|
state 89
|
|||
|
methodheader : methoddeclarator throws . (122)
|
|||
|
|
|||
|
. reduce 122
|
|||
|
|
|||
|
|
|||
|
state 90
|
|||
|
classbody : '{' classbodydeclarations '}' . (41)
|
|||
|
|
|||
|
. reduce 41
|
|||
|
|
|||
|
|
|||
|
state 91
|
|||
|
classbodydeclarations : classbodydeclarations classbodydeclaration . (52)
|
|||
|
|
|||
|
. reduce 52
|
|||
|
|
|||
|
|
|||
|
state 92
|
|||
|
variabledeclarators : variabledeclarators ',' . variabledeclarator (129)
|
|||
|
|
|||
|
IDENTIFIER shift 186
|
|||
|
. error
|
|||
|
|
|||
|
variabledeclarator goto 187
|
|||
|
variabledeclaratorid goto 55
|
|||
|
|
|||
|
|
|||
|
state 93
|
|||
|
fielddeclaration : variabledeclarators ';' . (81)
|
|||
|
|
|||
|
. reduce 81
|
|||
|
|
|||
|
|
|||
|
state 94
|
|||
|
fielddeclaration : fielddeclarator ';' . (79)
|
|||
|
|
|||
|
. reduce 79
|
|||
|
|
|||
|
|
|||
|
state 95
|
|||
|
fielddeclarator : variabledeclarator '=' . expression (78)
|
|||
|
|
|||
|
NEW shift 188
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 205
|
|||
|
conditionalorexpression goto 206
|
|||
|
conditionalexpression goto 207
|
|||
|
assignmentexpression goto 208
|
|||
|
lambdaexpression goto 157
|
|||
|
expression goto 209
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
classinstancecreationexpression goto 214
|
|||
|
assignment goto 215
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 96
|
|||
|
constructordeclarator : simplename '(' . ')' (87)
|
|||
|
constructordeclarator : simplename '(' . formalparameterlist ')' (88)
|
|||
|
|
|||
|
BOOLEAN shift 37
|
|||
|
CHAR shift 38
|
|||
|
INT shift 39
|
|||
|
IDENTIFIER shift 136
|
|||
|
')' shift 218
|
|||
|
. error
|
|||
|
|
|||
|
variabledeclaratorid goto 178
|
|||
|
simplename goto 32
|
|||
|
classorinterfacetype goto 57
|
|||
|
integraltype goto 58
|
|||
|
numerictype goto 59
|
|||
|
primitivetype goto 60
|
|||
|
referencetype goto 61
|
|||
|
type goto 179
|
|||
|
formalparameter goto 180
|
|||
|
formalparameterlist goto 219
|
|||
|
|
|||
|
|
|||
|
state 97
|
|||
|
type : primitivetype '[' . ']' (125)
|
|||
|
|
|||
|
']' shift 220
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 98
|
|||
|
type : referencetype '[' . ']' (127)
|
|||
|
|
|||
|
']' shift 221
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 99
|
|||
|
methoddeclarator : IDENTIFIER . '(' ')' (139)
|
|||
|
methoddeclarator : IDENTIFIER . '(' formalparameterlist ')' (140)
|
|||
|
variabledeclaratorid : IDENTIFIER . (152)
|
|||
|
|
|||
|
'(' shift 83
|
|||
|
',' reduce 152
|
|||
|
';' reduce 152
|
|||
|
'=' reduce 152
|
|||
|
|
|||
|
|
|||
|
state 100
|
|||
|
methodheader : type methoddeclarator . (104)
|
|||
|
methodheader : type methoddeclarator . throws (107)
|
|||
|
|
|||
|
THROWS shift 88
|
|||
|
'{' reduce 104
|
|||
|
|
|||
|
throws goto 222
|
|||
|
|
|||
|
|
|||
|
state 101
|
|||
|
fielddeclaration : type variabledeclarators . ';' (82)
|
|||
|
variabledeclarators : variabledeclarators . ',' variabledeclarator (129)
|
|||
|
|
|||
|
',' shift 92
|
|||
|
';' shift 223
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 102
|
|||
|
fielddeclaration : type fielddeclarator . (80)
|
|||
|
|
|||
|
. reduce 80
|
|||
|
|
|||
|
|
|||
|
state 103
|
|||
|
methodheader : modifiers VOID . methoddeclarator (112)
|
|||
|
methodheader : modifiers VOID . methoddeclarator throws (114)
|
|||
|
|
|||
|
IDENTIFIER shift 81
|
|||
|
. error
|
|||
|
|
|||
|
methoddeclarator goto 224
|
|||
|
|
|||
|
|
|||
|
104: shift/reduce conflict (shift 83, reduce 14) on '('
|
|||
|
state 104
|
|||
|
simplename : IDENTIFIER . (14)
|
|||
|
methoddeclarator : IDENTIFIER . '(' ')' (139)
|
|||
|
methoddeclarator : IDENTIFIER . '(' formalparameterlist ')' (140)
|
|||
|
|
|||
|
'(' shift 83
|
|||
|
IDENTIFIER reduce 14
|
|||
|
'<' reduce 14
|
|||
|
'[' reduce 14
|
|||
|
|
|||
|
|
|||
|
state 105
|
|||
|
methodheader : modifiers '<' . boundedMethodParameters '>' type methoddeclarator (106)
|
|||
|
methodheader : modifiers '<' . boundedMethodParameters '>' type methoddeclarator throws (110)
|
|||
|
methodheader : modifiers '<' . boundedMethodParameters '>' VOID methoddeclarator (116)
|
|||
|
methodheader : modifiers '<' . boundedMethodParameters '>' VOID methoddeclarator throws (118)
|
|||
|
|
|||
|
IDENTIFIER shift 27
|
|||
|
. error
|
|||
|
|
|||
|
boundedMethodParameter goto 84
|
|||
|
boundedMethodParameters goto 225
|
|||
|
|
|||
|
|
|||
|
state 106
|
|||
|
methodheader : modifiers methoddeclarator . (121)
|
|||
|
methodheader : modifiers methoddeclarator . throws (123)
|
|||
|
|
|||
|
THROWS shift 88
|
|||
|
'{' reduce 121
|
|||
|
|
|||
|
throws goto 226
|
|||
|
|
|||
|
|
|||
|
state 107
|
|||
|
fielddeclaration : modifiers type . variabledeclarators ';' (83)
|
|||
|
methodheader : modifiers type . methoddeclarator (105)
|
|||
|
methodheader : modifiers type . methoddeclarator throws (109)
|
|||
|
|
|||
|
IDENTIFIER shift 99
|
|||
|
. error
|
|||
|
|
|||
|
methoddeclarator goto 227
|
|||
|
variabledeclarators goto 228
|
|||
|
variabledeclarator goto 143
|
|||
|
variabledeclaratorid goto 55
|
|||
|
|
|||
|
|
|||
|
state 108
|
|||
|
constructordeclaration : modifiers constructordeclarator . constructorbody (75)
|
|||
|
|
|||
|
'{' shift 109
|
|||
|
. error
|
|||
|
|
|||
|
constructorbody goto 229
|
|||
|
|
|||
|
|
|||
|
state 109
|
|||
|
constructorbody : '{' . '}' (89)
|
|||
|
constructorbody : '{' . explicitconstructorinvocation '}' (90)
|
|||
|
constructorbody : '{' . blockstatements '}' (91)
|
|||
|
constructorbody : '{' . explicitconstructorinvocation blockstatements '}' (92)
|
|||
|
|
|||
|
BOOLEAN shift 37
|
|||
|
CHAR shift 38
|
|||
|
FOR shift 123
|
|||
|
IF shift 124
|
|||
|
INT shift 39
|
|||
|
RETURN shift 125
|
|||
|
THIS shift 230
|
|||
|
WHILE shift 127
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 136
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 139
|
|||
|
'{' shift 79
|
|||
|
'}' shift 231
|
|||
|
'(' shift 141
|
|||
|
. error
|
|||
|
|
|||
|
variabledeclarators goto 142
|
|||
|
variabledeclarator goto 143
|
|||
|
variabledeclaratorid goto 55
|
|||
|
simplename goto 144
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
classorinterfacetype goto 57
|
|||
|
integraltype goto 58
|
|||
|
numerictype goto 59
|
|||
|
primitivetype goto 60
|
|||
|
referencetype goto 61
|
|||
|
type goto 147
|
|||
|
block goto 148
|
|||
|
blockstatements goto 232
|
|||
|
localvariabledeclarationstatement goto 150
|
|||
|
localvariabledeclaration goto 151
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 156
|
|||
|
lambdaexpression goto 157
|
|||
|
statementexpression goto 158
|
|||
|
preincrementexpression goto 159
|
|||
|
predecrementexpression goto 160
|
|||
|
postincrementexpression goto 161
|
|||
|
postdecrementexpression goto 162
|
|||
|
expressionstatement goto 163
|
|||
|
statementwithouttrailingsubstatement goto 164
|
|||
|
blockstatement goto 165
|
|||
|
statement goto 166
|
|||
|
whilestatement goto 167
|
|||
|
forstatement goto 168
|
|||
|
ifthenstatement goto 169
|
|||
|
ifthenelsestatement goto 170
|
|||
|
emptystatement goto 171
|
|||
|
returnstatement goto 172
|
|||
|
assignment goto 173
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 175
|
|||
|
explicitconstructorinvocation goto 233
|
|||
|
|
|||
|
|
|||
|
state 110
|
|||
|
constructordeclaration : constructordeclarator constructorbody . (74)
|
|||
|
|
|||
|
. reduce 74
|
|||
|
|
|||
|
|
|||
|
state 111
|
|||
|
classdeclaration : CLASS classidentifier super interfaces classbody . (21)
|
|||
|
|
|||
|
. reduce 21
|
|||
|
|
|||
|
|
|||
|
state 112
|
|||
|
interfaces : interfaces ',' interfacetype . (46)
|
|||
|
|
|||
|
. reduce 46
|
|||
|
|
|||
|
|
|||
|
state 113
|
|||
|
classdeclaration : modifiers CLASS classidentifier super classbody . (18)
|
|||
|
|
|||
|
. reduce 18
|
|||
|
|
|||
|
|
|||
|
state 114
|
|||
|
classdeclaration : modifiers CLASS classidentifier super interfaces . classbody (22)
|
|||
|
interfaces : interfaces . ',' interfacetype (46)
|
|||
|
|
|||
|
',' shift 69
|
|||
|
'{' shift 22
|
|||
|
. error
|
|||
|
|
|||
|
classbody goto 234
|
|||
|
|
|||
|
|
|||
|
state 115
|
|||
|
classdeclaration : modifiers CLASS classidentifier interfaces classbody . (20)
|
|||
|
|
|||
|
. reduce 20
|
|||
|
|
|||
|
|
|||
|
state 116
|
|||
|
boundedclassidentifierlist : referencetype . (99)
|
|||
|
|
|||
|
. reduce 99
|
|||
|
|
|||
|
|
|||
|
state 117
|
|||
|
boundedMethodParameter : IDENTIFIER EXTENDS boundedclassidentifierlist . (98)
|
|||
|
boundedclassidentifierlist : boundedclassidentifierlist . '&' referencetype (100)
|
|||
|
|
|||
|
'&' shift 235
|
|||
|
',' reduce 98
|
|||
|
'>' reduce 98
|
|||
|
|
|||
|
|
|||
|
state 118
|
|||
|
boundedClassParameters : boundedClassParameters ',' boundedClassParameter . (96)
|
|||
|
|
|||
|
. reduce 96
|
|||
|
|
|||
|
|
|||
|
state 119
|
|||
|
paralist : IDENTIFIER . (31)
|
|||
|
paralist : IDENTIFIER . '<' paralist '>' (32)
|
|||
|
|
|||
|
'<' shift 236
|
|||
|
',' reduce 31
|
|||
|
'>' reduce 31
|
|||
|
|
|||
|
|
|||
|
state 120
|
|||
|
wildcardparameter : '?' . (37)
|
|||
|
wildcardparameter : '?' . EXTENDS referencetype (38)
|
|||
|
wildcardparameter : '?' . SUPER referencetype (39)
|
|||
|
|
|||
|
EXTENDS shift 237
|
|||
|
SUPER shift 238
|
|||
|
',' reduce 37
|
|||
|
'>' reduce 37
|
|||
|
|
|||
|
|
|||
|
state 121
|
|||
|
paralist : paralist . ',' IDENTIFIER (34)
|
|||
|
paralist : paralist . ',' IDENTIFIER '<' paralist '>' (35)
|
|||
|
paralist : paralist . ',' wildcardparameter (36)
|
|||
|
parameter : '<' paralist . '>' (68)
|
|||
|
|
|||
|
',' shift 239
|
|||
|
'>' shift 240
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 122
|
|||
|
paralist : wildcardparameter . (33)
|
|||
|
|
|||
|
. reduce 33
|
|||
|
|
|||
|
|
|||
|
state 123
|
|||
|
forstatement : FOR . '(' expression ';' expression ';' expression ')' statement (173)
|
|||
|
forstatement : FOR . '(' expression ';' expression ';' ')' statement (174)
|
|||
|
forstatement : FOR . '(' expression ';' ';' expression ')' statement (175)
|
|||
|
forstatement : FOR . '(' ';' expression ';' expression ')' statement (176)
|
|||
|
forstatement : FOR . '(' expression ';' ';' ')' statement (177)
|
|||
|
forstatement : FOR . '(' ';' expression ';' ')' statement (178)
|
|||
|
forstatement : FOR . '(' ';' ';' expression ')' statement (179)
|
|||
|
forstatement : FOR . '(' ';' ';' ')' statement (180)
|
|||
|
|
|||
|
'(' shift 241
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 124
|
|||
|
ifthenstatement : IF . '(' expression ')' statement (170)
|
|||
|
ifthenelsestatement : IF . '(' expression ')' statementnoshortif ELSE statement (171)
|
|||
|
|
|||
|
'(' shift 242
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 125
|
|||
|
returnstatement : RETURN . ';' (185)
|
|||
|
returnstatement : RETURN . expression ';' (186)
|
|||
|
|
|||
|
NEW shift 188
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 243
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 205
|
|||
|
conditionalorexpression goto 206
|
|||
|
conditionalexpression goto 207
|
|||
|
assignmentexpression goto 208
|
|||
|
lambdaexpression goto 157
|
|||
|
expression goto 244
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
classinstancecreationexpression goto 214
|
|||
|
assignment goto 215
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 126
|
|||
|
primarynonewarray : THIS . (241)
|
|||
|
|
|||
|
. reduce 241
|
|||
|
|
|||
|
|
|||
|
state 127
|
|||
|
whilestatement : WHILE . '(' expression ')' statement (172)
|
|||
|
|
|||
|
'(' shift 245
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 128
|
|||
|
literal : INTLITERAL . (249)
|
|||
|
|
|||
|
. reduce 249
|
|||
|
|
|||
|
|
|||
|
state 129
|
|||
|
literal : LONGLITERAL . (253)
|
|||
|
|
|||
|
. reduce 253
|
|||
|
|
|||
|
|
|||
|
state 130
|
|||
|
literal : DOUBLELITERAL . (255)
|
|||
|
|
|||
|
. reduce 255
|
|||
|
|
|||
|
|
|||
|
state 131
|
|||
|
literal : FLOATLITERAL . (254)
|
|||
|
|
|||
|
. reduce 254
|
|||
|
|
|||
|
|
|||
|
state 132
|
|||
|
literal : BOOLLITERAL . (250)
|
|||
|
|
|||
|
. reduce 250
|
|||
|
|
|||
|
|
|||
|
state 133
|
|||
|
literal : JNULL . (256)
|
|||
|
|
|||
|
. reduce 256
|
|||
|
|
|||
|
|
|||
|
state 134
|
|||
|
literal : CHARLITERAL . (251)
|
|||
|
|
|||
|
. reduce 251
|
|||
|
|
|||
|
|
|||
|
state 135
|
|||
|
literal : STRINGLITERAL . (252)
|
|||
|
|
|||
|
. reduce 252
|
|||
|
|
|||
|
|
|||
|
state 136
|
|||
|
simplename : IDENTIFIER . (14)
|
|||
|
variabledeclaratorid : IDENTIFIER . (152)
|
|||
|
|
|||
|
IDENTIFIER reduce 14
|
|||
|
INCREMENT reduce 14
|
|||
|
DECREMENT reduce 14
|
|||
|
PLUSEQUAL reduce 14
|
|||
|
MINUSEQUAL reduce 14
|
|||
|
TIMESEQUAL reduce 14
|
|||
|
DIVIDEEQUAL reduce 14
|
|||
|
MODULOEQUAL reduce 14
|
|||
|
',' reduce 152
|
|||
|
';' reduce 152
|
|||
|
'.' reduce 14
|
|||
|
'<' reduce 14
|
|||
|
'=' reduce 14
|
|||
|
'(' reduce 14
|
|||
|
')' reduce 152
|
|||
|
'[' reduce 14
|
|||
|
|
|||
|
|
|||
|
state 137
|
|||
|
preincrementexpression : INCREMENT . unaryexpression (216)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 247
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 138
|
|||
|
predecrementexpression : DECREMENT . unaryexpression (217)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 248
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 139
|
|||
|
emptystatement : ';' . (183)
|
|||
|
|
|||
|
. reduce 183
|
|||
|
|
|||
|
|
|||
|
state 140
|
|||
|
block : '{' '}' . (85)
|
|||
|
|
|||
|
. reduce 85
|
|||
|
|
|||
|
|
|||
|
state 141
|
|||
|
lambdaexpressionparameter : '(' . ')' (206)
|
|||
|
lambdaexpressionparameter : '(' . formalparameterlist ')' (207)
|
|||
|
|
|||
|
BOOLEAN shift 37
|
|||
|
CHAR shift 38
|
|||
|
INT shift 39
|
|||
|
IDENTIFIER shift 136
|
|||
|
')' shift 249
|
|||
|
. error
|
|||
|
|
|||
|
variabledeclaratorid goto 178
|
|||
|
simplename goto 32
|
|||
|
classorinterfacetype goto 57
|
|||
|
integraltype goto 58
|
|||
|
numerictype goto 59
|
|||
|
primitivetype goto 60
|
|||
|
referencetype goto 61
|
|||
|
type goto 179
|
|||
|
formalparameter goto 180
|
|||
|
formalparameterlist goto 250
|
|||
|
|
|||
|
|
|||
|
state 142
|
|||
|
variabledeclarators : variabledeclarators . ',' variabledeclarator (129)
|
|||
|
localvariabledeclaration : variabledeclarators . (165)
|
|||
|
|
|||
|
',' shift 92
|
|||
|
';' reduce 165
|
|||
|
|
|||
|
|
|||
|
state 143
|
|||
|
variabledeclarators : variabledeclarator . (128)
|
|||
|
|
|||
|
. reduce 128
|
|||
|
|
|||
|
|
|||
|
state 144
|
|||
|
name : simplename . (9)
|
|||
|
classorinterfacetype : simplename . parameter (66)
|
|||
|
parameter : . (67)
|
|||
|
|
|||
|
'<' shift 77
|
|||
|
IDENTIFIER reduce 67
|
|||
|
INCREMENT reduce 9
|
|||
|
DECREMENT reduce 9
|
|||
|
PLUSEQUAL reduce 9
|
|||
|
MINUSEQUAL reduce 9
|
|||
|
TIMESEQUAL reduce 9
|
|||
|
DIVIDEEQUAL reduce 9
|
|||
|
MODULOEQUAL reduce 9
|
|||
|
'.' reduce 9
|
|||
|
'=' reduce 9
|
|||
|
'(' reduce 9
|
|||
|
'[' reduce 67
|
|||
|
|
|||
|
parameter goto 78
|
|||
|
|
|||
|
|
|||
|
state 145
|
|||
|
name : qualifiedname . (8)
|
|||
|
|
|||
|
. reduce 8
|
|||
|
|
|||
|
|
|||
|
146: shift/reduce conflict (shift 251, reduce 234) on '.'
|
|||
|
state 146
|
|||
|
qualifiedname : name . '.' IDENTIFIER (11)
|
|||
|
lefthandside : name . (209)
|
|||
|
methodinvocation : name . '(' ')' (220)
|
|||
|
methodinvocation : name . '(' argumentlist ')' (221)
|
|||
|
postfixexpression : name . (234)
|
|||
|
|
|||
|
'.' shift 251
|
|||
|
'(' shift 252
|
|||
|
ABSTRACT reduce 234
|
|||
|
BOOLEAN reduce 234
|
|||
|
CHAR reduce 234
|
|||
|
FINAL reduce 234
|
|||
|
INSTANCEOF reduce 234
|
|||
|
INT reduce 234
|
|||
|
PRIVATE reduce 234
|
|||
|
PROTECTED reduce 234
|
|||
|
PUBLIC reduce 234
|
|||
|
STATIC reduce 234
|
|||
|
VOID reduce 234
|
|||
|
IDENTIFIER reduce 234
|
|||
|
EQUAL reduce 234
|
|||
|
LESSEQUAL reduce 234
|
|||
|
GREATEREQUAL reduce 234
|
|||
|
NOTEQUAL reduce 234
|
|||
|
LOGICALOR reduce 234
|
|||
|
LOGICALAND reduce 234
|
|||
|
INCREMENT reduce 234
|
|||
|
DECREMENT reduce 234
|
|||
|
PLUSEQUAL reduce 209
|
|||
|
MINUSEQUAL reduce 209
|
|||
|
TIMESEQUAL reduce 209
|
|||
|
DIVIDEEQUAL reduce 209
|
|||
|
MODULOEQUAL reduce 209
|
|||
|
',' reduce 234
|
|||
|
';' reduce 234
|
|||
|
'*' reduce 234
|
|||
|
'<' reduce 234
|
|||
|
'>' reduce 234
|
|||
|
'}' reduce 234
|
|||
|
'=' reduce 209
|
|||
|
')' reduce 234
|
|||
|
'&' reduce 234
|
|||
|
'+' reduce 234
|
|||
|
'-' reduce 234
|
|||
|
'|' reduce 234
|
|||
|
'^' reduce 234
|
|||
|
'/' reduce 234
|
|||
|
'%' reduce 234
|
|||
|
|
|||
|
|
|||
|
state 147
|
|||
|
localvariabledeclaration : type . variabledeclarators (164)
|
|||
|
|
|||
|
IDENTIFIER shift 186
|
|||
|
. error
|
|||
|
|
|||
|
variabledeclarators goto 253
|
|||
|
variabledeclarator goto 143
|
|||
|
variabledeclaratorid goto 55
|
|||
|
|
|||
|
|
|||
|
state 148
|
|||
|
statementwithouttrailingsubstatement : block . (166)
|
|||
|
|
|||
|
. reduce 166
|
|||
|
|
|||
|
|
|||
|
state 149
|
|||
|
block : '{' blockstatements . '}' (86)
|
|||
|
blockstatements : blockstatements . blockstatement (132)
|
|||
|
|
|||
|
BOOLEAN shift 37
|
|||
|
CHAR shift 38
|
|||
|
FOR shift 123
|
|||
|
IF shift 124
|
|||
|
INT shift 39
|
|||
|
RETURN shift 125
|
|||
|
THIS shift 126
|
|||
|
WHILE shift 127
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 136
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 139
|
|||
|
'{' shift 79
|
|||
|
'}' shift 254
|
|||
|
'(' shift 141
|
|||
|
. error
|
|||
|
|
|||
|
variabledeclarators goto 142
|
|||
|
variabledeclarator goto 143
|
|||
|
variabledeclaratorid goto 55
|
|||
|
simplename goto 144
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
classorinterfacetype goto 57
|
|||
|
integraltype goto 58
|
|||
|
numerictype goto 59
|
|||
|
primitivetype goto 60
|
|||
|
referencetype goto 61
|
|||
|
type goto 147
|
|||
|
block goto 148
|
|||
|
localvariabledeclarationstatement goto 150
|
|||
|
localvariabledeclaration goto 151
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 156
|
|||
|
lambdaexpression goto 157
|
|||
|
statementexpression goto 158
|
|||
|
preincrementexpression goto 159
|
|||
|
predecrementexpression goto 160
|
|||
|
postincrementexpression goto 161
|
|||
|
postdecrementexpression goto 162
|
|||
|
expressionstatement goto 163
|
|||
|
statementwithouttrailingsubstatement goto 164
|
|||
|
blockstatement goto 255
|
|||
|
statement goto 166
|
|||
|
whilestatement goto 167
|
|||
|
forstatement goto 168
|
|||
|
ifthenstatement goto 169
|
|||
|
ifthenelsestatement goto 170
|
|||
|
emptystatement goto 171
|
|||
|
returnstatement goto 172
|
|||
|
assignment goto 173
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 175
|
|||
|
|
|||
|
|
|||
|
state 150
|
|||
|
blockstatement : localvariabledeclarationstatement . (145)
|
|||
|
|
|||
|
. reduce 145
|
|||
|
|
|||
|
|
|||
|
state 151
|
|||
|
localvariabledeclarationstatement : localvariabledeclaration . ';' (154)
|
|||
|
|
|||
|
';' shift 256
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 152
|
|||
|
lambdaexpression : lambdaexpressionparameter . lambdaassignmentoperator lambdabody (208)
|
|||
|
|
|||
|
LAMBDAASSIGNMENT shift 257
|
|||
|
. error
|
|||
|
|
|||
|
lambdaassignmentoperator goto 258
|
|||
|
|
|||
|
|
|||
|
state 153
|
|||
|
primarynonewarray : literal . (240)
|
|||
|
|
|||
|
. reduce 240
|
|||
|
|
|||
|
|
|||
|
state 154
|
|||
|
primary : primarynonewarray . (237)
|
|||
|
|
|||
|
. reduce 237
|
|||
|
|
|||
|
|
|||
|
155: shift/reduce conflict (shift 259, reduce 233) on '.'
|
|||
|
state 155
|
|||
|
methodinvocation : primary . '.' IDENTIFIER '(' ')' (222)
|
|||
|
methodinvocation : primary . '.' IDENTIFIER '(' argumentlist ')' (223)
|
|||
|
postfixexpression : primary . (233)
|
|||
|
|
|||
|
'.' shift 259
|
|||
|
ABSTRACT reduce 233
|
|||
|
BOOLEAN reduce 233
|
|||
|
CHAR reduce 233
|
|||
|
FINAL reduce 233
|
|||
|
INSTANCEOF reduce 233
|
|||
|
INT reduce 233
|
|||
|
PRIVATE reduce 233
|
|||
|
PROTECTED reduce 233
|
|||
|
PUBLIC reduce 233
|
|||
|
STATIC reduce 233
|
|||
|
VOID reduce 233
|
|||
|
IDENTIFIER reduce 233
|
|||
|
EQUAL reduce 233
|
|||
|
LESSEQUAL reduce 233
|
|||
|
GREATEREQUAL reduce 233
|
|||
|
NOTEQUAL reduce 233
|
|||
|
LOGICALOR reduce 233
|
|||
|
LOGICALAND reduce 233
|
|||
|
INCREMENT reduce 233
|
|||
|
DECREMENT reduce 233
|
|||
|
',' reduce 233
|
|||
|
';' reduce 233
|
|||
|
'*' reduce 233
|
|||
|
'<' reduce 233
|
|||
|
'>' reduce 233
|
|||
|
'}' reduce 233
|
|||
|
')' reduce 233
|
|||
|
'&' reduce 233
|
|||
|
'+' reduce 233
|
|||
|
'-' reduce 233
|
|||
|
'|' reduce 233
|
|||
|
'^' reduce 233
|
|||
|
'/' reduce 233
|
|||
|
'%' reduce 233
|
|||
|
|
|||
|
|
|||
|
state 156
|
|||
|
postincrementexpression : postfixexpression . INCREMENT (218)
|
|||
|
postdecrementexpression : postfixexpression . DECREMENT (219)
|
|||
|
|
|||
|
INCREMENT shift 260
|
|||
|
DECREMENT shift 261
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 157
|
|||
|
primarynonewarray : lambdaexpression . (243)
|
|||
|
|
|||
|
. reduce 243
|
|||
|
|
|||
|
|
|||
|
state 158
|
|||
|
expressionstatement : statementexpression . ';' (184)
|
|||
|
|
|||
|
';' shift 262
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 159
|
|||
|
statementexpression : preincrementexpression . (194)
|
|||
|
|
|||
|
. reduce 194
|
|||
|
|
|||
|
|
|||
|
state 160
|
|||
|
statementexpression : predecrementexpression . (195)
|
|||
|
|
|||
|
. reduce 195
|
|||
|
|
|||
|
|
|||
|
state 161
|
|||
|
statementexpression : postincrementexpression . (196)
|
|||
|
postfixexpression : postincrementexpression . (235)
|
|||
|
|
|||
|
INCREMENT reduce 235
|
|||
|
DECREMENT reduce 235
|
|||
|
';' reduce 196
|
|||
|
|
|||
|
|
|||
|
state 162
|
|||
|
statementexpression : postdecrementexpression . (197)
|
|||
|
postfixexpression : postdecrementexpression . (236)
|
|||
|
|
|||
|
INCREMENT reduce 236
|
|||
|
DECREMENT reduce 236
|
|||
|
';' reduce 197
|
|||
|
|
|||
|
|
|||
|
state 163
|
|||
|
statementwithouttrailingsubstatement : expressionstatement . (168)
|
|||
|
|
|||
|
. reduce 168
|
|||
|
|
|||
|
|
|||
|
state 164
|
|||
|
statement : statementwithouttrailingsubstatement . (155)
|
|||
|
|
|||
|
. reduce 155
|
|||
|
|
|||
|
|
|||
|
state 165
|
|||
|
blockstatements : blockstatement . (131)
|
|||
|
|
|||
|
. reduce 131
|
|||
|
|
|||
|
|
|||
|
state 166
|
|||
|
blockstatement : statement . (146)
|
|||
|
|
|||
|
. reduce 146
|
|||
|
|
|||
|
|
|||
|
state 167
|
|||
|
statement : whilestatement . (158)
|
|||
|
|
|||
|
. reduce 158
|
|||
|
|
|||
|
|
|||
|
state 168
|
|||
|
statement : forstatement . (159)
|
|||
|
|
|||
|
. reduce 159
|
|||
|
|
|||
|
|
|||
|
state 169
|
|||
|
statement : ifthenstatement . (156)
|
|||
|
|
|||
|
. reduce 156
|
|||
|
|
|||
|
|
|||
|
state 170
|
|||
|
statement : ifthenelsestatement . (157)
|
|||
|
|
|||
|
. reduce 157
|
|||
|
|
|||
|
|
|||
|
state 171
|
|||
|
statementwithouttrailingsubstatement : emptystatement . (167)
|
|||
|
|
|||
|
. reduce 167
|
|||
|
|
|||
|
|
|||
|
state 172
|
|||
|
statementwithouttrailingsubstatement : returnstatement . (169)
|
|||
|
|
|||
|
. reduce 169
|
|||
|
|
|||
|
|
|||
|
state 173
|
|||
|
statementexpression : assignment . (193)
|
|||
|
|
|||
|
. reduce 193
|
|||
|
|
|||
|
|
|||
|
state 174
|
|||
|
assignment : lefthandside . assignmentoperator assignmentexpression (191)
|
|||
|
assignment : lefthandside . assignmentoperator classinstancecreationexpression (192)
|
|||
|
|
|||
|
PLUSEQUAL shift 263
|
|||
|
MINUSEQUAL shift 264
|
|||
|
TIMESEQUAL shift 265
|
|||
|
DIVIDEEQUAL shift 266
|
|||
|
MODULOEQUAL shift 267
|
|||
|
'=' shift 268
|
|||
|
. error
|
|||
|
|
|||
|
assignmentoperator goto 269
|
|||
|
|
|||
|
|
|||
|
state 175
|
|||
|
statementexpression : methodinvocation . (198)
|
|||
|
primarynonewarray : methodinvocation . (242)
|
|||
|
|
|||
|
INCREMENT reduce 242
|
|||
|
DECREMENT reduce 242
|
|||
|
';' reduce 198
|
|||
|
'.' reduce 242
|
|||
|
|
|||
|
|
|||
|
state 176
|
|||
|
methodheader : VOID methoddeclarator throws . (113)
|
|||
|
|
|||
|
. reduce 113
|
|||
|
|
|||
|
|
|||
|
state 177
|
|||
|
methoddeclarator : IDENTIFIER '(' ')' . (139)
|
|||
|
|
|||
|
. reduce 139
|
|||
|
|
|||
|
|
|||
|
state 178
|
|||
|
formalparameter : variabledeclaratorid . (148)
|
|||
|
|
|||
|
. reduce 148
|
|||
|
|
|||
|
|
|||
|
state 179
|
|||
|
formalparameter : type . variabledeclaratorid (147)
|
|||
|
|
|||
|
IDENTIFIER shift 186
|
|||
|
. error
|
|||
|
|
|||
|
variabledeclaratorid goto 270
|
|||
|
|
|||
|
|
|||
|
state 180
|
|||
|
formalparameterlist : formalparameter . (133)
|
|||
|
|
|||
|
. reduce 133
|
|||
|
|
|||
|
|
|||
|
state 181
|
|||
|
formalparameterlist : formalparameterlist . ',' formalparameter (134)
|
|||
|
methoddeclarator : IDENTIFIER '(' formalparameterlist . ')' (140)
|
|||
|
|
|||
|
',' shift 271
|
|||
|
')' shift 272
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 182
|
|||
|
boundedMethodParameters : boundedMethodParameters ',' . boundedMethodParameter (102)
|
|||
|
|
|||
|
IDENTIFIER shift 27
|
|||
|
. error
|
|||
|
|
|||
|
boundedMethodParameter goto 273
|
|||
|
|
|||
|
|
|||
|
state 183
|
|||
|
methodheader : '<' boundedMethodParameters '>' . type methoddeclarator (103)
|
|||
|
methodheader : '<' boundedMethodParameters '>' . type methoddeclarator throws (108)
|
|||
|
methodheader : '<' boundedMethodParameters '>' . VOID methoddeclarator (115)
|
|||
|
methodheader : '<' boundedMethodParameters '>' . VOID methoddeclarator throws (117)
|
|||
|
methodheader : '<' boundedMethodParameters '>' . methoddeclarator (120)
|
|||
|
|
|||
|
BOOLEAN shift 37
|
|||
|
CHAR shift 38
|
|||
|
INT shift 39
|
|||
|
VOID shift 274
|
|||
|
IDENTIFIER shift 104
|
|||
|
. error
|
|||
|
|
|||
|
methoddeclarator goto 275
|
|||
|
simplename goto 32
|
|||
|
classorinterfacetype goto 57
|
|||
|
integraltype goto 58
|
|||
|
numerictype goto 59
|
|||
|
primitivetype goto 60
|
|||
|
referencetype goto 61
|
|||
|
type goto 276
|
|||
|
|
|||
|
|
|||
|
state 184
|
|||
|
classtypelist : classtype . (137)
|
|||
|
|
|||
|
. reduce 137
|
|||
|
|
|||
|
|
|||
|
state 185
|
|||
|
throws : THROWS classtypelist . (93)
|
|||
|
classtypelist : classtypelist . ',' classtype (138)
|
|||
|
|
|||
|
',' shift 277
|
|||
|
'{' reduce 93
|
|||
|
|
|||
|
|
|||
|
state 186
|
|||
|
variabledeclaratorid : IDENTIFIER . (152)
|
|||
|
|
|||
|
. reduce 152
|
|||
|
|
|||
|
|
|||
|
state 187
|
|||
|
variabledeclarators : variabledeclarators ',' variabledeclarator . (129)
|
|||
|
|
|||
|
. reduce 129
|
|||
|
|
|||
|
|
|||
|
state 188
|
|||
|
classinstancecreationexpression : NEW . classtype '(' ')' (224)
|
|||
|
classinstancecreationexpression : NEW . classtype '(' argumentlist ')' (225)
|
|||
|
|
|||
|
IDENTIFIER shift 31
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 32
|
|||
|
classtype goto 278
|
|||
|
classorinterfacetype goto 34
|
|||
|
|
|||
|
|
|||
|
state 189
|
|||
|
lambdaexpressionparameter : '(' . ')' (206)
|
|||
|
lambdaexpressionparameter : '(' . formalparameterlist ')' (207)
|
|||
|
castexpression : '(' . primitivetype ')' unaryexpression (257)
|
|||
|
|
|||
|
BOOLEAN shift 37
|
|||
|
CHAR shift 38
|
|||
|
INT shift 39
|
|||
|
IDENTIFIER shift 136
|
|||
|
')' shift 249
|
|||
|
. error
|
|||
|
|
|||
|
variabledeclaratorid goto 178
|
|||
|
simplename goto 32
|
|||
|
classorinterfacetype goto 57
|
|||
|
integraltype goto 58
|
|||
|
numerictype goto 59
|
|||
|
primitivetype goto 279
|
|||
|
referencetype goto 61
|
|||
|
type goto 179
|
|||
|
formalparameter goto 180
|
|||
|
formalparameterlist goto 250
|
|||
|
|
|||
|
|
|||
|
state 190
|
|||
|
unaryexpression : '+' . unaryexpression (230)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 280
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 191
|
|||
|
unaryexpression : '-' . unaryexpression (231)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 281
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 192
|
|||
|
unaryexpressionnotplusminus : '!' . unaryexpression (245)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 282
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 193
|
|||
|
name : simplename . (9)
|
|||
|
|
|||
|
. reduce 9
|
|||
|
|
|||
|
|
|||
|
194: shift/reduce conflict (shift 260, reduce 244) on INCREMENT
|
|||
|
194: shift/reduce conflict (shift 261, reduce 244) on DECREMENT
|
|||
|
state 194
|
|||
|
postincrementexpression : postfixexpression . INCREMENT (218)
|
|||
|
postdecrementexpression : postfixexpression . DECREMENT (219)
|
|||
|
unaryexpressionnotplusminus : postfixexpression . (244)
|
|||
|
|
|||
|
INCREMENT shift 260
|
|||
|
DECREMENT shift 261
|
|||
|
ABSTRACT reduce 244
|
|||
|
BOOLEAN reduce 244
|
|||
|
CHAR reduce 244
|
|||
|
FINAL reduce 244
|
|||
|
INSTANCEOF reduce 244
|
|||
|
INT reduce 244
|
|||
|
PRIVATE reduce 244
|
|||
|
PROTECTED reduce 244
|
|||
|
PUBLIC reduce 244
|
|||
|
STATIC reduce 244
|
|||
|
VOID reduce 244
|
|||
|
IDENTIFIER reduce 244
|
|||
|
EQUAL reduce 244
|
|||
|
LESSEQUAL reduce 244
|
|||
|
GREATEREQUAL reduce 244
|
|||
|
NOTEQUAL reduce 244
|
|||
|
LOGICALOR reduce 244
|
|||
|
LOGICALAND reduce 244
|
|||
|
',' reduce 244
|
|||
|
';' reduce 244
|
|||
|
'.' reduce 244
|
|||
|
'*' reduce 244
|
|||
|
'<' reduce 244
|
|||
|
'>' reduce 244
|
|||
|
'}' reduce 244
|
|||
|
')' reduce 244
|
|||
|
'&' reduce 244
|
|||
|
'+' reduce 244
|
|||
|
'-' reduce 244
|
|||
|
'|' reduce 244
|
|||
|
'^' reduce 244
|
|||
|
'/' reduce 244
|
|||
|
'%' reduce 244
|
|||
|
|
|||
|
|
|||
|
state 195
|
|||
|
unaryexpression : unaryexpressionnotplusminus . (232)
|
|||
|
|
|||
|
. reduce 232
|
|||
|
|
|||
|
|
|||
|
state 196
|
|||
|
multiplicativeexpression : unaryexpression . (273)
|
|||
|
|
|||
|
. reduce 273
|
|||
|
|
|||
|
|
|||
|
197: shift/reduce conflict (shift 283, reduce 270) on '*'
|
|||
|
197: shift/reduce conflict (shift 284, reduce 270) on '/'
|
|||
|
197: shift/reduce conflict (shift 285, reduce 270) on '%'
|
|||
|
state 197
|
|||
|
additiveexpression : multiplicativeexpression . (270)
|
|||
|
multiplicativeexpression : multiplicativeexpression . '*' unaryexpression (274)
|
|||
|
multiplicativeexpression : multiplicativeexpression . '/' unaryexpression (275)
|
|||
|
multiplicativeexpression : multiplicativeexpression . '%' unaryexpression (276)
|
|||
|
|
|||
|
'*' shift 283
|
|||
|
'/' shift 284
|
|||
|
'%' shift 285
|
|||
|
ABSTRACT reduce 270
|
|||
|
BOOLEAN reduce 270
|
|||
|
CHAR reduce 270
|
|||
|
FINAL reduce 270
|
|||
|
INSTANCEOF reduce 270
|
|||
|
INT reduce 270
|
|||
|
PRIVATE reduce 270
|
|||
|
PROTECTED reduce 270
|
|||
|
PUBLIC reduce 270
|
|||
|
STATIC reduce 270
|
|||
|
VOID reduce 270
|
|||
|
IDENTIFIER reduce 270
|
|||
|
EQUAL reduce 270
|
|||
|
LESSEQUAL reduce 270
|
|||
|
GREATEREQUAL reduce 270
|
|||
|
NOTEQUAL reduce 270
|
|||
|
LOGICALOR reduce 270
|
|||
|
LOGICALAND reduce 270
|
|||
|
INCREMENT reduce 270
|
|||
|
DECREMENT reduce 270
|
|||
|
',' reduce 270
|
|||
|
';' reduce 270
|
|||
|
'.' reduce 270
|
|||
|
'<' reduce 270
|
|||
|
'>' reduce 270
|
|||
|
'}' reduce 270
|
|||
|
')' reduce 270
|
|||
|
'&' reduce 270
|
|||
|
'+' reduce 270
|
|||
|
'-' reduce 270
|
|||
|
'|' reduce 270
|
|||
|
'^' reduce 270
|
|||
|
|
|||
|
|
|||
|
198: shift/reduce conflict (shift 286, reduce 269) on '+'
|
|||
|
198: shift/reduce conflict (shift 287, reduce 269) on '-'
|
|||
|
state 198
|
|||
|
shiftexpression : additiveexpression . (269)
|
|||
|
additiveexpression : additiveexpression . '+' multiplicativeexpression (271)
|
|||
|
additiveexpression : additiveexpression . '-' multiplicativeexpression (272)
|
|||
|
|
|||
|
'+' shift 286
|
|||
|
'-' shift 287
|
|||
|
ABSTRACT reduce 269
|
|||
|
BOOLEAN reduce 269
|
|||
|
CHAR reduce 269
|
|||
|
FINAL reduce 269
|
|||
|
INSTANCEOF reduce 269
|
|||
|
INT reduce 269
|
|||
|
PRIVATE reduce 269
|
|||
|
PROTECTED reduce 269
|
|||
|
PUBLIC reduce 269
|
|||
|
STATIC reduce 269
|
|||
|
VOID reduce 269
|
|||
|
IDENTIFIER reduce 269
|
|||
|
EQUAL reduce 269
|
|||
|
LESSEQUAL reduce 269
|
|||
|
GREATEREQUAL reduce 269
|
|||
|
NOTEQUAL reduce 269
|
|||
|
LOGICALOR reduce 269
|
|||
|
LOGICALAND reduce 269
|
|||
|
INCREMENT reduce 269
|
|||
|
DECREMENT reduce 269
|
|||
|
',' reduce 269
|
|||
|
';' reduce 269
|
|||
|
'.' reduce 269
|
|||
|
'*' reduce 269
|
|||
|
'<' reduce 269
|
|||
|
'>' reduce 269
|
|||
|
'}' reduce 269
|
|||
|
')' reduce 269
|
|||
|
'&' reduce 269
|
|||
|
'|' reduce 269
|
|||
|
'^' reduce 269
|
|||
|
'/' reduce 269
|
|||
|
'%' reduce 269
|
|||
|
|
|||
|
|
|||
|
state 199
|
|||
|
relationalexpression : shiftexpression . (263)
|
|||
|
|
|||
|
. reduce 263
|
|||
|
|
|||
|
|
|||
|
200: shift/reduce conflict (shift 288, reduce 260) on INSTANCEOF
|
|||
|
200: shift/reduce conflict (shift 289, reduce 260) on LESSEQUAL
|
|||
|
200: shift/reduce conflict (shift 290, reduce 260) on GREATEREQUAL
|
|||
|
200: shift/reduce conflict (shift 291, reduce 260) on '<'
|
|||
|
200: shift/reduce conflict (shift 292, reduce 260) on '>'
|
|||
|
state 200
|
|||
|
equalityexpression : relationalexpression . (260)
|
|||
|
relationalexpression : relationalexpression . '<' shiftexpression (264)
|
|||
|
relationalexpression : relationalexpression . '>' shiftexpression (265)
|
|||
|
relationalexpression : relationalexpression . LESSEQUAL shiftexpression (266)
|
|||
|
relationalexpression : relationalexpression . GREATEREQUAL shiftexpression (267)
|
|||
|
relationalexpression : relationalexpression . INSTANCEOF referencetype (268)
|
|||
|
|
|||
|
INSTANCEOF shift 288
|
|||
|
LESSEQUAL shift 289
|
|||
|
GREATEREQUAL shift 290
|
|||
|
'<' shift 291
|
|||
|
'>' shift 292
|
|||
|
ABSTRACT reduce 260
|
|||
|
BOOLEAN reduce 260
|
|||
|
CHAR reduce 260
|
|||
|
FINAL reduce 260
|
|||
|
INT reduce 260
|
|||
|
PRIVATE reduce 260
|
|||
|
PROTECTED reduce 260
|
|||
|
PUBLIC reduce 260
|
|||
|
STATIC reduce 260
|
|||
|
VOID reduce 260
|
|||
|
IDENTIFIER reduce 260
|
|||
|
EQUAL reduce 260
|
|||
|
NOTEQUAL reduce 260
|
|||
|
LOGICALOR reduce 260
|
|||
|
LOGICALAND reduce 260
|
|||
|
INCREMENT reduce 260
|
|||
|
DECREMENT reduce 260
|
|||
|
',' reduce 260
|
|||
|
';' reduce 260
|
|||
|
'.' reduce 260
|
|||
|
'*' reduce 260
|
|||
|
'}' reduce 260
|
|||
|
')' reduce 260
|
|||
|
'&' reduce 260
|
|||
|
'+' reduce 260
|
|||
|
'-' reduce 260
|
|||
|
'|' reduce 260
|
|||
|
'^' reduce 260
|
|||
|
'/' reduce 260
|
|||
|
'%' reduce 260
|
|||
|
|
|||
|
|
|||
|
201: shift/reduce conflict (shift 293, reduce 258) on EQUAL
|
|||
|
201: shift/reduce conflict (shift 294, reduce 258) on NOTEQUAL
|
|||
|
state 201
|
|||
|
andexpression : equalityexpression . (258)
|
|||
|
equalityexpression : equalityexpression . EQUAL relationalexpression (261)
|
|||
|
equalityexpression : equalityexpression . NOTEQUAL relationalexpression (262)
|
|||
|
|
|||
|
EQUAL shift 293
|
|||
|
NOTEQUAL shift 294
|
|||
|
ABSTRACT reduce 258
|
|||
|
BOOLEAN reduce 258
|
|||
|
CHAR reduce 258
|
|||
|
FINAL reduce 258
|
|||
|
INSTANCEOF reduce 258
|
|||
|
INT reduce 258
|
|||
|
PRIVATE reduce 258
|
|||
|
PROTECTED reduce 258
|
|||
|
PUBLIC reduce 258
|
|||
|
STATIC reduce 258
|
|||
|
VOID reduce 258
|
|||
|
IDENTIFIER reduce 258
|
|||
|
LESSEQUAL reduce 258
|
|||
|
GREATEREQUAL reduce 258
|
|||
|
LOGICALOR reduce 258
|
|||
|
LOGICALAND reduce 258
|
|||
|
INCREMENT reduce 258
|
|||
|
DECREMENT reduce 258
|
|||
|
',' reduce 258
|
|||
|
';' reduce 258
|
|||
|
'.' reduce 258
|
|||
|
'*' reduce 258
|
|||
|
'<' reduce 258
|
|||
|
'>' reduce 258
|
|||
|
'}' reduce 258
|
|||
|
')' reduce 258
|
|||
|
'&' reduce 258
|
|||
|
'+' reduce 258
|
|||
|
'-' reduce 258
|
|||
|
'|' reduce 258
|
|||
|
'^' reduce 258
|
|||
|
'/' reduce 258
|
|||
|
'%' reduce 258
|
|||
|
|
|||
|
|
|||
|
202: shift/reduce conflict (shift 295, reduce 247) on '&'
|
|||
|
state 202
|
|||
|
exclusiveorexpression : andexpression . (247)
|
|||
|
andexpression : andexpression . '&' equalityexpression (259)
|
|||
|
|
|||
|
'&' shift 295
|
|||
|
ABSTRACT reduce 247
|
|||
|
BOOLEAN reduce 247
|
|||
|
CHAR reduce 247
|
|||
|
FINAL reduce 247
|
|||
|
INSTANCEOF reduce 247
|
|||
|
INT reduce 247
|
|||
|
PRIVATE reduce 247
|
|||
|
PROTECTED reduce 247
|
|||
|
PUBLIC reduce 247
|
|||
|
STATIC reduce 247
|
|||
|
VOID reduce 247
|
|||
|
IDENTIFIER reduce 247
|
|||
|
EQUAL reduce 247
|
|||
|
LESSEQUAL reduce 247
|
|||
|
GREATEREQUAL reduce 247
|
|||
|
NOTEQUAL reduce 247
|
|||
|
LOGICALOR reduce 247
|
|||
|
LOGICALAND reduce 247
|
|||
|
INCREMENT reduce 247
|
|||
|
DECREMENT reduce 247
|
|||
|
',' reduce 247
|
|||
|
';' reduce 247
|
|||
|
'.' reduce 247
|
|||
|
'*' reduce 247
|
|||
|
'<' reduce 247
|
|||
|
'>' reduce 247
|
|||
|
'}' reduce 247
|
|||
|
')' reduce 247
|
|||
|
'+' reduce 247
|
|||
|
'-' reduce 247
|
|||
|
'|' reduce 247
|
|||
|
'^' reduce 247
|
|||
|
'/' reduce 247
|
|||
|
'%' reduce 247
|
|||
|
|
|||
|
|
|||
|
203: shift/reduce conflict (shift 296, reduce 238) on '^'
|
|||
|
state 203
|
|||
|
inclusiveorexpression : exclusiveorexpression . (238)
|
|||
|
exclusiveorexpression : exclusiveorexpression . '^' andexpression (248)
|
|||
|
|
|||
|
'^' shift 296
|
|||
|
ABSTRACT reduce 238
|
|||
|
BOOLEAN reduce 238
|
|||
|
CHAR reduce 238
|
|||
|
FINAL reduce 238
|
|||
|
INSTANCEOF reduce 238
|
|||
|
INT reduce 238
|
|||
|
PRIVATE reduce 238
|
|||
|
PROTECTED reduce 238
|
|||
|
PUBLIC reduce 238
|
|||
|
STATIC reduce 238
|
|||
|
VOID reduce 238
|
|||
|
IDENTIFIER reduce 238
|
|||
|
EQUAL reduce 238
|
|||
|
LESSEQUAL reduce 238
|
|||
|
GREATEREQUAL reduce 238
|
|||
|
NOTEQUAL reduce 238
|
|||
|
LOGICALOR reduce 238
|
|||
|
LOGICALAND reduce 238
|
|||
|
INCREMENT reduce 238
|
|||
|
DECREMENT reduce 238
|
|||
|
',' reduce 238
|
|||
|
';' reduce 238
|
|||
|
'.' reduce 238
|
|||
|
'*' reduce 238
|
|||
|
'<' reduce 238
|
|||
|
'>' reduce 238
|
|||
|
'}' reduce 238
|
|||
|
')' reduce 238
|
|||
|
'&' reduce 238
|
|||
|
'+' reduce 238
|
|||
|
'-' reduce 238
|
|||
|
'|' reduce 238
|
|||
|
'/' reduce 238
|
|||
|
'%' reduce 238
|
|||
|
|
|||
|
|
|||
|
204: shift/reduce conflict (shift 297, reduce 226) on '|'
|
|||
|
state 204
|
|||
|
conditionalandexpression : inclusiveorexpression . (226)
|
|||
|
inclusiveorexpression : inclusiveorexpression . '|' exclusiveorexpression (239)
|
|||
|
|
|||
|
'|' shift 297
|
|||
|
ABSTRACT reduce 226
|
|||
|
BOOLEAN reduce 226
|
|||
|
CHAR reduce 226
|
|||
|
FINAL reduce 226
|
|||
|
INSTANCEOF reduce 226
|
|||
|
INT reduce 226
|
|||
|
PRIVATE reduce 226
|
|||
|
PROTECTED reduce 226
|
|||
|
PUBLIC reduce 226
|
|||
|
STATIC reduce 226
|
|||
|
VOID reduce 226
|
|||
|
IDENTIFIER reduce 226
|
|||
|
EQUAL reduce 226
|
|||
|
LESSEQUAL reduce 226
|
|||
|
GREATEREQUAL reduce 226
|
|||
|
NOTEQUAL reduce 226
|
|||
|
LOGICALOR reduce 226
|
|||
|
LOGICALAND reduce 226
|
|||
|
INCREMENT reduce 226
|
|||
|
DECREMENT reduce 226
|
|||
|
',' reduce 226
|
|||
|
';' reduce 226
|
|||
|
'.' reduce 226
|
|||
|
'*' reduce 226
|
|||
|
'<' reduce 226
|
|||
|
'>' reduce 226
|
|||
|
'}' reduce 226
|
|||
|
')' reduce 226
|
|||
|
'&' reduce 226
|
|||
|
'+' reduce 226
|
|||
|
'-' reduce 226
|
|||
|
'^' reduce 226
|
|||
|
'/' reduce 226
|
|||
|
'%' reduce 226
|
|||
|
|
|||
|
|
|||
|
205: shift/reduce conflict (shift 298, reduce 201) on LOGICALAND
|
|||
|
state 205
|
|||
|
conditionalorexpression : conditionalandexpression . (201)
|
|||
|
conditionalandexpression : conditionalandexpression . LOGICALAND inclusiveorexpression (227)
|
|||
|
|
|||
|
LOGICALAND shift 298
|
|||
|
ABSTRACT reduce 201
|
|||
|
BOOLEAN reduce 201
|
|||
|
CHAR reduce 201
|
|||
|
FINAL reduce 201
|
|||
|
INSTANCEOF reduce 201
|
|||
|
INT reduce 201
|
|||
|
PRIVATE reduce 201
|
|||
|
PROTECTED reduce 201
|
|||
|
PUBLIC reduce 201
|
|||
|
STATIC reduce 201
|
|||
|
VOID reduce 201
|
|||
|
IDENTIFIER reduce 201
|
|||
|
EQUAL reduce 201
|
|||
|
LESSEQUAL reduce 201
|
|||
|
GREATEREQUAL reduce 201
|
|||
|
NOTEQUAL reduce 201
|
|||
|
LOGICALOR reduce 201
|
|||
|
INCREMENT reduce 201
|
|||
|
DECREMENT reduce 201
|
|||
|
',' reduce 201
|
|||
|
';' reduce 201
|
|||
|
'.' reduce 201
|
|||
|
'*' reduce 201
|
|||
|
'<' reduce 201
|
|||
|
'>' reduce 201
|
|||
|
'}' reduce 201
|
|||
|
')' reduce 201
|
|||
|
'&' reduce 201
|
|||
|
'+' reduce 201
|
|||
|
'-' reduce 201
|
|||
|
'|' reduce 201
|
|||
|
'^' reduce 201
|
|||
|
'/' reduce 201
|
|||
|
'%' reduce 201
|
|||
|
|
|||
|
|
|||
|
206: shift/reduce conflict (shift 299, reduce 190) on LOGICALOR
|
|||
|
state 206
|
|||
|
conditionalexpression : conditionalorexpression . (190)
|
|||
|
conditionalorexpression : conditionalorexpression . LOGICALOR conditionalandexpression (202)
|
|||
|
|
|||
|
LOGICALOR shift 299
|
|||
|
ABSTRACT reduce 190
|
|||
|
BOOLEAN reduce 190
|
|||
|
CHAR reduce 190
|
|||
|
FINAL reduce 190
|
|||
|
INSTANCEOF reduce 190
|
|||
|
INT reduce 190
|
|||
|
PRIVATE reduce 190
|
|||
|
PROTECTED reduce 190
|
|||
|
PUBLIC reduce 190
|
|||
|
STATIC reduce 190
|
|||
|
VOID reduce 190
|
|||
|
IDENTIFIER reduce 190
|
|||
|
EQUAL reduce 190
|
|||
|
LESSEQUAL reduce 190
|
|||
|
GREATEREQUAL reduce 190
|
|||
|
NOTEQUAL reduce 190
|
|||
|
LOGICALAND reduce 190
|
|||
|
INCREMENT reduce 190
|
|||
|
DECREMENT reduce 190
|
|||
|
',' reduce 190
|
|||
|
';' reduce 190
|
|||
|
'.' reduce 190
|
|||
|
'*' reduce 190
|
|||
|
'<' reduce 190
|
|||
|
'>' reduce 190
|
|||
|
'}' reduce 190
|
|||
|
')' reduce 190
|
|||
|
'&' reduce 190
|
|||
|
'+' reduce 190
|
|||
|
'-' reduce 190
|
|||
|
'|' reduce 190
|
|||
|
'^' reduce 190
|
|||
|
'/' reduce 190
|
|||
|
'%' reduce 190
|
|||
|
|
|||
|
|
|||
|
state 207
|
|||
|
assignmentexpression : conditionalexpression . (181)
|
|||
|
|
|||
|
. reduce 181
|
|||
|
|
|||
|
|
|||
|
state 208
|
|||
|
expression : assignmentexpression . (160)
|
|||
|
|
|||
|
. reduce 160
|
|||
|
|
|||
|
|
|||
|
state 209
|
|||
|
fielddeclarator : variabledeclarator '=' expression . (78)
|
|||
|
|
|||
|
. reduce 78
|
|||
|
|
|||
|
|
|||
|
state 210
|
|||
|
unaryexpression : preincrementexpression . (228)
|
|||
|
|
|||
|
. reduce 228
|
|||
|
|
|||
|
|
|||
|
state 211
|
|||
|
unaryexpression : predecrementexpression . (229)
|
|||
|
|
|||
|
. reduce 229
|
|||
|
|
|||
|
|
|||
|
state 212
|
|||
|
postfixexpression : postincrementexpression . (235)
|
|||
|
|
|||
|
. reduce 235
|
|||
|
|
|||
|
|
|||
|
state 213
|
|||
|
postfixexpression : postdecrementexpression . (236)
|
|||
|
|
|||
|
. reduce 236
|
|||
|
|
|||
|
|
|||
|
state 214
|
|||
|
expression : classinstancecreationexpression . (161)
|
|||
|
|
|||
|
. reduce 161
|
|||
|
|
|||
|
|
|||
|
state 215
|
|||
|
assignmentexpression : assignment . (182)
|
|||
|
|
|||
|
. reduce 182
|
|||
|
|
|||
|
|
|||
|
state 216
|
|||
|
primarynonewarray : methodinvocation . (242)
|
|||
|
|
|||
|
. reduce 242
|
|||
|
|
|||
|
|
|||
|
state 217
|
|||
|
unaryexpressionnotplusminus : castexpression . (246)
|
|||
|
|
|||
|
. reduce 246
|
|||
|
|
|||
|
|
|||
|
state 218
|
|||
|
constructordeclarator : simplename '(' ')' . (87)
|
|||
|
|
|||
|
. reduce 87
|
|||
|
|
|||
|
|
|||
|
state 219
|
|||
|
constructordeclarator : simplename '(' formalparameterlist . ')' (88)
|
|||
|
formalparameterlist : formalparameterlist . ',' formalparameter (134)
|
|||
|
|
|||
|
',' shift 271
|
|||
|
')' shift 300
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 220
|
|||
|
type : primitivetype '[' ']' . (125)
|
|||
|
|
|||
|
. reduce 125
|
|||
|
|
|||
|
|
|||
|
state 221
|
|||
|
type : referencetype '[' ']' . (127)
|
|||
|
|
|||
|
. reduce 127
|
|||
|
|
|||
|
|
|||
|
state 222
|
|||
|
methodheader : type methoddeclarator throws . (107)
|
|||
|
|
|||
|
. reduce 107
|
|||
|
|
|||
|
|
|||
|
state 223
|
|||
|
fielddeclaration : type variabledeclarators ';' . (82)
|
|||
|
|
|||
|
. reduce 82
|
|||
|
|
|||
|
|
|||
|
state 224
|
|||
|
methodheader : modifiers VOID methoddeclarator . (112)
|
|||
|
methodheader : modifiers VOID methoddeclarator . throws (114)
|
|||
|
|
|||
|
THROWS shift 88
|
|||
|
'{' reduce 112
|
|||
|
|
|||
|
throws goto 301
|
|||
|
|
|||
|
|
|||
|
state 225
|
|||
|
boundedMethodParameters : boundedMethodParameters . ',' boundedMethodParameter (102)
|
|||
|
methodheader : modifiers '<' boundedMethodParameters . '>' type methoddeclarator (106)
|
|||
|
methodheader : modifiers '<' boundedMethodParameters . '>' type methoddeclarator throws (110)
|
|||
|
methodheader : modifiers '<' boundedMethodParameters . '>' VOID methoddeclarator (116)
|
|||
|
methodheader : modifiers '<' boundedMethodParameters . '>' VOID methoddeclarator throws (118)
|
|||
|
|
|||
|
',' shift 182
|
|||
|
'>' shift 302
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 226
|
|||
|
methodheader : modifiers methoddeclarator throws . (123)
|
|||
|
|
|||
|
. reduce 123
|
|||
|
|
|||
|
|
|||
|
state 227
|
|||
|
methodheader : modifiers type methoddeclarator . (105)
|
|||
|
methodheader : modifiers type methoddeclarator . throws (109)
|
|||
|
|
|||
|
THROWS shift 88
|
|||
|
'{' reduce 105
|
|||
|
|
|||
|
throws goto 303
|
|||
|
|
|||
|
|
|||
|
state 228
|
|||
|
fielddeclaration : modifiers type variabledeclarators . ';' (83)
|
|||
|
variabledeclarators : variabledeclarators . ',' variabledeclarator (129)
|
|||
|
|
|||
|
',' shift 92
|
|||
|
';' shift 304
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 229
|
|||
|
constructordeclaration : modifiers constructordeclarator constructorbody . (75)
|
|||
|
|
|||
|
. reduce 75
|
|||
|
|
|||
|
|
|||
|
state 230
|
|||
|
explicitconstructorinvocation : THIS . '(' ')' ';' (135)
|
|||
|
explicitconstructorinvocation : THIS . '(' argumentlist ')' ';' (136)
|
|||
|
primarynonewarray : THIS . (241)
|
|||
|
|
|||
|
'(' shift 305
|
|||
|
INCREMENT reduce 241
|
|||
|
DECREMENT reduce 241
|
|||
|
'.' reduce 241
|
|||
|
|
|||
|
|
|||
|
state 231
|
|||
|
constructorbody : '{' '}' . (89)
|
|||
|
|
|||
|
. reduce 89
|
|||
|
|
|||
|
|
|||
|
state 232
|
|||
|
constructorbody : '{' blockstatements . '}' (91)
|
|||
|
blockstatements : blockstatements . blockstatement (132)
|
|||
|
|
|||
|
BOOLEAN shift 37
|
|||
|
CHAR shift 38
|
|||
|
FOR shift 123
|
|||
|
IF shift 124
|
|||
|
INT shift 39
|
|||
|
RETURN shift 125
|
|||
|
THIS shift 126
|
|||
|
WHILE shift 127
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 136
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 139
|
|||
|
'{' shift 79
|
|||
|
'}' shift 306
|
|||
|
'(' shift 141
|
|||
|
. error
|
|||
|
|
|||
|
variabledeclarators goto 142
|
|||
|
variabledeclarator goto 143
|
|||
|
variabledeclaratorid goto 55
|
|||
|
simplename goto 144
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
classorinterfacetype goto 57
|
|||
|
integraltype goto 58
|
|||
|
numerictype goto 59
|
|||
|
primitivetype goto 60
|
|||
|
referencetype goto 61
|
|||
|
type goto 147
|
|||
|
block goto 148
|
|||
|
localvariabledeclarationstatement goto 150
|
|||
|
localvariabledeclaration goto 151
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 156
|
|||
|
lambdaexpression goto 157
|
|||
|
statementexpression goto 158
|
|||
|
preincrementexpression goto 159
|
|||
|
predecrementexpression goto 160
|
|||
|
postincrementexpression goto 161
|
|||
|
postdecrementexpression goto 162
|
|||
|
expressionstatement goto 163
|
|||
|
statementwithouttrailingsubstatement goto 164
|
|||
|
blockstatement goto 255
|
|||
|
statement goto 166
|
|||
|
whilestatement goto 167
|
|||
|
forstatement goto 168
|
|||
|
ifthenstatement goto 169
|
|||
|
ifthenelsestatement goto 170
|
|||
|
emptystatement goto 171
|
|||
|
returnstatement goto 172
|
|||
|
assignment goto 173
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 175
|
|||
|
|
|||
|
|
|||
|
state 233
|
|||
|
constructorbody : '{' explicitconstructorinvocation . '}' (90)
|
|||
|
constructorbody : '{' explicitconstructorinvocation . blockstatements '}' (92)
|
|||
|
|
|||
|
BOOLEAN shift 37
|
|||
|
CHAR shift 38
|
|||
|
FOR shift 123
|
|||
|
IF shift 124
|
|||
|
INT shift 39
|
|||
|
RETURN shift 125
|
|||
|
THIS shift 126
|
|||
|
WHILE shift 127
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 136
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 139
|
|||
|
'{' shift 79
|
|||
|
'}' shift 307
|
|||
|
'(' shift 141
|
|||
|
. error
|
|||
|
|
|||
|
variabledeclarators goto 142
|
|||
|
variabledeclarator goto 143
|
|||
|
variabledeclaratorid goto 55
|
|||
|
simplename goto 144
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
classorinterfacetype goto 57
|
|||
|
integraltype goto 58
|
|||
|
numerictype goto 59
|
|||
|
primitivetype goto 60
|
|||
|
referencetype goto 61
|
|||
|
type goto 147
|
|||
|
block goto 148
|
|||
|
blockstatements goto 308
|
|||
|
localvariabledeclarationstatement goto 150
|
|||
|
localvariabledeclaration goto 151
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 156
|
|||
|
lambdaexpression goto 157
|
|||
|
statementexpression goto 158
|
|||
|
preincrementexpression goto 159
|
|||
|
predecrementexpression goto 160
|
|||
|
postincrementexpression goto 161
|
|||
|
postdecrementexpression goto 162
|
|||
|
expressionstatement goto 163
|
|||
|
statementwithouttrailingsubstatement goto 164
|
|||
|
blockstatement goto 165
|
|||
|
statement goto 166
|
|||
|
whilestatement goto 167
|
|||
|
forstatement goto 168
|
|||
|
ifthenstatement goto 169
|
|||
|
ifthenelsestatement goto 170
|
|||
|
emptystatement goto 171
|
|||
|
returnstatement goto 172
|
|||
|
assignment goto 173
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 175
|
|||
|
|
|||
|
|
|||
|
state 234
|
|||
|
classdeclaration : modifiers CLASS classidentifier super interfaces classbody . (22)
|
|||
|
|
|||
|
. reduce 22
|
|||
|
|
|||
|
|
|||
|
state 235
|
|||
|
boundedclassidentifierlist : boundedclassidentifierlist '&' . referencetype (100)
|
|||
|
|
|||
|
IDENTIFIER shift 31
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 32
|
|||
|
classorinterfacetype goto 57
|
|||
|
referencetype goto 309
|
|||
|
|
|||
|
|
|||
|
state 236
|
|||
|
paralist : IDENTIFIER '<' . paralist '>' (32)
|
|||
|
|
|||
|
IDENTIFIER shift 119
|
|||
|
'?' shift 120
|
|||
|
. error
|
|||
|
|
|||
|
paralist goto 310
|
|||
|
wildcardparameter goto 122
|
|||
|
|
|||
|
|
|||
|
state 237
|
|||
|
wildcardparameter : '?' EXTENDS . referencetype (38)
|
|||
|
|
|||
|
IDENTIFIER shift 31
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 32
|
|||
|
classorinterfacetype goto 57
|
|||
|
referencetype goto 311
|
|||
|
|
|||
|
|
|||
|
state 238
|
|||
|
wildcardparameter : '?' SUPER . referencetype (39)
|
|||
|
|
|||
|
IDENTIFIER shift 31
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 32
|
|||
|
classorinterfacetype goto 57
|
|||
|
referencetype goto 312
|
|||
|
|
|||
|
|
|||
|
state 239
|
|||
|
paralist : paralist ',' . IDENTIFIER (34)
|
|||
|
paralist : paralist ',' . IDENTIFIER '<' paralist '>' (35)
|
|||
|
paralist : paralist ',' . wildcardparameter (36)
|
|||
|
|
|||
|
IDENTIFIER shift 313
|
|||
|
'?' shift 120
|
|||
|
. error
|
|||
|
|
|||
|
wildcardparameter goto 314
|
|||
|
|
|||
|
|
|||
|
state 240
|
|||
|
parameter : '<' paralist '>' . (68)
|
|||
|
|
|||
|
. reduce 68
|
|||
|
|
|||
|
|
|||
|
state 241
|
|||
|
forstatement : FOR '(' . expression ';' expression ';' expression ')' statement (173)
|
|||
|
forstatement : FOR '(' . expression ';' expression ';' ')' statement (174)
|
|||
|
forstatement : FOR '(' . expression ';' ';' expression ')' statement (175)
|
|||
|
forstatement : FOR '(' . ';' expression ';' expression ')' statement (176)
|
|||
|
forstatement : FOR '(' . expression ';' ';' ')' statement (177)
|
|||
|
forstatement : FOR '(' . ';' expression ';' ')' statement (178)
|
|||
|
forstatement : FOR '(' . ';' ';' expression ')' statement (179)
|
|||
|
forstatement : FOR '(' . ';' ';' ')' statement (180)
|
|||
|
|
|||
|
NEW shift 188
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 315
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 205
|
|||
|
conditionalorexpression goto 206
|
|||
|
conditionalexpression goto 207
|
|||
|
assignmentexpression goto 208
|
|||
|
lambdaexpression goto 157
|
|||
|
expression goto 316
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
classinstancecreationexpression goto 214
|
|||
|
assignment goto 215
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 242
|
|||
|
ifthenstatement : IF '(' . expression ')' statement (170)
|
|||
|
ifthenelsestatement : IF '(' . expression ')' statementnoshortif ELSE statement (171)
|
|||
|
|
|||
|
NEW shift 188
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 205
|
|||
|
conditionalorexpression goto 206
|
|||
|
conditionalexpression goto 207
|
|||
|
assignmentexpression goto 208
|
|||
|
lambdaexpression goto 157
|
|||
|
expression goto 317
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
classinstancecreationexpression goto 214
|
|||
|
assignment goto 215
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 243
|
|||
|
returnstatement : RETURN ';' . (185)
|
|||
|
|
|||
|
. reduce 185
|
|||
|
|
|||
|
|
|||
|
state 244
|
|||
|
returnstatement : RETURN expression . ';' (186)
|
|||
|
|
|||
|
';' shift 318
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 245
|
|||
|
whilestatement : WHILE '(' . expression ')' statement (172)
|
|||
|
|
|||
|
NEW shift 188
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 205
|
|||
|
conditionalorexpression goto 206
|
|||
|
conditionalexpression goto 207
|
|||
|
assignmentexpression goto 208
|
|||
|
lambdaexpression goto 157
|
|||
|
expression goto 319
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
classinstancecreationexpression goto 214
|
|||
|
assignment goto 215
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
246: shift/reduce conflict (shift 251, reduce 234) on '.'
|
|||
|
state 246
|
|||
|
qualifiedname : name . '.' IDENTIFIER (11)
|
|||
|
methodinvocation : name . '(' ')' (220)
|
|||
|
methodinvocation : name . '(' argumentlist ')' (221)
|
|||
|
postfixexpression : name . (234)
|
|||
|
|
|||
|
'.' shift 251
|
|||
|
'(' shift 252
|
|||
|
ABSTRACT reduce 234
|
|||
|
BOOLEAN reduce 234
|
|||
|
CHAR reduce 234
|
|||
|
FINAL reduce 234
|
|||
|
INSTANCEOF reduce 234
|
|||
|
INT reduce 234
|
|||
|
PRIVATE reduce 234
|
|||
|
PROTECTED reduce 234
|
|||
|
PUBLIC reduce 234
|
|||
|
STATIC reduce 234
|
|||
|
VOID reduce 234
|
|||
|
IDENTIFIER reduce 234
|
|||
|
EQUAL reduce 234
|
|||
|
LESSEQUAL reduce 234
|
|||
|
GREATEREQUAL reduce 234
|
|||
|
NOTEQUAL reduce 234
|
|||
|
LOGICALOR reduce 234
|
|||
|
LOGICALAND reduce 234
|
|||
|
INCREMENT reduce 234
|
|||
|
DECREMENT reduce 234
|
|||
|
',' reduce 234
|
|||
|
';' reduce 234
|
|||
|
'*' reduce 234
|
|||
|
'<' reduce 234
|
|||
|
'>' reduce 234
|
|||
|
'}' reduce 234
|
|||
|
')' reduce 234
|
|||
|
'&' reduce 234
|
|||
|
'+' reduce 234
|
|||
|
'-' reduce 234
|
|||
|
'|' reduce 234
|
|||
|
'^' reduce 234
|
|||
|
'/' reduce 234
|
|||
|
'%' reduce 234
|
|||
|
|
|||
|
|
|||
|
state 247
|
|||
|
preincrementexpression : INCREMENT unaryexpression . (216)
|
|||
|
|
|||
|
. reduce 216
|
|||
|
|
|||
|
|
|||
|
state 248
|
|||
|
predecrementexpression : DECREMENT unaryexpression . (217)
|
|||
|
|
|||
|
. reduce 217
|
|||
|
|
|||
|
|
|||
|
state 249
|
|||
|
lambdaexpressionparameter : '(' ')' . (206)
|
|||
|
|
|||
|
. reduce 206
|
|||
|
|
|||
|
|
|||
|
state 250
|
|||
|
formalparameterlist : formalparameterlist . ',' formalparameter (134)
|
|||
|
lambdaexpressionparameter : '(' formalparameterlist . ')' (207)
|
|||
|
|
|||
|
',' shift 271
|
|||
|
')' shift 320
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 251
|
|||
|
qualifiedname : name '.' . IDENTIFIER (11)
|
|||
|
|
|||
|
IDENTIFIER shift 321
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 252
|
|||
|
methodinvocation : name '(' . ')' (220)
|
|||
|
methodinvocation : name '(' . argumentlist ')' (221)
|
|||
|
|
|||
|
NEW shift 188
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
')' shift 322
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 205
|
|||
|
conditionalorexpression goto 206
|
|||
|
conditionalexpression goto 207
|
|||
|
assignmentexpression goto 208
|
|||
|
lambdaexpression goto 157
|
|||
|
expression goto 323
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
classinstancecreationexpression goto 214
|
|||
|
assignment goto 215
|
|||
|
lefthandside goto 174
|
|||
|
argumentlist goto 324
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 253
|
|||
|
variabledeclarators : variabledeclarators . ',' variabledeclarator (129)
|
|||
|
localvariabledeclaration : type variabledeclarators . (164)
|
|||
|
|
|||
|
',' shift 92
|
|||
|
';' reduce 164
|
|||
|
|
|||
|
|
|||
|
state 254
|
|||
|
block : '{' blockstatements '}' . (86)
|
|||
|
|
|||
|
. reduce 86
|
|||
|
|
|||
|
|
|||
|
state 255
|
|||
|
blockstatements : blockstatements blockstatement . (132)
|
|||
|
|
|||
|
. reduce 132
|
|||
|
|
|||
|
|
|||
|
state 256
|
|||
|
localvariabledeclarationstatement : localvariabledeclaration ';' . (154)
|
|||
|
|
|||
|
. reduce 154
|
|||
|
|
|||
|
|
|||
|
state 257
|
|||
|
lambdaassignmentoperator : LAMBDAASSIGNMENT . (203)
|
|||
|
|
|||
|
. reduce 203
|
|||
|
|
|||
|
|
|||
|
state 258
|
|||
|
lambdaexpression : lambdaexpressionparameter lambdaassignmentoperator . lambdabody (208)
|
|||
|
|
|||
|
NEW shift 188
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'{' shift 79
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
block goto 325
|
|||
|
lambdabody goto 326
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 205
|
|||
|
conditionalorexpression goto 206
|
|||
|
conditionalexpression goto 207
|
|||
|
assignmentexpression goto 208
|
|||
|
lambdaexpression goto 157
|
|||
|
expression goto 327
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
classinstancecreationexpression goto 214
|
|||
|
assignment goto 215
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 259
|
|||
|
methodinvocation : primary '.' . IDENTIFIER '(' ')' (222)
|
|||
|
methodinvocation : primary '.' . IDENTIFIER '(' argumentlist ')' (223)
|
|||
|
|
|||
|
IDENTIFIER shift 328
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 260
|
|||
|
postincrementexpression : postfixexpression INCREMENT . (218)
|
|||
|
|
|||
|
. reduce 218
|
|||
|
|
|||
|
|
|||
|
state 261
|
|||
|
postdecrementexpression : postfixexpression DECREMENT . (219)
|
|||
|
|
|||
|
. reduce 219
|
|||
|
|
|||
|
|
|||
|
state 262
|
|||
|
expressionstatement : statementexpression ';' . (184)
|
|||
|
|
|||
|
. reduce 184
|
|||
|
|
|||
|
|
|||
|
state 263
|
|||
|
assignmentoperator : PLUSEQUAL . (214)
|
|||
|
|
|||
|
. reduce 214
|
|||
|
|
|||
|
|
|||
|
state 264
|
|||
|
assignmentoperator : MINUSEQUAL . (215)
|
|||
|
|
|||
|
. reduce 215
|
|||
|
|
|||
|
|
|||
|
state 265
|
|||
|
assignmentoperator : TIMESEQUAL . (211)
|
|||
|
|
|||
|
. reduce 211
|
|||
|
|
|||
|
|
|||
|
state 266
|
|||
|
assignmentoperator : DIVIDEEQUAL . (212)
|
|||
|
|
|||
|
. reduce 212
|
|||
|
|
|||
|
|
|||
|
state 267
|
|||
|
assignmentoperator : MODULOEQUAL . (213)
|
|||
|
|
|||
|
. reduce 213
|
|||
|
|
|||
|
|
|||
|
state 268
|
|||
|
assignmentoperator : '=' . (210)
|
|||
|
|
|||
|
. reduce 210
|
|||
|
|
|||
|
|
|||
|
state 269
|
|||
|
assignment : lefthandside assignmentoperator . assignmentexpression (191)
|
|||
|
assignment : lefthandside assignmentoperator . classinstancecreationexpression (192)
|
|||
|
|
|||
|
NEW shift 188
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 205
|
|||
|
conditionalorexpression goto 206
|
|||
|
conditionalexpression goto 207
|
|||
|
assignmentexpression goto 329
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
classinstancecreationexpression goto 330
|
|||
|
assignment goto 215
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 270
|
|||
|
formalparameter : type variabledeclaratorid . (147)
|
|||
|
|
|||
|
. reduce 147
|
|||
|
|
|||
|
|
|||
|
state 271
|
|||
|
formalparameterlist : formalparameterlist ',' . formalparameter (134)
|
|||
|
|
|||
|
BOOLEAN shift 37
|
|||
|
CHAR shift 38
|
|||
|
INT shift 39
|
|||
|
IDENTIFIER shift 136
|
|||
|
. error
|
|||
|
|
|||
|
variabledeclaratorid goto 178
|
|||
|
simplename goto 32
|
|||
|
classorinterfacetype goto 57
|
|||
|
integraltype goto 58
|
|||
|
numerictype goto 59
|
|||
|
primitivetype goto 60
|
|||
|
referencetype goto 61
|
|||
|
type goto 179
|
|||
|
formalparameter goto 331
|
|||
|
|
|||
|
|
|||
|
state 272
|
|||
|
methoddeclarator : IDENTIFIER '(' formalparameterlist ')' . (140)
|
|||
|
|
|||
|
. reduce 140
|
|||
|
|
|||
|
|
|||
|
state 273
|
|||
|
boundedMethodParameters : boundedMethodParameters ',' boundedMethodParameter . (102)
|
|||
|
|
|||
|
. reduce 102
|
|||
|
|
|||
|
|
|||
|
state 274
|
|||
|
methodheader : '<' boundedMethodParameters '>' VOID . methoddeclarator (115)
|
|||
|
methodheader : '<' boundedMethodParameters '>' VOID . methoddeclarator throws (117)
|
|||
|
|
|||
|
IDENTIFIER shift 81
|
|||
|
. error
|
|||
|
|
|||
|
methoddeclarator goto 332
|
|||
|
|
|||
|
|
|||
|
state 275
|
|||
|
methodheader : '<' boundedMethodParameters '>' methoddeclarator . (120)
|
|||
|
|
|||
|
. reduce 120
|
|||
|
|
|||
|
|
|||
|
state 276
|
|||
|
methodheader : '<' boundedMethodParameters '>' type . methoddeclarator (103)
|
|||
|
methodheader : '<' boundedMethodParameters '>' type . methoddeclarator throws (108)
|
|||
|
|
|||
|
IDENTIFIER shift 81
|
|||
|
. error
|
|||
|
|
|||
|
methoddeclarator goto 333
|
|||
|
|
|||
|
|
|||
|
state 277
|
|||
|
classtypelist : classtypelist ',' . classtype (138)
|
|||
|
|
|||
|
IDENTIFIER shift 31
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 32
|
|||
|
classtype goto 334
|
|||
|
classorinterfacetype goto 34
|
|||
|
|
|||
|
|
|||
|
state 278
|
|||
|
classinstancecreationexpression : NEW classtype . '(' ')' (224)
|
|||
|
classinstancecreationexpression : NEW classtype . '(' argumentlist ')' (225)
|
|||
|
|
|||
|
'(' shift 335
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 279
|
|||
|
type : primitivetype . (124)
|
|||
|
type : primitivetype . '[' ']' (125)
|
|||
|
castexpression : '(' primitivetype . ')' unaryexpression (257)
|
|||
|
|
|||
|
')' shift 336
|
|||
|
'[' shift 97
|
|||
|
IDENTIFIER reduce 124
|
|||
|
|
|||
|
|
|||
|
state 280
|
|||
|
unaryexpression : '+' unaryexpression . (230)
|
|||
|
|
|||
|
. reduce 230
|
|||
|
|
|||
|
|
|||
|
state 281
|
|||
|
unaryexpression : '-' unaryexpression . (231)
|
|||
|
|
|||
|
. reduce 231
|
|||
|
|
|||
|
|
|||
|
state 282
|
|||
|
unaryexpressionnotplusminus : '!' unaryexpression . (245)
|
|||
|
|
|||
|
. reduce 245
|
|||
|
|
|||
|
|
|||
|
state 283
|
|||
|
multiplicativeexpression : multiplicativeexpression '*' . unaryexpression (274)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 337
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 284
|
|||
|
multiplicativeexpression : multiplicativeexpression '/' . unaryexpression (275)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 338
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 285
|
|||
|
multiplicativeexpression : multiplicativeexpression '%' . unaryexpression (276)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 339
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 286
|
|||
|
additiveexpression : additiveexpression '+' . multiplicativeexpression (271)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 340
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 287
|
|||
|
additiveexpression : additiveexpression '-' . multiplicativeexpression (272)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 341
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 288
|
|||
|
relationalexpression : relationalexpression INSTANCEOF . referencetype (268)
|
|||
|
|
|||
|
IDENTIFIER shift 31
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 32
|
|||
|
classorinterfacetype goto 57
|
|||
|
referencetype goto 342
|
|||
|
|
|||
|
|
|||
|
state 289
|
|||
|
relationalexpression : relationalexpression LESSEQUAL . shiftexpression (266)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 343
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 290
|
|||
|
relationalexpression : relationalexpression GREATEREQUAL . shiftexpression (267)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 344
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 291
|
|||
|
relationalexpression : relationalexpression '<' . shiftexpression (264)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 345
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 292
|
|||
|
relationalexpression : relationalexpression '>' . shiftexpression (265)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 346
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 293
|
|||
|
equalityexpression : equalityexpression EQUAL . relationalexpression (261)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 347
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 294
|
|||
|
equalityexpression : equalityexpression NOTEQUAL . relationalexpression (262)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 348
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 295
|
|||
|
andexpression : andexpression '&' . equalityexpression (259)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 349
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 296
|
|||
|
exclusiveorexpression : exclusiveorexpression '^' . andexpression (248)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 350
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 297
|
|||
|
inclusiveorexpression : inclusiveorexpression '|' . exclusiveorexpression (239)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 351
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 298
|
|||
|
conditionalandexpression : conditionalandexpression LOGICALAND . inclusiveorexpression (227)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 352
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 299
|
|||
|
conditionalorexpression : conditionalorexpression LOGICALOR . conditionalandexpression (202)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 353
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 300
|
|||
|
constructordeclarator : simplename '(' formalparameterlist ')' . (88)
|
|||
|
|
|||
|
. reduce 88
|
|||
|
|
|||
|
|
|||
|
state 301
|
|||
|
methodheader : modifiers VOID methoddeclarator throws . (114)
|
|||
|
|
|||
|
. reduce 114
|
|||
|
|
|||
|
|
|||
|
state 302
|
|||
|
methodheader : modifiers '<' boundedMethodParameters '>' . type methoddeclarator (106)
|
|||
|
methodheader : modifiers '<' boundedMethodParameters '>' . type methoddeclarator throws (110)
|
|||
|
methodheader : modifiers '<' boundedMethodParameters '>' . VOID methoddeclarator (116)
|
|||
|
methodheader : modifiers '<' boundedMethodParameters '>' . VOID methoddeclarator throws (118)
|
|||
|
|
|||
|
BOOLEAN shift 37
|
|||
|
CHAR shift 38
|
|||
|
INT shift 39
|
|||
|
VOID shift 354
|
|||
|
IDENTIFIER shift 31
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 32
|
|||
|
classorinterfacetype goto 57
|
|||
|
integraltype goto 58
|
|||
|
numerictype goto 59
|
|||
|
primitivetype goto 60
|
|||
|
referencetype goto 61
|
|||
|
type goto 355
|
|||
|
|
|||
|
|
|||
|
state 303
|
|||
|
methodheader : modifiers type methoddeclarator throws . (109)
|
|||
|
|
|||
|
. reduce 109
|
|||
|
|
|||
|
|
|||
|
state 304
|
|||
|
fielddeclaration : modifiers type variabledeclarators ';' . (83)
|
|||
|
|
|||
|
. reduce 83
|
|||
|
|
|||
|
|
|||
|
state 305
|
|||
|
explicitconstructorinvocation : THIS '(' . ')' ';' (135)
|
|||
|
explicitconstructorinvocation : THIS '(' . argumentlist ')' ';' (136)
|
|||
|
|
|||
|
NEW shift 188
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
')' shift 356
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 205
|
|||
|
conditionalorexpression goto 206
|
|||
|
conditionalexpression goto 207
|
|||
|
assignmentexpression goto 208
|
|||
|
lambdaexpression goto 157
|
|||
|
expression goto 323
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
classinstancecreationexpression goto 214
|
|||
|
assignment goto 215
|
|||
|
lefthandside goto 174
|
|||
|
argumentlist goto 357
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 306
|
|||
|
constructorbody : '{' blockstatements '}' . (91)
|
|||
|
|
|||
|
. reduce 91
|
|||
|
|
|||
|
|
|||
|
state 307
|
|||
|
constructorbody : '{' explicitconstructorinvocation '}' . (90)
|
|||
|
|
|||
|
. reduce 90
|
|||
|
|
|||
|
|
|||
|
state 308
|
|||
|
constructorbody : '{' explicitconstructorinvocation blockstatements . '}' (92)
|
|||
|
blockstatements : blockstatements . blockstatement (132)
|
|||
|
|
|||
|
BOOLEAN shift 37
|
|||
|
CHAR shift 38
|
|||
|
FOR shift 123
|
|||
|
IF shift 124
|
|||
|
INT shift 39
|
|||
|
RETURN shift 125
|
|||
|
THIS shift 126
|
|||
|
WHILE shift 127
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 136
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 139
|
|||
|
'{' shift 79
|
|||
|
'}' shift 358
|
|||
|
'(' shift 141
|
|||
|
. error
|
|||
|
|
|||
|
variabledeclarators goto 142
|
|||
|
variabledeclarator goto 143
|
|||
|
variabledeclaratorid goto 55
|
|||
|
simplename goto 144
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
classorinterfacetype goto 57
|
|||
|
integraltype goto 58
|
|||
|
numerictype goto 59
|
|||
|
primitivetype goto 60
|
|||
|
referencetype goto 61
|
|||
|
type goto 147
|
|||
|
block goto 148
|
|||
|
localvariabledeclarationstatement goto 150
|
|||
|
localvariabledeclaration goto 151
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 156
|
|||
|
lambdaexpression goto 157
|
|||
|
statementexpression goto 158
|
|||
|
preincrementexpression goto 159
|
|||
|
predecrementexpression goto 160
|
|||
|
postincrementexpression goto 161
|
|||
|
postdecrementexpression goto 162
|
|||
|
expressionstatement goto 163
|
|||
|
statementwithouttrailingsubstatement goto 164
|
|||
|
blockstatement goto 255
|
|||
|
statement goto 166
|
|||
|
whilestatement goto 167
|
|||
|
forstatement goto 168
|
|||
|
ifthenstatement goto 169
|
|||
|
ifthenelsestatement goto 170
|
|||
|
emptystatement goto 171
|
|||
|
returnstatement goto 172
|
|||
|
assignment goto 173
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 175
|
|||
|
|
|||
|
|
|||
|
state 309
|
|||
|
boundedclassidentifierlist : boundedclassidentifierlist '&' referencetype . (100)
|
|||
|
|
|||
|
. reduce 100
|
|||
|
|
|||
|
|
|||
|
state 310
|
|||
|
paralist : IDENTIFIER '<' paralist . '>' (32)
|
|||
|
paralist : paralist . ',' IDENTIFIER (34)
|
|||
|
paralist : paralist . ',' IDENTIFIER '<' paralist '>' (35)
|
|||
|
paralist : paralist . ',' wildcardparameter (36)
|
|||
|
|
|||
|
',' shift 239
|
|||
|
'>' shift 359
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 311
|
|||
|
wildcardparameter : '?' EXTENDS referencetype . (38)
|
|||
|
|
|||
|
. reduce 38
|
|||
|
|
|||
|
|
|||
|
state 312
|
|||
|
wildcardparameter : '?' SUPER referencetype . (39)
|
|||
|
|
|||
|
. reduce 39
|
|||
|
|
|||
|
|
|||
|
state 313
|
|||
|
paralist : paralist ',' IDENTIFIER . (34)
|
|||
|
paralist : paralist ',' IDENTIFIER . '<' paralist '>' (35)
|
|||
|
|
|||
|
'<' shift 360
|
|||
|
',' reduce 34
|
|||
|
'>' reduce 34
|
|||
|
|
|||
|
|
|||
|
state 314
|
|||
|
paralist : paralist ',' wildcardparameter . (36)
|
|||
|
|
|||
|
. reduce 36
|
|||
|
|
|||
|
|
|||
|
state 315
|
|||
|
forstatement : FOR '(' ';' . expression ';' expression ')' statement (176)
|
|||
|
forstatement : FOR '(' ';' . expression ';' ')' statement (178)
|
|||
|
forstatement : FOR '(' ';' . ';' expression ')' statement (179)
|
|||
|
forstatement : FOR '(' ';' . ';' ')' statement (180)
|
|||
|
|
|||
|
NEW shift 188
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 361
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 205
|
|||
|
conditionalorexpression goto 206
|
|||
|
conditionalexpression goto 207
|
|||
|
assignmentexpression goto 208
|
|||
|
lambdaexpression goto 157
|
|||
|
expression goto 362
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
classinstancecreationexpression goto 214
|
|||
|
assignment goto 215
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 316
|
|||
|
forstatement : FOR '(' expression . ';' expression ';' expression ')' statement (173)
|
|||
|
forstatement : FOR '(' expression . ';' expression ';' ')' statement (174)
|
|||
|
forstatement : FOR '(' expression . ';' ';' expression ')' statement (175)
|
|||
|
forstatement : FOR '(' expression . ';' ';' ')' statement (177)
|
|||
|
|
|||
|
';' shift 363
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 317
|
|||
|
ifthenstatement : IF '(' expression . ')' statement (170)
|
|||
|
ifthenelsestatement : IF '(' expression . ')' statementnoshortif ELSE statement (171)
|
|||
|
|
|||
|
')' shift 364
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 318
|
|||
|
returnstatement : RETURN expression ';' . (186)
|
|||
|
|
|||
|
. reduce 186
|
|||
|
|
|||
|
|
|||
|
state 319
|
|||
|
whilestatement : WHILE '(' expression . ')' statement (172)
|
|||
|
|
|||
|
')' shift 365
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 320
|
|||
|
lambdaexpressionparameter : '(' formalparameterlist ')' . (207)
|
|||
|
|
|||
|
. reduce 207
|
|||
|
|
|||
|
|
|||
|
state 321
|
|||
|
qualifiedname : name '.' IDENTIFIER . (11)
|
|||
|
|
|||
|
. reduce 11
|
|||
|
|
|||
|
|
|||
|
state 322
|
|||
|
methodinvocation : name '(' ')' . (220)
|
|||
|
|
|||
|
. reduce 220
|
|||
|
|
|||
|
|
|||
|
state 323
|
|||
|
argumentlist : expression . (149)
|
|||
|
|
|||
|
. reduce 149
|
|||
|
|
|||
|
|
|||
|
state 324
|
|||
|
argumentlist : argumentlist . ',' expression (150)
|
|||
|
methodinvocation : name '(' argumentlist . ')' (221)
|
|||
|
|
|||
|
',' shift 366
|
|||
|
')' shift 367
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 325
|
|||
|
lambdabody : block . (204)
|
|||
|
|
|||
|
. reduce 204
|
|||
|
|
|||
|
|
|||
|
state 326
|
|||
|
lambdaexpression : lambdaexpressionparameter lambdaassignmentoperator lambdabody . (208)
|
|||
|
|
|||
|
. reduce 208
|
|||
|
|
|||
|
|
|||
|
state 327
|
|||
|
lambdabody : expression . (205)
|
|||
|
|
|||
|
. reduce 205
|
|||
|
|
|||
|
|
|||
|
state 328
|
|||
|
methodinvocation : primary '.' IDENTIFIER . '(' ')' (222)
|
|||
|
methodinvocation : primary '.' IDENTIFIER . '(' argumentlist ')' (223)
|
|||
|
|
|||
|
'(' shift 368
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 329
|
|||
|
assignment : lefthandside assignmentoperator assignmentexpression . (191)
|
|||
|
|
|||
|
. reduce 191
|
|||
|
|
|||
|
|
|||
|
state 330
|
|||
|
assignment : lefthandside assignmentoperator classinstancecreationexpression . (192)
|
|||
|
|
|||
|
. reduce 192
|
|||
|
|
|||
|
|
|||
|
state 331
|
|||
|
formalparameterlist : formalparameterlist ',' formalparameter . (134)
|
|||
|
|
|||
|
. reduce 134
|
|||
|
|
|||
|
|
|||
|
state 332
|
|||
|
methodheader : '<' boundedMethodParameters '>' VOID methoddeclarator . (115)
|
|||
|
methodheader : '<' boundedMethodParameters '>' VOID methoddeclarator . throws (117)
|
|||
|
|
|||
|
THROWS shift 88
|
|||
|
'{' reduce 115
|
|||
|
|
|||
|
throws goto 369
|
|||
|
|
|||
|
|
|||
|
state 333
|
|||
|
methodheader : '<' boundedMethodParameters '>' type methoddeclarator . (103)
|
|||
|
methodheader : '<' boundedMethodParameters '>' type methoddeclarator . throws (108)
|
|||
|
|
|||
|
THROWS shift 88
|
|||
|
'{' reduce 103
|
|||
|
|
|||
|
throws goto 370
|
|||
|
|
|||
|
|
|||
|
state 334
|
|||
|
classtypelist : classtypelist ',' classtype . (138)
|
|||
|
|
|||
|
. reduce 138
|
|||
|
|
|||
|
|
|||
|
state 335
|
|||
|
classinstancecreationexpression : NEW classtype '(' . ')' (224)
|
|||
|
classinstancecreationexpression : NEW classtype '(' . argumentlist ')' (225)
|
|||
|
|
|||
|
NEW shift 188
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
')' shift 371
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 205
|
|||
|
conditionalorexpression goto 206
|
|||
|
conditionalexpression goto 207
|
|||
|
assignmentexpression goto 208
|
|||
|
lambdaexpression goto 157
|
|||
|
expression goto 323
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
classinstancecreationexpression goto 214
|
|||
|
assignment goto 215
|
|||
|
lefthandside goto 174
|
|||
|
argumentlist goto 372
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 336
|
|||
|
castexpression : '(' primitivetype ')' . unaryexpression (257)
|
|||
|
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 246
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 373
|
|||
|
lambdaexpression goto 157
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 337
|
|||
|
multiplicativeexpression : multiplicativeexpression '*' unaryexpression . (274)
|
|||
|
|
|||
|
. reduce 274
|
|||
|
|
|||
|
|
|||
|
state 338
|
|||
|
multiplicativeexpression : multiplicativeexpression '/' unaryexpression . (275)
|
|||
|
|
|||
|
. reduce 275
|
|||
|
|
|||
|
|
|||
|
state 339
|
|||
|
multiplicativeexpression : multiplicativeexpression '%' unaryexpression . (276)
|
|||
|
|
|||
|
. reduce 276
|
|||
|
|
|||
|
|
|||
|
340: shift/reduce conflict (shift 283, reduce 271) on '*'
|
|||
|
340: shift/reduce conflict (shift 284, reduce 271) on '/'
|
|||
|
340: shift/reduce conflict (shift 285, reduce 271) on '%'
|
|||
|
state 340
|
|||
|
additiveexpression : additiveexpression '+' multiplicativeexpression . (271)
|
|||
|
multiplicativeexpression : multiplicativeexpression . '*' unaryexpression (274)
|
|||
|
multiplicativeexpression : multiplicativeexpression . '/' unaryexpression (275)
|
|||
|
multiplicativeexpression : multiplicativeexpression . '%' unaryexpression (276)
|
|||
|
|
|||
|
'*' shift 283
|
|||
|
'/' shift 284
|
|||
|
'%' shift 285
|
|||
|
ABSTRACT reduce 271
|
|||
|
BOOLEAN reduce 271
|
|||
|
CHAR reduce 271
|
|||
|
FINAL reduce 271
|
|||
|
INSTANCEOF reduce 271
|
|||
|
INT reduce 271
|
|||
|
PRIVATE reduce 271
|
|||
|
PROTECTED reduce 271
|
|||
|
PUBLIC reduce 271
|
|||
|
STATIC reduce 271
|
|||
|
VOID reduce 271
|
|||
|
IDENTIFIER reduce 271
|
|||
|
EQUAL reduce 271
|
|||
|
LESSEQUAL reduce 271
|
|||
|
GREATEREQUAL reduce 271
|
|||
|
NOTEQUAL reduce 271
|
|||
|
LOGICALOR reduce 271
|
|||
|
LOGICALAND reduce 271
|
|||
|
INCREMENT reduce 271
|
|||
|
DECREMENT reduce 271
|
|||
|
',' reduce 271
|
|||
|
';' reduce 271
|
|||
|
'.' reduce 271
|
|||
|
'<' reduce 271
|
|||
|
'>' reduce 271
|
|||
|
'}' reduce 271
|
|||
|
')' reduce 271
|
|||
|
'&' reduce 271
|
|||
|
'+' reduce 271
|
|||
|
'-' reduce 271
|
|||
|
'|' reduce 271
|
|||
|
'^' reduce 271
|
|||
|
|
|||
|
|
|||
|
341: shift/reduce conflict (shift 283, reduce 272) on '*'
|
|||
|
341: shift/reduce conflict (shift 284, reduce 272) on '/'
|
|||
|
341: shift/reduce conflict (shift 285, reduce 272) on '%'
|
|||
|
state 341
|
|||
|
additiveexpression : additiveexpression '-' multiplicativeexpression . (272)
|
|||
|
multiplicativeexpression : multiplicativeexpression . '*' unaryexpression (274)
|
|||
|
multiplicativeexpression : multiplicativeexpression . '/' unaryexpression (275)
|
|||
|
multiplicativeexpression : multiplicativeexpression . '%' unaryexpression (276)
|
|||
|
|
|||
|
'*' shift 283
|
|||
|
'/' shift 284
|
|||
|
'%' shift 285
|
|||
|
ABSTRACT reduce 272
|
|||
|
BOOLEAN reduce 272
|
|||
|
CHAR reduce 272
|
|||
|
FINAL reduce 272
|
|||
|
INSTANCEOF reduce 272
|
|||
|
INT reduce 272
|
|||
|
PRIVATE reduce 272
|
|||
|
PROTECTED reduce 272
|
|||
|
PUBLIC reduce 272
|
|||
|
STATIC reduce 272
|
|||
|
VOID reduce 272
|
|||
|
IDENTIFIER reduce 272
|
|||
|
EQUAL reduce 272
|
|||
|
LESSEQUAL reduce 272
|
|||
|
GREATEREQUAL reduce 272
|
|||
|
NOTEQUAL reduce 272
|
|||
|
LOGICALOR reduce 272
|
|||
|
LOGICALAND reduce 272
|
|||
|
INCREMENT reduce 272
|
|||
|
DECREMENT reduce 272
|
|||
|
',' reduce 272
|
|||
|
';' reduce 272
|
|||
|
'.' reduce 272
|
|||
|
'<' reduce 272
|
|||
|
'>' reduce 272
|
|||
|
'}' reduce 272
|
|||
|
')' reduce 272
|
|||
|
'&' reduce 272
|
|||
|
'+' reduce 272
|
|||
|
'-' reduce 272
|
|||
|
'|' reduce 272
|
|||
|
'^' reduce 272
|
|||
|
|
|||
|
|
|||
|
state 342
|
|||
|
relationalexpression : relationalexpression INSTANCEOF referencetype . (268)
|
|||
|
|
|||
|
. reduce 268
|
|||
|
|
|||
|
|
|||
|
state 343
|
|||
|
relationalexpression : relationalexpression LESSEQUAL shiftexpression . (266)
|
|||
|
|
|||
|
. reduce 266
|
|||
|
|
|||
|
|
|||
|
state 344
|
|||
|
relationalexpression : relationalexpression GREATEREQUAL shiftexpression . (267)
|
|||
|
|
|||
|
. reduce 267
|
|||
|
|
|||
|
|
|||
|
state 345
|
|||
|
relationalexpression : relationalexpression '<' shiftexpression . (264)
|
|||
|
|
|||
|
. reduce 264
|
|||
|
|
|||
|
|
|||
|
state 346
|
|||
|
relationalexpression : relationalexpression '>' shiftexpression . (265)
|
|||
|
|
|||
|
. reduce 265
|
|||
|
|
|||
|
|
|||
|
347: shift/reduce conflict (shift 288, reduce 261) on INSTANCEOF
|
|||
|
347: shift/reduce conflict (shift 289, reduce 261) on LESSEQUAL
|
|||
|
347: shift/reduce conflict (shift 290, reduce 261) on GREATEREQUAL
|
|||
|
347: shift/reduce conflict (shift 291, reduce 261) on '<'
|
|||
|
347: shift/reduce conflict (shift 292, reduce 261) on '>'
|
|||
|
state 347
|
|||
|
equalityexpression : equalityexpression EQUAL relationalexpression . (261)
|
|||
|
relationalexpression : relationalexpression . '<' shiftexpression (264)
|
|||
|
relationalexpression : relationalexpression . '>' shiftexpression (265)
|
|||
|
relationalexpression : relationalexpression . LESSEQUAL shiftexpression (266)
|
|||
|
relationalexpression : relationalexpression . GREATEREQUAL shiftexpression (267)
|
|||
|
relationalexpression : relationalexpression . INSTANCEOF referencetype (268)
|
|||
|
|
|||
|
INSTANCEOF shift 288
|
|||
|
LESSEQUAL shift 289
|
|||
|
GREATEREQUAL shift 290
|
|||
|
'<' shift 291
|
|||
|
'>' shift 292
|
|||
|
ABSTRACT reduce 261
|
|||
|
BOOLEAN reduce 261
|
|||
|
CHAR reduce 261
|
|||
|
FINAL reduce 261
|
|||
|
INT reduce 261
|
|||
|
PRIVATE reduce 261
|
|||
|
PROTECTED reduce 261
|
|||
|
PUBLIC reduce 261
|
|||
|
STATIC reduce 261
|
|||
|
VOID reduce 261
|
|||
|
IDENTIFIER reduce 261
|
|||
|
EQUAL reduce 261
|
|||
|
NOTEQUAL reduce 261
|
|||
|
LOGICALOR reduce 261
|
|||
|
LOGICALAND reduce 261
|
|||
|
INCREMENT reduce 261
|
|||
|
DECREMENT reduce 261
|
|||
|
',' reduce 261
|
|||
|
';' reduce 261
|
|||
|
'.' reduce 261
|
|||
|
'*' reduce 261
|
|||
|
'}' reduce 261
|
|||
|
')' reduce 261
|
|||
|
'&' reduce 261
|
|||
|
'+' reduce 261
|
|||
|
'-' reduce 261
|
|||
|
'|' reduce 261
|
|||
|
'^' reduce 261
|
|||
|
'/' reduce 261
|
|||
|
'%' reduce 261
|
|||
|
|
|||
|
|
|||
|
348: shift/reduce conflict (shift 288, reduce 262) on INSTANCEOF
|
|||
|
348: shift/reduce conflict (shift 289, reduce 262) on LESSEQUAL
|
|||
|
348: shift/reduce conflict (shift 290, reduce 262) on GREATEREQUAL
|
|||
|
348: shift/reduce conflict (shift 291, reduce 262) on '<'
|
|||
|
348: shift/reduce conflict (shift 292, reduce 262) on '>'
|
|||
|
state 348
|
|||
|
equalityexpression : equalityexpression NOTEQUAL relationalexpression . (262)
|
|||
|
relationalexpression : relationalexpression . '<' shiftexpression (264)
|
|||
|
relationalexpression : relationalexpression . '>' shiftexpression (265)
|
|||
|
relationalexpression : relationalexpression . LESSEQUAL shiftexpression (266)
|
|||
|
relationalexpression : relationalexpression . GREATEREQUAL shiftexpression (267)
|
|||
|
relationalexpression : relationalexpression . INSTANCEOF referencetype (268)
|
|||
|
|
|||
|
INSTANCEOF shift 288
|
|||
|
LESSEQUAL shift 289
|
|||
|
GREATEREQUAL shift 290
|
|||
|
'<' shift 291
|
|||
|
'>' shift 292
|
|||
|
ABSTRACT reduce 262
|
|||
|
BOOLEAN reduce 262
|
|||
|
CHAR reduce 262
|
|||
|
FINAL reduce 262
|
|||
|
INT reduce 262
|
|||
|
PRIVATE reduce 262
|
|||
|
PROTECTED reduce 262
|
|||
|
PUBLIC reduce 262
|
|||
|
STATIC reduce 262
|
|||
|
VOID reduce 262
|
|||
|
IDENTIFIER reduce 262
|
|||
|
EQUAL reduce 262
|
|||
|
NOTEQUAL reduce 262
|
|||
|
LOGICALOR reduce 262
|
|||
|
LOGICALAND reduce 262
|
|||
|
INCREMENT reduce 262
|
|||
|
DECREMENT reduce 262
|
|||
|
',' reduce 262
|
|||
|
';' reduce 262
|
|||
|
'.' reduce 262
|
|||
|
'*' reduce 262
|
|||
|
'}' reduce 262
|
|||
|
')' reduce 262
|
|||
|
'&' reduce 262
|
|||
|
'+' reduce 262
|
|||
|
'-' reduce 262
|
|||
|
'|' reduce 262
|
|||
|
'^' reduce 262
|
|||
|
'/' reduce 262
|
|||
|
'%' reduce 262
|
|||
|
|
|||
|
|
|||
|
349: shift/reduce conflict (shift 293, reduce 259) on EQUAL
|
|||
|
349: shift/reduce conflict (shift 294, reduce 259) on NOTEQUAL
|
|||
|
state 349
|
|||
|
andexpression : andexpression '&' equalityexpression . (259)
|
|||
|
equalityexpression : equalityexpression . EQUAL relationalexpression (261)
|
|||
|
equalityexpression : equalityexpression . NOTEQUAL relationalexpression (262)
|
|||
|
|
|||
|
EQUAL shift 293
|
|||
|
NOTEQUAL shift 294
|
|||
|
ABSTRACT reduce 259
|
|||
|
BOOLEAN reduce 259
|
|||
|
CHAR reduce 259
|
|||
|
FINAL reduce 259
|
|||
|
INSTANCEOF reduce 259
|
|||
|
INT reduce 259
|
|||
|
PRIVATE reduce 259
|
|||
|
PROTECTED reduce 259
|
|||
|
PUBLIC reduce 259
|
|||
|
STATIC reduce 259
|
|||
|
VOID reduce 259
|
|||
|
IDENTIFIER reduce 259
|
|||
|
LESSEQUAL reduce 259
|
|||
|
GREATEREQUAL reduce 259
|
|||
|
LOGICALOR reduce 259
|
|||
|
LOGICALAND reduce 259
|
|||
|
INCREMENT reduce 259
|
|||
|
DECREMENT reduce 259
|
|||
|
',' reduce 259
|
|||
|
';' reduce 259
|
|||
|
'.' reduce 259
|
|||
|
'*' reduce 259
|
|||
|
'<' reduce 259
|
|||
|
'>' reduce 259
|
|||
|
'}' reduce 259
|
|||
|
')' reduce 259
|
|||
|
'&' reduce 259
|
|||
|
'+' reduce 259
|
|||
|
'-' reduce 259
|
|||
|
'|' reduce 259
|
|||
|
'^' reduce 259
|
|||
|
'/' reduce 259
|
|||
|
'%' reduce 259
|
|||
|
|
|||
|
|
|||
|
350: shift/reduce conflict (shift 295, reduce 248) on '&'
|
|||
|
state 350
|
|||
|
exclusiveorexpression : exclusiveorexpression '^' andexpression . (248)
|
|||
|
andexpression : andexpression . '&' equalityexpression (259)
|
|||
|
|
|||
|
'&' shift 295
|
|||
|
ABSTRACT reduce 248
|
|||
|
BOOLEAN reduce 248
|
|||
|
CHAR reduce 248
|
|||
|
FINAL reduce 248
|
|||
|
INSTANCEOF reduce 248
|
|||
|
INT reduce 248
|
|||
|
PRIVATE reduce 248
|
|||
|
PROTECTED reduce 248
|
|||
|
PUBLIC reduce 248
|
|||
|
STATIC reduce 248
|
|||
|
VOID reduce 248
|
|||
|
IDENTIFIER reduce 248
|
|||
|
EQUAL reduce 248
|
|||
|
LESSEQUAL reduce 248
|
|||
|
GREATEREQUAL reduce 248
|
|||
|
NOTEQUAL reduce 248
|
|||
|
LOGICALOR reduce 248
|
|||
|
LOGICALAND reduce 248
|
|||
|
INCREMENT reduce 248
|
|||
|
DECREMENT reduce 248
|
|||
|
',' reduce 248
|
|||
|
';' reduce 248
|
|||
|
'.' reduce 248
|
|||
|
'*' reduce 248
|
|||
|
'<' reduce 248
|
|||
|
'>' reduce 248
|
|||
|
'}' reduce 248
|
|||
|
')' reduce 248
|
|||
|
'+' reduce 248
|
|||
|
'-' reduce 248
|
|||
|
'|' reduce 248
|
|||
|
'^' reduce 248
|
|||
|
'/' reduce 248
|
|||
|
'%' reduce 248
|
|||
|
|
|||
|
|
|||
|
351: shift/reduce conflict (shift 296, reduce 239) on '^'
|
|||
|
state 351
|
|||
|
inclusiveorexpression : inclusiveorexpression '|' exclusiveorexpression . (239)
|
|||
|
exclusiveorexpression : exclusiveorexpression . '^' andexpression (248)
|
|||
|
|
|||
|
'^' shift 296
|
|||
|
ABSTRACT reduce 239
|
|||
|
BOOLEAN reduce 239
|
|||
|
CHAR reduce 239
|
|||
|
FINAL reduce 239
|
|||
|
INSTANCEOF reduce 239
|
|||
|
INT reduce 239
|
|||
|
PRIVATE reduce 239
|
|||
|
PROTECTED reduce 239
|
|||
|
PUBLIC reduce 239
|
|||
|
STATIC reduce 239
|
|||
|
VOID reduce 239
|
|||
|
IDENTIFIER reduce 239
|
|||
|
EQUAL reduce 239
|
|||
|
LESSEQUAL reduce 239
|
|||
|
GREATEREQUAL reduce 239
|
|||
|
NOTEQUAL reduce 239
|
|||
|
LOGICALOR reduce 239
|
|||
|
LOGICALAND reduce 239
|
|||
|
INCREMENT reduce 239
|
|||
|
DECREMENT reduce 239
|
|||
|
',' reduce 239
|
|||
|
';' reduce 239
|
|||
|
'.' reduce 239
|
|||
|
'*' reduce 239
|
|||
|
'<' reduce 239
|
|||
|
'>' reduce 239
|
|||
|
'}' reduce 239
|
|||
|
')' reduce 239
|
|||
|
'&' reduce 239
|
|||
|
'+' reduce 239
|
|||
|
'-' reduce 239
|
|||
|
'|' reduce 239
|
|||
|
'/' reduce 239
|
|||
|
'%' reduce 239
|
|||
|
|
|||
|
|
|||
|
352: shift/reduce conflict (shift 297, reduce 227) on '|'
|
|||
|
state 352
|
|||
|
conditionalandexpression : conditionalandexpression LOGICALAND inclusiveorexpression . (227)
|
|||
|
inclusiveorexpression : inclusiveorexpression . '|' exclusiveorexpression (239)
|
|||
|
|
|||
|
'|' shift 297
|
|||
|
ABSTRACT reduce 227
|
|||
|
BOOLEAN reduce 227
|
|||
|
CHAR reduce 227
|
|||
|
FINAL reduce 227
|
|||
|
INSTANCEOF reduce 227
|
|||
|
INT reduce 227
|
|||
|
PRIVATE reduce 227
|
|||
|
PROTECTED reduce 227
|
|||
|
PUBLIC reduce 227
|
|||
|
STATIC reduce 227
|
|||
|
VOID reduce 227
|
|||
|
IDENTIFIER reduce 227
|
|||
|
EQUAL reduce 227
|
|||
|
LESSEQUAL reduce 227
|
|||
|
GREATEREQUAL reduce 227
|
|||
|
NOTEQUAL reduce 227
|
|||
|
LOGICALOR reduce 227
|
|||
|
LOGICALAND reduce 227
|
|||
|
INCREMENT reduce 227
|
|||
|
DECREMENT reduce 227
|
|||
|
',' reduce 227
|
|||
|
';' reduce 227
|
|||
|
'.' reduce 227
|
|||
|
'*' reduce 227
|
|||
|
'<' reduce 227
|
|||
|
'>' reduce 227
|
|||
|
'}' reduce 227
|
|||
|
')' reduce 227
|
|||
|
'&' reduce 227
|
|||
|
'+' reduce 227
|
|||
|
'-' reduce 227
|
|||
|
'^' reduce 227
|
|||
|
'/' reduce 227
|
|||
|
'%' reduce 227
|
|||
|
|
|||
|
|
|||
|
353: shift/reduce conflict (shift 298, reduce 202) on LOGICALAND
|
|||
|
state 353
|
|||
|
conditionalorexpression : conditionalorexpression LOGICALOR conditionalandexpression . (202)
|
|||
|
conditionalandexpression : conditionalandexpression . LOGICALAND inclusiveorexpression (227)
|
|||
|
|
|||
|
LOGICALAND shift 298
|
|||
|
ABSTRACT reduce 202
|
|||
|
BOOLEAN reduce 202
|
|||
|
CHAR reduce 202
|
|||
|
FINAL reduce 202
|
|||
|
INSTANCEOF reduce 202
|
|||
|
INT reduce 202
|
|||
|
PRIVATE reduce 202
|
|||
|
PROTECTED reduce 202
|
|||
|
PUBLIC reduce 202
|
|||
|
STATIC reduce 202
|
|||
|
VOID reduce 202
|
|||
|
IDENTIFIER reduce 202
|
|||
|
EQUAL reduce 202
|
|||
|
LESSEQUAL reduce 202
|
|||
|
GREATEREQUAL reduce 202
|
|||
|
NOTEQUAL reduce 202
|
|||
|
LOGICALOR reduce 202
|
|||
|
INCREMENT reduce 202
|
|||
|
DECREMENT reduce 202
|
|||
|
',' reduce 202
|
|||
|
';' reduce 202
|
|||
|
'.' reduce 202
|
|||
|
'*' reduce 202
|
|||
|
'<' reduce 202
|
|||
|
'>' reduce 202
|
|||
|
'}' reduce 202
|
|||
|
')' reduce 202
|
|||
|
'&' reduce 202
|
|||
|
'+' reduce 202
|
|||
|
'-' reduce 202
|
|||
|
'|' reduce 202
|
|||
|
'^' reduce 202
|
|||
|
'/' reduce 202
|
|||
|
'%' reduce 202
|
|||
|
|
|||
|
|
|||
|
state 354
|
|||
|
methodheader : modifiers '<' boundedMethodParameters '>' VOID . methoddeclarator (116)
|
|||
|
methodheader : modifiers '<' boundedMethodParameters '>' VOID . methoddeclarator throws (118)
|
|||
|
|
|||
|
IDENTIFIER shift 81
|
|||
|
. error
|
|||
|
|
|||
|
methoddeclarator goto 374
|
|||
|
|
|||
|
|
|||
|
state 355
|
|||
|
methodheader : modifiers '<' boundedMethodParameters '>' type . methoddeclarator (106)
|
|||
|
methodheader : modifiers '<' boundedMethodParameters '>' type . methoddeclarator throws (110)
|
|||
|
|
|||
|
IDENTIFIER shift 81
|
|||
|
. error
|
|||
|
|
|||
|
methoddeclarator goto 375
|
|||
|
|
|||
|
|
|||
|
state 356
|
|||
|
explicitconstructorinvocation : THIS '(' ')' . ';' (135)
|
|||
|
|
|||
|
';' shift 376
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 357
|
|||
|
explicitconstructorinvocation : THIS '(' argumentlist . ')' ';' (136)
|
|||
|
argumentlist : argumentlist . ',' expression (150)
|
|||
|
|
|||
|
',' shift 366
|
|||
|
')' shift 377
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 358
|
|||
|
constructorbody : '{' explicitconstructorinvocation blockstatements '}' . (92)
|
|||
|
|
|||
|
. reduce 92
|
|||
|
|
|||
|
|
|||
|
state 359
|
|||
|
paralist : IDENTIFIER '<' paralist '>' . (32)
|
|||
|
|
|||
|
. reduce 32
|
|||
|
|
|||
|
|
|||
|
state 360
|
|||
|
paralist : paralist ',' IDENTIFIER '<' . paralist '>' (35)
|
|||
|
|
|||
|
IDENTIFIER shift 119
|
|||
|
'?' shift 120
|
|||
|
. error
|
|||
|
|
|||
|
paralist goto 378
|
|||
|
wildcardparameter goto 122
|
|||
|
|
|||
|
|
|||
|
state 361
|
|||
|
forstatement : FOR '(' ';' ';' . expression ')' statement (179)
|
|||
|
forstatement : FOR '(' ';' ';' . ')' statement (180)
|
|||
|
|
|||
|
NEW shift 188
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
')' shift 379
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 205
|
|||
|
conditionalorexpression goto 206
|
|||
|
conditionalexpression goto 207
|
|||
|
assignmentexpression goto 208
|
|||
|
lambdaexpression goto 157
|
|||
|
expression goto 380
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
classinstancecreationexpression goto 214
|
|||
|
assignment goto 215
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 362
|
|||
|
forstatement : FOR '(' ';' expression . ';' expression ')' statement (176)
|
|||
|
forstatement : FOR '(' ';' expression . ';' ')' statement (178)
|
|||
|
|
|||
|
';' shift 381
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 363
|
|||
|
forstatement : FOR '(' expression ';' . expression ';' expression ')' statement (173)
|
|||
|
forstatement : FOR '(' expression ';' . expression ';' ')' statement (174)
|
|||
|
forstatement : FOR '(' expression ';' . ';' expression ')' statement (175)
|
|||
|
forstatement : FOR '(' expression ';' . ';' ')' statement (177)
|
|||
|
|
|||
|
NEW shift 188
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 382
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 205
|
|||
|
conditionalorexpression goto 206
|
|||
|
conditionalexpression goto 207
|
|||
|
assignmentexpression goto 208
|
|||
|
lambdaexpression goto 157
|
|||
|
expression goto 383
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
classinstancecreationexpression goto 214
|
|||
|
assignment goto 215
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 364
|
|||
|
ifthenstatement : IF '(' expression ')' . statement (170)
|
|||
|
ifthenelsestatement : IF '(' expression ')' . statementnoshortif ELSE statement (171)
|
|||
|
|
|||
|
FOR shift 123
|
|||
|
IF shift 384
|
|||
|
RETURN shift 125
|
|||
|
THIS shift 126
|
|||
|
WHILE shift 385
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 139
|
|||
|
'{' shift 79
|
|||
|
'(' shift 141
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
block goto 148
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 156
|
|||
|
lambdaexpression goto 157
|
|||
|
statementexpression goto 158
|
|||
|
preincrementexpression goto 159
|
|||
|
predecrementexpression goto 160
|
|||
|
postincrementexpression goto 161
|
|||
|
postdecrementexpression goto 162
|
|||
|
expressionstatement goto 163
|
|||
|
statementwithouttrailingsubstatement goto 386
|
|||
|
statement goto 387
|
|||
|
statementnoshortif goto 388
|
|||
|
whilestatement goto 167
|
|||
|
forstatement goto 168
|
|||
|
whilestatementnoshortif goto 389
|
|||
|
ifthenstatement goto 169
|
|||
|
ifthenelsestatement goto 170
|
|||
|
ifthenelsestatementnoshortif goto 390
|
|||
|
emptystatement goto 171
|
|||
|
returnstatement goto 172
|
|||
|
assignment goto 173
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 175
|
|||
|
|
|||
|
|
|||
|
state 365
|
|||
|
whilestatement : WHILE '(' expression ')' . statement (172)
|
|||
|
|
|||
|
FOR shift 123
|
|||
|
IF shift 124
|
|||
|
RETURN shift 125
|
|||
|
THIS shift 126
|
|||
|
WHILE shift 127
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 139
|
|||
|
'{' shift 79
|
|||
|
'(' shift 141
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
block goto 148
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 156
|
|||
|
lambdaexpression goto 157
|
|||
|
statementexpression goto 158
|
|||
|
preincrementexpression goto 159
|
|||
|
predecrementexpression goto 160
|
|||
|
postincrementexpression goto 161
|
|||
|
postdecrementexpression goto 162
|
|||
|
expressionstatement goto 163
|
|||
|
statementwithouttrailingsubstatement goto 164
|
|||
|
statement goto 391
|
|||
|
whilestatement goto 167
|
|||
|
forstatement goto 168
|
|||
|
ifthenstatement goto 169
|
|||
|
ifthenelsestatement goto 170
|
|||
|
emptystatement goto 171
|
|||
|
returnstatement goto 172
|
|||
|
assignment goto 173
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 175
|
|||
|
|
|||
|
|
|||
|
state 366
|
|||
|
argumentlist : argumentlist ',' . expression (150)
|
|||
|
|
|||
|
NEW shift 188
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 205
|
|||
|
conditionalorexpression goto 206
|
|||
|
conditionalexpression goto 207
|
|||
|
assignmentexpression goto 208
|
|||
|
lambdaexpression goto 157
|
|||
|
expression goto 392
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
classinstancecreationexpression goto 214
|
|||
|
assignment goto 215
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 367
|
|||
|
methodinvocation : name '(' argumentlist ')' . (221)
|
|||
|
|
|||
|
. reduce 221
|
|||
|
|
|||
|
|
|||
|
state 368
|
|||
|
methodinvocation : primary '.' IDENTIFIER '(' . ')' (222)
|
|||
|
methodinvocation : primary '.' IDENTIFIER '(' . argumentlist ')' (223)
|
|||
|
|
|||
|
NEW shift 188
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
')' shift 393
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 205
|
|||
|
conditionalorexpression goto 206
|
|||
|
conditionalexpression goto 207
|
|||
|
assignmentexpression goto 208
|
|||
|
lambdaexpression goto 157
|
|||
|
expression goto 323
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
classinstancecreationexpression goto 214
|
|||
|
assignment goto 215
|
|||
|
lefthandside goto 174
|
|||
|
argumentlist goto 394
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 369
|
|||
|
methodheader : '<' boundedMethodParameters '>' VOID methoddeclarator throws . (117)
|
|||
|
|
|||
|
. reduce 117
|
|||
|
|
|||
|
|
|||
|
state 370
|
|||
|
methodheader : '<' boundedMethodParameters '>' type methoddeclarator throws . (108)
|
|||
|
|
|||
|
. reduce 108
|
|||
|
|
|||
|
|
|||
|
state 371
|
|||
|
classinstancecreationexpression : NEW classtype '(' ')' . (224)
|
|||
|
|
|||
|
. reduce 224
|
|||
|
|
|||
|
|
|||
|
state 372
|
|||
|
argumentlist : argumentlist . ',' expression (150)
|
|||
|
classinstancecreationexpression : NEW classtype '(' argumentlist . ')' (225)
|
|||
|
|
|||
|
',' shift 366
|
|||
|
')' shift 395
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 373
|
|||
|
castexpression : '(' primitivetype ')' unaryexpression . (257)
|
|||
|
|
|||
|
. reduce 257
|
|||
|
|
|||
|
|
|||
|
state 374
|
|||
|
methodheader : modifiers '<' boundedMethodParameters '>' VOID methoddeclarator . (116)
|
|||
|
methodheader : modifiers '<' boundedMethodParameters '>' VOID methoddeclarator . throws (118)
|
|||
|
|
|||
|
THROWS shift 88
|
|||
|
'{' reduce 116
|
|||
|
|
|||
|
throws goto 396
|
|||
|
|
|||
|
|
|||
|
state 375
|
|||
|
methodheader : modifiers '<' boundedMethodParameters '>' type methoddeclarator . (106)
|
|||
|
methodheader : modifiers '<' boundedMethodParameters '>' type methoddeclarator . throws (110)
|
|||
|
|
|||
|
THROWS shift 88
|
|||
|
'{' reduce 106
|
|||
|
|
|||
|
throws goto 397
|
|||
|
|
|||
|
|
|||
|
state 376
|
|||
|
explicitconstructorinvocation : THIS '(' ')' ';' . (135)
|
|||
|
|
|||
|
. reduce 135
|
|||
|
|
|||
|
|
|||
|
state 377
|
|||
|
explicitconstructorinvocation : THIS '(' argumentlist ')' . ';' (136)
|
|||
|
|
|||
|
';' shift 398
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 378
|
|||
|
paralist : paralist . ',' IDENTIFIER (34)
|
|||
|
paralist : paralist . ',' IDENTIFIER '<' paralist '>' (35)
|
|||
|
paralist : paralist ',' IDENTIFIER '<' paralist . '>' (35)
|
|||
|
paralist : paralist . ',' wildcardparameter (36)
|
|||
|
|
|||
|
',' shift 239
|
|||
|
'>' shift 399
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 379
|
|||
|
forstatement : FOR '(' ';' ';' ')' . statement (180)
|
|||
|
|
|||
|
FOR shift 123
|
|||
|
IF shift 124
|
|||
|
RETURN shift 125
|
|||
|
THIS shift 126
|
|||
|
WHILE shift 127
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 139
|
|||
|
'{' shift 79
|
|||
|
'(' shift 141
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
block goto 148
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 156
|
|||
|
lambdaexpression goto 157
|
|||
|
statementexpression goto 158
|
|||
|
preincrementexpression goto 159
|
|||
|
predecrementexpression goto 160
|
|||
|
postincrementexpression goto 161
|
|||
|
postdecrementexpression goto 162
|
|||
|
expressionstatement goto 163
|
|||
|
statementwithouttrailingsubstatement goto 164
|
|||
|
statement goto 400
|
|||
|
whilestatement goto 167
|
|||
|
forstatement goto 168
|
|||
|
ifthenstatement goto 169
|
|||
|
ifthenelsestatement goto 170
|
|||
|
emptystatement goto 171
|
|||
|
returnstatement goto 172
|
|||
|
assignment goto 173
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 175
|
|||
|
|
|||
|
|
|||
|
state 380
|
|||
|
forstatement : FOR '(' ';' ';' expression . ')' statement (179)
|
|||
|
|
|||
|
')' shift 401
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 381
|
|||
|
forstatement : FOR '(' ';' expression ';' . expression ')' statement (176)
|
|||
|
forstatement : FOR '(' ';' expression ';' . ')' statement (178)
|
|||
|
|
|||
|
NEW shift 188
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
')' shift 402
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 205
|
|||
|
conditionalorexpression goto 206
|
|||
|
conditionalexpression goto 207
|
|||
|
assignmentexpression goto 208
|
|||
|
lambdaexpression goto 157
|
|||
|
expression goto 403
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
classinstancecreationexpression goto 214
|
|||
|
assignment goto 215
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 382
|
|||
|
forstatement : FOR '(' expression ';' ';' . expression ')' statement (175)
|
|||
|
forstatement : FOR '(' expression ';' ';' . ')' statement (177)
|
|||
|
|
|||
|
NEW shift 188
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
')' shift 404
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 205
|
|||
|
conditionalorexpression goto 206
|
|||
|
conditionalexpression goto 207
|
|||
|
assignmentexpression goto 208
|
|||
|
lambdaexpression goto 157
|
|||
|
expression goto 405
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
classinstancecreationexpression goto 214
|
|||
|
assignment goto 215
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 383
|
|||
|
forstatement : FOR '(' expression ';' expression . ';' expression ')' statement (173)
|
|||
|
forstatement : FOR '(' expression ';' expression . ';' ')' statement (174)
|
|||
|
|
|||
|
';' shift 406
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 384
|
|||
|
ifthenstatement : IF . '(' expression ')' statement (170)
|
|||
|
ifthenelsestatement : IF . '(' expression ')' statementnoshortif ELSE statement (171)
|
|||
|
ifthenelsestatementnoshortif : IF . '(' expression ')' statementnoshortif ELSE statementnoshortif (199)
|
|||
|
|
|||
|
'(' shift 407
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 385
|
|||
|
whilestatement : WHILE . '(' expression ')' statement (172)
|
|||
|
whilestatementnoshortif : WHILE . '(' expression ')' statementnoshortif (200)
|
|||
|
|
|||
|
'(' shift 408
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 386
|
|||
|
statement : statementwithouttrailingsubstatement . (155)
|
|||
|
statementnoshortif : statementwithouttrailingsubstatement . (187)
|
|||
|
|
|||
|
BOOLEAN reduce 155
|
|||
|
CHAR reduce 155
|
|||
|
ELSE reduce 187
|
|||
|
FOR reduce 155
|
|||
|
IF reduce 155
|
|||
|
INT reduce 155
|
|||
|
RETURN reduce 155
|
|||
|
THIS reduce 155
|
|||
|
WHILE reduce 155
|
|||
|
INTLITERAL reduce 155
|
|||
|
LONGLITERAL reduce 155
|
|||
|
DOUBLELITERAL reduce 155
|
|||
|
FLOATLITERAL reduce 155
|
|||
|
BOOLLITERAL reduce 155
|
|||
|
JNULL reduce 155
|
|||
|
CHARLITERAL reduce 155
|
|||
|
STRINGLITERAL reduce 155
|
|||
|
IDENTIFIER reduce 155
|
|||
|
INCREMENT reduce 155
|
|||
|
DECREMENT reduce 155
|
|||
|
';' reduce 155
|
|||
|
'{' reduce 155
|
|||
|
'}' reduce 155
|
|||
|
'(' reduce 155
|
|||
|
|
|||
|
|
|||
|
state 387
|
|||
|
ifthenstatement : IF '(' expression ')' statement . (170)
|
|||
|
|
|||
|
. reduce 170
|
|||
|
|
|||
|
|
|||
|
state 388
|
|||
|
ifthenelsestatement : IF '(' expression ')' statementnoshortif . ELSE statement (171)
|
|||
|
|
|||
|
ELSE shift 409
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 389
|
|||
|
statementnoshortif : whilestatementnoshortif . (189)
|
|||
|
|
|||
|
. reduce 189
|
|||
|
|
|||
|
|
|||
|
state 390
|
|||
|
statementnoshortif : ifthenelsestatementnoshortif . (188)
|
|||
|
|
|||
|
. reduce 188
|
|||
|
|
|||
|
|
|||
|
state 391
|
|||
|
whilestatement : WHILE '(' expression ')' statement . (172)
|
|||
|
|
|||
|
. reduce 172
|
|||
|
|
|||
|
|
|||
|
state 392
|
|||
|
argumentlist : argumentlist ',' expression . (150)
|
|||
|
|
|||
|
. reduce 150
|
|||
|
|
|||
|
|
|||
|
state 393
|
|||
|
methodinvocation : primary '.' IDENTIFIER '(' ')' . (222)
|
|||
|
|
|||
|
. reduce 222
|
|||
|
|
|||
|
|
|||
|
state 394
|
|||
|
argumentlist : argumentlist . ',' expression (150)
|
|||
|
methodinvocation : primary '.' IDENTIFIER '(' argumentlist . ')' (223)
|
|||
|
|
|||
|
',' shift 366
|
|||
|
')' shift 410
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 395
|
|||
|
classinstancecreationexpression : NEW classtype '(' argumentlist ')' . (225)
|
|||
|
|
|||
|
. reduce 225
|
|||
|
|
|||
|
|
|||
|
state 396
|
|||
|
methodheader : modifiers '<' boundedMethodParameters '>' VOID methoddeclarator throws . (118)
|
|||
|
|
|||
|
. reduce 118
|
|||
|
|
|||
|
|
|||
|
state 397
|
|||
|
methodheader : modifiers '<' boundedMethodParameters '>' type methoddeclarator throws . (110)
|
|||
|
|
|||
|
. reduce 110
|
|||
|
|
|||
|
|
|||
|
state 398
|
|||
|
explicitconstructorinvocation : THIS '(' argumentlist ')' ';' . (136)
|
|||
|
|
|||
|
. reduce 136
|
|||
|
|
|||
|
|
|||
|
state 399
|
|||
|
paralist : paralist ',' IDENTIFIER '<' paralist '>' . (35)
|
|||
|
|
|||
|
. reduce 35
|
|||
|
|
|||
|
|
|||
|
state 400
|
|||
|
forstatement : FOR '(' ';' ';' ')' statement . (180)
|
|||
|
|
|||
|
. reduce 180
|
|||
|
|
|||
|
|
|||
|
state 401
|
|||
|
forstatement : FOR '(' ';' ';' expression ')' . statement (179)
|
|||
|
|
|||
|
FOR shift 123
|
|||
|
IF shift 124
|
|||
|
RETURN shift 125
|
|||
|
THIS shift 126
|
|||
|
WHILE shift 127
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 139
|
|||
|
'{' shift 79
|
|||
|
'(' shift 141
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
block goto 148
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 156
|
|||
|
lambdaexpression goto 157
|
|||
|
statementexpression goto 158
|
|||
|
preincrementexpression goto 159
|
|||
|
predecrementexpression goto 160
|
|||
|
postincrementexpression goto 161
|
|||
|
postdecrementexpression goto 162
|
|||
|
expressionstatement goto 163
|
|||
|
statementwithouttrailingsubstatement goto 164
|
|||
|
statement goto 411
|
|||
|
whilestatement goto 167
|
|||
|
forstatement goto 168
|
|||
|
ifthenstatement goto 169
|
|||
|
ifthenelsestatement goto 170
|
|||
|
emptystatement goto 171
|
|||
|
returnstatement goto 172
|
|||
|
assignment goto 173
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 175
|
|||
|
|
|||
|
|
|||
|
state 402
|
|||
|
forstatement : FOR '(' ';' expression ';' ')' . statement (178)
|
|||
|
|
|||
|
FOR shift 123
|
|||
|
IF shift 124
|
|||
|
RETURN shift 125
|
|||
|
THIS shift 126
|
|||
|
WHILE shift 127
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 139
|
|||
|
'{' shift 79
|
|||
|
'(' shift 141
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
block goto 148
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 156
|
|||
|
lambdaexpression goto 157
|
|||
|
statementexpression goto 158
|
|||
|
preincrementexpression goto 159
|
|||
|
predecrementexpression goto 160
|
|||
|
postincrementexpression goto 161
|
|||
|
postdecrementexpression goto 162
|
|||
|
expressionstatement goto 163
|
|||
|
statementwithouttrailingsubstatement goto 164
|
|||
|
statement goto 412
|
|||
|
whilestatement goto 167
|
|||
|
forstatement goto 168
|
|||
|
ifthenstatement goto 169
|
|||
|
ifthenelsestatement goto 170
|
|||
|
emptystatement goto 171
|
|||
|
returnstatement goto 172
|
|||
|
assignment goto 173
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 175
|
|||
|
|
|||
|
|
|||
|
state 403
|
|||
|
forstatement : FOR '(' ';' expression ';' expression . ')' statement (176)
|
|||
|
|
|||
|
')' shift 413
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 404
|
|||
|
forstatement : FOR '(' expression ';' ';' ')' . statement (177)
|
|||
|
|
|||
|
FOR shift 123
|
|||
|
IF shift 124
|
|||
|
RETURN shift 125
|
|||
|
THIS shift 126
|
|||
|
WHILE shift 127
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 139
|
|||
|
'{' shift 79
|
|||
|
'(' shift 141
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
block goto 148
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 156
|
|||
|
lambdaexpression goto 157
|
|||
|
statementexpression goto 158
|
|||
|
preincrementexpression goto 159
|
|||
|
predecrementexpression goto 160
|
|||
|
postincrementexpression goto 161
|
|||
|
postdecrementexpression goto 162
|
|||
|
expressionstatement goto 163
|
|||
|
statementwithouttrailingsubstatement goto 164
|
|||
|
statement goto 414
|
|||
|
whilestatement goto 167
|
|||
|
forstatement goto 168
|
|||
|
ifthenstatement goto 169
|
|||
|
ifthenelsestatement goto 170
|
|||
|
emptystatement goto 171
|
|||
|
returnstatement goto 172
|
|||
|
assignment goto 173
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 175
|
|||
|
|
|||
|
|
|||
|
state 405
|
|||
|
forstatement : FOR '(' expression ';' ';' expression . ')' statement (175)
|
|||
|
|
|||
|
')' shift 415
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 406
|
|||
|
forstatement : FOR '(' expression ';' expression ';' . expression ')' statement (173)
|
|||
|
forstatement : FOR '(' expression ';' expression ';' . ')' statement (174)
|
|||
|
|
|||
|
NEW shift 188
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
')' shift 416
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 205
|
|||
|
conditionalorexpression goto 206
|
|||
|
conditionalexpression goto 207
|
|||
|
assignmentexpression goto 208
|
|||
|
lambdaexpression goto 157
|
|||
|
expression goto 417
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
classinstancecreationexpression goto 214
|
|||
|
assignment goto 215
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 407
|
|||
|
ifthenstatement : IF '(' . expression ')' statement (170)
|
|||
|
ifthenelsestatement : IF '(' . expression ')' statementnoshortif ELSE statement (171)
|
|||
|
ifthenelsestatementnoshortif : IF '(' . expression ')' statementnoshortif ELSE statementnoshortif (199)
|
|||
|
|
|||
|
NEW shift 188
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 205
|
|||
|
conditionalorexpression goto 206
|
|||
|
conditionalexpression goto 207
|
|||
|
assignmentexpression goto 208
|
|||
|
lambdaexpression goto 157
|
|||
|
expression goto 418
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
classinstancecreationexpression goto 214
|
|||
|
assignment goto 215
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 408
|
|||
|
whilestatement : WHILE '(' . expression ')' statement (172)
|
|||
|
whilestatementnoshortif : WHILE '(' . expression ')' statementnoshortif (200)
|
|||
|
|
|||
|
NEW shift 188
|
|||
|
THIS shift 126
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
'(' shift 189
|
|||
|
'+' shift 190
|
|||
|
'-' shift 191
|
|||
|
'!' shift 192
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 194
|
|||
|
unaryexpressionnotplusminus goto 195
|
|||
|
unaryexpression goto 196
|
|||
|
multiplicativeexpression goto 197
|
|||
|
additiveexpression goto 198
|
|||
|
shiftexpression goto 199
|
|||
|
relationalexpression goto 200
|
|||
|
equalityexpression goto 201
|
|||
|
andexpression goto 202
|
|||
|
exclusiveorexpression goto 203
|
|||
|
inclusiveorexpression goto 204
|
|||
|
conditionalandexpression goto 205
|
|||
|
conditionalorexpression goto 206
|
|||
|
conditionalexpression goto 207
|
|||
|
assignmentexpression goto 208
|
|||
|
lambdaexpression goto 157
|
|||
|
expression goto 419
|
|||
|
preincrementexpression goto 210
|
|||
|
predecrementexpression goto 211
|
|||
|
postincrementexpression goto 212
|
|||
|
postdecrementexpression goto 213
|
|||
|
classinstancecreationexpression goto 214
|
|||
|
assignment goto 215
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 216
|
|||
|
castexpression goto 217
|
|||
|
|
|||
|
|
|||
|
state 409
|
|||
|
ifthenelsestatement : IF '(' expression ')' statementnoshortif ELSE . statement (171)
|
|||
|
|
|||
|
FOR shift 123
|
|||
|
IF shift 124
|
|||
|
RETURN shift 125
|
|||
|
THIS shift 126
|
|||
|
WHILE shift 127
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 139
|
|||
|
'{' shift 79
|
|||
|
'(' shift 141
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
block goto 148
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 156
|
|||
|
lambdaexpression goto 157
|
|||
|
statementexpression goto 158
|
|||
|
preincrementexpression goto 159
|
|||
|
predecrementexpression goto 160
|
|||
|
postincrementexpression goto 161
|
|||
|
postdecrementexpression goto 162
|
|||
|
expressionstatement goto 163
|
|||
|
statementwithouttrailingsubstatement goto 164
|
|||
|
statement goto 420
|
|||
|
whilestatement goto 167
|
|||
|
forstatement goto 168
|
|||
|
ifthenstatement goto 169
|
|||
|
ifthenelsestatement goto 170
|
|||
|
emptystatement goto 171
|
|||
|
returnstatement goto 172
|
|||
|
assignment goto 173
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 175
|
|||
|
|
|||
|
|
|||
|
state 410
|
|||
|
methodinvocation : primary '.' IDENTIFIER '(' argumentlist ')' . (223)
|
|||
|
|
|||
|
. reduce 223
|
|||
|
|
|||
|
|
|||
|
state 411
|
|||
|
forstatement : FOR '(' ';' ';' expression ')' statement . (179)
|
|||
|
|
|||
|
. reduce 179
|
|||
|
|
|||
|
|
|||
|
state 412
|
|||
|
forstatement : FOR '(' ';' expression ';' ')' statement . (178)
|
|||
|
|
|||
|
. reduce 178
|
|||
|
|
|||
|
|
|||
|
state 413
|
|||
|
forstatement : FOR '(' ';' expression ';' expression ')' . statement (176)
|
|||
|
|
|||
|
FOR shift 123
|
|||
|
IF shift 124
|
|||
|
RETURN shift 125
|
|||
|
THIS shift 126
|
|||
|
WHILE shift 127
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 139
|
|||
|
'{' shift 79
|
|||
|
'(' shift 141
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
block goto 148
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 156
|
|||
|
lambdaexpression goto 157
|
|||
|
statementexpression goto 158
|
|||
|
preincrementexpression goto 159
|
|||
|
predecrementexpression goto 160
|
|||
|
postincrementexpression goto 161
|
|||
|
postdecrementexpression goto 162
|
|||
|
expressionstatement goto 163
|
|||
|
statementwithouttrailingsubstatement goto 164
|
|||
|
statement goto 421
|
|||
|
whilestatement goto 167
|
|||
|
forstatement goto 168
|
|||
|
ifthenstatement goto 169
|
|||
|
ifthenelsestatement goto 170
|
|||
|
emptystatement goto 171
|
|||
|
returnstatement goto 172
|
|||
|
assignment goto 173
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 175
|
|||
|
|
|||
|
|
|||
|
state 414
|
|||
|
forstatement : FOR '(' expression ';' ';' ')' statement . (177)
|
|||
|
|
|||
|
. reduce 177
|
|||
|
|
|||
|
|
|||
|
state 415
|
|||
|
forstatement : FOR '(' expression ';' ';' expression ')' . statement (175)
|
|||
|
|
|||
|
FOR shift 123
|
|||
|
IF shift 124
|
|||
|
RETURN shift 125
|
|||
|
THIS shift 126
|
|||
|
WHILE shift 127
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 139
|
|||
|
'{' shift 79
|
|||
|
'(' shift 141
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
block goto 148
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 156
|
|||
|
lambdaexpression goto 157
|
|||
|
statementexpression goto 158
|
|||
|
preincrementexpression goto 159
|
|||
|
predecrementexpression goto 160
|
|||
|
postincrementexpression goto 161
|
|||
|
postdecrementexpression goto 162
|
|||
|
expressionstatement goto 163
|
|||
|
statementwithouttrailingsubstatement goto 164
|
|||
|
statement goto 422
|
|||
|
whilestatement goto 167
|
|||
|
forstatement goto 168
|
|||
|
ifthenstatement goto 169
|
|||
|
ifthenelsestatement goto 170
|
|||
|
emptystatement goto 171
|
|||
|
returnstatement goto 172
|
|||
|
assignment goto 173
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 175
|
|||
|
|
|||
|
|
|||
|
state 416
|
|||
|
forstatement : FOR '(' expression ';' expression ';' ')' . statement (174)
|
|||
|
|
|||
|
FOR shift 123
|
|||
|
IF shift 124
|
|||
|
RETURN shift 125
|
|||
|
THIS shift 126
|
|||
|
WHILE shift 127
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 139
|
|||
|
'{' shift 79
|
|||
|
'(' shift 141
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
block goto 148
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 156
|
|||
|
lambdaexpression goto 157
|
|||
|
statementexpression goto 158
|
|||
|
preincrementexpression goto 159
|
|||
|
predecrementexpression goto 160
|
|||
|
postincrementexpression goto 161
|
|||
|
postdecrementexpression goto 162
|
|||
|
expressionstatement goto 163
|
|||
|
statementwithouttrailingsubstatement goto 164
|
|||
|
statement goto 423
|
|||
|
whilestatement goto 167
|
|||
|
forstatement goto 168
|
|||
|
ifthenstatement goto 169
|
|||
|
ifthenelsestatement goto 170
|
|||
|
emptystatement goto 171
|
|||
|
returnstatement goto 172
|
|||
|
assignment goto 173
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 175
|
|||
|
|
|||
|
|
|||
|
state 417
|
|||
|
forstatement : FOR '(' expression ';' expression ';' expression . ')' statement (173)
|
|||
|
|
|||
|
')' shift 424
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 418
|
|||
|
ifthenstatement : IF '(' expression . ')' statement (170)
|
|||
|
ifthenelsestatement : IF '(' expression . ')' statementnoshortif ELSE statement (171)
|
|||
|
ifthenelsestatementnoshortif : IF '(' expression . ')' statementnoshortif ELSE statementnoshortif (199)
|
|||
|
|
|||
|
')' shift 425
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 419
|
|||
|
whilestatement : WHILE '(' expression . ')' statement (172)
|
|||
|
whilestatementnoshortif : WHILE '(' expression . ')' statementnoshortif (200)
|
|||
|
|
|||
|
')' shift 426
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 420
|
|||
|
ifthenelsestatement : IF '(' expression ')' statementnoshortif ELSE statement . (171)
|
|||
|
|
|||
|
. reduce 171
|
|||
|
|
|||
|
|
|||
|
state 421
|
|||
|
forstatement : FOR '(' ';' expression ';' expression ')' statement . (176)
|
|||
|
|
|||
|
. reduce 176
|
|||
|
|
|||
|
|
|||
|
state 422
|
|||
|
forstatement : FOR '(' expression ';' ';' expression ')' statement . (175)
|
|||
|
|
|||
|
. reduce 175
|
|||
|
|
|||
|
|
|||
|
state 423
|
|||
|
forstatement : FOR '(' expression ';' expression ';' ')' statement . (174)
|
|||
|
|
|||
|
. reduce 174
|
|||
|
|
|||
|
|
|||
|
state 424
|
|||
|
forstatement : FOR '(' expression ';' expression ';' expression ')' . statement (173)
|
|||
|
|
|||
|
FOR shift 123
|
|||
|
IF shift 124
|
|||
|
RETURN shift 125
|
|||
|
THIS shift 126
|
|||
|
WHILE shift 127
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 139
|
|||
|
'{' shift 79
|
|||
|
'(' shift 141
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
block goto 148
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 156
|
|||
|
lambdaexpression goto 157
|
|||
|
statementexpression goto 158
|
|||
|
preincrementexpression goto 159
|
|||
|
predecrementexpression goto 160
|
|||
|
postincrementexpression goto 161
|
|||
|
postdecrementexpression goto 162
|
|||
|
expressionstatement goto 163
|
|||
|
statementwithouttrailingsubstatement goto 164
|
|||
|
statement goto 427
|
|||
|
whilestatement goto 167
|
|||
|
forstatement goto 168
|
|||
|
ifthenstatement goto 169
|
|||
|
ifthenelsestatement goto 170
|
|||
|
emptystatement goto 171
|
|||
|
returnstatement goto 172
|
|||
|
assignment goto 173
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 175
|
|||
|
|
|||
|
|
|||
|
state 425
|
|||
|
ifthenstatement : IF '(' expression ')' . statement (170)
|
|||
|
ifthenelsestatement : IF '(' expression ')' . statementnoshortif ELSE statement (171)
|
|||
|
ifthenelsestatementnoshortif : IF '(' expression ')' . statementnoshortif ELSE statementnoshortif (199)
|
|||
|
|
|||
|
FOR shift 123
|
|||
|
IF shift 384
|
|||
|
RETURN shift 125
|
|||
|
THIS shift 126
|
|||
|
WHILE shift 385
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 139
|
|||
|
'{' shift 79
|
|||
|
'(' shift 141
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
block goto 148
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 156
|
|||
|
lambdaexpression goto 157
|
|||
|
statementexpression goto 158
|
|||
|
preincrementexpression goto 159
|
|||
|
predecrementexpression goto 160
|
|||
|
postincrementexpression goto 161
|
|||
|
postdecrementexpression goto 162
|
|||
|
expressionstatement goto 163
|
|||
|
statementwithouttrailingsubstatement goto 386
|
|||
|
statement goto 387
|
|||
|
statementnoshortif goto 428
|
|||
|
whilestatement goto 167
|
|||
|
forstatement goto 168
|
|||
|
whilestatementnoshortif goto 389
|
|||
|
ifthenstatement goto 169
|
|||
|
ifthenelsestatement goto 170
|
|||
|
ifthenelsestatementnoshortif goto 390
|
|||
|
emptystatement goto 171
|
|||
|
returnstatement goto 172
|
|||
|
assignment goto 173
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 175
|
|||
|
|
|||
|
|
|||
|
state 426
|
|||
|
whilestatement : WHILE '(' expression ')' . statement (172)
|
|||
|
whilestatementnoshortif : WHILE '(' expression ')' . statementnoshortif (200)
|
|||
|
|
|||
|
FOR shift 123
|
|||
|
IF shift 384
|
|||
|
RETURN shift 125
|
|||
|
THIS shift 126
|
|||
|
WHILE shift 385
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 139
|
|||
|
'{' shift 79
|
|||
|
'(' shift 141
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
block goto 148
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 156
|
|||
|
lambdaexpression goto 157
|
|||
|
statementexpression goto 158
|
|||
|
preincrementexpression goto 159
|
|||
|
predecrementexpression goto 160
|
|||
|
postincrementexpression goto 161
|
|||
|
postdecrementexpression goto 162
|
|||
|
expressionstatement goto 163
|
|||
|
statementwithouttrailingsubstatement goto 386
|
|||
|
statement goto 391
|
|||
|
statementnoshortif goto 429
|
|||
|
whilestatement goto 167
|
|||
|
forstatement goto 168
|
|||
|
whilestatementnoshortif goto 389
|
|||
|
ifthenstatement goto 169
|
|||
|
ifthenelsestatement goto 170
|
|||
|
ifthenelsestatementnoshortif goto 390
|
|||
|
emptystatement goto 171
|
|||
|
returnstatement goto 172
|
|||
|
assignment goto 173
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 175
|
|||
|
|
|||
|
|
|||
|
state 427
|
|||
|
forstatement : FOR '(' expression ';' expression ';' expression ')' statement . (173)
|
|||
|
|
|||
|
. reduce 173
|
|||
|
|
|||
|
|
|||
|
state 428
|
|||
|
ifthenelsestatement : IF '(' expression ')' statementnoshortif . ELSE statement (171)
|
|||
|
ifthenelsestatementnoshortif : IF '(' expression ')' statementnoshortif . ELSE statementnoshortif (199)
|
|||
|
|
|||
|
ELSE shift 430
|
|||
|
. error
|
|||
|
|
|||
|
|
|||
|
state 429
|
|||
|
whilestatementnoshortif : WHILE '(' expression ')' statementnoshortif . (200)
|
|||
|
|
|||
|
. reduce 200
|
|||
|
|
|||
|
|
|||
|
state 430
|
|||
|
ifthenelsestatement : IF '(' expression ')' statementnoshortif ELSE . statement (171)
|
|||
|
ifthenelsestatementnoshortif : IF '(' expression ')' statementnoshortif ELSE . statementnoshortif (199)
|
|||
|
|
|||
|
FOR shift 123
|
|||
|
IF shift 384
|
|||
|
RETURN shift 125
|
|||
|
THIS shift 126
|
|||
|
WHILE shift 385
|
|||
|
INTLITERAL shift 128
|
|||
|
LONGLITERAL shift 129
|
|||
|
DOUBLELITERAL shift 130
|
|||
|
FLOATLITERAL shift 131
|
|||
|
BOOLLITERAL shift 132
|
|||
|
JNULL shift 133
|
|||
|
CHARLITERAL shift 134
|
|||
|
STRINGLITERAL shift 135
|
|||
|
IDENTIFIER shift 31
|
|||
|
INCREMENT shift 137
|
|||
|
DECREMENT shift 138
|
|||
|
';' shift 139
|
|||
|
'{' shift 79
|
|||
|
'(' shift 141
|
|||
|
. error
|
|||
|
|
|||
|
simplename goto 193
|
|||
|
qualifiedname goto 145
|
|||
|
name goto 146
|
|||
|
block goto 148
|
|||
|
lambdaexpressionparameter goto 152
|
|||
|
literal goto 153
|
|||
|
primarynonewarray goto 154
|
|||
|
primary goto 155
|
|||
|
postfixexpression goto 156
|
|||
|
lambdaexpression goto 157
|
|||
|
statementexpression goto 158
|
|||
|
preincrementexpression goto 159
|
|||
|
predecrementexpression goto 160
|
|||
|
postincrementexpression goto 161
|
|||
|
postdecrementexpression goto 162
|
|||
|
expressionstatement goto 163
|
|||
|
statementwithouttrailingsubstatement goto 386
|
|||
|
statement goto 420
|
|||
|
statementnoshortif goto 431
|
|||
|
whilestatement goto 167
|
|||
|
forstatement goto 168
|
|||
|
whilestatementnoshortif goto 389
|
|||
|
ifthenstatement goto 169
|
|||
|
ifthenelsestatement goto 170
|
|||
|
ifthenelsestatementnoshortif goto 390
|
|||
|
emptystatement goto 171
|
|||
|
returnstatement goto 172
|
|||
|
assignment goto 173
|
|||
|
lefthandside goto 174
|
|||
|
methodinvocation goto 175
|
|||
|
|
|||
|
|
|||
|
state 431
|
|||
|
ifthenelsestatementnoshortif : IF '(' expression ')' statementnoshortif ELSE statementnoshortif . (199)
|
|||
|
|
|||
|
. reduce 199
|
|||
|
|
|||
|
|
|||
|
Rules never reduced:
|
|||
|
packagedeclaration : PACKAGE name ';' (2)
|
|||
|
importdeclarations : importdeclaration (3)
|
|||
|
importdeclarations : importdeclarations importdeclaration (4)
|
|||
|
importdeclaration : IMPORT importqualifiedname ';' (5)
|
|||
|
importqualifiedname : name '.' IDENTIFIER (12)
|
|||
|
importqualifiedname : name '.' '*' (13)
|
|||
|
interfaceidentifier : IDENTIFIER (23)
|
|||
|
interfaceidentifier : IDENTIFIER '<' boundedClassParameters '>' (24)
|
|||
|
interfacedeclaration : INTERFACE interfaceidentifier interfacebody (27)
|
|||
|
interfacedeclaration : modifiers INTERFACE interfaceidentifier interfacebody (28)
|
|||
|
interfacedeclaration : INTERFACE interfaceidentifier extendsinterfaces interfacebody (29)
|
|||
|
interfacedeclaration : modifiers INTERFACE interfaceidentifier extendsinterfaces interfacebody (30)
|
|||
|
interfacebody : '{' '}' (47)
|
|||
|
interfacebody : '{' interfacememberdeclarations '}' (48)
|
|||
|
extendsinterfaces : EXTENDS interfacetype (49)
|
|||
|
extendsinterfaces : extendsinterfaces ',' interfacetype (50)
|
|||
|
interfacememberdeclarations : interfacememberdeclaration (60)
|
|||
|
interfacememberdeclarations : interfacememberdeclarations interfacememberdeclaration (61)
|
|||
|
interfacememberdeclaration : constantdeclaration (69)
|
|||
|
interfacememberdeclaration : abstractmethoddeclaration (70)
|
|||
|
constantdeclaration : modifiers type IDENTIFIER '=' expression ';' (76)
|
|||
|
abstractmethoddeclaration : methodheader ';' (77)
|
|||
|
variableinitializer : expression (153)
|
|||
|
|
|||
|
|
|||
|
State 32 contains 1 shift/reduce conflict.
|
|||
|
State 42 contains 1 shift/reduce conflict.
|
|||
|
State 104 contains 1 shift/reduce conflict.
|
|||
|
State 146 contains 1 shift/reduce conflict.
|
|||
|
State 155 contains 1 shift/reduce conflict.
|
|||
|
State 194 contains 2 shift/reduce conflicts.
|
|||
|
State 197 contains 3 shift/reduce conflicts.
|
|||
|
State 198 contains 2 shift/reduce conflicts.
|
|||
|
State 200 contains 5 shift/reduce conflicts.
|
|||
|
State 201 contains 2 shift/reduce conflicts.
|
|||
|
State 202 contains 1 shift/reduce conflict.
|
|||
|
State 203 contains 1 shift/reduce conflict.
|
|||
|
State 204 contains 1 shift/reduce conflict.
|
|||
|
State 205 contains 1 shift/reduce conflict.
|
|||
|
State 206 contains 1 shift/reduce conflict.
|
|||
|
State 246 contains 1 shift/reduce conflict.
|
|||
|
State 340 contains 3 shift/reduce conflicts.
|
|||
|
State 341 contains 3 shift/reduce conflicts.
|
|||
|
State 347 contains 5 shift/reduce conflicts.
|
|||
|
State 348 contains 5 shift/reduce conflicts.
|
|||
|
State 349 contains 2 shift/reduce conflicts.
|
|||
|
State 350 contains 1 shift/reduce conflict.
|
|||
|
State 351 contains 1 shift/reduce conflict.
|
|||
|
State 352 contains 1 shift/reduce conflict.
|
|||
|
State 353 contains 1 shift/reduce conflict.
|
|||
|
|
|||
|
|
|||
|
97 terminals, 116 nonterminals
|
|||
|
277 grammar rules, 432 states
|