a1802db1d2
PHP added this in 5.4 so that you can say your closure shouldn't capture ##$this##. https://wiki.php.net/rfc/closures Should we add it? Many of their unit tests use it. Instead of putting a boolean somewhere I used the same attr framework and set the static bit there. Thoughts? It only needs one change in the ##FPushFunc##.
33414 linhas
1.4 MiB
Plaintext
33414 linhas
1.4 MiB
Plaintext
Terminals unused in grammar
|
|
|
|
T_CHARACTER
|
|
T_BAD_CHARACTER
|
|
T_COMMENT
|
|
T_DOC_COMMENT
|
|
T_OPEN_TAG
|
|
T_OPEN_TAG_WITH_ECHO
|
|
T_CLOSE_TAG
|
|
T_WHITESPACE
|
|
T_STRICT_ERROR
|
|
T_UNRESOLVED_LT
|
|
T_COLLECTION
|
|
|
|
|
|
State 526 conflicts: 2 shift/reduce
|
|
|
|
|
|
Grammar
|
|
|
|
0 $accept: start $end
|
|
|
|
1 start: top_statement_list
|
|
|
|
2 top_statement_list: top_statement_list top_statement
|
|
3 | /* empty */
|
|
|
|
4 top_statement: statement
|
|
5 | function_declaration_statement
|
|
6 | class_declaration_statement
|
|
7 | trait_declaration_statement
|
|
8 | T_HALT_COMPILER '(' ')' ';'
|
|
9 | T_NAMESPACE namespace_name ';'
|
|
|
|
10 $@1: /* empty */
|
|
|
|
11 top_statement: T_NAMESPACE namespace_name '{' $@1 top_statement_list '}'
|
|
|
|
12 $@2: /* empty */
|
|
|
|
13 top_statement: T_NAMESPACE '{' $@2 top_statement_list '}'
|
|
14 | T_USE use_declarations ';'
|
|
15 | constant_declaration ';'
|
|
|
|
16 ident: T_STRING
|
|
17 | T_XHP_ATTRIBUTE
|
|
18 | T_XHP_CATEGORY
|
|
19 | T_XHP_CHILDREN
|
|
20 | T_XHP_REQUIRED
|
|
21 | T_XHP_ENUM
|
|
|
|
22 use_declarations: use_declarations ',' use_declaration
|
|
23 | use_declaration
|
|
|
|
24 use_declaration: namespace_name
|
|
25 | T_NS_SEPARATOR namespace_name
|
|
26 | namespace_name T_AS ident
|
|
27 | T_NS_SEPARATOR namespace_name T_AS ident
|
|
|
|
28 namespace_name: ident
|
|
29 | namespace_name T_NS_SEPARATOR ident
|
|
|
|
30 namespace_string_base: namespace_name
|
|
31 | T_NS_SEPARATOR namespace_name
|
|
32 | T_NAMESPACE T_NS_SEPARATOR namespace_name
|
|
|
|
33 namespace_string: namespace_string_base
|
|
|
|
34 namespace_string_typeargs: namespace_string_base sm_typeargs_opt
|
|
|
|
35 class_namespace_string_typeargs: namespace_string_base sm_typeargs_opt
|
|
|
|
36 constant_declaration: constant_declaration ',' sm_name_with_type '=' static_scalar
|
|
37 | T_CONST sm_name_with_type '=' static_scalar
|
|
|
|
38 inner_statement_list: inner_statement_list inner_statement
|
|
39 | /* empty */
|
|
|
|
40 inner_statement: statement
|
|
41 | function_declaration_statement
|
|
42 | class_declaration_statement
|
|
43 | trait_declaration_statement
|
|
|
|
44 statement: '{' inner_statement_list '}'
|
|
45 | T_IF parenthesis_expr statement elseif_list else_single
|
|
46 | T_IF parenthesis_expr ':' inner_statement_list new_elseif_list new_else_single T_ENDIF ';'
|
|
|
|
47 $@3: /* empty */
|
|
|
|
48 statement: T_WHILE parenthesis_expr $@3 while_statement
|
|
|
|
49 $@4: /* empty */
|
|
|
|
50 statement: T_DO $@4 statement T_WHILE parenthesis_expr ';'
|
|
|
|
51 $@5: /* empty */
|
|
|
|
52 statement: T_FOR '(' for_expr ';' for_expr ';' for_expr ')' $@5 for_statement
|
|
|
|
53 $@6: /* empty */
|
|
|
|
54 statement: T_SWITCH parenthesis_expr $@6 switch_case_list
|
|
55 | T_BREAK ';'
|
|
56 | T_BREAK expr ';'
|
|
57 | T_CONTINUE ';'
|
|
58 | T_CONTINUE expr ';'
|
|
59 | T_RETURN ';'
|
|
60 | T_RETURN expr ';'
|
|
61 | T_YIELD T_BREAK ';'
|
|
62 | T_YIELD expr ';'
|
|
63 | variable '=' T_YIELD expr ';'
|
|
64 | T_LIST '(' assignment_list ')' '=' T_YIELD expr ';'
|
|
65 | T_GLOBAL global_var_list ';'
|
|
66 | T_STATIC static_var_list ';'
|
|
67 | T_ECHO expr_list ';'
|
|
68 | T_UNSET '(' variable_list ')' ';'
|
|
69 | ';'
|
|
70 | T_INLINE_HTML
|
|
|
|
71 $@7: /* empty */
|
|
|
|
72 statement: T_FOREACH '(' expr T_AS foreach_variable foreach_optional_arg ')' $@7 foreach_statement
|
|
73 | T_DECLARE '(' declare_list ')' declare_statement
|
|
74 | T_TRY '{' inner_statement_list '}' T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}' additional_catches optional_finally
|
|
75 | T_TRY '{' inner_statement_list '}' finally
|
|
76 | T_THROW expr ';'
|
|
77 | T_GOTO ident ';'
|
|
78 | expr ';'
|
|
79 | ident ':'
|
|
|
|
80 additional_catches: additional_catches T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}'
|
|
81 | /* empty */
|
|
|
|
82 $@8: /* empty */
|
|
|
|
83 finally: $@8 T_FINALLY '{' inner_statement_list '}'
|
|
|
|
84 optional_finally: finally
|
|
85 | /* empty */
|
|
|
|
86 is_reference: '&'
|
|
87 | /* empty */
|
|
|
|
88 function_loc: T_FUNCTION
|
|
|
|
89 $@9: /* empty */
|
|
|
|
90 function_declaration_statement: function_loc is_reference sm_name_with_typevar $@9 '(' parameter_list ')' sm_opt_return_type '{' inner_statement_list '}'
|
|
|
|
91 $@10: /* empty */
|
|
|
|
92 function_declaration_statement: non_empty_user_attributes function_loc is_reference sm_name_with_typevar $@10 '(' parameter_list ')' sm_opt_return_type '{' inner_statement_list '}'
|
|
|
|
93 $@11: /* empty */
|
|
|
|
94 class_declaration_statement: class_entry_type class_decl_name $@11 extends_from implements_list '{' class_statement_list '}'
|
|
|
|
95 $@12: /* empty */
|
|
|
|
96 class_declaration_statement: non_empty_user_attributes class_entry_type class_decl_name $@12 extends_from implements_list '{' class_statement_list '}'
|
|
|
|
97 $@13: /* empty */
|
|
|
|
98 class_declaration_statement: T_INTERFACE interface_decl_name $@13 interface_extends_list '{' class_statement_list '}'
|
|
|
|
99 $@14: /* empty */
|
|
|
|
100 class_declaration_statement: non_empty_user_attributes T_INTERFACE interface_decl_name $@14 interface_extends_list '{' class_statement_list '}'
|
|
|
|
101 $@15: /* empty */
|
|
|
|
102 trait_declaration_statement: T_TRAIT trait_decl_name $@15 '{' class_statement_list '}'
|
|
|
|
103 $@16: /* empty */
|
|
|
|
104 trait_declaration_statement: non_empty_user_attributes T_TRAIT trait_decl_name $@16 '{' class_statement_list '}'
|
|
|
|
105 class_decl_name: sm_name_with_typevar
|
|
106 | T_XHP_LABEL
|
|
|
|
107 interface_decl_name: sm_name_with_typevar
|
|
|
|
108 trait_decl_name: sm_name_with_typevar
|
|
|
|
109 class_entry_type: T_CLASS
|
|
110 | T_ABSTRACT T_CLASS
|
|
111 | T_FINAL T_CLASS
|
|
|
|
112 extends_from: T_EXTENDS fully_qualified_class_name
|
|
113 | /* empty */
|
|
|
|
114 implements_list: T_IMPLEMENTS interface_list
|
|
115 | /* empty */
|
|
|
|
116 interface_extends_list: T_EXTENDS interface_list
|
|
117 | /* empty */
|
|
|
|
118 interface_list: fully_qualified_class_name
|
|
119 | interface_list ',' fully_qualified_class_name
|
|
|
|
120 trait_list: fully_qualified_class_name
|
|
121 | trait_list ',' fully_qualified_class_name
|
|
|
|
122 foreach_optional_arg: T_DOUBLE_ARROW foreach_variable
|
|
123 | /* empty */
|
|
|
|
124 foreach_variable: variable
|
|
125 | '&' variable
|
|
|
|
126 for_statement: statement
|
|
127 | ':' inner_statement_list T_ENDFOR ';'
|
|
|
|
128 foreach_statement: statement
|
|
129 | ':' inner_statement_list T_ENDFOREACH ';'
|
|
|
|
130 while_statement: statement
|
|
131 | ':' inner_statement_list T_ENDWHILE ';'
|
|
|
|
132 declare_statement: statement
|
|
133 | ':' inner_statement_list T_ENDDECLARE ';'
|
|
|
|
134 declare_list: ident '=' static_scalar
|
|
135 | declare_list ',' ident '=' static_scalar
|
|
|
|
136 switch_case_list: '{' case_list '}'
|
|
137 | '{' ';' case_list '}'
|
|
138 | ':' case_list T_ENDSWITCH ';'
|
|
139 | ':' ';' case_list T_ENDSWITCH ';'
|
|
|
|
140 case_list: case_list T_CASE expr case_separator inner_statement_list
|
|
141 | case_list T_DEFAULT case_separator inner_statement_list
|
|
142 | /* empty */
|
|
|
|
143 case_separator: ':'
|
|
144 | ';'
|
|
|
|
145 elseif_list: elseif_list T_ELSEIF parenthesis_expr statement
|
|
146 | /* empty */
|
|
|
|
147 new_elseif_list: new_elseif_list T_ELSEIF parenthesis_expr ':' inner_statement_list
|
|
148 | /* empty */
|
|
|
|
149 else_single: T_ELSE statement
|
|
150 | /* empty */
|
|
|
|
151 new_else_single: T_ELSE ':' inner_statement_list
|
|
152 | /* empty */
|
|
|
|
153 parameter_list: non_empty_parameter_list ',' T_VARARG
|
|
154 | non_empty_parameter_list possible_comma_in_hphp_syntax
|
|
155 | T_VARARG
|
|
156 | /* empty */
|
|
|
|
157 non_empty_parameter_list: optional_user_attributes sm_type_opt T_VARIABLE
|
|
158 | optional_user_attributes sm_type_opt '&' T_VARIABLE
|
|
159 | optional_user_attributes sm_type_opt '&' T_VARIABLE '=' static_scalar
|
|
160 | optional_user_attributes sm_type_opt T_VARIABLE '=' static_scalar
|
|
161 | non_empty_parameter_list ',' optional_user_attributes sm_type_opt T_VARIABLE
|
|
162 | non_empty_parameter_list ',' optional_user_attributes sm_type_opt '&' T_VARIABLE
|
|
163 | non_empty_parameter_list ',' optional_user_attributes sm_type_opt '&' T_VARIABLE '=' static_scalar
|
|
164 | non_empty_parameter_list ',' optional_user_attributes sm_type_opt T_VARIABLE '=' static_scalar
|
|
|
|
165 function_call_parameter_list: non_empty_fcall_parameter_list possible_comma_in_hphp_syntax
|
|
166 | /* empty */
|
|
|
|
167 non_empty_fcall_parameter_list: expr
|
|
168 | '&' variable
|
|
169 | non_empty_fcall_parameter_list ',' expr
|
|
170 | non_empty_fcall_parameter_list ',' '&' variable
|
|
|
|
171 global_var_list: global_var_list ',' global_var
|
|
172 | global_var
|
|
|
|
173 global_var: T_VARIABLE
|
|
174 | '$' variable
|
|
175 | '$' '{' expr '}'
|
|
|
|
176 static_var_list: static_var_list ',' T_VARIABLE
|
|
177 | static_var_list ',' T_VARIABLE '=' static_scalar
|
|
178 | T_VARIABLE
|
|
179 | T_VARIABLE '=' static_scalar
|
|
|
|
180 class_statement_list: class_statement_list class_statement
|
|
181 | /* empty */
|
|
|
|
182 $@17: /* empty */
|
|
|
|
183 class_statement: variable_modifiers $@17 class_variable_declaration ';'
|
|
|
|
184 $@18: /* empty */
|
|
|
|
185 class_statement: non_empty_member_modifiers sm_type $@18 class_variable_declaration ';'
|
|
186 | class_constant_declaration ';'
|
|
|
|
187 $@19: /* empty */
|
|
|
|
188 class_statement: method_modifiers function_loc is_reference sm_name_with_typevar '(' $@19 parameter_list ')' sm_opt_return_type method_body
|
|
|
|
189 $@20: /* empty */
|
|
|
|
190 class_statement: non_empty_user_attributes method_modifiers function_loc is_reference sm_name_with_typevar '(' $@20 parameter_list ')' sm_opt_return_type method_body
|
|
191 | T_XHP_ATTRIBUTE xhp_attribute_stmt ';'
|
|
192 | T_XHP_CATEGORY xhp_category_stmt ';'
|
|
193 | T_XHP_CHILDREN xhp_children_stmt ';'
|
|
194 | T_USE trait_list ';'
|
|
195 | T_USE trait_list '{' trait_rules '}'
|
|
|
|
196 trait_rules: trait_rules trait_precedence_rule
|
|
197 | trait_rules trait_alias_rule
|
|
198 | /* empty */
|
|
|
|
199 trait_precedence_rule: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM ident T_INSTEADOF trait_list ';'
|
|
|
|
200 trait_alias_rule: trait_alias_rule_method T_AS method_modifiers ident ';'
|
|
201 | trait_alias_rule_method T_AS non_empty_member_modifiers ';'
|
|
|
|
202 trait_alias_rule_method: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM ident
|
|
203 | ident
|
|
|
|
204 xhp_attribute_stmt: xhp_attribute_decl
|
|
205 | xhp_attribute_stmt ',' xhp_attribute_decl
|
|
|
|
206 xhp_attribute_decl: xhp_attribute_decl_type xhp_label_ws xhp_attribute_default xhp_attribute_is_required
|
|
207 | T_XHP_LABEL
|
|
|
|
208 xhp_attribute_decl_type: T_ARRAY
|
|
209 | fully_qualified_class_name
|
|
210 | T_VAR
|
|
211 | T_XHP_ENUM '{' xhp_attribute_enum '}'
|
|
|
|
212 xhp_attribute_enum: common_scalar
|
|
213 | xhp_attribute_enum ',' common_scalar
|
|
|
|
214 xhp_attribute_default: '=' static_scalar
|
|
215 | /* empty */
|
|
|
|
216 xhp_attribute_is_required: '@' T_XHP_REQUIRED
|
|
217 | /* empty */
|
|
|
|
218 xhp_category_stmt: xhp_category_decl
|
|
219 | xhp_category_stmt ',' xhp_category_decl
|
|
|
|
220 xhp_category_decl: T_XHP_CATEGORY_LABEL
|
|
|
|
221 xhp_children_stmt: xhp_children_paren_expr
|
|
222 | ident
|
|
223 | T_EMPTY
|
|
|
|
224 xhp_children_paren_expr: '(' xhp_children_decl_expr ')'
|
|
225 | '(' xhp_children_decl_expr ')' '*'
|
|
226 | '(' xhp_children_decl_expr ')' '?'
|
|
227 | '(' xhp_children_decl_expr ')' '+'
|
|
|
|
228 xhp_children_decl_expr: xhp_children_paren_expr
|
|
229 | xhp_children_decl_tag
|
|
230 | xhp_children_decl_tag '*'
|
|
231 | xhp_children_decl_tag '?'
|
|
232 | xhp_children_decl_tag '+'
|
|
233 | xhp_children_decl_expr ',' xhp_children_decl_expr
|
|
234 | xhp_children_decl_expr '|' xhp_children_decl_expr
|
|
|
|
235 xhp_children_decl_tag: ident
|
|
236 | T_XHP_LABEL
|
|
237 | T_XHP_CATEGORY_LABEL
|
|
|
|
238 method_body: ';'
|
|
239 | '{' inner_statement_list '}'
|
|
|
|
240 variable_modifiers: non_empty_member_modifiers
|
|
241 | T_VAR
|
|
|
|
242 method_modifiers: non_empty_member_modifiers
|
|
243 | /* empty */
|
|
|
|
244 non_empty_member_modifiers: member_modifier
|
|
245 | non_empty_member_modifiers member_modifier
|
|
|
|
246 member_modifier: T_PUBLIC
|
|
247 | T_PROTECTED
|
|
248 | T_PRIVATE
|
|
249 | T_STATIC
|
|
250 | T_ABSTRACT
|
|
251 | T_FINAL
|
|
|
|
252 class_variable_declaration: class_variable_declaration ',' T_VARIABLE
|
|
253 | class_variable_declaration ',' T_VARIABLE '=' static_scalar
|
|
254 | T_VARIABLE
|
|
255 | T_VARIABLE '=' static_scalar
|
|
|
|
256 class_constant_declaration: class_constant_declaration ',' sm_name_with_type '=' static_scalar
|
|
257 | T_CONST sm_name_with_type '=' static_scalar
|
|
|
|
258 new_expr: T_NEW class_name_reference ctor_arguments
|
|
259 | '(' new_expr ')'
|
|
|
|
260 parenthesis_expr: '(' expr ')'
|
|
|
|
261 expr_list: expr_list ',' expr
|
|
262 | expr
|
|
|
|
263 for_expr: expr_list
|
|
264 | /* empty */
|
|
|
|
265 expr: expr_no_variable
|
|
266 | variable
|
|
267 | new_expr
|
|
|
|
268 expr_no_variable: T_LIST '(' assignment_list ')' '=' expr
|
|
269 | variable '=' expr
|
|
270 | variable '=' '&' variable
|
|
271 | variable '=' '&' T_NEW class_name_reference ctor_arguments
|
|
272 | T_CLONE expr
|
|
273 | variable T_PLUS_EQUAL expr
|
|
274 | variable T_MINUS_EQUAL expr
|
|
275 | variable T_MUL_EQUAL expr
|
|
276 | variable T_DIV_EQUAL expr
|
|
277 | variable T_CONCAT_EQUAL expr
|
|
278 | variable T_MOD_EQUAL expr
|
|
279 | variable T_AND_EQUAL expr
|
|
280 | variable T_OR_EQUAL expr
|
|
281 | variable T_XOR_EQUAL expr
|
|
282 | variable T_SL_EQUAL expr
|
|
283 | variable T_SR_EQUAL expr
|
|
284 | variable T_INC
|
|
285 | T_INC variable
|
|
286 | variable T_DEC
|
|
287 | T_DEC variable
|
|
288 | expr T_BOOLEAN_OR expr
|
|
289 | expr T_BOOLEAN_AND expr
|
|
290 | expr T_LOGICAL_OR expr
|
|
291 | expr T_LOGICAL_AND expr
|
|
292 | expr T_LOGICAL_XOR expr
|
|
293 | expr '|' expr
|
|
294 | expr '&' expr
|
|
295 | expr '^' expr
|
|
296 | expr '.' expr
|
|
297 | expr '+' expr
|
|
298 | expr '-' expr
|
|
299 | expr '*' expr
|
|
300 | expr '/' expr
|
|
301 | expr '%' expr
|
|
302 | expr T_SL expr
|
|
303 | expr T_SR expr
|
|
304 | '+' expr
|
|
305 | '-' expr
|
|
306 | '!' expr
|
|
307 | '~' expr
|
|
308 | expr T_IS_IDENTICAL expr
|
|
309 | expr T_IS_NOT_IDENTICAL expr
|
|
310 | expr T_IS_EQUAL expr
|
|
311 | expr T_IS_NOT_EQUAL expr
|
|
312 | expr '<' expr
|
|
313 | expr T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr '>' expr
|
|
315 | expr T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr T_INSTANCEOF class_name_reference
|
|
317 | '(' expr_no_variable ')'
|
|
318 | expr '?' expr ':' expr
|
|
319 | expr '?' ':' expr
|
|
320 | internal_functions
|
|
321 | T_INT_CAST expr
|
|
322 | T_DOUBLE_CAST expr
|
|
323 | T_STRING_CAST expr
|
|
324 | T_ARRAY_CAST expr
|
|
325 | T_OBJECT_CAST expr
|
|
326 | T_BOOL_CAST expr
|
|
327 | T_UNSET_CAST expr
|
|
328 | T_EXIT exit_expr
|
|
329 | '@' expr
|
|
330 | scalar
|
|
331 | array_literal
|
|
332 | '`' backticks_expr '`'
|
|
333 | T_PRINT expr
|
|
|
|
334 $@21: /* empty */
|
|
|
|
335 expr_no_variable: function_loc is_reference '(' $@21 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
336 $@22: /* empty */
|
|
|
|
337 expr_no_variable: T_STATIC function_loc is_reference '(' $@22 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
338 | xhp_tag
|
|
339 | dim_expr
|
|
340 | collection_literal
|
|
|
|
341 array_literal: T_ARRAY '(' array_pair_list ')'
|
|
|
|
342 collection_literal: fully_qualified_class_name '{' collection_init '}'
|
|
|
|
343 static_collection_literal: fully_qualified_class_name '{' static_collection_init '}'
|
|
|
|
344 dim_expr: dim_expr '[' dim_offset ']'
|
|
345 | dim_expr_base '[' dim_offset ']'
|
|
|
|
346 dim_expr_base: array_literal
|
|
347 | class_constant
|
|
348 | '(' expr_no_variable ')'
|
|
|
|
349 lexical_vars: T_USE '(' lexical_var_list possible_comma_in_hphp_syntax ')'
|
|
350 | /* empty */
|
|
|
|
351 lexical_var_list: lexical_var_list ',' T_VARIABLE
|
|
352 | lexical_var_list ',' '&' T_VARIABLE
|
|
353 | T_VARIABLE
|
|
354 | '&' T_VARIABLE
|
|
|
|
355 xhp_tag: T_XHP_TAG_LT T_XHP_LABEL xhp_tag_body T_XHP_TAG_GT
|
|
|
|
356 xhp_tag_body: xhp_attributes '/'
|
|
357 | xhp_attributes T_XHP_TAG_GT xhp_children T_XHP_TAG_LT '/' xhp_opt_end_label
|
|
|
|
358 xhp_opt_end_label: /* empty */
|
|
359 | T_XHP_LABEL
|
|
|
|
360 xhp_attributes: xhp_attributes xhp_attribute_name '=' xhp_attribute_value
|
|
361 | /* empty */
|
|
|
|
362 xhp_children: xhp_children xhp_child
|
|
363 | /* empty */
|
|
|
|
364 xhp_attribute_name: T_XHP_LABEL
|
|
|
|
365 xhp_attribute_value: T_XHP_TEXT
|
|
366 | '{' expr '}'
|
|
|
|
367 xhp_child: T_XHP_TEXT
|
|
368 | '{' expr '}'
|
|
369 | xhp_tag
|
|
|
|
370 xhp_label_ws: xhp_bareword
|
|
371 | xhp_label_ws ':' xhp_bareword
|
|
372 | xhp_label_ws '-' xhp_bareword
|
|
|
|
373 xhp_bareword: ident
|
|
374 | T_EXIT
|
|
375 | T_FUNCTION
|
|
376 | T_CONST
|
|
377 | T_RETURN
|
|
378 | T_YIELD
|
|
379 | T_TRY
|
|
380 | T_CATCH
|
|
381 | T_FINALLY
|
|
382 | T_THROW
|
|
383 | T_IF
|
|
384 | T_ELSEIF
|
|
385 | T_ENDIF
|
|
386 | T_ELSE
|
|
387 | T_WHILE
|
|
388 | T_ENDWHILE
|
|
389 | T_DO
|
|
390 | T_FOR
|
|
391 | T_ENDFOR
|
|
392 | T_FOREACH
|
|
393 | T_ENDFOREACH
|
|
394 | T_DECLARE
|
|
395 | T_ENDDECLARE
|
|
396 | T_INSTANCEOF
|
|
397 | T_AS
|
|
398 | T_SWITCH
|
|
399 | T_ENDSWITCH
|
|
400 | T_CASE
|
|
401 | T_DEFAULT
|
|
402 | T_BREAK
|
|
403 | T_CONTINUE
|
|
404 | T_GOTO
|
|
405 | T_ECHO
|
|
406 | T_PRINT
|
|
407 | T_CLASS
|
|
408 | T_INTERFACE
|
|
409 | T_EXTENDS
|
|
410 | T_IMPLEMENTS
|
|
411 | T_NEW
|
|
412 | T_CLONE
|
|
413 | T_VAR
|
|
414 | T_EVAL
|
|
415 | T_INCLUDE
|
|
416 | T_INCLUDE_ONCE
|
|
417 | T_REQUIRE
|
|
418 | T_REQUIRE_ONCE
|
|
419 | T_NAMESPACE
|
|
420 | T_USE
|
|
421 | T_GLOBAL
|
|
422 | T_ISSET
|
|
423 | T_EMPTY
|
|
424 | T_HALT_COMPILER
|
|
425 | T_STATIC
|
|
426 | T_ABSTRACT
|
|
427 | T_FINAL
|
|
428 | T_PRIVATE
|
|
429 | T_PROTECTED
|
|
430 | T_PUBLIC
|
|
431 | T_UNSET
|
|
432 | T_LIST
|
|
433 | T_ARRAY
|
|
434 | T_LOGICAL_OR
|
|
435 | T_LOGICAL_AND
|
|
436 | T_LOGICAL_XOR
|
|
437 | T_CLASS_C
|
|
438 | T_FUNC_C
|
|
439 | T_METHOD_C
|
|
440 | T_LINE
|
|
441 | T_FILE
|
|
442 | T_DIR
|
|
443 | T_NS_C
|
|
444 | T_TRAIT
|
|
445 | T_TRAIT_C
|
|
|
|
446 simple_function_call: namespace_string_typeargs '(' function_call_parameter_list ')'
|
|
|
|
447 fully_qualified_class_name: class_namespace_string_typeargs
|
|
448 | T_XHP_LABEL
|
|
|
|
449 static_class_name: fully_qualified_class_name
|
|
450 | T_STATIC
|
|
451 | reference_variable
|
|
|
|
452 class_name_reference: fully_qualified_class_name
|
|
453 | T_STATIC
|
|
454 | variable_no_calls
|
|
|
|
455 exit_expr: '(' ')'
|
|
456 | parenthesis_expr
|
|
457 | /* empty */
|
|
|
|
458 backticks_expr: /* empty */
|
|
459 | T_ENCAPSED_AND_WHITESPACE
|
|
460 | encaps_list
|
|
|
|
461 ctor_arguments: '(' function_call_parameter_list ')'
|
|
462 | /* empty */
|
|
|
|
463 common_scalar: T_LNUMBER
|
|
464 | T_DNUMBER
|
|
465 | T_CONSTANT_ENCAPSED_STRING
|
|
466 | T_LINE
|
|
467 | T_FILE
|
|
468 | T_DIR
|
|
469 | T_CLASS_C
|
|
470 | T_TRAIT_C
|
|
471 | T_METHOD_C
|
|
472 | T_FUNC_C
|
|
473 | T_NS_C
|
|
474 | T_START_HEREDOC T_ENCAPSED_AND_WHITESPACE T_END_HEREDOC
|
|
475 | T_START_HEREDOC T_END_HEREDOC
|
|
|
|
476 static_scalar: common_scalar
|
|
477 | namespace_string
|
|
478 | '+' static_scalar
|
|
479 | '-' static_scalar
|
|
480 | T_ARRAY '(' static_array_pair_list ')'
|
|
481 | static_class_constant
|
|
482 | static_collection_literal
|
|
|
|
483 static_class_constant: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM ident
|
|
484 | T_XHP_LABEL T_PAAMAYIM_NEKUDOTAYIM ident
|
|
|
|
485 scalar: namespace_string
|
|
486 | T_STRING_VARNAME
|
|
487 | class_constant
|
|
488 | common_scalar
|
|
489 | '"' encaps_list '"'
|
|
490 | '\'' encaps_list '\''
|
|
491 | T_START_HEREDOC encaps_list T_END_HEREDOC
|
|
|
|
492 static_array_pair_list: non_empty_static_array_pair_list possible_comma
|
|
493 | /* empty */
|
|
|
|
494 possible_comma: ','
|
|
495 | /* empty */
|
|
|
|
496 possible_comma_in_hphp_syntax: ','
|
|
497 | /* empty */
|
|
|
|
498 non_empty_static_array_pair_list: non_empty_static_array_pair_list ',' static_scalar T_DOUBLE_ARROW static_scalar
|
|
499 | non_empty_static_array_pair_list ',' static_scalar
|
|
500 | static_scalar T_DOUBLE_ARROW static_scalar
|
|
501 | static_scalar
|
|
|
|
502 common_scalar_ae: T_LNUMBER
|
|
503 | T_DNUMBER
|
|
504 | T_CONSTANT_ENCAPSED_STRING
|
|
505 | T_START_HEREDOC T_ENCAPSED_AND_WHITESPACE T_END_HEREDOC
|
|
506 | T_START_HEREDOC T_END_HEREDOC
|
|
|
|
507 static_numeric_scalar_ae: T_LNUMBER
|
|
508 | T_DNUMBER
|
|
509 | ident
|
|
|
|
510 static_scalar_ae: common_scalar_ae
|
|
511 | ident
|
|
512 | '+' static_numeric_scalar_ae
|
|
513 | '-' static_numeric_scalar_ae
|
|
514 | T_ARRAY '(' static_array_pair_list_ae ')'
|
|
|
|
515 static_array_pair_list_ae: non_empty_static_array_pair_list_ae possible_comma
|
|
516 | /* empty */
|
|
|
|
517 non_empty_static_array_pair_list_ae: non_empty_static_array_pair_list_ae ',' static_scalar_ae T_DOUBLE_ARROW static_scalar_ae
|
|
518 | non_empty_static_array_pair_list_ae ',' static_scalar_ae
|
|
519 | static_scalar_ae T_DOUBLE_ARROW static_scalar_ae
|
|
520 | static_scalar_ae
|
|
|
|
521 non_empty_static_scalar_list_ae: non_empty_static_scalar_list_ae ',' static_scalar_ae
|
|
522 | static_scalar_ae
|
|
|
|
523 static_scalar_list_ae: non_empty_static_scalar_list_ae possible_comma
|
|
524 | /* empty */
|
|
|
|
525 attribute_static_scalar_list: '(' static_scalar_list_ae ')'
|
|
526 | /* empty */
|
|
|
|
527 non_empty_user_attribute_list: non_empty_user_attribute_list ',' ident attribute_static_scalar_list
|
|
528 | ident attribute_static_scalar_list
|
|
|
|
529 $@23: /* empty */
|
|
|
|
530 user_attribute_list: $@23 non_empty_user_attribute_list possible_comma
|
|
|
|
531 non_empty_user_attributes: T_SL user_attribute_list T_SR
|
|
|
|
532 optional_user_attributes: non_empty_user_attributes
|
|
533 | /* empty */
|
|
|
|
534 property_access: property_access_without_variables
|
|
535 | T_OBJECT_OPERATOR variable_without_objects
|
|
|
|
536 property_access_without_variables: T_OBJECT_OPERATOR ident
|
|
537 | T_OBJECT_OPERATOR '{' expr '}'
|
|
|
|
538 array_access: '[' dim_offset ']'
|
|
539 | '{' expr '}'
|
|
|
|
540 dimmable_variable_access: dimmable_variable array_access
|
|
541 | '(' new_expr ')' array_access
|
|
|
|
542 dimmable_variable_no_calls_access: dimmable_variable_no_calls array_access
|
|
543 | '(' new_expr ')' array_access
|
|
|
|
544 variable: variable_without_objects
|
|
545 | simple_function_call
|
|
546 | object_method_call
|
|
547 | class_method_call
|
|
548 | dimmable_variable_access
|
|
549 | variable property_access
|
|
550 | '(' new_expr ')' property_access
|
|
551 | static_class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects
|
|
552 | callable_variable '(' function_call_parameter_list ')'
|
|
553 | '(' variable ')'
|
|
|
|
554 dimmable_variable: simple_function_call
|
|
555 | object_method_call
|
|
556 | class_method_call
|
|
557 | dimmable_variable_access
|
|
558 | variable property_access_without_variables
|
|
559 | '(' new_expr ')' property_access_without_variables
|
|
560 | callable_variable '(' function_call_parameter_list ')'
|
|
561 | '(' variable ')'
|
|
|
|
562 callable_variable: variable_without_objects
|
|
563 | dimmable_variable_access
|
|
564 | '(' variable ')'
|
|
|
|
565 object_method_call: variable T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
568 | '(' new_expr ')' T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
569 | '(' new_expr ')' T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
570 | '(' new_expr ')' T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
571 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
572 | static_class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects '(' function_call_parameter_list ')'
|
|
|
|
573 variable_without_objects: reference_variable
|
|
574 | simple_indirect_reference reference_variable
|
|
|
|
575 reference_variable: reference_variable '[' dim_offset ']'
|
|
576 | reference_variable '{' expr '}'
|
|
577 | compound_variable
|
|
|
|
578 compound_variable: T_VARIABLE
|
|
579 | '$' '{' expr '}'
|
|
|
|
580 dim_offset: expr
|
|
581 | /* empty */
|
|
|
|
582 simple_indirect_reference: '$'
|
|
583 | simple_indirect_reference '$'
|
|
|
|
584 variable_no_calls: variable_without_objects
|
|
585 | dimmable_variable_no_calls_access
|
|
586 | variable_no_calls property_access
|
|
587 | '(' new_expr ')' property_access
|
|
588 | static_class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects
|
|
589 | '(' variable ')'
|
|
|
|
590 dimmable_variable_no_calls: /* empty */
|
|
591 | dimmable_variable_no_calls_access
|
|
592 | variable_no_calls property_access_without_variables
|
|
593 | '(' new_expr ')' property_access_without_variables
|
|
594 | '(' variable ')'
|
|
|
|
595 assignment_list: assignment_list ','
|
|
596 | assignment_list ',' variable
|
|
597 | assignment_list ',' T_LIST '(' assignment_list ')'
|
|
598 | /* empty */
|
|
599 | variable
|
|
600 | T_LIST '(' assignment_list ')'
|
|
|
|
601 array_pair_list: non_empty_array_pair_list possible_comma
|
|
602 | /* empty */
|
|
|
|
603 non_empty_array_pair_list: non_empty_array_pair_list ',' expr T_DOUBLE_ARROW expr
|
|
604 | non_empty_array_pair_list ',' expr
|
|
605 | expr T_DOUBLE_ARROW expr
|
|
606 | expr
|
|
607 | non_empty_array_pair_list ',' expr T_DOUBLE_ARROW '&' variable
|
|
608 | non_empty_array_pair_list ',' '&' variable
|
|
609 | expr T_DOUBLE_ARROW '&' variable
|
|
610 | '&' variable
|
|
|
|
611 collection_init: non_empty_collection_init possible_comma
|
|
612 | /* empty */
|
|
|
|
613 non_empty_collection_init: non_empty_collection_init ',' expr T_DOUBLE_ARROW expr
|
|
614 | non_empty_collection_init ',' expr
|
|
615 | expr T_DOUBLE_ARROW expr
|
|
616 | expr
|
|
|
|
617 static_collection_init: non_empty_static_collection_init possible_comma
|
|
618 | /* empty */
|
|
|
|
619 non_empty_static_collection_init: non_empty_static_collection_init ',' static_scalar T_DOUBLE_ARROW static_scalar
|
|
620 | non_empty_static_collection_init ',' static_scalar
|
|
621 | static_scalar T_DOUBLE_ARROW static_scalar
|
|
622 | static_scalar
|
|
|
|
623 encaps_list: encaps_list encaps_var
|
|
624 | encaps_list T_ENCAPSED_AND_WHITESPACE
|
|
625 | encaps_var
|
|
626 | T_ENCAPSED_AND_WHITESPACE encaps_var
|
|
|
|
627 encaps_var: T_VARIABLE
|
|
628 | T_VARIABLE '[' encaps_var_offset ']'
|
|
629 | T_VARIABLE T_OBJECT_OPERATOR ident
|
|
630 | T_DOLLAR_OPEN_CURLY_BRACES expr '}'
|
|
631 | T_DOLLAR_OPEN_CURLY_BRACES T_STRING_VARNAME '[' expr ']' '}'
|
|
632 | T_CURLY_OPEN variable '}'
|
|
|
|
633 encaps_var_offset: ident
|
|
634 | T_NUM_STRING
|
|
635 | T_VARIABLE
|
|
|
|
636 internal_functions: T_ISSET '(' variable_list ')'
|
|
637 | T_EMPTY '(' variable ')'
|
|
638 | T_INCLUDE expr
|
|
639 | T_INCLUDE_ONCE expr
|
|
640 | T_EVAL '(' expr ')'
|
|
641 | T_REQUIRE expr
|
|
642 | T_REQUIRE_ONCE expr
|
|
|
|
643 variable_list: variable
|
|
644 | variable_list ',' variable
|
|
|
|
645 class_constant: static_class_name T_PAAMAYIM_NEKUDOTAYIM ident
|
|
|
|
646 sm_name_with_type: ident
|
|
647 | sm_type ident
|
|
|
|
648 sm_name_with_typevar: ident
|
|
649 | ident T_TYPELIST_LT sm_typevar_list T_TYPELIST_GT
|
|
|
|
650 sm_typeargs_opt: T_TYPELIST_LT sm_type_list T_TYPELIST_GT
|
|
651 | /* empty */
|
|
|
|
652 sm_type_list: sm_type
|
|
653 | sm_type_list ',' sm_type
|
|
|
|
654 sm_func_type_list: sm_type_list ',' T_VARARG
|
|
655 | sm_type_list
|
|
656 | T_VARARG
|
|
657 | /* empty */
|
|
|
|
658 sm_opt_return_type: /* empty */
|
|
659 | ':' sm_type
|
|
|
|
660 sm_typevar_list: ident ',' sm_typevar_list
|
|
661 | ident
|
|
662 | ident T_AS ident ',' sm_typevar_list
|
|
663 | ident T_AS ident
|
|
|
|
664 sm_type: '?' sm_type
|
|
665 | '@' sm_type
|
|
666 | ident sm_typeargs_opt
|
|
667 | T_ARRAY
|
|
668 | T_ARRAY T_TYPELIST_LT sm_type T_TYPELIST_GT
|
|
669 | T_ARRAY T_TYPELIST_LT sm_type ',' sm_type T_TYPELIST_GT
|
|
670 | T_XHP_LABEL
|
|
671 | '(' T_FUNCTION '(' sm_func_type_list ')' ':' sm_type ')'
|
|
672 | '(' sm_type_list ',' sm_type ')'
|
|
|
|
673 sm_type_opt: sm_type
|
|
674 | /* empty */
|
|
|
|
|
|
Terminals, with rules where they appear
|
|
|
|
$end (0) 0
|
|
'!' (33) 306
|
|
'"' (34) 489
|
|
'$' (36) 174 175 579 582 583
|
|
'%' (37) 301
|
|
'&' (38) 86 125 158 159 162 163 168 170 270 271 294 352 354 607 608
|
|
609 610
|
|
'\'' (39) 490
|
|
'(' (40) 8 52 64 68 72 73 74 80 90 92 188 190 224 225 226 227 259 260
|
|
268 317 335 337 341 348 349 446 455 461 480 514 525 541 543 550
|
|
552 553 559 560 561 564 565 566 567 568 569 570 571 572 587 589
|
|
593 594 597 600 636 637 640 671 672
|
|
')' (41) 8 52 64 68 72 73 74 80 90 92 188 190 224 225 226 227 259 260
|
|
268 317 335 337 341 348 349 446 455 461 480 514 525 541 543 550
|
|
552 553 559 560 561 564 565 566 567 568 569 570 571 572 587 589
|
|
593 594 597 600 636 637 640 671 672
|
|
'*' (42) 225 230 299
|
|
'+' (43) 227 232 297 304 478 512
|
|
',' (44) 22 36 119 121 135 153 161 162 163 164 169 170 171 176 177
|
|
205 213 219 233 252 253 256 261 351 352 494 496 498 499 517 518
|
|
521 527 595 596 597 603 604 607 608 613 614 619 620 644 653 654
|
|
660 662 669 672
|
|
'-' (45) 298 305 372 479 513
|
|
'.' (46) 296
|
|
'/' (47) 300 356 357
|
|
':' (58) 46 79 127 129 131 133 138 139 143 147 151 318 319 371 659
|
|
671
|
|
';' (59) 8 9 14 15 46 50 52 55 56 57 58 59 60 61 62 63 64 65 66 67
|
|
68 69 76 77 78 127 129 131 133 137 138 139 144 183 185 186 191
|
|
192 193 194 199 200 201 238
|
|
'<' (60) 312
|
|
'=' (61) 36 37 63 64 134 135 159 160 163 164 177 179 214 253 255 256
|
|
257 268 269 270 271 360
|
|
'>' (62) 314
|
|
'?' (63) 226 231 318 319 664
|
|
'@' (64) 216 329 665
|
|
'[' (91) 344 345 538 575 628 631
|
|
']' (93) 344 345 538 575 628 631
|
|
'^' (94) 295
|
|
'`' (96) 332
|
|
'{' (123) 11 13 44 74 75 80 83 90 92 94 96 98 100 102 104 136 137 175
|
|
195 211 239 335 337 342 343 366 368 537 539 567 570 576 579
|
|
'|' (124) 234 293
|
|
'}' (125) 11 13 44 74 75 80 83 90 92 94 96 98 100 102 104 136 137 175
|
|
195 211 239 335 337 342 343 366 368 537 539 567 570 576 579 630
|
|
631 632
|
|
'~' (126) 307
|
|
error (256)
|
|
T_REQUIRE_ONCE (258) 418 642
|
|
T_REQUIRE (259) 417 641
|
|
T_EVAL (260) 414 640
|
|
T_INCLUDE_ONCE (261) 416 639
|
|
T_INCLUDE (262) 415 638
|
|
T_LOGICAL_OR (263) 290 434
|
|
T_LOGICAL_XOR (264) 292 436
|
|
T_LOGICAL_AND (265) 291 435
|
|
T_PRINT (266) 333 406
|
|
T_SR_EQUAL (267) 283
|
|
T_SL_EQUAL (268) 282
|
|
T_XOR_EQUAL (269) 281
|
|
T_OR_EQUAL (270) 280
|
|
T_AND_EQUAL (271) 279
|
|
T_MOD_EQUAL (272) 278
|
|
T_CONCAT_EQUAL (273) 277
|
|
T_DIV_EQUAL (274) 276
|
|
T_MUL_EQUAL (275) 275
|
|
T_MINUS_EQUAL (276) 274
|
|
T_PLUS_EQUAL (277) 273
|
|
T_BOOLEAN_OR (278) 288
|
|
T_BOOLEAN_AND (279) 289
|
|
T_IS_NOT_IDENTICAL (280) 309
|
|
T_IS_IDENTICAL (281) 308
|
|
T_IS_NOT_EQUAL (282) 311
|
|
T_IS_EQUAL (283) 310
|
|
T_IS_GREATER_OR_EQUAL (284) 315
|
|
T_IS_SMALLER_OR_EQUAL (285) 313
|
|
T_SR (286) 303 531
|
|
T_SL (287) 302 531
|
|
T_INSTANCEOF (288) 316 396
|
|
T_UNSET_CAST (289) 327
|
|
T_BOOL_CAST (290) 326
|
|
T_OBJECT_CAST (291) 325
|
|
T_ARRAY_CAST (292) 324
|
|
T_STRING_CAST (293) 323
|
|
T_DOUBLE_CAST (294) 322
|
|
T_INT_CAST (295) 321
|
|
T_DEC (296) 286 287
|
|
T_INC (297) 284 285
|
|
T_CLONE (298) 272 412
|
|
T_NEW (299) 258 271 411
|
|
T_EXIT (300) 328 374
|
|
T_IF (301) 45 46 383
|
|
T_ELSEIF (302) 145 147 384
|
|
T_ELSE (303) 149 151 386
|
|
T_ENDIF (304) 46 385
|
|
T_LNUMBER (305) 463 502 507
|
|
T_DNUMBER (306) 464 503 508
|
|
T_STRING (307) 16
|
|
T_STRING_VARNAME (308) 486 631
|
|
T_VARIABLE (309) 74 80 157 158 159 160 161 162 163 164 173 176 177
|
|
178 179 252 253 254 255 351 352 353 354 578 627 628 629 635
|
|
T_NUM_STRING (310) 634
|
|
T_INLINE_HTML (311) 70
|
|
T_CHARACTER (312)
|
|
T_BAD_CHARACTER (313)
|
|
T_ENCAPSED_AND_WHITESPACE (314) 459 474 505 624 626
|
|
T_CONSTANT_ENCAPSED_STRING (315) 465 504
|
|
T_ECHO (316) 67 405
|
|
T_DO (317) 50 389
|
|
T_WHILE (318) 48 50 387
|
|
T_ENDWHILE (319) 131 388
|
|
T_FOR (320) 52 390
|
|
T_ENDFOR (321) 127 391
|
|
T_FOREACH (322) 72 392
|
|
T_ENDFOREACH (323) 129 393
|
|
T_DECLARE (324) 73 394
|
|
T_ENDDECLARE (325) 133 395
|
|
T_AS (326) 26 27 72 200 201 397 662 663
|
|
T_SWITCH (327) 54 398
|
|
T_ENDSWITCH (328) 138 139 399
|
|
T_CASE (329) 140 400
|
|
T_DEFAULT (330) 141 401
|
|
T_BREAK (331) 55 56 61 402
|
|
T_GOTO (332) 77 404
|
|
T_CONTINUE (333) 57 58 403
|
|
T_FUNCTION (334) 88 375 671
|
|
T_CONST (335) 37 257 376
|
|
T_RETURN (336) 59 60 377
|
|
T_TRY (337) 74 75 379
|
|
T_CATCH (338) 74 80 380
|
|
T_THROW (339) 76 382
|
|
T_USE (340) 14 194 195 349 420
|
|
T_GLOBAL (341) 65 421
|
|
T_PUBLIC (342) 246 430
|
|
T_PROTECTED (343) 247 429
|
|
T_PRIVATE (344) 248 428
|
|
T_FINAL (345) 111 251 427
|
|
T_ABSTRACT (346) 110 250 426
|
|
T_STATIC (347) 66 249 337 425 450 453
|
|
T_VAR (348) 210 241 413
|
|
T_UNSET (349) 68 431
|
|
T_ISSET (350) 422 636
|
|
T_EMPTY (351) 223 423 637
|
|
T_HALT_COMPILER (352) 8 424
|
|
T_CLASS (353) 109 110 111 407
|
|
T_INTERFACE (354) 98 100 408
|
|
T_EXTENDS (355) 112 116 409
|
|
T_IMPLEMENTS (356) 114 410
|
|
T_OBJECT_OPERATOR (357) 535 536 537 565 566 567 568 569 570 629
|
|
T_DOUBLE_ARROW (358) 122 498 500 517 519 603 605 607 609 613 615 619
|
|
621
|
|
T_LIST (359) 64 268 432 597 600
|
|
T_ARRAY (360) 208 341 433 480 514 667 668 669
|
|
T_CLASS_C (361) 437 469
|
|
T_METHOD_C (362) 439 471
|
|
T_FUNC_C (363) 438 472
|
|
T_LINE (364) 440 466
|
|
T_FILE (365) 441 467
|
|
T_COMMENT (366)
|
|
T_DOC_COMMENT (367)
|
|
T_OPEN_TAG (368)
|
|
T_OPEN_TAG_WITH_ECHO (369)
|
|
T_CLOSE_TAG (370)
|
|
T_WHITESPACE (371)
|
|
T_START_HEREDOC (372) 474 475 491 505 506
|
|
T_END_HEREDOC (373) 474 475 491 505 506
|
|
T_DOLLAR_OPEN_CURLY_BRACES (374) 630 631
|
|
T_CURLY_OPEN (375) 632
|
|
T_PAAMAYIM_NEKUDOTAYIM (376) 199 202 483 484 551 571 572 588 645
|
|
T_NAMESPACE (377) 9 11 13 32 419
|
|
T_NS_C (378) 443 473
|
|
T_DIR (379) 442 468
|
|
T_NS_SEPARATOR (380) 25 27 29 31 32
|
|
T_YIELD (381) 61 62 63 64 378
|
|
T_XHP_LABEL (382) 106 207 236 355 359 364 448 484 670
|
|
T_XHP_TEXT (383) 365 367
|
|
T_XHP_ATTRIBUTE (384) 17 191
|
|
T_XHP_CATEGORY (385) 18 192
|
|
T_XHP_CATEGORY_LABEL (386) 220 237
|
|
T_XHP_CHILDREN (387) 19 193
|
|
T_XHP_ENUM (388) 21 211
|
|
T_XHP_REQUIRED (389) 20 216
|
|
T_TRAIT (390) 102 104 444
|
|
T_INSTEADOF (391) 199
|
|
T_TRAIT_C (392) 445 470
|
|
T_VARARG (393) 153 155 654 656
|
|
T_STRICT_ERROR (394)
|
|
T_FINALLY (395) 83 381
|
|
T_XHP_TAG_LT (396) 355 357
|
|
T_XHP_TAG_GT (397) 355 357
|
|
T_TYPELIST_LT (398) 649 650 668 669
|
|
T_TYPELIST_GT (399) 649 650 668 669
|
|
T_UNRESOLVED_LT (400)
|
|
T_COLLECTION (401)
|
|
|
|
|
|
Nonterminals, with rules where they appear
|
|
|
|
$accept (176)
|
|
on left: 0
|
|
start (177)
|
|
on left: 1, on right: 0
|
|
top_statement_list (178)
|
|
on left: 2 3, on right: 1 2 11 13
|
|
top_statement (179)
|
|
on left: 4 5 6 7 8 9 11 13 14 15, on right: 2
|
|
$@1 (180)
|
|
on left: 10, on right: 11
|
|
$@2 (181)
|
|
on left: 12, on right: 13
|
|
ident (182)
|
|
on left: 16 17 18 19 20 21, on right: 26 27 28 29 77 79 134 135
|
|
199 200 202 203 222 235 373 483 484 509 511 527 528 536 565 568
|
|
571 629 633 645 646 647 648 649 660 661 662 663 666
|
|
use_declarations (183)
|
|
on left: 22 23, on right: 14 22
|
|
use_declaration (184)
|
|
on left: 24 25 26 27, on right: 22 23
|
|
namespace_name (185)
|
|
on left: 28 29, on right: 9 11 24 25 26 27 29 30 31 32
|
|
namespace_string_base (186)
|
|
on left: 30 31 32, on right: 33 34 35
|
|
namespace_string (187)
|
|
on left: 33, on right: 477 485
|
|
namespace_string_typeargs (188)
|
|
on left: 34, on right: 446
|
|
class_namespace_string_typeargs (189)
|
|
on left: 35, on right: 199 202 447 483
|
|
constant_declaration (190)
|
|
on left: 36 37, on right: 15 36
|
|
inner_statement_list (191)
|
|
on left: 38 39, on right: 38 44 46 74 75 80 83 90 92 127 129 131
|
|
133 140 141 147 151 239 335 337
|
|
inner_statement (192)
|
|
on left: 40 41 42 43, on right: 38
|
|
statement (193)
|
|
on left: 44 45 46 48 50 52 54 55 56 57 58 59 60 61 62 63 64 65
|
|
66 67 68 69 70 72 73 74 75 76 77 78 79, on right: 4 40 45 50 126
|
|
128 130 132 145 149
|
|
$@3 (194)
|
|
on left: 47, on right: 48
|
|
$@4 (195)
|
|
on left: 49, on right: 50
|
|
$@5 (196)
|
|
on left: 51, on right: 52
|
|
$@6 (197)
|
|
on left: 53, on right: 54
|
|
$@7 (198)
|
|
on left: 71, on right: 72
|
|
additional_catches (199)
|
|
on left: 80 81, on right: 74 80
|
|
finally (200)
|
|
on left: 83, on right: 75 84
|
|
$@8 (201)
|
|
on left: 82, on right: 83
|
|
optional_finally (202)
|
|
on left: 84 85, on right: 74
|
|
is_reference (203)
|
|
on left: 86 87, on right: 90 92 188 190 335 337
|
|
function_loc (204)
|
|
on left: 88, on right: 90 92 188 190 335 337
|
|
function_declaration_statement (205)
|
|
on left: 90 92, on right: 5 41
|
|
$@9 (206)
|
|
on left: 89, on right: 90
|
|
$@10 (207)
|
|
on left: 91, on right: 92
|
|
class_declaration_statement (208)
|
|
on left: 94 96 98 100, on right: 6 42
|
|
$@11 (209)
|
|
on left: 93, on right: 94
|
|
$@12 (210)
|
|
on left: 95, on right: 96
|
|
$@13 (211)
|
|
on left: 97, on right: 98
|
|
$@14 (212)
|
|
on left: 99, on right: 100
|
|
trait_declaration_statement (213)
|
|
on left: 102 104, on right: 7 43
|
|
$@15 (214)
|
|
on left: 101, on right: 102
|
|
$@16 (215)
|
|
on left: 103, on right: 104
|
|
class_decl_name (216)
|
|
on left: 105 106, on right: 94 96
|
|
interface_decl_name (217)
|
|
on left: 107, on right: 98 100
|
|
trait_decl_name (218)
|
|
on left: 108, on right: 102 104
|
|
class_entry_type (219)
|
|
on left: 109 110 111, on right: 94 96
|
|
extends_from (220)
|
|
on left: 112 113, on right: 94 96
|
|
implements_list (221)
|
|
on left: 114 115, on right: 94 96
|
|
interface_extends_list (222)
|
|
on left: 116 117, on right: 98 100
|
|
interface_list (223)
|
|
on left: 118 119, on right: 114 116 119
|
|
trait_list (224)
|
|
on left: 120 121, on right: 121 194 195 199
|
|
foreach_optional_arg (225)
|
|
on left: 122 123, on right: 72
|
|
foreach_variable (226)
|
|
on left: 124 125, on right: 72 122
|
|
for_statement (227)
|
|
on left: 126 127, on right: 52
|
|
foreach_statement (228)
|
|
on left: 128 129, on right: 72
|
|
while_statement (229)
|
|
on left: 130 131, on right: 48
|
|
declare_statement (230)
|
|
on left: 132 133, on right: 73
|
|
declare_list (231)
|
|
on left: 134 135, on right: 73 135
|
|
switch_case_list (232)
|
|
on left: 136 137 138 139, on right: 54
|
|
case_list (233)
|
|
on left: 140 141 142, on right: 136 137 138 139 140 141
|
|
case_separator (234)
|
|
on left: 143 144, on right: 140 141
|
|
elseif_list (235)
|
|
on left: 145 146, on right: 45 145
|
|
new_elseif_list (236)
|
|
on left: 147 148, on right: 46 147
|
|
else_single (237)
|
|
on left: 149 150, on right: 45
|
|
new_else_single (238)
|
|
on left: 151 152, on right: 46
|
|
parameter_list (239)
|
|
on left: 153 154 155 156, on right: 90 92 188 190 335 337
|
|
non_empty_parameter_list (240)
|
|
on left: 157 158 159 160 161 162 163 164, on right: 153 154 161
|
|
162 163 164
|
|
function_call_parameter_list (241)
|
|
on left: 165 166, on right: 446 461 552 560 565 566 567 568 569
|
|
570 571 572
|
|
non_empty_fcall_parameter_list (242)
|
|
on left: 167 168 169 170, on right: 165 169 170
|
|
global_var_list (243)
|
|
on left: 171 172, on right: 65 171
|
|
global_var (244)
|
|
on left: 173 174 175, on right: 171 172
|
|
static_var_list (245)
|
|
on left: 176 177 178 179, on right: 66 176 177
|
|
class_statement_list (246)
|
|
on left: 180 181, on right: 94 96 98 100 102 104 180
|
|
class_statement (247)
|
|
on left: 183 185 186 188 190 191 192 193 194 195, on right: 180
|
|
$@17 (248)
|
|
on left: 182, on right: 183
|
|
$@18 (249)
|
|
on left: 184, on right: 185
|
|
$@19 (250)
|
|
on left: 187, on right: 188
|
|
$@20 (251)
|
|
on left: 189, on right: 190
|
|
trait_rules (252)
|
|
on left: 196 197 198, on right: 195 196 197
|
|
trait_precedence_rule (253)
|
|
on left: 199, on right: 196
|
|
trait_alias_rule (254)
|
|
on left: 200 201, on right: 197
|
|
trait_alias_rule_method (255)
|
|
on left: 202 203, on right: 200 201
|
|
xhp_attribute_stmt (256)
|
|
on left: 204 205, on right: 191 205
|
|
xhp_attribute_decl (257)
|
|
on left: 206 207, on right: 204 205
|
|
xhp_attribute_decl_type (258)
|
|
on left: 208 209 210 211, on right: 206
|
|
xhp_attribute_enum (259)
|
|
on left: 212 213, on right: 211 213
|
|
xhp_attribute_default (260)
|
|
on left: 214 215, on right: 206
|
|
xhp_attribute_is_required (261)
|
|
on left: 216 217, on right: 206
|
|
xhp_category_stmt (262)
|
|
on left: 218 219, on right: 192 219
|
|
xhp_category_decl (263)
|
|
on left: 220, on right: 218 219
|
|
xhp_children_stmt (264)
|
|
on left: 221 222 223, on right: 193
|
|
xhp_children_paren_expr (265)
|
|
on left: 224 225 226 227, on right: 221 228
|
|
xhp_children_decl_expr (266)
|
|
on left: 228 229 230 231 232 233 234, on right: 224 225 226 227
|
|
233 234
|
|
xhp_children_decl_tag (267)
|
|
on left: 235 236 237, on right: 229 230 231 232
|
|
method_body (268)
|
|
on left: 238 239, on right: 188 190
|
|
variable_modifiers (269)
|
|
on left: 240 241, on right: 183
|
|
method_modifiers (270)
|
|
on left: 242 243, on right: 188 190 200
|
|
non_empty_member_modifiers (271)
|
|
on left: 244 245, on right: 185 201 240 242 245
|
|
member_modifier (272)
|
|
on left: 246 247 248 249 250 251, on right: 244 245
|
|
class_variable_declaration (273)
|
|
on left: 252 253 254 255, on right: 183 185 252 253
|
|
class_constant_declaration (274)
|
|
on left: 256 257, on right: 186 256
|
|
new_expr (275)
|
|
on left: 258 259, on right: 259 267 541 543 550 559 568 569 570
|
|
587 593
|
|
parenthesis_expr (276)
|
|
on left: 260, on right: 45 46 48 50 54 145 147 456
|
|
expr_list (277)
|
|
on left: 261 262, on right: 67 261 263
|
|
for_expr (278)
|
|
on left: 263 264, on right: 52
|
|
expr (279)
|
|
on left: 265 266 267, on right: 56 58 60 62 63 64 72 76 78 140
|
|
167 169 175 260 261 262 268 269 272 273 274 275 276 277 278 279
|
|
280 281 282 283 288 289 290 291 292 293 294 295 296 297 298 299
|
|
300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315
|
|
316 318 319 321 322 323 324 325 326 327 329 333 366 368 537 539
|
|
567 570 576 579 580 603 604 605 606 607 609 613 614 615 616 630
|
|
631 638 639 640 641 642
|
|
expr_no_variable (280)
|
|
on left: 268 269 270 271 272 273 274 275 276 277 278 279 280 281
|
|
282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297
|
|
298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313
|
|
314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329
|
|
330 331 332 333 335 337 338 339 340, on right: 265 317 348
|
|
$@21 (281)
|
|
on left: 334, on right: 335
|
|
$@22 (282)
|
|
on left: 336, on right: 337
|
|
array_literal (283)
|
|
on left: 341, on right: 331 346
|
|
collection_literal (284)
|
|
on left: 342, on right: 340
|
|
static_collection_literal (285)
|
|
on left: 343, on right: 482
|
|
dim_expr (286)
|
|
on left: 344 345, on right: 339 344
|
|
dim_expr_base (287)
|
|
on left: 346 347 348, on right: 345
|
|
lexical_vars (288)
|
|
on left: 349 350, on right: 335 337
|
|
lexical_var_list (289)
|
|
on left: 351 352 353 354, on right: 349 351 352
|
|
xhp_tag (290)
|
|
on left: 355, on right: 338 369
|
|
xhp_tag_body (291)
|
|
on left: 356 357, on right: 355
|
|
xhp_opt_end_label (292)
|
|
on left: 358 359, on right: 357
|
|
xhp_attributes (293)
|
|
on left: 360 361, on right: 356 357 360
|
|
xhp_children (294)
|
|
on left: 362 363, on right: 357 362
|
|
xhp_attribute_name (295)
|
|
on left: 364, on right: 360
|
|
xhp_attribute_value (296)
|
|
on left: 365 366, on right: 360
|
|
xhp_child (297)
|
|
on left: 367 368 369, on right: 362
|
|
xhp_label_ws (298)
|
|
on left: 370 371 372, on right: 206 371 372
|
|
xhp_bareword (299)
|
|
on left: 373 374 375 376 377 378 379 380 381 382 383 384 385 386
|
|
387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402
|
|
403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418
|
|
419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434
|
|
435 436 437 438 439 440 441 442 443 444 445, on right: 370 371
|
|
372
|
|
simple_function_call (300)
|
|
on left: 446, on right: 545 554
|
|
fully_qualified_class_name (301)
|
|
on left: 447 448, on right: 74 80 112 118 119 120 121 209 342 343
|
|
449 452
|
|
static_class_name (302)
|
|
on left: 449 450 451, on right: 551 571 572 588 645
|
|
class_name_reference (303)
|
|
on left: 452 453 454, on right: 258 271 316
|
|
exit_expr (304)
|
|
on left: 455 456 457, on right: 328
|
|
backticks_expr (305)
|
|
on left: 458 459 460, on right: 332
|
|
ctor_arguments (306)
|
|
on left: 461 462, on right: 258 271
|
|
common_scalar (307)
|
|
on left: 463 464 465 466 467 468 469 470 471 472 473 474 475, on right:
|
|
212 213 476 488
|
|
static_scalar (308)
|
|
on left: 476 477 478 479 480 481 482, on right: 36 37 134 135 159
|
|
160 163 164 177 179 214 253 255 256 257 478 479 498 499 500 501
|
|
619 620 621 622
|
|
static_class_constant (309)
|
|
on left: 483 484, on right: 481
|
|
scalar (310)
|
|
on left: 485 486 487 488 489 490 491, on right: 330
|
|
static_array_pair_list (311)
|
|
on left: 492 493, on right: 480
|
|
possible_comma (312)
|
|
on left: 494 495, on right: 492 515 523 530 601 611 617
|
|
possible_comma_in_hphp_syntax (313)
|
|
on left: 496 497, on right: 154 165 349
|
|
non_empty_static_array_pair_list (314)
|
|
on left: 498 499 500 501, on right: 492 498 499
|
|
common_scalar_ae (315)
|
|
on left: 502 503 504 505 506, on right: 510
|
|
static_numeric_scalar_ae (316)
|
|
on left: 507 508 509, on right: 512 513
|
|
static_scalar_ae (317)
|
|
on left: 510 511 512 513 514, on right: 517 518 519 520 521 522
|
|
static_array_pair_list_ae (318)
|
|
on left: 515 516, on right: 514
|
|
non_empty_static_array_pair_list_ae (319)
|
|
on left: 517 518 519 520, on right: 515 517 518
|
|
non_empty_static_scalar_list_ae (320)
|
|
on left: 521 522, on right: 521 523
|
|
static_scalar_list_ae (321)
|
|
on left: 523 524, on right: 525
|
|
attribute_static_scalar_list (322)
|
|
on left: 525 526, on right: 527 528
|
|
non_empty_user_attribute_list (323)
|
|
on left: 527 528, on right: 527 530
|
|
user_attribute_list (324)
|
|
on left: 530, on right: 531
|
|
$@23 (325)
|
|
on left: 529, on right: 530
|
|
non_empty_user_attributes (326)
|
|
on left: 531, on right: 92 96 100 104 190 532
|
|
optional_user_attributes (327)
|
|
on left: 532 533, on right: 157 158 159 160 161 162 163 164
|
|
property_access (328)
|
|
on left: 534 535, on right: 549 550 586 587
|
|
property_access_without_variables (329)
|
|
on left: 536 537, on right: 534 558 559 592 593
|
|
array_access (330)
|
|
on left: 538 539, on right: 540 541 542 543
|
|
dimmable_variable_access (331)
|
|
on left: 540 541, on right: 548 557 563
|
|
dimmable_variable_no_calls_access (332)
|
|
on left: 542 543, on right: 585 591
|
|
variable (333)
|
|
on left: 544 545 546 547 548 549 550 551 552 553, on right: 63
|
|
124 125 168 170 174 266 269 270 271 273 274 275 276 277 278 279
|
|
280 281 282 283 284 285 286 287 549 553 558 561 564 565 566 567
|
|
589 594 596 599 607 608 609 610 632 637 643 644
|
|
dimmable_variable (334)
|
|
on left: 554 555 556 557 558 559 560 561, on right: 540
|
|
callable_variable (335)
|
|
on left: 562 563 564, on right: 552 560
|
|
object_method_call (336)
|
|
on left: 565 566 567 568 569 570, on right: 546 555
|
|
class_method_call (337)
|
|
on left: 571 572, on right: 547 556
|
|
variable_without_objects (338)
|
|
on left: 573 574, on right: 535 544 551 562 566 569 572 584 588
|
|
reference_variable (339)
|
|
on left: 575 576 577, on right: 451 573 574 575 576
|
|
compound_variable (340)
|
|
on left: 578 579, on right: 577
|
|
dim_offset (341)
|
|
on left: 580 581, on right: 344 345 538 575
|
|
simple_indirect_reference (342)
|
|
on left: 582 583, on right: 574 583
|
|
variable_no_calls (343)
|
|
on left: 584 585 586 587 588 589, on right: 454 586 592
|
|
dimmable_variable_no_calls (344)
|
|
on left: 590 591 592 593 594, on right: 542
|
|
assignment_list (345)
|
|
on left: 595 596 597 598 599 600, on right: 64 268 595 596 597
|
|
600
|
|
array_pair_list (346)
|
|
on left: 601 602, on right: 341
|
|
non_empty_array_pair_list (347)
|
|
on left: 603 604 605 606 607 608 609 610, on right: 601 603 604
|
|
607 608
|
|
collection_init (348)
|
|
on left: 611 612, on right: 342
|
|
non_empty_collection_init (349)
|
|
on left: 613 614 615 616, on right: 611 613 614
|
|
static_collection_init (350)
|
|
on left: 617 618, on right: 343
|
|
non_empty_static_collection_init (351)
|
|
on left: 619 620 621 622, on right: 617 619 620
|
|
encaps_list (352)
|
|
on left: 623 624 625 626, on right: 460 489 490 491 623 624
|
|
encaps_var (353)
|
|
on left: 627 628 629 630 631 632, on right: 623 625 626
|
|
encaps_var_offset (354)
|
|
on left: 633 634 635, on right: 628
|
|
internal_functions (355)
|
|
on left: 636 637 638 639 640 641 642, on right: 320
|
|
variable_list (356)
|
|
on left: 643 644, on right: 68 636 644
|
|
class_constant (357)
|
|
on left: 645, on right: 347 487
|
|
sm_name_with_type (358)
|
|
on left: 646 647, on right: 36 37 256 257
|
|
sm_name_with_typevar (359)
|
|
on left: 648 649, on right: 90 92 105 107 108 188 190
|
|
sm_typeargs_opt (360)
|
|
on left: 650 651, on right: 34 35 565 568 571 666
|
|
sm_type_list (361)
|
|
on left: 652 653, on right: 650 653 654 655 672
|
|
sm_func_type_list (362)
|
|
on left: 654 655 656 657, on right: 671
|
|
sm_opt_return_type (363)
|
|
on left: 658 659, on right: 90 92 188 190 335 337
|
|
sm_typevar_list (364)
|
|
on left: 660 661 662 663, on right: 649 660 662
|
|
sm_type (365)
|
|
on left: 664 665 666 667 668 669 670 671 672, on right: 185 647
|
|
652 653 659 664 665 668 669 671 672 673
|
|
sm_type_opt (366)
|
|
on left: 673 674, on right: 157 158 159 160 161 162 163 164
|
|
|
|
|
|
state 0
|
|
|
|
0 $accept: . start $end
|
|
|
|
$default reduce using rule 3 (top_statement_list)
|
|
|
|
start go to state 1
|
|
top_statement_list go to state 2
|
|
|
|
|
|
state 1
|
|
|
|
0 $accept: start . $end
|
|
|
|
$end shift, and go to state 3
|
|
|
|
|
|
state 2
|
|
|
|
1 start: top_statement_list .
|
|
2 top_statement_list: top_statement_list . top_statement
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_CONST shift, and go to state 47
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_USE shift, and go to state 51
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_HALT_COMPILER shift, and go to state 59
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 70
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 1 (start)
|
|
|
|
top_statement go to state 91
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
constant_declaration go to state 98
|
|
statement go to state 99
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 101
|
|
class_declaration_statement go to state 102
|
|
trait_declaration_statement go to state 103
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 3
|
|
|
|
0 $accept: start $end .
|
|
|
|
$default accept
|
|
|
|
|
|
state 4
|
|
|
|
642 internal_functions: T_REQUIRE_ONCE . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 136
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 5
|
|
|
|
641 internal_functions: T_REQUIRE . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 138
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 6
|
|
|
|
640 internal_functions: T_EVAL . '(' expr ')'
|
|
|
|
'(' shift, and go to state 139
|
|
|
|
|
|
state 7
|
|
|
|
639 internal_functions: T_INCLUDE_ONCE . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 140
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 8
|
|
|
|
638 internal_functions: T_INCLUDE . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 141
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 9
|
|
|
|
333 expr_no_variable: T_PRINT . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 142
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 10
|
|
|
|
531 non_empty_user_attributes: T_SL . user_attribute_list T_SR
|
|
|
|
$default reduce using rule 529 ($@23)
|
|
|
|
user_attribute_list go to state 143
|
|
$@23 go to state 144
|
|
|
|
|
|
state 11
|
|
|
|
304 expr_no_variable: '+' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 145
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 12
|
|
|
|
305 expr_no_variable: '-' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 146
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 13
|
|
|
|
306 expr_no_variable: '!' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 147
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 14
|
|
|
|
307 expr_no_variable: '~' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 148
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 15
|
|
|
|
329 expr_no_variable: '@' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 149
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 16
|
|
|
|
327 expr_no_variable: T_UNSET_CAST . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 150
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 17
|
|
|
|
326 expr_no_variable: T_BOOL_CAST . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 151
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 18
|
|
|
|
325 expr_no_variable: T_OBJECT_CAST . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 152
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 19
|
|
|
|
324 expr_no_variable: T_ARRAY_CAST . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 153
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 20
|
|
|
|
323 expr_no_variable: T_STRING_CAST . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 154
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 21
|
|
|
|
322 expr_no_variable: T_DOUBLE_CAST . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 155
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 22
|
|
|
|
321 expr_no_variable: T_INT_CAST . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 156
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 23
|
|
|
|
287 expr_no_variable: T_DEC . variable
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 162
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 24
|
|
|
|
285 expr_no_variable: T_INC . variable
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 163
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 25
|
|
|
|
272 expr_no_variable: T_CLONE . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 164
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 26
|
|
|
|
258 new_expr: T_NEW . class_name_reference ctor_arguments
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 165
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 166
|
|
'$' shift, and go to state 87
|
|
|
|
$default reduce using rule 590 (dimmable_variable_no_calls)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 167
|
|
class_namespace_string_typeargs go to state 97
|
|
fully_qualified_class_name go to state 168
|
|
static_class_name go to state 169
|
|
class_name_reference go to state 170
|
|
dimmable_variable_no_calls_access go to state 171
|
|
variable_without_objects go to state 172
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
variable_no_calls go to state 173
|
|
dimmable_variable_no_calls go to state 174
|
|
|
|
|
|
state 27
|
|
|
|
328 expr_no_variable: T_EXIT . exit_expr
|
|
|
|
'(' shift, and go to state 175
|
|
|
|
$default reduce using rule 457 (exit_expr)
|
|
|
|
parenthesis_expr go to state 176
|
|
exit_expr go to state 177
|
|
|
|
|
|
state 28
|
|
|
|
45 statement: T_IF . parenthesis_expr statement elseif_list else_single
|
|
46 | T_IF . parenthesis_expr ':' inner_statement_list new_elseif_list new_else_single T_ENDIF ';'
|
|
|
|
'(' shift, and go to state 178
|
|
|
|
parenthesis_expr go to state 179
|
|
|
|
|
|
state 29
|
|
|
|
463 common_scalar: T_LNUMBER .
|
|
|
|
$default reduce using rule 463 (common_scalar)
|
|
|
|
|
|
state 30
|
|
|
|
464 common_scalar: T_DNUMBER .
|
|
|
|
$default reduce using rule 464 (common_scalar)
|
|
|
|
|
|
state 31
|
|
|
|
16 ident: T_STRING .
|
|
|
|
$default reduce using rule 16 (ident)
|
|
|
|
|
|
state 32
|
|
|
|
486 scalar: T_STRING_VARNAME .
|
|
|
|
$default reduce using rule 486 (scalar)
|
|
|
|
|
|
state 33
|
|
|
|
578 compound_variable: T_VARIABLE .
|
|
|
|
$default reduce using rule 578 (compound_variable)
|
|
|
|
|
|
state 34
|
|
|
|
70 statement: T_INLINE_HTML .
|
|
|
|
$default reduce using rule 70 (statement)
|
|
|
|
|
|
state 35
|
|
|
|
465 common_scalar: T_CONSTANT_ENCAPSED_STRING .
|
|
|
|
$default reduce using rule 465 (common_scalar)
|
|
|
|
|
|
state 36
|
|
|
|
67 statement: T_ECHO . expr_list ';'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr_list go to state 180
|
|
expr go to state 181
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 37
|
|
|
|
50 statement: T_DO . $@4 statement T_WHILE parenthesis_expr ';'
|
|
|
|
$default reduce using rule 49 ($@4)
|
|
|
|
$@4 go to state 182
|
|
|
|
|
|
state 38
|
|
|
|
48 statement: T_WHILE . parenthesis_expr $@3 while_statement
|
|
|
|
'(' shift, and go to state 178
|
|
|
|
parenthesis_expr go to state 183
|
|
|
|
|
|
state 39
|
|
|
|
52 statement: T_FOR . '(' for_expr ';' for_expr ';' for_expr ')' $@5 for_statement
|
|
|
|
'(' shift, and go to state 184
|
|
|
|
|
|
state 40
|
|
|
|
72 statement: T_FOREACH . '(' expr T_AS foreach_variable foreach_optional_arg ')' $@7 foreach_statement
|
|
|
|
'(' shift, and go to state 185
|
|
|
|
|
|
state 41
|
|
|
|
73 statement: T_DECLARE . '(' declare_list ')' declare_statement
|
|
|
|
'(' shift, and go to state 186
|
|
|
|
|
|
state 42
|
|
|
|
54 statement: T_SWITCH . parenthesis_expr $@6 switch_case_list
|
|
|
|
'(' shift, and go to state 178
|
|
|
|
parenthesis_expr go to state 187
|
|
|
|
|
|
state 43
|
|
|
|
55 statement: T_BREAK . ';'
|
|
56 | T_BREAK . expr ';'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 188
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 189
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 44
|
|
|
|
77 statement: T_GOTO . ident ';'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 190
|
|
|
|
|
|
state 45
|
|
|
|
57 statement: T_CONTINUE . ';'
|
|
58 | T_CONTINUE . expr ';'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 191
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 192
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 46
|
|
|
|
88 function_loc: T_FUNCTION .
|
|
|
|
$default reduce using rule 88 (function_loc)
|
|
|
|
|
|
state 47
|
|
|
|
37 constant_declaration: T_CONST . sm_name_with_type '=' static_scalar
|
|
|
|
'?' shift, and go to state 193
|
|
'@' shift, and go to state 194
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 195
|
|
T_XHP_LABEL shift, and go to state 196
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 197
|
|
|
|
ident go to state 198
|
|
sm_name_with_type go to state 199
|
|
sm_type go to state 200
|
|
|
|
|
|
state 48
|
|
|
|
59 statement: T_RETURN . ';'
|
|
60 | T_RETURN . expr ';'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 201
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 202
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 49
|
|
|
|
74 statement: T_TRY . '{' inner_statement_list '}' T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}' additional_catches optional_finally
|
|
75 | T_TRY . '{' inner_statement_list '}' finally
|
|
|
|
'{' shift, and go to state 203
|
|
|
|
|
|
state 50
|
|
|
|
76 statement: T_THROW . expr ';'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 204
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 51
|
|
|
|
14 top_statement: T_USE . use_declarations ';'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NS_SEPARATOR shift, and go to state 205
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 134
|
|
use_declarations go to state 206
|
|
use_declaration go to state 207
|
|
namespace_name go to state 208
|
|
|
|
|
|
state 52
|
|
|
|
65 statement: T_GLOBAL . global_var_list ';'
|
|
|
|
T_VARIABLE shift, and go to state 209
|
|
'$' shift, and go to state 210
|
|
|
|
global_var_list go to state 211
|
|
global_var go to state 212
|
|
|
|
|
|
state 53
|
|
|
|
111 class_entry_type: T_FINAL . T_CLASS
|
|
|
|
T_CLASS shift, and go to state 213
|
|
|
|
|
|
state 54
|
|
|
|
110 class_entry_type: T_ABSTRACT . T_CLASS
|
|
|
|
T_CLASS shift, and go to state 214
|
|
|
|
|
|
state 55
|
|
|
|
66 statement: T_STATIC . static_var_list ';'
|
|
337 expr_no_variable: T_STATIC . function_loc is_reference '(' $@22 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
450 static_class_name: T_STATIC .
|
|
|
|
T_VARIABLE shift, and go to state 215
|
|
T_FUNCTION shift, and go to state 46
|
|
|
|
$default reduce using rule 450 (static_class_name)
|
|
|
|
function_loc go to state 216
|
|
static_var_list go to state 217
|
|
|
|
|
|
state 56
|
|
|
|
68 statement: T_UNSET . '(' variable_list ')' ';'
|
|
|
|
'(' shift, and go to state 218
|
|
|
|
|
|
state 57
|
|
|
|
636 internal_functions: T_ISSET . '(' variable_list ')'
|
|
|
|
'(' shift, and go to state 219
|
|
|
|
|
|
state 58
|
|
|
|
637 internal_functions: T_EMPTY . '(' variable ')'
|
|
|
|
'(' shift, and go to state 220
|
|
|
|
|
|
state 59
|
|
|
|
8 top_statement: T_HALT_COMPILER . '(' ')' ';'
|
|
|
|
'(' shift, and go to state 221
|
|
|
|
|
|
state 60
|
|
|
|
109 class_entry_type: T_CLASS .
|
|
|
|
$default reduce using rule 109 (class_entry_type)
|
|
|
|
|
|
state 61
|
|
|
|
98 class_declaration_statement: T_INTERFACE . interface_decl_name $@13 interface_extends_list '{' class_statement_list '}'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 222
|
|
interface_decl_name go to state 223
|
|
sm_name_with_typevar go to state 224
|
|
|
|
|
|
state 62
|
|
|
|
64 statement: T_LIST . '(' assignment_list ')' '=' T_YIELD expr ';'
|
|
268 expr_no_variable: T_LIST . '(' assignment_list ')' '=' expr
|
|
|
|
'(' shift, and go to state 225
|
|
|
|
|
|
state 63
|
|
|
|
341 array_literal: T_ARRAY . '(' array_pair_list ')'
|
|
|
|
'(' shift, and go to state 226
|
|
|
|
|
|
state 64
|
|
|
|
469 common_scalar: T_CLASS_C .
|
|
|
|
$default reduce using rule 469 (common_scalar)
|
|
|
|
|
|
state 65
|
|
|
|
471 common_scalar: T_METHOD_C .
|
|
|
|
$default reduce using rule 471 (common_scalar)
|
|
|
|
|
|
state 66
|
|
|
|
472 common_scalar: T_FUNC_C .
|
|
|
|
$default reduce using rule 472 (common_scalar)
|
|
|
|
|
|
state 67
|
|
|
|
466 common_scalar: T_LINE .
|
|
|
|
$default reduce using rule 466 (common_scalar)
|
|
|
|
|
|
state 68
|
|
|
|
467 common_scalar: T_FILE .
|
|
|
|
$default reduce using rule 467 (common_scalar)
|
|
|
|
|
|
state 69
|
|
|
|
474 common_scalar: T_START_HEREDOC . T_ENCAPSED_AND_WHITESPACE T_END_HEREDOC
|
|
475 | T_START_HEREDOC . T_END_HEREDOC
|
|
491 scalar: T_START_HEREDOC . encaps_list T_END_HEREDOC
|
|
|
|
T_VARIABLE shift, and go to state 227
|
|
T_ENCAPSED_AND_WHITESPACE shift, and go to state 228
|
|
T_END_HEREDOC shift, and go to state 229
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 230
|
|
T_CURLY_OPEN shift, and go to state 231
|
|
|
|
encaps_list go to state 232
|
|
encaps_var go to state 233
|
|
|
|
|
|
state 70
|
|
|
|
9 top_statement: T_NAMESPACE . namespace_name ';'
|
|
11 | T_NAMESPACE . namespace_name '{' $@1 top_statement_list '}'
|
|
13 | T_NAMESPACE . '{' $@2 top_statement_list '}'
|
|
32 namespace_string_base: T_NAMESPACE . T_NS_SEPARATOR namespace_name
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NS_SEPARATOR shift, and go to state 234
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'{' shift, and go to state 235
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 236
|
|
|
|
|
|
state 71
|
|
|
|
473 common_scalar: T_NS_C .
|
|
|
|
$default reduce using rule 473 (common_scalar)
|
|
|
|
|
|
state 72
|
|
|
|
468 common_scalar: T_DIR .
|
|
|
|
$default reduce using rule 468 (common_scalar)
|
|
|
|
|
|
state 73
|
|
|
|
31 namespace_string_base: T_NS_SEPARATOR . namespace_name
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 237
|
|
|
|
|
|
state 74
|
|
|
|
61 statement: T_YIELD . T_BREAK ';'
|
|
62 | T_YIELD . expr ';'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_BREAK shift, and go to state 238
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 239
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 75
|
|
|
|
448 fully_qualified_class_name: T_XHP_LABEL .
|
|
|
|
$default reduce using rule 448 (fully_qualified_class_name)
|
|
|
|
|
|
state 76
|
|
|
|
17 ident: T_XHP_ATTRIBUTE .
|
|
|
|
$default reduce using rule 17 (ident)
|
|
|
|
|
|
state 77
|
|
|
|
18 ident: T_XHP_CATEGORY .
|
|
|
|
$default reduce using rule 18 (ident)
|
|
|
|
|
|
state 78
|
|
|
|
19 ident: T_XHP_CHILDREN .
|
|
|
|
$default reduce using rule 19 (ident)
|
|
|
|
|
|
state 79
|
|
|
|
21 ident: T_XHP_ENUM .
|
|
|
|
$default reduce using rule 21 (ident)
|
|
|
|
|
|
state 80
|
|
|
|
20 ident: T_XHP_REQUIRED .
|
|
|
|
$default reduce using rule 20 (ident)
|
|
|
|
|
|
state 81
|
|
|
|
102 trait_declaration_statement: T_TRAIT . trait_decl_name $@15 '{' class_statement_list '}'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 222
|
|
trait_decl_name go to state 240
|
|
sm_name_with_typevar go to state 241
|
|
|
|
|
|
state 82
|
|
|
|
470 common_scalar: T_TRAIT_C .
|
|
|
|
$default reduce using rule 470 (common_scalar)
|
|
|
|
|
|
state 83
|
|
|
|
355 xhp_tag: T_XHP_TAG_LT . T_XHP_LABEL xhp_tag_body T_XHP_TAG_GT
|
|
|
|
T_XHP_LABEL shift, and go to state 242
|
|
|
|
|
|
state 84
|
|
|
|
259 new_expr: '(' . new_expr ')'
|
|
317 expr_no_variable: '(' . expr_no_variable ')'
|
|
348 dim_expr_base: '(' . expr_no_variable ')'
|
|
541 dimmable_variable_access: '(' . new_expr ')' array_access
|
|
550 variable: '(' . new_expr ')' property_access
|
|
553 | '(' . variable ')'
|
|
559 dimmable_variable: '(' . new_expr ')' property_access_without_variables
|
|
561 | '(' . variable ')'
|
|
564 callable_variable: '(' . variable ')'
|
|
568 object_method_call: '(' . new_expr ')' T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
569 | '(' . new_expr ')' T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
570 | '(' . new_expr ')' T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 243
|
|
expr go to state 244
|
|
expr_no_variable go to state 245
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 246
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 85
|
|
|
|
69 statement: ';' .
|
|
|
|
$default reduce using rule 69 (statement)
|
|
|
|
|
|
state 86
|
|
|
|
44 statement: '{' . inner_statement_list '}'
|
|
|
|
$default reduce using rule 39 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 247
|
|
|
|
|
|
state 87
|
|
|
|
579 compound_variable: '$' . '{' expr '}'
|
|
582 simple_indirect_reference: '$' .
|
|
|
|
'{' shift, and go to state 248
|
|
|
|
$default reduce using rule 582 (simple_indirect_reference)
|
|
|
|
|
|
state 88
|
|
|
|
332 expr_no_variable: '`' . backticks_expr '`'
|
|
|
|
T_VARIABLE shift, and go to state 227
|
|
T_ENCAPSED_AND_WHITESPACE shift, and go to state 249
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 230
|
|
T_CURLY_OPEN shift, and go to state 231
|
|
|
|
$default reduce using rule 458 (backticks_expr)
|
|
|
|
backticks_expr go to state 250
|
|
encaps_list go to state 251
|
|
encaps_var go to state 233
|
|
|
|
|
|
state 89
|
|
|
|
489 scalar: '"' . encaps_list '"'
|
|
|
|
T_VARIABLE shift, and go to state 227
|
|
T_ENCAPSED_AND_WHITESPACE shift, and go to state 252
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 230
|
|
T_CURLY_OPEN shift, and go to state 231
|
|
|
|
encaps_list go to state 253
|
|
encaps_var go to state 233
|
|
|
|
|
|
state 90
|
|
|
|
490 scalar: '\'' . encaps_list '\''
|
|
|
|
T_VARIABLE shift, and go to state 227
|
|
T_ENCAPSED_AND_WHITESPACE shift, and go to state 252
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 230
|
|
T_CURLY_OPEN shift, and go to state 231
|
|
|
|
encaps_list go to state 254
|
|
encaps_var go to state 233
|
|
|
|
|
|
state 91
|
|
|
|
2 top_statement_list: top_statement_list top_statement .
|
|
|
|
$default reduce using rule 2 (top_statement_list)
|
|
|
|
|
|
state 92
|
|
|
|
28 namespace_name: ident .
|
|
79 statement: ident . ':'
|
|
|
|
':' shift, and go to state 255
|
|
|
|
$default reduce using rule 28 (namespace_name)
|
|
|
|
|
|
state 93
|
|
|
|
29 namespace_name: namespace_name . T_NS_SEPARATOR ident
|
|
30 namespace_string_base: namespace_name .
|
|
|
|
T_NS_SEPARATOR shift, and go to state 256
|
|
|
|
$default reduce using rule 30 (namespace_string_base)
|
|
|
|
|
|
state 94
|
|
|
|
33 namespace_string: namespace_string_base .
|
|
34 namespace_string_typeargs: namespace_string_base . sm_typeargs_opt
|
|
35 class_namespace_string_typeargs: namespace_string_base . sm_typeargs_opt
|
|
|
|
T_TYPELIST_LT shift, and go to state 257
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM reduce using rule 651 (sm_typeargs_opt)
|
|
'(' reduce using rule 651 (sm_typeargs_opt)
|
|
'{' reduce using rule 651 (sm_typeargs_opt)
|
|
$default reduce using rule 33 (namespace_string)
|
|
|
|
sm_typeargs_opt go to state 258
|
|
|
|
|
|
state 95
|
|
|
|
485 scalar: namespace_string .
|
|
|
|
$default reduce using rule 485 (scalar)
|
|
|
|
|
|
state 96
|
|
|
|
446 simple_function_call: namespace_string_typeargs . '(' function_call_parameter_list ')'
|
|
|
|
'(' shift, and go to state 259
|
|
|
|
|
|
state 97
|
|
|
|
447 fully_qualified_class_name: class_namespace_string_typeargs .
|
|
|
|
$default reduce using rule 447 (fully_qualified_class_name)
|
|
|
|
|
|
state 98
|
|
|
|
15 top_statement: constant_declaration . ';'
|
|
36 constant_declaration: constant_declaration . ',' sm_name_with_type '=' static_scalar
|
|
|
|
',' shift, and go to state 260
|
|
';' shift, and go to state 261
|
|
|
|
|
|
state 99
|
|
|
|
4 top_statement: statement .
|
|
|
|
$default reduce using rule 4 (top_statement)
|
|
|
|
|
|
state 100
|
|
|
|
90 function_declaration_statement: function_loc . is_reference sm_name_with_typevar $@9 '(' parameter_list ')' sm_opt_return_type '{' inner_statement_list '}'
|
|
335 expr_no_variable: function_loc . is_reference '(' $@21 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
'&' shift, and go to state 262
|
|
|
|
$default reduce using rule 87 (is_reference)
|
|
|
|
is_reference go to state 263
|
|
|
|
|
|
state 101
|
|
|
|
5 top_statement: function_declaration_statement .
|
|
|
|
$default reduce using rule 5 (top_statement)
|
|
|
|
|
|
state 102
|
|
|
|
6 top_statement: class_declaration_statement .
|
|
|
|
$default reduce using rule 6 (top_statement)
|
|
|
|
|
|
state 103
|
|
|
|
7 top_statement: trait_declaration_statement .
|
|
|
|
$default reduce using rule 7 (top_statement)
|
|
|
|
|
|
state 104
|
|
|
|
94 class_declaration_statement: class_entry_type . class_decl_name $@11 extends_from implements_list '{' class_statement_list '}'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_LABEL shift, and go to state 264
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 222
|
|
class_decl_name go to state 265
|
|
sm_name_with_typevar go to state 266
|
|
|
|
|
|
state 105
|
|
|
|
267 expr: new_expr .
|
|
|
|
$default reduce using rule 267 (expr)
|
|
|
|
|
|
state 106
|
|
|
|
78 statement: expr . ';'
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
';' shift, and go to state 293
|
|
|
|
|
|
state 107
|
|
|
|
265 expr: expr_no_variable .
|
|
|
|
$default reduce using rule 265 (expr)
|
|
|
|
|
|
state 108
|
|
|
|
331 expr_no_variable: array_literal .
|
|
346 dim_expr_base: array_literal .
|
|
|
|
'[' reduce using rule 346 (dim_expr_base)
|
|
$default reduce using rule 331 (expr_no_variable)
|
|
|
|
|
|
state 109
|
|
|
|
340 expr_no_variable: collection_literal .
|
|
|
|
$default reduce using rule 340 (expr_no_variable)
|
|
|
|
|
|
state 110
|
|
|
|
339 expr_no_variable: dim_expr .
|
|
344 dim_expr: dim_expr . '[' dim_offset ']'
|
|
|
|
'[' shift, and go to state 294
|
|
|
|
$default reduce using rule 339 (expr_no_variable)
|
|
|
|
|
|
state 111
|
|
|
|
345 dim_expr: dim_expr_base . '[' dim_offset ']'
|
|
|
|
'[' shift, and go to state 295
|
|
|
|
|
|
state 112
|
|
|
|
338 expr_no_variable: xhp_tag .
|
|
|
|
$default reduce using rule 338 (expr_no_variable)
|
|
|
|
|
|
state 113
|
|
|
|
545 variable: simple_function_call .
|
|
554 dimmable_variable: simple_function_call .
|
|
|
|
'[' reduce using rule 554 (dimmable_variable)
|
|
'{' reduce using rule 554 (dimmable_variable)
|
|
$default reduce using rule 545 (variable)
|
|
|
|
|
|
state 114
|
|
|
|
342 collection_literal: fully_qualified_class_name . '{' collection_init '}'
|
|
449 static_class_name: fully_qualified_class_name .
|
|
|
|
'{' shift, and go to state 296
|
|
|
|
$default reduce using rule 449 (static_class_name)
|
|
|
|
|
|
state 115
|
|
|
|
551 variable: static_class_name . T_PAAMAYIM_NEKUDOTAYIM variable_without_objects
|
|
571 class_method_call: static_class_name . T_PAAMAYIM_NEKUDOTAYIM ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
572 | static_class_name . T_PAAMAYIM_NEKUDOTAYIM variable_without_objects '(' function_call_parameter_list ')'
|
|
645 class_constant: static_class_name . T_PAAMAYIM_NEKUDOTAYIM ident
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM shift, and go to state 297
|
|
|
|
|
|
state 116
|
|
|
|
488 scalar: common_scalar .
|
|
|
|
$default reduce using rule 488 (scalar)
|
|
|
|
|
|
state 117
|
|
|
|
330 expr_no_variable: scalar .
|
|
|
|
$default reduce using rule 330 (expr_no_variable)
|
|
|
|
|
|
state 118
|
|
|
|
92 function_declaration_statement: non_empty_user_attributes . function_loc is_reference sm_name_with_typevar $@10 '(' parameter_list ')' sm_opt_return_type '{' inner_statement_list '}'
|
|
96 class_declaration_statement: non_empty_user_attributes . class_entry_type class_decl_name $@12 extends_from implements_list '{' class_statement_list '}'
|
|
100 | non_empty_user_attributes . T_INTERFACE interface_decl_name $@14 interface_extends_list '{' class_statement_list '}'
|
|
104 trait_declaration_statement: non_empty_user_attributes . T_TRAIT trait_decl_name $@16 '{' class_statement_list '}'
|
|
|
|
T_FUNCTION shift, and go to state 46
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 298
|
|
T_TRAIT shift, and go to state 299
|
|
|
|
function_loc go to state 300
|
|
class_entry_type go to state 301
|
|
|
|
|
|
state 119
|
|
|
|
548 variable: dimmable_variable_access .
|
|
557 dimmable_variable: dimmable_variable_access .
|
|
563 callable_variable: dimmable_variable_access .
|
|
|
|
'[' reduce using rule 557 (dimmable_variable)
|
|
'(' reduce using rule 563 (callable_variable)
|
|
'{' reduce using rule 557 (dimmable_variable)
|
|
$default reduce using rule 548 (variable)
|
|
|
|
|
|
state 120
|
|
|
|
63 statement: variable . '=' T_YIELD expr ';'
|
|
266 expr: variable .
|
|
269 expr_no_variable: variable . '=' expr
|
|
270 | variable . '=' '&' variable
|
|
271 | variable . '=' '&' T_NEW class_name_reference ctor_arguments
|
|
273 | variable . T_PLUS_EQUAL expr
|
|
274 | variable . T_MINUS_EQUAL expr
|
|
275 | variable . T_MUL_EQUAL expr
|
|
276 | variable . T_DIV_EQUAL expr
|
|
277 | variable . T_CONCAT_EQUAL expr
|
|
278 | variable . T_MOD_EQUAL expr
|
|
279 | variable . T_AND_EQUAL expr
|
|
280 | variable . T_OR_EQUAL expr
|
|
281 | variable . T_XOR_EQUAL expr
|
|
282 | variable . T_SL_EQUAL expr
|
|
283 | variable . T_SR_EQUAL expr
|
|
284 | variable . T_INC
|
|
286 | variable . T_DEC
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
'=' shift, and go to state 302
|
|
T_SR_EQUAL shift, and go to state 303
|
|
T_SL_EQUAL shift, and go to state 304
|
|
T_XOR_EQUAL shift, and go to state 305
|
|
T_OR_EQUAL shift, and go to state 306
|
|
T_AND_EQUAL shift, and go to state 307
|
|
T_MOD_EQUAL shift, and go to state 308
|
|
T_CONCAT_EQUAL shift, and go to state 309
|
|
T_DIV_EQUAL shift, and go to state 310
|
|
T_MUL_EQUAL shift, and go to state 311
|
|
T_MINUS_EQUAL shift, and go to state 312
|
|
T_PLUS_EQUAL shift, and go to state 313
|
|
T_DEC shift, and go to state 314
|
|
T_INC shift, and go to state 315
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
|
|
$default reduce using rule 266 (expr)
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 121
|
|
|
|
540 dimmable_variable_access: dimmable_variable . array_access
|
|
|
|
'[' shift, and go to state 319
|
|
'{' shift, and go to state 320
|
|
|
|
array_access go to state 321
|
|
|
|
|
|
state 122
|
|
|
|
552 variable: callable_variable . '(' function_call_parameter_list ')'
|
|
560 dimmable_variable: callable_variable . '(' function_call_parameter_list ')'
|
|
|
|
'(' shift, and go to state 322
|
|
|
|
|
|
state 123
|
|
|
|
546 variable: object_method_call .
|
|
555 dimmable_variable: object_method_call .
|
|
|
|
'[' reduce using rule 555 (dimmable_variable)
|
|
'{' reduce using rule 555 (dimmable_variable)
|
|
$default reduce using rule 546 (variable)
|
|
|
|
|
|
state 124
|
|
|
|
547 variable: class_method_call .
|
|
556 dimmable_variable: class_method_call .
|
|
|
|
'[' reduce using rule 556 (dimmable_variable)
|
|
'{' reduce using rule 556 (dimmable_variable)
|
|
$default reduce using rule 547 (variable)
|
|
|
|
|
|
state 125
|
|
|
|
544 variable: variable_without_objects .
|
|
562 callable_variable: variable_without_objects .
|
|
|
|
'(' reduce using rule 562 (callable_variable)
|
|
$default reduce using rule 544 (variable)
|
|
|
|
|
|
state 126
|
|
|
|
451 static_class_name: reference_variable .
|
|
573 variable_without_objects: reference_variable .
|
|
575 reference_variable: reference_variable . '[' dim_offset ']'
|
|
576 | reference_variable . '{' expr '}'
|
|
|
|
'[' shift, and go to state 323
|
|
'{' shift, and go to state 324
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM reduce using rule 451 (static_class_name)
|
|
$default reduce using rule 573 (variable_without_objects)
|
|
|
|
|
|
state 127
|
|
|
|
577 reference_variable: compound_variable .
|
|
|
|
$default reduce using rule 577 (reference_variable)
|
|
|
|
|
|
state 128
|
|
|
|
574 variable_without_objects: simple_indirect_reference . reference_variable
|
|
583 simple_indirect_reference: simple_indirect_reference . '$'
|
|
|
|
T_VARIABLE shift, and go to state 33
|
|
'$' shift, and go to state 325
|
|
|
|
reference_variable go to state 326
|
|
compound_variable go to state 127
|
|
|
|
|
|
state 129
|
|
|
|
320 expr_no_variable: internal_functions .
|
|
|
|
$default reduce using rule 320 (expr_no_variable)
|
|
|
|
|
|
state 130
|
|
|
|
347 dim_expr_base: class_constant .
|
|
487 scalar: class_constant .
|
|
|
|
'[' reduce using rule 347 (dim_expr_base)
|
|
$default reduce using rule 487 (scalar)
|
|
|
|
|
|
state 131
|
|
|
|
337 expr_no_variable: T_STATIC . function_loc is_reference '(' $@22 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
450 static_class_name: T_STATIC .
|
|
|
|
T_FUNCTION shift, and go to state 46
|
|
|
|
$default reduce using rule 450 (static_class_name)
|
|
|
|
function_loc go to state 216
|
|
|
|
|
|
state 132
|
|
|
|
268 expr_no_variable: T_LIST . '(' assignment_list ')' '=' expr
|
|
|
|
'(' shift, and go to state 327
|
|
|
|
|
|
state 133
|
|
|
|
32 namespace_string_base: T_NAMESPACE . T_NS_SEPARATOR namespace_name
|
|
|
|
T_NS_SEPARATOR shift, and go to state 234
|
|
|
|
|
|
state 134
|
|
|
|
28 namespace_name: ident .
|
|
|
|
$default reduce using rule 28 (namespace_name)
|
|
|
|
|
|
state 135
|
|
|
|
335 expr_no_variable: function_loc . is_reference '(' $@21 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
'&' shift, and go to state 262
|
|
|
|
$default reduce using rule 87 (is_reference)
|
|
|
|
is_reference go to state 328
|
|
|
|
|
|
state 136
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
642 internal_functions: T_REQUIRE_ONCE expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 642 (internal_functions)
|
|
|
|
|
|
state 137
|
|
|
|
266 expr: variable .
|
|
269 expr_no_variable: variable . '=' expr
|
|
270 | variable . '=' '&' variable
|
|
271 | variable . '=' '&' T_NEW class_name_reference ctor_arguments
|
|
273 | variable . T_PLUS_EQUAL expr
|
|
274 | variable . T_MINUS_EQUAL expr
|
|
275 | variable . T_MUL_EQUAL expr
|
|
276 | variable . T_DIV_EQUAL expr
|
|
277 | variable . T_CONCAT_EQUAL expr
|
|
278 | variable . T_MOD_EQUAL expr
|
|
279 | variable . T_AND_EQUAL expr
|
|
280 | variable . T_OR_EQUAL expr
|
|
281 | variable . T_XOR_EQUAL expr
|
|
282 | variable . T_SL_EQUAL expr
|
|
283 | variable . T_SR_EQUAL expr
|
|
284 | variable . T_INC
|
|
286 | variable . T_DEC
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
'=' shift, and go to state 329
|
|
T_SR_EQUAL shift, and go to state 303
|
|
T_SL_EQUAL shift, and go to state 304
|
|
T_XOR_EQUAL shift, and go to state 305
|
|
T_OR_EQUAL shift, and go to state 306
|
|
T_AND_EQUAL shift, and go to state 307
|
|
T_MOD_EQUAL shift, and go to state 308
|
|
T_CONCAT_EQUAL shift, and go to state 309
|
|
T_DIV_EQUAL shift, and go to state 310
|
|
T_MUL_EQUAL shift, and go to state 311
|
|
T_MINUS_EQUAL shift, and go to state 312
|
|
T_PLUS_EQUAL shift, and go to state 313
|
|
T_DEC shift, and go to state 314
|
|
T_INC shift, and go to state 315
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
|
|
$default reduce using rule 266 (expr)
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 138
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
641 internal_functions: T_REQUIRE expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 641 (internal_functions)
|
|
|
|
|
|
state 139
|
|
|
|
640 internal_functions: T_EVAL '(' . expr ')'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 330
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 140
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
639 internal_functions: T_INCLUDE_ONCE expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 639 (internal_functions)
|
|
|
|
|
|
state 141
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
638 internal_functions: T_INCLUDE expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 638 (internal_functions)
|
|
|
|
|
|
state 142
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
333 | T_PRINT expr .
|
|
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 333 (expr_no_variable)
|
|
|
|
|
|
state 143
|
|
|
|
531 non_empty_user_attributes: T_SL user_attribute_list . T_SR
|
|
|
|
T_SR shift, and go to state 331
|
|
|
|
|
|
state 144
|
|
|
|
530 user_attribute_list: $@23 . non_empty_user_attribute_list possible_comma
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 332
|
|
non_empty_user_attribute_list go to state 333
|
|
|
|
|
|
state 145
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
304 | '+' expr .
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
$default reduce using rule 304 (expr_no_variable)
|
|
|
|
|
|
state 146
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
305 | '-' expr .
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
$default reduce using rule 305 (expr_no_variable)
|
|
|
|
|
|
state 147
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
306 | '!' expr .
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 306 (expr_no_variable)
|
|
|
|
|
|
state 148
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
307 | '~' expr .
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
$default reduce using rule 307 (expr_no_variable)
|
|
|
|
|
|
state 149
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
329 | '@' expr .
|
|
|
|
$default reduce using rule 329 (expr_no_variable)
|
|
|
|
|
|
state 150
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
327 | T_UNSET_CAST expr .
|
|
|
|
$default reduce using rule 327 (expr_no_variable)
|
|
|
|
|
|
state 151
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
326 | T_BOOL_CAST expr .
|
|
|
|
$default reduce using rule 326 (expr_no_variable)
|
|
|
|
|
|
state 152
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
325 | T_OBJECT_CAST expr .
|
|
|
|
$default reduce using rule 325 (expr_no_variable)
|
|
|
|
|
|
state 153
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
324 | T_ARRAY_CAST expr .
|
|
|
|
$default reduce using rule 324 (expr_no_variable)
|
|
|
|
|
|
state 154
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
323 | T_STRING_CAST expr .
|
|
|
|
$default reduce using rule 323 (expr_no_variable)
|
|
|
|
|
|
state 155
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
322 | T_DOUBLE_CAST expr .
|
|
|
|
$default reduce using rule 322 (expr_no_variable)
|
|
|
|
|
|
state 156
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
321 | T_INT_CAST expr .
|
|
|
|
$default reduce using rule 321 (expr_no_variable)
|
|
|
|
|
|
state 157
|
|
|
|
450 static_class_name: T_STATIC .
|
|
|
|
$default reduce using rule 450 (static_class_name)
|
|
|
|
|
|
state 158
|
|
|
|
541 dimmable_variable_access: '(' . new_expr ')' array_access
|
|
550 variable: '(' . new_expr ')' property_access
|
|
553 | '(' . variable ')'
|
|
559 dimmable_variable: '(' . new_expr ')' property_access_without_variables
|
|
561 | '(' . variable ')'
|
|
564 callable_variable: '(' . variable ')'
|
|
568 object_method_call: '(' . new_expr ')' T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
569 | '(' . new_expr ')' T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
570 | '(' . new_expr ')' T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_NEW shift, and go to state 26
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 334
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
new_expr go to state 335
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 336
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 159
|
|
|
|
34 namespace_string_typeargs: namespace_string_base . sm_typeargs_opt
|
|
35 class_namespace_string_typeargs: namespace_string_base . sm_typeargs_opt
|
|
|
|
T_TYPELIST_LT shift, and go to state 257
|
|
|
|
$default reduce using rule 651 (sm_typeargs_opt)
|
|
|
|
sm_typeargs_opt go to state 258
|
|
|
|
|
|
state 160
|
|
|
|
449 static_class_name: fully_qualified_class_name .
|
|
|
|
$default reduce using rule 449 (static_class_name)
|
|
|
|
|
|
state 161
|
|
|
|
551 variable: static_class_name . T_PAAMAYIM_NEKUDOTAYIM variable_without_objects
|
|
571 class_method_call: static_class_name . T_PAAMAYIM_NEKUDOTAYIM ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
572 | static_class_name . T_PAAMAYIM_NEKUDOTAYIM variable_without_objects '(' function_call_parameter_list ')'
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM shift, and go to state 337
|
|
|
|
|
|
state 162
|
|
|
|
287 expr_no_variable: T_DEC variable .
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
|
|
$default reduce using rule 287 (expr_no_variable)
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 163
|
|
|
|
285 expr_no_variable: T_INC variable .
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
|
|
$default reduce using rule 285 (expr_no_variable)
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 164
|
|
|
|
272 expr_no_variable: T_CLONE expr .
|
|
288 | expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
$default reduce using rule 272 (expr_no_variable)
|
|
|
|
|
|
state 165
|
|
|
|
450 static_class_name: T_STATIC .
|
|
453 class_name_reference: T_STATIC .
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM reduce using rule 450 (static_class_name)
|
|
$default reduce using rule 453 (class_name_reference)
|
|
|
|
|
|
state 166
|
|
|
|
543 dimmable_variable_no_calls_access: '(' . new_expr ')' array_access
|
|
587 variable_no_calls: '(' . new_expr ')' property_access
|
|
589 | '(' . variable ')'
|
|
593 dimmable_variable_no_calls: '(' . new_expr ')' property_access_without_variables
|
|
594 | '(' . variable ')'
|
|
|
|
T_NEW shift, and go to state 26
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 334
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
new_expr go to state 338
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 339
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 167
|
|
|
|
35 class_namespace_string_typeargs: namespace_string_base . sm_typeargs_opt
|
|
|
|
T_TYPELIST_LT shift, and go to state 257
|
|
|
|
$default reduce using rule 651 (sm_typeargs_opt)
|
|
|
|
sm_typeargs_opt go to state 340
|
|
|
|
|
|
state 168
|
|
|
|
449 static_class_name: fully_qualified_class_name .
|
|
452 class_name_reference: fully_qualified_class_name .
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM reduce using rule 449 (static_class_name)
|
|
$default reduce using rule 452 (class_name_reference)
|
|
|
|
|
|
state 169
|
|
|
|
588 variable_no_calls: static_class_name . T_PAAMAYIM_NEKUDOTAYIM variable_without_objects
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM shift, and go to state 341
|
|
|
|
|
|
state 170
|
|
|
|
258 new_expr: T_NEW class_name_reference . ctor_arguments
|
|
|
|
'(' shift, and go to state 342
|
|
|
|
$default reduce using rule 462 (ctor_arguments)
|
|
|
|
ctor_arguments go to state 343
|
|
|
|
|
|
state 171
|
|
|
|
585 variable_no_calls: dimmable_variable_no_calls_access .
|
|
591 dimmable_variable_no_calls: dimmable_variable_no_calls_access .
|
|
|
|
'[' reduce using rule 591 (dimmable_variable_no_calls)
|
|
'{' reduce using rule 591 (dimmable_variable_no_calls)
|
|
$default reduce using rule 585 (variable_no_calls)
|
|
|
|
|
|
state 172
|
|
|
|
584 variable_no_calls: variable_without_objects .
|
|
|
|
$default reduce using rule 584 (variable_no_calls)
|
|
|
|
|
|
state 173
|
|
|
|
454 class_name_reference: variable_no_calls .
|
|
586 variable_no_calls: variable_no_calls . property_access
|
|
592 dimmable_variable_no_calls: variable_no_calls . property_access_without_variables
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 344
|
|
|
|
$default reduce using rule 454 (class_name_reference)
|
|
|
|
property_access go to state 345
|
|
property_access_without_variables go to state 346
|
|
|
|
|
|
state 174
|
|
|
|
542 dimmable_variable_no_calls_access: dimmable_variable_no_calls . array_access
|
|
|
|
'[' shift, and go to state 319
|
|
'{' shift, and go to state 320
|
|
|
|
array_access go to state 347
|
|
|
|
|
|
state 175
|
|
|
|
260 parenthesis_expr: '(' . expr ')'
|
|
455 exit_expr: '(' . ')'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
')' shift, and go to state 348
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 349
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 176
|
|
|
|
456 exit_expr: parenthesis_expr .
|
|
|
|
$default reduce using rule 456 (exit_expr)
|
|
|
|
|
|
state 177
|
|
|
|
328 expr_no_variable: T_EXIT exit_expr .
|
|
|
|
$default reduce using rule 328 (expr_no_variable)
|
|
|
|
|
|
state 178
|
|
|
|
260 parenthesis_expr: '(' . expr ')'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 349
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 179
|
|
|
|
45 statement: T_IF parenthesis_expr . statement elseif_list else_single
|
|
46 | T_IF parenthesis_expr . ':' inner_statement_list new_elseif_list new_else_single T_ENDIF ';'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
':' shift, and go to state 350
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
statement go to state 351
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 180
|
|
|
|
67 statement: T_ECHO expr_list . ';'
|
|
261 expr_list: expr_list . ',' expr
|
|
|
|
',' shift, and go to state 352
|
|
';' shift, and go to state 353
|
|
|
|
|
|
state 181
|
|
|
|
262 expr_list: expr .
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 262 (expr_list)
|
|
|
|
|
|
state 182
|
|
|
|
50 statement: T_DO $@4 . statement T_WHILE parenthesis_expr ';'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
statement go to state 354
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 183
|
|
|
|
48 statement: T_WHILE parenthesis_expr . $@3 while_statement
|
|
|
|
$default reduce using rule 47 ($@3)
|
|
|
|
$@3 go to state 355
|
|
|
|
|
|
state 184
|
|
|
|
52 statement: T_FOR '(' . for_expr ';' for_expr ';' for_expr ')' $@5 for_statement
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 264 (for_expr)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr_list go to state 356
|
|
for_expr go to state 357
|
|
expr go to state 181
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 185
|
|
|
|
72 statement: T_FOREACH '(' . expr T_AS foreach_variable foreach_optional_arg ')' $@7 foreach_statement
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 358
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 186
|
|
|
|
73 statement: T_DECLARE '(' . declare_list ')' declare_statement
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 359
|
|
declare_list go to state 360
|
|
|
|
|
|
state 187
|
|
|
|
54 statement: T_SWITCH parenthesis_expr . $@6 switch_case_list
|
|
|
|
$default reduce using rule 53 ($@6)
|
|
|
|
$@6 go to state 361
|
|
|
|
|
|
state 188
|
|
|
|
55 statement: T_BREAK ';' .
|
|
|
|
$default reduce using rule 55 (statement)
|
|
|
|
|
|
state 189
|
|
|
|
56 statement: T_BREAK expr . ';'
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
';' shift, and go to state 362
|
|
|
|
|
|
state 190
|
|
|
|
77 statement: T_GOTO ident . ';'
|
|
|
|
';' shift, and go to state 363
|
|
|
|
|
|
state 191
|
|
|
|
57 statement: T_CONTINUE ';' .
|
|
|
|
$default reduce using rule 57 (statement)
|
|
|
|
|
|
state 192
|
|
|
|
58 statement: T_CONTINUE expr . ';'
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
';' shift, and go to state 364
|
|
|
|
|
|
state 193
|
|
|
|
664 sm_type: '?' . sm_type
|
|
|
|
'?' shift, and go to state 193
|
|
'@' shift, and go to state 194
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 195
|
|
T_XHP_LABEL shift, and go to state 196
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 197
|
|
|
|
ident go to state 365
|
|
sm_type go to state 366
|
|
|
|
|
|
state 194
|
|
|
|
665 sm_type: '@' . sm_type
|
|
|
|
'?' shift, and go to state 193
|
|
'@' shift, and go to state 194
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 195
|
|
T_XHP_LABEL shift, and go to state 196
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 197
|
|
|
|
ident go to state 365
|
|
sm_type go to state 367
|
|
|
|
|
|
state 195
|
|
|
|
667 sm_type: T_ARRAY .
|
|
668 | T_ARRAY . T_TYPELIST_LT sm_type T_TYPELIST_GT
|
|
669 | T_ARRAY . T_TYPELIST_LT sm_type ',' sm_type T_TYPELIST_GT
|
|
|
|
T_TYPELIST_LT shift, and go to state 368
|
|
|
|
$default reduce using rule 667 (sm_type)
|
|
|
|
|
|
state 196
|
|
|
|
670 sm_type: T_XHP_LABEL .
|
|
|
|
$default reduce using rule 670 (sm_type)
|
|
|
|
|
|
state 197
|
|
|
|
671 sm_type: '(' . T_FUNCTION '(' sm_func_type_list ')' ':' sm_type ')'
|
|
672 | '(' . sm_type_list ',' sm_type ')'
|
|
|
|
'?' shift, and go to state 193
|
|
'@' shift, and go to state 194
|
|
T_STRING shift, and go to state 31
|
|
T_FUNCTION shift, and go to state 369
|
|
T_ARRAY shift, and go to state 195
|
|
T_XHP_LABEL shift, and go to state 196
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 197
|
|
|
|
ident go to state 365
|
|
sm_type_list go to state 370
|
|
sm_type go to state 371
|
|
|
|
|
|
state 198
|
|
|
|
646 sm_name_with_type: ident .
|
|
666 sm_type: ident . sm_typeargs_opt
|
|
|
|
T_TYPELIST_LT shift, and go to state 257
|
|
|
|
'=' reduce using rule 646 (sm_name_with_type)
|
|
$default reduce using rule 651 (sm_typeargs_opt)
|
|
|
|
sm_typeargs_opt go to state 372
|
|
|
|
|
|
state 199
|
|
|
|
37 constant_declaration: T_CONST sm_name_with_type . '=' static_scalar
|
|
|
|
'=' shift, and go to state 373
|
|
|
|
|
|
state 200
|
|
|
|
647 sm_name_with_type: sm_type . ident
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 374
|
|
|
|
|
|
state 201
|
|
|
|
59 statement: T_RETURN ';' .
|
|
|
|
$default reduce using rule 59 (statement)
|
|
|
|
|
|
state 202
|
|
|
|
60 statement: T_RETURN expr . ';'
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
';' shift, and go to state 375
|
|
|
|
|
|
state 203
|
|
|
|
74 statement: T_TRY '{' . inner_statement_list '}' T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}' additional_catches optional_finally
|
|
75 | T_TRY '{' . inner_statement_list '}' finally
|
|
|
|
$default reduce using rule 39 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 376
|
|
|
|
|
|
state 204
|
|
|
|
76 statement: T_THROW expr . ';'
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
';' shift, and go to state 377
|
|
|
|
|
|
state 205
|
|
|
|
25 use_declaration: T_NS_SEPARATOR . namespace_name
|
|
27 | T_NS_SEPARATOR . namespace_name T_AS ident
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 378
|
|
|
|
|
|
state 206
|
|
|
|
14 top_statement: T_USE use_declarations . ';'
|
|
22 use_declarations: use_declarations . ',' use_declaration
|
|
|
|
',' shift, and go to state 379
|
|
';' shift, and go to state 380
|
|
|
|
|
|
state 207
|
|
|
|
23 use_declarations: use_declaration .
|
|
|
|
$default reduce using rule 23 (use_declarations)
|
|
|
|
|
|
state 208
|
|
|
|
24 use_declaration: namespace_name .
|
|
26 | namespace_name . T_AS ident
|
|
29 namespace_name: namespace_name . T_NS_SEPARATOR ident
|
|
|
|
T_AS shift, and go to state 381
|
|
T_NS_SEPARATOR shift, and go to state 256
|
|
|
|
$default reduce using rule 24 (use_declaration)
|
|
|
|
|
|
state 209
|
|
|
|
173 global_var: T_VARIABLE .
|
|
|
|
$default reduce using rule 173 (global_var)
|
|
|
|
|
|
state 210
|
|
|
|
174 global_var: '$' . variable
|
|
175 | '$' . '{' expr '}'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'{' shift, and go to state 382
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 383
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 211
|
|
|
|
65 statement: T_GLOBAL global_var_list . ';'
|
|
171 global_var_list: global_var_list . ',' global_var
|
|
|
|
',' shift, and go to state 384
|
|
';' shift, and go to state 385
|
|
|
|
|
|
state 212
|
|
|
|
172 global_var_list: global_var .
|
|
|
|
$default reduce using rule 172 (global_var_list)
|
|
|
|
|
|
state 213
|
|
|
|
111 class_entry_type: T_FINAL T_CLASS .
|
|
|
|
$default reduce using rule 111 (class_entry_type)
|
|
|
|
|
|
state 214
|
|
|
|
110 class_entry_type: T_ABSTRACT T_CLASS .
|
|
|
|
$default reduce using rule 110 (class_entry_type)
|
|
|
|
|
|
state 215
|
|
|
|
178 static_var_list: T_VARIABLE .
|
|
179 | T_VARIABLE . '=' static_scalar
|
|
|
|
'=' shift, and go to state 386
|
|
|
|
$default reduce using rule 178 (static_var_list)
|
|
|
|
|
|
state 216
|
|
|
|
337 expr_no_variable: T_STATIC function_loc . is_reference '(' $@22 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
'&' shift, and go to state 262
|
|
|
|
$default reduce using rule 87 (is_reference)
|
|
|
|
is_reference go to state 387
|
|
|
|
|
|
state 217
|
|
|
|
66 statement: T_STATIC static_var_list . ';'
|
|
176 static_var_list: static_var_list . ',' T_VARIABLE
|
|
177 | static_var_list . ',' T_VARIABLE '=' static_scalar
|
|
|
|
',' shift, and go to state 388
|
|
';' shift, and go to state 389
|
|
|
|
|
|
state 218
|
|
|
|
68 statement: T_UNSET '(' . variable_list ')' ';'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 390
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
variable_list go to state 391
|
|
|
|
|
|
state 219
|
|
|
|
636 internal_functions: T_ISSET '(' . variable_list ')'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 390
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
variable_list go to state 392
|
|
|
|
|
|
state 220
|
|
|
|
637 internal_functions: T_EMPTY '(' . variable ')'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 393
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 221
|
|
|
|
8 top_statement: T_HALT_COMPILER '(' . ')' ';'
|
|
|
|
')' shift, and go to state 394
|
|
|
|
|
|
state 222
|
|
|
|
648 sm_name_with_typevar: ident .
|
|
649 | ident . T_TYPELIST_LT sm_typevar_list T_TYPELIST_GT
|
|
|
|
T_TYPELIST_LT shift, and go to state 395
|
|
|
|
$default reduce using rule 648 (sm_name_with_typevar)
|
|
|
|
|
|
state 223
|
|
|
|
98 class_declaration_statement: T_INTERFACE interface_decl_name . $@13 interface_extends_list '{' class_statement_list '}'
|
|
|
|
$default reduce using rule 97 ($@13)
|
|
|
|
$@13 go to state 396
|
|
|
|
|
|
state 224
|
|
|
|
107 interface_decl_name: sm_name_with_typevar .
|
|
|
|
$default reduce using rule 107 (interface_decl_name)
|
|
|
|
|
|
state 225
|
|
|
|
64 statement: T_LIST '(' . assignment_list ')' '=' T_YIELD expr ';'
|
|
268 expr_no_variable: T_LIST '(' . assignment_list ')' '=' expr
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_LIST shift, and go to state 397
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
$default reduce using rule 598 (assignment_list)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 398
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
assignment_list go to state 399
|
|
|
|
|
|
state 226
|
|
|
|
341 array_literal: T_ARRAY '(' . array_pair_list ')'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'&' shift, and go to state 400
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 602 (array_pair_list)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 401
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
array_pair_list go to state 402
|
|
non_empty_array_pair_list go to state 403
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 227
|
|
|
|
627 encaps_var: T_VARIABLE .
|
|
628 | T_VARIABLE . '[' encaps_var_offset ']'
|
|
629 | T_VARIABLE . T_OBJECT_OPERATOR ident
|
|
|
|
'[' shift, and go to state 404
|
|
T_OBJECT_OPERATOR shift, and go to state 405
|
|
|
|
$default reduce using rule 627 (encaps_var)
|
|
|
|
|
|
state 228
|
|
|
|
474 common_scalar: T_START_HEREDOC T_ENCAPSED_AND_WHITESPACE . T_END_HEREDOC
|
|
626 encaps_list: T_ENCAPSED_AND_WHITESPACE . encaps_var
|
|
|
|
T_VARIABLE shift, and go to state 227
|
|
T_END_HEREDOC shift, and go to state 406
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 230
|
|
T_CURLY_OPEN shift, and go to state 231
|
|
|
|
encaps_var go to state 407
|
|
|
|
|
|
state 229
|
|
|
|
475 common_scalar: T_START_HEREDOC T_END_HEREDOC .
|
|
|
|
$default reduce using rule 475 (common_scalar)
|
|
|
|
|
|
state 230
|
|
|
|
630 encaps_var: T_DOLLAR_OPEN_CURLY_BRACES . expr '}'
|
|
631 | T_DOLLAR_OPEN_CURLY_BRACES . T_STRING_VARNAME '[' expr ']' '}'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 408
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 409
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 231
|
|
|
|
632 encaps_var: T_CURLY_OPEN . variable '}'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 410
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 232
|
|
|
|
491 scalar: T_START_HEREDOC encaps_list . T_END_HEREDOC
|
|
623 encaps_list: encaps_list . encaps_var
|
|
624 | encaps_list . T_ENCAPSED_AND_WHITESPACE
|
|
|
|
T_VARIABLE shift, and go to state 227
|
|
T_ENCAPSED_AND_WHITESPACE shift, and go to state 411
|
|
T_END_HEREDOC shift, and go to state 412
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 230
|
|
T_CURLY_OPEN shift, and go to state 231
|
|
|
|
encaps_var go to state 413
|
|
|
|
|
|
state 233
|
|
|
|
625 encaps_list: encaps_var .
|
|
|
|
$default reduce using rule 625 (encaps_list)
|
|
|
|
|
|
state 234
|
|
|
|
32 namespace_string_base: T_NAMESPACE T_NS_SEPARATOR . namespace_name
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 414
|
|
|
|
|
|
state 235
|
|
|
|
13 top_statement: T_NAMESPACE '{' . $@2 top_statement_list '}'
|
|
|
|
$default reduce using rule 12 ($@2)
|
|
|
|
$@2 go to state 415
|
|
|
|
|
|
state 236
|
|
|
|
9 top_statement: T_NAMESPACE namespace_name . ';'
|
|
11 | T_NAMESPACE namespace_name . '{' $@1 top_statement_list '}'
|
|
29 namespace_name: namespace_name . T_NS_SEPARATOR ident
|
|
|
|
T_NS_SEPARATOR shift, and go to state 256
|
|
';' shift, and go to state 416
|
|
'{' shift, and go to state 417
|
|
|
|
|
|
state 237
|
|
|
|
29 namespace_name: namespace_name . T_NS_SEPARATOR ident
|
|
31 namespace_string_base: T_NS_SEPARATOR namespace_name .
|
|
|
|
T_NS_SEPARATOR shift, and go to state 256
|
|
|
|
$default reduce using rule 31 (namespace_string_base)
|
|
|
|
|
|
state 238
|
|
|
|
61 statement: T_YIELD T_BREAK . ';'
|
|
|
|
';' shift, and go to state 418
|
|
|
|
|
|
state 239
|
|
|
|
62 statement: T_YIELD expr . ';'
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
';' shift, and go to state 419
|
|
|
|
|
|
state 240
|
|
|
|
102 trait_declaration_statement: T_TRAIT trait_decl_name . $@15 '{' class_statement_list '}'
|
|
|
|
$default reduce using rule 101 ($@15)
|
|
|
|
$@15 go to state 420
|
|
|
|
|
|
state 241
|
|
|
|
108 trait_decl_name: sm_name_with_typevar .
|
|
|
|
$default reduce using rule 108 (trait_decl_name)
|
|
|
|
|
|
state 242
|
|
|
|
355 xhp_tag: T_XHP_TAG_LT T_XHP_LABEL . xhp_tag_body T_XHP_TAG_GT
|
|
|
|
$default reduce using rule 361 (xhp_attributes)
|
|
|
|
xhp_tag_body go to state 421
|
|
xhp_attributes go to state 422
|
|
|
|
|
|
state 243
|
|
|
|
259 new_expr: '(' new_expr . ')'
|
|
267 expr: new_expr .
|
|
541 dimmable_variable_access: '(' new_expr . ')' array_access
|
|
550 variable: '(' new_expr . ')' property_access
|
|
559 dimmable_variable: '(' new_expr . ')' property_access_without_variables
|
|
568 object_method_call: '(' new_expr . ')' T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
569 | '(' new_expr . ')' T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
570 | '(' new_expr . ')' T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
')' shift, and go to state 423
|
|
|
|
$default reduce using rule 267 (expr)
|
|
|
|
|
|
state 244
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
|
|
state 245
|
|
|
|
265 expr: expr_no_variable .
|
|
317 expr_no_variable: '(' expr_no_variable . ')'
|
|
348 dim_expr_base: '(' expr_no_variable . ')'
|
|
|
|
')' shift, and go to state 424
|
|
|
|
$default reduce using rule 265 (expr)
|
|
|
|
|
|
state 246
|
|
|
|
266 expr: variable .
|
|
269 expr_no_variable: variable . '=' expr
|
|
270 | variable . '=' '&' variable
|
|
271 | variable . '=' '&' T_NEW class_name_reference ctor_arguments
|
|
273 | variable . T_PLUS_EQUAL expr
|
|
274 | variable . T_MINUS_EQUAL expr
|
|
275 | variable . T_MUL_EQUAL expr
|
|
276 | variable . T_DIV_EQUAL expr
|
|
277 | variable . T_CONCAT_EQUAL expr
|
|
278 | variable . T_MOD_EQUAL expr
|
|
279 | variable . T_AND_EQUAL expr
|
|
280 | variable . T_OR_EQUAL expr
|
|
281 | variable . T_XOR_EQUAL expr
|
|
282 | variable . T_SL_EQUAL expr
|
|
283 | variable . T_SR_EQUAL expr
|
|
284 | variable . T_INC
|
|
286 | variable . T_DEC
|
|
549 variable: variable . property_access
|
|
553 | '(' variable . ')'
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
561 | '(' variable . ')'
|
|
564 callable_variable: '(' variable . ')'
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
'=' shift, and go to state 329
|
|
T_SR_EQUAL shift, and go to state 303
|
|
T_SL_EQUAL shift, and go to state 304
|
|
T_XOR_EQUAL shift, and go to state 305
|
|
T_OR_EQUAL shift, and go to state 306
|
|
T_AND_EQUAL shift, and go to state 307
|
|
T_MOD_EQUAL shift, and go to state 308
|
|
T_CONCAT_EQUAL shift, and go to state 309
|
|
T_DIV_EQUAL shift, and go to state 310
|
|
T_MUL_EQUAL shift, and go to state 311
|
|
T_MINUS_EQUAL shift, and go to state 312
|
|
T_PLUS_EQUAL shift, and go to state 313
|
|
T_DEC shift, and go to state 314
|
|
T_INC shift, and go to state 315
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
')' shift, and go to state 425
|
|
|
|
$default reduce using rule 266 (expr)
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 247
|
|
|
|
38 inner_statement_list: inner_statement_list . inner_statement
|
|
44 statement: '{' inner_statement_list . '}'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'}' shift, and go to state 426
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
inner_statement go to state 427
|
|
statement go to state 428
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 429
|
|
class_declaration_statement go to state 430
|
|
trait_declaration_statement go to state 431
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 248
|
|
|
|
579 compound_variable: '$' '{' . expr '}'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 432
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 249
|
|
|
|
459 backticks_expr: T_ENCAPSED_AND_WHITESPACE .
|
|
626 encaps_list: T_ENCAPSED_AND_WHITESPACE . encaps_var
|
|
|
|
T_VARIABLE shift, and go to state 227
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 230
|
|
T_CURLY_OPEN shift, and go to state 231
|
|
|
|
$default reduce using rule 459 (backticks_expr)
|
|
|
|
encaps_var go to state 407
|
|
|
|
|
|
state 250
|
|
|
|
332 expr_no_variable: '`' backticks_expr . '`'
|
|
|
|
'`' shift, and go to state 433
|
|
|
|
|
|
state 251
|
|
|
|
460 backticks_expr: encaps_list .
|
|
623 encaps_list: encaps_list . encaps_var
|
|
624 | encaps_list . T_ENCAPSED_AND_WHITESPACE
|
|
|
|
T_VARIABLE shift, and go to state 227
|
|
T_ENCAPSED_AND_WHITESPACE shift, and go to state 411
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 230
|
|
T_CURLY_OPEN shift, and go to state 231
|
|
|
|
$default reduce using rule 460 (backticks_expr)
|
|
|
|
encaps_var go to state 413
|
|
|
|
|
|
state 252
|
|
|
|
626 encaps_list: T_ENCAPSED_AND_WHITESPACE . encaps_var
|
|
|
|
T_VARIABLE shift, and go to state 227
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 230
|
|
T_CURLY_OPEN shift, and go to state 231
|
|
|
|
encaps_var go to state 407
|
|
|
|
|
|
state 253
|
|
|
|
489 scalar: '"' encaps_list . '"'
|
|
623 encaps_list: encaps_list . encaps_var
|
|
624 | encaps_list . T_ENCAPSED_AND_WHITESPACE
|
|
|
|
T_VARIABLE shift, and go to state 227
|
|
T_ENCAPSED_AND_WHITESPACE shift, and go to state 411
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 230
|
|
T_CURLY_OPEN shift, and go to state 231
|
|
'"' shift, and go to state 434
|
|
|
|
encaps_var go to state 413
|
|
|
|
|
|
state 254
|
|
|
|
490 scalar: '\'' encaps_list . '\''
|
|
623 encaps_list: encaps_list . encaps_var
|
|
624 | encaps_list . T_ENCAPSED_AND_WHITESPACE
|
|
|
|
T_VARIABLE shift, and go to state 227
|
|
T_ENCAPSED_AND_WHITESPACE shift, and go to state 411
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 230
|
|
T_CURLY_OPEN shift, and go to state 231
|
|
'\'' shift, and go to state 435
|
|
|
|
encaps_var go to state 413
|
|
|
|
|
|
state 255
|
|
|
|
79 statement: ident ':' .
|
|
|
|
$default reduce using rule 79 (statement)
|
|
|
|
|
|
state 256
|
|
|
|
29 namespace_name: namespace_name T_NS_SEPARATOR . ident
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 436
|
|
|
|
|
|
state 257
|
|
|
|
650 sm_typeargs_opt: T_TYPELIST_LT . sm_type_list T_TYPELIST_GT
|
|
|
|
'?' shift, and go to state 193
|
|
'@' shift, and go to state 194
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 195
|
|
T_XHP_LABEL shift, and go to state 196
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 197
|
|
|
|
ident go to state 365
|
|
sm_type_list go to state 437
|
|
sm_type go to state 371
|
|
|
|
|
|
state 258
|
|
|
|
34 namespace_string_typeargs: namespace_string_base sm_typeargs_opt .
|
|
35 class_namespace_string_typeargs: namespace_string_base sm_typeargs_opt .
|
|
|
|
'(' reduce using rule 34 (namespace_string_typeargs)
|
|
$default reduce using rule 35 (class_namespace_string_typeargs)
|
|
|
|
|
|
state 259
|
|
|
|
446 simple_function_call: namespace_string_typeargs '(' . function_call_parameter_list ')'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'&' shift, and go to state 438
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 166 (function_call_parameter_list)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
function_call_parameter_list go to state 439
|
|
non_empty_fcall_parameter_list go to state 440
|
|
new_expr go to state 105
|
|
expr go to state 441
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 260
|
|
|
|
36 constant_declaration: constant_declaration ',' . sm_name_with_type '=' static_scalar
|
|
|
|
'?' shift, and go to state 193
|
|
'@' shift, and go to state 194
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 195
|
|
T_XHP_LABEL shift, and go to state 196
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 197
|
|
|
|
ident go to state 198
|
|
sm_name_with_type go to state 442
|
|
sm_type go to state 200
|
|
|
|
|
|
state 261
|
|
|
|
15 top_statement: constant_declaration ';' .
|
|
|
|
$default reduce using rule 15 (top_statement)
|
|
|
|
|
|
state 262
|
|
|
|
86 is_reference: '&' .
|
|
|
|
$default reduce using rule 86 (is_reference)
|
|
|
|
|
|
state 263
|
|
|
|
90 function_declaration_statement: function_loc is_reference . sm_name_with_typevar $@9 '(' parameter_list ')' sm_opt_return_type '{' inner_statement_list '}'
|
|
335 expr_no_variable: function_loc is_reference . '(' $@21 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 443
|
|
|
|
ident go to state 222
|
|
sm_name_with_typevar go to state 444
|
|
|
|
|
|
state 264
|
|
|
|
106 class_decl_name: T_XHP_LABEL .
|
|
|
|
$default reduce using rule 106 (class_decl_name)
|
|
|
|
|
|
state 265
|
|
|
|
94 class_declaration_statement: class_entry_type class_decl_name . $@11 extends_from implements_list '{' class_statement_list '}'
|
|
|
|
$default reduce using rule 93 ($@11)
|
|
|
|
$@11 go to state 445
|
|
|
|
|
|
state 266
|
|
|
|
105 class_decl_name: sm_name_with_typevar .
|
|
|
|
$default reduce using rule 105 (class_decl_name)
|
|
|
|
|
|
state 267
|
|
|
|
290 expr_no_variable: expr T_LOGICAL_OR . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 446
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 268
|
|
|
|
292 expr_no_variable: expr T_LOGICAL_XOR . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 447
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 269
|
|
|
|
291 expr_no_variable: expr T_LOGICAL_AND . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 448
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 270
|
|
|
|
318 expr_no_variable: expr '?' . expr ':' expr
|
|
319 | expr '?' . ':' expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
':' shift, and go to state 449
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 450
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 271
|
|
|
|
288 expr_no_variable: expr T_BOOLEAN_OR . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 451
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 272
|
|
|
|
289 expr_no_variable: expr T_BOOLEAN_AND . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 452
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 273
|
|
|
|
293 expr_no_variable: expr '|' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 453
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 274
|
|
|
|
295 expr_no_variable: expr '^' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 454
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 275
|
|
|
|
294 expr_no_variable: expr '&' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 455
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 276
|
|
|
|
309 expr_no_variable: expr T_IS_NOT_IDENTICAL . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 456
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 277
|
|
|
|
308 expr_no_variable: expr T_IS_IDENTICAL . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 457
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 278
|
|
|
|
311 expr_no_variable: expr T_IS_NOT_EQUAL . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 458
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 279
|
|
|
|
310 expr_no_variable: expr T_IS_EQUAL . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 459
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 280
|
|
|
|
312 expr_no_variable: expr '<' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 460
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 281
|
|
|
|
314 expr_no_variable: expr '>' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 461
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 282
|
|
|
|
315 expr_no_variable: expr T_IS_GREATER_OR_EQUAL . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 462
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 283
|
|
|
|
313 expr_no_variable: expr T_IS_SMALLER_OR_EQUAL . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 463
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 284
|
|
|
|
303 expr_no_variable: expr T_SR . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 464
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 285
|
|
|
|
302 expr_no_variable: expr T_SL . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 465
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 286
|
|
|
|
297 expr_no_variable: expr '+' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 466
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 287
|
|
|
|
298 expr_no_variable: expr '-' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 467
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 288
|
|
|
|
296 expr_no_variable: expr '.' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 468
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 289
|
|
|
|
299 expr_no_variable: expr '*' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 469
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 290
|
|
|
|
300 expr_no_variable: expr '/' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 470
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 291
|
|
|
|
301 expr_no_variable: expr '%' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 471
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 292
|
|
|
|
316 expr_no_variable: expr T_INSTANCEOF . class_name_reference
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 165
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 166
|
|
'$' shift, and go to state 87
|
|
|
|
$default reduce using rule 590 (dimmable_variable_no_calls)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 167
|
|
class_namespace_string_typeargs go to state 97
|
|
fully_qualified_class_name go to state 168
|
|
static_class_name go to state 169
|
|
class_name_reference go to state 472
|
|
dimmable_variable_no_calls_access go to state 171
|
|
variable_without_objects go to state 172
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
variable_no_calls go to state 173
|
|
dimmable_variable_no_calls go to state 174
|
|
|
|
|
|
state 293
|
|
|
|
78 statement: expr ';' .
|
|
|
|
$default reduce using rule 78 (statement)
|
|
|
|
|
|
state 294
|
|
|
|
344 dim_expr: dim_expr '[' . dim_offset ']'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 581 (dim_offset)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 473
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
dim_offset go to state 474
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 295
|
|
|
|
345 dim_expr: dim_expr_base '[' . dim_offset ']'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 581 (dim_offset)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 473
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
dim_offset go to state 475
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 296
|
|
|
|
342 collection_literal: fully_qualified_class_name '{' . collection_init '}'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 612 (collection_init)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 476
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
collection_init go to state 477
|
|
non_empty_collection_init go to state 478
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 297
|
|
|
|
551 variable: static_class_name T_PAAMAYIM_NEKUDOTAYIM . variable_without_objects
|
|
571 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM . ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
572 | static_class_name T_PAAMAYIM_NEKUDOTAYIM . variable_without_objects '(' function_call_parameter_list ')'
|
|
645 class_constant: static_class_name T_PAAMAYIM_NEKUDOTAYIM . ident
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 479
|
|
variable_without_objects go to state 480
|
|
reference_variable go to state 481
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 298
|
|
|
|
100 class_declaration_statement: non_empty_user_attributes T_INTERFACE . interface_decl_name $@14 interface_extends_list '{' class_statement_list '}'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 222
|
|
interface_decl_name go to state 482
|
|
sm_name_with_typevar go to state 224
|
|
|
|
|
|
state 299
|
|
|
|
104 trait_declaration_statement: non_empty_user_attributes T_TRAIT . trait_decl_name $@16 '{' class_statement_list '}'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 222
|
|
trait_decl_name go to state 483
|
|
sm_name_with_typevar go to state 241
|
|
|
|
|
|
state 300
|
|
|
|
92 function_declaration_statement: non_empty_user_attributes function_loc . is_reference sm_name_with_typevar $@10 '(' parameter_list ')' sm_opt_return_type '{' inner_statement_list '}'
|
|
|
|
'&' shift, and go to state 262
|
|
|
|
$default reduce using rule 87 (is_reference)
|
|
|
|
is_reference go to state 484
|
|
|
|
|
|
state 301
|
|
|
|
96 class_declaration_statement: non_empty_user_attributes class_entry_type . class_decl_name $@12 extends_from implements_list '{' class_statement_list '}'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_LABEL shift, and go to state 264
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 222
|
|
class_decl_name go to state 485
|
|
sm_name_with_typevar go to state 266
|
|
|
|
|
|
state 302
|
|
|
|
63 statement: variable '=' . T_YIELD expr ';'
|
|
269 expr_no_variable: variable '=' . expr
|
|
270 | variable '=' . '&' variable
|
|
271 | variable '=' . '&' T_NEW class_name_reference ctor_arguments
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'&' shift, and go to state 486
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 487
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 488
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 303
|
|
|
|
283 expr_no_variable: variable T_SR_EQUAL . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 489
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 304
|
|
|
|
282 expr_no_variable: variable T_SL_EQUAL . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 490
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 305
|
|
|
|
281 expr_no_variable: variable T_XOR_EQUAL . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 491
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 306
|
|
|
|
280 expr_no_variable: variable T_OR_EQUAL . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 492
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 307
|
|
|
|
279 expr_no_variable: variable T_AND_EQUAL . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 493
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 308
|
|
|
|
278 expr_no_variable: variable T_MOD_EQUAL . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 494
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 309
|
|
|
|
277 expr_no_variable: variable T_CONCAT_EQUAL . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 495
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 310
|
|
|
|
276 expr_no_variable: variable T_DIV_EQUAL . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 496
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 311
|
|
|
|
275 expr_no_variable: variable T_MUL_EQUAL . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 497
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 312
|
|
|
|
274 expr_no_variable: variable T_MINUS_EQUAL . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 498
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 313
|
|
|
|
273 expr_no_variable: variable T_PLUS_EQUAL . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 499
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 314
|
|
|
|
286 expr_no_variable: variable T_DEC .
|
|
|
|
$default reduce using rule 286 (expr_no_variable)
|
|
|
|
|
|
state 315
|
|
|
|
284 expr_no_variable: variable T_INC .
|
|
|
|
$default reduce using rule 284 (expr_no_variable)
|
|
|
|
|
|
state 316
|
|
|
|
535 property_access: T_OBJECT_OPERATOR . variable_without_objects
|
|
536 property_access_without_variables: T_OBJECT_OPERATOR . ident
|
|
537 | T_OBJECT_OPERATOR . '{' expr '}'
|
|
565 object_method_call: variable T_OBJECT_OPERATOR . ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable T_OBJECT_OPERATOR . variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable T_OBJECT_OPERATOR . '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'{' shift, and go to state 500
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 501
|
|
variable_without_objects go to state 502
|
|
reference_variable go to state 481
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 317
|
|
|
|
549 variable: variable property_access .
|
|
|
|
$default reduce using rule 549 (variable)
|
|
|
|
|
|
state 318
|
|
|
|
534 property_access: property_access_without_variables .
|
|
558 dimmable_variable: variable property_access_without_variables .
|
|
|
|
'[' reduce using rule 558 (dimmable_variable)
|
|
'{' reduce using rule 558 (dimmable_variable)
|
|
$default reduce using rule 534 (property_access)
|
|
|
|
|
|
state 319
|
|
|
|
538 array_access: '[' . dim_offset ']'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 581 (dim_offset)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 473
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
dim_offset go to state 503
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 320
|
|
|
|
539 array_access: '{' . expr '}'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 504
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 321
|
|
|
|
540 dimmable_variable_access: dimmable_variable array_access .
|
|
|
|
$default reduce using rule 540 (dimmable_variable_access)
|
|
|
|
|
|
state 322
|
|
|
|
552 variable: callable_variable '(' . function_call_parameter_list ')'
|
|
560 dimmable_variable: callable_variable '(' . function_call_parameter_list ')'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'&' shift, and go to state 438
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 166 (function_call_parameter_list)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
function_call_parameter_list go to state 505
|
|
non_empty_fcall_parameter_list go to state 440
|
|
new_expr go to state 105
|
|
expr go to state 441
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 323
|
|
|
|
575 reference_variable: reference_variable '[' . dim_offset ']'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 581 (dim_offset)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 473
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
dim_offset go to state 506
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 324
|
|
|
|
576 reference_variable: reference_variable '{' . expr '}'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 507
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 325
|
|
|
|
579 compound_variable: '$' . '{' expr '}'
|
|
583 simple_indirect_reference: simple_indirect_reference '$' .
|
|
|
|
'{' shift, and go to state 248
|
|
|
|
$default reduce using rule 583 (simple_indirect_reference)
|
|
|
|
|
|
state 326
|
|
|
|
574 variable_without_objects: simple_indirect_reference reference_variable .
|
|
575 reference_variable: reference_variable . '[' dim_offset ']'
|
|
576 | reference_variable . '{' expr '}'
|
|
|
|
'[' shift, and go to state 323
|
|
'{' shift, and go to state 324
|
|
|
|
$default reduce using rule 574 (variable_without_objects)
|
|
|
|
|
|
state 327
|
|
|
|
268 expr_no_variable: T_LIST '(' . assignment_list ')' '=' expr
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_LIST shift, and go to state 397
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
$default reduce using rule 598 (assignment_list)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 398
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
assignment_list go to state 508
|
|
|
|
|
|
state 328
|
|
|
|
335 expr_no_variable: function_loc is_reference . '(' $@21 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
'(' shift, and go to state 443
|
|
|
|
|
|
state 329
|
|
|
|
269 expr_no_variable: variable '=' . expr
|
|
270 | variable '=' . '&' variable
|
|
271 | variable '=' . '&' T_NEW class_name_reference ctor_arguments
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'&' shift, and go to state 486
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 488
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 330
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
640 internal_functions: T_EVAL '(' expr . ')'
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
')' shift, and go to state 509
|
|
|
|
|
|
state 331
|
|
|
|
531 non_empty_user_attributes: T_SL user_attribute_list T_SR .
|
|
|
|
$default reduce using rule 531 (non_empty_user_attributes)
|
|
|
|
|
|
state 332
|
|
|
|
528 non_empty_user_attribute_list: ident . attribute_static_scalar_list
|
|
|
|
'(' shift, and go to state 510
|
|
|
|
$default reduce using rule 526 (attribute_static_scalar_list)
|
|
|
|
attribute_static_scalar_list go to state 511
|
|
|
|
|
|
state 333
|
|
|
|
527 non_empty_user_attribute_list: non_empty_user_attribute_list . ',' ident attribute_static_scalar_list
|
|
530 user_attribute_list: $@23 non_empty_user_attribute_list . possible_comma
|
|
|
|
',' shift, and go to state 512
|
|
|
|
$default reduce using rule 495 (possible_comma)
|
|
|
|
possible_comma go to state 513
|
|
|
|
|
|
state 334
|
|
|
|
259 new_expr: '(' . new_expr ')'
|
|
541 dimmable_variable_access: '(' . new_expr ')' array_access
|
|
550 variable: '(' . new_expr ')' property_access
|
|
553 | '(' . variable ')'
|
|
559 dimmable_variable: '(' . new_expr ')' property_access_without_variables
|
|
561 | '(' . variable ')'
|
|
564 callable_variable: '(' . variable ')'
|
|
568 object_method_call: '(' . new_expr ')' T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
569 | '(' . new_expr ')' T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
570 | '(' . new_expr ')' T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_NEW shift, and go to state 26
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 334
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
new_expr go to state 514
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 336
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 335
|
|
|
|
541 dimmable_variable_access: '(' new_expr . ')' array_access
|
|
550 variable: '(' new_expr . ')' property_access
|
|
559 dimmable_variable: '(' new_expr . ')' property_access_without_variables
|
|
568 object_method_call: '(' new_expr . ')' T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
569 | '(' new_expr . ')' T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
570 | '(' new_expr . ')' T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
')' shift, and go to state 515
|
|
|
|
|
|
state 336
|
|
|
|
549 variable: variable . property_access
|
|
553 | '(' variable . ')'
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
561 | '(' variable . ')'
|
|
564 callable_variable: '(' variable . ')'
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
')' shift, and go to state 425
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 337
|
|
|
|
551 variable: static_class_name T_PAAMAYIM_NEKUDOTAYIM . variable_without_objects
|
|
571 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM . ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
572 | static_class_name T_PAAMAYIM_NEKUDOTAYIM . variable_without_objects '(' function_call_parameter_list ')'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 516
|
|
variable_without_objects go to state 480
|
|
reference_variable go to state 481
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 338
|
|
|
|
543 dimmable_variable_no_calls_access: '(' new_expr . ')' array_access
|
|
587 variable_no_calls: '(' new_expr . ')' property_access
|
|
593 dimmable_variable_no_calls: '(' new_expr . ')' property_access_without_variables
|
|
|
|
')' shift, and go to state 517
|
|
|
|
|
|
state 339
|
|
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
589 variable_no_calls: '(' variable . ')'
|
|
594 dimmable_variable_no_calls: '(' variable . ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
')' shift, and go to state 518
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 340
|
|
|
|
35 class_namespace_string_typeargs: namespace_string_base sm_typeargs_opt .
|
|
|
|
$default reduce using rule 35 (class_namespace_string_typeargs)
|
|
|
|
|
|
state 341
|
|
|
|
588 variable_no_calls: static_class_name T_PAAMAYIM_NEKUDOTAYIM . variable_without_objects
|
|
|
|
T_VARIABLE shift, and go to state 33
|
|
'$' shift, and go to state 87
|
|
|
|
variable_without_objects go to state 519
|
|
reference_variable go to state 481
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 342
|
|
|
|
461 ctor_arguments: '(' . function_call_parameter_list ')'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'&' shift, and go to state 438
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 166 (function_call_parameter_list)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
function_call_parameter_list go to state 520
|
|
non_empty_fcall_parameter_list go to state 440
|
|
new_expr go to state 105
|
|
expr go to state 441
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 343
|
|
|
|
258 new_expr: T_NEW class_name_reference ctor_arguments .
|
|
|
|
$default reduce using rule 258 (new_expr)
|
|
|
|
|
|
state 344
|
|
|
|
535 property_access: T_OBJECT_OPERATOR . variable_without_objects
|
|
536 property_access_without_variables: T_OBJECT_OPERATOR . ident
|
|
537 | T_OBJECT_OPERATOR . '{' expr '}'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'{' shift, and go to state 521
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 522
|
|
variable_without_objects go to state 523
|
|
reference_variable go to state 481
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 345
|
|
|
|
586 variable_no_calls: variable_no_calls property_access .
|
|
|
|
$default reduce using rule 586 (variable_no_calls)
|
|
|
|
|
|
state 346
|
|
|
|
534 property_access: property_access_without_variables .
|
|
592 dimmable_variable_no_calls: variable_no_calls property_access_without_variables .
|
|
|
|
'[' reduce using rule 592 (dimmable_variable_no_calls)
|
|
'{' reduce using rule 592 (dimmable_variable_no_calls)
|
|
$default reduce using rule 534 (property_access)
|
|
|
|
|
|
state 347
|
|
|
|
542 dimmable_variable_no_calls_access: dimmable_variable_no_calls array_access .
|
|
|
|
$default reduce using rule 542 (dimmable_variable_no_calls_access)
|
|
|
|
|
|
state 348
|
|
|
|
455 exit_expr: '(' ')' .
|
|
|
|
$default reduce using rule 455 (exit_expr)
|
|
|
|
|
|
state 349
|
|
|
|
260 parenthesis_expr: '(' expr . ')'
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
')' shift, and go to state 524
|
|
|
|
|
|
state 350
|
|
|
|
46 statement: T_IF parenthesis_expr ':' . inner_statement_list new_elseif_list new_else_single T_ENDIF ';'
|
|
|
|
$default reduce using rule 39 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 525
|
|
|
|
|
|
state 351
|
|
|
|
45 statement: T_IF parenthesis_expr statement . elseif_list else_single
|
|
|
|
$default reduce using rule 146 (elseif_list)
|
|
|
|
elseif_list go to state 526
|
|
|
|
|
|
state 352
|
|
|
|
261 expr_list: expr_list ',' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 527
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 353
|
|
|
|
67 statement: T_ECHO expr_list ';' .
|
|
|
|
$default reduce using rule 67 (statement)
|
|
|
|
|
|
state 354
|
|
|
|
50 statement: T_DO $@4 statement . T_WHILE parenthesis_expr ';'
|
|
|
|
T_WHILE shift, and go to state 528
|
|
|
|
|
|
state 355
|
|
|
|
48 statement: T_WHILE parenthesis_expr $@3 . while_statement
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
':' shift, and go to state 529
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
statement go to state 530
|
|
function_loc go to state 135
|
|
while_statement go to state 531
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 356
|
|
|
|
261 expr_list: expr_list . ',' expr
|
|
263 for_expr: expr_list .
|
|
|
|
',' shift, and go to state 352
|
|
|
|
$default reduce using rule 263 (for_expr)
|
|
|
|
|
|
state 357
|
|
|
|
52 statement: T_FOR '(' for_expr . ';' for_expr ';' for_expr ')' $@5 for_statement
|
|
|
|
';' shift, and go to state 532
|
|
|
|
|
|
state 358
|
|
|
|
72 statement: T_FOREACH '(' expr . T_AS foreach_variable foreach_optional_arg ')' $@7 foreach_statement
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
T_AS shift, and go to state 533
|
|
|
|
|
|
state 359
|
|
|
|
134 declare_list: ident . '=' static_scalar
|
|
|
|
'=' shift, and go to state 534
|
|
|
|
|
|
state 360
|
|
|
|
73 statement: T_DECLARE '(' declare_list . ')' declare_statement
|
|
135 declare_list: declare_list . ',' ident '=' static_scalar
|
|
|
|
',' shift, and go to state 535
|
|
')' shift, and go to state 536
|
|
|
|
|
|
state 361
|
|
|
|
54 statement: T_SWITCH parenthesis_expr $@6 . switch_case_list
|
|
|
|
':' shift, and go to state 537
|
|
'{' shift, and go to state 538
|
|
|
|
switch_case_list go to state 539
|
|
|
|
|
|
state 362
|
|
|
|
56 statement: T_BREAK expr ';' .
|
|
|
|
$default reduce using rule 56 (statement)
|
|
|
|
|
|
state 363
|
|
|
|
77 statement: T_GOTO ident ';' .
|
|
|
|
$default reduce using rule 77 (statement)
|
|
|
|
|
|
state 364
|
|
|
|
58 statement: T_CONTINUE expr ';' .
|
|
|
|
$default reduce using rule 58 (statement)
|
|
|
|
|
|
state 365
|
|
|
|
666 sm_type: ident . sm_typeargs_opt
|
|
|
|
T_TYPELIST_LT shift, and go to state 257
|
|
|
|
$default reduce using rule 651 (sm_typeargs_opt)
|
|
|
|
sm_typeargs_opt go to state 372
|
|
|
|
|
|
state 366
|
|
|
|
664 sm_type: '?' sm_type .
|
|
|
|
$default reduce using rule 664 (sm_type)
|
|
|
|
|
|
state 367
|
|
|
|
665 sm_type: '@' sm_type .
|
|
|
|
$default reduce using rule 665 (sm_type)
|
|
|
|
|
|
state 368
|
|
|
|
668 sm_type: T_ARRAY T_TYPELIST_LT . sm_type T_TYPELIST_GT
|
|
669 | T_ARRAY T_TYPELIST_LT . sm_type ',' sm_type T_TYPELIST_GT
|
|
|
|
'?' shift, and go to state 193
|
|
'@' shift, and go to state 194
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 195
|
|
T_XHP_LABEL shift, and go to state 196
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 197
|
|
|
|
ident go to state 365
|
|
sm_type go to state 540
|
|
|
|
|
|
state 369
|
|
|
|
671 sm_type: '(' T_FUNCTION . '(' sm_func_type_list ')' ':' sm_type ')'
|
|
|
|
'(' shift, and go to state 541
|
|
|
|
|
|
state 370
|
|
|
|
653 sm_type_list: sm_type_list . ',' sm_type
|
|
672 sm_type: '(' sm_type_list . ',' sm_type ')'
|
|
|
|
',' shift, and go to state 542
|
|
|
|
|
|
state 371
|
|
|
|
652 sm_type_list: sm_type .
|
|
|
|
$default reduce using rule 652 (sm_type_list)
|
|
|
|
|
|
state 372
|
|
|
|
666 sm_type: ident sm_typeargs_opt .
|
|
|
|
$default reduce using rule 666 (sm_type)
|
|
|
|
|
|
state 373
|
|
|
|
37 constant_declaration: T_CONST sm_name_with_type '=' . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 554
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 374
|
|
|
|
647 sm_name_with_type: sm_type ident .
|
|
|
|
$default reduce using rule 647 (sm_name_with_type)
|
|
|
|
|
|
state 375
|
|
|
|
60 statement: T_RETURN expr ';' .
|
|
|
|
$default reduce using rule 60 (statement)
|
|
|
|
|
|
state 376
|
|
|
|
38 inner_statement_list: inner_statement_list . inner_statement
|
|
74 statement: T_TRY '{' inner_statement_list . '}' T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}' additional_catches optional_finally
|
|
75 | T_TRY '{' inner_statement_list . '}' finally
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'}' shift, and go to state 556
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
inner_statement go to state 427
|
|
statement go to state 428
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 429
|
|
class_declaration_statement go to state 430
|
|
trait_declaration_statement go to state 431
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 377
|
|
|
|
76 statement: T_THROW expr ';' .
|
|
|
|
$default reduce using rule 76 (statement)
|
|
|
|
|
|
state 378
|
|
|
|
25 use_declaration: T_NS_SEPARATOR namespace_name .
|
|
27 | T_NS_SEPARATOR namespace_name . T_AS ident
|
|
29 namespace_name: namespace_name . T_NS_SEPARATOR ident
|
|
|
|
T_AS shift, and go to state 557
|
|
T_NS_SEPARATOR shift, and go to state 256
|
|
|
|
$default reduce using rule 25 (use_declaration)
|
|
|
|
|
|
state 379
|
|
|
|
22 use_declarations: use_declarations ',' . use_declaration
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NS_SEPARATOR shift, and go to state 205
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 134
|
|
use_declaration go to state 558
|
|
namespace_name go to state 208
|
|
|
|
|
|
state 380
|
|
|
|
14 top_statement: T_USE use_declarations ';' .
|
|
|
|
$default reduce using rule 14 (top_statement)
|
|
|
|
|
|
state 381
|
|
|
|
26 use_declaration: namespace_name T_AS . ident
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 559
|
|
|
|
|
|
state 382
|
|
|
|
175 global_var: '$' '{' . expr '}'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 560
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 383
|
|
|
|
174 global_var: '$' variable .
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
|
|
$default reduce using rule 174 (global_var)
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 384
|
|
|
|
171 global_var_list: global_var_list ',' . global_var
|
|
|
|
T_VARIABLE shift, and go to state 209
|
|
'$' shift, and go to state 210
|
|
|
|
global_var go to state 561
|
|
|
|
|
|
state 385
|
|
|
|
65 statement: T_GLOBAL global_var_list ';' .
|
|
|
|
$default reduce using rule 65 (statement)
|
|
|
|
|
|
state 386
|
|
|
|
179 static_var_list: T_VARIABLE '=' . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 562
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 387
|
|
|
|
337 expr_no_variable: T_STATIC function_loc is_reference . '(' $@22 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
'(' shift, and go to state 563
|
|
|
|
|
|
state 388
|
|
|
|
176 static_var_list: static_var_list ',' . T_VARIABLE
|
|
177 | static_var_list ',' . T_VARIABLE '=' static_scalar
|
|
|
|
T_VARIABLE shift, and go to state 564
|
|
|
|
|
|
state 389
|
|
|
|
66 statement: T_STATIC static_var_list ';' .
|
|
|
|
$default reduce using rule 66 (statement)
|
|
|
|
|
|
state 390
|
|
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
643 variable_list: variable .
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
|
|
$default reduce using rule 643 (variable_list)
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 391
|
|
|
|
68 statement: T_UNSET '(' variable_list . ')' ';'
|
|
644 variable_list: variable_list . ',' variable
|
|
|
|
',' shift, and go to state 565
|
|
')' shift, and go to state 566
|
|
|
|
|
|
state 392
|
|
|
|
636 internal_functions: T_ISSET '(' variable_list . ')'
|
|
644 variable_list: variable_list . ',' variable
|
|
|
|
',' shift, and go to state 565
|
|
')' shift, and go to state 567
|
|
|
|
|
|
state 393
|
|
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
637 internal_functions: T_EMPTY '(' variable . ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
')' shift, and go to state 568
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 394
|
|
|
|
8 top_statement: T_HALT_COMPILER '(' ')' . ';'
|
|
|
|
';' shift, and go to state 569
|
|
|
|
|
|
state 395
|
|
|
|
649 sm_name_with_typevar: ident T_TYPELIST_LT . sm_typevar_list T_TYPELIST_GT
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 570
|
|
sm_typevar_list go to state 571
|
|
|
|
|
|
state 396
|
|
|
|
98 class_declaration_statement: T_INTERFACE interface_decl_name $@13 . interface_extends_list '{' class_statement_list '}'
|
|
|
|
T_EXTENDS shift, and go to state 572
|
|
|
|
$default reduce using rule 117 (interface_extends_list)
|
|
|
|
interface_extends_list go to state 573
|
|
|
|
|
|
state 397
|
|
|
|
600 assignment_list: T_LIST . '(' assignment_list ')'
|
|
|
|
'(' shift, and go to state 574
|
|
|
|
|
|
state 398
|
|
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
599 assignment_list: variable .
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
|
|
$default reduce using rule 599 (assignment_list)
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 399
|
|
|
|
64 statement: T_LIST '(' assignment_list . ')' '=' T_YIELD expr ';'
|
|
268 expr_no_variable: T_LIST '(' assignment_list . ')' '=' expr
|
|
595 assignment_list: assignment_list . ','
|
|
596 | assignment_list . ',' variable
|
|
597 | assignment_list . ',' T_LIST '(' assignment_list ')'
|
|
|
|
',' shift, and go to state 575
|
|
')' shift, and go to state 576
|
|
|
|
|
|
state 400
|
|
|
|
610 non_empty_array_pair_list: '&' . variable
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 577
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 401
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
605 non_empty_array_pair_list: expr . T_DOUBLE_ARROW expr
|
|
606 | expr .
|
|
609 | expr . T_DOUBLE_ARROW '&' variable
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
T_DOUBLE_ARROW shift, and go to state 578
|
|
|
|
$default reduce using rule 606 (non_empty_array_pair_list)
|
|
|
|
|
|
state 402
|
|
|
|
341 array_literal: T_ARRAY '(' array_pair_list . ')'
|
|
|
|
')' shift, and go to state 579
|
|
|
|
|
|
state 403
|
|
|
|
601 array_pair_list: non_empty_array_pair_list . possible_comma
|
|
603 non_empty_array_pair_list: non_empty_array_pair_list . ',' expr T_DOUBLE_ARROW expr
|
|
604 | non_empty_array_pair_list . ',' expr
|
|
607 | non_empty_array_pair_list . ',' expr T_DOUBLE_ARROW '&' variable
|
|
608 | non_empty_array_pair_list . ',' '&' variable
|
|
|
|
',' shift, and go to state 580
|
|
|
|
$default reduce using rule 495 (possible_comma)
|
|
|
|
possible_comma go to state 581
|
|
|
|
|
|
state 404
|
|
|
|
628 encaps_var: T_VARIABLE '[' . encaps_var_offset ']'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 582
|
|
T_NUM_STRING shift, and go to state 583
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 584
|
|
encaps_var_offset go to state 585
|
|
|
|
|
|
state 405
|
|
|
|
629 encaps_var: T_VARIABLE T_OBJECT_OPERATOR . ident
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 586
|
|
|
|
|
|
state 406
|
|
|
|
474 common_scalar: T_START_HEREDOC T_ENCAPSED_AND_WHITESPACE T_END_HEREDOC .
|
|
|
|
$default reduce using rule 474 (common_scalar)
|
|
|
|
|
|
state 407
|
|
|
|
626 encaps_list: T_ENCAPSED_AND_WHITESPACE encaps_var .
|
|
|
|
$default reduce using rule 626 (encaps_list)
|
|
|
|
|
|
state 408
|
|
|
|
486 scalar: T_STRING_VARNAME .
|
|
631 encaps_var: T_DOLLAR_OPEN_CURLY_BRACES T_STRING_VARNAME . '[' expr ']' '}'
|
|
|
|
'[' shift, and go to state 587
|
|
|
|
$default reduce using rule 486 (scalar)
|
|
|
|
|
|
state 409
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
630 encaps_var: T_DOLLAR_OPEN_CURLY_BRACES expr . '}'
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
'}' shift, and go to state 588
|
|
|
|
|
|
state 410
|
|
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
632 encaps_var: T_CURLY_OPEN variable . '}'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
'}' shift, and go to state 589
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 411
|
|
|
|
624 encaps_list: encaps_list T_ENCAPSED_AND_WHITESPACE .
|
|
|
|
$default reduce using rule 624 (encaps_list)
|
|
|
|
|
|
state 412
|
|
|
|
491 scalar: T_START_HEREDOC encaps_list T_END_HEREDOC .
|
|
|
|
$default reduce using rule 491 (scalar)
|
|
|
|
|
|
state 413
|
|
|
|
623 encaps_list: encaps_list encaps_var .
|
|
|
|
$default reduce using rule 623 (encaps_list)
|
|
|
|
|
|
state 414
|
|
|
|
29 namespace_name: namespace_name . T_NS_SEPARATOR ident
|
|
32 namespace_string_base: T_NAMESPACE T_NS_SEPARATOR namespace_name .
|
|
|
|
T_NS_SEPARATOR shift, and go to state 256
|
|
|
|
$default reduce using rule 32 (namespace_string_base)
|
|
|
|
|
|
state 415
|
|
|
|
13 top_statement: T_NAMESPACE '{' $@2 . top_statement_list '}'
|
|
|
|
$default reduce using rule 3 (top_statement_list)
|
|
|
|
top_statement_list go to state 590
|
|
|
|
|
|
state 416
|
|
|
|
9 top_statement: T_NAMESPACE namespace_name ';' .
|
|
|
|
$default reduce using rule 9 (top_statement)
|
|
|
|
|
|
state 417
|
|
|
|
11 top_statement: T_NAMESPACE namespace_name '{' . $@1 top_statement_list '}'
|
|
|
|
$default reduce using rule 10 ($@1)
|
|
|
|
$@1 go to state 591
|
|
|
|
|
|
state 418
|
|
|
|
61 statement: T_YIELD T_BREAK ';' .
|
|
|
|
$default reduce using rule 61 (statement)
|
|
|
|
|
|
state 419
|
|
|
|
62 statement: T_YIELD expr ';' .
|
|
|
|
$default reduce using rule 62 (statement)
|
|
|
|
|
|
state 420
|
|
|
|
102 trait_declaration_statement: T_TRAIT trait_decl_name $@15 . '{' class_statement_list '}'
|
|
|
|
'{' shift, and go to state 592
|
|
|
|
|
|
state 421
|
|
|
|
355 xhp_tag: T_XHP_TAG_LT T_XHP_LABEL xhp_tag_body . T_XHP_TAG_GT
|
|
|
|
T_XHP_TAG_GT shift, and go to state 593
|
|
|
|
|
|
state 422
|
|
|
|
356 xhp_tag_body: xhp_attributes . '/'
|
|
357 | xhp_attributes . T_XHP_TAG_GT xhp_children T_XHP_TAG_LT '/' xhp_opt_end_label
|
|
360 xhp_attributes: xhp_attributes . xhp_attribute_name '=' xhp_attribute_value
|
|
|
|
'/' shift, and go to state 594
|
|
T_XHP_LABEL shift, and go to state 595
|
|
T_XHP_TAG_GT shift, and go to state 596
|
|
|
|
xhp_attribute_name go to state 597
|
|
|
|
|
|
state 423
|
|
|
|
259 new_expr: '(' new_expr ')' .
|
|
541 dimmable_variable_access: '(' new_expr ')' . array_access
|
|
550 variable: '(' new_expr ')' . property_access
|
|
559 dimmable_variable: '(' new_expr ')' . property_access_without_variables
|
|
568 object_method_call: '(' new_expr ')' . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
569 | '(' new_expr ')' . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
570 | '(' new_expr ')' . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
'[' shift, and go to state 319
|
|
T_OBJECT_OPERATOR shift, and go to state 598
|
|
'{' shift, and go to state 320
|
|
|
|
$default reduce using rule 259 (new_expr)
|
|
|
|
property_access go to state 599
|
|
property_access_without_variables go to state 600
|
|
array_access go to state 601
|
|
|
|
|
|
state 424
|
|
|
|
317 expr_no_variable: '(' expr_no_variable ')' .
|
|
348 dim_expr_base: '(' expr_no_variable ')' .
|
|
|
|
'[' reduce using rule 348 (dim_expr_base)
|
|
$default reduce using rule 317 (expr_no_variable)
|
|
|
|
|
|
state 425
|
|
|
|
553 variable: '(' variable ')' .
|
|
561 dimmable_variable: '(' variable ')' .
|
|
564 callable_variable: '(' variable ')' .
|
|
|
|
'[' reduce using rule 561 (dimmable_variable)
|
|
'(' reduce using rule 564 (callable_variable)
|
|
'{' reduce using rule 561 (dimmable_variable)
|
|
$default reduce using rule 553 (variable)
|
|
|
|
|
|
state 426
|
|
|
|
44 statement: '{' inner_statement_list '}' .
|
|
|
|
$default reduce using rule 44 (statement)
|
|
|
|
|
|
state 427
|
|
|
|
38 inner_statement_list: inner_statement_list inner_statement .
|
|
|
|
$default reduce using rule 38 (inner_statement_list)
|
|
|
|
|
|
state 428
|
|
|
|
40 inner_statement: statement .
|
|
|
|
$default reduce using rule 40 (inner_statement)
|
|
|
|
|
|
state 429
|
|
|
|
41 inner_statement: function_declaration_statement .
|
|
|
|
$default reduce using rule 41 (inner_statement)
|
|
|
|
|
|
state 430
|
|
|
|
42 inner_statement: class_declaration_statement .
|
|
|
|
$default reduce using rule 42 (inner_statement)
|
|
|
|
|
|
state 431
|
|
|
|
43 inner_statement: trait_declaration_statement .
|
|
|
|
$default reduce using rule 43 (inner_statement)
|
|
|
|
|
|
state 432
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
579 compound_variable: '$' '{' expr . '}'
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
'}' shift, and go to state 602
|
|
|
|
|
|
state 433
|
|
|
|
332 expr_no_variable: '`' backticks_expr '`' .
|
|
|
|
$default reduce using rule 332 (expr_no_variable)
|
|
|
|
|
|
state 434
|
|
|
|
489 scalar: '"' encaps_list '"' .
|
|
|
|
$default reduce using rule 489 (scalar)
|
|
|
|
|
|
state 435
|
|
|
|
490 scalar: '\'' encaps_list '\'' .
|
|
|
|
$default reduce using rule 490 (scalar)
|
|
|
|
|
|
state 436
|
|
|
|
29 namespace_name: namespace_name T_NS_SEPARATOR ident .
|
|
|
|
$default reduce using rule 29 (namespace_name)
|
|
|
|
|
|
state 437
|
|
|
|
650 sm_typeargs_opt: T_TYPELIST_LT sm_type_list . T_TYPELIST_GT
|
|
653 sm_type_list: sm_type_list . ',' sm_type
|
|
|
|
',' shift, and go to state 603
|
|
T_TYPELIST_GT shift, and go to state 604
|
|
|
|
|
|
state 438
|
|
|
|
168 non_empty_fcall_parameter_list: '&' . variable
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 605
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 439
|
|
|
|
446 simple_function_call: namespace_string_typeargs '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 606
|
|
|
|
|
|
state 440
|
|
|
|
165 function_call_parameter_list: non_empty_fcall_parameter_list . possible_comma_in_hphp_syntax
|
|
169 non_empty_fcall_parameter_list: non_empty_fcall_parameter_list . ',' expr
|
|
170 | non_empty_fcall_parameter_list . ',' '&' variable
|
|
|
|
',' shift, and go to state 607
|
|
|
|
$default reduce using rule 497 (possible_comma_in_hphp_syntax)
|
|
|
|
possible_comma_in_hphp_syntax go to state 608
|
|
|
|
|
|
state 441
|
|
|
|
167 non_empty_fcall_parameter_list: expr .
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 167 (non_empty_fcall_parameter_list)
|
|
|
|
|
|
state 442
|
|
|
|
36 constant_declaration: constant_declaration ',' sm_name_with_type . '=' static_scalar
|
|
|
|
'=' shift, and go to state 609
|
|
|
|
|
|
state 443
|
|
|
|
335 expr_no_variable: function_loc is_reference '(' . $@21 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
$default reduce using rule 334 ($@21)
|
|
|
|
$@21 go to state 610
|
|
|
|
|
|
state 444
|
|
|
|
90 function_declaration_statement: function_loc is_reference sm_name_with_typevar . $@9 '(' parameter_list ')' sm_opt_return_type '{' inner_statement_list '}'
|
|
|
|
$default reduce using rule 89 ($@9)
|
|
|
|
$@9 go to state 611
|
|
|
|
|
|
state 445
|
|
|
|
94 class_declaration_statement: class_entry_type class_decl_name $@11 . extends_from implements_list '{' class_statement_list '}'
|
|
|
|
T_EXTENDS shift, and go to state 612
|
|
|
|
$default reduce using rule 113 (extends_from)
|
|
|
|
extends_from go to state 613
|
|
|
|
|
|
state 446
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
290 | expr T_LOGICAL_OR expr .
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 290 (expr_no_variable)
|
|
|
|
|
|
state 447
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
292 | expr T_LOGICAL_XOR expr .
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 292 (expr_no_variable)
|
|
|
|
|
|
state 448
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
291 | expr T_LOGICAL_AND expr .
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 291 (expr_no_variable)
|
|
|
|
|
|
state 449
|
|
|
|
319 expr_no_variable: expr '?' ':' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 614
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 450
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
318 | expr '?' expr . ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
':' shift, and go to state 615
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
|
|
state 451
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
288 | expr T_BOOLEAN_OR expr .
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 288 (expr_no_variable)
|
|
|
|
|
|
state 452
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
289 | expr T_BOOLEAN_AND expr .
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 289 (expr_no_variable)
|
|
|
|
|
|
state 453
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
293 | expr '|' expr .
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 293 (expr_no_variable)
|
|
|
|
|
|
state 454
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
295 | expr '^' expr .
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 295 (expr_no_variable)
|
|
|
|
|
|
state 455
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
294 | expr '&' expr .
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 294 (expr_no_variable)
|
|
|
|
|
|
state 456
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
309 | expr T_IS_NOT_IDENTICAL expr .
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
T_IS_NOT_IDENTICAL error (nonassociative)
|
|
T_IS_IDENTICAL error (nonassociative)
|
|
T_IS_NOT_EQUAL error (nonassociative)
|
|
T_IS_EQUAL error (nonassociative)
|
|
|
|
$default reduce using rule 309 (expr_no_variable)
|
|
|
|
|
|
state 457
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
308 | expr T_IS_IDENTICAL expr .
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
T_IS_NOT_IDENTICAL error (nonassociative)
|
|
T_IS_IDENTICAL error (nonassociative)
|
|
T_IS_NOT_EQUAL error (nonassociative)
|
|
T_IS_EQUAL error (nonassociative)
|
|
|
|
$default reduce using rule 308 (expr_no_variable)
|
|
|
|
|
|
state 458
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
311 | expr T_IS_NOT_EQUAL expr .
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
T_IS_NOT_IDENTICAL error (nonassociative)
|
|
T_IS_IDENTICAL error (nonassociative)
|
|
T_IS_NOT_EQUAL error (nonassociative)
|
|
T_IS_EQUAL error (nonassociative)
|
|
|
|
$default reduce using rule 311 (expr_no_variable)
|
|
|
|
|
|
state 459
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
310 | expr T_IS_EQUAL expr .
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
T_IS_NOT_IDENTICAL error (nonassociative)
|
|
T_IS_IDENTICAL error (nonassociative)
|
|
T_IS_NOT_EQUAL error (nonassociative)
|
|
T_IS_EQUAL error (nonassociative)
|
|
|
|
$default reduce using rule 310 (expr_no_variable)
|
|
|
|
|
|
state 460
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
312 | expr '<' expr .
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
'<' error (nonassociative)
|
|
'>' error (nonassociative)
|
|
T_IS_GREATER_OR_EQUAL error (nonassociative)
|
|
T_IS_SMALLER_OR_EQUAL error (nonassociative)
|
|
|
|
$default reduce using rule 312 (expr_no_variable)
|
|
|
|
|
|
state 461
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
314 | expr '>' expr .
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
'<' error (nonassociative)
|
|
'>' error (nonassociative)
|
|
T_IS_GREATER_OR_EQUAL error (nonassociative)
|
|
T_IS_SMALLER_OR_EQUAL error (nonassociative)
|
|
|
|
$default reduce using rule 314 (expr_no_variable)
|
|
|
|
|
|
state 462
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
315 | expr T_IS_GREATER_OR_EQUAL expr .
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
'<' error (nonassociative)
|
|
'>' error (nonassociative)
|
|
T_IS_GREATER_OR_EQUAL error (nonassociative)
|
|
T_IS_SMALLER_OR_EQUAL error (nonassociative)
|
|
|
|
$default reduce using rule 315 (expr_no_variable)
|
|
|
|
|
|
state 463
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
313 | expr T_IS_SMALLER_OR_EQUAL expr .
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
'<' error (nonassociative)
|
|
'>' error (nonassociative)
|
|
T_IS_GREATER_OR_EQUAL error (nonassociative)
|
|
T_IS_SMALLER_OR_EQUAL error (nonassociative)
|
|
|
|
$default reduce using rule 313 (expr_no_variable)
|
|
|
|
|
|
state 464
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
303 | expr T_SR expr .
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 303 (expr_no_variable)
|
|
|
|
|
|
state 465
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
302 | expr T_SL expr .
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 302 (expr_no_variable)
|
|
|
|
|
|
state 466
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
297 | expr '+' expr .
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 297 (expr_no_variable)
|
|
|
|
|
|
state 467
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
298 | expr '-' expr .
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 298 (expr_no_variable)
|
|
|
|
|
|
state 468
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
296 | expr '.' expr .
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 296 (expr_no_variable)
|
|
|
|
|
|
state 469
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
299 | expr '*' expr .
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 299 (expr_no_variable)
|
|
|
|
|
|
state 470
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
300 | expr '/' expr .
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 300 (expr_no_variable)
|
|
|
|
|
|
state 471
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
301 | expr '%' expr .
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 301 (expr_no_variable)
|
|
|
|
|
|
state 472
|
|
|
|
316 expr_no_variable: expr T_INSTANCEOF class_name_reference .
|
|
|
|
$default reduce using rule 316 (expr_no_variable)
|
|
|
|
|
|
state 473
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
580 dim_offset: expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 580 (dim_offset)
|
|
|
|
|
|
state 474
|
|
|
|
344 dim_expr: dim_expr '[' dim_offset . ']'
|
|
|
|
']' shift, and go to state 616
|
|
|
|
|
|
state 475
|
|
|
|
345 dim_expr: dim_expr_base '[' dim_offset . ']'
|
|
|
|
']' shift, and go to state 617
|
|
|
|
|
|
state 476
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
615 non_empty_collection_init: expr . T_DOUBLE_ARROW expr
|
|
616 | expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
T_DOUBLE_ARROW shift, and go to state 618
|
|
|
|
$default reduce using rule 616 (non_empty_collection_init)
|
|
|
|
|
|
state 477
|
|
|
|
342 collection_literal: fully_qualified_class_name '{' collection_init . '}'
|
|
|
|
'}' shift, and go to state 619
|
|
|
|
|
|
state 478
|
|
|
|
611 collection_init: non_empty_collection_init . possible_comma
|
|
613 non_empty_collection_init: non_empty_collection_init . ',' expr T_DOUBLE_ARROW expr
|
|
614 | non_empty_collection_init . ',' expr
|
|
|
|
',' shift, and go to state 620
|
|
|
|
$default reduce using rule 495 (possible_comma)
|
|
|
|
possible_comma go to state 621
|
|
|
|
|
|
state 479
|
|
|
|
571 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM ident . sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
645 class_constant: static_class_name T_PAAMAYIM_NEKUDOTAYIM ident .
|
|
|
|
T_TYPELIST_LT shift, and go to state 257
|
|
|
|
'(' reduce using rule 651 (sm_typeargs_opt)
|
|
$default reduce using rule 645 (class_constant)
|
|
|
|
sm_typeargs_opt go to state 622
|
|
|
|
|
|
state 480
|
|
|
|
551 variable: static_class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects .
|
|
572 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects . '(' function_call_parameter_list ')'
|
|
|
|
'(' shift, and go to state 623
|
|
|
|
$default reduce using rule 551 (variable)
|
|
|
|
|
|
state 481
|
|
|
|
573 variable_without_objects: reference_variable .
|
|
575 reference_variable: reference_variable . '[' dim_offset ']'
|
|
576 | reference_variable . '{' expr '}'
|
|
|
|
'[' shift, and go to state 323
|
|
'{' shift, and go to state 324
|
|
|
|
$default reduce using rule 573 (variable_without_objects)
|
|
|
|
|
|
state 482
|
|
|
|
100 class_declaration_statement: non_empty_user_attributes T_INTERFACE interface_decl_name . $@14 interface_extends_list '{' class_statement_list '}'
|
|
|
|
$default reduce using rule 99 ($@14)
|
|
|
|
$@14 go to state 624
|
|
|
|
|
|
state 483
|
|
|
|
104 trait_declaration_statement: non_empty_user_attributes T_TRAIT trait_decl_name . $@16 '{' class_statement_list '}'
|
|
|
|
$default reduce using rule 103 ($@16)
|
|
|
|
$@16 go to state 625
|
|
|
|
|
|
state 484
|
|
|
|
92 function_declaration_statement: non_empty_user_attributes function_loc is_reference . sm_name_with_typevar $@10 '(' parameter_list ')' sm_opt_return_type '{' inner_statement_list '}'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 222
|
|
sm_name_with_typevar go to state 626
|
|
|
|
|
|
state 485
|
|
|
|
96 class_declaration_statement: non_empty_user_attributes class_entry_type class_decl_name . $@12 extends_from implements_list '{' class_statement_list '}'
|
|
|
|
$default reduce using rule 95 ($@12)
|
|
|
|
$@12 go to state 627
|
|
|
|
|
|
state 486
|
|
|
|
270 expr_no_variable: variable '=' '&' . variable
|
|
271 | variable '=' '&' . T_NEW class_name_reference ctor_arguments
|
|
|
|
T_NEW shift, and go to state 628
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 629
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 487
|
|
|
|
63 statement: variable '=' T_YIELD . expr ';'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 630
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 488
|
|
|
|
269 expr_no_variable: variable '=' expr .
|
|
288 | expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 269 (expr_no_variable)
|
|
|
|
|
|
state 489
|
|
|
|
283 expr_no_variable: variable T_SR_EQUAL expr .
|
|
288 | expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 283 (expr_no_variable)
|
|
|
|
|
|
state 490
|
|
|
|
282 expr_no_variable: variable T_SL_EQUAL expr .
|
|
288 | expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 282 (expr_no_variable)
|
|
|
|
|
|
state 491
|
|
|
|
281 expr_no_variable: variable T_XOR_EQUAL expr .
|
|
288 | expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 281 (expr_no_variable)
|
|
|
|
|
|
state 492
|
|
|
|
280 expr_no_variable: variable T_OR_EQUAL expr .
|
|
288 | expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 280 (expr_no_variable)
|
|
|
|
|
|
state 493
|
|
|
|
279 expr_no_variable: variable T_AND_EQUAL expr .
|
|
288 | expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 279 (expr_no_variable)
|
|
|
|
|
|
state 494
|
|
|
|
278 expr_no_variable: variable T_MOD_EQUAL expr .
|
|
288 | expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 278 (expr_no_variable)
|
|
|
|
|
|
state 495
|
|
|
|
277 expr_no_variable: variable T_CONCAT_EQUAL expr .
|
|
288 | expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 277 (expr_no_variable)
|
|
|
|
|
|
state 496
|
|
|
|
276 expr_no_variable: variable T_DIV_EQUAL expr .
|
|
288 | expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 276 (expr_no_variable)
|
|
|
|
|
|
state 497
|
|
|
|
275 expr_no_variable: variable T_MUL_EQUAL expr .
|
|
288 | expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 275 (expr_no_variable)
|
|
|
|
|
|
state 498
|
|
|
|
274 expr_no_variable: variable T_MINUS_EQUAL expr .
|
|
288 | expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 274 (expr_no_variable)
|
|
|
|
|
|
state 499
|
|
|
|
273 expr_no_variable: variable T_PLUS_EQUAL expr .
|
|
288 | expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 273 (expr_no_variable)
|
|
|
|
|
|
state 500
|
|
|
|
537 property_access_without_variables: T_OBJECT_OPERATOR '{' . expr '}'
|
|
567 object_method_call: variable T_OBJECT_OPERATOR '{' . expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 631
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 501
|
|
|
|
536 property_access_without_variables: T_OBJECT_OPERATOR ident .
|
|
565 object_method_call: variable T_OBJECT_OPERATOR ident . sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
|
|
T_TYPELIST_LT shift, and go to state 257
|
|
|
|
'(' reduce using rule 651 (sm_typeargs_opt)
|
|
$default reduce using rule 536 (property_access_without_variables)
|
|
|
|
sm_typeargs_opt go to state 632
|
|
|
|
|
|
state 502
|
|
|
|
535 property_access: T_OBJECT_OPERATOR variable_without_objects .
|
|
566 object_method_call: variable T_OBJECT_OPERATOR variable_without_objects . '(' function_call_parameter_list ')'
|
|
|
|
'(' shift, and go to state 633
|
|
|
|
$default reduce using rule 535 (property_access)
|
|
|
|
|
|
state 503
|
|
|
|
538 array_access: '[' dim_offset . ']'
|
|
|
|
']' shift, and go to state 634
|
|
|
|
|
|
state 504
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
539 array_access: '{' expr . '}'
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
'}' shift, and go to state 635
|
|
|
|
|
|
state 505
|
|
|
|
552 variable: callable_variable '(' function_call_parameter_list . ')'
|
|
560 dimmable_variable: callable_variable '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 636
|
|
|
|
|
|
state 506
|
|
|
|
575 reference_variable: reference_variable '[' dim_offset . ']'
|
|
|
|
']' shift, and go to state 637
|
|
|
|
|
|
state 507
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
576 reference_variable: reference_variable '{' expr . '}'
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
'}' shift, and go to state 638
|
|
|
|
|
|
state 508
|
|
|
|
268 expr_no_variable: T_LIST '(' assignment_list . ')' '=' expr
|
|
595 assignment_list: assignment_list . ','
|
|
596 | assignment_list . ',' variable
|
|
597 | assignment_list . ',' T_LIST '(' assignment_list ')'
|
|
|
|
',' shift, and go to state 575
|
|
')' shift, and go to state 639
|
|
|
|
|
|
state 509
|
|
|
|
640 internal_functions: T_EVAL '(' expr ')' .
|
|
|
|
$default reduce using rule 640 (internal_functions)
|
|
|
|
|
|
state 510
|
|
|
|
525 attribute_static_scalar_list: '(' . static_scalar_list_ae ')'
|
|
|
|
'+' shift, and go to state 640
|
|
'-' shift, and go to state 641
|
|
T_LNUMBER shift, and go to state 642
|
|
T_DNUMBER shift, and go to state 643
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 644
|
|
T_ARRAY shift, and go to state 645
|
|
T_START_HEREDOC shift, and go to state 646
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
$default reduce using rule 524 (static_scalar_list_ae)
|
|
|
|
ident go to state 647
|
|
common_scalar_ae go to state 648
|
|
static_scalar_ae go to state 649
|
|
non_empty_static_scalar_list_ae go to state 650
|
|
static_scalar_list_ae go to state 651
|
|
|
|
|
|
state 511
|
|
|
|
528 non_empty_user_attribute_list: ident attribute_static_scalar_list .
|
|
|
|
$default reduce using rule 528 (non_empty_user_attribute_list)
|
|
|
|
|
|
state 512
|
|
|
|
494 possible_comma: ',' .
|
|
527 non_empty_user_attribute_list: non_empty_user_attribute_list ',' . ident attribute_static_scalar_list
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
$default reduce using rule 494 (possible_comma)
|
|
|
|
ident go to state 652
|
|
|
|
|
|
state 513
|
|
|
|
530 user_attribute_list: $@23 non_empty_user_attribute_list possible_comma .
|
|
|
|
$default reduce using rule 530 (user_attribute_list)
|
|
|
|
|
|
state 514
|
|
|
|
259 new_expr: '(' new_expr . ')'
|
|
541 dimmable_variable_access: '(' new_expr . ')' array_access
|
|
550 variable: '(' new_expr . ')' property_access
|
|
559 dimmable_variable: '(' new_expr . ')' property_access_without_variables
|
|
568 object_method_call: '(' new_expr . ')' T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
569 | '(' new_expr . ')' T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
570 | '(' new_expr . ')' T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
')' shift, and go to state 423
|
|
|
|
|
|
state 515
|
|
|
|
541 dimmable_variable_access: '(' new_expr ')' . array_access
|
|
550 variable: '(' new_expr ')' . property_access
|
|
559 dimmable_variable: '(' new_expr ')' . property_access_without_variables
|
|
568 object_method_call: '(' new_expr ')' . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
569 | '(' new_expr ')' . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
570 | '(' new_expr ')' . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
'[' shift, and go to state 319
|
|
T_OBJECT_OPERATOR shift, and go to state 598
|
|
'{' shift, and go to state 320
|
|
|
|
property_access go to state 599
|
|
property_access_without_variables go to state 600
|
|
array_access go to state 601
|
|
|
|
|
|
state 516
|
|
|
|
571 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM ident . sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
|
|
T_TYPELIST_LT shift, and go to state 257
|
|
|
|
$default reduce using rule 651 (sm_typeargs_opt)
|
|
|
|
sm_typeargs_opt go to state 622
|
|
|
|
|
|
state 517
|
|
|
|
543 dimmable_variable_no_calls_access: '(' new_expr ')' . array_access
|
|
587 variable_no_calls: '(' new_expr ')' . property_access
|
|
593 dimmable_variable_no_calls: '(' new_expr ')' . property_access_without_variables
|
|
|
|
'[' shift, and go to state 319
|
|
T_OBJECT_OPERATOR shift, and go to state 344
|
|
'{' shift, and go to state 320
|
|
|
|
property_access go to state 653
|
|
property_access_without_variables go to state 654
|
|
array_access go to state 655
|
|
|
|
|
|
state 518
|
|
|
|
589 variable_no_calls: '(' variable ')' .
|
|
594 dimmable_variable_no_calls: '(' variable ')' .
|
|
|
|
'[' reduce using rule 594 (dimmable_variable_no_calls)
|
|
'{' reduce using rule 594 (dimmable_variable_no_calls)
|
|
$default reduce using rule 589 (variable_no_calls)
|
|
|
|
|
|
state 519
|
|
|
|
588 variable_no_calls: static_class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects .
|
|
|
|
$default reduce using rule 588 (variable_no_calls)
|
|
|
|
|
|
state 520
|
|
|
|
461 ctor_arguments: '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 656
|
|
|
|
|
|
state 521
|
|
|
|
537 property_access_without_variables: T_OBJECT_OPERATOR '{' . expr '}'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 657
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 522
|
|
|
|
536 property_access_without_variables: T_OBJECT_OPERATOR ident .
|
|
|
|
$default reduce using rule 536 (property_access_without_variables)
|
|
|
|
|
|
state 523
|
|
|
|
535 property_access: T_OBJECT_OPERATOR variable_without_objects .
|
|
|
|
$default reduce using rule 535 (property_access)
|
|
|
|
|
|
state 524
|
|
|
|
260 parenthesis_expr: '(' expr ')' .
|
|
|
|
$default reduce using rule 260 (parenthesis_expr)
|
|
|
|
|
|
state 525
|
|
|
|
38 inner_statement_list: inner_statement_list . inner_statement
|
|
46 statement: T_IF parenthesis_expr ':' inner_statement_list . new_elseif_list new_else_single T_ENDIF ';'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 148 (new_elseif_list)
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
inner_statement go to state 427
|
|
statement go to state 428
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 429
|
|
class_declaration_statement go to state 430
|
|
trait_declaration_statement go to state 431
|
|
class_entry_type go to state 104
|
|
new_elseif_list go to state 658
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 526
|
|
|
|
45 statement: T_IF parenthesis_expr statement elseif_list . else_single
|
|
145 elseif_list: elseif_list . T_ELSEIF parenthesis_expr statement
|
|
|
|
T_ELSEIF shift, and go to state 659
|
|
T_ELSE shift, and go to state 660
|
|
|
|
T_ELSEIF [reduce using rule 150 (else_single)]
|
|
T_ELSE [reduce using rule 150 (else_single)]
|
|
$default reduce using rule 150 (else_single)
|
|
|
|
else_single go to state 661
|
|
|
|
|
|
state 527
|
|
|
|
261 expr_list: expr_list ',' expr .
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 261 (expr_list)
|
|
|
|
|
|
state 528
|
|
|
|
50 statement: T_DO $@4 statement T_WHILE . parenthesis_expr ';'
|
|
|
|
'(' shift, and go to state 178
|
|
|
|
parenthesis_expr go to state 662
|
|
|
|
|
|
state 529
|
|
|
|
131 while_statement: ':' . inner_statement_list T_ENDWHILE ';'
|
|
|
|
$default reduce using rule 39 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 663
|
|
|
|
|
|
state 530
|
|
|
|
130 while_statement: statement .
|
|
|
|
$default reduce using rule 130 (while_statement)
|
|
|
|
|
|
state 531
|
|
|
|
48 statement: T_WHILE parenthesis_expr $@3 while_statement .
|
|
|
|
$default reduce using rule 48 (statement)
|
|
|
|
|
|
state 532
|
|
|
|
52 statement: T_FOR '(' for_expr ';' . for_expr ';' for_expr ')' $@5 for_statement
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 264 (for_expr)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr_list go to state 356
|
|
for_expr go to state 664
|
|
expr go to state 181
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 533
|
|
|
|
72 statement: T_FOREACH '(' expr T_AS . foreach_variable foreach_optional_arg ')' $@7 foreach_statement
|
|
|
|
'&' shift, and go to state 665
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
foreach_variable go to state 666
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 667
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 534
|
|
|
|
134 declare_list: ident '=' . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 668
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 535
|
|
|
|
135 declare_list: declare_list ',' . ident '=' static_scalar
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 669
|
|
|
|
|
|
state 536
|
|
|
|
73 statement: T_DECLARE '(' declare_list ')' . declare_statement
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
':' shift, and go to state 670
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
statement go to state 671
|
|
function_loc go to state 135
|
|
declare_statement go to state 672
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 537
|
|
|
|
138 switch_case_list: ':' . case_list T_ENDSWITCH ';'
|
|
139 | ':' . ';' case_list T_ENDSWITCH ';'
|
|
|
|
';' shift, and go to state 673
|
|
|
|
$default reduce using rule 142 (case_list)
|
|
|
|
case_list go to state 674
|
|
|
|
|
|
state 538
|
|
|
|
136 switch_case_list: '{' . case_list '}'
|
|
137 | '{' . ';' case_list '}'
|
|
|
|
';' shift, and go to state 675
|
|
|
|
$default reduce using rule 142 (case_list)
|
|
|
|
case_list go to state 676
|
|
|
|
|
|
state 539
|
|
|
|
54 statement: T_SWITCH parenthesis_expr $@6 switch_case_list .
|
|
|
|
$default reduce using rule 54 (statement)
|
|
|
|
|
|
state 540
|
|
|
|
668 sm_type: T_ARRAY T_TYPELIST_LT sm_type . T_TYPELIST_GT
|
|
669 | T_ARRAY T_TYPELIST_LT sm_type . ',' sm_type T_TYPELIST_GT
|
|
|
|
',' shift, and go to state 677
|
|
T_TYPELIST_GT shift, and go to state 678
|
|
|
|
|
|
state 541
|
|
|
|
671 sm_type: '(' T_FUNCTION '(' . sm_func_type_list ')' ':' sm_type ')'
|
|
|
|
'?' shift, and go to state 193
|
|
'@' shift, and go to state 194
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 195
|
|
T_XHP_LABEL shift, and go to state 196
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_VARARG shift, and go to state 679
|
|
'(' shift, and go to state 197
|
|
|
|
$default reduce using rule 657 (sm_func_type_list)
|
|
|
|
ident go to state 365
|
|
sm_type_list go to state 680
|
|
sm_func_type_list go to state 681
|
|
sm_type go to state 371
|
|
|
|
|
|
state 542
|
|
|
|
653 sm_type_list: sm_type_list ',' . sm_type
|
|
672 sm_type: '(' sm_type_list ',' . sm_type ')'
|
|
|
|
'?' shift, and go to state 193
|
|
'@' shift, and go to state 194
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 195
|
|
T_XHP_LABEL shift, and go to state 196
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 197
|
|
|
|
ident go to state 365
|
|
sm_type go to state 682
|
|
|
|
|
|
state 543
|
|
|
|
478 static_scalar: '+' . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 683
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 544
|
|
|
|
479 static_scalar: '-' . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 684
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 545
|
|
|
|
480 static_scalar: T_ARRAY . '(' static_array_pair_list ')'
|
|
|
|
'(' shift, and go to state 685
|
|
|
|
|
|
state 546
|
|
|
|
474 common_scalar: T_START_HEREDOC . T_ENCAPSED_AND_WHITESPACE T_END_HEREDOC
|
|
475 | T_START_HEREDOC . T_END_HEREDOC
|
|
|
|
T_ENCAPSED_AND_WHITESPACE shift, and go to state 686
|
|
T_END_HEREDOC shift, and go to state 229
|
|
|
|
|
|
state 547
|
|
|
|
448 fully_qualified_class_name: T_XHP_LABEL .
|
|
484 static_class_constant: T_XHP_LABEL . T_PAAMAYIM_NEKUDOTAYIM ident
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM shift, and go to state 687
|
|
|
|
$default reduce using rule 448 (fully_qualified_class_name)
|
|
|
|
|
|
state 548
|
|
|
|
33 namespace_string: namespace_string_base .
|
|
35 class_namespace_string_typeargs: namespace_string_base . sm_typeargs_opt
|
|
|
|
T_TYPELIST_LT shift, and go to state 257
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM reduce using rule 651 (sm_typeargs_opt)
|
|
'{' reduce using rule 651 (sm_typeargs_opt)
|
|
$default reduce using rule 33 (namespace_string)
|
|
|
|
sm_typeargs_opt go to state 340
|
|
|
|
|
|
state 549
|
|
|
|
477 static_scalar: namespace_string .
|
|
|
|
$default reduce using rule 477 (static_scalar)
|
|
|
|
|
|
state 550
|
|
|
|
447 fully_qualified_class_name: class_namespace_string_typeargs .
|
|
483 static_class_constant: class_namespace_string_typeargs . T_PAAMAYIM_NEKUDOTAYIM ident
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM shift, and go to state 688
|
|
|
|
$default reduce using rule 447 (fully_qualified_class_name)
|
|
|
|
|
|
state 551
|
|
|
|
482 static_scalar: static_collection_literal .
|
|
|
|
$default reduce using rule 482 (static_scalar)
|
|
|
|
|
|
state 552
|
|
|
|
343 static_collection_literal: fully_qualified_class_name . '{' static_collection_init '}'
|
|
|
|
'{' shift, and go to state 689
|
|
|
|
|
|
state 553
|
|
|
|
476 static_scalar: common_scalar .
|
|
|
|
$default reduce using rule 476 (static_scalar)
|
|
|
|
|
|
state 554
|
|
|
|
37 constant_declaration: T_CONST sm_name_with_type '=' static_scalar .
|
|
|
|
$default reduce using rule 37 (constant_declaration)
|
|
|
|
|
|
state 555
|
|
|
|
481 static_scalar: static_class_constant .
|
|
|
|
$default reduce using rule 481 (static_scalar)
|
|
|
|
|
|
state 556
|
|
|
|
74 statement: T_TRY '{' inner_statement_list '}' . T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}' additional_catches optional_finally
|
|
75 | T_TRY '{' inner_statement_list '}' . finally
|
|
|
|
T_CATCH shift, and go to state 690
|
|
|
|
$default reduce using rule 82 ($@8)
|
|
|
|
finally go to state 691
|
|
$@8 go to state 692
|
|
|
|
|
|
state 557
|
|
|
|
27 use_declaration: T_NS_SEPARATOR namespace_name T_AS . ident
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 693
|
|
|
|
|
|
state 558
|
|
|
|
22 use_declarations: use_declarations ',' use_declaration .
|
|
|
|
$default reduce using rule 22 (use_declarations)
|
|
|
|
|
|
state 559
|
|
|
|
26 use_declaration: namespace_name T_AS ident .
|
|
|
|
$default reduce using rule 26 (use_declaration)
|
|
|
|
|
|
state 560
|
|
|
|
175 global_var: '$' '{' expr . '}'
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
'}' shift, and go to state 694
|
|
|
|
|
|
state 561
|
|
|
|
171 global_var_list: global_var_list ',' global_var .
|
|
|
|
$default reduce using rule 171 (global_var_list)
|
|
|
|
|
|
state 562
|
|
|
|
179 static_var_list: T_VARIABLE '=' static_scalar .
|
|
|
|
$default reduce using rule 179 (static_var_list)
|
|
|
|
|
|
state 563
|
|
|
|
337 expr_no_variable: T_STATIC function_loc is_reference '(' . $@22 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
$default reduce using rule 336 ($@22)
|
|
|
|
$@22 go to state 695
|
|
|
|
|
|
state 564
|
|
|
|
176 static_var_list: static_var_list ',' T_VARIABLE .
|
|
177 | static_var_list ',' T_VARIABLE . '=' static_scalar
|
|
|
|
'=' shift, and go to state 696
|
|
|
|
$default reduce using rule 176 (static_var_list)
|
|
|
|
|
|
state 565
|
|
|
|
644 variable_list: variable_list ',' . variable
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 697
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 566
|
|
|
|
68 statement: T_UNSET '(' variable_list ')' . ';'
|
|
|
|
';' shift, and go to state 698
|
|
|
|
|
|
state 567
|
|
|
|
636 internal_functions: T_ISSET '(' variable_list ')' .
|
|
|
|
$default reduce using rule 636 (internal_functions)
|
|
|
|
|
|
state 568
|
|
|
|
637 internal_functions: T_EMPTY '(' variable ')' .
|
|
|
|
$default reduce using rule 637 (internal_functions)
|
|
|
|
|
|
state 569
|
|
|
|
8 top_statement: T_HALT_COMPILER '(' ')' ';' .
|
|
|
|
$default reduce using rule 8 (top_statement)
|
|
|
|
|
|
state 570
|
|
|
|
660 sm_typevar_list: ident . ',' sm_typevar_list
|
|
661 | ident .
|
|
662 | ident . T_AS ident ',' sm_typevar_list
|
|
663 | ident . T_AS ident
|
|
|
|
',' shift, and go to state 699
|
|
T_AS shift, and go to state 700
|
|
|
|
$default reduce using rule 661 (sm_typevar_list)
|
|
|
|
|
|
state 571
|
|
|
|
649 sm_name_with_typevar: ident T_TYPELIST_LT sm_typevar_list . T_TYPELIST_GT
|
|
|
|
T_TYPELIST_GT shift, and go to state 701
|
|
|
|
|
|
state 572
|
|
|
|
116 interface_extends_list: T_EXTENDS . interface_list
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 167
|
|
class_namespace_string_typeargs go to state 97
|
|
interface_list go to state 702
|
|
fully_qualified_class_name go to state 703
|
|
|
|
|
|
state 573
|
|
|
|
98 class_declaration_statement: T_INTERFACE interface_decl_name $@13 interface_extends_list . '{' class_statement_list '}'
|
|
|
|
'{' shift, and go to state 704
|
|
|
|
|
|
state 574
|
|
|
|
600 assignment_list: T_LIST '(' . assignment_list ')'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_LIST shift, and go to state 397
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
$default reduce using rule 598 (assignment_list)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 398
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
assignment_list go to state 705
|
|
|
|
|
|
state 575
|
|
|
|
595 assignment_list: assignment_list ',' .
|
|
596 | assignment_list ',' . variable
|
|
597 | assignment_list ',' . T_LIST '(' assignment_list ')'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_LIST shift, and go to state 706
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
$default reduce using rule 595 (assignment_list)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 707
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 576
|
|
|
|
64 statement: T_LIST '(' assignment_list ')' . '=' T_YIELD expr ';'
|
|
268 expr_no_variable: T_LIST '(' assignment_list ')' . '=' expr
|
|
|
|
'=' shift, and go to state 708
|
|
|
|
|
|
state 577
|
|
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
610 non_empty_array_pair_list: '&' variable .
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
|
|
$default reduce using rule 610 (non_empty_array_pair_list)
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 578
|
|
|
|
605 non_empty_array_pair_list: expr T_DOUBLE_ARROW . expr
|
|
609 | expr T_DOUBLE_ARROW . '&' variable
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'&' shift, and go to state 709
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 710
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 579
|
|
|
|
341 array_literal: T_ARRAY '(' array_pair_list ')' .
|
|
|
|
$default reduce using rule 341 (array_literal)
|
|
|
|
|
|
state 580
|
|
|
|
494 possible_comma: ',' .
|
|
603 non_empty_array_pair_list: non_empty_array_pair_list ',' . expr T_DOUBLE_ARROW expr
|
|
604 | non_empty_array_pair_list ',' . expr
|
|
607 | non_empty_array_pair_list ',' . expr T_DOUBLE_ARROW '&' variable
|
|
608 | non_empty_array_pair_list ',' . '&' variable
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'&' shift, and go to state 711
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 494 (possible_comma)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 712
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 581
|
|
|
|
601 array_pair_list: non_empty_array_pair_list possible_comma .
|
|
|
|
$default reduce using rule 601 (array_pair_list)
|
|
|
|
|
|
state 582
|
|
|
|
635 encaps_var_offset: T_VARIABLE .
|
|
|
|
$default reduce using rule 635 (encaps_var_offset)
|
|
|
|
|
|
state 583
|
|
|
|
634 encaps_var_offset: T_NUM_STRING .
|
|
|
|
$default reduce using rule 634 (encaps_var_offset)
|
|
|
|
|
|
state 584
|
|
|
|
633 encaps_var_offset: ident .
|
|
|
|
$default reduce using rule 633 (encaps_var_offset)
|
|
|
|
|
|
state 585
|
|
|
|
628 encaps_var: T_VARIABLE '[' encaps_var_offset . ']'
|
|
|
|
']' shift, and go to state 713
|
|
|
|
|
|
state 586
|
|
|
|
629 encaps_var: T_VARIABLE T_OBJECT_OPERATOR ident .
|
|
|
|
$default reduce using rule 629 (encaps_var)
|
|
|
|
|
|
state 587
|
|
|
|
631 encaps_var: T_DOLLAR_OPEN_CURLY_BRACES T_STRING_VARNAME '[' . expr ']' '}'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 714
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 588
|
|
|
|
630 encaps_var: T_DOLLAR_OPEN_CURLY_BRACES expr '}' .
|
|
|
|
$default reduce using rule 630 (encaps_var)
|
|
|
|
|
|
state 589
|
|
|
|
632 encaps_var: T_CURLY_OPEN variable '}' .
|
|
|
|
$default reduce using rule 632 (encaps_var)
|
|
|
|
|
|
state 590
|
|
|
|
2 top_statement_list: top_statement_list . top_statement
|
|
13 top_statement: T_NAMESPACE '{' $@2 top_statement_list . '}'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_CONST shift, and go to state 47
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_USE shift, and go to state 51
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_HALT_COMPILER shift, and go to state 59
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 70
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'}' shift, and go to state 715
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
top_statement go to state 91
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
constant_declaration go to state 98
|
|
statement go to state 99
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 101
|
|
class_declaration_statement go to state 102
|
|
trait_declaration_statement go to state 103
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 591
|
|
|
|
11 top_statement: T_NAMESPACE namespace_name '{' $@1 . top_statement_list '}'
|
|
|
|
$default reduce using rule 3 (top_statement_list)
|
|
|
|
top_statement_list go to state 716
|
|
|
|
|
|
state 592
|
|
|
|
102 trait_declaration_statement: T_TRAIT trait_decl_name $@15 '{' . class_statement_list '}'
|
|
|
|
$default reduce using rule 181 (class_statement_list)
|
|
|
|
class_statement_list go to state 717
|
|
|
|
|
|
state 593
|
|
|
|
355 xhp_tag: T_XHP_TAG_LT T_XHP_LABEL xhp_tag_body T_XHP_TAG_GT .
|
|
|
|
$default reduce using rule 355 (xhp_tag)
|
|
|
|
|
|
state 594
|
|
|
|
356 xhp_tag_body: xhp_attributes '/' .
|
|
|
|
$default reduce using rule 356 (xhp_tag_body)
|
|
|
|
|
|
state 595
|
|
|
|
364 xhp_attribute_name: T_XHP_LABEL .
|
|
|
|
$default reduce using rule 364 (xhp_attribute_name)
|
|
|
|
|
|
state 596
|
|
|
|
357 xhp_tag_body: xhp_attributes T_XHP_TAG_GT . xhp_children T_XHP_TAG_LT '/' xhp_opt_end_label
|
|
|
|
$default reduce using rule 363 (xhp_children)
|
|
|
|
xhp_children go to state 718
|
|
|
|
|
|
state 597
|
|
|
|
360 xhp_attributes: xhp_attributes xhp_attribute_name . '=' xhp_attribute_value
|
|
|
|
'=' shift, and go to state 719
|
|
|
|
|
|
state 598
|
|
|
|
535 property_access: T_OBJECT_OPERATOR . variable_without_objects
|
|
536 property_access_without_variables: T_OBJECT_OPERATOR . ident
|
|
537 | T_OBJECT_OPERATOR . '{' expr '}'
|
|
568 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR . ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
569 | '(' new_expr ')' T_OBJECT_OPERATOR . variable_without_objects '(' function_call_parameter_list ')'
|
|
570 | '(' new_expr ')' T_OBJECT_OPERATOR . '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'{' shift, and go to state 720
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 721
|
|
variable_without_objects go to state 722
|
|
reference_variable go to state 481
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 599
|
|
|
|
550 variable: '(' new_expr ')' property_access .
|
|
|
|
$default reduce using rule 550 (variable)
|
|
|
|
|
|
state 600
|
|
|
|
534 property_access: property_access_without_variables .
|
|
559 dimmable_variable: '(' new_expr ')' property_access_without_variables .
|
|
|
|
'[' reduce using rule 559 (dimmable_variable)
|
|
'{' reduce using rule 559 (dimmable_variable)
|
|
$default reduce using rule 534 (property_access)
|
|
|
|
|
|
state 601
|
|
|
|
541 dimmable_variable_access: '(' new_expr ')' array_access .
|
|
|
|
$default reduce using rule 541 (dimmable_variable_access)
|
|
|
|
|
|
state 602
|
|
|
|
579 compound_variable: '$' '{' expr '}' .
|
|
|
|
$default reduce using rule 579 (compound_variable)
|
|
|
|
|
|
state 603
|
|
|
|
653 sm_type_list: sm_type_list ',' . sm_type
|
|
|
|
'?' shift, and go to state 193
|
|
'@' shift, and go to state 194
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 195
|
|
T_XHP_LABEL shift, and go to state 196
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 197
|
|
|
|
ident go to state 365
|
|
sm_type go to state 723
|
|
|
|
|
|
state 604
|
|
|
|
650 sm_typeargs_opt: T_TYPELIST_LT sm_type_list T_TYPELIST_GT .
|
|
|
|
$default reduce using rule 650 (sm_typeargs_opt)
|
|
|
|
|
|
state 605
|
|
|
|
168 non_empty_fcall_parameter_list: '&' variable .
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
|
|
$default reduce using rule 168 (non_empty_fcall_parameter_list)
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 606
|
|
|
|
446 simple_function_call: namespace_string_typeargs '(' function_call_parameter_list ')' .
|
|
|
|
$default reduce using rule 446 (simple_function_call)
|
|
|
|
|
|
state 607
|
|
|
|
169 non_empty_fcall_parameter_list: non_empty_fcall_parameter_list ',' . expr
|
|
170 | non_empty_fcall_parameter_list ',' . '&' variable
|
|
496 possible_comma_in_hphp_syntax: ',' .
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'&' shift, and go to state 724
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 496 (possible_comma_in_hphp_syntax)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 725
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 608
|
|
|
|
165 function_call_parameter_list: non_empty_fcall_parameter_list possible_comma_in_hphp_syntax .
|
|
|
|
$default reduce using rule 165 (function_call_parameter_list)
|
|
|
|
|
|
state 609
|
|
|
|
36 constant_declaration: constant_declaration ',' sm_name_with_type '=' . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 726
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 610
|
|
|
|
335 expr_no_variable: function_loc is_reference '(' $@21 . parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
T_SL shift, and go to state 10
|
|
T_VARARG shift, and go to state 727
|
|
|
|
')' reduce using rule 156 (parameter_list)
|
|
$default reduce using rule 533 (optional_user_attributes)
|
|
|
|
parameter_list go to state 728
|
|
non_empty_parameter_list go to state 729
|
|
non_empty_user_attributes go to state 730
|
|
optional_user_attributes go to state 731
|
|
|
|
|
|
state 611
|
|
|
|
90 function_declaration_statement: function_loc is_reference sm_name_with_typevar $@9 . '(' parameter_list ')' sm_opt_return_type '{' inner_statement_list '}'
|
|
|
|
'(' shift, and go to state 732
|
|
|
|
|
|
state 612
|
|
|
|
112 extends_from: T_EXTENDS . fully_qualified_class_name
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 167
|
|
class_namespace_string_typeargs go to state 97
|
|
fully_qualified_class_name go to state 733
|
|
|
|
|
|
state 613
|
|
|
|
94 class_declaration_statement: class_entry_type class_decl_name $@11 extends_from . implements_list '{' class_statement_list '}'
|
|
|
|
T_IMPLEMENTS shift, and go to state 734
|
|
|
|
$default reduce using rule 115 (implements_list)
|
|
|
|
implements_list go to state 735
|
|
|
|
|
|
state 614
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
319 | expr '?' ':' expr .
|
|
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 319 (expr_no_variable)
|
|
|
|
|
|
state 615
|
|
|
|
318 expr_no_variable: expr '?' expr ':' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 736
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 616
|
|
|
|
344 dim_expr: dim_expr '[' dim_offset ']' .
|
|
|
|
$default reduce using rule 344 (dim_expr)
|
|
|
|
|
|
state 617
|
|
|
|
345 dim_expr: dim_expr_base '[' dim_offset ']' .
|
|
|
|
$default reduce using rule 345 (dim_expr)
|
|
|
|
|
|
state 618
|
|
|
|
615 non_empty_collection_init: expr T_DOUBLE_ARROW . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 737
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 619
|
|
|
|
342 collection_literal: fully_qualified_class_name '{' collection_init '}' .
|
|
|
|
$default reduce using rule 342 (collection_literal)
|
|
|
|
|
|
state 620
|
|
|
|
494 possible_comma: ',' .
|
|
613 non_empty_collection_init: non_empty_collection_init ',' . expr T_DOUBLE_ARROW expr
|
|
614 | non_empty_collection_init ',' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 494 (possible_comma)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 738
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 621
|
|
|
|
611 collection_init: non_empty_collection_init possible_comma .
|
|
|
|
$default reduce using rule 611 (collection_init)
|
|
|
|
|
|
state 622
|
|
|
|
571 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM ident sm_typeargs_opt . '(' function_call_parameter_list ')'
|
|
|
|
'(' shift, and go to state 739
|
|
|
|
|
|
state 623
|
|
|
|
572 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects '(' . function_call_parameter_list ')'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'&' shift, and go to state 438
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 166 (function_call_parameter_list)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
function_call_parameter_list go to state 740
|
|
non_empty_fcall_parameter_list go to state 440
|
|
new_expr go to state 105
|
|
expr go to state 441
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 624
|
|
|
|
100 class_declaration_statement: non_empty_user_attributes T_INTERFACE interface_decl_name $@14 . interface_extends_list '{' class_statement_list '}'
|
|
|
|
T_EXTENDS shift, and go to state 572
|
|
|
|
$default reduce using rule 117 (interface_extends_list)
|
|
|
|
interface_extends_list go to state 741
|
|
|
|
|
|
state 625
|
|
|
|
104 trait_declaration_statement: non_empty_user_attributes T_TRAIT trait_decl_name $@16 . '{' class_statement_list '}'
|
|
|
|
'{' shift, and go to state 742
|
|
|
|
|
|
state 626
|
|
|
|
92 function_declaration_statement: non_empty_user_attributes function_loc is_reference sm_name_with_typevar . $@10 '(' parameter_list ')' sm_opt_return_type '{' inner_statement_list '}'
|
|
|
|
$default reduce using rule 91 ($@10)
|
|
|
|
$@10 go to state 743
|
|
|
|
|
|
state 627
|
|
|
|
96 class_declaration_statement: non_empty_user_attributes class_entry_type class_decl_name $@12 . extends_from implements_list '{' class_statement_list '}'
|
|
|
|
T_EXTENDS shift, and go to state 612
|
|
|
|
$default reduce using rule 113 (extends_from)
|
|
|
|
extends_from go to state 744
|
|
|
|
|
|
state 628
|
|
|
|
271 expr_no_variable: variable '=' '&' T_NEW . class_name_reference ctor_arguments
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 165
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 166
|
|
'$' shift, and go to state 87
|
|
|
|
$default reduce using rule 590 (dimmable_variable_no_calls)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 167
|
|
class_namespace_string_typeargs go to state 97
|
|
fully_qualified_class_name go to state 168
|
|
static_class_name go to state 169
|
|
class_name_reference go to state 745
|
|
dimmable_variable_no_calls_access go to state 171
|
|
variable_without_objects go to state 172
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
variable_no_calls go to state 173
|
|
dimmable_variable_no_calls go to state 174
|
|
|
|
|
|
state 629
|
|
|
|
270 expr_no_variable: variable '=' '&' variable .
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
|
|
$default reduce using rule 270 (expr_no_variable)
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 630
|
|
|
|
63 statement: variable '=' T_YIELD expr . ';'
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
';' shift, and go to state 746
|
|
|
|
|
|
state 631
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
537 property_access_without_variables: T_OBJECT_OPERATOR '{' expr . '}'
|
|
567 object_method_call: variable T_OBJECT_OPERATOR '{' expr . '}' '(' function_call_parameter_list ')'
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
'}' shift, and go to state 747
|
|
|
|
|
|
state 632
|
|
|
|
565 object_method_call: variable T_OBJECT_OPERATOR ident sm_typeargs_opt . '(' function_call_parameter_list ')'
|
|
|
|
'(' shift, and go to state 748
|
|
|
|
|
|
state 633
|
|
|
|
566 object_method_call: variable T_OBJECT_OPERATOR variable_without_objects '(' . function_call_parameter_list ')'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'&' shift, and go to state 438
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 166 (function_call_parameter_list)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
function_call_parameter_list go to state 749
|
|
non_empty_fcall_parameter_list go to state 440
|
|
new_expr go to state 105
|
|
expr go to state 441
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 634
|
|
|
|
538 array_access: '[' dim_offset ']' .
|
|
|
|
$default reduce using rule 538 (array_access)
|
|
|
|
|
|
state 635
|
|
|
|
539 array_access: '{' expr '}' .
|
|
|
|
$default reduce using rule 539 (array_access)
|
|
|
|
|
|
state 636
|
|
|
|
552 variable: callable_variable '(' function_call_parameter_list ')' .
|
|
560 dimmable_variable: callable_variable '(' function_call_parameter_list ')' .
|
|
|
|
'[' reduce using rule 560 (dimmable_variable)
|
|
'{' reduce using rule 560 (dimmable_variable)
|
|
$default reduce using rule 552 (variable)
|
|
|
|
|
|
state 637
|
|
|
|
575 reference_variable: reference_variable '[' dim_offset ']' .
|
|
|
|
$default reduce using rule 575 (reference_variable)
|
|
|
|
|
|
state 638
|
|
|
|
576 reference_variable: reference_variable '{' expr '}' .
|
|
|
|
$default reduce using rule 576 (reference_variable)
|
|
|
|
|
|
state 639
|
|
|
|
268 expr_no_variable: T_LIST '(' assignment_list ')' . '=' expr
|
|
|
|
'=' shift, and go to state 750
|
|
|
|
|
|
state 640
|
|
|
|
512 static_scalar_ae: '+' . static_numeric_scalar_ae
|
|
|
|
T_LNUMBER shift, and go to state 751
|
|
T_DNUMBER shift, and go to state 752
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 753
|
|
static_numeric_scalar_ae go to state 754
|
|
|
|
|
|
state 641
|
|
|
|
513 static_scalar_ae: '-' . static_numeric_scalar_ae
|
|
|
|
T_LNUMBER shift, and go to state 751
|
|
T_DNUMBER shift, and go to state 752
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 753
|
|
static_numeric_scalar_ae go to state 755
|
|
|
|
|
|
state 642
|
|
|
|
502 common_scalar_ae: T_LNUMBER .
|
|
|
|
$default reduce using rule 502 (common_scalar_ae)
|
|
|
|
|
|
state 643
|
|
|
|
503 common_scalar_ae: T_DNUMBER .
|
|
|
|
$default reduce using rule 503 (common_scalar_ae)
|
|
|
|
|
|
state 644
|
|
|
|
504 common_scalar_ae: T_CONSTANT_ENCAPSED_STRING .
|
|
|
|
$default reduce using rule 504 (common_scalar_ae)
|
|
|
|
|
|
state 645
|
|
|
|
514 static_scalar_ae: T_ARRAY . '(' static_array_pair_list_ae ')'
|
|
|
|
'(' shift, and go to state 756
|
|
|
|
|
|
state 646
|
|
|
|
505 common_scalar_ae: T_START_HEREDOC . T_ENCAPSED_AND_WHITESPACE T_END_HEREDOC
|
|
506 | T_START_HEREDOC . T_END_HEREDOC
|
|
|
|
T_ENCAPSED_AND_WHITESPACE shift, and go to state 757
|
|
T_END_HEREDOC shift, and go to state 758
|
|
|
|
|
|
state 647
|
|
|
|
511 static_scalar_ae: ident .
|
|
|
|
$default reduce using rule 511 (static_scalar_ae)
|
|
|
|
|
|
state 648
|
|
|
|
510 static_scalar_ae: common_scalar_ae .
|
|
|
|
$default reduce using rule 510 (static_scalar_ae)
|
|
|
|
|
|
state 649
|
|
|
|
522 non_empty_static_scalar_list_ae: static_scalar_ae .
|
|
|
|
$default reduce using rule 522 (non_empty_static_scalar_list_ae)
|
|
|
|
|
|
state 650
|
|
|
|
521 non_empty_static_scalar_list_ae: non_empty_static_scalar_list_ae . ',' static_scalar_ae
|
|
523 static_scalar_list_ae: non_empty_static_scalar_list_ae . possible_comma
|
|
|
|
',' shift, and go to state 759
|
|
|
|
$default reduce using rule 495 (possible_comma)
|
|
|
|
possible_comma go to state 760
|
|
|
|
|
|
state 651
|
|
|
|
525 attribute_static_scalar_list: '(' static_scalar_list_ae . ')'
|
|
|
|
')' shift, and go to state 761
|
|
|
|
|
|
state 652
|
|
|
|
527 non_empty_user_attribute_list: non_empty_user_attribute_list ',' ident . attribute_static_scalar_list
|
|
|
|
'(' shift, and go to state 510
|
|
|
|
$default reduce using rule 526 (attribute_static_scalar_list)
|
|
|
|
attribute_static_scalar_list go to state 762
|
|
|
|
|
|
state 653
|
|
|
|
587 variable_no_calls: '(' new_expr ')' property_access .
|
|
|
|
$default reduce using rule 587 (variable_no_calls)
|
|
|
|
|
|
state 654
|
|
|
|
534 property_access: property_access_without_variables .
|
|
593 dimmable_variable_no_calls: '(' new_expr ')' property_access_without_variables .
|
|
|
|
'[' reduce using rule 593 (dimmable_variable_no_calls)
|
|
'{' reduce using rule 593 (dimmable_variable_no_calls)
|
|
$default reduce using rule 534 (property_access)
|
|
|
|
|
|
state 655
|
|
|
|
543 dimmable_variable_no_calls_access: '(' new_expr ')' array_access .
|
|
|
|
$default reduce using rule 543 (dimmable_variable_no_calls_access)
|
|
|
|
|
|
state 656
|
|
|
|
461 ctor_arguments: '(' function_call_parameter_list ')' .
|
|
|
|
$default reduce using rule 461 (ctor_arguments)
|
|
|
|
|
|
state 657
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
537 property_access_without_variables: T_OBJECT_OPERATOR '{' expr . '}'
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
'}' shift, and go to state 763
|
|
|
|
|
|
state 658
|
|
|
|
46 statement: T_IF parenthesis_expr ':' inner_statement_list new_elseif_list . new_else_single T_ENDIF ';'
|
|
147 new_elseif_list: new_elseif_list . T_ELSEIF parenthesis_expr ':' inner_statement_list
|
|
|
|
T_ELSEIF shift, and go to state 764
|
|
T_ELSE shift, and go to state 765
|
|
|
|
$default reduce using rule 152 (new_else_single)
|
|
|
|
new_else_single go to state 766
|
|
|
|
|
|
state 659
|
|
|
|
145 elseif_list: elseif_list T_ELSEIF . parenthesis_expr statement
|
|
|
|
'(' shift, and go to state 178
|
|
|
|
parenthesis_expr go to state 767
|
|
|
|
|
|
state 660
|
|
|
|
149 else_single: T_ELSE . statement
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
statement go to state 768
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 661
|
|
|
|
45 statement: T_IF parenthesis_expr statement elseif_list else_single .
|
|
|
|
$default reduce using rule 45 (statement)
|
|
|
|
|
|
state 662
|
|
|
|
50 statement: T_DO $@4 statement T_WHILE parenthesis_expr . ';'
|
|
|
|
';' shift, and go to state 769
|
|
|
|
|
|
state 663
|
|
|
|
38 inner_statement_list: inner_statement_list . inner_statement
|
|
131 while_statement: ':' inner_statement_list . T_ENDWHILE ';'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_ENDWHILE shift, and go to state 770
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
inner_statement go to state 427
|
|
statement go to state 428
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 429
|
|
class_declaration_statement go to state 430
|
|
trait_declaration_statement go to state 431
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 664
|
|
|
|
52 statement: T_FOR '(' for_expr ';' for_expr . ';' for_expr ')' $@5 for_statement
|
|
|
|
';' shift, and go to state 771
|
|
|
|
|
|
state 665
|
|
|
|
125 foreach_variable: '&' . variable
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 772
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 666
|
|
|
|
72 statement: T_FOREACH '(' expr T_AS foreach_variable . foreach_optional_arg ')' $@7 foreach_statement
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 773
|
|
|
|
$default reduce using rule 123 (foreach_optional_arg)
|
|
|
|
foreach_optional_arg go to state 774
|
|
|
|
|
|
state 667
|
|
|
|
124 foreach_variable: variable .
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
|
|
$default reduce using rule 124 (foreach_variable)
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 668
|
|
|
|
134 declare_list: ident '=' static_scalar .
|
|
|
|
$default reduce using rule 134 (declare_list)
|
|
|
|
|
|
state 669
|
|
|
|
135 declare_list: declare_list ',' ident . '=' static_scalar
|
|
|
|
'=' shift, and go to state 775
|
|
|
|
|
|
state 670
|
|
|
|
133 declare_statement: ':' . inner_statement_list T_ENDDECLARE ';'
|
|
|
|
$default reduce using rule 39 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 776
|
|
|
|
|
|
state 671
|
|
|
|
132 declare_statement: statement .
|
|
|
|
$default reduce using rule 132 (declare_statement)
|
|
|
|
|
|
state 672
|
|
|
|
73 statement: T_DECLARE '(' declare_list ')' declare_statement .
|
|
|
|
$default reduce using rule 73 (statement)
|
|
|
|
|
|
state 673
|
|
|
|
139 switch_case_list: ':' ';' . case_list T_ENDSWITCH ';'
|
|
|
|
$default reduce using rule 142 (case_list)
|
|
|
|
case_list go to state 777
|
|
|
|
|
|
state 674
|
|
|
|
138 switch_case_list: ':' case_list . T_ENDSWITCH ';'
|
|
140 case_list: case_list . T_CASE expr case_separator inner_statement_list
|
|
141 | case_list . T_DEFAULT case_separator inner_statement_list
|
|
|
|
T_ENDSWITCH shift, and go to state 778
|
|
T_CASE shift, and go to state 779
|
|
T_DEFAULT shift, and go to state 780
|
|
|
|
|
|
state 675
|
|
|
|
137 switch_case_list: '{' ';' . case_list '}'
|
|
|
|
$default reduce using rule 142 (case_list)
|
|
|
|
case_list go to state 781
|
|
|
|
|
|
state 676
|
|
|
|
136 switch_case_list: '{' case_list . '}'
|
|
140 case_list: case_list . T_CASE expr case_separator inner_statement_list
|
|
141 | case_list . T_DEFAULT case_separator inner_statement_list
|
|
|
|
T_CASE shift, and go to state 779
|
|
T_DEFAULT shift, and go to state 780
|
|
'}' shift, and go to state 782
|
|
|
|
|
|
state 677
|
|
|
|
669 sm_type: T_ARRAY T_TYPELIST_LT sm_type ',' . sm_type T_TYPELIST_GT
|
|
|
|
'?' shift, and go to state 193
|
|
'@' shift, and go to state 194
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 195
|
|
T_XHP_LABEL shift, and go to state 196
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 197
|
|
|
|
ident go to state 365
|
|
sm_type go to state 783
|
|
|
|
|
|
state 678
|
|
|
|
668 sm_type: T_ARRAY T_TYPELIST_LT sm_type T_TYPELIST_GT .
|
|
|
|
$default reduce using rule 668 (sm_type)
|
|
|
|
|
|
state 679
|
|
|
|
656 sm_func_type_list: T_VARARG .
|
|
|
|
$default reduce using rule 656 (sm_func_type_list)
|
|
|
|
|
|
state 680
|
|
|
|
653 sm_type_list: sm_type_list . ',' sm_type
|
|
654 sm_func_type_list: sm_type_list . ',' T_VARARG
|
|
655 | sm_type_list .
|
|
|
|
',' shift, and go to state 784
|
|
|
|
$default reduce using rule 655 (sm_func_type_list)
|
|
|
|
|
|
state 681
|
|
|
|
671 sm_type: '(' T_FUNCTION '(' sm_func_type_list . ')' ':' sm_type ')'
|
|
|
|
')' shift, and go to state 785
|
|
|
|
|
|
state 682
|
|
|
|
653 sm_type_list: sm_type_list ',' sm_type .
|
|
672 sm_type: '(' sm_type_list ',' sm_type . ')'
|
|
|
|
')' shift, and go to state 786
|
|
|
|
$default reduce using rule 653 (sm_type_list)
|
|
|
|
|
|
state 683
|
|
|
|
478 static_scalar: '+' static_scalar .
|
|
|
|
$default reduce using rule 478 (static_scalar)
|
|
|
|
|
|
state 684
|
|
|
|
479 static_scalar: '-' static_scalar .
|
|
|
|
$default reduce using rule 479 (static_scalar)
|
|
|
|
|
|
state 685
|
|
|
|
480 static_scalar: T_ARRAY '(' . static_array_pair_list ')'
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
$default reduce using rule 493 (static_array_pair_list)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 787
|
|
static_class_constant go to state 555
|
|
static_array_pair_list go to state 788
|
|
non_empty_static_array_pair_list go to state 789
|
|
|
|
|
|
state 686
|
|
|
|
474 common_scalar: T_START_HEREDOC T_ENCAPSED_AND_WHITESPACE . T_END_HEREDOC
|
|
|
|
T_END_HEREDOC shift, and go to state 406
|
|
|
|
|
|
state 687
|
|
|
|
484 static_class_constant: T_XHP_LABEL T_PAAMAYIM_NEKUDOTAYIM . ident
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 790
|
|
|
|
|
|
state 688
|
|
|
|
483 static_class_constant: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM . ident
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 791
|
|
|
|
|
|
state 689
|
|
|
|
343 static_collection_literal: fully_qualified_class_name '{' . static_collection_init '}'
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
$default reduce using rule 618 (static_collection_init)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 792
|
|
static_class_constant go to state 555
|
|
static_collection_init go to state 793
|
|
non_empty_static_collection_init go to state 794
|
|
|
|
|
|
state 690
|
|
|
|
74 statement: T_TRY '{' inner_statement_list '}' T_CATCH . '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}' additional_catches optional_finally
|
|
|
|
'(' shift, and go to state 795
|
|
|
|
|
|
state 691
|
|
|
|
75 statement: T_TRY '{' inner_statement_list '}' finally .
|
|
|
|
$default reduce using rule 75 (statement)
|
|
|
|
|
|
state 692
|
|
|
|
83 finally: $@8 . T_FINALLY '{' inner_statement_list '}'
|
|
|
|
T_FINALLY shift, and go to state 796
|
|
|
|
|
|
state 693
|
|
|
|
27 use_declaration: T_NS_SEPARATOR namespace_name T_AS ident .
|
|
|
|
$default reduce using rule 27 (use_declaration)
|
|
|
|
|
|
state 694
|
|
|
|
175 global_var: '$' '{' expr '}' .
|
|
|
|
$default reduce using rule 175 (global_var)
|
|
|
|
|
|
state 695
|
|
|
|
337 expr_no_variable: T_STATIC function_loc is_reference '(' $@22 . parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
T_SL shift, and go to state 10
|
|
T_VARARG shift, and go to state 727
|
|
|
|
')' reduce using rule 156 (parameter_list)
|
|
$default reduce using rule 533 (optional_user_attributes)
|
|
|
|
parameter_list go to state 797
|
|
non_empty_parameter_list go to state 729
|
|
non_empty_user_attributes go to state 730
|
|
optional_user_attributes go to state 731
|
|
|
|
|
|
state 696
|
|
|
|
177 static_var_list: static_var_list ',' T_VARIABLE '=' . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 798
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 697
|
|
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
644 variable_list: variable_list ',' variable .
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
|
|
$default reduce using rule 644 (variable_list)
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 698
|
|
|
|
68 statement: T_UNSET '(' variable_list ')' ';' .
|
|
|
|
$default reduce using rule 68 (statement)
|
|
|
|
|
|
state 699
|
|
|
|
660 sm_typevar_list: ident ',' . sm_typevar_list
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 570
|
|
sm_typevar_list go to state 799
|
|
|
|
|
|
state 700
|
|
|
|
662 sm_typevar_list: ident T_AS . ident ',' sm_typevar_list
|
|
663 | ident T_AS . ident
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 800
|
|
|
|
|
|
state 701
|
|
|
|
649 sm_name_with_typevar: ident T_TYPELIST_LT sm_typevar_list T_TYPELIST_GT .
|
|
|
|
$default reduce using rule 649 (sm_name_with_typevar)
|
|
|
|
|
|
state 702
|
|
|
|
116 interface_extends_list: T_EXTENDS interface_list .
|
|
119 interface_list: interface_list . ',' fully_qualified_class_name
|
|
|
|
',' shift, and go to state 801
|
|
|
|
$default reduce using rule 116 (interface_extends_list)
|
|
|
|
|
|
state 703
|
|
|
|
118 interface_list: fully_qualified_class_name .
|
|
|
|
$default reduce using rule 118 (interface_list)
|
|
|
|
|
|
state 704
|
|
|
|
98 class_declaration_statement: T_INTERFACE interface_decl_name $@13 interface_extends_list '{' . class_statement_list '}'
|
|
|
|
$default reduce using rule 181 (class_statement_list)
|
|
|
|
class_statement_list go to state 802
|
|
|
|
|
|
state 705
|
|
|
|
595 assignment_list: assignment_list . ','
|
|
596 | assignment_list . ',' variable
|
|
597 | assignment_list . ',' T_LIST '(' assignment_list ')'
|
|
600 | T_LIST '(' assignment_list . ')'
|
|
|
|
',' shift, and go to state 575
|
|
')' shift, and go to state 803
|
|
|
|
|
|
state 706
|
|
|
|
597 assignment_list: assignment_list ',' T_LIST . '(' assignment_list ')'
|
|
|
|
'(' shift, and go to state 804
|
|
|
|
|
|
state 707
|
|
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
596 assignment_list: assignment_list ',' variable .
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
|
|
$default reduce using rule 596 (assignment_list)
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 708
|
|
|
|
64 statement: T_LIST '(' assignment_list ')' '=' . T_YIELD expr ';'
|
|
268 expr_no_variable: T_LIST '(' assignment_list ')' '=' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 805
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 806
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 709
|
|
|
|
609 non_empty_array_pair_list: expr T_DOUBLE_ARROW '&' . variable
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 807
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 710
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
605 non_empty_array_pair_list: expr T_DOUBLE_ARROW expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 605 (non_empty_array_pair_list)
|
|
|
|
|
|
state 711
|
|
|
|
608 non_empty_array_pair_list: non_empty_array_pair_list ',' '&' . variable
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 808
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 712
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
603 non_empty_array_pair_list: non_empty_array_pair_list ',' expr . T_DOUBLE_ARROW expr
|
|
604 | non_empty_array_pair_list ',' expr .
|
|
607 | non_empty_array_pair_list ',' expr . T_DOUBLE_ARROW '&' variable
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
T_DOUBLE_ARROW shift, and go to state 809
|
|
|
|
$default reduce using rule 604 (non_empty_array_pair_list)
|
|
|
|
|
|
state 713
|
|
|
|
628 encaps_var: T_VARIABLE '[' encaps_var_offset ']' .
|
|
|
|
$default reduce using rule 628 (encaps_var)
|
|
|
|
|
|
state 714
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
631 encaps_var: T_DOLLAR_OPEN_CURLY_BRACES T_STRING_VARNAME '[' expr . ']' '}'
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
']' shift, and go to state 810
|
|
|
|
|
|
state 715
|
|
|
|
13 top_statement: T_NAMESPACE '{' $@2 top_statement_list '}' .
|
|
|
|
$default reduce using rule 13 (top_statement)
|
|
|
|
|
|
state 716
|
|
|
|
2 top_statement_list: top_statement_list . top_statement
|
|
11 top_statement: T_NAMESPACE namespace_name '{' $@1 top_statement_list . '}'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_CONST shift, and go to state 47
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_USE shift, and go to state 51
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_HALT_COMPILER shift, and go to state 59
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 70
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'}' shift, and go to state 811
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
top_statement go to state 91
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
constant_declaration go to state 98
|
|
statement go to state 99
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 101
|
|
class_declaration_statement go to state 102
|
|
trait_declaration_statement go to state 103
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 717
|
|
|
|
102 trait_declaration_statement: T_TRAIT trait_decl_name $@15 '{' class_statement_list . '}'
|
|
180 class_statement_list: class_statement_list . class_statement
|
|
|
|
T_SL shift, and go to state 10
|
|
T_CONST shift, and go to state 812
|
|
T_USE shift, and go to state 813
|
|
T_PUBLIC shift, and go to state 814
|
|
T_PROTECTED shift, and go to state 815
|
|
T_PRIVATE shift, and go to state 816
|
|
T_FINAL shift, and go to state 817
|
|
T_ABSTRACT shift, and go to state 818
|
|
T_STATIC shift, and go to state 819
|
|
T_VAR shift, and go to state 820
|
|
T_XHP_ATTRIBUTE shift, and go to state 821
|
|
T_XHP_CATEGORY shift, and go to state 822
|
|
T_XHP_CHILDREN shift, and go to state 823
|
|
'}' shift, and go to state 824
|
|
|
|
$default reduce using rule 243 (method_modifiers)
|
|
|
|
class_statement go to state 825
|
|
variable_modifiers go to state 826
|
|
method_modifiers go to state 827
|
|
non_empty_member_modifiers go to state 828
|
|
member_modifier go to state 829
|
|
class_constant_declaration go to state 830
|
|
non_empty_user_attributes go to state 831
|
|
|
|
|
|
state 718
|
|
|
|
357 xhp_tag_body: xhp_attributes T_XHP_TAG_GT xhp_children . T_XHP_TAG_LT '/' xhp_opt_end_label
|
|
362 xhp_children: xhp_children . xhp_child
|
|
|
|
T_XHP_TEXT shift, and go to state 832
|
|
T_XHP_TAG_LT shift, and go to state 833
|
|
'{' shift, and go to state 834
|
|
|
|
xhp_tag go to state 835
|
|
xhp_child go to state 836
|
|
|
|
|
|
state 719
|
|
|
|
360 xhp_attributes: xhp_attributes xhp_attribute_name '=' . xhp_attribute_value
|
|
|
|
T_XHP_TEXT shift, and go to state 837
|
|
'{' shift, and go to state 838
|
|
|
|
xhp_attribute_value go to state 839
|
|
|
|
|
|
state 720
|
|
|
|
537 property_access_without_variables: T_OBJECT_OPERATOR '{' . expr '}'
|
|
570 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR '{' . expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 840
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 721
|
|
|
|
536 property_access_without_variables: T_OBJECT_OPERATOR ident .
|
|
568 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR ident . sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
|
|
T_TYPELIST_LT shift, and go to state 257
|
|
|
|
'(' reduce using rule 651 (sm_typeargs_opt)
|
|
$default reduce using rule 536 (property_access_without_variables)
|
|
|
|
sm_typeargs_opt go to state 841
|
|
|
|
|
|
state 722
|
|
|
|
535 property_access: T_OBJECT_OPERATOR variable_without_objects .
|
|
569 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR variable_without_objects . '(' function_call_parameter_list ')'
|
|
|
|
'(' shift, and go to state 842
|
|
|
|
$default reduce using rule 535 (property_access)
|
|
|
|
|
|
state 723
|
|
|
|
653 sm_type_list: sm_type_list ',' sm_type .
|
|
|
|
$default reduce using rule 653 (sm_type_list)
|
|
|
|
|
|
state 724
|
|
|
|
170 non_empty_fcall_parameter_list: non_empty_fcall_parameter_list ',' '&' . variable
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 843
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 725
|
|
|
|
169 non_empty_fcall_parameter_list: non_empty_fcall_parameter_list ',' expr .
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 169 (non_empty_fcall_parameter_list)
|
|
|
|
|
|
state 726
|
|
|
|
36 constant_declaration: constant_declaration ',' sm_name_with_type '=' static_scalar .
|
|
|
|
$default reduce using rule 36 (constant_declaration)
|
|
|
|
|
|
state 727
|
|
|
|
155 parameter_list: T_VARARG .
|
|
|
|
$default reduce using rule 155 (parameter_list)
|
|
|
|
|
|
state 728
|
|
|
|
335 expr_no_variable: function_loc is_reference '(' $@21 parameter_list . ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
')' shift, and go to state 844
|
|
|
|
|
|
state 729
|
|
|
|
153 parameter_list: non_empty_parameter_list . ',' T_VARARG
|
|
154 | non_empty_parameter_list . possible_comma_in_hphp_syntax
|
|
161 non_empty_parameter_list: non_empty_parameter_list . ',' optional_user_attributes sm_type_opt T_VARIABLE
|
|
162 | non_empty_parameter_list . ',' optional_user_attributes sm_type_opt '&' T_VARIABLE
|
|
163 | non_empty_parameter_list . ',' optional_user_attributes sm_type_opt '&' T_VARIABLE '=' static_scalar
|
|
164 | non_empty_parameter_list . ',' optional_user_attributes sm_type_opt T_VARIABLE '=' static_scalar
|
|
|
|
',' shift, and go to state 845
|
|
|
|
$default reduce using rule 497 (possible_comma_in_hphp_syntax)
|
|
|
|
possible_comma_in_hphp_syntax go to state 846
|
|
|
|
|
|
state 730
|
|
|
|
532 optional_user_attributes: non_empty_user_attributes .
|
|
|
|
$default reduce using rule 532 (optional_user_attributes)
|
|
|
|
|
|
state 731
|
|
|
|
157 non_empty_parameter_list: optional_user_attributes . sm_type_opt T_VARIABLE
|
|
158 | optional_user_attributes . sm_type_opt '&' T_VARIABLE
|
|
159 | optional_user_attributes . sm_type_opt '&' T_VARIABLE '=' static_scalar
|
|
160 | optional_user_attributes . sm_type_opt T_VARIABLE '=' static_scalar
|
|
|
|
'?' shift, and go to state 193
|
|
'@' shift, and go to state 194
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 195
|
|
T_XHP_LABEL shift, and go to state 196
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 197
|
|
|
|
$default reduce using rule 674 (sm_type_opt)
|
|
|
|
ident go to state 365
|
|
sm_type go to state 847
|
|
sm_type_opt go to state 848
|
|
|
|
|
|
state 732
|
|
|
|
90 function_declaration_statement: function_loc is_reference sm_name_with_typevar $@9 '(' . parameter_list ')' sm_opt_return_type '{' inner_statement_list '}'
|
|
|
|
T_SL shift, and go to state 10
|
|
T_VARARG shift, and go to state 727
|
|
|
|
')' reduce using rule 156 (parameter_list)
|
|
$default reduce using rule 533 (optional_user_attributes)
|
|
|
|
parameter_list go to state 849
|
|
non_empty_parameter_list go to state 729
|
|
non_empty_user_attributes go to state 730
|
|
optional_user_attributes go to state 731
|
|
|
|
|
|
state 733
|
|
|
|
112 extends_from: T_EXTENDS fully_qualified_class_name .
|
|
|
|
$default reduce using rule 112 (extends_from)
|
|
|
|
|
|
state 734
|
|
|
|
114 implements_list: T_IMPLEMENTS . interface_list
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 167
|
|
class_namespace_string_typeargs go to state 97
|
|
interface_list go to state 850
|
|
fully_qualified_class_name go to state 703
|
|
|
|
|
|
state 735
|
|
|
|
94 class_declaration_statement: class_entry_type class_decl_name $@11 extends_from implements_list . '{' class_statement_list '}'
|
|
|
|
'{' shift, and go to state 851
|
|
|
|
|
|
state 736
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
318 | expr '?' expr ':' expr .
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 318 (expr_no_variable)
|
|
|
|
|
|
state 737
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
615 non_empty_collection_init: expr T_DOUBLE_ARROW expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 615 (non_empty_collection_init)
|
|
|
|
|
|
state 738
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
613 non_empty_collection_init: non_empty_collection_init ',' expr . T_DOUBLE_ARROW expr
|
|
614 | non_empty_collection_init ',' expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
T_DOUBLE_ARROW shift, and go to state 852
|
|
|
|
$default reduce using rule 614 (non_empty_collection_init)
|
|
|
|
|
|
state 739
|
|
|
|
571 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM ident sm_typeargs_opt '(' . function_call_parameter_list ')'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'&' shift, and go to state 438
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 166 (function_call_parameter_list)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
function_call_parameter_list go to state 853
|
|
non_empty_fcall_parameter_list go to state 440
|
|
new_expr go to state 105
|
|
expr go to state 441
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 740
|
|
|
|
572 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 854
|
|
|
|
|
|
state 741
|
|
|
|
100 class_declaration_statement: non_empty_user_attributes T_INTERFACE interface_decl_name $@14 interface_extends_list . '{' class_statement_list '}'
|
|
|
|
'{' shift, and go to state 855
|
|
|
|
|
|
state 742
|
|
|
|
104 trait_declaration_statement: non_empty_user_attributes T_TRAIT trait_decl_name $@16 '{' . class_statement_list '}'
|
|
|
|
$default reduce using rule 181 (class_statement_list)
|
|
|
|
class_statement_list go to state 856
|
|
|
|
|
|
state 743
|
|
|
|
92 function_declaration_statement: non_empty_user_attributes function_loc is_reference sm_name_with_typevar $@10 . '(' parameter_list ')' sm_opt_return_type '{' inner_statement_list '}'
|
|
|
|
'(' shift, and go to state 857
|
|
|
|
|
|
state 744
|
|
|
|
96 class_declaration_statement: non_empty_user_attributes class_entry_type class_decl_name $@12 extends_from . implements_list '{' class_statement_list '}'
|
|
|
|
T_IMPLEMENTS shift, and go to state 734
|
|
|
|
$default reduce using rule 115 (implements_list)
|
|
|
|
implements_list go to state 858
|
|
|
|
|
|
state 745
|
|
|
|
271 expr_no_variable: variable '=' '&' T_NEW class_name_reference . ctor_arguments
|
|
|
|
'(' shift, and go to state 342
|
|
|
|
$default reduce using rule 462 (ctor_arguments)
|
|
|
|
ctor_arguments go to state 859
|
|
|
|
|
|
state 746
|
|
|
|
63 statement: variable '=' T_YIELD expr ';' .
|
|
|
|
$default reduce using rule 63 (statement)
|
|
|
|
|
|
state 747
|
|
|
|
537 property_access_without_variables: T_OBJECT_OPERATOR '{' expr '}' .
|
|
567 object_method_call: variable T_OBJECT_OPERATOR '{' expr '}' . '(' function_call_parameter_list ')'
|
|
|
|
'(' shift, and go to state 860
|
|
|
|
$default reduce using rule 537 (property_access_without_variables)
|
|
|
|
|
|
state 748
|
|
|
|
565 object_method_call: variable T_OBJECT_OPERATOR ident sm_typeargs_opt '(' . function_call_parameter_list ')'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'&' shift, and go to state 438
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 166 (function_call_parameter_list)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
function_call_parameter_list go to state 861
|
|
non_empty_fcall_parameter_list go to state 440
|
|
new_expr go to state 105
|
|
expr go to state 441
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 749
|
|
|
|
566 object_method_call: variable T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 862
|
|
|
|
|
|
state 750
|
|
|
|
268 expr_no_variable: T_LIST '(' assignment_list ')' '=' . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 806
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 751
|
|
|
|
507 static_numeric_scalar_ae: T_LNUMBER .
|
|
|
|
$default reduce using rule 507 (static_numeric_scalar_ae)
|
|
|
|
|
|
state 752
|
|
|
|
508 static_numeric_scalar_ae: T_DNUMBER .
|
|
|
|
$default reduce using rule 508 (static_numeric_scalar_ae)
|
|
|
|
|
|
state 753
|
|
|
|
509 static_numeric_scalar_ae: ident .
|
|
|
|
$default reduce using rule 509 (static_numeric_scalar_ae)
|
|
|
|
|
|
state 754
|
|
|
|
512 static_scalar_ae: '+' static_numeric_scalar_ae .
|
|
|
|
$default reduce using rule 512 (static_scalar_ae)
|
|
|
|
|
|
state 755
|
|
|
|
513 static_scalar_ae: '-' static_numeric_scalar_ae .
|
|
|
|
$default reduce using rule 513 (static_scalar_ae)
|
|
|
|
|
|
state 756
|
|
|
|
514 static_scalar_ae: T_ARRAY '(' . static_array_pair_list_ae ')'
|
|
|
|
'+' shift, and go to state 640
|
|
'-' shift, and go to state 641
|
|
T_LNUMBER shift, and go to state 642
|
|
T_DNUMBER shift, and go to state 643
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 644
|
|
T_ARRAY shift, and go to state 645
|
|
T_START_HEREDOC shift, and go to state 646
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
$default reduce using rule 516 (static_array_pair_list_ae)
|
|
|
|
ident go to state 647
|
|
common_scalar_ae go to state 648
|
|
static_scalar_ae go to state 863
|
|
static_array_pair_list_ae go to state 864
|
|
non_empty_static_array_pair_list_ae go to state 865
|
|
|
|
|
|
state 757
|
|
|
|
505 common_scalar_ae: T_START_HEREDOC T_ENCAPSED_AND_WHITESPACE . T_END_HEREDOC
|
|
|
|
T_END_HEREDOC shift, and go to state 866
|
|
|
|
|
|
state 758
|
|
|
|
506 common_scalar_ae: T_START_HEREDOC T_END_HEREDOC .
|
|
|
|
$default reduce using rule 506 (common_scalar_ae)
|
|
|
|
|
|
state 759
|
|
|
|
494 possible_comma: ',' .
|
|
521 non_empty_static_scalar_list_ae: non_empty_static_scalar_list_ae ',' . static_scalar_ae
|
|
|
|
'+' shift, and go to state 640
|
|
'-' shift, and go to state 641
|
|
T_LNUMBER shift, and go to state 642
|
|
T_DNUMBER shift, and go to state 643
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 644
|
|
T_ARRAY shift, and go to state 645
|
|
T_START_HEREDOC shift, and go to state 646
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
$default reduce using rule 494 (possible_comma)
|
|
|
|
ident go to state 647
|
|
common_scalar_ae go to state 648
|
|
static_scalar_ae go to state 867
|
|
|
|
|
|
state 760
|
|
|
|
523 static_scalar_list_ae: non_empty_static_scalar_list_ae possible_comma .
|
|
|
|
$default reduce using rule 523 (static_scalar_list_ae)
|
|
|
|
|
|
state 761
|
|
|
|
525 attribute_static_scalar_list: '(' static_scalar_list_ae ')' .
|
|
|
|
$default reduce using rule 525 (attribute_static_scalar_list)
|
|
|
|
|
|
state 762
|
|
|
|
527 non_empty_user_attribute_list: non_empty_user_attribute_list ',' ident attribute_static_scalar_list .
|
|
|
|
$default reduce using rule 527 (non_empty_user_attribute_list)
|
|
|
|
|
|
state 763
|
|
|
|
537 property_access_without_variables: T_OBJECT_OPERATOR '{' expr '}' .
|
|
|
|
$default reduce using rule 537 (property_access_without_variables)
|
|
|
|
|
|
state 764
|
|
|
|
147 new_elseif_list: new_elseif_list T_ELSEIF . parenthesis_expr ':' inner_statement_list
|
|
|
|
'(' shift, and go to state 178
|
|
|
|
parenthesis_expr go to state 868
|
|
|
|
|
|
state 765
|
|
|
|
151 new_else_single: T_ELSE . ':' inner_statement_list
|
|
|
|
':' shift, and go to state 869
|
|
|
|
|
|
state 766
|
|
|
|
46 statement: T_IF parenthesis_expr ':' inner_statement_list new_elseif_list new_else_single . T_ENDIF ';'
|
|
|
|
T_ENDIF shift, and go to state 870
|
|
|
|
|
|
state 767
|
|
|
|
145 elseif_list: elseif_list T_ELSEIF parenthesis_expr . statement
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
statement go to state 871
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 768
|
|
|
|
149 else_single: T_ELSE statement .
|
|
|
|
$default reduce using rule 149 (else_single)
|
|
|
|
|
|
state 769
|
|
|
|
50 statement: T_DO $@4 statement T_WHILE parenthesis_expr ';' .
|
|
|
|
$default reduce using rule 50 (statement)
|
|
|
|
|
|
state 770
|
|
|
|
131 while_statement: ':' inner_statement_list T_ENDWHILE . ';'
|
|
|
|
';' shift, and go to state 872
|
|
|
|
|
|
state 771
|
|
|
|
52 statement: T_FOR '(' for_expr ';' for_expr ';' . for_expr ')' $@5 for_statement
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 264 (for_expr)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr_list go to state 356
|
|
for_expr go to state 873
|
|
expr go to state 181
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 772
|
|
|
|
125 foreach_variable: '&' variable .
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
|
|
$default reduce using rule 125 (foreach_variable)
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 773
|
|
|
|
122 foreach_optional_arg: T_DOUBLE_ARROW . foreach_variable
|
|
|
|
'&' shift, and go to state 665
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
foreach_variable go to state 874
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 667
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 774
|
|
|
|
72 statement: T_FOREACH '(' expr T_AS foreach_variable foreach_optional_arg . ')' $@7 foreach_statement
|
|
|
|
')' shift, and go to state 875
|
|
|
|
|
|
state 775
|
|
|
|
135 declare_list: declare_list ',' ident '=' . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 876
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 776
|
|
|
|
38 inner_statement_list: inner_statement_list . inner_statement
|
|
133 declare_statement: ':' inner_statement_list . T_ENDDECLARE ';'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_ENDDECLARE shift, and go to state 877
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
inner_statement go to state 427
|
|
statement go to state 428
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 429
|
|
class_declaration_statement go to state 430
|
|
trait_declaration_statement go to state 431
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 777
|
|
|
|
139 switch_case_list: ':' ';' case_list . T_ENDSWITCH ';'
|
|
140 case_list: case_list . T_CASE expr case_separator inner_statement_list
|
|
141 | case_list . T_DEFAULT case_separator inner_statement_list
|
|
|
|
T_ENDSWITCH shift, and go to state 878
|
|
T_CASE shift, and go to state 779
|
|
T_DEFAULT shift, and go to state 780
|
|
|
|
|
|
state 778
|
|
|
|
138 switch_case_list: ':' case_list T_ENDSWITCH . ';'
|
|
|
|
';' shift, and go to state 879
|
|
|
|
|
|
state 779
|
|
|
|
140 case_list: case_list T_CASE . expr case_separator inner_statement_list
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 880
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 780
|
|
|
|
141 case_list: case_list T_DEFAULT . case_separator inner_statement_list
|
|
|
|
':' shift, and go to state 881
|
|
';' shift, and go to state 882
|
|
|
|
case_separator go to state 883
|
|
|
|
|
|
state 781
|
|
|
|
137 switch_case_list: '{' ';' case_list . '}'
|
|
140 case_list: case_list . T_CASE expr case_separator inner_statement_list
|
|
141 | case_list . T_DEFAULT case_separator inner_statement_list
|
|
|
|
T_CASE shift, and go to state 779
|
|
T_DEFAULT shift, and go to state 780
|
|
'}' shift, and go to state 884
|
|
|
|
|
|
state 782
|
|
|
|
136 switch_case_list: '{' case_list '}' .
|
|
|
|
$default reduce using rule 136 (switch_case_list)
|
|
|
|
|
|
state 783
|
|
|
|
669 sm_type: T_ARRAY T_TYPELIST_LT sm_type ',' sm_type . T_TYPELIST_GT
|
|
|
|
T_TYPELIST_GT shift, and go to state 885
|
|
|
|
|
|
state 784
|
|
|
|
653 sm_type_list: sm_type_list ',' . sm_type
|
|
654 sm_func_type_list: sm_type_list ',' . T_VARARG
|
|
|
|
'?' shift, and go to state 193
|
|
'@' shift, and go to state 194
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 195
|
|
T_XHP_LABEL shift, and go to state 196
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_VARARG shift, and go to state 886
|
|
'(' shift, and go to state 197
|
|
|
|
ident go to state 365
|
|
sm_type go to state 723
|
|
|
|
|
|
state 785
|
|
|
|
671 sm_type: '(' T_FUNCTION '(' sm_func_type_list ')' . ':' sm_type ')'
|
|
|
|
':' shift, and go to state 887
|
|
|
|
|
|
state 786
|
|
|
|
672 sm_type: '(' sm_type_list ',' sm_type ')' .
|
|
|
|
$default reduce using rule 672 (sm_type)
|
|
|
|
|
|
state 787
|
|
|
|
500 non_empty_static_array_pair_list: static_scalar . T_DOUBLE_ARROW static_scalar
|
|
501 | static_scalar .
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 888
|
|
|
|
$default reduce using rule 501 (non_empty_static_array_pair_list)
|
|
|
|
|
|
state 788
|
|
|
|
480 static_scalar: T_ARRAY '(' static_array_pair_list . ')'
|
|
|
|
')' shift, and go to state 889
|
|
|
|
|
|
state 789
|
|
|
|
492 static_array_pair_list: non_empty_static_array_pair_list . possible_comma
|
|
498 non_empty_static_array_pair_list: non_empty_static_array_pair_list . ',' static_scalar T_DOUBLE_ARROW static_scalar
|
|
499 | non_empty_static_array_pair_list . ',' static_scalar
|
|
|
|
',' shift, and go to state 890
|
|
|
|
$default reduce using rule 495 (possible_comma)
|
|
|
|
possible_comma go to state 891
|
|
|
|
|
|
state 790
|
|
|
|
484 static_class_constant: T_XHP_LABEL T_PAAMAYIM_NEKUDOTAYIM ident .
|
|
|
|
$default reduce using rule 484 (static_class_constant)
|
|
|
|
|
|
state 791
|
|
|
|
483 static_class_constant: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM ident .
|
|
|
|
$default reduce using rule 483 (static_class_constant)
|
|
|
|
|
|
state 792
|
|
|
|
621 non_empty_static_collection_init: static_scalar . T_DOUBLE_ARROW static_scalar
|
|
622 | static_scalar .
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 892
|
|
|
|
$default reduce using rule 622 (non_empty_static_collection_init)
|
|
|
|
|
|
state 793
|
|
|
|
343 static_collection_literal: fully_qualified_class_name '{' static_collection_init . '}'
|
|
|
|
'}' shift, and go to state 893
|
|
|
|
|
|
state 794
|
|
|
|
617 static_collection_init: non_empty_static_collection_init . possible_comma
|
|
619 non_empty_static_collection_init: non_empty_static_collection_init . ',' static_scalar T_DOUBLE_ARROW static_scalar
|
|
620 | non_empty_static_collection_init . ',' static_scalar
|
|
|
|
',' shift, and go to state 894
|
|
|
|
$default reduce using rule 495 (possible_comma)
|
|
|
|
possible_comma go to state 895
|
|
|
|
|
|
state 795
|
|
|
|
74 statement: T_TRY '{' inner_statement_list '}' T_CATCH '(' . fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}' additional_catches optional_finally
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 167
|
|
class_namespace_string_typeargs go to state 97
|
|
fully_qualified_class_name go to state 896
|
|
|
|
|
|
state 796
|
|
|
|
83 finally: $@8 T_FINALLY . '{' inner_statement_list '}'
|
|
|
|
'{' shift, and go to state 897
|
|
|
|
|
|
state 797
|
|
|
|
337 expr_no_variable: T_STATIC function_loc is_reference '(' $@22 parameter_list . ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
')' shift, and go to state 898
|
|
|
|
|
|
state 798
|
|
|
|
177 static_var_list: static_var_list ',' T_VARIABLE '=' static_scalar .
|
|
|
|
$default reduce using rule 177 (static_var_list)
|
|
|
|
|
|
state 799
|
|
|
|
660 sm_typevar_list: ident ',' sm_typevar_list .
|
|
|
|
$default reduce using rule 660 (sm_typevar_list)
|
|
|
|
|
|
state 800
|
|
|
|
662 sm_typevar_list: ident T_AS ident . ',' sm_typevar_list
|
|
663 | ident T_AS ident .
|
|
|
|
',' shift, and go to state 899
|
|
|
|
$default reduce using rule 663 (sm_typevar_list)
|
|
|
|
|
|
state 801
|
|
|
|
119 interface_list: interface_list ',' . fully_qualified_class_name
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 167
|
|
class_namespace_string_typeargs go to state 97
|
|
fully_qualified_class_name go to state 900
|
|
|
|
|
|
state 802
|
|
|
|
98 class_declaration_statement: T_INTERFACE interface_decl_name $@13 interface_extends_list '{' class_statement_list . '}'
|
|
180 class_statement_list: class_statement_list . class_statement
|
|
|
|
T_SL shift, and go to state 10
|
|
T_CONST shift, and go to state 812
|
|
T_USE shift, and go to state 813
|
|
T_PUBLIC shift, and go to state 814
|
|
T_PROTECTED shift, and go to state 815
|
|
T_PRIVATE shift, and go to state 816
|
|
T_FINAL shift, and go to state 817
|
|
T_ABSTRACT shift, and go to state 818
|
|
T_STATIC shift, and go to state 819
|
|
T_VAR shift, and go to state 820
|
|
T_XHP_ATTRIBUTE shift, and go to state 821
|
|
T_XHP_CATEGORY shift, and go to state 822
|
|
T_XHP_CHILDREN shift, and go to state 823
|
|
'}' shift, and go to state 901
|
|
|
|
$default reduce using rule 243 (method_modifiers)
|
|
|
|
class_statement go to state 825
|
|
variable_modifiers go to state 826
|
|
method_modifiers go to state 827
|
|
non_empty_member_modifiers go to state 828
|
|
member_modifier go to state 829
|
|
class_constant_declaration go to state 830
|
|
non_empty_user_attributes go to state 831
|
|
|
|
|
|
state 803
|
|
|
|
600 assignment_list: T_LIST '(' assignment_list ')' .
|
|
|
|
$default reduce using rule 600 (assignment_list)
|
|
|
|
|
|
state 804
|
|
|
|
597 assignment_list: assignment_list ',' T_LIST '(' . assignment_list ')'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_LIST shift, and go to state 397
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
$default reduce using rule 598 (assignment_list)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 398
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
assignment_list go to state 902
|
|
|
|
|
|
state 805
|
|
|
|
64 statement: T_LIST '(' assignment_list ')' '=' T_YIELD . expr ';'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 903
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 806
|
|
|
|
268 expr_no_variable: T_LIST '(' assignment_list ')' '=' expr .
|
|
288 | expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 268 (expr_no_variable)
|
|
|
|
|
|
state 807
|
|
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
609 non_empty_array_pair_list: expr T_DOUBLE_ARROW '&' variable .
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
|
|
$default reduce using rule 609 (non_empty_array_pair_list)
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 808
|
|
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
608 non_empty_array_pair_list: non_empty_array_pair_list ',' '&' variable .
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
|
|
$default reduce using rule 608 (non_empty_array_pair_list)
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 809
|
|
|
|
603 non_empty_array_pair_list: non_empty_array_pair_list ',' expr T_DOUBLE_ARROW . expr
|
|
607 | non_empty_array_pair_list ',' expr T_DOUBLE_ARROW . '&' variable
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'&' shift, and go to state 904
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 905
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 810
|
|
|
|
631 encaps_var: T_DOLLAR_OPEN_CURLY_BRACES T_STRING_VARNAME '[' expr ']' . '}'
|
|
|
|
'}' shift, and go to state 906
|
|
|
|
|
|
state 811
|
|
|
|
11 top_statement: T_NAMESPACE namespace_name '{' $@1 top_statement_list '}' .
|
|
|
|
$default reduce using rule 11 (top_statement)
|
|
|
|
|
|
state 812
|
|
|
|
257 class_constant_declaration: T_CONST . sm_name_with_type '=' static_scalar
|
|
|
|
'?' shift, and go to state 193
|
|
'@' shift, and go to state 194
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 195
|
|
T_XHP_LABEL shift, and go to state 196
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 197
|
|
|
|
ident go to state 198
|
|
sm_name_with_type go to state 907
|
|
sm_type go to state 200
|
|
|
|
|
|
state 813
|
|
|
|
194 class_statement: T_USE . trait_list ';'
|
|
195 | T_USE . trait_list '{' trait_rules '}'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 167
|
|
class_namespace_string_typeargs go to state 97
|
|
trait_list go to state 908
|
|
fully_qualified_class_name go to state 909
|
|
|
|
|
|
state 814
|
|
|
|
246 member_modifier: T_PUBLIC .
|
|
|
|
$default reduce using rule 246 (member_modifier)
|
|
|
|
|
|
state 815
|
|
|
|
247 member_modifier: T_PROTECTED .
|
|
|
|
$default reduce using rule 247 (member_modifier)
|
|
|
|
|
|
state 816
|
|
|
|
248 member_modifier: T_PRIVATE .
|
|
|
|
$default reduce using rule 248 (member_modifier)
|
|
|
|
|
|
state 817
|
|
|
|
251 member_modifier: T_FINAL .
|
|
|
|
$default reduce using rule 251 (member_modifier)
|
|
|
|
|
|
state 818
|
|
|
|
250 member_modifier: T_ABSTRACT .
|
|
|
|
$default reduce using rule 250 (member_modifier)
|
|
|
|
|
|
state 819
|
|
|
|
249 member_modifier: T_STATIC .
|
|
|
|
$default reduce using rule 249 (member_modifier)
|
|
|
|
|
|
state 820
|
|
|
|
241 variable_modifiers: T_VAR .
|
|
|
|
$default reduce using rule 241 (variable_modifiers)
|
|
|
|
|
|
state 821
|
|
|
|
191 class_statement: T_XHP_ATTRIBUTE . xhp_attribute_stmt ';'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VAR shift, and go to state 910
|
|
T_ARRAY shift, and go to state 911
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 912
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 913
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 167
|
|
class_namespace_string_typeargs go to state 97
|
|
xhp_attribute_stmt go to state 914
|
|
xhp_attribute_decl go to state 915
|
|
xhp_attribute_decl_type go to state 916
|
|
fully_qualified_class_name go to state 917
|
|
|
|
|
|
state 822
|
|
|
|
192 class_statement: T_XHP_CATEGORY . xhp_category_stmt ';'
|
|
|
|
T_XHP_CATEGORY_LABEL shift, and go to state 918
|
|
|
|
xhp_category_stmt go to state 919
|
|
xhp_category_decl go to state 920
|
|
|
|
|
|
state 823
|
|
|
|
193 class_statement: T_XHP_CHILDREN . xhp_children_stmt ';'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_EMPTY shift, and go to state 921
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 922
|
|
|
|
ident go to state 923
|
|
xhp_children_stmt go to state 924
|
|
xhp_children_paren_expr go to state 925
|
|
|
|
|
|
state 824
|
|
|
|
102 trait_declaration_statement: T_TRAIT trait_decl_name $@15 '{' class_statement_list '}' .
|
|
|
|
$default reduce using rule 102 (trait_declaration_statement)
|
|
|
|
|
|
state 825
|
|
|
|
180 class_statement_list: class_statement_list class_statement .
|
|
|
|
$default reduce using rule 180 (class_statement_list)
|
|
|
|
|
|
state 826
|
|
|
|
183 class_statement: variable_modifiers . $@17 class_variable_declaration ';'
|
|
|
|
$default reduce using rule 182 ($@17)
|
|
|
|
$@17 go to state 926
|
|
|
|
|
|
state 827
|
|
|
|
188 class_statement: method_modifiers . function_loc is_reference sm_name_with_typevar '(' $@19 parameter_list ')' sm_opt_return_type method_body
|
|
|
|
T_FUNCTION shift, and go to state 46
|
|
|
|
function_loc go to state 927
|
|
|
|
|
|
state 828
|
|
|
|
185 class_statement: non_empty_member_modifiers . sm_type $@18 class_variable_declaration ';'
|
|
240 variable_modifiers: non_empty_member_modifiers .
|
|
242 method_modifiers: non_empty_member_modifiers .
|
|
245 non_empty_member_modifiers: non_empty_member_modifiers . member_modifier
|
|
|
|
'?' shift, and go to state 193
|
|
'@' shift, and go to state 194
|
|
T_STRING shift, and go to state 31
|
|
T_PUBLIC shift, and go to state 814
|
|
T_PROTECTED shift, and go to state 815
|
|
T_PRIVATE shift, and go to state 816
|
|
T_FINAL shift, and go to state 817
|
|
T_ABSTRACT shift, and go to state 818
|
|
T_STATIC shift, and go to state 819
|
|
T_ARRAY shift, and go to state 195
|
|
T_XHP_LABEL shift, and go to state 196
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 197
|
|
|
|
T_FUNCTION reduce using rule 242 (method_modifiers)
|
|
$default reduce using rule 240 (variable_modifiers)
|
|
|
|
ident go to state 365
|
|
member_modifier go to state 928
|
|
sm_type go to state 929
|
|
|
|
|
|
state 829
|
|
|
|
244 non_empty_member_modifiers: member_modifier .
|
|
|
|
$default reduce using rule 244 (non_empty_member_modifiers)
|
|
|
|
|
|
state 830
|
|
|
|
186 class_statement: class_constant_declaration . ';'
|
|
256 class_constant_declaration: class_constant_declaration . ',' sm_name_with_type '=' static_scalar
|
|
|
|
',' shift, and go to state 930
|
|
';' shift, and go to state 931
|
|
|
|
|
|
state 831
|
|
|
|
190 class_statement: non_empty_user_attributes . method_modifiers function_loc is_reference sm_name_with_typevar '(' $@20 parameter_list ')' sm_opt_return_type method_body
|
|
|
|
T_PUBLIC shift, and go to state 814
|
|
T_PROTECTED shift, and go to state 815
|
|
T_PRIVATE shift, and go to state 816
|
|
T_FINAL shift, and go to state 817
|
|
T_ABSTRACT shift, and go to state 818
|
|
T_STATIC shift, and go to state 819
|
|
|
|
$default reduce using rule 243 (method_modifiers)
|
|
|
|
method_modifiers go to state 932
|
|
non_empty_member_modifiers go to state 933
|
|
member_modifier go to state 829
|
|
|
|
|
|
state 832
|
|
|
|
367 xhp_child: T_XHP_TEXT .
|
|
|
|
$default reduce using rule 367 (xhp_child)
|
|
|
|
|
|
state 833
|
|
|
|
355 xhp_tag: T_XHP_TAG_LT . T_XHP_LABEL xhp_tag_body T_XHP_TAG_GT
|
|
357 xhp_tag_body: xhp_attributes T_XHP_TAG_GT xhp_children T_XHP_TAG_LT . '/' xhp_opt_end_label
|
|
|
|
'/' shift, and go to state 934
|
|
T_XHP_LABEL shift, and go to state 242
|
|
|
|
|
|
state 834
|
|
|
|
368 xhp_child: '{' . expr '}'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 935
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 835
|
|
|
|
369 xhp_child: xhp_tag .
|
|
|
|
$default reduce using rule 369 (xhp_child)
|
|
|
|
|
|
state 836
|
|
|
|
362 xhp_children: xhp_children xhp_child .
|
|
|
|
$default reduce using rule 362 (xhp_children)
|
|
|
|
|
|
state 837
|
|
|
|
365 xhp_attribute_value: T_XHP_TEXT .
|
|
|
|
$default reduce using rule 365 (xhp_attribute_value)
|
|
|
|
|
|
state 838
|
|
|
|
366 xhp_attribute_value: '{' . expr '}'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 936
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 839
|
|
|
|
360 xhp_attributes: xhp_attributes xhp_attribute_name '=' xhp_attribute_value .
|
|
|
|
$default reduce using rule 360 (xhp_attributes)
|
|
|
|
|
|
state 840
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
537 property_access_without_variables: T_OBJECT_OPERATOR '{' expr . '}'
|
|
570 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR '{' expr . '}' '(' function_call_parameter_list ')'
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
'}' shift, and go to state 937
|
|
|
|
|
|
state 841
|
|
|
|
568 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR ident sm_typeargs_opt . '(' function_call_parameter_list ')'
|
|
|
|
'(' shift, and go to state 938
|
|
|
|
|
|
state 842
|
|
|
|
569 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR variable_without_objects '(' . function_call_parameter_list ')'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'&' shift, and go to state 438
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 166 (function_call_parameter_list)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
function_call_parameter_list go to state 939
|
|
non_empty_fcall_parameter_list go to state 440
|
|
new_expr go to state 105
|
|
expr go to state 441
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 843
|
|
|
|
170 non_empty_fcall_parameter_list: non_empty_fcall_parameter_list ',' '&' variable .
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
|
|
$default reduce using rule 170 (non_empty_fcall_parameter_list)
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 844
|
|
|
|
335 expr_no_variable: function_loc is_reference '(' $@21 parameter_list ')' . sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
':' shift, and go to state 940
|
|
|
|
$default reduce using rule 658 (sm_opt_return_type)
|
|
|
|
sm_opt_return_type go to state 941
|
|
|
|
|
|
state 845
|
|
|
|
153 parameter_list: non_empty_parameter_list ',' . T_VARARG
|
|
161 non_empty_parameter_list: non_empty_parameter_list ',' . optional_user_attributes sm_type_opt T_VARIABLE
|
|
162 | non_empty_parameter_list ',' . optional_user_attributes sm_type_opt '&' T_VARIABLE
|
|
163 | non_empty_parameter_list ',' . optional_user_attributes sm_type_opt '&' T_VARIABLE '=' static_scalar
|
|
164 | non_empty_parameter_list ',' . optional_user_attributes sm_type_opt T_VARIABLE '=' static_scalar
|
|
496 possible_comma_in_hphp_syntax: ',' .
|
|
|
|
T_SL shift, and go to state 10
|
|
T_VARARG shift, and go to state 942
|
|
|
|
')' reduce using rule 496 (possible_comma_in_hphp_syntax)
|
|
$default reduce using rule 533 (optional_user_attributes)
|
|
|
|
non_empty_user_attributes go to state 730
|
|
optional_user_attributes go to state 943
|
|
|
|
|
|
state 846
|
|
|
|
154 parameter_list: non_empty_parameter_list possible_comma_in_hphp_syntax .
|
|
|
|
$default reduce using rule 154 (parameter_list)
|
|
|
|
|
|
state 847
|
|
|
|
673 sm_type_opt: sm_type .
|
|
|
|
$default reduce using rule 673 (sm_type_opt)
|
|
|
|
|
|
state 848
|
|
|
|
157 non_empty_parameter_list: optional_user_attributes sm_type_opt . T_VARIABLE
|
|
158 | optional_user_attributes sm_type_opt . '&' T_VARIABLE
|
|
159 | optional_user_attributes sm_type_opt . '&' T_VARIABLE '=' static_scalar
|
|
160 | optional_user_attributes sm_type_opt . T_VARIABLE '=' static_scalar
|
|
|
|
'&' shift, and go to state 944
|
|
T_VARIABLE shift, and go to state 945
|
|
|
|
|
|
state 849
|
|
|
|
90 function_declaration_statement: function_loc is_reference sm_name_with_typevar $@9 '(' parameter_list . ')' sm_opt_return_type '{' inner_statement_list '}'
|
|
|
|
')' shift, and go to state 946
|
|
|
|
|
|
state 850
|
|
|
|
114 implements_list: T_IMPLEMENTS interface_list .
|
|
119 interface_list: interface_list . ',' fully_qualified_class_name
|
|
|
|
',' shift, and go to state 801
|
|
|
|
$default reduce using rule 114 (implements_list)
|
|
|
|
|
|
state 851
|
|
|
|
94 class_declaration_statement: class_entry_type class_decl_name $@11 extends_from implements_list '{' . class_statement_list '}'
|
|
|
|
$default reduce using rule 181 (class_statement_list)
|
|
|
|
class_statement_list go to state 947
|
|
|
|
|
|
state 852
|
|
|
|
613 non_empty_collection_init: non_empty_collection_init ',' expr T_DOUBLE_ARROW . expr
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
new_expr go to state 105
|
|
expr go to state 948
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 853
|
|
|
|
571 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM ident sm_typeargs_opt '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 949
|
|
|
|
|
|
state 854
|
|
|
|
572 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects '(' function_call_parameter_list ')' .
|
|
|
|
$default reduce using rule 572 (class_method_call)
|
|
|
|
|
|
state 855
|
|
|
|
100 class_declaration_statement: non_empty_user_attributes T_INTERFACE interface_decl_name $@14 interface_extends_list '{' . class_statement_list '}'
|
|
|
|
$default reduce using rule 181 (class_statement_list)
|
|
|
|
class_statement_list go to state 950
|
|
|
|
|
|
state 856
|
|
|
|
104 trait_declaration_statement: non_empty_user_attributes T_TRAIT trait_decl_name $@16 '{' class_statement_list . '}'
|
|
180 class_statement_list: class_statement_list . class_statement
|
|
|
|
T_SL shift, and go to state 10
|
|
T_CONST shift, and go to state 812
|
|
T_USE shift, and go to state 813
|
|
T_PUBLIC shift, and go to state 814
|
|
T_PROTECTED shift, and go to state 815
|
|
T_PRIVATE shift, and go to state 816
|
|
T_FINAL shift, and go to state 817
|
|
T_ABSTRACT shift, and go to state 818
|
|
T_STATIC shift, and go to state 819
|
|
T_VAR shift, and go to state 820
|
|
T_XHP_ATTRIBUTE shift, and go to state 821
|
|
T_XHP_CATEGORY shift, and go to state 822
|
|
T_XHP_CHILDREN shift, and go to state 823
|
|
'}' shift, and go to state 951
|
|
|
|
$default reduce using rule 243 (method_modifiers)
|
|
|
|
class_statement go to state 825
|
|
variable_modifiers go to state 826
|
|
method_modifiers go to state 827
|
|
non_empty_member_modifiers go to state 828
|
|
member_modifier go to state 829
|
|
class_constant_declaration go to state 830
|
|
non_empty_user_attributes go to state 831
|
|
|
|
|
|
state 857
|
|
|
|
92 function_declaration_statement: non_empty_user_attributes function_loc is_reference sm_name_with_typevar $@10 '(' . parameter_list ')' sm_opt_return_type '{' inner_statement_list '}'
|
|
|
|
T_SL shift, and go to state 10
|
|
T_VARARG shift, and go to state 727
|
|
|
|
')' reduce using rule 156 (parameter_list)
|
|
$default reduce using rule 533 (optional_user_attributes)
|
|
|
|
parameter_list go to state 952
|
|
non_empty_parameter_list go to state 729
|
|
non_empty_user_attributes go to state 730
|
|
optional_user_attributes go to state 731
|
|
|
|
|
|
state 858
|
|
|
|
96 class_declaration_statement: non_empty_user_attributes class_entry_type class_decl_name $@12 extends_from implements_list . '{' class_statement_list '}'
|
|
|
|
'{' shift, and go to state 953
|
|
|
|
|
|
state 859
|
|
|
|
271 expr_no_variable: variable '=' '&' T_NEW class_name_reference ctor_arguments .
|
|
|
|
$default reduce using rule 271 (expr_no_variable)
|
|
|
|
|
|
state 860
|
|
|
|
567 object_method_call: variable T_OBJECT_OPERATOR '{' expr '}' '(' . function_call_parameter_list ')'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'&' shift, and go to state 438
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 166 (function_call_parameter_list)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
function_call_parameter_list go to state 954
|
|
non_empty_fcall_parameter_list go to state 440
|
|
new_expr go to state 105
|
|
expr go to state 441
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 861
|
|
|
|
565 object_method_call: variable T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 955
|
|
|
|
|
|
state 862
|
|
|
|
566 object_method_call: variable T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')' .
|
|
|
|
$default reduce using rule 566 (object_method_call)
|
|
|
|
|
|
state 863
|
|
|
|
519 non_empty_static_array_pair_list_ae: static_scalar_ae . T_DOUBLE_ARROW static_scalar_ae
|
|
520 | static_scalar_ae .
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 956
|
|
|
|
$default reduce using rule 520 (non_empty_static_array_pair_list_ae)
|
|
|
|
|
|
state 864
|
|
|
|
514 static_scalar_ae: T_ARRAY '(' static_array_pair_list_ae . ')'
|
|
|
|
')' shift, and go to state 957
|
|
|
|
|
|
state 865
|
|
|
|
515 static_array_pair_list_ae: non_empty_static_array_pair_list_ae . possible_comma
|
|
517 non_empty_static_array_pair_list_ae: non_empty_static_array_pair_list_ae . ',' static_scalar_ae T_DOUBLE_ARROW static_scalar_ae
|
|
518 | non_empty_static_array_pair_list_ae . ',' static_scalar_ae
|
|
|
|
',' shift, and go to state 958
|
|
|
|
$default reduce using rule 495 (possible_comma)
|
|
|
|
possible_comma go to state 959
|
|
|
|
|
|
state 866
|
|
|
|
505 common_scalar_ae: T_START_HEREDOC T_ENCAPSED_AND_WHITESPACE T_END_HEREDOC .
|
|
|
|
$default reduce using rule 505 (common_scalar_ae)
|
|
|
|
|
|
state 867
|
|
|
|
521 non_empty_static_scalar_list_ae: non_empty_static_scalar_list_ae ',' static_scalar_ae .
|
|
|
|
$default reduce using rule 521 (non_empty_static_scalar_list_ae)
|
|
|
|
|
|
state 868
|
|
|
|
147 new_elseif_list: new_elseif_list T_ELSEIF parenthesis_expr . ':' inner_statement_list
|
|
|
|
':' shift, and go to state 960
|
|
|
|
|
|
state 869
|
|
|
|
151 new_else_single: T_ELSE ':' . inner_statement_list
|
|
|
|
$default reduce using rule 39 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 961
|
|
|
|
|
|
state 870
|
|
|
|
46 statement: T_IF parenthesis_expr ':' inner_statement_list new_elseif_list new_else_single T_ENDIF . ';'
|
|
|
|
';' shift, and go to state 962
|
|
|
|
|
|
state 871
|
|
|
|
145 elseif_list: elseif_list T_ELSEIF parenthesis_expr statement .
|
|
|
|
$default reduce using rule 145 (elseif_list)
|
|
|
|
|
|
state 872
|
|
|
|
131 while_statement: ':' inner_statement_list T_ENDWHILE ';' .
|
|
|
|
$default reduce using rule 131 (while_statement)
|
|
|
|
|
|
state 873
|
|
|
|
52 statement: T_FOR '(' for_expr ';' for_expr ';' for_expr . ')' $@5 for_statement
|
|
|
|
')' shift, and go to state 963
|
|
|
|
|
|
state 874
|
|
|
|
122 foreach_optional_arg: T_DOUBLE_ARROW foreach_variable .
|
|
|
|
$default reduce using rule 122 (foreach_optional_arg)
|
|
|
|
|
|
state 875
|
|
|
|
72 statement: T_FOREACH '(' expr T_AS foreach_variable foreach_optional_arg ')' . $@7 foreach_statement
|
|
|
|
$default reduce using rule 71 ($@7)
|
|
|
|
$@7 go to state 964
|
|
|
|
|
|
state 876
|
|
|
|
135 declare_list: declare_list ',' ident '=' static_scalar .
|
|
|
|
$default reduce using rule 135 (declare_list)
|
|
|
|
|
|
state 877
|
|
|
|
133 declare_statement: ':' inner_statement_list T_ENDDECLARE . ';'
|
|
|
|
';' shift, and go to state 965
|
|
|
|
|
|
state 878
|
|
|
|
139 switch_case_list: ':' ';' case_list T_ENDSWITCH . ';'
|
|
|
|
';' shift, and go to state 966
|
|
|
|
|
|
state 879
|
|
|
|
138 switch_case_list: ':' case_list T_ENDSWITCH ';' .
|
|
|
|
$default reduce using rule 138 (switch_case_list)
|
|
|
|
|
|
state 880
|
|
|
|
140 case_list: case_list T_CASE expr . case_separator inner_statement_list
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
':' shift, and go to state 881
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
';' shift, and go to state 882
|
|
|
|
case_separator go to state 967
|
|
|
|
|
|
state 881
|
|
|
|
143 case_separator: ':' .
|
|
|
|
$default reduce using rule 143 (case_separator)
|
|
|
|
|
|
state 882
|
|
|
|
144 case_separator: ';' .
|
|
|
|
$default reduce using rule 144 (case_separator)
|
|
|
|
|
|
state 883
|
|
|
|
141 case_list: case_list T_DEFAULT case_separator . inner_statement_list
|
|
|
|
$default reduce using rule 39 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 968
|
|
|
|
|
|
state 884
|
|
|
|
137 switch_case_list: '{' ';' case_list '}' .
|
|
|
|
$default reduce using rule 137 (switch_case_list)
|
|
|
|
|
|
state 885
|
|
|
|
669 sm_type: T_ARRAY T_TYPELIST_LT sm_type ',' sm_type T_TYPELIST_GT .
|
|
|
|
$default reduce using rule 669 (sm_type)
|
|
|
|
|
|
state 886
|
|
|
|
654 sm_func_type_list: sm_type_list ',' T_VARARG .
|
|
|
|
$default reduce using rule 654 (sm_func_type_list)
|
|
|
|
|
|
state 887
|
|
|
|
671 sm_type: '(' T_FUNCTION '(' sm_func_type_list ')' ':' . sm_type ')'
|
|
|
|
'?' shift, and go to state 193
|
|
'@' shift, and go to state 194
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 195
|
|
T_XHP_LABEL shift, and go to state 196
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 197
|
|
|
|
ident go to state 365
|
|
sm_type go to state 969
|
|
|
|
|
|
state 888
|
|
|
|
500 non_empty_static_array_pair_list: static_scalar T_DOUBLE_ARROW . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 970
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 889
|
|
|
|
480 static_scalar: T_ARRAY '(' static_array_pair_list ')' .
|
|
|
|
$default reduce using rule 480 (static_scalar)
|
|
|
|
|
|
state 890
|
|
|
|
494 possible_comma: ',' .
|
|
498 non_empty_static_array_pair_list: non_empty_static_array_pair_list ',' . static_scalar T_DOUBLE_ARROW static_scalar
|
|
499 | non_empty_static_array_pair_list ',' . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
$default reduce using rule 494 (possible_comma)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 971
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 891
|
|
|
|
492 static_array_pair_list: non_empty_static_array_pair_list possible_comma .
|
|
|
|
$default reduce using rule 492 (static_array_pair_list)
|
|
|
|
|
|
state 892
|
|
|
|
621 non_empty_static_collection_init: static_scalar T_DOUBLE_ARROW . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 972
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 893
|
|
|
|
343 static_collection_literal: fully_qualified_class_name '{' static_collection_init '}' .
|
|
|
|
$default reduce using rule 343 (static_collection_literal)
|
|
|
|
|
|
state 894
|
|
|
|
494 possible_comma: ',' .
|
|
619 non_empty_static_collection_init: non_empty_static_collection_init ',' . static_scalar T_DOUBLE_ARROW static_scalar
|
|
620 | non_empty_static_collection_init ',' . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
$default reduce using rule 494 (possible_comma)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 973
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 895
|
|
|
|
617 static_collection_init: non_empty_static_collection_init possible_comma .
|
|
|
|
$default reduce using rule 617 (static_collection_init)
|
|
|
|
|
|
state 896
|
|
|
|
74 statement: T_TRY '{' inner_statement_list '}' T_CATCH '(' fully_qualified_class_name . T_VARIABLE ')' '{' inner_statement_list '}' additional_catches optional_finally
|
|
|
|
T_VARIABLE shift, and go to state 974
|
|
|
|
|
|
state 897
|
|
|
|
83 finally: $@8 T_FINALLY '{' . inner_statement_list '}'
|
|
|
|
$default reduce using rule 39 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 975
|
|
|
|
|
|
state 898
|
|
|
|
337 expr_no_variable: T_STATIC function_loc is_reference '(' $@22 parameter_list ')' . sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
':' shift, and go to state 940
|
|
|
|
$default reduce using rule 658 (sm_opt_return_type)
|
|
|
|
sm_opt_return_type go to state 976
|
|
|
|
|
|
state 899
|
|
|
|
662 sm_typevar_list: ident T_AS ident ',' . sm_typevar_list
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 570
|
|
sm_typevar_list go to state 977
|
|
|
|
|
|
state 900
|
|
|
|
119 interface_list: interface_list ',' fully_qualified_class_name .
|
|
|
|
$default reduce using rule 119 (interface_list)
|
|
|
|
|
|
state 901
|
|
|
|
98 class_declaration_statement: T_INTERFACE interface_decl_name $@13 interface_extends_list '{' class_statement_list '}' .
|
|
|
|
$default reduce using rule 98 (class_declaration_statement)
|
|
|
|
|
|
state 902
|
|
|
|
595 assignment_list: assignment_list . ','
|
|
596 | assignment_list . ',' variable
|
|
597 | assignment_list . ',' T_LIST '(' assignment_list ')'
|
|
597 | assignment_list ',' T_LIST '(' assignment_list . ')'
|
|
|
|
',' shift, and go to state 575
|
|
')' shift, and go to state 978
|
|
|
|
|
|
state 903
|
|
|
|
64 statement: T_LIST '(' assignment_list ')' '=' T_YIELD expr . ';'
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
';' shift, and go to state 979
|
|
|
|
|
|
state 904
|
|
|
|
607 non_empty_array_pair_list: non_empty_array_pair_list ',' expr T_DOUBLE_ARROW '&' . variable
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 157
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 158
|
|
'$' shift, and go to state 87
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 159
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 160
|
|
static_class_name go to state 161
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 980
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
|
|
|
|
state 905
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
603 non_empty_array_pair_list: non_empty_array_pair_list ',' expr T_DOUBLE_ARROW expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 603 (non_empty_array_pair_list)
|
|
|
|
|
|
state 906
|
|
|
|
631 encaps_var: T_DOLLAR_OPEN_CURLY_BRACES T_STRING_VARNAME '[' expr ']' '}' .
|
|
|
|
$default reduce using rule 631 (encaps_var)
|
|
|
|
|
|
state 907
|
|
|
|
257 class_constant_declaration: T_CONST sm_name_with_type . '=' static_scalar
|
|
|
|
'=' shift, and go to state 981
|
|
|
|
|
|
state 908
|
|
|
|
121 trait_list: trait_list . ',' fully_qualified_class_name
|
|
194 class_statement: T_USE trait_list . ';'
|
|
195 | T_USE trait_list . '{' trait_rules '}'
|
|
|
|
',' shift, and go to state 982
|
|
';' shift, and go to state 983
|
|
'{' shift, and go to state 984
|
|
|
|
|
|
state 909
|
|
|
|
120 trait_list: fully_qualified_class_name .
|
|
|
|
$default reduce using rule 120 (trait_list)
|
|
|
|
|
|
state 910
|
|
|
|
210 xhp_attribute_decl_type: T_VAR .
|
|
|
|
$default reduce using rule 210 (xhp_attribute_decl_type)
|
|
|
|
|
|
state 911
|
|
|
|
208 xhp_attribute_decl_type: T_ARRAY .
|
|
|
|
$default reduce using rule 208 (xhp_attribute_decl_type)
|
|
|
|
|
|
state 912
|
|
|
|
207 xhp_attribute_decl: T_XHP_LABEL .
|
|
448 fully_qualified_class_name: T_XHP_LABEL .
|
|
|
|
',' reduce using rule 207 (xhp_attribute_decl)
|
|
';' reduce using rule 207 (xhp_attribute_decl)
|
|
$default reduce using rule 448 (fully_qualified_class_name)
|
|
|
|
|
|
state 913
|
|
|
|
21 ident: T_XHP_ENUM .
|
|
211 xhp_attribute_decl_type: T_XHP_ENUM . '{' xhp_attribute_enum '}'
|
|
|
|
'{' shift, and go to state 985
|
|
|
|
$default reduce using rule 21 (ident)
|
|
|
|
|
|
state 914
|
|
|
|
191 class_statement: T_XHP_ATTRIBUTE xhp_attribute_stmt . ';'
|
|
205 xhp_attribute_stmt: xhp_attribute_stmt . ',' xhp_attribute_decl
|
|
|
|
',' shift, and go to state 986
|
|
';' shift, and go to state 987
|
|
|
|
|
|
state 915
|
|
|
|
204 xhp_attribute_stmt: xhp_attribute_decl .
|
|
|
|
$default reduce using rule 204 (xhp_attribute_stmt)
|
|
|
|
|
|
state 916
|
|
|
|
206 xhp_attribute_decl: xhp_attribute_decl_type . xhp_label_ws xhp_attribute_default xhp_attribute_is_required
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 988
|
|
T_REQUIRE shift, and go to state 989
|
|
T_EVAL shift, and go to state 990
|
|
T_INCLUDE_ONCE shift, and go to state 991
|
|
T_INCLUDE shift, and go to state 992
|
|
T_LOGICAL_OR shift, and go to state 993
|
|
T_LOGICAL_XOR shift, and go to state 994
|
|
T_LOGICAL_AND shift, and go to state 995
|
|
T_PRINT shift, and go to state 996
|
|
T_INSTANCEOF shift, and go to state 997
|
|
T_CLONE shift, and go to state 998
|
|
T_NEW shift, and go to state 999
|
|
T_EXIT shift, and go to state 1000
|
|
T_IF shift, and go to state 1001
|
|
T_ELSEIF shift, and go to state 1002
|
|
T_ELSE shift, and go to state 1003
|
|
T_ENDIF shift, and go to state 1004
|
|
T_STRING shift, and go to state 31
|
|
T_ECHO shift, and go to state 1005
|
|
T_DO shift, and go to state 1006
|
|
T_WHILE shift, and go to state 1007
|
|
T_ENDWHILE shift, and go to state 1008
|
|
T_FOR shift, and go to state 1009
|
|
T_ENDFOR shift, and go to state 1010
|
|
T_FOREACH shift, and go to state 1011
|
|
T_ENDFOREACH shift, and go to state 1012
|
|
T_DECLARE shift, and go to state 1013
|
|
T_ENDDECLARE shift, and go to state 1014
|
|
T_AS shift, and go to state 1015
|
|
T_SWITCH shift, and go to state 1016
|
|
T_ENDSWITCH shift, and go to state 1017
|
|
T_CASE shift, and go to state 1018
|
|
T_DEFAULT shift, and go to state 1019
|
|
T_BREAK shift, and go to state 1020
|
|
T_GOTO shift, and go to state 1021
|
|
T_CONTINUE shift, and go to state 1022
|
|
T_FUNCTION shift, and go to state 1023
|
|
T_CONST shift, and go to state 1024
|
|
T_RETURN shift, and go to state 1025
|
|
T_TRY shift, and go to state 1026
|
|
T_CATCH shift, and go to state 1027
|
|
T_THROW shift, and go to state 1028
|
|
T_USE shift, and go to state 1029
|
|
T_GLOBAL shift, and go to state 1030
|
|
T_PUBLIC shift, and go to state 1031
|
|
T_PROTECTED shift, and go to state 1032
|
|
T_PRIVATE shift, and go to state 1033
|
|
T_FINAL shift, and go to state 1034
|
|
T_ABSTRACT shift, and go to state 1035
|
|
T_STATIC shift, and go to state 1036
|
|
T_VAR shift, and go to state 1037
|
|
T_UNSET shift, and go to state 1038
|
|
T_ISSET shift, and go to state 1039
|
|
T_EMPTY shift, and go to state 1040
|
|
T_HALT_COMPILER shift, and go to state 1041
|
|
T_CLASS shift, and go to state 1042
|
|
T_INTERFACE shift, and go to state 1043
|
|
T_EXTENDS shift, and go to state 1044
|
|
T_IMPLEMENTS shift, and go to state 1045
|
|
T_LIST shift, and go to state 1046
|
|
T_ARRAY shift, and go to state 1047
|
|
T_CLASS_C shift, and go to state 1048
|
|
T_METHOD_C shift, and go to state 1049
|
|
T_FUNC_C shift, and go to state 1050
|
|
T_LINE shift, and go to state 1051
|
|
T_FILE shift, and go to state 1052
|
|
T_NAMESPACE shift, and go to state 1053
|
|
T_NS_C shift, and go to state 1054
|
|
T_DIR shift, and go to state 1055
|
|
T_YIELD shift, and go to state 1056
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 1057
|
|
T_TRAIT_C shift, and go to state 1058
|
|
T_FINALLY shift, and go to state 1059
|
|
|
|
ident go to state 1060
|
|
xhp_label_ws go to state 1061
|
|
xhp_bareword go to state 1062
|
|
|
|
|
|
state 917
|
|
|
|
209 xhp_attribute_decl_type: fully_qualified_class_name .
|
|
|
|
$default reduce using rule 209 (xhp_attribute_decl_type)
|
|
|
|
|
|
state 918
|
|
|
|
220 xhp_category_decl: T_XHP_CATEGORY_LABEL .
|
|
|
|
$default reduce using rule 220 (xhp_category_decl)
|
|
|
|
|
|
state 919
|
|
|
|
192 class_statement: T_XHP_CATEGORY xhp_category_stmt . ';'
|
|
219 xhp_category_stmt: xhp_category_stmt . ',' xhp_category_decl
|
|
|
|
',' shift, and go to state 1063
|
|
';' shift, and go to state 1064
|
|
|
|
|
|
state 920
|
|
|
|
218 xhp_category_stmt: xhp_category_decl .
|
|
|
|
$default reduce using rule 218 (xhp_category_stmt)
|
|
|
|
|
|
state 921
|
|
|
|
223 xhp_children_stmt: T_EMPTY .
|
|
|
|
$default reduce using rule 223 (xhp_children_stmt)
|
|
|
|
|
|
state 922
|
|
|
|
224 xhp_children_paren_expr: '(' . xhp_children_decl_expr ')'
|
|
225 | '(' . xhp_children_decl_expr ')' '*'
|
|
226 | '(' . xhp_children_decl_expr ')' '?'
|
|
227 | '(' . xhp_children_decl_expr ')' '+'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_LABEL shift, and go to state 1065
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CATEGORY_LABEL shift, and go to state 1066
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 922
|
|
|
|
ident go to state 1067
|
|
xhp_children_paren_expr go to state 1068
|
|
xhp_children_decl_expr go to state 1069
|
|
xhp_children_decl_tag go to state 1070
|
|
|
|
|
|
state 923
|
|
|
|
222 xhp_children_stmt: ident .
|
|
|
|
$default reduce using rule 222 (xhp_children_stmt)
|
|
|
|
|
|
state 924
|
|
|
|
193 class_statement: T_XHP_CHILDREN xhp_children_stmt . ';'
|
|
|
|
';' shift, and go to state 1071
|
|
|
|
|
|
state 925
|
|
|
|
221 xhp_children_stmt: xhp_children_paren_expr .
|
|
|
|
$default reduce using rule 221 (xhp_children_stmt)
|
|
|
|
|
|
state 926
|
|
|
|
183 class_statement: variable_modifiers $@17 . class_variable_declaration ';'
|
|
|
|
T_VARIABLE shift, and go to state 1072
|
|
|
|
class_variable_declaration go to state 1073
|
|
|
|
|
|
state 927
|
|
|
|
188 class_statement: method_modifiers function_loc . is_reference sm_name_with_typevar '(' $@19 parameter_list ')' sm_opt_return_type method_body
|
|
|
|
'&' shift, and go to state 262
|
|
|
|
$default reduce using rule 87 (is_reference)
|
|
|
|
is_reference go to state 1074
|
|
|
|
|
|
state 928
|
|
|
|
245 non_empty_member_modifiers: non_empty_member_modifiers member_modifier .
|
|
|
|
$default reduce using rule 245 (non_empty_member_modifiers)
|
|
|
|
|
|
state 929
|
|
|
|
185 class_statement: non_empty_member_modifiers sm_type . $@18 class_variable_declaration ';'
|
|
|
|
$default reduce using rule 184 ($@18)
|
|
|
|
$@18 go to state 1075
|
|
|
|
|
|
state 930
|
|
|
|
256 class_constant_declaration: class_constant_declaration ',' . sm_name_with_type '=' static_scalar
|
|
|
|
'?' shift, and go to state 193
|
|
'@' shift, and go to state 194
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 195
|
|
T_XHP_LABEL shift, and go to state 196
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 197
|
|
|
|
ident go to state 198
|
|
sm_name_with_type go to state 1076
|
|
sm_type go to state 200
|
|
|
|
|
|
state 931
|
|
|
|
186 class_statement: class_constant_declaration ';' .
|
|
|
|
$default reduce using rule 186 (class_statement)
|
|
|
|
|
|
state 932
|
|
|
|
190 class_statement: non_empty_user_attributes method_modifiers . function_loc is_reference sm_name_with_typevar '(' $@20 parameter_list ')' sm_opt_return_type method_body
|
|
|
|
T_FUNCTION shift, and go to state 46
|
|
|
|
function_loc go to state 1077
|
|
|
|
|
|
state 933
|
|
|
|
242 method_modifiers: non_empty_member_modifiers .
|
|
245 non_empty_member_modifiers: non_empty_member_modifiers . member_modifier
|
|
|
|
T_PUBLIC shift, and go to state 814
|
|
T_PROTECTED shift, and go to state 815
|
|
T_PRIVATE shift, and go to state 816
|
|
T_FINAL shift, and go to state 817
|
|
T_ABSTRACT shift, and go to state 818
|
|
T_STATIC shift, and go to state 819
|
|
|
|
$default reduce using rule 242 (method_modifiers)
|
|
|
|
member_modifier go to state 928
|
|
|
|
|
|
state 934
|
|
|
|
357 xhp_tag_body: xhp_attributes T_XHP_TAG_GT xhp_children T_XHP_TAG_LT '/' . xhp_opt_end_label
|
|
|
|
T_XHP_LABEL shift, and go to state 1078
|
|
|
|
$default reduce using rule 358 (xhp_opt_end_label)
|
|
|
|
xhp_opt_end_label go to state 1079
|
|
|
|
|
|
state 935
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
368 xhp_child: '{' expr . '}'
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
'}' shift, and go to state 1080
|
|
|
|
|
|
state 936
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
366 xhp_attribute_value: '{' expr . '}'
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
'}' shift, and go to state 1081
|
|
|
|
|
|
state 937
|
|
|
|
537 property_access_without_variables: T_OBJECT_OPERATOR '{' expr '}' .
|
|
570 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR '{' expr '}' . '(' function_call_parameter_list ')'
|
|
|
|
'(' shift, and go to state 1082
|
|
|
|
$default reduce using rule 537 (property_access_without_variables)
|
|
|
|
|
|
state 938
|
|
|
|
568 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR ident sm_typeargs_opt '(' . function_call_parameter_list ')'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'&' shift, and go to state 438
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 166 (function_call_parameter_list)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
function_call_parameter_list go to state 1083
|
|
non_empty_fcall_parameter_list go to state 440
|
|
new_expr go to state 105
|
|
expr go to state 441
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 939
|
|
|
|
569 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 1084
|
|
|
|
|
|
state 940
|
|
|
|
659 sm_opt_return_type: ':' . sm_type
|
|
|
|
'?' shift, and go to state 193
|
|
'@' shift, and go to state 194
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 195
|
|
T_XHP_LABEL shift, and go to state 196
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 197
|
|
|
|
ident go to state 365
|
|
sm_type go to state 1085
|
|
|
|
|
|
state 941
|
|
|
|
335 expr_no_variable: function_loc is_reference '(' $@21 parameter_list ')' sm_opt_return_type . lexical_vars '{' inner_statement_list '}'
|
|
|
|
T_USE shift, and go to state 1086
|
|
|
|
$default reduce using rule 350 (lexical_vars)
|
|
|
|
lexical_vars go to state 1087
|
|
|
|
|
|
state 942
|
|
|
|
153 parameter_list: non_empty_parameter_list ',' T_VARARG .
|
|
|
|
$default reduce using rule 153 (parameter_list)
|
|
|
|
|
|
state 943
|
|
|
|
161 non_empty_parameter_list: non_empty_parameter_list ',' optional_user_attributes . sm_type_opt T_VARIABLE
|
|
162 | non_empty_parameter_list ',' optional_user_attributes . sm_type_opt '&' T_VARIABLE
|
|
163 | non_empty_parameter_list ',' optional_user_attributes . sm_type_opt '&' T_VARIABLE '=' static_scalar
|
|
164 | non_empty_parameter_list ',' optional_user_attributes . sm_type_opt T_VARIABLE '=' static_scalar
|
|
|
|
'?' shift, and go to state 193
|
|
'@' shift, and go to state 194
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 195
|
|
T_XHP_LABEL shift, and go to state 196
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 197
|
|
|
|
$default reduce using rule 674 (sm_type_opt)
|
|
|
|
ident go to state 365
|
|
sm_type go to state 847
|
|
sm_type_opt go to state 1088
|
|
|
|
|
|
state 944
|
|
|
|
158 non_empty_parameter_list: optional_user_attributes sm_type_opt '&' . T_VARIABLE
|
|
159 | optional_user_attributes sm_type_opt '&' . T_VARIABLE '=' static_scalar
|
|
|
|
T_VARIABLE shift, and go to state 1089
|
|
|
|
|
|
state 945
|
|
|
|
157 non_empty_parameter_list: optional_user_attributes sm_type_opt T_VARIABLE .
|
|
160 | optional_user_attributes sm_type_opt T_VARIABLE . '=' static_scalar
|
|
|
|
'=' shift, and go to state 1090
|
|
|
|
$default reduce using rule 157 (non_empty_parameter_list)
|
|
|
|
|
|
state 946
|
|
|
|
90 function_declaration_statement: function_loc is_reference sm_name_with_typevar $@9 '(' parameter_list ')' . sm_opt_return_type '{' inner_statement_list '}'
|
|
|
|
':' shift, and go to state 940
|
|
|
|
$default reduce using rule 658 (sm_opt_return_type)
|
|
|
|
sm_opt_return_type go to state 1091
|
|
|
|
|
|
state 947
|
|
|
|
94 class_declaration_statement: class_entry_type class_decl_name $@11 extends_from implements_list '{' class_statement_list . '}'
|
|
180 class_statement_list: class_statement_list . class_statement
|
|
|
|
T_SL shift, and go to state 10
|
|
T_CONST shift, and go to state 812
|
|
T_USE shift, and go to state 813
|
|
T_PUBLIC shift, and go to state 814
|
|
T_PROTECTED shift, and go to state 815
|
|
T_PRIVATE shift, and go to state 816
|
|
T_FINAL shift, and go to state 817
|
|
T_ABSTRACT shift, and go to state 818
|
|
T_STATIC shift, and go to state 819
|
|
T_VAR shift, and go to state 820
|
|
T_XHP_ATTRIBUTE shift, and go to state 821
|
|
T_XHP_CATEGORY shift, and go to state 822
|
|
T_XHP_CHILDREN shift, and go to state 823
|
|
'}' shift, and go to state 1092
|
|
|
|
$default reduce using rule 243 (method_modifiers)
|
|
|
|
class_statement go to state 825
|
|
variable_modifiers go to state 826
|
|
method_modifiers go to state 827
|
|
non_empty_member_modifiers go to state 828
|
|
member_modifier go to state 829
|
|
class_constant_declaration go to state 830
|
|
non_empty_user_attributes go to state 831
|
|
|
|
|
|
state 948
|
|
|
|
288 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
289 | expr . T_BOOLEAN_AND expr
|
|
290 | expr . T_LOGICAL_OR expr
|
|
291 | expr . T_LOGICAL_AND expr
|
|
292 | expr . T_LOGICAL_XOR expr
|
|
293 | expr . '|' expr
|
|
294 | expr . '&' expr
|
|
295 | expr . '^' expr
|
|
296 | expr . '.' expr
|
|
297 | expr . '+' expr
|
|
298 | expr . '-' expr
|
|
299 | expr . '*' expr
|
|
300 | expr . '/' expr
|
|
301 | expr . '%' expr
|
|
302 | expr . T_SL expr
|
|
303 | expr . T_SR expr
|
|
308 | expr . T_IS_IDENTICAL expr
|
|
309 | expr . T_IS_NOT_IDENTICAL expr
|
|
310 | expr . T_IS_EQUAL expr
|
|
311 | expr . T_IS_NOT_EQUAL expr
|
|
312 | expr . '<' expr
|
|
313 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
314 | expr . '>' expr
|
|
315 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
316 | expr . T_INSTANCEOF class_name_reference
|
|
318 | expr . '?' expr ':' expr
|
|
319 | expr . '?' ':' expr
|
|
613 non_empty_collection_init: non_empty_collection_init ',' expr T_DOUBLE_ARROW expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 267
|
|
T_LOGICAL_XOR shift, and go to state 268
|
|
T_LOGICAL_AND shift, and go to state 269
|
|
'?' shift, and go to state 270
|
|
T_BOOLEAN_OR shift, and go to state 271
|
|
T_BOOLEAN_AND shift, and go to state 272
|
|
'|' shift, and go to state 273
|
|
'^' shift, and go to state 274
|
|
'&' shift, and go to state 275
|
|
T_IS_NOT_IDENTICAL shift, and go to state 276
|
|
T_IS_IDENTICAL shift, and go to state 277
|
|
T_IS_NOT_EQUAL shift, and go to state 278
|
|
T_IS_EQUAL shift, and go to state 279
|
|
'<' shift, and go to state 280
|
|
'>' shift, and go to state 281
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 282
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 283
|
|
T_SR shift, and go to state 284
|
|
T_SL shift, and go to state 285
|
|
'+' shift, and go to state 286
|
|
'-' shift, and go to state 287
|
|
'.' shift, and go to state 288
|
|
'*' shift, and go to state 289
|
|
'/' shift, and go to state 290
|
|
'%' shift, and go to state 291
|
|
T_INSTANCEOF shift, and go to state 292
|
|
|
|
$default reduce using rule 613 (non_empty_collection_init)
|
|
|
|
|
|
state 949
|
|
|
|
571 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM ident sm_typeargs_opt '(' function_call_parameter_list ')' .
|
|
|
|
$default reduce using rule 571 (class_method_call)
|
|
|
|
|
|
state 950
|
|
|
|
100 class_declaration_statement: non_empty_user_attributes T_INTERFACE interface_decl_name $@14 interface_extends_list '{' class_statement_list . '}'
|
|
180 class_statement_list: class_statement_list . class_statement
|
|
|
|
T_SL shift, and go to state 10
|
|
T_CONST shift, and go to state 812
|
|
T_USE shift, and go to state 813
|
|
T_PUBLIC shift, and go to state 814
|
|
T_PROTECTED shift, and go to state 815
|
|
T_PRIVATE shift, and go to state 816
|
|
T_FINAL shift, and go to state 817
|
|
T_ABSTRACT shift, and go to state 818
|
|
T_STATIC shift, and go to state 819
|
|
T_VAR shift, and go to state 820
|
|
T_XHP_ATTRIBUTE shift, and go to state 821
|
|
T_XHP_CATEGORY shift, and go to state 822
|
|
T_XHP_CHILDREN shift, and go to state 823
|
|
'}' shift, and go to state 1093
|
|
|
|
$default reduce using rule 243 (method_modifiers)
|
|
|
|
class_statement go to state 825
|
|
variable_modifiers go to state 826
|
|
method_modifiers go to state 827
|
|
non_empty_member_modifiers go to state 828
|
|
member_modifier go to state 829
|
|
class_constant_declaration go to state 830
|
|
non_empty_user_attributes go to state 831
|
|
|
|
|
|
state 951
|
|
|
|
104 trait_declaration_statement: non_empty_user_attributes T_TRAIT trait_decl_name $@16 '{' class_statement_list '}' .
|
|
|
|
$default reduce using rule 104 (trait_declaration_statement)
|
|
|
|
|
|
state 952
|
|
|
|
92 function_declaration_statement: non_empty_user_attributes function_loc is_reference sm_name_with_typevar $@10 '(' parameter_list . ')' sm_opt_return_type '{' inner_statement_list '}'
|
|
|
|
')' shift, and go to state 1094
|
|
|
|
|
|
state 953
|
|
|
|
96 class_declaration_statement: non_empty_user_attributes class_entry_type class_decl_name $@12 extends_from implements_list '{' . class_statement_list '}'
|
|
|
|
$default reduce using rule 181 (class_statement_list)
|
|
|
|
class_statement_list go to state 1095
|
|
|
|
|
|
state 954
|
|
|
|
567 object_method_call: variable T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 1096
|
|
|
|
|
|
state 955
|
|
|
|
565 object_method_call: variable T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')' .
|
|
|
|
$default reduce using rule 565 (object_method_call)
|
|
|
|
|
|
state 956
|
|
|
|
519 non_empty_static_array_pair_list_ae: static_scalar_ae T_DOUBLE_ARROW . static_scalar_ae
|
|
|
|
'+' shift, and go to state 640
|
|
'-' shift, and go to state 641
|
|
T_LNUMBER shift, and go to state 642
|
|
T_DNUMBER shift, and go to state 643
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 644
|
|
T_ARRAY shift, and go to state 645
|
|
T_START_HEREDOC shift, and go to state 646
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 647
|
|
common_scalar_ae go to state 648
|
|
static_scalar_ae go to state 1097
|
|
|
|
|
|
state 957
|
|
|
|
514 static_scalar_ae: T_ARRAY '(' static_array_pair_list_ae ')' .
|
|
|
|
$default reduce using rule 514 (static_scalar_ae)
|
|
|
|
|
|
state 958
|
|
|
|
494 possible_comma: ',' .
|
|
517 non_empty_static_array_pair_list_ae: non_empty_static_array_pair_list_ae ',' . static_scalar_ae T_DOUBLE_ARROW static_scalar_ae
|
|
518 | non_empty_static_array_pair_list_ae ',' . static_scalar_ae
|
|
|
|
'+' shift, and go to state 640
|
|
'-' shift, and go to state 641
|
|
T_LNUMBER shift, and go to state 642
|
|
T_DNUMBER shift, and go to state 643
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 644
|
|
T_ARRAY shift, and go to state 645
|
|
T_START_HEREDOC shift, and go to state 646
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
$default reduce using rule 494 (possible_comma)
|
|
|
|
ident go to state 647
|
|
common_scalar_ae go to state 648
|
|
static_scalar_ae go to state 1098
|
|
|
|
|
|
state 959
|
|
|
|
515 static_array_pair_list_ae: non_empty_static_array_pair_list_ae possible_comma .
|
|
|
|
$default reduce using rule 515 (static_array_pair_list_ae)
|
|
|
|
|
|
state 960
|
|
|
|
147 new_elseif_list: new_elseif_list T_ELSEIF parenthesis_expr ':' . inner_statement_list
|
|
|
|
$default reduce using rule 39 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1099
|
|
|
|
|
|
state 961
|
|
|
|
38 inner_statement_list: inner_statement_list . inner_statement
|
|
151 new_else_single: T_ELSE ':' inner_statement_list .
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 151 (new_else_single)
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
inner_statement go to state 427
|
|
statement go to state 428
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 429
|
|
class_declaration_statement go to state 430
|
|
trait_declaration_statement go to state 431
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 962
|
|
|
|
46 statement: T_IF parenthesis_expr ':' inner_statement_list new_elseif_list new_else_single T_ENDIF ';' .
|
|
|
|
$default reduce using rule 46 (statement)
|
|
|
|
|
|
state 963
|
|
|
|
52 statement: T_FOR '(' for_expr ';' for_expr ';' for_expr ')' . $@5 for_statement
|
|
|
|
$default reduce using rule 51 ($@5)
|
|
|
|
$@5 go to state 1100
|
|
|
|
|
|
state 964
|
|
|
|
72 statement: T_FOREACH '(' expr T_AS foreach_variable foreach_optional_arg ')' $@7 . foreach_statement
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
':' shift, and go to state 1101
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
statement go to state 1102
|
|
function_loc go to state 135
|
|
foreach_statement go to state 1103
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 965
|
|
|
|
133 declare_statement: ':' inner_statement_list T_ENDDECLARE ';' .
|
|
|
|
$default reduce using rule 133 (declare_statement)
|
|
|
|
|
|
state 966
|
|
|
|
139 switch_case_list: ':' ';' case_list T_ENDSWITCH ';' .
|
|
|
|
$default reduce using rule 139 (switch_case_list)
|
|
|
|
|
|
state 967
|
|
|
|
140 case_list: case_list T_CASE expr case_separator . inner_statement_list
|
|
|
|
$default reduce using rule 39 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1104
|
|
|
|
|
|
state 968
|
|
|
|
38 inner_statement_list: inner_statement_list . inner_statement
|
|
141 case_list: case_list T_DEFAULT case_separator inner_statement_list .
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 141 (case_list)
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
inner_statement go to state 427
|
|
statement go to state 428
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 429
|
|
class_declaration_statement go to state 430
|
|
trait_declaration_statement go to state 431
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 969
|
|
|
|
671 sm_type: '(' T_FUNCTION '(' sm_func_type_list ')' ':' sm_type . ')'
|
|
|
|
')' shift, and go to state 1105
|
|
|
|
|
|
state 970
|
|
|
|
500 non_empty_static_array_pair_list: static_scalar T_DOUBLE_ARROW static_scalar .
|
|
|
|
$default reduce using rule 500 (non_empty_static_array_pair_list)
|
|
|
|
|
|
state 971
|
|
|
|
498 non_empty_static_array_pair_list: non_empty_static_array_pair_list ',' static_scalar . T_DOUBLE_ARROW static_scalar
|
|
499 | non_empty_static_array_pair_list ',' static_scalar .
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 1106
|
|
|
|
$default reduce using rule 499 (non_empty_static_array_pair_list)
|
|
|
|
|
|
state 972
|
|
|
|
621 non_empty_static_collection_init: static_scalar T_DOUBLE_ARROW static_scalar .
|
|
|
|
$default reduce using rule 621 (non_empty_static_collection_init)
|
|
|
|
|
|
state 973
|
|
|
|
619 non_empty_static_collection_init: non_empty_static_collection_init ',' static_scalar . T_DOUBLE_ARROW static_scalar
|
|
620 | non_empty_static_collection_init ',' static_scalar .
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 1107
|
|
|
|
$default reduce using rule 620 (non_empty_static_collection_init)
|
|
|
|
|
|
state 974
|
|
|
|
74 statement: T_TRY '{' inner_statement_list '}' T_CATCH '(' fully_qualified_class_name T_VARIABLE . ')' '{' inner_statement_list '}' additional_catches optional_finally
|
|
|
|
')' shift, and go to state 1108
|
|
|
|
|
|
state 975
|
|
|
|
38 inner_statement_list: inner_statement_list . inner_statement
|
|
83 finally: $@8 T_FINALLY '{' inner_statement_list . '}'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'}' shift, and go to state 1109
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
inner_statement go to state 427
|
|
statement go to state 428
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 429
|
|
class_declaration_statement go to state 430
|
|
trait_declaration_statement go to state 431
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 976
|
|
|
|
337 expr_no_variable: T_STATIC function_loc is_reference '(' $@22 parameter_list ')' sm_opt_return_type . lexical_vars '{' inner_statement_list '}'
|
|
|
|
T_USE shift, and go to state 1086
|
|
|
|
$default reduce using rule 350 (lexical_vars)
|
|
|
|
lexical_vars go to state 1110
|
|
|
|
|
|
state 977
|
|
|
|
662 sm_typevar_list: ident T_AS ident ',' sm_typevar_list .
|
|
|
|
$default reduce using rule 662 (sm_typevar_list)
|
|
|
|
|
|
state 978
|
|
|
|
597 assignment_list: assignment_list ',' T_LIST '(' assignment_list ')' .
|
|
|
|
$default reduce using rule 597 (assignment_list)
|
|
|
|
|
|
state 979
|
|
|
|
64 statement: T_LIST '(' assignment_list ')' '=' T_YIELD expr ';' .
|
|
|
|
$default reduce using rule 64 (statement)
|
|
|
|
|
|
state 980
|
|
|
|
549 variable: variable . property_access
|
|
558 dimmable_variable: variable . property_access_without_variables
|
|
565 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
566 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
567 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
607 non_empty_array_pair_list: non_empty_array_pair_list ',' expr T_DOUBLE_ARROW '&' variable .
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 316
|
|
|
|
$default reduce using rule 607 (non_empty_array_pair_list)
|
|
|
|
property_access go to state 317
|
|
property_access_without_variables go to state 318
|
|
|
|
|
|
state 981
|
|
|
|
257 class_constant_declaration: T_CONST sm_name_with_type '=' . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 1111
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 982
|
|
|
|
121 trait_list: trait_list ',' . fully_qualified_class_name
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 167
|
|
class_namespace_string_typeargs go to state 97
|
|
fully_qualified_class_name go to state 1112
|
|
|
|
|
|
state 983
|
|
|
|
194 class_statement: T_USE trait_list ';' .
|
|
|
|
$default reduce using rule 194 (class_statement)
|
|
|
|
|
|
state 984
|
|
|
|
195 class_statement: T_USE trait_list '{' . trait_rules '}'
|
|
|
|
$default reduce using rule 198 (trait_rules)
|
|
|
|
trait_rules go to state 1113
|
|
|
|
|
|
state 985
|
|
|
|
211 xhp_attribute_decl_type: T_XHP_ENUM '{' . xhp_attribute_enum '}'
|
|
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
xhp_attribute_enum go to state 1114
|
|
common_scalar go to state 1115
|
|
|
|
|
|
state 986
|
|
|
|
205 xhp_attribute_stmt: xhp_attribute_stmt ',' . xhp_attribute_decl
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VAR shift, and go to state 910
|
|
T_ARRAY shift, and go to state 911
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 912
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 913
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 167
|
|
class_namespace_string_typeargs go to state 97
|
|
xhp_attribute_decl go to state 1116
|
|
xhp_attribute_decl_type go to state 916
|
|
fully_qualified_class_name go to state 917
|
|
|
|
|
|
state 987
|
|
|
|
191 class_statement: T_XHP_ATTRIBUTE xhp_attribute_stmt ';' .
|
|
|
|
$default reduce using rule 191 (class_statement)
|
|
|
|
|
|
state 988
|
|
|
|
418 xhp_bareword: T_REQUIRE_ONCE .
|
|
|
|
$default reduce using rule 418 (xhp_bareword)
|
|
|
|
|
|
state 989
|
|
|
|
417 xhp_bareword: T_REQUIRE .
|
|
|
|
$default reduce using rule 417 (xhp_bareword)
|
|
|
|
|
|
state 990
|
|
|
|
414 xhp_bareword: T_EVAL .
|
|
|
|
$default reduce using rule 414 (xhp_bareword)
|
|
|
|
|
|
state 991
|
|
|
|
416 xhp_bareword: T_INCLUDE_ONCE .
|
|
|
|
$default reduce using rule 416 (xhp_bareword)
|
|
|
|
|
|
state 992
|
|
|
|
415 xhp_bareword: T_INCLUDE .
|
|
|
|
$default reduce using rule 415 (xhp_bareword)
|
|
|
|
|
|
state 993
|
|
|
|
434 xhp_bareword: T_LOGICAL_OR .
|
|
|
|
$default reduce using rule 434 (xhp_bareword)
|
|
|
|
|
|
state 994
|
|
|
|
436 xhp_bareword: T_LOGICAL_XOR .
|
|
|
|
$default reduce using rule 436 (xhp_bareword)
|
|
|
|
|
|
state 995
|
|
|
|
435 xhp_bareword: T_LOGICAL_AND .
|
|
|
|
$default reduce using rule 435 (xhp_bareword)
|
|
|
|
|
|
state 996
|
|
|
|
406 xhp_bareword: T_PRINT .
|
|
|
|
$default reduce using rule 406 (xhp_bareword)
|
|
|
|
|
|
state 997
|
|
|
|
396 xhp_bareword: T_INSTANCEOF .
|
|
|
|
$default reduce using rule 396 (xhp_bareword)
|
|
|
|
|
|
state 998
|
|
|
|
412 xhp_bareword: T_CLONE .
|
|
|
|
$default reduce using rule 412 (xhp_bareword)
|
|
|
|
|
|
state 999
|
|
|
|
411 xhp_bareword: T_NEW .
|
|
|
|
$default reduce using rule 411 (xhp_bareword)
|
|
|
|
|
|
state 1000
|
|
|
|
374 xhp_bareword: T_EXIT .
|
|
|
|
$default reduce using rule 374 (xhp_bareword)
|
|
|
|
|
|
state 1001
|
|
|
|
383 xhp_bareword: T_IF .
|
|
|
|
$default reduce using rule 383 (xhp_bareword)
|
|
|
|
|
|
state 1002
|
|
|
|
384 xhp_bareword: T_ELSEIF .
|
|
|
|
$default reduce using rule 384 (xhp_bareword)
|
|
|
|
|
|
state 1003
|
|
|
|
386 xhp_bareword: T_ELSE .
|
|
|
|
$default reduce using rule 386 (xhp_bareword)
|
|
|
|
|
|
state 1004
|
|
|
|
385 xhp_bareword: T_ENDIF .
|
|
|
|
$default reduce using rule 385 (xhp_bareword)
|
|
|
|
|
|
state 1005
|
|
|
|
405 xhp_bareword: T_ECHO .
|
|
|
|
$default reduce using rule 405 (xhp_bareword)
|
|
|
|
|
|
state 1006
|
|
|
|
389 xhp_bareword: T_DO .
|
|
|
|
$default reduce using rule 389 (xhp_bareword)
|
|
|
|
|
|
state 1007
|
|
|
|
387 xhp_bareword: T_WHILE .
|
|
|
|
$default reduce using rule 387 (xhp_bareword)
|
|
|
|
|
|
state 1008
|
|
|
|
388 xhp_bareword: T_ENDWHILE .
|
|
|
|
$default reduce using rule 388 (xhp_bareword)
|
|
|
|
|
|
state 1009
|
|
|
|
390 xhp_bareword: T_FOR .
|
|
|
|
$default reduce using rule 390 (xhp_bareword)
|
|
|
|
|
|
state 1010
|
|
|
|
391 xhp_bareword: T_ENDFOR .
|
|
|
|
$default reduce using rule 391 (xhp_bareword)
|
|
|
|
|
|
state 1011
|
|
|
|
392 xhp_bareword: T_FOREACH .
|
|
|
|
$default reduce using rule 392 (xhp_bareword)
|
|
|
|
|
|
state 1012
|
|
|
|
393 xhp_bareword: T_ENDFOREACH .
|
|
|
|
$default reduce using rule 393 (xhp_bareword)
|
|
|
|
|
|
state 1013
|
|
|
|
394 xhp_bareword: T_DECLARE .
|
|
|
|
$default reduce using rule 394 (xhp_bareword)
|
|
|
|
|
|
state 1014
|
|
|
|
395 xhp_bareword: T_ENDDECLARE .
|
|
|
|
$default reduce using rule 395 (xhp_bareword)
|
|
|
|
|
|
state 1015
|
|
|
|
397 xhp_bareword: T_AS .
|
|
|
|
$default reduce using rule 397 (xhp_bareword)
|
|
|
|
|
|
state 1016
|
|
|
|
398 xhp_bareword: T_SWITCH .
|
|
|
|
$default reduce using rule 398 (xhp_bareword)
|
|
|
|
|
|
state 1017
|
|
|
|
399 xhp_bareword: T_ENDSWITCH .
|
|
|
|
$default reduce using rule 399 (xhp_bareword)
|
|
|
|
|
|
state 1018
|
|
|
|
400 xhp_bareword: T_CASE .
|
|
|
|
$default reduce using rule 400 (xhp_bareword)
|
|
|
|
|
|
state 1019
|
|
|
|
401 xhp_bareword: T_DEFAULT .
|
|
|
|
$default reduce using rule 401 (xhp_bareword)
|
|
|
|
|
|
state 1020
|
|
|
|
402 xhp_bareword: T_BREAK .
|
|
|
|
$default reduce using rule 402 (xhp_bareword)
|
|
|
|
|
|
state 1021
|
|
|
|
404 xhp_bareword: T_GOTO .
|
|
|
|
$default reduce using rule 404 (xhp_bareword)
|
|
|
|
|
|
state 1022
|
|
|
|
403 xhp_bareword: T_CONTINUE .
|
|
|
|
$default reduce using rule 403 (xhp_bareword)
|
|
|
|
|
|
state 1023
|
|
|
|
375 xhp_bareword: T_FUNCTION .
|
|
|
|
$default reduce using rule 375 (xhp_bareword)
|
|
|
|
|
|
state 1024
|
|
|
|
376 xhp_bareword: T_CONST .
|
|
|
|
$default reduce using rule 376 (xhp_bareword)
|
|
|
|
|
|
state 1025
|
|
|
|
377 xhp_bareword: T_RETURN .
|
|
|
|
$default reduce using rule 377 (xhp_bareword)
|
|
|
|
|
|
state 1026
|
|
|
|
379 xhp_bareword: T_TRY .
|
|
|
|
$default reduce using rule 379 (xhp_bareword)
|
|
|
|
|
|
state 1027
|
|
|
|
380 xhp_bareword: T_CATCH .
|
|
|
|
$default reduce using rule 380 (xhp_bareword)
|
|
|
|
|
|
state 1028
|
|
|
|
382 xhp_bareword: T_THROW .
|
|
|
|
$default reduce using rule 382 (xhp_bareword)
|
|
|
|
|
|
state 1029
|
|
|
|
420 xhp_bareword: T_USE .
|
|
|
|
$default reduce using rule 420 (xhp_bareword)
|
|
|
|
|
|
state 1030
|
|
|
|
421 xhp_bareword: T_GLOBAL .
|
|
|
|
$default reduce using rule 421 (xhp_bareword)
|
|
|
|
|
|
state 1031
|
|
|
|
430 xhp_bareword: T_PUBLIC .
|
|
|
|
$default reduce using rule 430 (xhp_bareword)
|
|
|
|
|
|
state 1032
|
|
|
|
429 xhp_bareword: T_PROTECTED .
|
|
|
|
$default reduce using rule 429 (xhp_bareword)
|
|
|
|
|
|
state 1033
|
|
|
|
428 xhp_bareword: T_PRIVATE .
|
|
|
|
$default reduce using rule 428 (xhp_bareword)
|
|
|
|
|
|
state 1034
|
|
|
|
427 xhp_bareword: T_FINAL .
|
|
|
|
$default reduce using rule 427 (xhp_bareword)
|
|
|
|
|
|
state 1035
|
|
|
|
426 xhp_bareword: T_ABSTRACT .
|
|
|
|
$default reduce using rule 426 (xhp_bareword)
|
|
|
|
|
|
state 1036
|
|
|
|
425 xhp_bareword: T_STATIC .
|
|
|
|
$default reduce using rule 425 (xhp_bareword)
|
|
|
|
|
|
state 1037
|
|
|
|
413 xhp_bareword: T_VAR .
|
|
|
|
$default reduce using rule 413 (xhp_bareword)
|
|
|
|
|
|
state 1038
|
|
|
|
431 xhp_bareword: T_UNSET .
|
|
|
|
$default reduce using rule 431 (xhp_bareword)
|
|
|
|
|
|
state 1039
|
|
|
|
422 xhp_bareword: T_ISSET .
|
|
|
|
$default reduce using rule 422 (xhp_bareword)
|
|
|
|
|
|
state 1040
|
|
|
|
423 xhp_bareword: T_EMPTY .
|
|
|
|
$default reduce using rule 423 (xhp_bareword)
|
|
|
|
|
|
state 1041
|
|
|
|
424 xhp_bareword: T_HALT_COMPILER .
|
|
|
|
$default reduce using rule 424 (xhp_bareword)
|
|
|
|
|
|
state 1042
|
|
|
|
407 xhp_bareword: T_CLASS .
|
|
|
|
$default reduce using rule 407 (xhp_bareword)
|
|
|
|
|
|
state 1043
|
|
|
|
408 xhp_bareword: T_INTERFACE .
|
|
|
|
$default reduce using rule 408 (xhp_bareword)
|
|
|
|
|
|
state 1044
|
|
|
|
409 xhp_bareword: T_EXTENDS .
|
|
|
|
$default reduce using rule 409 (xhp_bareword)
|
|
|
|
|
|
state 1045
|
|
|
|
410 xhp_bareword: T_IMPLEMENTS .
|
|
|
|
$default reduce using rule 410 (xhp_bareword)
|
|
|
|
|
|
state 1046
|
|
|
|
432 xhp_bareword: T_LIST .
|
|
|
|
$default reduce using rule 432 (xhp_bareword)
|
|
|
|
|
|
state 1047
|
|
|
|
433 xhp_bareword: T_ARRAY .
|
|
|
|
$default reduce using rule 433 (xhp_bareword)
|
|
|
|
|
|
state 1048
|
|
|
|
437 xhp_bareword: T_CLASS_C .
|
|
|
|
$default reduce using rule 437 (xhp_bareword)
|
|
|
|
|
|
state 1049
|
|
|
|
439 xhp_bareword: T_METHOD_C .
|
|
|
|
$default reduce using rule 439 (xhp_bareword)
|
|
|
|
|
|
state 1050
|
|
|
|
438 xhp_bareword: T_FUNC_C .
|
|
|
|
$default reduce using rule 438 (xhp_bareword)
|
|
|
|
|
|
state 1051
|
|
|
|
440 xhp_bareword: T_LINE .
|
|
|
|
$default reduce using rule 440 (xhp_bareword)
|
|
|
|
|
|
state 1052
|
|
|
|
441 xhp_bareword: T_FILE .
|
|
|
|
$default reduce using rule 441 (xhp_bareword)
|
|
|
|
|
|
state 1053
|
|
|
|
419 xhp_bareword: T_NAMESPACE .
|
|
|
|
$default reduce using rule 419 (xhp_bareword)
|
|
|
|
|
|
state 1054
|
|
|
|
443 xhp_bareword: T_NS_C .
|
|
|
|
$default reduce using rule 443 (xhp_bareword)
|
|
|
|
|
|
state 1055
|
|
|
|
442 xhp_bareword: T_DIR .
|
|
|
|
$default reduce using rule 442 (xhp_bareword)
|
|
|
|
|
|
state 1056
|
|
|
|
378 xhp_bareword: T_YIELD .
|
|
|
|
$default reduce using rule 378 (xhp_bareword)
|
|
|
|
|
|
state 1057
|
|
|
|
444 xhp_bareword: T_TRAIT .
|
|
|
|
$default reduce using rule 444 (xhp_bareword)
|
|
|
|
|
|
state 1058
|
|
|
|
445 xhp_bareword: T_TRAIT_C .
|
|
|
|
$default reduce using rule 445 (xhp_bareword)
|
|
|
|
|
|
state 1059
|
|
|
|
381 xhp_bareword: T_FINALLY .
|
|
|
|
$default reduce using rule 381 (xhp_bareword)
|
|
|
|
|
|
state 1060
|
|
|
|
373 xhp_bareword: ident .
|
|
|
|
$default reduce using rule 373 (xhp_bareword)
|
|
|
|
|
|
state 1061
|
|
|
|
206 xhp_attribute_decl: xhp_attribute_decl_type xhp_label_ws . xhp_attribute_default xhp_attribute_is_required
|
|
371 xhp_label_ws: xhp_label_ws . ':' xhp_bareword
|
|
372 | xhp_label_ws . '-' xhp_bareword
|
|
|
|
'=' shift, and go to state 1117
|
|
':' shift, and go to state 1118
|
|
'-' shift, and go to state 1119
|
|
|
|
$default reduce using rule 215 (xhp_attribute_default)
|
|
|
|
xhp_attribute_default go to state 1120
|
|
|
|
|
|
state 1062
|
|
|
|
370 xhp_label_ws: xhp_bareword .
|
|
|
|
$default reduce using rule 370 (xhp_label_ws)
|
|
|
|
|
|
state 1063
|
|
|
|
219 xhp_category_stmt: xhp_category_stmt ',' . xhp_category_decl
|
|
|
|
T_XHP_CATEGORY_LABEL shift, and go to state 918
|
|
|
|
xhp_category_decl go to state 1121
|
|
|
|
|
|
state 1064
|
|
|
|
192 class_statement: T_XHP_CATEGORY xhp_category_stmt ';' .
|
|
|
|
$default reduce using rule 192 (class_statement)
|
|
|
|
|
|
state 1065
|
|
|
|
236 xhp_children_decl_tag: T_XHP_LABEL .
|
|
|
|
$default reduce using rule 236 (xhp_children_decl_tag)
|
|
|
|
|
|
state 1066
|
|
|
|
237 xhp_children_decl_tag: T_XHP_CATEGORY_LABEL .
|
|
|
|
$default reduce using rule 237 (xhp_children_decl_tag)
|
|
|
|
|
|
state 1067
|
|
|
|
235 xhp_children_decl_tag: ident .
|
|
|
|
$default reduce using rule 235 (xhp_children_decl_tag)
|
|
|
|
|
|
state 1068
|
|
|
|
228 xhp_children_decl_expr: xhp_children_paren_expr .
|
|
|
|
$default reduce using rule 228 (xhp_children_decl_expr)
|
|
|
|
|
|
state 1069
|
|
|
|
224 xhp_children_paren_expr: '(' xhp_children_decl_expr . ')'
|
|
225 | '(' xhp_children_decl_expr . ')' '*'
|
|
226 | '(' xhp_children_decl_expr . ')' '?'
|
|
227 | '(' xhp_children_decl_expr . ')' '+'
|
|
233 xhp_children_decl_expr: xhp_children_decl_expr . ',' xhp_children_decl_expr
|
|
234 | xhp_children_decl_expr . '|' xhp_children_decl_expr
|
|
|
|
',' shift, and go to state 1122
|
|
'|' shift, and go to state 1123
|
|
')' shift, and go to state 1124
|
|
|
|
|
|
state 1070
|
|
|
|
229 xhp_children_decl_expr: xhp_children_decl_tag .
|
|
230 | xhp_children_decl_tag . '*'
|
|
231 | xhp_children_decl_tag . '?'
|
|
232 | xhp_children_decl_tag . '+'
|
|
|
|
'?' shift, and go to state 1125
|
|
'+' shift, and go to state 1126
|
|
'*' shift, and go to state 1127
|
|
|
|
$default reduce using rule 229 (xhp_children_decl_expr)
|
|
|
|
|
|
state 1071
|
|
|
|
193 class_statement: T_XHP_CHILDREN xhp_children_stmt ';' .
|
|
|
|
$default reduce using rule 193 (class_statement)
|
|
|
|
|
|
state 1072
|
|
|
|
254 class_variable_declaration: T_VARIABLE .
|
|
255 | T_VARIABLE . '=' static_scalar
|
|
|
|
'=' shift, and go to state 1128
|
|
|
|
$default reduce using rule 254 (class_variable_declaration)
|
|
|
|
|
|
state 1073
|
|
|
|
183 class_statement: variable_modifiers $@17 class_variable_declaration . ';'
|
|
252 class_variable_declaration: class_variable_declaration . ',' T_VARIABLE
|
|
253 | class_variable_declaration . ',' T_VARIABLE '=' static_scalar
|
|
|
|
',' shift, and go to state 1129
|
|
';' shift, and go to state 1130
|
|
|
|
|
|
state 1074
|
|
|
|
188 class_statement: method_modifiers function_loc is_reference . sm_name_with_typevar '(' $@19 parameter_list ')' sm_opt_return_type method_body
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 222
|
|
sm_name_with_typevar go to state 1131
|
|
|
|
|
|
state 1075
|
|
|
|
185 class_statement: non_empty_member_modifiers sm_type $@18 . class_variable_declaration ';'
|
|
|
|
T_VARIABLE shift, and go to state 1072
|
|
|
|
class_variable_declaration go to state 1132
|
|
|
|
|
|
state 1076
|
|
|
|
256 class_constant_declaration: class_constant_declaration ',' sm_name_with_type . '=' static_scalar
|
|
|
|
'=' shift, and go to state 1133
|
|
|
|
|
|
state 1077
|
|
|
|
190 class_statement: non_empty_user_attributes method_modifiers function_loc . is_reference sm_name_with_typevar '(' $@20 parameter_list ')' sm_opt_return_type method_body
|
|
|
|
'&' shift, and go to state 262
|
|
|
|
$default reduce using rule 87 (is_reference)
|
|
|
|
is_reference go to state 1134
|
|
|
|
|
|
state 1078
|
|
|
|
359 xhp_opt_end_label: T_XHP_LABEL .
|
|
|
|
$default reduce using rule 359 (xhp_opt_end_label)
|
|
|
|
|
|
state 1079
|
|
|
|
357 xhp_tag_body: xhp_attributes T_XHP_TAG_GT xhp_children T_XHP_TAG_LT '/' xhp_opt_end_label .
|
|
|
|
$default reduce using rule 357 (xhp_tag_body)
|
|
|
|
|
|
state 1080
|
|
|
|
368 xhp_child: '{' expr '}' .
|
|
|
|
$default reduce using rule 368 (xhp_child)
|
|
|
|
|
|
state 1081
|
|
|
|
366 xhp_attribute_value: '{' expr '}' .
|
|
|
|
$default reduce using rule 366 (xhp_attribute_value)
|
|
|
|
|
|
state 1082
|
|
|
|
570 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR '{' expr '}' '(' . function_call_parameter_list ')'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
'&' shift, and go to state 438
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 131
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 132
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 166 (function_call_parameter_list)
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
function_loc go to state 135
|
|
function_call_parameter_list go to state 1135
|
|
non_empty_fcall_parameter_list go to state 440
|
|
new_expr go to state 105
|
|
expr go to state 441
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 137
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 1083
|
|
|
|
568 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 1136
|
|
|
|
|
|
state 1084
|
|
|
|
569 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')' .
|
|
|
|
$default reduce using rule 569 (object_method_call)
|
|
|
|
|
|
state 1085
|
|
|
|
659 sm_opt_return_type: ':' sm_type .
|
|
|
|
$default reduce using rule 659 (sm_opt_return_type)
|
|
|
|
|
|
state 1086
|
|
|
|
349 lexical_vars: T_USE . '(' lexical_var_list possible_comma_in_hphp_syntax ')'
|
|
|
|
'(' shift, and go to state 1137
|
|
|
|
|
|
state 1087
|
|
|
|
335 expr_no_variable: function_loc is_reference '(' $@21 parameter_list ')' sm_opt_return_type lexical_vars . '{' inner_statement_list '}'
|
|
|
|
'{' shift, and go to state 1138
|
|
|
|
|
|
state 1088
|
|
|
|
161 non_empty_parameter_list: non_empty_parameter_list ',' optional_user_attributes sm_type_opt . T_VARIABLE
|
|
162 | non_empty_parameter_list ',' optional_user_attributes sm_type_opt . '&' T_VARIABLE
|
|
163 | non_empty_parameter_list ',' optional_user_attributes sm_type_opt . '&' T_VARIABLE '=' static_scalar
|
|
164 | non_empty_parameter_list ',' optional_user_attributes sm_type_opt . T_VARIABLE '=' static_scalar
|
|
|
|
'&' shift, and go to state 1139
|
|
T_VARIABLE shift, and go to state 1140
|
|
|
|
|
|
state 1089
|
|
|
|
158 non_empty_parameter_list: optional_user_attributes sm_type_opt '&' T_VARIABLE .
|
|
159 | optional_user_attributes sm_type_opt '&' T_VARIABLE . '=' static_scalar
|
|
|
|
'=' shift, and go to state 1141
|
|
|
|
$default reduce using rule 158 (non_empty_parameter_list)
|
|
|
|
|
|
state 1090
|
|
|
|
160 non_empty_parameter_list: optional_user_attributes sm_type_opt T_VARIABLE '=' . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 1142
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 1091
|
|
|
|
90 function_declaration_statement: function_loc is_reference sm_name_with_typevar $@9 '(' parameter_list ')' sm_opt_return_type . '{' inner_statement_list '}'
|
|
|
|
'{' shift, and go to state 1143
|
|
|
|
|
|
state 1092
|
|
|
|
94 class_declaration_statement: class_entry_type class_decl_name $@11 extends_from implements_list '{' class_statement_list '}' .
|
|
|
|
$default reduce using rule 94 (class_declaration_statement)
|
|
|
|
|
|
state 1093
|
|
|
|
100 class_declaration_statement: non_empty_user_attributes T_INTERFACE interface_decl_name $@14 interface_extends_list '{' class_statement_list '}' .
|
|
|
|
$default reduce using rule 100 (class_declaration_statement)
|
|
|
|
|
|
state 1094
|
|
|
|
92 function_declaration_statement: non_empty_user_attributes function_loc is_reference sm_name_with_typevar $@10 '(' parameter_list ')' . sm_opt_return_type '{' inner_statement_list '}'
|
|
|
|
':' shift, and go to state 940
|
|
|
|
$default reduce using rule 658 (sm_opt_return_type)
|
|
|
|
sm_opt_return_type go to state 1144
|
|
|
|
|
|
state 1095
|
|
|
|
96 class_declaration_statement: non_empty_user_attributes class_entry_type class_decl_name $@12 extends_from implements_list '{' class_statement_list . '}'
|
|
180 class_statement_list: class_statement_list . class_statement
|
|
|
|
T_SL shift, and go to state 10
|
|
T_CONST shift, and go to state 812
|
|
T_USE shift, and go to state 813
|
|
T_PUBLIC shift, and go to state 814
|
|
T_PROTECTED shift, and go to state 815
|
|
T_PRIVATE shift, and go to state 816
|
|
T_FINAL shift, and go to state 817
|
|
T_ABSTRACT shift, and go to state 818
|
|
T_STATIC shift, and go to state 819
|
|
T_VAR shift, and go to state 820
|
|
T_XHP_ATTRIBUTE shift, and go to state 821
|
|
T_XHP_CATEGORY shift, and go to state 822
|
|
T_XHP_CHILDREN shift, and go to state 823
|
|
'}' shift, and go to state 1145
|
|
|
|
$default reduce using rule 243 (method_modifiers)
|
|
|
|
class_statement go to state 825
|
|
variable_modifiers go to state 826
|
|
method_modifiers go to state 827
|
|
non_empty_member_modifiers go to state 828
|
|
member_modifier go to state 829
|
|
class_constant_declaration go to state 830
|
|
non_empty_user_attributes go to state 831
|
|
|
|
|
|
state 1096
|
|
|
|
567 object_method_call: variable T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')' .
|
|
|
|
$default reduce using rule 567 (object_method_call)
|
|
|
|
|
|
state 1097
|
|
|
|
519 non_empty_static_array_pair_list_ae: static_scalar_ae T_DOUBLE_ARROW static_scalar_ae .
|
|
|
|
$default reduce using rule 519 (non_empty_static_array_pair_list_ae)
|
|
|
|
|
|
state 1098
|
|
|
|
517 non_empty_static_array_pair_list_ae: non_empty_static_array_pair_list_ae ',' static_scalar_ae . T_DOUBLE_ARROW static_scalar_ae
|
|
518 | non_empty_static_array_pair_list_ae ',' static_scalar_ae .
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 1146
|
|
|
|
$default reduce using rule 518 (non_empty_static_array_pair_list_ae)
|
|
|
|
|
|
state 1099
|
|
|
|
38 inner_statement_list: inner_statement_list . inner_statement
|
|
147 new_elseif_list: new_elseif_list T_ELSEIF parenthesis_expr ':' inner_statement_list .
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 147 (new_elseif_list)
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
inner_statement go to state 427
|
|
statement go to state 428
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 429
|
|
class_declaration_statement go to state 430
|
|
trait_declaration_statement go to state 431
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 1100
|
|
|
|
52 statement: T_FOR '(' for_expr ';' for_expr ';' for_expr ')' $@5 . for_statement
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
':' shift, and go to state 1147
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
statement go to state 1148
|
|
function_loc go to state 135
|
|
for_statement go to state 1149
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 1101
|
|
|
|
129 foreach_statement: ':' . inner_statement_list T_ENDFOREACH ';'
|
|
|
|
$default reduce using rule 39 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1150
|
|
|
|
|
|
state 1102
|
|
|
|
128 foreach_statement: statement .
|
|
|
|
$default reduce using rule 128 (foreach_statement)
|
|
|
|
|
|
state 1103
|
|
|
|
72 statement: T_FOREACH '(' expr T_AS foreach_variable foreach_optional_arg ')' $@7 foreach_statement .
|
|
|
|
$default reduce using rule 72 (statement)
|
|
|
|
|
|
state 1104
|
|
|
|
38 inner_statement_list: inner_statement_list . inner_statement
|
|
140 case_list: case_list T_CASE expr case_separator inner_statement_list .
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
$default reduce using rule 140 (case_list)
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
inner_statement go to state 427
|
|
statement go to state 428
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 429
|
|
class_declaration_statement go to state 430
|
|
trait_declaration_statement go to state 431
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 1105
|
|
|
|
671 sm_type: '(' T_FUNCTION '(' sm_func_type_list ')' ':' sm_type ')' .
|
|
|
|
$default reduce using rule 671 (sm_type)
|
|
|
|
|
|
state 1106
|
|
|
|
498 non_empty_static_array_pair_list: non_empty_static_array_pair_list ',' static_scalar T_DOUBLE_ARROW . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 1151
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 1107
|
|
|
|
619 non_empty_static_collection_init: non_empty_static_collection_init ',' static_scalar T_DOUBLE_ARROW . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 1152
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 1108
|
|
|
|
74 statement: T_TRY '{' inner_statement_list '}' T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' . '{' inner_statement_list '}' additional_catches optional_finally
|
|
|
|
'{' shift, and go to state 1153
|
|
|
|
|
|
state 1109
|
|
|
|
83 finally: $@8 T_FINALLY '{' inner_statement_list '}' .
|
|
|
|
$default reduce using rule 83 (finally)
|
|
|
|
|
|
state 1110
|
|
|
|
337 expr_no_variable: T_STATIC function_loc is_reference '(' $@22 parameter_list ')' sm_opt_return_type lexical_vars . '{' inner_statement_list '}'
|
|
|
|
'{' shift, and go to state 1154
|
|
|
|
|
|
state 1111
|
|
|
|
257 class_constant_declaration: T_CONST sm_name_with_type '=' static_scalar .
|
|
|
|
$default reduce using rule 257 (class_constant_declaration)
|
|
|
|
|
|
state 1112
|
|
|
|
121 trait_list: trait_list ',' fully_qualified_class_name .
|
|
|
|
$default reduce using rule 121 (trait_list)
|
|
|
|
|
|
state 1113
|
|
|
|
195 class_statement: T_USE trait_list '{' trait_rules . '}'
|
|
196 trait_rules: trait_rules . trait_precedence_rule
|
|
197 | trait_rules . trait_alias_rule
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'}' shift, and go to state 1155
|
|
|
|
ident go to state 1156
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 167
|
|
class_namespace_string_typeargs go to state 1157
|
|
trait_precedence_rule go to state 1158
|
|
trait_alias_rule go to state 1159
|
|
trait_alias_rule_method go to state 1160
|
|
|
|
|
|
state 1114
|
|
|
|
211 xhp_attribute_decl_type: T_XHP_ENUM '{' xhp_attribute_enum . '}'
|
|
213 xhp_attribute_enum: xhp_attribute_enum . ',' common_scalar
|
|
|
|
',' shift, and go to state 1161
|
|
'}' shift, and go to state 1162
|
|
|
|
|
|
state 1115
|
|
|
|
212 xhp_attribute_enum: common_scalar .
|
|
|
|
$default reduce using rule 212 (xhp_attribute_enum)
|
|
|
|
|
|
state 1116
|
|
|
|
205 xhp_attribute_stmt: xhp_attribute_stmt ',' xhp_attribute_decl .
|
|
|
|
$default reduce using rule 205 (xhp_attribute_stmt)
|
|
|
|
|
|
state 1117
|
|
|
|
214 xhp_attribute_default: '=' . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 1163
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 1118
|
|
|
|
371 xhp_label_ws: xhp_label_ws ':' . xhp_bareword
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 988
|
|
T_REQUIRE shift, and go to state 989
|
|
T_EVAL shift, and go to state 990
|
|
T_INCLUDE_ONCE shift, and go to state 991
|
|
T_INCLUDE shift, and go to state 992
|
|
T_LOGICAL_OR shift, and go to state 993
|
|
T_LOGICAL_XOR shift, and go to state 994
|
|
T_LOGICAL_AND shift, and go to state 995
|
|
T_PRINT shift, and go to state 996
|
|
T_INSTANCEOF shift, and go to state 997
|
|
T_CLONE shift, and go to state 998
|
|
T_NEW shift, and go to state 999
|
|
T_EXIT shift, and go to state 1000
|
|
T_IF shift, and go to state 1001
|
|
T_ELSEIF shift, and go to state 1002
|
|
T_ELSE shift, and go to state 1003
|
|
T_ENDIF shift, and go to state 1004
|
|
T_STRING shift, and go to state 31
|
|
T_ECHO shift, and go to state 1005
|
|
T_DO shift, and go to state 1006
|
|
T_WHILE shift, and go to state 1007
|
|
T_ENDWHILE shift, and go to state 1008
|
|
T_FOR shift, and go to state 1009
|
|
T_ENDFOR shift, and go to state 1010
|
|
T_FOREACH shift, and go to state 1011
|
|
T_ENDFOREACH shift, and go to state 1012
|
|
T_DECLARE shift, and go to state 1013
|
|
T_ENDDECLARE shift, and go to state 1014
|
|
T_AS shift, and go to state 1015
|
|
T_SWITCH shift, and go to state 1016
|
|
T_ENDSWITCH shift, and go to state 1017
|
|
T_CASE shift, and go to state 1018
|
|
T_DEFAULT shift, and go to state 1019
|
|
T_BREAK shift, and go to state 1020
|
|
T_GOTO shift, and go to state 1021
|
|
T_CONTINUE shift, and go to state 1022
|
|
T_FUNCTION shift, and go to state 1023
|
|
T_CONST shift, and go to state 1024
|
|
T_RETURN shift, and go to state 1025
|
|
T_TRY shift, and go to state 1026
|
|
T_CATCH shift, and go to state 1027
|
|
T_THROW shift, and go to state 1028
|
|
T_USE shift, and go to state 1029
|
|
T_GLOBAL shift, and go to state 1030
|
|
T_PUBLIC shift, and go to state 1031
|
|
T_PROTECTED shift, and go to state 1032
|
|
T_PRIVATE shift, and go to state 1033
|
|
T_FINAL shift, and go to state 1034
|
|
T_ABSTRACT shift, and go to state 1035
|
|
T_STATIC shift, and go to state 1036
|
|
T_VAR shift, and go to state 1037
|
|
T_UNSET shift, and go to state 1038
|
|
T_ISSET shift, and go to state 1039
|
|
T_EMPTY shift, and go to state 1040
|
|
T_HALT_COMPILER shift, and go to state 1041
|
|
T_CLASS shift, and go to state 1042
|
|
T_INTERFACE shift, and go to state 1043
|
|
T_EXTENDS shift, and go to state 1044
|
|
T_IMPLEMENTS shift, and go to state 1045
|
|
T_LIST shift, and go to state 1046
|
|
T_ARRAY shift, and go to state 1047
|
|
T_CLASS_C shift, and go to state 1048
|
|
T_METHOD_C shift, and go to state 1049
|
|
T_FUNC_C shift, and go to state 1050
|
|
T_LINE shift, and go to state 1051
|
|
T_FILE shift, and go to state 1052
|
|
T_NAMESPACE shift, and go to state 1053
|
|
T_NS_C shift, and go to state 1054
|
|
T_DIR shift, and go to state 1055
|
|
T_YIELD shift, and go to state 1056
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 1057
|
|
T_TRAIT_C shift, and go to state 1058
|
|
T_FINALLY shift, and go to state 1059
|
|
|
|
ident go to state 1060
|
|
xhp_bareword go to state 1164
|
|
|
|
|
|
state 1119
|
|
|
|
372 xhp_label_ws: xhp_label_ws '-' . xhp_bareword
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 988
|
|
T_REQUIRE shift, and go to state 989
|
|
T_EVAL shift, and go to state 990
|
|
T_INCLUDE_ONCE shift, and go to state 991
|
|
T_INCLUDE shift, and go to state 992
|
|
T_LOGICAL_OR shift, and go to state 993
|
|
T_LOGICAL_XOR shift, and go to state 994
|
|
T_LOGICAL_AND shift, and go to state 995
|
|
T_PRINT shift, and go to state 996
|
|
T_INSTANCEOF shift, and go to state 997
|
|
T_CLONE shift, and go to state 998
|
|
T_NEW shift, and go to state 999
|
|
T_EXIT shift, and go to state 1000
|
|
T_IF shift, and go to state 1001
|
|
T_ELSEIF shift, and go to state 1002
|
|
T_ELSE shift, and go to state 1003
|
|
T_ENDIF shift, and go to state 1004
|
|
T_STRING shift, and go to state 31
|
|
T_ECHO shift, and go to state 1005
|
|
T_DO shift, and go to state 1006
|
|
T_WHILE shift, and go to state 1007
|
|
T_ENDWHILE shift, and go to state 1008
|
|
T_FOR shift, and go to state 1009
|
|
T_ENDFOR shift, and go to state 1010
|
|
T_FOREACH shift, and go to state 1011
|
|
T_ENDFOREACH shift, and go to state 1012
|
|
T_DECLARE shift, and go to state 1013
|
|
T_ENDDECLARE shift, and go to state 1014
|
|
T_AS shift, and go to state 1015
|
|
T_SWITCH shift, and go to state 1016
|
|
T_ENDSWITCH shift, and go to state 1017
|
|
T_CASE shift, and go to state 1018
|
|
T_DEFAULT shift, and go to state 1019
|
|
T_BREAK shift, and go to state 1020
|
|
T_GOTO shift, and go to state 1021
|
|
T_CONTINUE shift, and go to state 1022
|
|
T_FUNCTION shift, and go to state 1023
|
|
T_CONST shift, and go to state 1024
|
|
T_RETURN shift, and go to state 1025
|
|
T_TRY shift, and go to state 1026
|
|
T_CATCH shift, and go to state 1027
|
|
T_THROW shift, and go to state 1028
|
|
T_USE shift, and go to state 1029
|
|
T_GLOBAL shift, and go to state 1030
|
|
T_PUBLIC shift, and go to state 1031
|
|
T_PROTECTED shift, and go to state 1032
|
|
T_PRIVATE shift, and go to state 1033
|
|
T_FINAL shift, and go to state 1034
|
|
T_ABSTRACT shift, and go to state 1035
|
|
T_STATIC shift, and go to state 1036
|
|
T_VAR shift, and go to state 1037
|
|
T_UNSET shift, and go to state 1038
|
|
T_ISSET shift, and go to state 1039
|
|
T_EMPTY shift, and go to state 1040
|
|
T_HALT_COMPILER shift, and go to state 1041
|
|
T_CLASS shift, and go to state 1042
|
|
T_INTERFACE shift, and go to state 1043
|
|
T_EXTENDS shift, and go to state 1044
|
|
T_IMPLEMENTS shift, and go to state 1045
|
|
T_LIST shift, and go to state 1046
|
|
T_ARRAY shift, and go to state 1047
|
|
T_CLASS_C shift, and go to state 1048
|
|
T_METHOD_C shift, and go to state 1049
|
|
T_FUNC_C shift, and go to state 1050
|
|
T_LINE shift, and go to state 1051
|
|
T_FILE shift, and go to state 1052
|
|
T_NAMESPACE shift, and go to state 1053
|
|
T_NS_C shift, and go to state 1054
|
|
T_DIR shift, and go to state 1055
|
|
T_YIELD shift, and go to state 1056
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 1057
|
|
T_TRAIT_C shift, and go to state 1058
|
|
T_FINALLY shift, and go to state 1059
|
|
|
|
ident go to state 1060
|
|
xhp_bareword go to state 1165
|
|
|
|
|
|
state 1120
|
|
|
|
206 xhp_attribute_decl: xhp_attribute_decl_type xhp_label_ws xhp_attribute_default . xhp_attribute_is_required
|
|
|
|
'@' shift, and go to state 1166
|
|
|
|
$default reduce using rule 217 (xhp_attribute_is_required)
|
|
|
|
xhp_attribute_is_required go to state 1167
|
|
|
|
|
|
state 1121
|
|
|
|
219 xhp_category_stmt: xhp_category_stmt ',' xhp_category_decl .
|
|
|
|
$default reduce using rule 219 (xhp_category_stmt)
|
|
|
|
|
|
state 1122
|
|
|
|
233 xhp_children_decl_expr: xhp_children_decl_expr ',' . xhp_children_decl_expr
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_LABEL shift, and go to state 1065
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CATEGORY_LABEL shift, and go to state 1066
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 922
|
|
|
|
ident go to state 1067
|
|
xhp_children_paren_expr go to state 1068
|
|
xhp_children_decl_expr go to state 1168
|
|
xhp_children_decl_tag go to state 1070
|
|
|
|
|
|
state 1123
|
|
|
|
234 xhp_children_decl_expr: xhp_children_decl_expr '|' . xhp_children_decl_expr
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_LABEL shift, and go to state 1065
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CATEGORY_LABEL shift, and go to state 1066
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
'(' shift, and go to state 922
|
|
|
|
ident go to state 1067
|
|
xhp_children_paren_expr go to state 1068
|
|
xhp_children_decl_expr go to state 1169
|
|
xhp_children_decl_tag go to state 1070
|
|
|
|
|
|
state 1124
|
|
|
|
224 xhp_children_paren_expr: '(' xhp_children_decl_expr ')' .
|
|
225 | '(' xhp_children_decl_expr ')' . '*'
|
|
226 | '(' xhp_children_decl_expr ')' . '?'
|
|
227 | '(' xhp_children_decl_expr ')' . '+'
|
|
|
|
'?' shift, and go to state 1170
|
|
'+' shift, and go to state 1171
|
|
'*' shift, and go to state 1172
|
|
|
|
$default reduce using rule 224 (xhp_children_paren_expr)
|
|
|
|
|
|
state 1125
|
|
|
|
231 xhp_children_decl_expr: xhp_children_decl_tag '?' .
|
|
|
|
$default reduce using rule 231 (xhp_children_decl_expr)
|
|
|
|
|
|
state 1126
|
|
|
|
232 xhp_children_decl_expr: xhp_children_decl_tag '+' .
|
|
|
|
$default reduce using rule 232 (xhp_children_decl_expr)
|
|
|
|
|
|
state 1127
|
|
|
|
230 xhp_children_decl_expr: xhp_children_decl_tag '*' .
|
|
|
|
$default reduce using rule 230 (xhp_children_decl_expr)
|
|
|
|
|
|
state 1128
|
|
|
|
255 class_variable_declaration: T_VARIABLE '=' . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 1173
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 1129
|
|
|
|
252 class_variable_declaration: class_variable_declaration ',' . T_VARIABLE
|
|
253 | class_variable_declaration ',' . T_VARIABLE '=' static_scalar
|
|
|
|
T_VARIABLE shift, and go to state 1174
|
|
|
|
|
|
state 1130
|
|
|
|
183 class_statement: variable_modifiers $@17 class_variable_declaration ';' .
|
|
|
|
$default reduce using rule 183 (class_statement)
|
|
|
|
|
|
state 1131
|
|
|
|
188 class_statement: method_modifiers function_loc is_reference sm_name_with_typevar . '(' $@19 parameter_list ')' sm_opt_return_type method_body
|
|
|
|
'(' shift, and go to state 1175
|
|
|
|
|
|
state 1132
|
|
|
|
185 class_statement: non_empty_member_modifiers sm_type $@18 class_variable_declaration . ';'
|
|
252 class_variable_declaration: class_variable_declaration . ',' T_VARIABLE
|
|
253 | class_variable_declaration . ',' T_VARIABLE '=' static_scalar
|
|
|
|
',' shift, and go to state 1129
|
|
';' shift, and go to state 1176
|
|
|
|
|
|
state 1133
|
|
|
|
256 class_constant_declaration: class_constant_declaration ',' sm_name_with_type '=' . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 1177
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 1134
|
|
|
|
190 class_statement: non_empty_user_attributes method_modifiers function_loc is_reference . sm_name_with_typevar '(' $@20 parameter_list ')' sm_opt_return_type method_body
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 222
|
|
sm_name_with_typevar go to state 1178
|
|
|
|
|
|
state 1135
|
|
|
|
570 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 1179
|
|
|
|
|
|
state 1136
|
|
|
|
568 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')' .
|
|
|
|
$default reduce using rule 568 (object_method_call)
|
|
|
|
|
|
state 1137
|
|
|
|
349 lexical_vars: T_USE '(' . lexical_var_list possible_comma_in_hphp_syntax ')'
|
|
|
|
'&' shift, and go to state 1180
|
|
T_VARIABLE shift, and go to state 1181
|
|
|
|
lexical_var_list go to state 1182
|
|
|
|
|
|
state 1138
|
|
|
|
335 expr_no_variable: function_loc is_reference '(' $@21 parameter_list ')' sm_opt_return_type lexical_vars '{' . inner_statement_list '}'
|
|
|
|
$default reduce using rule 39 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1183
|
|
|
|
|
|
state 1139
|
|
|
|
162 non_empty_parameter_list: non_empty_parameter_list ',' optional_user_attributes sm_type_opt '&' . T_VARIABLE
|
|
163 | non_empty_parameter_list ',' optional_user_attributes sm_type_opt '&' . T_VARIABLE '=' static_scalar
|
|
|
|
T_VARIABLE shift, and go to state 1184
|
|
|
|
|
|
state 1140
|
|
|
|
161 non_empty_parameter_list: non_empty_parameter_list ',' optional_user_attributes sm_type_opt T_VARIABLE .
|
|
164 | non_empty_parameter_list ',' optional_user_attributes sm_type_opt T_VARIABLE . '=' static_scalar
|
|
|
|
'=' shift, and go to state 1185
|
|
|
|
$default reduce using rule 161 (non_empty_parameter_list)
|
|
|
|
|
|
state 1141
|
|
|
|
159 non_empty_parameter_list: optional_user_attributes sm_type_opt '&' T_VARIABLE '=' . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 1186
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 1142
|
|
|
|
160 non_empty_parameter_list: optional_user_attributes sm_type_opt T_VARIABLE '=' static_scalar .
|
|
|
|
$default reduce using rule 160 (non_empty_parameter_list)
|
|
|
|
|
|
state 1143
|
|
|
|
90 function_declaration_statement: function_loc is_reference sm_name_with_typevar $@9 '(' parameter_list ')' sm_opt_return_type '{' . inner_statement_list '}'
|
|
|
|
$default reduce using rule 39 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1187
|
|
|
|
|
|
state 1144
|
|
|
|
92 function_declaration_statement: non_empty_user_attributes function_loc is_reference sm_name_with_typevar $@10 '(' parameter_list ')' sm_opt_return_type . '{' inner_statement_list '}'
|
|
|
|
'{' shift, and go to state 1188
|
|
|
|
|
|
state 1145
|
|
|
|
96 class_declaration_statement: non_empty_user_attributes class_entry_type class_decl_name $@12 extends_from implements_list '{' class_statement_list '}' .
|
|
|
|
$default reduce using rule 96 (class_declaration_statement)
|
|
|
|
|
|
state 1146
|
|
|
|
517 non_empty_static_array_pair_list_ae: non_empty_static_array_pair_list_ae ',' static_scalar_ae T_DOUBLE_ARROW . static_scalar_ae
|
|
|
|
'+' shift, and go to state 640
|
|
'-' shift, and go to state 641
|
|
T_LNUMBER shift, and go to state 642
|
|
T_DNUMBER shift, and go to state 643
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 644
|
|
T_ARRAY shift, and go to state 645
|
|
T_START_HEREDOC shift, and go to state 646
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 647
|
|
common_scalar_ae go to state 648
|
|
static_scalar_ae go to state 1189
|
|
|
|
|
|
state 1147
|
|
|
|
127 for_statement: ':' . inner_statement_list T_ENDFOR ';'
|
|
|
|
$default reduce using rule 39 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1190
|
|
|
|
|
|
state 1148
|
|
|
|
126 for_statement: statement .
|
|
|
|
$default reduce using rule 126 (for_statement)
|
|
|
|
|
|
state 1149
|
|
|
|
52 statement: T_FOR '(' for_expr ';' for_expr ';' for_expr ')' $@5 for_statement .
|
|
|
|
$default reduce using rule 52 (statement)
|
|
|
|
|
|
state 1150
|
|
|
|
38 inner_statement_list: inner_statement_list . inner_statement
|
|
129 foreach_statement: ':' inner_statement_list . T_ENDFOREACH ';'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_ENDFOREACH shift, and go to state 1191
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
inner_statement go to state 427
|
|
statement go to state 428
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 429
|
|
class_declaration_statement go to state 430
|
|
trait_declaration_statement go to state 431
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 1151
|
|
|
|
498 non_empty_static_array_pair_list: non_empty_static_array_pair_list ',' static_scalar T_DOUBLE_ARROW static_scalar .
|
|
|
|
$default reduce using rule 498 (non_empty_static_array_pair_list)
|
|
|
|
|
|
state 1152
|
|
|
|
619 non_empty_static_collection_init: non_empty_static_collection_init ',' static_scalar T_DOUBLE_ARROW static_scalar .
|
|
|
|
$default reduce using rule 619 (non_empty_static_collection_init)
|
|
|
|
|
|
state 1153
|
|
|
|
74 statement: T_TRY '{' inner_statement_list '}' T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' . inner_statement_list '}' additional_catches optional_finally
|
|
|
|
$default reduce using rule 39 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1192
|
|
|
|
|
|
state 1154
|
|
|
|
337 expr_no_variable: T_STATIC function_loc is_reference '(' $@22 parameter_list ')' sm_opt_return_type lexical_vars '{' . inner_statement_list '}'
|
|
|
|
$default reduce using rule 39 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1193
|
|
|
|
|
|
state 1155
|
|
|
|
195 class_statement: T_USE trait_list '{' trait_rules '}' .
|
|
|
|
$default reduce using rule 195 (class_statement)
|
|
|
|
|
|
state 1156
|
|
|
|
28 namespace_name: ident .
|
|
203 trait_alias_rule_method: ident .
|
|
|
|
T_AS reduce using rule 203 (trait_alias_rule_method)
|
|
$default reduce using rule 28 (namespace_name)
|
|
|
|
|
|
state 1157
|
|
|
|
199 trait_precedence_rule: class_namespace_string_typeargs . T_PAAMAYIM_NEKUDOTAYIM ident T_INSTEADOF trait_list ';'
|
|
202 trait_alias_rule_method: class_namespace_string_typeargs . T_PAAMAYIM_NEKUDOTAYIM ident
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM shift, and go to state 1194
|
|
|
|
|
|
state 1158
|
|
|
|
196 trait_rules: trait_rules trait_precedence_rule .
|
|
|
|
$default reduce using rule 196 (trait_rules)
|
|
|
|
|
|
state 1159
|
|
|
|
197 trait_rules: trait_rules trait_alias_rule .
|
|
|
|
$default reduce using rule 197 (trait_rules)
|
|
|
|
|
|
state 1160
|
|
|
|
200 trait_alias_rule: trait_alias_rule_method . T_AS method_modifiers ident ';'
|
|
201 | trait_alias_rule_method . T_AS non_empty_member_modifiers ';'
|
|
|
|
T_AS shift, and go to state 1195
|
|
|
|
|
|
state 1161
|
|
|
|
213 xhp_attribute_enum: xhp_attribute_enum ',' . common_scalar
|
|
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
common_scalar go to state 1196
|
|
|
|
|
|
state 1162
|
|
|
|
211 xhp_attribute_decl_type: T_XHP_ENUM '{' xhp_attribute_enum '}' .
|
|
|
|
$default reduce using rule 211 (xhp_attribute_decl_type)
|
|
|
|
|
|
state 1163
|
|
|
|
214 xhp_attribute_default: '=' static_scalar .
|
|
|
|
$default reduce using rule 214 (xhp_attribute_default)
|
|
|
|
|
|
state 1164
|
|
|
|
371 xhp_label_ws: xhp_label_ws ':' xhp_bareword .
|
|
|
|
$default reduce using rule 371 (xhp_label_ws)
|
|
|
|
|
|
state 1165
|
|
|
|
372 xhp_label_ws: xhp_label_ws '-' xhp_bareword .
|
|
|
|
$default reduce using rule 372 (xhp_label_ws)
|
|
|
|
|
|
state 1166
|
|
|
|
216 xhp_attribute_is_required: '@' . T_XHP_REQUIRED
|
|
|
|
T_XHP_REQUIRED shift, and go to state 1197
|
|
|
|
|
|
state 1167
|
|
|
|
206 xhp_attribute_decl: xhp_attribute_decl_type xhp_label_ws xhp_attribute_default xhp_attribute_is_required .
|
|
|
|
$default reduce using rule 206 (xhp_attribute_decl)
|
|
|
|
|
|
state 1168
|
|
|
|
233 xhp_children_decl_expr: xhp_children_decl_expr . ',' xhp_children_decl_expr
|
|
233 | xhp_children_decl_expr ',' xhp_children_decl_expr .
|
|
234 | xhp_children_decl_expr . '|' xhp_children_decl_expr
|
|
|
|
'|' shift, and go to state 1123
|
|
|
|
$default reduce using rule 233 (xhp_children_decl_expr)
|
|
|
|
|
|
state 1169
|
|
|
|
233 xhp_children_decl_expr: xhp_children_decl_expr . ',' xhp_children_decl_expr
|
|
234 | xhp_children_decl_expr . '|' xhp_children_decl_expr
|
|
234 | xhp_children_decl_expr '|' xhp_children_decl_expr .
|
|
|
|
$default reduce using rule 234 (xhp_children_decl_expr)
|
|
|
|
|
|
state 1170
|
|
|
|
226 xhp_children_paren_expr: '(' xhp_children_decl_expr ')' '?' .
|
|
|
|
$default reduce using rule 226 (xhp_children_paren_expr)
|
|
|
|
|
|
state 1171
|
|
|
|
227 xhp_children_paren_expr: '(' xhp_children_decl_expr ')' '+' .
|
|
|
|
$default reduce using rule 227 (xhp_children_paren_expr)
|
|
|
|
|
|
state 1172
|
|
|
|
225 xhp_children_paren_expr: '(' xhp_children_decl_expr ')' '*' .
|
|
|
|
$default reduce using rule 225 (xhp_children_paren_expr)
|
|
|
|
|
|
state 1173
|
|
|
|
255 class_variable_declaration: T_VARIABLE '=' static_scalar .
|
|
|
|
$default reduce using rule 255 (class_variable_declaration)
|
|
|
|
|
|
state 1174
|
|
|
|
252 class_variable_declaration: class_variable_declaration ',' T_VARIABLE .
|
|
253 | class_variable_declaration ',' T_VARIABLE . '=' static_scalar
|
|
|
|
'=' shift, and go to state 1198
|
|
|
|
$default reduce using rule 252 (class_variable_declaration)
|
|
|
|
|
|
state 1175
|
|
|
|
188 class_statement: method_modifiers function_loc is_reference sm_name_with_typevar '(' . $@19 parameter_list ')' sm_opt_return_type method_body
|
|
|
|
$default reduce using rule 187 ($@19)
|
|
|
|
$@19 go to state 1199
|
|
|
|
|
|
state 1176
|
|
|
|
185 class_statement: non_empty_member_modifiers sm_type $@18 class_variable_declaration ';' .
|
|
|
|
$default reduce using rule 185 (class_statement)
|
|
|
|
|
|
state 1177
|
|
|
|
256 class_constant_declaration: class_constant_declaration ',' sm_name_with_type '=' static_scalar .
|
|
|
|
$default reduce using rule 256 (class_constant_declaration)
|
|
|
|
|
|
state 1178
|
|
|
|
190 class_statement: non_empty_user_attributes method_modifiers function_loc is_reference sm_name_with_typevar . '(' $@20 parameter_list ')' sm_opt_return_type method_body
|
|
|
|
'(' shift, and go to state 1200
|
|
|
|
|
|
state 1179
|
|
|
|
570 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')' .
|
|
|
|
$default reduce using rule 570 (object_method_call)
|
|
|
|
|
|
state 1180
|
|
|
|
354 lexical_var_list: '&' . T_VARIABLE
|
|
|
|
T_VARIABLE shift, and go to state 1201
|
|
|
|
|
|
state 1181
|
|
|
|
353 lexical_var_list: T_VARIABLE .
|
|
|
|
$default reduce using rule 353 (lexical_var_list)
|
|
|
|
|
|
state 1182
|
|
|
|
349 lexical_vars: T_USE '(' lexical_var_list . possible_comma_in_hphp_syntax ')'
|
|
351 lexical_var_list: lexical_var_list . ',' T_VARIABLE
|
|
352 | lexical_var_list . ',' '&' T_VARIABLE
|
|
|
|
',' shift, and go to state 1202
|
|
|
|
$default reduce using rule 497 (possible_comma_in_hphp_syntax)
|
|
|
|
possible_comma_in_hphp_syntax go to state 1203
|
|
|
|
|
|
state 1183
|
|
|
|
38 inner_statement_list: inner_statement_list . inner_statement
|
|
335 expr_no_variable: function_loc is_reference '(' $@21 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list . '}'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'}' shift, and go to state 1204
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
inner_statement go to state 427
|
|
statement go to state 428
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 429
|
|
class_declaration_statement go to state 430
|
|
trait_declaration_statement go to state 431
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 1184
|
|
|
|
162 non_empty_parameter_list: non_empty_parameter_list ',' optional_user_attributes sm_type_opt '&' T_VARIABLE .
|
|
163 | non_empty_parameter_list ',' optional_user_attributes sm_type_opt '&' T_VARIABLE . '=' static_scalar
|
|
|
|
'=' shift, and go to state 1205
|
|
|
|
$default reduce using rule 162 (non_empty_parameter_list)
|
|
|
|
|
|
state 1185
|
|
|
|
164 non_empty_parameter_list: non_empty_parameter_list ',' optional_user_attributes sm_type_opt T_VARIABLE '=' . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 1206
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 1186
|
|
|
|
159 non_empty_parameter_list: optional_user_attributes sm_type_opt '&' T_VARIABLE '=' static_scalar .
|
|
|
|
$default reduce using rule 159 (non_empty_parameter_list)
|
|
|
|
|
|
state 1187
|
|
|
|
38 inner_statement_list: inner_statement_list . inner_statement
|
|
90 function_declaration_statement: function_loc is_reference sm_name_with_typevar $@9 '(' parameter_list ')' sm_opt_return_type '{' inner_statement_list . '}'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'}' shift, and go to state 1207
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
inner_statement go to state 427
|
|
statement go to state 428
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 429
|
|
class_declaration_statement go to state 430
|
|
trait_declaration_statement go to state 431
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 1188
|
|
|
|
92 function_declaration_statement: non_empty_user_attributes function_loc is_reference sm_name_with_typevar $@10 '(' parameter_list ')' sm_opt_return_type '{' . inner_statement_list '}'
|
|
|
|
$default reduce using rule 39 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1208
|
|
|
|
|
|
state 1189
|
|
|
|
517 non_empty_static_array_pair_list_ae: non_empty_static_array_pair_list_ae ',' static_scalar_ae T_DOUBLE_ARROW static_scalar_ae .
|
|
|
|
$default reduce using rule 517 (non_empty_static_array_pair_list_ae)
|
|
|
|
|
|
state 1190
|
|
|
|
38 inner_statement_list: inner_statement_list . inner_statement
|
|
127 for_statement: ':' inner_statement_list . T_ENDFOR ';'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_ENDFOR shift, and go to state 1209
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
inner_statement go to state 427
|
|
statement go to state 428
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 429
|
|
class_declaration_statement go to state 430
|
|
trait_declaration_statement go to state 431
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 1191
|
|
|
|
129 foreach_statement: ':' inner_statement_list T_ENDFOREACH . ';'
|
|
|
|
';' shift, and go to state 1210
|
|
|
|
|
|
state 1192
|
|
|
|
38 inner_statement_list: inner_statement_list . inner_statement
|
|
74 statement: T_TRY '{' inner_statement_list '}' T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list . '}' additional_catches optional_finally
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'}' shift, and go to state 1211
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
inner_statement go to state 427
|
|
statement go to state 428
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 429
|
|
class_declaration_statement go to state 430
|
|
trait_declaration_statement go to state 431
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 1193
|
|
|
|
38 inner_statement_list: inner_statement_list . inner_statement
|
|
337 expr_no_variable: T_STATIC function_loc is_reference '(' $@22 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list . '}'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'}' shift, and go to state 1212
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
inner_statement go to state 427
|
|
statement go to state 428
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 429
|
|
class_declaration_statement go to state 430
|
|
trait_declaration_statement go to state 431
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 1194
|
|
|
|
199 trait_precedence_rule: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM . ident T_INSTEADOF trait_list ';'
|
|
202 trait_alias_rule_method: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM . ident
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 1213
|
|
|
|
|
|
state 1195
|
|
|
|
200 trait_alias_rule: trait_alias_rule_method T_AS . method_modifiers ident ';'
|
|
201 | trait_alias_rule_method T_AS . non_empty_member_modifiers ';'
|
|
|
|
T_PUBLIC shift, and go to state 814
|
|
T_PROTECTED shift, and go to state 815
|
|
T_PRIVATE shift, and go to state 816
|
|
T_FINAL shift, and go to state 817
|
|
T_ABSTRACT shift, and go to state 818
|
|
T_STATIC shift, and go to state 819
|
|
|
|
$default reduce using rule 243 (method_modifiers)
|
|
|
|
method_modifiers go to state 1214
|
|
non_empty_member_modifiers go to state 1215
|
|
member_modifier go to state 829
|
|
|
|
|
|
state 1196
|
|
|
|
213 xhp_attribute_enum: xhp_attribute_enum ',' common_scalar .
|
|
|
|
$default reduce using rule 213 (xhp_attribute_enum)
|
|
|
|
|
|
state 1197
|
|
|
|
216 xhp_attribute_is_required: '@' T_XHP_REQUIRED .
|
|
|
|
$default reduce using rule 216 (xhp_attribute_is_required)
|
|
|
|
|
|
state 1198
|
|
|
|
253 class_variable_declaration: class_variable_declaration ',' T_VARIABLE '=' . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 1216
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 1199
|
|
|
|
188 class_statement: method_modifiers function_loc is_reference sm_name_with_typevar '(' $@19 . parameter_list ')' sm_opt_return_type method_body
|
|
|
|
T_SL shift, and go to state 10
|
|
T_VARARG shift, and go to state 727
|
|
|
|
')' reduce using rule 156 (parameter_list)
|
|
$default reduce using rule 533 (optional_user_attributes)
|
|
|
|
parameter_list go to state 1217
|
|
non_empty_parameter_list go to state 729
|
|
non_empty_user_attributes go to state 730
|
|
optional_user_attributes go to state 731
|
|
|
|
|
|
state 1200
|
|
|
|
190 class_statement: non_empty_user_attributes method_modifiers function_loc is_reference sm_name_with_typevar '(' . $@20 parameter_list ')' sm_opt_return_type method_body
|
|
|
|
$default reduce using rule 189 ($@20)
|
|
|
|
$@20 go to state 1218
|
|
|
|
|
|
state 1201
|
|
|
|
354 lexical_var_list: '&' T_VARIABLE .
|
|
|
|
$default reduce using rule 354 (lexical_var_list)
|
|
|
|
|
|
state 1202
|
|
|
|
351 lexical_var_list: lexical_var_list ',' . T_VARIABLE
|
|
352 | lexical_var_list ',' . '&' T_VARIABLE
|
|
496 possible_comma_in_hphp_syntax: ',' .
|
|
|
|
'&' shift, and go to state 1219
|
|
T_VARIABLE shift, and go to state 1220
|
|
|
|
$default reduce using rule 496 (possible_comma_in_hphp_syntax)
|
|
|
|
|
|
state 1203
|
|
|
|
349 lexical_vars: T_USE '(' lexical_var_list possible_comma_in_hphp_syntax . ')'
|
|
|
|
')' shift, and go to state 1221
|
|
|
|
|
|
state 1204
|
|
|
|
335 expr_no_variable: function_loc is_reference '(' $@21 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}' .
|
|
|
|
$default reduce using rule 335 (expr_no_variable)
|
|
|
|
|
|
state 1205
|
|
|
|
163 non_empty_parameter_list: non_empty_parameter_list ',' optional_user_attributes sm_type_opt '&' T_VARIABLE '=' . static_scalar
|
|
|
|
'+' shift, and go to state 543
|
|
'-' shift, and go to state 544
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ARRAY shift, and go to state 545
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 546
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 547
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT_C shift, and go to state 82
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 548
|
|
namespace_string go to state 549
|
|
class_namespace_string_typeargs go to state 550
|
|
static_collection_literal go to state 551
|
|
fully_qualified_class_name go to state 552
|
|
common_scalar go to state 553
|
|
static_scalar go to state 1222
|
|
static_class_constant go to state 555
|
|
|
|
|
|
state 1206
|
|
|
|
164 non_empty_parameter_list: non_empty_parameter_list ',' optional_user_attributes sm_type_opt T_VARIABLE '=' static_scalar .
|
|
|
|
$default reduce using rule 164 (non_empty_parameter_list)
|
|
|
|
|
|
state 1207
|
|
|
|
90 function_declaration_statement: function_loc is_reference sm_name_with_typevar $@9 '(' parameter_list ')' sm_opt_return_type '{' inner_statement_list '}' .
|
|
|
|
$default reduce using rule 90 (function_declaration_statement)
|
|
|
|
|
|
state 1208
|
|
|
|
38 inner_statement_list: inner_statement_list . inner_statement
|
|
92 function_declaration_statement: non_empty_user_attributes function_loc is_reference sm_name_with_typevar $@10 '(' parameter_list ')' sm_opt_return_type '{' inner_statement_list . '}'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'}' shift, and go to state 1223
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
inner_statement go to state 427
|
|
statement go to state 428
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 429
|
|
class_declaration_statement go to state 430
|
|
trait_declaration_statement go to state 431
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 1209
|
|
|
|
127 for_statement: ':' inner_statement_list T_ENDFOR . ';'
|
|
|
|
';' shift, and go to state 1224
|
|
|
|
|
|
state 1210
|
|
|
|
129 foreach_statement: ':' inner_statement_list T_ENDFOREACH ';' .
|
|
|
|
$default reduce using rule 129 (foreach_statement)
|
|
|
|
|
|
state 1211
|
|
|
|
74 statement: T_TRY '{' inner_statement_list '}' T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}' . additional_catches optional_finally
|
|
|
|
$default reduce using rule 81 (additional_catches)
|
|
|
|
additional_catches go to state 1225
|
|
|
|
|
|
state 1212
|
|
|
|
337 expr_no_variable: T_STATIC function_loc is_reference '(' $@22 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}' .
|
|
|
|
$default reduce using rule 337 (expr_no_variable)
|
|
|
|
|
|
state 1213
|
|
|
|
199 trait_precedence_rule: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM ident . T_INSTEADOF trait_list ';'
|
|
202 trait_alias_rule_method: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM ident .
|
|
|
|
T_INSTEADOF shift, and go to state 1226
|
|
|
|
$default reduce using rule 202 (trait_alias_rule_method)
|
|
|
|
|
|
state 1214
|
|
|
|
200 trait_alias_rule: trait_alias_rule_method T_AS method_modifiers . ident ';'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 1227
|
|
|
|
|
|
state 1215
|
|
|
|
201 trait_alias_rule: trait_alias_rule_method T_AS non_empty_member_modifiers . ';'
|
|
242 method_modifiers: non_empty_member_modifiers .
|
|
245 non_empty_member_modifiers: non_empty_member_modifiers . member_modifier
|
|
|
|
T_PUBLIC shift, and go to state 814
|
|
T_PROTECTED shift, and go to state 815
|
|
T_PRIVATE shift, and go to state 816
|
|
T_FINAL shift, and go to state 817
|
|
T_ABSTRACT shift, and go to state 818
|
|
T_STATIC shift, and go to state 819
|
|
';' shift, and go to state 1228
|
|
|
|
$default reduce using rule 242 (method_modifiers)
|
|
|
|
member_modifier go to state 928
|
|
|
|
|
|
state 1216
|
|
|
|
253 class_variable_declaration: class_variable_declaration ',' T_VARIABLE '=' static_scalar .
|
|
|
|
$default reduce using rule 253 (class_variable_declaration)
|
|
|
|
|
|
state 1217
|
|
|
|
188 class_statement: method_modifiers function_loc is_reference sm_name_with_typevar '(' $@19 parameter_list . ')' sm_opt_return_type method_body
|
|
|
|
')' shift, and go to state 1229
|
|
|
|
|
|
state 1218
|
|
|
|
190 class_statement: non_empty_user_attributes method_modifiers function_loc is_reference sm_name_with_typevar '(' $@20 . parameter_list ')' sm_opt_return_type method_body
|
|
|
|
T_SL shift, and go to state 10
|
|
T_VARARG shift, and go to state 727
|
|
|
|
')' reduce using rule 156 (parameter_list)
|
|
$default reduce using rule 533 (optional_user_attributes)
|
|
|
|
parameter_list go to state 1230
|
|
non_empty_parameter_list go to state 729
|
|
non_empty_user_attributes go to state 730
|
|
optional_user_attributes go to state 731
|
|
|
|
|
|
state 1219
|
|
|
|
352 lexical_var_list: lexical_var_list ',' '&' . T_VARIABLE
|
|
|
|
T_VARIABLE shift, and go to state 1231
|
|
|
|
|
|
state 1220
|
|
|
|
351 lexical_var_list: lexical_var_list ',' T_VARIABLE .
|
|
|
|
$default reduce using rule 351 (lexical_var_list)
|
|
|
|
|
|
state 1221
|
|
|
|
349 lexical_vars: T_USE '(' lexical_var_list possible_comma_in_hphp_syntax ')' .
|
|
|
|
$default reduce using rule 349 (lexical_vars)
|
|
|
|
|
|
state 1222
|
|
|
|
163 non_empty_parameter_list: non_empty_parameter_list ',' optional_user_attributes sm_type_opt '&' T_VARIABLE '=' static_scalar .
|
|
|
|
$default reduce using rule 163 (non_empty_parameter_list)
|
|
|
|
|
|
state 1223
|
|
|
|
92 function_declaration_statement: non_empty_user_attributes function_loc is_reference sm_name_with_typevar $@10 '(' parameter_list ')' sm_opt_return_type '{' inner_statement_list '}' .
|
|
|
|
$default reduce using rule 92 (function_declaration_statement)
|
|
|
|
|
|
state 1224
|
|
|
|
127 for_statement: ':' inner_statement_list T_ENDFOR ';' .
|
|
|
|
$default reduce using rule 127 (for_statement)
|
|
|
|
|
|
state 1225
|
|
|
|
74 statement: T_TRY '{' inner_statement_list '}' T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}' additional_catches . optional_finally
|
|
80 additional_catches: additional_catches . T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}'
|
|
|
|
T_CATCH shift, and go to state 1232
|
|
|
|
T_FINALLY reduce using rule 82 ($@8)
|
|
$default reduce using rule 85 (optional_finally)
|
|
|
|
finally go to state 1233
|
|
$@8 go to state 692
|
|
optional_finally go to state 1234
|
|
|
|
|
|
state 1226
|
|
|
|
199 trait_precedence_rule: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM ident T_INSTEADOF . trait_list ';'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 167
|
|
class_namespace_string_typeargs go to state 97
|
|
trait_list go to state 1235
|
|
fully_qualified_class_name go to state 909
|
|
|
|
|
|
state 1227
|
|
|
|
200 trait_alias_rule: trait_alias_rule_method T_AS method_modifiers ident . ';'
|
|
|
|
';' shift, and go to state 1236
|
|
|
|
|
|
state 1228
|
|
|
|
201 trait_alias_rule: trait_alias_rule_method T_AS non_empty_member_modifiers ';' .
|
|
|
|
$default reduce using rule 201 (trait_alias_rule)
|
|
|
|
|
|
state 1229
|
|
|
|
188 class_statement: method_modifiers function_loc is_reference sm_name_with_typevar '(' $@19 parameter_list ')' . sm_opt_return_type method_body
|
|
|
|
':' shift, and go to state 940
|
|
|
|
$default reduce using rule 658 (sm_opt_return_type)
|
|
|
|
sm_opt_return_type go to state 1237
|
|
|
|
|
|
state 1230
|
|
|
|
190 class_statement: non_empty_user_attributes method_modifiers function_loc is_reference sm_name_with_typevar '(' $@20 parameter_list . ')' sm_opt_return_type method_body
|
|
|
|
')' shift, and go to state 1238
|
|
|
|
|
|
state 1231
|
|
|
|
352 lexical_var_list: lexical_var_list ',' '&' T_VARIABLE .
|
|
|
|
$default reduce using rule 352 (lexical_var_list)
|
|
|
|
|
|
state 1232
|
|
|
|
80 additional_catches: additional_catches T_CATCH . '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}'
|
|
|
|
'(' shift, and go to state 1239
|
|
|
|
|
|
state 1233
|
|
|
|
84 optional_finally: finally .
|
|
|
|
$default reduce using rule 84 (optional_finally)
|
|
|
|
|
|
state 1234
|
|
|
|
74 statement: T_TRY '{' inner_statement_list '}' T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}' additional_catches optional_finally .
|
|
|
|
$default reduce using rule 74 (statement)
|
|
|
|
|
|
state 1235
|
|
|
|
121 trait_list: trait_list . ',' fully_qualified_class_name
|
|
199 trait_precedence_rule: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM ident T_INSTEADOF trait_list . ';'
|
|
|
|
',' shift, and go to state 982
|
|
';' shift, and go to state 1240
|
|
|
|
|
|
state 1236
|
|
|
|
200 trait_alias_rule: trait_alias_rule_method T_AS method_modifiers ident ';' .
|
|
|
|
$default reduce using rule 200 (trait_alias_rule)
|
|
|
|
|
|
state 1237
|
|
|
|
188 class_statement: method_modifiers function_loc is_reference sm_name_with_typevar '(' $@19 parameter_list ')' sm_opt_return_type . method_body
|
|
|
|
';' shift, and go to state 1241
|
|
'{' shift, and go to state 1242
|
|
|
|
method_body go to state 1243
|
|
|
|
|
|
state 1238
|
|
|
|
190 class_statement: non_empty_user_attributes method_modifiers function_loc is_reference sm_name_with_typevar '(' $@20 parameter_list ')' . sm_opt_return_type method_body
|
|
|
|
':' shift, and go to state 940
|
|
|
|
$default reduce using rule 658 (sm_opt_return_type)
|
|
|
|
sm_opt_return_type go to state 1244
|
|
|
|
|
|
state 1239
|
|
|
|
80 additional_catches: additional_catches T_CATCH '(' . fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 134
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 167
|
|
class_namespace_string_typeargs go to state 97
|
|
fully_qualified_class_name go to state 1245
|
|
|
|
|
|
state 1240
|
|
|
|
199 trait_precedence_rule: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM ident T_INSTEADOF trait_list ';' .
|
|
|
|
$default reduce using rule 199 (trait_precedence_rule)
|
|
|
|
|
|
state 1241
|
|
|
|
238 method_body: ';' .
|
|
|
|
$default reduce using rule 238 (method_body)
|
|
|
|
|
|
state 1242
|
|
|
|
239 method_body: '{' . inner_statement_list '}'
|
|
|
|
$default reduce using rule 39 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1246
|
|
|
|
|
|
state 1243
|
|
|
|
188 class_statement: method_modifiers function_loc is_reference sm_name_with_typevar '(' $@19 parameter_list ')' sm_opt_return_type method_body .
|
|
|
|
$default reduce using rule 188 (class_statement)
|
|
|
|
|
|
state 1244
|
|
|
|
190 class_statement: non_empty_user_attributes method_modifiers function_loc is_reference sm_name_with_typevar '(' $@20 parameter_list ')' sm_opt_return_type . method_body
|
|
|
|
';' shift, and go to state 1241
|
|
'{' shift, and go to state 1242
|
|
|
|
method_body go to state 1247
|
|
|
|
|
|
state 1245
|
|
|
|
80 additional_catches: additional_catches T_CATCH '(' fully_qualified_class_name . T_VARIABLE ')' '{' inner_statement_list '}'
|
|
|
|
T_VARIABLE shift, and go to state 1248
|
|
|
|
|
|
state 1246
|
|
|
|
38 inner_statement_list: inner_statement_list . inner_statement
|
|
239 method_body: '{' inner_statement_list . '}'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'}' shift, and go to state 1249
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
inner_statement go to state 427
|
|
statement go to state 428
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 429
|
|
class_declaration_statement go to state 430
|
|
trait_declaration_statement go to state 431
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 1247
|
|
|
|
190 class_statement: non_empty_user_attributes method_modifiers function_loc is_reference sm_name_with_typevar '(' $@20 parameter_list ')' sm_opt_return_type method_body .
|
|
|
|
$default reduce using rule 190 (class_statement)
|
|
|
|
|
|
state 1248
|
|
|
|
80 additional_catches: additional_catches T_CATCH '(' fully_qualified_class_name T_VARIABLE . ')' '{' inner_statement_list '}'
|
|
|
|
')' shift, and go to state 1250
|
|
|
|
|
|
state 1249
|
|
|
|
239 method_body: '{' inner_statement_list '}' .
|
|
|
|
$default reduce using rule 239 (method_body)
|
|
|
|
|
|
state 1250
|
|
|
|
80 additional_catches: additional_catches T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' . '{' inner_statement_list '}'
|
|
|
|
'{' shift, and go to state 1251
|
|
|
|
|
|
state 1251
|
|
|
|
80 additional_catches: additional_catches T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' . inner_statement_list '}'
|
|
|
|
$default reduce using rule 39 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1252
|
|
|
|
|
|
state 1252
|
|
|
|
38 inner_statement_list: inner_statement_list . inner_statement
|
|
80 additional_catches: additional_catches T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list . '}'
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 4
|
|
T_REQUIRE shift, and go to state 5
|
|
T_EVAL shift, and go to state 6
|
|
T_INCLUDE_ONCE shift, and go to state 7
|
|
T_INCLUDE shift, and go to state 8
|
|
T_PRINT shift, and go to state 9
|
|
T_SL shift, and go to state 10
|
|
'+' shift, and go to state 11
|
|
'-' shift, and go to state 12
|
|
'!' shift, and go to state 13
|
|
'~' shift, and go to state 14
|
|
'@' shift, and go to state 15
|
|
T_UNSET_CAST shift, and go to state 16
|
|
T_BOOL_CAST shift, and go to state 17
|
|
T_OBJECT_CAST shift, and go to state 18
|
|
T_ARRAY_CAST shift, and go to state 19
|
|
T_STRING_CAST shift, and go to state 20
|
|
T_DOUBLE_CAST shift, and go to state 21
|
|
T_INT_CAST shift, and go to state 22
|
|
T_DEC shift, and go to state 23
|
|
T_INC shift, and go to state 24
|
|
T_CLONE shift, and go to state 25
|
|
T_NEW shift, and go to state 26
|
|
T_EXIT shift, and go to state 27
|
|
T_IF shift, and go to state 28
|
|
T_LNUMBER shift, and go to state 29
|
|
T_DNUMBER shift, and go to state 30
|
|
T_STRING shift, and go to state 31
|
|
T_STRING_VARNAME shift, and go to state 32
|
|
T_VARIABLE shift, and go to state 33
|
|
T_INLINE_HTML shift, and go to state 34
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 35
|
|
T_ECHO shift, and go to state 36
|
|
T_DO shift, and go to state 37
|
|
T_WHILE shift, and go to state 38
|
|
T_FOR shift, and go to state 39
|
|
T_FOREACH shift, and go to state 40
|
|
T_DECLARE shift, and go to state 41
|
|
T_SWITCH shift, and go to state 42
|
|
T_BREAK shift, and go to state 43
|
|
T_GOTO shift, and go to state 44
|
|
T_CONTINUE shift, and go to state 45
|
|
T_FUNCTION shift, and go to state 46
|
|
T_RETURN shift, and go to state 48
|
|
T_TRY shift, and go to state 49
|
|
T_THROW shift, and go to state 50
|
|
T_GLOBAL shift, and go to state 52
|
|
T_FINAL shift, and go to state 53
|
|
T_ABSTRACT shift, and go to state 54
|
|
T_STATIC shift, and go to state 55
|
|
T_UNSET shift, and go to state 56
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_CLASS shift, and go to state 60
|
|
T_INTERFACE shift, and go to state 61
|
|
T_LIST shift, and go to state 62
|
|
T_ARRAY shift, and go to state 63
|
|
T_CLASS_C shift, and go to state 64
|
|
T_METHOD_C shift, and go to state 65
|
|
T_FUNC_C shift, and go to state 66
|
|
T_LINE shift, and go to state 67
|
|
T_FILE shift, and go to state 68
|
|
T_START_HEREDOC shift, and go to state 69
|
|
T_NAMESPACE shift, and go to state 133
|
|
T_NS_C shift, and go to state 71
|
|
T_DIR shift, and go to state 72
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_YIELD shift, and go to state 74
|
|
T_XHP_LABEL shift, and go to state 75
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 79
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
T_TRAIT shift, and go to state 81
|
|
T_TRAIT_C shift, and go to state 82
|
|
T_XHP_TAG_LT shift, and go to state 83
|
|
'(' shift, and go to state 84
|
|
';' shift, and go to state 85
|
|
'{' shift, and go to state 86
|
|
'}' shift, and go to state 1253
|
|
'$' shift, and go to state 87
|
|
'`' shift, and go to state 88
|
|
'"' shift, and go to state 89
|
|
'\'' shift, and go to state 90
|
|
|
|
ident go to state 92
|
|
namespace_name go to state 93
|
|
namespace_string_base go to state 94
|
|
namespace_string go to state 95
|
|
namespace_string_typeargs go to state 96
|
|
class_namespace_string_typeargs go to state 97
|
|
inner_statement go to state 427
|
|
statement go to state 428
|
|
function_loc go to state 100
|
|
function_declaration_statement go to state 429
|
|
class_declaration_statement go to state 430
|
|
trait_declaration_statement go to state 431
|
|
class_entry_type go to state 104
|
|
new_expr go to state 105
|
|
expr go to state 106
|
|
expr_no_variable go to state 107
|
|
array_literal go to state 108
|
|
collection_literal go to state 109
|
|
dim_expr go to state 110
|
|
dim_expr_base go to state 111
|
|
xhp_tag go to state 112
|
|
simple_function_call go to state 113
|
|
fully_qualified_class_name go to state 114
|
|
static_class_name go to state 115
|
|
common_scalar go to state 116
|
|
scalar go to state 117
|
|
non_empty_user_attributes go to state 118
|
|
dimmable_variable_access go to state 119
|
|
variable go to state 120
|
|
dimmable_variable go to state 121
|
|
callable_variable go to state 122
|
|
object_method_call go to state 123
|
|
class_method_call go to state 124
|
|
variable_without_objects go to state 125
|
|
reference_variable go to state 126
|
|
compound_variable go to state 127
|
|
simple_indirect_reference go to state 128
|
|
internal_functions go to state 129
|
|
class_constant go to state 130
|
|
|
|
|
|
state 1253
|
|
|
|
80 additional_catches: additional_catches T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}' .
|
|
|
|
$default reduce using rule 80 (additional_catches)
|