6faa7cbea1
Adds runtime support for non-class typehints. Typedefs are introduced using type statements, and autoloaded via a new autoload map entry. Shapes are parsed but the structure is currently thrown away and treated as arrays at runtime. This extends the NamedEntity structure to sometimes cache 'NameDefs', which are either Typedef*'s or Class*'s. VerifyParamType now has to check for typedefs if an object fails a class check, or when checking non-Object types against a non-primitive type name that isn't a class.
34708 linhas
1.4 MiB
Plaintext
34708 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
|
|
T_UNRESOLVED_TYPE
|
|
|
|
|
|
State 545 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 | sm_typedef_statement
|
|
9 | T_HALT_COMPILER '(' ')' ';'
|
|
10 | T_NAMESPACE namespace_name ';'
|
|
|
|
11 $@1: /* empty */
|
|
|
|
12 top_statement: T_NAMESPACE namespace_name '{' $@1 top_statement_list '}'
|
|
|
|
13 $@2: /* empty */
|
|
|
|
14 top_statement: T_NAMESPACE '{' $@2 top_statement_list '}'
|
|
15 | T_USE use_declarations ';'
|
|
16 | constant_declaration ';'
|
|
|
|
17 ident: T_STRING
|
|
18 | T_XHP_ATTRIBUTE
|
|
19 | T_XHP_CATEGORY
|
|
20 | T_XHP_CHILDREN
|
|
21 | T_XHP_REQUIRED
|
|
22 | T_XHP_ENUM
|
|
|
|
23 use_declarations: use_declarations ',' use_declaration
|
|
24 | use_declaration
|
|
|
|
25 use_declaration: namespace_name
|
|
26 | T_NS_SEPARATOR namespace_name
|
|
27 | namespace_name T_AS ident
|
|
28 | T_NS_SEPARATOR namespace_name T_AS ident
|
|
|
|
29 namespace_name: ident
|
|
30 | namespace_name T_NS_SEPARATOR ident
|
|
|
|
31 namespace_string_base: namespace_name
|
|
32 | T_NS_SEPARATOR namespace_name
|
|
33 | T_NAMESPACE T_NS_SEPARATOR namespace_name
|
|
|
|
34 namespace_string: namespace_string_base
|
|
|
|
35 namespace_string_typeargs: namespace_string_base sm_typeargs_opt
|
|
|
|
36 class_namespace_string_typeargs: namespace_string_base sm_typeargs_opt
|
|
|
|
37 constant_declaration: constant_declaration ',' sm_name_with_type '=' static_scalar
|
|
38 | T_CONST sm_name_with_type '=' static_scalar
|
|
|
|
39 inner_statement_list: inner_statement_list inner_statement
|
|
40 | /* empty */
|
|
|
|
41 inner_statement: statement
|
|
42 | function_declaration_statement
|
|
43 | class_declaration_statement
|
|
44 | trait_declaration_statement
|
|
|
|
45 statement: '{' inner_statement_list '}'
|
|
46 | T_IF parenthesis_expr statement elseif_list else_single
|
|
47 | T_IF parenthesis_expr ':' inner_statement_list new_elseif_list new_else_single T_ENDIF ';'
|
|
|
|
48 $@3: /* empty */
|
|
|
|
49 statement: T_WHILE parenthesis_expr $@3 while_statement
|
|
|
|
50 $@4: /* empty */
|
|
|
|
51 statement: T_DO $@4 statement T_WHILE parenthesis_expr ';'
|
|
|
|
52 $@5: /* empty */
|
|
|
|
53 statement: T_FOR '(' for_expr ';' for_expr ';' for_expr ')' $@5 for_statement
|
|
|
|
54 $@6: /* empty */
|
|
|
|
55 statement: T_SWITCH parenthesis_expr $@6 switch_case_list
|
|
56 | T_BREAK ';'
|
|
57 | T_BREAK expr ';'
|
|
58 | T_CONTINUE ';'
|
|
59 | T_CONTINUE expr ';'
|
|
60 | T_RETURN ';'
|
|
61 | T_RETURN expr ';'
|
|
62 | T_YIELD T_BREAK ';'
|
|
63 | T_GLOBAL global_var_list ';'
|
|
64 | T_STATIC static_var_list ';'
|
|
65 | T_ECHO expr_list ';'
|
|
66 | T_UNSET '(' variable_list ')' ';'
|
|
67 | ';'
|
|
68 | T_INLINE_HTML
|
|
|
|
69 $@7: /* empty */
|
|
|
|
70 statement: T_FOREACH '(' expr T_AS foreach_variable foreach_optional_arg ')' $@7 foreach_statement
|
|
71 | T_DECLARE '(' declare_list ')' declare_statement
|
|
72 | T_TRY '{' inner_statement_list '}' T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}' additional_catches optional_finally
|
|
73 | T_TRY '{' inner_statement_list '}' finally
|
|
74 | T_THROW expr ';'
|
|
75 | T_GOTO ident ';'
|
|
76 | expr ';'
|
|
77 | yield_expr ';'
|
|
78 | yield_assign_expr ';'
|
|
79 | yield_list_assign_expr ';'
|
|
80 | ident ':'
|
|
|
|
81 additional_catches: additional_catches T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}'
|
|
82 | /* empty */
|
|
|
|
83 $@8: /* empty */
|
|
|
|
84 finally: $@8 T_FINALLY '{' inner_statement_list '}'
|
|
|
|
85 optional_finally: finally
|
|
86 | /* empty */
|
|
|
|
87 is_reference: '&'
|
|
88 | /* empty */
|
|
|
|
89 function_loc: T_FUNCTION
|
|
|
|
90 $@9: /* empty */
|
|
|
|
91 function_declaration_statement: function_loc is_reference sm_name_with_typevar $@9 '(' parameter_list ')' sm_opt_return_type '{' inner_statement_list '}'
|
|
|
|
92 $@10: /* empty */
|
|
|
|
93 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 '}'
|
|
|
|
94 $@11: /* empty */
|
|
|
|
95 class_declaration_statement: class_entry_type class_decl_name $@11 extends_from implements_list '{' class_statement_list '}'
|
|
|
|
96 $@12: /* empty */
|
|
|
|
97 class_declaration_statement: non_empty_user_attributes class_entry_type class_decl_name $@12 extends_from implements_list '{' class_statement_list '}'
|
|
|
|
98 $@13: /* empty */
|
|
|
|
99 class_declaration_statement: T_INTERFACE interface_decl_name $@13 interface_extends_list '{' class_statement_list '}'
|
|
|
|
100 $@14: /* empty */
|
|
|
|
101 class_declaration_statement: non_empty_user_attributes T_INTERFACE interface_decl_name $@14 interface_extends_list '{' class_statement_list '}'
|
|
|
|
102 $@15: /* empty */
|
|
|
|
103 trait_declaration_statement: T_TRAIT trait_decl_name $@15 '{' class_statement_list '}'
|
|
|
|
104 $@16: /* empty */
|
|
|
|
105 trait_declaration_statement: non_empty_user_attributes T_TRAIT trait_decl_name $@16 '{' class_statement_list '}'
|
|
|
|
106 class_decl_name: sm_name_with_typevar
|
|
107 | T_XHP_LABEL
|
|
|
|
108 interface_decl_name: sm_name_with_typevar
|
|
|
|
109 trait_decl_name: sm_name_with_typevar
|
|
|
|
110 class_entry_type: T_CLASS
|
|
111 | T_ABSTRACT T_CLASS
|
|
112 | T_FINAL T_CLASS
|
|
|
|
113 extends_from: T_EXTENDS fully_qualified_class_name
|
|
114 | /* empty */
|
|
|
|
115 implements_list: T_IMPLEMENTS interface_list
|
|
116 | /* empty */
|
|
|
|
117 interface_extends_list: T_EXTENDS interface_list
|
|
118 | /* empty */
|
|
|
|
119 interface_list: fully_qualified_class_name
|
|
120 | interface_list ',' fully_qualified_class_name
|
|
|
|
121 trait_list: fully_qualified_class_name
|
|
122 | trait_list ',' fully_qualified_class_name
|
|
|
|
123 foreach_optional_arg: T_DOUBLE_ARROW foreach_variable
|
|
124 | /* empty */
|
|
|
|
125 foreach_variable: variable
|
|
126 | '&' variable
|
|
|
|
127 for_statement: statement
|
|
128 | ':' inner_statement_list T_ENDFOR ';'
|
|
|
|
129 foreach_statement: statement
|
|
130 | ':' inner_statement_list T_ENDFOREACH ';'
|
|
|
|
131 while_statement: statement
|
|
132 | ':' inner_statement_list T_ENDWHILE ';'
|
|
|
|
133 declare_statement: statement
|
|
134 | ':' inner_statement_list T_ENDDECLARE ';'
|
|
|
|
135 declare_list: ident '=' static_scalar
|
|
136 | declare_list ',' ident '=' static_scalar
|
|
|
|
137 switch_case_list: '{' case_list '}'
|
|
138 | '{' ';' case_list '}'
|
|
139 | ':' case_list T_ENDSWITCH ';'
|
|
140 | ':' ';' case_list T_ENDSWITCH ';'
|
|
|
|
141 case_list: case_list T_CASE expr case_separator inner_statement_list
|
|
142 | case_list T_DEFAULT case_separator inner_statement_list
|
|
143 | /* empty */
|
|
|
|
144 case_separator: ':'
|
|
145 | ';'
|
|
|
|
146 elseif_list: elseif_list T_ELSEIF parenthesis_expr statement
|
|
147 | /* empty */
|
|
|
|
148 new_elseif_list: new_elseif_list T_ELSEIF parenthesis_expr ':' inner_statement_list
|
|
149 | /* empty */
|
|
|
|
150 else_single: T_ELSE statement
|
|
151 | /* empty */
|
|
|
|
152 new_else_single: T_ELSE ':' inner_statement_list
|
|
153 | /* empty */
|
|
|
|
154 parameter_list: non_empty_parameter_list ',' T_VARARG
|
|
155 | non_empty_parameter_list possible_comma_in_hphp_syntax
|
|
156 | T_VARARG
|
|
157 | /* empty */
|
|
|
|
158 non_empty_parameter_list: optional_user_attributes sm_type_opt T_VARIABLE
|
|
159 | optional_user_attributes sm_type_opt '&' T_VARIABLE
|
|
160 | optional_user_attributes sm_type_opt '&' T_VARIABLE '=' static_scalar
|
|
161 | optional_user_attributes sm_type_opt T_VARIABLE '=' static_scalar
|
|
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
|
|
164 | non_empty_parameter_list ',' optional_user_attributes sm_type_opt '&' T_VARIABLE '=' static_scalar
|
|
165 | non_empty_parameter_list ',' optional_user_attributes sm_type_opt T_VARIABLE '=' static_scalar
|
|
|
|
166 function_call_parameter_list: non_empty_fcall_parameter_list possible_comma_in_hphp_syntax
|
|
167 | /* empty */
|
|
|
|
168 non_empty_fcall_parameter_list: expr
|
|
169 | '&' variable
|
|
170 | non_empty_fcall_parameter_list ',' expr
|
|
171 | non_empty_fcall_parameter_list ',' '&' variable
|
|
|
|
172 global_var_list: global_var_list ',' global_var
|
|
173 | global_var
|
|
|
|
174 global_var: T_VARIABLE
|
|
175 | '$' variable
|
|
176 | '$' '{' expr '}'
|
|
|
|
177 static_var_list: static_var_list ',' T_VARIABLE
|
|
178 | static_var_list ',' T_VARIABLE '=' static_scalar
|
|
179 | T_VARIABLE
|
|
180 | T_VARIABLE '=' static_scalar
|
|
|
|
181 class_statement_list: class_statement_list class_statement
|
|
182 | /* empty */
|
|
|
|
183 $@17: /* empty */
|
|
|
|
184 class_statement: variable_modifiers $@17 class_variable_declaration ';'
|
|
|
|
185 $@18: /* empty */
|
|
|
|
186 class_statement: non_empty_member_modifiers sm_type $@18 class_variable_declaration ';'
|
|
187 | class_constant_declaration ';'
|
|
|
|
188 $@19: /* empty */
|
|
|
|
189 class_statement: method_modifiers function_loc is_reference sm_name_with_typevar '(' $@19 parameter_list ')' sm_opt_return_type method_body
|
|
|
|
190 $@20: /* empty */
|
|
|
|
191 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
|
|
192 | T_XHP_ATTRIBUTE xhp_attribute_stmt ';'
|
|
193 | T_XHP_CATEGORY xhp_category_stmt ';'
|
|
194 | T_XHP_CHILDREN xhp_children_stmt ';'
|
|
195 | T_USE trait_list ';'
|
|
196 | T_USE trait_list '{' trait_rules '}'
|
|
|
|
197 trait_rules: trait_rules trait_precedence_rule
|
|
198 | trait_rules trait_alias_rule
|
|
199 | /* empty */
|
|
|
|
200 trait_precedence_rule: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM ident T_INSTEADOF trait_list ';'
|
|
|
|
201 trait_alias_rule: trait_alias_rule_method T_AS method_modifiers ident ';'
|
|
202 | trait_alias_rule_method T_AS non_empty_member_modifiers ';'
|
|
|
|
203 trait_alias_rule_method: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM ident
|
|
204 | ident
|
|
|
|
205 xhp_attribute_stmt: xhp_attribute_decl
|
|
206 | xhp_attribute_stmt ',' xhp_attribute_decl
|
|
|
|
207 xhp_attribute_decl: xhp_attribute_decl_type xhp_label_ws xhp_attribute_default xhp_attribute_is_required
|
|
208 | T_XHP_LABEL
|
|
|
|
209 xhp_attribute_decl_type: T_ARRAY
|
|
210 | fully_qualified_class_name
|
|
211 | T_VAR
|
|
212 | T_XHP_ENUM '{' xhp_attribute_enum '}'
|
|
|
|
213 xhp_attribute_enum: common_scalar
|
|
214 | xhp_attribute_enum ',' common_scalar
|
|
|
|
215 xhp_attribute_default: '=' static_scalar
|
|
216 | /* empty */
|
|
|
|
217 xhp_attribute_is_required: '@' T_XHP_REQUIRED
|
|
218 | /* empty */
|
|
|
|
219 xhp_category_stmt: xhp_category_decl
|
|
220 | xhp_category_stmt ',' xhp_category_decl
|
|
|
|
221 xhp_category_decl: T_XHP_CATEGORY_LABEL
|
|
|
|
222 xhp_children_stmt: xhp_children_paren_expr
|
|
223 | ident
|
|
224 | T_EMPTY
|
|
|
|
225 xhp_children_paren_expr: '(' xhp_children_decl_expr ')'
|
|
226 | '(' xhp_children_decl_expr ')' '*'
|
|
227 | '(' xhp_children_decl_expr ')' '?'
|
|
228 | '(' xhp_children_decl_expr ')' '+'
|
|
|
|
229 xhp_children_decl_expr: xhp_children_paren_expr
|
|
230 | xhp_children_decl_tag
|
|
231 | xhp_children_decl_tag '*'
|
|
232 | xhp_children_decl_tag '?'
|
|
233 | xhp_children_decl_tag '+'
|
|
234 | xhp_children_decl_expr ',' xhp_children_decl_expr
|
|
235 | xhp_children_decl_expr '|' xhp_children_decl_expr
|
|
|
|
236 xhp_children_decl_tag: ident
|
|
237 | T_XHP_LABEL
|
|
238 | T_XHP_CATEGORY_LABEL
|
|
|
|
239 method_body: ';'
|
|
240 | '{' inner_statement_list '}'
|
|
|
|
241 variable_modifiers: non_empty_member_modifiers
|
|
242 | T_VAR
|
|
|
|
243 method_modifiers: non_empty_member_modifiers
|
|
244 | /* empty */
|
|
|
|
245 non_empty_member_modifiers: member_modifier
|
|
246 | non_empty_member_modifiers member_modifier
|
|
|
|
247 member_modifier: T_PUBLIC
|
|
248 | T_PROTECTED
|
|
249 | T_PRIVATE
|
|
250 | T_STATIC
|
|
251 | T_ABSTRACT
|
|
252 | T_FINAL
|
|
|
|
253 class_variable_declaration: class_variable_declaration ',' T_VARIABLE
|
|
254 | class_variable_declaration ',' T_VARIABLE '=' static_scalar
|
|
255 | T_VARIABLE
|
|
256 | T_VARIABLE '=' static_scalar
|
|
|
|
257 class_constant_declaration: class_constant_declaration ',' sm_name_with_type '=' static_scalar
|
|
258 | T_CONST sm_name_with_type '=' static_scalar
|
|
|
|
259 new_expr: T_NEW class_name_reference ctor_arguments
|
|
260 | '(' new_expr ')'
|
|
|
|
261 parenthesis_expr: '(' expr ')'
|
|
|
|
262 expr_list: expr_list ',' expr
|
|
263 | expr
|
|
|
|
264 for_expr: expr_list
|
|
265 | /* empty */
|
|
|
|
266 yield_expr: T_YIELD expr
|
|
|
|
267 yield_assign_expr: variable '=' yield_expr
|
|
|
|
268 yield_list_assign_expr: T_LIST '(' assignment_list ')' '=' yield_expr
|
|
|
|
269 expr: expr_no_variable
|
|
270 | variable
|
|
271 | new_expr
|
|
|
|
272 expr_no_variable: T_LIST '(' assignment_list ')' '=' expr
|
|
273 | variable '=' expr
|
|
274 | variable '=' '&' variable
|
|
275 | variable '=' '&' T_NEW class_name_reference ctor_arguments
|
|
276 | T_CLONE expr
|
|
277 | variable T_PLUS_EQUAL expr
|
|
278 | variable T_MINUS_EQUAL expr
|
|
279 | variable T_MUL_EQUAL expr
|
|
280 | variable T_DIV_EQUAL expr
|
|
281 | variable T_CONCAT_EQUAL expr
|
|
282 | variable T_MOD_EQUAL expr
|
|
283 | variable T_AND_EQUAL expr
|
|
284 | variable T_OR_EQUAL expr
|
|
285 | variable T_XOR_EQUAL expr
|
|
286 | variable T_SL_EQUAL expr
|
|
287 | variable T_SR_EQUAL expr
|
|
288 | variable T_INC
|
|
289 | T_INC variable
|
|
290 | variable T_DEC
|
|
291 | T_DEC variable
|
|
292 | expr T_BOOLEAN_OR expr
|
|
293 | expr T_BOOLEAN_AND expr
|
|
294 | expr T_LOGICAL_OR expr
|
|
295 | expr T_LOGICAL_AND expr
|
|
296 | expr T_LOGICAL_XOR expr
|
|
297 | expr '|' expr
|
|
298 | expr '&' expr
|
|
299 | expr '^' expr
|
|
300 | expr '.' expr
|
|
301 | expr '+' expr
|
|
302 | expr '-' expr
|
|
303 | expr '*' expr
|
|
304 | expr '/' expr
|
|
305 | expr '%' expr
|
|
306 | expr T_SL expr
|
|
307 | expr T_SR expr
|
|
308 | '+' expr
|
|
309 | '-' expr
|
|
310 | '!' expr
|
|
311 | '~' expr
|
|
312 | expr T_IS_IDENTICAL expr
|
|
313 | expr T_IS_NOT_IDENTICAL expr
|
|
314 | expr T_IS_EQUAL expr
|
|
315 | expr T_IS_NOT_EQUAL expr
|
|
316 | expr '<' expr
|
|
317 | expr T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr '>' expr
|
|
319 | expr T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr T_INSTANCEOF class_name_reference
|
|
321 | '(' expr_no_variable ')'
|
|
322 | expr '?' expr ':' expr
|
|
323 | expr '?' ':' expr
|
|
324 | internal_functions
|
|
325 | T_INT_CAST expr
|
|
326 | T_DOUBLE_CAST expr
|
|
327 | T_STRING_CAST expr
|
|
328 | T_ARRAY_CAST expr
|
|
329 | T_OBJECT_CAST expr
|
|
330 | T_BOOL_CAST expr
|
|
331 | T_UNSET_CAST expr
|
|
332 | T_EXIT exit_expr
|
|
333 | '@' expr
|
|
334 | scalar
|
|
335 | array_literal
|
|
336 | shape_literal
|
|
337 | '`' backticks_expr '`'
|
|
338 | T_PRINT expr
|
|
|
|
339 $@21: /* empty */
|
|
|
|
340 expr_no_variable: function_loc is_reference '(' $@21 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
341 $@22: /* empty */
|
|
|
|
342 expr_no_variable: T_STATIC function_loc is_reference '(' $@22 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
343 | xhp_tag
|
|
344 | dim_expr
|
|
345 | collection_literal
|
|
|
|
346 non_empty_shape_pair_list: non_empty_shape_pair_list ',' T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW expr
|
|
347 | T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW expr
|
|
|
|
348 non_empty_static_shape_pair_list: non_empty_static_shape_pair_list ',' T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW static_scalar
|
|
349 | T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW static_scalar
|
|
|
|
350 shape_pair_list: non_empty_shape_pair_list possible_comma
|
|
351 | /* empty */
|
|
|
|
352 static_shape_pair_list: non_empty_static_shape_pair_list possible_comma
|
|
353 | /* empty */
|
|
|
|
354 shape_literal: T_SHAPE '(' shape_pair_list ')'
|
|
|
|
355 array_literal: T_ARRAY '(' array_pair_list ')'
|
|
|
|
356 collection_literal: fully_qualified_class_name '{' collection_init '}'
|
|
|
|
357 static_collection_literal: fully_qualified_class_name '{' static_collection_init '}'
|
|
|
|
358 dim_expr: dim_expr '[' dim_offset ']'
|
|
359 | dim_expr_base '[' dim_offset ']'
|
|
|
|
360 dim_expr_base: array_literal
|
|
361 | class_constant
|
|
362 | '(' expr_no_variable ')'
|
|
|
|
363 lexical_vars: T_USE '(' lexical_var_list possible_comma_in_hphp_syntax ')'
|
|
364 | /* empty */
|
|
|
|
365 lexical_var_list: lexical_var_list ',' T_VARIABLE
|
|
366 | lexical_var_list ',' '&' T_VARIABLE
|
|
367 | T_VARIABLE
|
|
368 | '&' T_VARIABLE
|
|
|
|
369 xhp_tag: T_XHP_TAG_LT T_XHP_LABEL xhp_tag_body T_XHP_TAG_GT
|
|
|
|
370 xhp_tag_body: xhp_attributes '/'
|
|
371 | xhp_attributes T_XHP_TAG_GT xhp_children T_XHP_TAG_LT '/' xhp_opt_end_label
|
|
|
|
372 xhp_opt_end_label: /* empty */
|
|
373 | T_XHP_LABEL
|
|
|
|
374 xhp_attributes: xhp_attributes xhp_attribute_name '=' xhp_attribute_value
|
|
375 | /* empty */
|
|
|
|
376 xhp_children: xhp_children xhp_child
|
|
377 | /* empty */
|
|
|
|
378 xhp_attribute_name: T_XHP_LABEL
|
|
|
|
379 xhp_attribute_value: T_XHP_TEXT
|
|
380 | '{' expr '}'
|
|
|
|
381 xhp_child: T_XHP_TEXT
|
|
382 | '{' expr '}'
|
|
383 | xhp_tag
|
|
|
|
384 xhp_label_ws: xhp_bareword
|
|
385 | xhp_label_ws ':' xhp_bareword
|
|
386 | xhp_label_ws '-' xhp_bareword
|
|
|
|
387 xhp_bareword: ident
|
|
388 | T_EXIT
|
|
389 | T_FUNCTION
|
|
390 | T_CONST
|
|
391 | T_RETURN
|
|
392 | T_YIELD
|
|
393 | T_TRY
|
|
394 | T_CATCH
|
|
395 | T_FINALLY
|
|
396 | T_THROW
|
|
397 | T_IF
|
|
398 | T_ELSEIF
|
|
399 | T_ENDIF
|
|
400 | T_ELSE
|
|
401 | T_WHILE
|
|
402 | T_ENDWHILE
|
|
403 | T_DO
|
|
404 | T_FOR
|
|
405 | T_ENDFOR
|
|
406 | T_FOREACH
|
|
407 | T_ENDFOREACH
|
|
408 | T_DECLARE
|
|
409 | T_ENDDECLARE
|
|
410 | T_INSTANCEOF
|
|
411 | T_AS
|
|
412 | T_SWITCH
|
|
413 | T_ENDSWITCH
|
|
414 | T_CASE
|
|
415 | T_DEFAULT
|
|
416 | T_BREAK
|
|
417 | T_CONTINUE
|
|
418 | T_GOTO
|
|
419 | T_ECHO
|
|
420 | T_PRINT
|
|
421 | T_CLASS
|
|
422 | T_INTERFACE
|
|
423 | T_EXTENDS
|
|
424 | T_IMPLEMENTS
|
|
425 | T_NEW
|
|
426 | T_CLONE
|
|
427 | T_VAR
|
|
428 | T_EVAL
|
|
429 | T_INCLUDE
|
|
430 | T_INCLUDE_ONCE
|
|
431 | T_REQUIRE
|
|
432 | T_REQUIRE_ONCE
|
|
433 | T_NAMESPACE
|
|
434 | T_USE
|
|
435 | T_GLOBAL
|
|
436 | T_ISSET
|
|
437 | T_EMPTY
|
|
438 | T_HALT_COMPILER
|
|
439 | T_STATIC
|
|
440 | T_ABSTRACT
|
|
441 | T_FINAL
|
|
442 | T_PRIVATE
|
|
443 | T_PROTECTED
|
|
444 | T_PUBLIC
|
|
445 | T_UNSET
|
|
446 | T_LIST
|
|
447 | T_ARRAY
|
|
448 | T_LOGICAL_OR
|
|
449 | T_LOGICAL_AND
|
|
450 | T_LOGICAL_XOR
|
|
451 | T_CLASS_C
|
|
452 | T_FUNC_C
|
|
453 | T_METHOD_C
|
|
454 | T_LINE
|
|
455 | T_FILE
|
|
456 | T_DIR
|
|
457 | T_NS_C
|
|
458 | T_TRAIT
|
|
459 | T_TRAIT_C
|
|
460 | T_TYPE
|
|
|
|
461 simple_function_call: namespace_string_typeargs '(' function_call_parameter_list ')'
|
|
|
|
462 fully_qualified_class_name: class_namespace_string_typeargs
|
|
463 | T_XHP_LABEL
|
|
|
|
464 static_class_name: fully_qualified_class_name
|
|
465 | T_STATIC
|
|
466 | reference_variable
|
|
|
|
467 class_name_reference: fully_qualified_class_name
|
|
468 | T_STATIC
|
|
469 | variable_no_calls
|
|
|
|
470 exit_expr: '(' ')'
|
|
471 | parenthesis_expr
|
|
472 | /* empty */
|
|
|
|
473 backticks_expr: /* empty */
|
|
474 | T_ENCAPSED_AND_WHITESPACE
|
|
475 | encaps_list
|
|
|
|
476 ctor_arguments: '(' function_call_parameter_list ')'
|
|
477 | /* empty */
|
|
|
|
478 common_scalar: T_LNUMBER
|
|
479 | T_DNUMBER
|
|
480 | T_CONSTANT_ENCAPSED_STRING
|
|
481 | T_LINE
|
|
482 | T_FILE
|
|
483 | T_DIR
|
|
484 | T_CLASS_C
|
|
485 | T_TRAIT_C
|
|
486 | T_METHOD_C
|
|
487 | T_FUNC_C
|
|
488 | T_NS_C
|
|
489 | T_START_HEREDOC T_ENCAPSED_AND_WHITESPACE T_END_HEREDOC
|
|
490 | T_START_HEREDOC T_END_HEREDOC
|
|
|
|
491 static_scalar: common_scalar
|
|
492 | namespace_string
|
|
493 | '+' static_scalar
|
|
494 | '-' static_scalar
|
|
495 | T_ARRAY '(' static_array_pair_list ')'
|
|
496 | T_SHAPE '(' static_shape_pair_list ')'
|
|
497 | static_class_constant
|
|
498 | static_collection_literal
|
|
|
|
499 static_class_constant: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM ident
|
|
500 | T_XHP_LABEL T_PAAMAYIM_NEKUDOTAYIM ident
|
|
|
|
501 scalar: namespace_string
|
|
502 | T_STRING_VARNAME
|
|
503 | class_constant
|
|
504 | common_scalar
|
|
505 | '"' encaps_list '"'
|
|
506 | '\'' encaps_list '\''
|
|
507 | T_START_HEREDOC encaps_list T_END_HEREDOC
|
|
|
|
508 static_array_pair_list: non_empty_static_array_pair_list possible_comma
|
|
509 | /* empty */
|
|
|
|
510 possible_comma: ','
|
|
511 | /* empty */
|
|
|
|
512 possible_comma_in_hphp_syntax: ','
|
|
513 | /* empty */
|
|
|
|
514 non_empty_static_array_pair_list: non_empty_static_array_pair_list ',' static_scalar T_DOUBLE_ARROW static_scalar
|
|
515 | non_empty_static_array_pair_list ',' static_scalar
|
|
516 | static_scalar T_DOUBLE_ARROW static_scalar
|
|
517 | static_scalar
|
|
|
|
518 common_scalar_ae: T_LNUMBER
|
|
519 | T_DNUMBER
|
|
520 | T_CONSTANT_ENCAPSED_STRING
|
|
521 | T_START_HEREDOC T_ENCAPSED_AND_WHITESPACE T_END_HEREDOC
|
|
522 | T_START_HEREDOC T_END_HEREDOC
|
|
|
|
523 static_numeric_scalar_ae: T_LNUMBER
|
|
524 | T_DNUMBER
|
|
525 | ident
|
|
|
|
526 static_scalar_ae: common_scalar_ae
|
|
527 | ident
|
|
528 | '+' static_numeric_scalar_ae
|
|
529 | '-' static_numeric_scalar_ae
|
|
530 | T_ARRAY '(' static_array_pair_list_ae ')'
|
|
531 | T_SHAPE '(' static_shape_pair_list_ae ')'
|
|
|
|
532 static_array_pair_list_ae: non_empty_static_array_pair_list_ae possible_comma
|
|
533 | /* empty */
|
|
|
|
534 non_empty_static_array_pair_list_ae: non_empty_static_array_pair_list_ae ',' static_scalar_ae T_DOUBLE_ARROW static_scalar_ae
|
|
535 | non_empty_static_array_pair_list_ae ',' static_scalar_ae
|
|
536 | static_scalar_ae T_DOUBLE_ARROW static_scalar_ae
|
|
537 | static_scalar_ae
|
|
|
|
538 non_empty_static_scalar_list_ae: non_empty_static_scalar_list_ae ',' static_scalar_ae
|
|
539 | static_scalar_ae
|
|
|
|
540 static_shape_pair_list_ae: non_empty_static_shape_pair_list_ae possible_comma
|
|
541 | /* empty */
|
|
|
|
542 non_empty_static_shape_pair_list_ae: non_empty_static_shape_pair_list_ae ',' T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW static_scalar_ae
|
|
543 | T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW static_scalar_ae
|
|
|
|
544 static_scalar_list_ae: non_empty_static_scalar_list_ae possible_comma
|
|
545 | /* empty */
|
|
|
|
546 attribute_static_scalar_list: '(' static_scalar_list_ae ')'
|
|
547 | /* empty */
|
|
|
|
548 non_empty_user_attribute_list: non_empty_user_attribute_list ',' ident attribute_static_scalar_list
|
|
549 | ident attribute_static_scalar_list
|
|
|
|
550 $@23: /* empty */
|
|
|
|
551 user_attribute_list: $@23 non_empty_user_attribute_list possible_comma
|
|
|
|
552 non_empty_user_attributes: T_SL user_attribute_list T_SR
|
|
|
|
553 optional_user_attributes: non_empty_user_attributes
|
|
554 | /* empty */
|
|
|
|
555 property_access: property_access_without_variables
|
|
556 | T_OBJECT_OPERATOR variable_without_objects
|
|
|
|
557 property_access_without_variables: T_OBJECT_OPERATOR ident
|
|
558 | T_OBJECT_OPERATOR '{' expr '}'
|
|
|
|
559 array_access: '[' dim_offset ']'
|
|
560 | '{' expr '}'
|
|
|
|
561 dimmable_variable_access: dimmable_variable array_access
|
|
562 | '(' new_expr ')' array_access
|
|
|
|
563 dimmable_variable_no_calls_access: dimmable_variable_no_calls array_access
|
|
564 | '(' new_expr ')' array_access
|
|
|
|
565 variable: variable_without_objects
|
|
566 | simple_function_call
|
|
567 | object_method_call
|
|
568 | class_method_call
|
|
569 | dimmable_variable_access
|
|
570 | variable property_access
|
|
571 | '(' new_expr ')' property_access
|
|
572 | static_class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects
|
|
573 | callable_variable '(' function_call_parameter_list ')'
|
|
574 | '(' variable ')'
|
|
|
|
575 dimmable_variable: simple_function_call
|
|
576 | object_method_call
|
|
577 | class_method_call
|
|
578 | dimmable_variable_access
|
|
579 | variable property_access_without_variables
|
|
580 | '(' new_expr ')' property_access_without_variables
|
|
581 | callable_variable '(' function_call_parameter_list ')'
|
|
582 | '(' variable ')'
|
|
|
|
583 callable_variable: variable_without_objects
|
|
584 | dimmable_variable_access
|
|
585 | '(' variable ')'
|
|
|
|
586 object_method_call: variable T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
589 | '(' new_expr ')' T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
590 | '(' new_expr ')' T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
591 | '(' new_expr ')' T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
592 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
593 | static_class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects '(' function_call_parameter_list ')'
|
|
|
|
594 variable_without_objects: reference_variable
|
|
595 | simple_indirect_reference reference_variable
|
|
|
|
596 reference_variable: reference_variable '[' dim_offset ']'
|
|
597 | reference_variable '{' expr '}'
|
|
598 | compound_variable
|
|
|
|
599 compound_variable: T_VARIABLE
|
|
600 | '$' '{' expr '}'
|
|
|
|
601 dim_offset: expr
|
|
602 | /* empty */
|
|
|
|
603 simple_indirect_reference: '$'
|
|
604 | simple_indirect_reference '$'
|
|
|
|
605 variable_no_calls: variable_without_objects
|
|
606 | dimmable_variable_no_calls_access
|
|
607 | variable_no_calls property_access
|
|
608 | '(' new_expr ')' property_access
|
|
609 | static_class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects
|
|
610 | '(' variable ')'
|
|
|
|
611 dimmable_variable_no_calls: /* empty */
|
|
612 | dimmable_variable_no_calls_access
|
|
613 | variable_no_calls property_access_without_variables
|
|
614 | '(' new_expr ')' property_access_without_variables
|
|
615 | '(' variable ')'
|
|
|
|
616 assignment_list: assignment_list ','
|
|
617 | assignment_list ',' variable
|
|
618 | assignment_list ',' T_LIST '(' assignment_list ')'
|
|
619 | /* empty */
|
|
620 | variable
|
|
621 | T_LIST '(' assignment_list ')'
|
|
|
|
622 array_pair_list: non_empty_array_pair_list possible_comma
|
|
623 | /* empty */
|
|
|
|
624 non_empty_array_pair_list: non_empty_array_pair_list ',' expr T_DOUBLE_ARROW expr
|
|
625 | non_empty_array_pair_list ',' expr
|
|
626 | expr T_DOUBLE_ARROW expr
|
|
627 | expr
|
|
628 | non_empty_array_pair_list ',' expr T_DOUBLE_ARROW '&' variable
|
|
629 | non_empty_array_pair_list ',' '&' variable
|
|
630 | expr T_DOUBLE_ARROW '&' variable
|
|
631 | '&' variable
|
|
|
|
632 collection_init: non_empty_collection_init possible_comma
|
|
633 | /* empty */
|
|
|
|
634 non_empty_collection_init: non_empty_collection_init ',' expr T_DOUBLE_ARROW expr
|
|
635 | non_empty_collection_init ',' expr
|
|
636 | expr T_DOUBLE_ARROW expr
|
|
637 | expr
|
|
|
|
638 static_collection_init: non_empty_static_collection_init possible_comma
|
|
639 | /* empty */
|
|
|
|
640 non_empty_static_collection_init: non_empty_static_collection_init ',' static_scalar T_DOUBLE_ARROW static_scalar
|
|
641 | non_empty_static_collection_init ',' static_scalar
|
|
642 | static_scalar T_DOUBLE_ARROW static_scalar
|
|
643 | static_scalar
|
|
|
|
644 encaps_list: encaps_list encaps_var
|
|
645 | encaps_list T_ENCAPSED_AND_WHITESPACE
|
|
646 | encaps_var
|
|
647 | T_ENCAPSED_AND_WHITESPACE encaps_var
|
|
|
|
648 encaps_var: T_VARIABLE
|
|
649 | T_VARIABLE '[' encaps_var_offset ']'
|
|
650 | T_VARIABLE T_OBJECT_OPERATOR ident
|
|
651 | T_DOLLAR_OPEN_CURLY_BRACES expr '}'
|
|
652 | T_DOLLAR_OPEN_CURLY_BRACES T_STRING_VARNAME '[' expr ']' '}'
|
|
653 | T_CURLY_OPEN variable '}'
|
|
|
|
654 encaps_var_offset: ident
|
|
655 | T_NUM_STRING
|
|
656 | T_VARIABLE
|
|
|
|
657 internal_functions: T_ISSET '(' variable_list ')'
|
|
658 | T_EMPTY '(' variable ')'
|
|
659 | T_INCLUDE expr
|
|
660 | T_INCLUDE_ONCE expr
|
|
661 | T_EVAL '(' expr ')'
|
|
662 | T_REQUIRE expr
|
|
663 | T_REQUIRE_ONCE expr
|
|
|
|
664 variable_list: variable
|
|
665 | variable_list ',' variable
|
|
|
|
666 class_constant: static_class_name T_PAAMAYIM_NEKUDOTAYIM ident
|
|
|
|
667 sm_typedef_statement: T_TYPE ident '=' sm_type ';'
|
|
|
|
668 sm_name_with_type: ident
|
|
669 | sm_type ident
|
|
|
|
670 sm_name_with_typevar: ident
|
|
671 | ident T_TYPELIST_LT sm_typevar_list T_TYPELIST_GT
|
|
|
|
672 sm_typeargs_opt: T_TYPELIST_LT sm_type_list T_TYPELIST_GT
|
|
673 | /* empty */
|
|
|
|
674 sm_type_list: sm_type
|
|
675 | sm_type_list ',' sm_type
|
|
|
|
676 sm_func_type_list: sm_type_list ',' T_VARARG
|
|
677 | sm_type_list
|
|
678 | T_VARARG
|
|
679 | /* empty */
|
|
|
|
680 sm_opt_return_type: /* empty */
|
|
681 | ':' sm_type
|
|
|
|
682 sm_typevar_list: ident ',' sm_typevar_list
|
|
683 | ident
|
|
684 | ident T_AS sm_shape_type sm_typevar_list
|
|
685 | ident T_AS ident ',' sm_typevar_list
|
|
686 | ident T_AS ident
|
|
687 | ident T_AS sm_shape_type
|
|
|
|
688 sm_shape_member_type: T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW sm_type
|
|
|
|
689 sm_non_empty_shape_member_list: sm_non_empty_shape_member_list ',' sm_shape_member_type
|
|
690 | sm_shape_member_type
|
|
|
|
691 sm_shape_member_list: sm_non_empty_shape_member_list possible_comma
|
|
692 | /* empty */
|
|
|
|
693 sm_shape_type: T_SHAPE '(' sm_shape_member_list ')'
|
|
|
|
694 sm_type: '?' sm_type
|
|
695 | '@' sm_type
|
|
696 | ident sm_typeargs_opt
|
|
697 | T_ARRAY
|
|
698 | sm_shape_type
|
|
699 | T_ARRAY T_TYPELIST_LT sm_type T_TYPELIST_GT
|
|
700 | T_ARRAY T_TYPELIST_LT sm_type ',' sm_type T_TYPELIST_GT
|
|
701 | T_XHP_LABEL
|
|
702 | '(' T_FUNCTION '(' sm_func_type_list ')' ':' sm_type ')'
|
|
703 | '(' sm_type_list ',' sm_type ')'
|
|
|
|
704 sm_type_opt: sm_type
|
|
705 | /* empty */
|
|
|
|
|
|
Terminals, with rules where they appear
|
|
|
|
$end (0) 0
|
|
'!' (33) 310
|
|
'"' (34) 505
|
|
'$' (36) 175 176 600 603 604
|
|
'%' (37) 305
|
|
'&' (38) 87 126 159 160 163 164 169 171 274 275 298 366 368 628 629
|
|
630 631
|
|
'\'' (39) 506
|
|
'(' (40) 9 53 66 70 71 72 81 91 93 189 191 225 226 227 228 260 261
|
|
268 272 321 340 342 354 355 362 363 461 470 476 495 496 530 531
|
|
546 562 564 571 573 574 580 581 582 585 586 587 588 589 590 591
|
|
592 593 608 610 614 615 618 621 657 658 661 693 702 703
|
|
')' (41) 9 53 66 70 71 72 81 91 93 189 191 225 226 227 228 260 261
|
|
268 272 321 340 342 354 355 362 363 461 470 476 495 496 530 531
|
|
546 562 564 571 573 574 580 581 582 585 586 587 588 589 590 591
|
|
592 593 608 610 614 615 618 621 657 658 661 693 702 703
|
|
'*' (42) 226 231 303
|
|
'+' (43) 228 233 301 308 493 528
|
|
',' (44) 23 37 120 122 136 154 162 163 164 165 170 171 172 177 178
|
|
206 214 220 234 253 254 257 262 346 348 365 366 510 512 514 515
|
|
534 535 538 542 548 616 617 618 624 625 628 629 634 635 640 641
|
|
665 675 676 682 685 689 700 703
|
|
'-' (45) 302 309 386 494 529
|
|
'.' (46) 300
|
|
'/' (47) 304 370 371
|
|
':' (58) 47 80 128 130 132 134 139 140 144 148 152 322 323 385 681
|
|
702
|
|
';' (59) 9 10 15 16 47 51 53 56 57 58 59 60 61 62 63 64 65 66 67 74
|
|
75 76 77 78 79 128 130 132 134 138 139 140 145 184 186 187 192
|
|
193 194 195 200 201 202 239 667
|
|
'<' (60) 316
|
|
'=' (61) 37 38 135 136 160 161 164 165 178 180 215 254 256 257 258
|
|
267 268 272 273 274 275 374 667
|
|
'>' (62) 318
|
|
'?' (63) 227 232 322 323 694
|
|
'@' (64) 217 333 695
|
|
'[' (91) 358 359 559 596 649 652
|
|
']' (93) 358 359 559 596 649 652
|
|
'^' (94) 299
|
|
'`' (96) 337
|
|
'{' (123) 12 14 45 72 73 81 84 91 93 95 97 99 101 103 105 137 138 176
|
|
196 212 240 340 342 356 357 380 382 558 560 588 591 597 600
|
|
'|' (124) 235 297
|
|
'}' (125) 12 14 45 72 73 81 84 91 93 95 97 99 101 103 105 137 138 176
|
|
196 212 240 340 342 356 357 380 382 558 560 588 591 597 600 651
|
|
652 653
|
|
'~' (126) 311
|
|
error (256)
|
|
T_REQUIRE_ONCE (258) 432 663
|
|
T_REQUIRE (259) 431 662
|
|
T_EVAL (260) 428 661
|
|
T_INCLUDE_ONCE (261) 430 660
|
|
T_INCLUDE (262) 429 659
|
|
T_LOGICAL_OR (263) 294 448
|
|
T_LOGICAL_XOR (264) 296 450
|
|
T_LOGICAL_AND (265) 295 449
|
|
T_PRINT (266) 338 420
|
|
T_SR_EQUAL (267) 287
|
|
T_SL_EQUAL (268) 286
|
|
T_XOR_EQUAL (269) 285
|
|
T_OR_EQUAL (270) 284
|
|
T_AND_EQUAL (271) 283
|
|
T_MOD_EQUAL (272) 282
|
|
T_CONCAT_EQUAL (273) 281
|
|
T_DIV_EQUAL (274) 280
|
|
T_MUL_EQUAL (275) 279
|
|
T_MINUS_EQUAL (276) 278
|
|
T_PLUS_EQUAL (277) 277
|
|
T_BOOLEAN_OR (278) 292
|
|
T_BOOLEAN_AND (279) 293
|
|
T_IS_NOT_IDENTICAL (280) 313
|
|
T_IS_IDENTICAL (281) 312
|
|
T_IS_NOT_EQUAL (282) 315
|
|
T_IS_EQUAL (283) 314
|
|
T_IS_GREATER_OR_EQUAL (284) 319
|
|
T_IS_SMALLER_OR_EQUAL (285) 317
|
|
T_SR (286) 307 552
|
|
T_SL (287) 306 552
|
|
T_INSTANCEOF (288) 320 410
|
|
T_UNSET_CAST (289) 331
|
|
T_BOOL_CAST (290) 330
|
|
T_OBJECT_CAST (291) 329
|
|
T_ARRAY_CAST (292) 328
|
|
T_STRING_CAST (293) 327
|
|
T_DOUBLE_CAST (294) 326
|
|
T_INT_CAST (295) 325
|
|
T_DEC (296) 290 291
|
|
T_INC (297) 288 289
|
|
T_CLONE (298) 276 426
|
|
T_NEW (299) 259 275 425
|
|
T_EXIT (300) 332 388
|
|
T_IF (301) 46 47 397
|
|
T_ELSEIF (302) 146 148 398
|
|
T_ELSE (303) 150 152 400
|
|
T_ENDIF (304) 47 399
|
|
T_LNUMBER (305) 478 518 523
|
|
T_DNUMBER (306) 479 519 524
|
|
T_STRING (307) 17
|
|
T_STRING_VARNAME (308) 502 652
|
|
T_VARIABLE (309) 72 81 158 159 160 161 162 163 164 165 174 177 178
|
|
179 180 253 254 255 256 365 366 367 368 599 648 649 650 656
|
|
T_NUM_STRING (310) 655
|
|
T_INLINE_HTML (311) 68
|
|
T_CHARACTER (312)
|
|
T_BAD_CHARACTER (313)
|
|
T_ENCAPSED_AND_WHITESPACE (314) 474 489 521 645 647
|
|
T_CONSTANT_ENCAPSED_STRING (315) 346 347 348 349 480 520 542 543 688
|
|
T_ECHO (316) 65 419
|
|
T_DO (317) 51 403
|
|
T_WHILE (318) 49 51 401
|
|
T_ENDWHILE (319) 132 402
|
|
T_FOR (320) 53 404
|
|
T_ENDFOR (321) 128 405
|
|
T_FOREACH (322) 70 406
|
|
T_ENDFOREACH (323) 130 407
|
|
T_DECLARE (324) 71 408
|
|
T_ENDDECLARE (325) 134 409
|
|
T_AS (326) 27 28 70 201 202 411 684 685 686 687
|
|
T_SWITCH (327) 55 412
|
|
T_ENDSWITCH (328) 139 140 413
|
|
T_CASE (329) 141 414
|
|
T_DEFAULT (330) 142 415
|
|
T_BREAK (331) 56 57 62 416
|
|
T_GOTO (332) 75 418
|
|
T_CONTINUE (333) 58 59 417
|
|
T_FUNCTION (334) 89 389 702
|
|
T_CONST (335) 38 258 390
|
|
T_RETURN (336) 60 61 391
|
|
T_TRY (337) 72 73 393
|
|
T_CATCH (338) 72 81 394
|
|
T_THROW (339) 74 396
|
|
T_USE (340) 15 195 196 363 434
|
|
T_GLOBAL (341) 63 435
|
|
T_PUBLIC (342) 247 444
|
|
T_PROTECTED (343) 248 443
|
|
T_PRIVATE (344) 249 442
|
|
T_FINAL (345) 112 252 441
|
|
T_ABSTRACT (346) 111 251 440
|
|
T_STATIC (347) 64 250 342 439 465 468
|
|
T_VAR (348) 211 242 427
|
|
T_UNSET (349) 66 445
|
|
T_ISSET (350) 436 657
|
|
T_EMPTY (351) 224 437 658
|
|
T_HALT_COMPILER (352) 9 438
|
|
T_CLASS (353) 110 111 112 421
|
|
T_INTERFACE (354) 99 101 422
|
|
T_EXTENDS (355) 113 117 423
|
|
T_IMPLEMENTS (356) 115 424
|
|
T_OBJECT_OPERATOR (357) 556 557 558 586 587 588 589 590 591 650
|
|
T_DOUBLE_ARROW (358) 123 346 347 348 349 514 516 534 536 542 543 624
|
|
626 628 630 634 636 640 642 688
|
|
T_LIST (359) 268 272 446 618 621
|
|
T_ARRAY (360) 209 355 447 495 530 697 699 700
|
|
T_CLASS_C (361) 451 484
|
|
T_METHOD_C (362) 453 486
|
|
T_FUNC_C (363) 452 487
|
|
T_LINE (364) 454 481
|
|
T_FILE (365) 455 482
|
|
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) 489 490 507 521 522
|
|
T_END_HEREDOC (373) 489 490 507 521 522
|
|
T_DOLLAR_OPEN_CURLY_BRACES (374) 651 652
|
|
T_CURLY_OPEN (375) 653
|
|
T_PAAMAYIM_NEKUDOTAYIM (376) 200 203 499 500 572 592 593 609 666
|
|
T_NAMESPACE (377) 10 12 14 33 433
|
|
T_NS_C (378) 457 488
|
|
T_DIR (379) 456 483
|
|
T_NS_SEPARATOR (380) 26 28 30 32 33
|
|
T_YIELD (381) 62 266 392
|
|
T_XHP_LABEL (382) 107 208 237 369 373 378 463 500 701
|
|
T_XHP_TEXT (383) 379 381
|
|
T_XHP_ATTRIBUTE (384) 18 192
|
|
T_XHP_CATEGORY (385) 19 193
|
|
T_XHP_CATEGORY_LABEL (386) 221 238
|
|
T_XHP_CHILDREN (387) 20 194
|
|
T_XHP_ENUM (388) 22 212
|
|
T_XHP_REQUIRED (389) 21 217
|
|
T_TRAIT (390) 103 105 458
|
|
T_INSTEADOF (391) 200
|
|
T_TRAIT_C (392) 459 485
|
|
T_VARARG (393) 154 156 676 678
|
|
T_STRICT_ERROR (394)
|
|
T_FINALLY (395) 84 395
|
|
T_XHP_TAG_LT (396) 369 371
|
|
T_XHP_TAG_GT (397) 369 371
|
|
T_TYPELIST_LT (398) 671 672 699 700
|
|
T_TYPELIST_GT (399) 671 672 699 700
|
|
T_UNRESOLVED_LT (400)
|
|
T_COLLECTION (401)
|
|
T_SHAPE (402) 354 496 531 693
|
|
T_TYPE (403) 460 667
|
|
T_UNRESOLVED_TYPE (404)
|
|
|
|
|
|
Nonterminals, with rules where they appear
|
|
|
|
$accept (179)
|
|
on left: 0
|
|
start (180)
|
|
on left: 1, on right: 0
|
|
top_statement_list (181)
|
|
on left: 2 3, on right: 1 2 12 14
|
|
top_statement (182)
|
|
on left: 4 5 6 7 8 9 10 12 14 15 16, on right: 2
|
|
$@1 (183)
|
|
on left: 11, on right: 12
|
|
$@2 (184)
|
|
on left: 13, on right: 14
|
|
ident (185)
|
|
on left: 17 18 19 20 21 22, on right: 27 28 29 30 75 80 135 136
|
|
200 201 203 204 223 236 387 499 500 525 527 548 549 557 586 589
|
|
592 650 654 666 667 668 669 670 671 682 683 684 685 686 687 696
|
|
use_declarations (186)
|
|
on left: 23 24, on right: 15 23
|
|
use_declaration (187)
|
|
on left: 25 26 27 28, on right: 23 24
|
|
namespace_name (188)
|
|
on left: 29 30, on right: 10 12 25 26 27 28 30 31 32 33
|
|
namespace_string_base (189)
|
|
on left: 31 32 33, on right: 34 35 36
|
|
namespace_string (190)
|
|
on left: 34, on right: 492 501
|
|
namespace_string_typeargs (191)
|
|
on left: 35, on right: 461
|
|
class_namespace_string_typeargs (192)
|
|
on left: 36, on right: 200 203 462 499
|
|
constant_declaration (193)
|
|
on left: 37 38, on right: 16 37
|
|
inner_statement_list (194)
|
|
on left: 39 40, on right: 39 45 47 72 73 81 84 91 93 128 130 132
|
|
134 141 142 148 152 240 340 342
|
|
inner_statement (195)
|
|
on left: 41 42 43 44, on right: 39
|
|
statement (196)
|
|
on left: 45 46 47 49 51 53 55 56 57 58 59 60 61 62 63 64 65 66
|
|
67 68 70 71 72 73 74 75 76 77 78 79 80, on right: 4 41 46 51 127
|
|
129 131 133 146 150
|
|
$@3 (197)
|
|
on left: 48, on right: 49
|
|
$@4 (198)
|
|
on left: 50, on right: 51
|
|
$@5 (199)
|
|
on left: 52, on right: 53
|
|
$@6 (200)
|
|
on left: 54, on right: 55
|
|
$@7 (201)
|
|
on left: 69, on right: 70
|
|
additional_catches (202)
|
|
on left: 81 82, on right: 72 81
|
|
finally (203)
|
|
on left: 84, on right: 73 85
|
|
$@8 (204)
|
|
on left: 83, on right: 84
|
|
optional_finally (205)
|
|
on left: 85 86, on right: 72
|
|
is_reference (206)
|
|
on left: 87 88, on right: 91 93 189 191 340 342
|
|
function_loc (207)
|
|
on left: 89, on right: 91 93 189 191 340 342
|
|
function_declaration_statement (208)
|
|
on left: 91 93, on right: 5 42
|
|
$@9 (209)
|
|
on left: 90, on right: 91
|
|
$@10 (210)
|
|
on left: 92, on right: 93
|
|
class_declaration_statement (211)
|
|
on left: 95 97 99 101, on right: 6 43
|
|
$@11 (212)
|
|
on left: 94, on right: 95
|
|
$@12 (213)
|
|
on left: 96, on right: 97
|
|
$@13 (214)
|
|
on left: 98, on right: 99
|
|
$@14 (215)
|
|
on left: 100, on right: 101
|
|
trait_declaration_statement (216)
|
|
on left: 103 105, on right: 7 44
|
|
$@15 (217)
|
|
on left: 102, on right: 103
|
|
$@16 (218)
|
|
on left: 104, on right: 105
|
|
class_decl_name (219)
|
|
on left: 106 107, on right: 95 97
|
|
interface_decl_name (220)
|
|
on left: 108, on right: 99 101
|
|
trait_decl_name (221)
|
|
on left: 109, on right: 103 105
|
|
class_entry_type (222)
|
|
on left: 110 111 112, on right: 95 97
|
|
extends_from (223)
|
|
on left: 113 114, on right: 95 97
|
|
implements_list (224)
|
|
on left: 115 116, on right: 95 97
|
|
interface_extends_list (225)
|
|
on left: 117 118, on right: 99 101
|
|
interface_list (226)
|
|
on left: 119 120, on right: 115 117 120
|
|
trait_list (227)
|
|
on left: 121 122, on right: 122 195 196 200
|
|
foreach_optional_arg (228)
|
|
on left: 123 124, on right: 70
|
|
foreach_variable (229)
|
|
on left: 125 126, on right: 70 123
|
|
for_statement (230)
|
|
on left: 127 128, on right: 53
|
|
foreach_statement (231)
|
|
on left: 129 130, on right: 70
|
|
while_statement (232)
|
|
on left: 131 132, on right: 49
|
|
declare_statement (233)
|
|
on left: 133 134, on right: 71
|
|
declare_list (234)
|
|
on left: 135 136, on right: 71 136
|
|
switch_case_list (235)
|
|
on left: 137 138 139 140, on right: 55
|
|
case_list (236)
|
|
on left: 141 142 143, on right: 137 138 139 140 141 142
|
|
case_separator (237)
|
|
on left: 144 145, on right: 141 142
|
|
elseif_list (238)
|
|
on left: 146 147, on right: 46 146
|
|
new_elseif_list (239)
|
|
on left: 148 149, on right: 47 148
|
|
else_single (240)
|
|
on left: 150 151, on right: 46
|
|
new_else_single (241)
|
|
on left: 152 153, on right: 47
|
|
parameter_list (242)
|
|
on left: 154 155 156 157, on right: 91 93 189 191 340 342
|
|
non_empty_parameter_list (243)
|
|
on left: 158 159 160 161 162 163 164 165, on right: 154 155 162
|
|
163 164 165
|
|
function_call_parameter_list (244)
|
|
on left: 166 167, on right: 461 476 573 581 586 587 588 589 590
|
|
591 592 593
|
|
non_empty_fcall_parameter_list (245)
|
|
on left: 168 169 170 171, on right: 166 170 171
|
|
global_var_list (246)
|
|
on left: 172 173, on right: 63 172
|
|
global_var (247)
|
|
on left: 174 175 176, on right: 172 173
|
|
static_var_list (248)
|
|
on left: 177 178 179 180, on right: 64 177 178
|
|
class_statement_list (249)
|
|
on left: 181 182, on right: 95 97 99 101 103 105 181
|
|
class_statement (250)
|
|
on left: 184 186 187 189 191 192 193 194 195 196, on right: 181
|
|
$@17 (251)
|
|
on left: 183, on right: 184
|
|
$@18 (252)
|
|
on left: 185, on right: 186
|
|
$@19 (253)
|
|
on left: 188, on right: 189
|
|
$@20 (254)
|
|
on left: 190, on right: 191
|
|
trait_rules (255)
|
|
on left: 197 198 199, on right: 196 197 198
|
|
trait_precedence_rule (256)
|
|
on left: 200, on right: 197
|
|
trait_alias_rule (257)
|
|
on left: 201 202, on right: 198
|
|
trait_alias_rule_method (258)
|
|
on left: 203 204, on right: 201 202
|
|
xhp_attribute_stmt (259)
|
|
on left: 205 206, on right: 192 206
|
|
xhp_attribute_decl (260)
|
|
on left: 207 208, on right: 205 206
|
|
xhp_attribute_decl_type (261)
|
|
on left: 209 210 211 212, on right: 207
|
|
xhp_attribute_enum (262)
|
|
on left: 213 214, on right: 212 214
|
|
xhp_attribute_default (263)
|
|
on left: 215 216, on right: 207
|
|
xhp_attribute_is_required (264)
|
|
on left: 217 218, on right: 207
|
|
xhp_category_stmt (265)
|
|
on left: 219 220, on right: 193 220
|
|
xhp_category_decl (266)
|
|
on left: 221, on right: 219 220
|
|
xhp_children_stmt (267)
|
|
on left: 222 223 224, on right: 194
|
|
xhp_children_paren_expr (268)
|
|
on left: 225 226 227 228, on right: 222 229
|
|
xhp_children_decl_expr (269)
|
|
on left: 229 230 231 232 233 234 235, on right: 225 226 227 228
|
|
234 235
|
|
xhp_children_decl_tag (270)
|
|
on left: 236 237 238, on right: 230 231 232 233
|
|
method_body (271)
|
|
on left: 239 240, on right: 189 191
|
|
variable_modifiers (272)
|
|
on left: 241 242, on right: 184
|
|
method_modifiers (273)
|
|
on left: 243 244, on right: 189 191 201
|
|
non_empty_member_modifiers (274)
|
|
on left: 245 246, on right: 186 202 241 243 246
|
|
member_modifier (275)
|
|
on left: 247 248 249 250 251 252, on right: 245 246
|
|
class_variable_declaration (276)
|
|
on left: 253 254 255 256, on right: 184 186 253 254
|
|
class_constant_declaration (277)
|
|
on left: 257 258, on right: 187 257
|
|
new_expr (278)
|
|
on left: 259 260, on right: 260 271 562 564 571 580 589 590 591
|
|
608 614
|
|
parenthesis_expr (279)
|
|
on left: 261, on right: 46 47 49 51 55 146 148 471
|
|
expr_list (280)
|
|
on left: 262 263, on right: 65 262 264
|
|
for_expr (281)
|
|
on left: 264 265, on right: 53
|
|
yield_expr (282)
|
|
on left: 266, on right: 77 267 268
|
|
yield_assign_expr (283)
|
|
on left: 267, on right: 78
|
|
yield_list_assign_expr (284)
|
|
on left: 268, on right: 79
|
|
expr (285)
|
|
on left: 269 270 271, on right: 57 59 61 70 74 76 141 168 170 176
|
|
261 262 263 266 272 273 276 277 278 279 280 281 282 283 284 285
|
|
286 287 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 322
|
|
323 325 326 327 328 329 330 331 333 338 346 347 380 382 558 560
|
|
588 591 597 600 601 624 625 626 627 628 630 634 635 636 637 651
|
|
652 659 660 661 662 663
|
|
expr_no_variable (286)
|
|
on left: 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
|
|
334 335 336 337 338 340 342 343 344 345, on right: 269 321 362
|
|
$@21 (287)
|
|
on left: 339, on right: 340
|
|
$@22 (288)
|
|
on left: 341, on right: 342
|
|
non_empty_shape_pair_list (289)
|
|
on left: 346 347, on right: 346 350
|
|
non_empty_static_shape_pair_list (290)
|
|
on left: 348 349, on right: 348 352
|
|
shape_pair_list (291)
|
|
on left: 350 351, on right: 354
|
|
static_shape_pair_list (292)
|
|
on left: 352 353, on right: 496
|
|
shape_literal (293)
|
|
on left: 354, on right: 336
|
|
array_literal (294)
|
|
on left: 355, on right: 335 360
|
|
collection_literal (295)
|
|
on left: 356, on right: 345
|
|
static_collection_literal (296)
|
|
on left: 357, on right: 498
|
|
dim_expr (297)
|
|
on left: 358 359, on right: 344 358
|
|
dim_expr_base (298)
|
|
on left: 360 361 362, on right: 359
|
|
lexical_vars (299)
|
|
on left: 363 364, on right: 340 342
|
|
lexical_var_list (300)
|
|
on left: 365 366 367 368, on right: 363 365 366
|
|
xhp_tag (301)
|
|
on left: 369, on right: 343 383
|
|
xhp_tag_body (302)
|
|
on left: 370 371, on right: 369
|
|
xhp_opt_end_label (303)
|
|
on left: 372 373, on right: 371
|
|
xhp_attributes (304)
|
|
on left: 374 375, on right: 370 371 374
|
|
xhp_children (305)
|
|
on left: 376 377, on right: 371 376
|
|
xhp_attribute_name (306)
|
|
on left: 378, on right: 374
|
|
xhp_attribute_value (307)
|
|
on left: 379 380, on right: 374
|
|
xhp_child (308)
|
|
on left: 381 382 383, on right: 376
|
|
xhp_label_ws (309)
|
|
on left: 384 385 386, on right: 207 385 386
|
|
xhp_bareword (310)
|
|
on left: 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 446 447 448
|
|
449 450 451 452 453 454 455 456 457 458 459 460, on right: 384
|
|
385 386
|
|
simple_function_call (311)
|
|
on left: 461, on right: 566 575
|
|
fully_qualified_class_name (312)
|
|
on left: 462 463, on right: 72 81 113 119 120 121 122 210 356 357
|
|
464 467
|
|
static_class_name (313)
|
|
on left: 464 465 466, on right: 572 592 593 609 666
|
|
class_name_reference (314)
|
|
on left: 467 468 469, on right: 259 275 320
|
|
exit_expr (315)
|
|
on left: 470 471 472, on right: 332
|
|
backticks_expr (316)
|
|
on left: 473 474 475, on right: 337
|
|
ctor_arguments (317)
|
|
on left: 476 477, on right: 259 275
|
|
common_scalar (318)
|
|
on left: 478 479 480 481 482 483 484 485 486 487 488 489 490, on right:
|
|
213 214 491 504
|
|
static_scalar (319)
|
|
on left: 491 492 493 494 495 496 497 498, on right: 37 38 135 136
|
|
160 161 164 165 178 180 215 254 256 257 258 348 349 493 494 514
|
|
515 516 517 640 641 642 643
|
|
static_class_constant (320)
|
|
on left: 499 500, on right: 497
|
|
scalar (321)
|
|
on left: 501 502 503 504 505 506 507, on right: 334
|
|
static_array_pair_list (322)
|
|
on left: 508 509, on right: 495
|
|
possible_comma (323)
|
|
on left: 510 511, on right: 350 352 508 532 540 544 551 622 632
|
|
638 691
|
|
possible_comma_in_hphp_syntax (324)
|
|
on left: 512 513, on right: 155 166 363
|
|
non_empty_static_array_pair_list (325)
|
|
on left: 514 515 516 517, on right: 508 514 515
|
|
common_scalar_ae (326)
|
|
on left: 518 519 520 521 522, on right: 526
|
|
static_numeric_scalar_ae (327)
|
|
on left: 523 524 525, on right: 528 529
|
|
static_scalar_ae (328)
|
|
on left: 526 527 528 529 530 531, on right: 534 535 536 537 538
|
|
539 542 543
|
|
static_array_pair_list_ae (329)
|
|
on left: 532 533, on right: 530
|
|
non_empty_static_array_pair_list_ae (330)
|
|
on left: 534 535 536 537, on right: 532 534 535
|
|
non_empty_static_scalar_list_ae (331)
|
|
on left: 538 539, on right: 538 544
|
|
static_shape_pair_list_ae (332)
|
|
on left: 540 541, on right: 531
|
|
non_empty_static_shape_pair_list_ae (333)
|
|
on left: 542 543, on right: 540 542
|
|
static_scalar_list_ae (334)
|
|
on left: 544 545, on right: 546
|
|
attribute_static_scalar_list (335)
|
|
on left: 546 547, on right: 548 549
|
|
non_empty_user_attribute_list (336)
|
|
on left: 548 549, on right: 548 551
|
|
user_attribute_list (337)
|
|
on left: 551, on right: 552
|
|
$@23 (338)
|
|
on left: 550, on right: 551
|
|
non_empty_user_attributes (339)
|
|
on left: 552, on right: 93 97 101 105 191 553
|
|
optional_user_attributes (340)
|
|
on left: 553 554, on right: 158 159 160 161 162 163 164 165
|
|
property_access (341)
|
|
on left: 555 556, on right: 570 571 607 608
|
|
property_access_without_variables (342)
|
|
on left: 557 558, on right: 555 579 580 613 614
|
|
array_access (343)
|
|
on left: 559 560, on right: 561 562 563 564
|
|
dimmable_variable_access (344)
|
|
on left: 561 562, on right: 569 578 584
|
|
dimmable_variable_no_calls_access (345)
|
|
on left: 563 564, on right: 606 612
|
|
variable (346)
|
|
on left: 565 566 567 568 569 570 571 572 573 574, on right: 125
|
|
126 169 171 175 267 270 273 274 275 277 278 279 280 281 282 283
|
|
284 285 286 287 288 289 290 291 570 574 579 582 585 586 587 588
|
|
610 615 617 620 628 629 630 631 653 658 664 665
|
|
dimmable_variable (347)
|
|
on left: 575 576 577 578 579 580 581 582, on right: 561
|
|
callable_variable (348)
|
|
on left: 583 584 585, on right: 573 581
|
|
object_method_call (349)
|
|
on left: 586 587 588 589 590 591, on right: 567 576
|
|
class_method_call (350)
|
|
on left: 592 593, on right: 568 577
|
|
variable_without_objects (351)
|
|
on left: 594 595, on right: 556 565 572 583 587 590 593 605 609
|
|
reference_variable (352)
|
|
on left: 596 597 598, on right: 466 594 595 596 597
|
|
compound_variable (353)
|
|
on left: 599 600, on right: 598
|
|
dim_offset (354)
|
|
on left: 601 602, on right: 358 359 559 596
|
|
simple_indirect_reference (355)
|
|
on left: 603 604, on right: 595 604
|
|
variable_no_calls (356)
|
|
on left: 605 606 607 608 609 610, on right: 469 607 613
|
|
dimmable_variable_no_calls (357)
|
|
on left: 611 612 613 614 615, on right: 563
|
|
assignment_list (358)
|
|
on left: 616 617 618 619 620 621, on right: 268 272 616 617 618
|
|
621
|
|
array_pair_list (359)
|
|
on left: 622 623, on right: 355
|
|
non_empty_array_pair_list (360)
|
|
on left: 624 625 626 627 628 629 630 631, on right: 622 624 625
|
|
628 629
|
|
collection_init (361)
|
|
on left: 632 633, on right: 356
|
|
non_empty_collection_init (362)
|
|
on left: 634 635 636 637, on right: 632 634 635
|
|
static_collection_init (363)
|
|
on left: 638 639, on right: 357
|
|
non_empty_static_collection_init (364)
|
|
on left: 640 641 642 643, on right: 638 640 641
|
|
encaps_list (365)
|
|
on left: 644 645 646 647, on right: 475 505 506 507 644 645
|
|
encaps_var (366)
|
|
on left: 648 649 650 651 652 653, on right: 644 646 647
|
|
encaps_var_offset (367)
|
|
on left: 654 655 656, on right: 649
|
|
internal_functions (368)
|
|
on left: 657 658 659 660 661 662 663, on right: 324
|
|
variable_list (369)
|
|
on left: 664 665, on right: 66 657 665
|
|
class_constant (370)
|
|
on left: 666, on right: 361 503
|
|
sm_typedef_statement (371)
|
|
on left: 667, on right: 8
|
|
sm_name_with_type (372)
|
|
on left: 668 669, on right: 37 38 257 258
|
|
sm_name_with_typevar (373)
|
|
on left: 670 671, on right: 91 93 106 108 109 189 191
|
|
sm_typeargs_opt (374)
|
|
on left: 672 673, on right: 35 36 586 589 592 696
|
|
sm_type_list (375)
|
|
on left: 674 675, on right: 672 675 676 677 703
|
|
sm_func_type_list (376)
|
|
on left: 676 677 678 679, on right: 702
|
|
sm_opt_return_type (377)
|
|
on left: 680 681, on right: 91 93 189 191 340 342
|
|
sm_typevar_list (378)
|
|
on left: 682 683 684 685 686 687, on right: 671 682 684 685
|
|
sm_shape_member_type (379)
|
|
on left: 688, on right: 689 690
|
|
sm_non_empty_shape_member_list (380)
|
|
on left: 689 690, on right: 689 691
|
|
sm_shape_member_list (381)
|
|
on left: 691 692, on right: 693
|
|
sm_shape_type (382)
|
|
on left: 693, on right: 684 687 698
|
|
sm_type (383)
|
|
on left: 694 695 696 697 698 699 700 701 702 703, on right: 186
|
|
667 669 674 675 681 688 694 695 699 700 702 703 704
|
|
sm_type_opt (384)
|
|
on left: 704 705, on right: 158 159 160 161 162 163 164 165
|
|
|
|
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
T_TYPE 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
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 1 (start)
|
|
|
|
top_statement go to state 93
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
constant_declaration go to state 100
|
|
statement go to state 101
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 103
|
|
class_declaration_statement go to state 104
|
|
trait_declaration_statement go to state 105
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
sm_typedef_statement go to state 137
|
|
|
|
|
|
state 3
|
|
|
|
0 $accept: start $end .
|
|
|
|
$default accept
|
|
|
|
|
|
state 4
|
|
|
|
663 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 143
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 5
|
|
|
|
662 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 145
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 6
|
|
|
|
661 internal_functions: T_EVAL . '(' expr ')'
|
|
|
|
'(' shift, and go to state 146
|
|
|
|
|
|
state 7
|
|
|
|
660 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 147
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 8
|
|
|
|
659 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 148
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 9
|
|
|
|
338 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 149
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 10
|
|
|
|
552 non_empty_user_attributes: T_SL . user_attribute_list T_SR
|
|
|
|
$default reduce using rule 550 ($@23)
|
|
|
|
user_attribute_list go to state 150
|
|
$@23 go to state 151
|
|
|
|
|
|
state 11
|
|
|
|
308 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 152
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 12
|
|
|
|
309 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 153
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 13
|
|
|
|
310 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 154
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 14
|
|
|
|
311 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 155
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 15
|
|
|
|
333 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 156
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 16
|
|
|
|
331 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 157
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 17
|
|
|
|
330 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 158
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 18
|
|
|
|
329 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 159
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 19
|
|
|
|
328 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 160
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 20
|
|
|
|
327 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 161
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 21
|
|
|
|
326 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 162
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 22
|
|
|
|
325 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 163
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 23
|
|
|
|
291 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 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 169
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 24
|
|
|
|
289 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 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 170
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 25
|
|
|
|
276 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 171
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 26
|
|
|
|
259 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 172
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 173
|
|
'$' shift, and go to state 89
|
|
|
|
$default reduce using rule 611 (dimmable_variable_no_calls)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 174
|
|
class_namespace_string_typeargs go to state 99
|
|
fully_qualified_class_name go to state 175
|
|
static_class_name go to state 176
|
|
class_name_reference go to state 177
|
|
dimmable_variable_no_calls_access go to state 178
|
|
variable_without_objects go to state 179
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
variable_no_calls go to state 180
|
|
dimmable_variable_no_calls go to state 181
|
|
|
|
|
|
state 27
|
|
|
|
332 expr_no_variable: T_EXIT . exit_expr
|
|
|
|
'(' shift, and go to state 182
|
|
|
|
$default reduce using rule 472 (exit_expr)
|
|
|
|
parenthesis_expr go to state 183
|
|
exit_expr go to state 184
|
|
|
|
|
|
state 28
|
|
|
|
46 statement: T_IF . parenthesis_expr statement elseif_list else_single
|
|
47 | T_IF . parenthesis_expr ':' inner_statement_list new_elseif_list new_else_single T_ENDIF ';'
|
|
|
|
'(' shift, and go to state 185
|
|
|
|
parenthesis_expr go to state 186
|
|
|
|
|
|
state 29
|
|
|
|
478 common_scalar: T_LNUMBER .
|
|
|
|
$default reduce using rule 478 (common_scalar)
|
|
|
|
|
|
state 30
|
|
|
|
479 common_scalar: T_DNUMBER .
|
|
|
|
$default reduce using rule 479 (common_scalar)
|
|
|
|
|
|
state 31
|
|
|
|
17 ident: T_STRING .
|
|
|
|
$default reduce using rule 17 (ident)
|
|
|
|
|
|
state 32
|
|
|
|
502 scalar: T_STRING_VARNAME .
|
|
|
|
$default reduce using rule 502 (scalar)
|
|
|
|
|
|
state 33
|
|
|
|
599 compound_variable: T_VARIABLE .
|
|
|
|
$default reduce using rule 599 (compound_variable)
|
|
|
|
|
|
state 34
|
|
|
|
68 statement: T_INLINE_HTML .
|
|
|
|
$default reduce using rule 68 (statement)
|
|
|
|
|
|
state 35
|
|
|
|
480 common_scalar: T_CONSTANT_ENCAPSED_STRING .
|
|
|
|
$default reduce using rule 480 (common_scalar)
|
|
|
|
|
|
state 36
|
|
|
|
65 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr_list go to state 187
|
|
expr go to state 188
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 37
|
|
|
|
51 statement: T_DO . $@4 statement T_WHILE parenthesis_expr ';'
|
|
|
|
$default reduce using rule 50 ($@4)
|
|
|
|
$@4 go to state 189
|
|
|
|
|
|
state 38
|
|
|
|
49 statement: T_WHILE . parenthesis_expr $@3 while_statement
|
|
|
|
'(' shift, and go to state 185
|
|
|
|
parenthesis_expr go to state 190
|
|
|
|
|
|
state 39
|
|
|
|
53 statement: T_FOR . '(' for_expr ';' for_expr ';' for_expr ')' $@5 for_statement
|
|
|
|
'(' shift, and go to state 191
|
|
|
|
|
|
state 40
|
|
|
|
70 statement: T_FOREACH . '(' expr T_AS foreach_variable foreach_optional_arg ')' $@7 foreach_statement
|
|
|
|
'(' shift, and go to state 192
|
|
|
|
|
|
state 41
|
|
|
|
71 statement: T_DECLARE . '(' declare_list ')' declare_statement
|
|
|
|
'(' shift, and go to state 193
|
|
|
|
|
|
state 42
|
|
|
|
55 statement: T_SWITCH . parenthesis_expr $@6 switch_case_list
|
|
|
|
'(' shift, and go to state 185
|
|
|
|
parenthesis_expr go to state 194
|
|
|
|
|
|
state 43
|
|
|
|
56 statement: T_BREAK . ';'
|
|
57 | 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
';' shift, and go to state 195
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 196
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 44
|
|
|
|
75 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 197
|
|
|
|
|
|
state 45
|
|
|
|
58 statement: T_CONTINUE . ';'
|
|
59 | 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
';' shift, and go to state 198
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 199
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 46
|
|
|
|
89 function_loc: T_FUNCTION .
|
|
|
|
$default reduce using rule 89 (function_loc)
|
|
|
|
|
|
state 47
|
|
|
|
38 constant_declaration: T_CONST . sm_name_with_type '=' static_scalar
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
ident go to state 206
|
|
sm_name_with_type go to state 207
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 209
|
|
|
|
|
|
state 48
|
|
|
|
60 statement: T_RETURN . ';'
|
|
61 | 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
';' shift, and go to state 210
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 211
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 49
|
|
|
|
72 statement: T_TRY . '{' inner_statement_list '}' T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}' additional_catches optional_finally
|
|
73 | T_TRY . '{' inner_statement_list '}' finally
|
|
|
|
'{' shift, and go to state 212
|
|
|
|
|
|
state 50
|
|
|
|
74 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 213
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 51
|
|
|
|
15 top_statement: T_USE . use_declarations ';'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NS_SEPARATOR shift, and go to state 214
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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 141
|
|
use_declarations go to state 215
|
|
use_declaration go to state 216
|
|
namespace_name go to state 217
|
|
|
|
|
|
state 52
|
|
|
|
63 statement: T_GLOBAL . global_var_list ';'
|
|
|
|
T_VARIABLE shift, and go to state 218
|
|
'$' shift, and go to state 219
|
|
|
|
global_var_list go to state 220
|
|
global_var go to state 221
|
|
|
|
|
|
state 53
|
|
|
|
112 class_entry_type: T_FINAL . T_CLASS
|
|
|
|
T_CLASS shift, and go to state 222
|
|
|
|
|
|
state 54
|
|
|
|
111 class_entry_type: T_ABSTRACT . T_CLASS
|
|
|
|
T_CLASS shift, and go to state 223
|
|
|
|
|
|
state 55
|
|
|
|
64 statement: T_STATIC . static_var_list ';'
|
|
342 expr_no_variable: T_STATIC . function_loc is_reference '(' $@22 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
465 static_class_name: T_STATIC .
|
|
|
|
T_VARIABLE shift, and go to state 224
|
|
T_FUNCTION shift, and go to state 46
|
|
|
|
$default reduce using rule 465 (static_class_name)
|
|
|
|
function_loc go to state 225
|
|
static_var_list go to state 226
|
|
|
|
|
|
state 56
|
|
|
|
66 statement: T_UNSET . '(' variable_list ')' ';'
|
|
|
|
'(' shift, and go to state 227
|
|
|
|
|
|
state 57
|
|
|
|
657 internal_functions: T_ISSET . '(' variable_list ')'
|
|
|
|
'(' shift, and go to state 228
|
|
|
|
|
|
state 58
|
|
|
|
658 internal_functions: T_EMPTY . '(' variable ')'
|
|
|
|
'(' shift, and go to state 229
|
|
|
|
|
|
state 59
|
|
|
|
9 top_statement: T_HALT_COMPILER . '(' ')' ';'
|
|
|
|
'(' shift, and go to state 230
|
|
|
|
|
|
state 60
|
|
|
|
110 class_entry_type: T_CLASS .
|
|
|
|
$default reduce using rule 110 (class_entry_type)
|
|
|
|
|
|
state 61
|
|
|
|
99 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 231
|
|
interface_decl_name go to state 232
|
|
sm_name_with_typevar go to state 233
|
|
|
|
|
|
state 62
|
|
|
|
268 yield_list_assign_expr: T_LIST . '(' assignment_list ')' '=' yield_expr
|
|
272 expr_no_variable: T_LIST . '(' assignment_list ')' '=' expr
|
|
|
|
'(' shift, and go to state 234
|
|
|
|
|
|
state 63
|
|
|
|
355 array_literal: T_ARRAY . '(' array_pair_list ')'
|
|
|
|
'(' shift, and go to state 235
|
|
|
|
|
|
state 64
|
|
|
|
484 common_scalar: T_CLASS_C .
|
|
|
|
$default reduce using rule 484 (common_scalar)
|
|
|
|
|
|
state 65
|
|
|
|
486 common_scalar: T_METHOD_C .
|
|
|
|
$default reduce using rule 486 (common_scalar)
|
|
|
|
|
|
state 66
|
|
|
|
487 common_scalar: T_FUNC_C .
|
|
|
|
$default reduce using rule 487 (common_scalar)
|
|
|
|
|
|
state 67
|
|
|
|
481 common_scalar: T_LINE .
|
|
|
|
$default reduce using rule 481 (common_scalar)
|
|
|
|
|
|
state 68
|
|
|
|
482 common_scalar: T_FILE .
|
|
|
|
$default reduce using rule 482 (common_scalar)
|
|
|
|
|
|
state 69
|
|
|
|
489 common_scalar: T_START_HEREDOC . T_ENCAPSED_AND_WHITESPACE T_END_HEREDOC
|
|
490 | T_START_HEREDOC . T_END_HEREDOC
|
|
507 scalar: T_START_HEREDOC . encaps_list T_END_HEREDOC
|
|
|
|
T_VARIABLE shift, and go to state 236
|
|
T_ENCAPSED_AND_WHITESPACE shift, and go to state 237
|
|
T_END_HEREDOC shift, and go to state 238
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 239
|
|
T_CURLY_OPEN shift, and go to state 240
|
|
|
|
encaps_list go to state 241
|
|
encaps_var go to state 242
|
|
|
|
|
|
state 70
|
|
|
|
10 top_statement: T_NAMESPACE . namespace_name ';'
|
|
12 | T_NAMESPACE . namespace_name '{' $@1 top_statement_list '}'
|
|
14 | T_NAMESPACE . '{' $@2 top_statement_list '}'
|
|
33 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 243
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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 244
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 245
|
|
|
|
|
|
state 71
|
|
|
|
488 common_scalar: T_NS_C .
|
|
|
|
$default reduce using rule 488 (common_scalar)
|
|
|
|
|
|
state 72
|
|
|
|
483 common_scalar: T_DIR .
|
|
|
|
$default reduce using rule 483 (common_scalar)
|
|
|
|
|
|
state 73
|
|
|
|
32 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 141
|
|
namespace_name go to state 246
|
|
|
|
|
|
state 74
|
|
|
|
62 statement: T_YIELD . T_BREAK ';'
|
|
266 yield_expr: 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 247
|
|
T_FUNCTION shift, and go to state 46
|
|
T_STATIC shift, and go to state 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 248
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 75
|
|
|
|
463 fully_qualified_class_name: T_XHP_LABEL .
|
|
|
|
$default reduce using rule 463 (fully_qualified_class_name)
|
|
|
|
|
|
state 76
|
|
|
|
18 ident: T_XHP_ATTRIBUTE .
|
|
|
|
$default reduce using rule 18 (ident)
|
|
|
|
|
|
state 77
|
|
|
|
19 ident: T_XHP_CATEGORY .
|
|
|
|
$default reduce using rule 19 (ident)
|
|
|
|
|
|
state 78
|
|
|
|
20 ident: T_XHP_CHILDREN .
|
|
|
|
$default reduce using rule 20 (ident)
|
|
|
|
|
|
state 79
|
|
|
|
22 ident: T_XHP_ENUM .
|
|
|
|
$default reduce using rule 22 (ident)
|
|
|
|
|
|
state 80
|
|
|
|
21 ident: T_XHP_REQUIRED .
|
|
|
|
$default reduce using rule 21 (ident)
|
|
|
|
|
|
state 81
|
|
|
|
103 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 231
|
|
trait_decl_name go to state 249
|
|
sm_name_with_typevar go to state 250
|
|
|
|
|
|
state 82
|
|
|
|
485 common_scalar: T_TRAIT_C .
|
|
|
|
$default reduce using rule 485 (common_scalar)
|
|
|
|
|
|
state 83
|
|
|
|
369 xhp_tag: T_XHP_TAG_LT . T_XHP_LABEL xhp_tag_body T_XHP_TAG_GT
|
|
|
|
T_XHP_LABEL shift, and go to state 251
|
|
|
|
|
|
state 84
|
|
|
|
354 shape_literal: T_SHAPE . '(' shape_pair_list ')'
|
|
|
|
'(' shift, and go to state 252
|
|
|
|
|
|
state 85
|
|
|
|
667 sm_typedef_statement: T_TYPE . ident '=' sm_type ';'
|
|
|
|
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 253
|
|
|
|
|
|
state 86
|
|
|
|
260 new_expr: '(' . new_expr ')'
|
|
321 expr_no_variable: '(' . expr_no_variable ')'
|
|
362 dim_expr_base: '(' . expr_no_variable ')'
|
|
562 dimmable_variable_access: '(' . new_expr ')' array_access
|
|
571 variable: '(' . new_expr ')' property_access
|
|
574 | '(' . variable ')'
|
|
580 dimmable_variable: '(' . new_expr ')' property_access_without_variables
|
|
582 | '(' . variable ')'
|
|
585 callable_variable: '(' . variable ')'
|
|
589 object_method_call: '(' . new_expr ')' T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
590 | '(' . new_expr ')' T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
591 | '(' . 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 254
|
|
expr go to state 255
|
|
expr_no_variable go to state 256
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 257
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 87
|
|
|
|
67 statement: ';' .
|
|
|
|
$default reduce using rule 67 (statement)
|
|
|
|
|
|
state 88
|
|
|
|
45 statement: '{' . inner_statement_list '}'
|
|
|
|
$default reduce using rule 40 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 258
|
|
|
|
|
|
state 89
|
|
|
|
600 compound_variable: '$' . '{' expr '}'
|
|
603 simple_indirect_reference: '$' .
|
|
|
|
'{' shift, and go to state 259
|
|
|
|
$default reduce using rule 603 (simple_indirect_reference)
|
|
|
|
|
|
state 90
|
|
|
|
337 expr_no_variable: '`' . backticks_expr '`'
|
|
|
|
T_VARIABLE shift, and go to state 236
|
|
T_ENCAPSED_AND_WHITESPACE shift, and go to state 260
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 239
|
|
T_CURLY_OPEN shift, and go to state 240
|
|
|
|
$default reduce using rule 473 (backticks_expr)
|
|
|
|
backticks_expr go to state 261
|
|
encaps_list go to state 262
|
|
encaps_var go to state 242
|
|
|
|
|
|
state 91
|
|
|
|
505 scalar: '"' . encaps_list '"'
|
|
|
|
T_VARIABLE shift, and go to state 236
|
|
T_ENCAPSED_AND_WHITESPACE shift, and go to state 263
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 239
|
|
T_CURLY_OPEN shift, and go to state 240
|
|
|
|
encaps_list go to state 264
|
|
encaps_var go to state 242
|
|
|
|
|
|
state 92
|
|
|
|
506 scalar: '\'' . encaps_list '\''
|
|
|
|
T_VARIABLE shift, and go to state 236
|
|
T_ENCAPSED_AND_WHITESPACE shift, and go to state 263
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 239
|
|
T_CURLY_OPEN shift, and go to state 240
|
|
|
|
encaps_list go to state 265
|
|
encaps_var go to state 242
|
|
|
|
|
|
state 93
|
|
|
|
2 top_statement_list: top_statement_list top_statement .
|
|
|
|
$default reduce using rule 2 (top_statement_list)
|
|
|
|
|
|
state 94
|
|
|
|
29 namespace_name: ident .
|
|
80 statement: ident . ':'
|
|
|
|
':' shift, and go to state 266
|
|
|
|
$default reduce using rule 29 (namespace_name)
|
|
|
|
|
|
state 95
|
|
|
|
30 namespace_name: namespace_name . T_NS_SEPARATOR ident
|
|
31 namespace_string_base: namespace_name .
|
|
|
|
T_NS_SEPARATOR shift, and go to state 267
|
|
|
|
$default reduce using rule 31 (namespace_string_base)
|
|
|
|
|
|
state 96
|
|
|
|
34 namespace_string: namespace_string_base .
|
|
35 namespace_string_typeargs: namespace_string_base . sm_typeargs_opt
|
|
36 class_namespace_string_typeargs: namespace_string_base . sm_typeargs_opt
|
|
|
|
T_TYPELIST_LT shift, and go to state 268
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM reduce using rule 673 (sm_typeargs_opt)
|
|
'(' reduce using rule 673 (sm_typeargs_opt)
|
|
'{' reduce using rule 673 (sm_typeargs_opt)
|
|
$default reduce using rule 34 (namespace_string)
|
|
|
|
sm_typeargs_opt go to state 269
|
|
|
|
|
|
state 97
|
|
|
|
501 scalar: namespace_string .
|
|
|
|
$default reduce using rule 501 (scalar)
|
|
|
|
|
|
state 98
|
|
|
|
461 simple_function_call: namespace_string_typeargs . '(' function_call_parameter_list ')'
|
|
|
|
'(' shift, and go to state 270
|
|
|
|
|
|
state 99
|
|
|
|
462 fully_qualified_class_name: class_namespace_string_typeargs .
|
|
|
|
$default reduce using rule 462 (fully_qualified_class_name)
|
|
|
|
|
|
state 100
|
|
|
|
16 top_statement: constant_declaration . ';'
|
|
37 constant_declaration: constant_declaration . ',' sm_name_with_type '=' static_scalar
|
|
|
|
',' shift, and go to state 271
|
|
';' shift, and go to state 272
|
|
|
|
|
|
state 101
|
|
|
|
4 top_statement: statement .
|
|
|
|
$default reduce using rule 4 (top_statement)
|
|
|
|
|
|
state 102
|
|
|
|
91 function_declaration_statement: function_loc . is_reference sm_name_with_typevar $@9 '(' parameter_list ')' sm_opt_return_type '{' inner_statement_list '}'
|
|
340 expr_no_variable: function_loc . is_reference '(' $@21 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
'&' shift, and go to state 273
|
|
|
|
$default reduce using rule 88 (is_reference)
|
|
|
|
is_reference go to state 274
|
|
|
|
|
|
state 103
|
|
|
|
5 top_statement: function_declaration_statement .
|
|
|
|
$default reduce using rule 5 (top_statement)
|
|
|
|
|
|
state 104
|
|
|
|
6 top_statement: class_declaration_statement .
|
|
|
|
$default reduce using rule 6 (top_statement)
|
|
|
|
|
|
state 105
|
|
|
|
7 top_statement: trait_declaration_statement .
|
|
|
|
$default reduce using rule 7 (top_statement)
|
|
|
|
|
|
state 106
|
|
|
|
95 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 275
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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 231
|
|
class_decl_name go to state 276
|
|
sm_name_with_typevar go to state 277
|
|
|
|
|
|
state 107
|
|
|
|
271 expr: new_expr .
|
|
|
|
$default reduce using rule 271 (expr)
|
|
|
|
|
|
state 108
|
|
|
|
77 statement: yield_expr . ';'
|
|
|
|
';' shift, and go to state 278
|
|
|
|
|
|
state 109
|
|
|
|
78 statement: yield_assign_expr . ';'
|
|
|
|
';' shift, and go to state 279
|
|
|
|
|
|
state 110
|
|
|
|
79 statement: yield_list_assign_expr . ';'
|
|
|
|
';' shift, and go to state 280
|
|
|
|
|
|
state 111
|
|
|
|
76 statement: expr . ';'
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
';' shift, and go to state 307
|
|
|
|
|
|
state 112
|
|
|
|
269 expr: expr_no_variable .
|
|
|
|
$default reduce using rule 269 (expr)
|
|
|
|
|
|
state 113
|
|
|
|
336 expr_no_variable: shape_literal .
|
|
|
|
$default reduce using rule 336 (expr_no_variable)
|
|
|
|
|
|
state 114
|
|
|
|
335 expr_no_variable: array_literal .
|
|
360 dim_expr_base: array_literal .
|
|
|
|
'[' reduce using rule 360 (dim_expr_base)
|
|
$default reduce using rule 335 (expr_no_variable)
|
|
|
|
|
|
state 115
|
|
|
|
345 expr_no_variable: collection_literal .
|
|
|
|
$default reduce using rule 345 (expr_no_variable)
|
|
|
|
|
|
state 116
|
|
|
|
344 expr_no_variable: dim_expr .
|
|
358 dim_expr: dim_expr . '[' dim_offset ']'
|
|
|
|
'[' shift, and go to state 308
|
|
|
|
$default reduce using rule 344 (expr_no_variable)
|
|
|
|
|
|
state 117
|
|
|
|
359 dim_expr: dim_expr_base . '[' dim_offset ']'
|
|
|
|
'[' shift, and go to state 309
|
|
|
|
|
|
state 118
|
|
|
|
343 expr_no_variable: xhp_tag .
|
|
|
|
$default reduce using rule 343 (expr_no_variable)
|
|
|
|
|
|
state 119
|
|
|
|
566 variable: simple_function_call .
|
|
575 dimmable_variable: simple_function_call .
|
|
|
|
'[' reduce using rule 575 (dimmable_variable)
|
|
'{' reduce using rule 575 (dimmable_variable)
|
|
$default reduce using rule 566 (variable)
|
|
|
|
|
|
state 120
|
|
|
|
356 collection_literal: fully_qualified_class_name . '{' collection_init '}'
|
|
464 static_class_name: fully_qualified_class_name .
|
|
|
|
'{' shift, and go to state 310
|
|
|
|
$default reduce using rule 464 (static_class_name)
|
|
|
|
|
|
state 121
|
|
|
|
572 variable: static_class_name . T_PAAMAYIM_NEKUDOTAYIM variable_without_objects
|
|
592 class_method_call: static_class_name . T_PAAMAYIM_NEKUDOTAYIM ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
593 | static_class_name . T_PAAMAYIM_NEKUDOTAYIM variable_without_objects '(' function_call_parameter_list ')'
|
|
666 class_constant: static_class_name . T_PAAMAYIM_NEKUDOTAYIM ident
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM shift, and go to state 311
|
|
|
|
|
|
state 122
|
|
|
|
504 scalar: common_scalar .
|
|
|
|
$default reduce using rule 504 (scalar)
|
|
|
|
|
|
state 123
|
|
|
|
334 expr_no_variable: scalar .
|
|
|
|
$default reduce using rule 334 (expr_no_variable)
|
|
|
|
|
|
state 124
|
|
|
|
93 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 '}'
|
|
97 class_declaration_statement: non_empty_user_attributes . class_entry_type class_decl_name $@12 extends_from implements_list '{' class_statement_list '}'
|
|
101 | non_empty_user_attributes . T_INTERFACE interface_decl_name $@14 interface_extends_list '{' class_statement_list '}'
|
|
105 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 312
|
|
T_TRAIT shift, and go to state 313
|
|
|
|
function_loc go to state 314
|
|
class_entry_type go to state 315
|
|
|
|
|
|
state 125
|
|
|
|
569 variable: dimmable_variable_access .
|
|
578 dimmable_variable: dimmable_variable_access .
|
|
584 callable_variable: dimmable_variable_access .
|
|
|
|
'[' reduce using rule 578 (dimmable_variable)
|
|
'(' reduce using rule 584 (callable_variable)
|
|
'{' reduce using rule 578 (dimmable_variable)
|
|
$default reduce using rule 569 (variable)
|
|
|
|
|
|
state 126
|
|
|
|
267 yield_assign_expr: variable . '=' yield_expr
|
|
270 expr: variable .
|
|
273 expr_no_variable: variable . '=' expr
|
|
274 | variable . '=' '&' variable
|
|
275 | variable . '=' '&' T_NEW class_name_reference ctor_arguments
|
|
277 | variable . T_PLUS_EQUAL expr
|
|
278 | variable . T_MINUS_EQUAL expr
|
|
279 | variable . T_MUL_EQUAL expr
|
|
280 | variable . T_DIV_EQUAL expr
|
|
281 | variable . T_CONCAT_EQUAL expr
|
|
282 | variable . T_MOD_EQUAL expr
|
|
283 | variable . T_AND_EQUAL expr
|
|
284 | variable . T_OR_EQUAL expr
|
|
285 | variable . T_XOR_EQUAL expr
|
|
286 | variable . T_SL_EQUAL expr
|
|
287 | variable . T_SR_EQUAL expr
|
|
288 | variable . T_INC
|
|
290 | variable . T_DEC
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
'=' shift, and go to state 316
|
|
T_SR_EQUAL shift, and go to state 317
|
|
T_SL_EQUAL shift, and go to state 318
|
|
T_XOR_EQUAL shift, and go to state 319
|
|
T_OR_EQUAL shift, and go to state 320
|
|
T_AND_EQUAL shift, and go to state 321
|
|
T_MOD_EQUAL shift, and go to state 322
|
|
T_CONCAT_EQUAL shift, and go to state 323
|
|
T_DIV_EQUAL shift, and go to state 324
|
|
T_MUL_EQUAL shift, and go to state 325
|
|
T_MINUS_EQUAL shift, and go to state 326
|
|
T_PLUS_EQUAL shift, and go to state 327
|
|
T_DEC shift, and go to state 328
|
|
T_INC shift, and go to state 329
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
|
|
$default reduce using rule 270 (expr)
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 127
|
|
|
|
561 dimmable_variable_access: dimmable_variable . array_access
|
|
|
|
'[' shift, and go to state 333
|
|
'{' shift, and go to state 334
|
|
|
|
array_access go to state 335
|
|
|
|
|
|
state 128
|
|
|
|
573 variable: callable_variable . '(' function_call_parameter_list ')'
|
|
581 dimmable_variable: callable_variable . '(' function_call_parameter_list ')'
|
|
|
|
'(' shift, and go to state 336
|
|
|
|
|
|
state 129
|
|
|
|
567 variable: object_method_call .
|
|
576 dimmable_variable: object_method_call .
|
|
|
|
'[' reduce using rule 576 (dimmable_variable)
|
|
'{' reduce using rule 576 (dimmable_variable)
|
|
$default reduce using rule 567 (variable)
|
|
|
|
|
|
state 130
|
|
|
|
568 variable: class_method_call .
|
|
577 dimmable_variable: class_method_call .
|
|
|
|
'[' reduce using rule 577 (dimmable_variable)
|
|
'{' reduce using rule 577 (dimmable_variable)
|
|
$default reduce using rule 568 (variable)
|
|
|
|
|
|
state 131
|
|
|
|
565 variable: variable_without_objects .
|
|
583 callable_variable: variable_without_objects .
|
|
|
|
'(' reduce using rule 583 (callable_variable)
|
|
$default reduce using rule 565 (variable)
|
|
|
|
|
|
state 132
|
|
|
|
466 static_class_name: reference_variable .
|
|
594 variable_without_objects: reference_variable .
|
|
596 reference_variable: reference_variable . '[' dim_offset ']'
|
|
597 | reference_variable . '{' expr '}'
|
|
|
|
'[' shift, and go to state 337
|
|
'{' shift, and go to state 338
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM reduce using rule 466 (static_class_name)
|
|
$default reduce using rule 594 (variable_without_objects)
|
|
|
|
|
|
state 133
|
|
|
|
598 reference_variable: compound_variable .
|
|
|
|
$default reduce using rule 598 (reference_variable)
|
|
|
|
|
|
state 134
|
|
|
|
595 variable_without_objects: simple_indirect_reference . reference_variable
|
|
604 simple_indirect_reference: simple_indirect_reference . '$'
|
|
|
|
T_VARIABLE shift, and go to state 33
|
|
'$' shift, and go to state 339
|
|
|
|
reference_variable go to state 340
|
|
compound_variable go to state 133
|
|
|
|
|
|
state 135
|
|
|
|
324 expr_no_variable: internal_functions .
|
|
|
|
$default reduce using rule 324 (expr_no_variable)
|
|
|
|
|
|
state 136
|
|
|
|
361 dim_expr_base: class_constant .
|
|
503 scalar: class_constant .
|
|
|
|
'[' reduce using rule 361 (dim_expr_base)
|
|
$default reduce using rule 503 (scalar)
|
|
|
|
|
|
state 137
|
|
|
|
8 top_statement: sm_typedef_statement .
|
|
|
|
$default reduce using rule 8 (top_statement)
|
|
|
|
|
|
state 138
|
|
|
|
342 expr_no_variable: T_STATIC . function_loc is_reference '(' $@22 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
465 static_class_name: T_STATIC .
|
|
|
|
T_FUNCTION shift, and go to state 46
|
|
|
|
$default reduce using rule 465 (static_class_name)
|
|
|
|
function_loc go to state 225
|
|
|
|
|
|
state 139
|
|
|
|
272 expr_no_variable: T_LIST . '(' assignment_list ')' '=' expr
|
|
|
|
'(' shift, and go to state 341
|
|
|
|
|
|
state 140
|
|
|
|
33 namespace_string_base: T_NAMESPACE . T_NS_SEPARATOR namespace_name
|
|
|
|
T_NS_SEPARATOR shift, and go to state 243
|
|
|
|
|
|
state 141
|
|
|
|
29 namespace_name: ident .
|
|
|
|
$default reduce using rule 29 (namespace_name)
|
|
|
|
|
|
state 142
|
|
|
|
340 expr_no_variable: function_loc . is_reference '(' $@21 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
'&' shift, and go to state 273
|
|
|
|
$default reduce using rule 88 (is_reference)
|
|
|
|
is_reference go to state 342
|
|
|
|
|
|
state 143
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
663 internal_functions: T_REQUIRE_ONCE expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 663 (internal_functions)
|
|
|
|
|
|
state 144
|
|
|
|
270 expr: variable .
|
|
273 expr_no_variable: variable . '=' expr
|
|
274 | variable . '=' '&' variable
|
|
275 | variable . '=' '&' T_NEW class_name_reference ctor_arguments
|
|
277 | variable . T_PLUS_EQUAL expr
|
|
278 | variable . T_MINUS_EQUAL expr
|
|
279 | variable . T_MUL_EQUAL expr
|
|
280 | variable . T_DIV_EQUAL expr
|
|
281 | variable . T_CONCAT_EQUAL expr
|
|
282 | variable . T_MOD_EQUAL expr
|
|
283 | variable . T_AND_EQUAL expr
|
|
284 | variable . T_OR_EQUAL expr
|
|
285 | variable . T_XOR_EQUAL expr
|
|
286 | variable . T_SL_EQUAL expr
|
|
287 | variable . T_SR_EQUAL expr
|
|
288 | variable . T_INC
|
|
290 | variable . T_DEC
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
'=' shift, and go to state 343
|
|
T_SR_EQUAL shift, and go to state 317
|
|
T_SL_EQUAL shift, and go to state 318
|
|
T_XOR_EQUAL shift, and go to state 319
|
|
T_OR_EQUAL shift, and go to state 320
|
|
T_AND_EQUAL shift, and go to state 321
|
|
T_MOD_EQUAL shift, and go to state 322
|
|
T_CONCAT_EQUAL shift, and go to state 323
|
|
T_DIV_EQUAL shift, and go to state 324
|
|
T_MUL_EQUAL shift, and go to state 325
|
|
T_MINUS_EQUAL shift, and go to state 326
|
|
T_PLUS_EQUAL shift, and go to state 327
|
|
T_DEC shift, and go to state 328
|
|
T_INC shift, and go to state 329
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
|
|
$default reduce using rule 270 (expr)
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 145
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
662 internal_functions: T_REQUIRE expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 662 (internal_functions)
|
|
|
|
|
|
state 146
|
|
|
|
661 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 344
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 147
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
660 internal_functions: T_INCLUDE_ONCE expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 660 (internal_functions)
|
|
|
|
|
|
state 148
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
659 internal_functions: T_INCLUDE expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 659 (internal_functions)
|
|
|
|
|
|
state 149
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
338 | T_PRINT expr .
|
|
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 338 (expr_no_variable)
|
|
|
|
|
|
state 150
|
|
|
|
552 non_empty_user_attributes: T_SL user_attribute_list . T_SR
|
|
|
|
T_SR shift, and go to state 345
|
|
|
|
|
|
state 151
|
|
|
|
551 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 346
|
|
non_empty_user_attribute_list go to state 347
|
|
|
|
|
|
state 152
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
308 | '+' expr .
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
$default reduce using rule 308 (expr_no_variable)
|
|
|
|
|
|
state 153
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
309 | '-' expr .
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
$default reduce using rule 309 (expr_no_variable)
|
|
|
|
|
|
state 154
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
310 | '!' expr .
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 310 (expr_no_variable)
|
|
|
|
|
|
state 155
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
311 | '~' expr .
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
$default reduce using rule 311 (expr_no_variable)
|
|
|
|
|
|
state 156
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
333 | '@' expr .
|
|
|
|
$default reduce using rule 333 (expr_no_variable)
|
|
|
|
|
|
state 157
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
331 | T_UNSET_CAST expr .
|
|
|
|
$default reduce using rule 331 (expr_no_variable)
|
|
|
|
|
|
state 158
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
330 | T_BOOL_CAST expr .
|
|
|
|
$default reduce using rule 330 (expr_no_variable)
|
|
|
|
|
|
state 159
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
329 | T_OBJECT_CAST expr .
|
|
|
|
$default reduce using rule 329 (expr_no_variable)
|
|
|
|
|
|
state 160
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
328 | T_ARRAY_CAST expr .
|
|
|
|
$default reduce using rule 328 (expr_no_variable)
|
|
|
|
|
|
state 161
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
327 | T_STRING_CAST expr .
|
|
|
|
$default reduce using rule 327 (expr_no_variable)
|
|
|
|
|
|
state 162
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
326 | T_DOUBLE_CAST expr .
|
|
|
|
$default reduce using rule 326 (expr_no_variable)
|
|
|
|
|
|
state 163
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
325 | T_INT_CAST expr .
|
|
|
|
$default reduce using rule 325 (expr_no_variable)
|
|
|
|
|
|
state 164
|
|
|
|
465 static_class_name: T_STATIC .
|
|
|
|
$default reduce using rule 465 (static_class_name)
|
|
|
|
|
|
state 165
|
|
|
|
562 dimmable_variable_access: '(' . new_expr ')' array_access
|
|
571 variable: '(' . new_expr ')' property_access
|
|
574 | '(' . variable ')'
|
|
580 dimmable_variable: '(' . new_expr ')' property_access_without_variables
|
|
582 | '(' . variable ')'
|
|
585 callable_variable: '(' . variable ')'
|
|
589 object_method_call: '(' . new_expr ')' T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
590 | '(' . new_expr ')' T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
591 | '(' . 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 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 348
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
new_expr go to state 349
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 350
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 166
|
|
|
|
35 namespace_string_typeargs: namespace_string_base . sm_typeargs_opt
|
|
36 class_namespace_string_typeargs: namespace_string_base . sm_typeargs_opt
|
|
|
|
T_TYPELIST_LT shift, and go to state 268
|
|
|
|
$default reduce using rule 673 (sm_typeargs_opt)
|
|
|
|
sm_typeargs_opt go to state 269
|
|
|
|
|
|
state 167
|
|
|
|
464 static_class_name: fully_qualified_class_name .
|
|
|
|
$default reduce using rule 464 (static_class_name)
|
|
|
|
|
|
state 168
|
|
|
|
572 variable: static_class_name . T_PAAMAYIM_NEKUDOTAYIM variable_without_objects
|
|
592 class_method_call: static_class_name . T_PAAMAYIM_NEKUDOTAYIM ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
593 | static_class_name . T_PAAMAYIM_NEKUDOTAYIM variable_without_objects '(' function_call_parameter_list ')'
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM shift, and go to state 351
|
|
|
|
|
|
state 169
|
|
|
|
291 expr_no_variable: T_DEC variable .
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
|
|
$default reduce using rule 291 (expr_no_variable)
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 170
|
|
|
|
289 expr_no_variable: T_INC variable .
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
|
|
$default reduce using rule 289 (expr_no_variable)
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 171
|
|
|
|
276 expr_no_variable: T_CLONE expr .
|
|
292 | expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
$default reduce using rule 276 (expr_no_variable)
|
|
|
|
|
|
state 172
|
|
|
|
465 static_class_name: T_STATIC .
|
|
468 class_name_reference: T_STATIC .
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM reduce using rule 465 (static_class_name)
|
|
$default reduce using rule 468 (class_name_reference)
|
|
|
|
|
|
state 173
|
|
|
|
564 dimmable_variable_no_calls_access: '(' . new_expr ')' array_access
|
|
608 variable_no_calls: '(' . new_expr ')' property_access
|
|
610 | '(' . variable ')'
|
|
614 dimmable_variable_no_calls: '(' . new_expr ')' property_access_without_variables
|
|
615 | '(' . 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 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 348
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
new_expr go to state 352
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 353
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 174
|
|
|
|
36 class_namespace_string_typeargs: namespace_string_base . sm_typeargs_opt
|
|
|
|
T_TYPELIST_LT shift, and go to state 268
|
|
|
|
$default reduce using rule 673 (sm_typeargs_opt)
|
|
|
|
sm_typeargs_opt go to state 354
|
|
|
|
|
|
state 175
|
|
|
|
464 static_class_name: fully_qualified_class_name .
|
|
467 class_name_reference: fully_qualified_class_name .
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM reduce using rule 464 (static_class_name)
|
|
$default reduce using rule 467 (class_name_reference)
|
|
|
|
|
|
state 176
|
|
|
|
609 variable_no_calls: static_class_name . T_PAAMAYIM_NEKUDOTAYIM variable_without_objects
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM shift, and go to state 355
|
|
|
|
|
|
state 177
|
|
|
|
259 new_expr: T_NEW class_name_reference . ctor_arguments
|
|
|
|
'(' shift, and go to state 356
|
|
|
|
$default reduce using rule 477 (ctor_arguments)
|
|
|
|
ctor_arguments go to state 357
|
|
|
|
|
|
state 178
|
|
|
|
606 variable_no_calls: dimmable_variable_no_calls_access .
|
|
612 dimmable_variable_no_calls: dimmable_variable_no_calls_access .
|
|
|
|
'[' reduce using rule 612 (dimmable_variable_no_calls)
|
|
'{' reduce using rule 612 (dimmable_variable_no_calls)
|
|
$default reduce using rule 606 (variable_no_calls)
|
|
|
|
|
|
state 179
|
|
|
|
605 variable_no_calls: variable_without_objects .
|
|
|
|
$default reduce using rule 605 (variable_no_calls)
|
|
|
|
|
|
state 180
|
|
|
|
469 class_name_reference: variable_no_calls .
|
|
607 variable_no_calls: variable_no_calls . property_access
|
|
613 dimmable_variable_no_calls: variable_no_calls . property_access_without_variables
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 358
|
|
|
|
$default reduce using rule 469 (class_name_reference)
|
|
|
|
property_access go to state 359
|
|
property_access_without_variables go to state 360
|
|
|
|
|
|
state 181
|
|
|
|
563 dimmable_variable_no_calls_access: dimmable_variable_no_calls . array_access
|
|
|
|
'[' shift, and go to state 333
|
|
'{' shift, and go to state 334
|
|
|
|
array_access go to state 361
|
|
|
|
|
|
state 182
|
|
|
|
261 parenthesis_expr: '(' . expr ')'
|
|
470 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
')' shift, and go to state 362
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 363
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 183
|
|
|
|
471 exit_expr: parenthesis_expr .
|
|
|
|
$default reduce using rule 471 (exit_expr)
|
|
|
|
|
|
state 184
|
|
|
|
332 expr_no_variable: T_EXIT exit_expr .
|
|
|
|
$default reduce using rule 332 (expr_no_variable)
|
|
|
|
|
|
state 185
|
|
|
|
261 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 363
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 186
|
|
|
|
46 statement: T_IF parenthesis_expr . statement elseif_list else_single
|
|
47 | 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 364
|
|
'+' 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' 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
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
statement go to state 365
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 187
|
|
|
|
65 statement: T_ECHO expr_list . ';'
|
|
262 expr_list: expr_list . ',' expr
|
|
|
|
',' shift, and go to state 366
|
|
';' shift, and go to state 367
|
|
|
|
|
|
state 188
|
|
|
|
263 expr_list: expr .
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 263 (expr_list)
|
|
|
|
|
|
state 189
|
|
|
|
51 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' 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
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
statement go to state 368
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 190
|
|
|
|
49 statement: T_WHILE parenthesis_expr . $@3 while_statement
|
|
|
|
$default reduce using rule 48 ($@3)
|
|
|
|
$@3 go to state 369
|
|
|
|
|
|
state 191
|
|
|
|
53 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 265 (for_expr)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr_list go to state 370
|
|
for_expr go to state 371
|
|
expr go to state 188
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 192
|
|
|
|
70 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 372
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 193
|
|
|
|
71 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 373
|
|
declare_list go to state 374
|
|
|
|
|
|
state 194
|
|
|
|
55 statement: T_SWITCH parenthesis_expr . $@6 switch_case_list
|
|
|
|
$default reduce using rule 54 ($@6)
|
|
|
|
$@6 go to state 375
|
|
|
|
|
|
state 195
|
|
|
|
56 statement: T_BREAK ';' .
|
|
|
|
$default reduce using rule 56 (statement)
|
|
|
|
|
|
state 196
|
|
|
|
57 statement: T_BREAK expr . ';'
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
';' shift, and go to state 376
|
|
|
|
|
|
state 197
|
|
|
|
75 statement: T_GOTO ident . ';'
|
|
|
|
';' shift, and go to state 377
|
|
|
|
|
|
state 198
|
|
|
|
58 statement: T_CONTINUE ';' .
|
|
|
|
$default reduce using rule 58 (statement)
|
|
|
|
|
|
state 199
|
|
|
|
59 statement: T_CONTINUE expr . ';'
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
';' shift, and go to state 378
|
|
|
|
|
|
state 200
|
|
|
|
694 sm_type: '?' . sm_type
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
ident go to state 379
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 380
|
|
|
|
|
|
state 201
|
|
|
|
695 sm_type: '@' . sm_type
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
ident go to state 379
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 381
|
|
|
|
|
|
state 202
|
|
|
|
697 sm_type: T_ARRAY .
|
|
699 | T_ARRAY . T_TYPELIST_LT sm_type T_TYPELIST_GT
|
|
700 | T_ARRAY . T_TYPELIST_LT sm_type ',' sm_type T_TYPELIST_GT
|
|
|
|
T_TYPELIST_LT shift, and go to state 382
|
|
|
|
$default reduce using rule 697 (sm_type)
|
|
|
|
|
|
state 203
|
|
|
|
701 sm_type: T_XHP_LABEL .
|
|
|
|
$default reduce using rule 701 (sm_type)
|
|
|
|
|
|
state 204
|
|
|
|
693 sm_shape_type: T_SHAPE . '(' sm_shape_member_list ')'
|
|
|
|
'(' shift, and go to state 383
|
|
|
|
|
|
state 205
|
|
|
|
702 sm_type: '(' . T_FUNCTION '(' sm_func_type_list ')' ':' sm_type ')'
|
|
703 | '(' . sm_type_list ',' sm_type ')'
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_FUNCTION shift, and go to state 384
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
ident go to state 379
|
|
sm_type_list go to state 385
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 386
|
|
|
|
|
|
state 206
|
|
|
|
668 sm_name_with_type: ident .
|
|
696 sm_type: ident . sm_typeargs_opt
|
|
|
|
T_TYPELIST_LT shift, and go to state 268
|
|
|
|
'=' reduce using rule 668 (sm_name_with_type)
|
|
$default reduce using rule 673 (sm_typeargs_opt)
|
|
|
|
sm_typeargs_opt go to state 387
|
|
|
|
|
|
state 207
|
|
|
|
38 constant_declaration: T_CONST sm_name_with_type . '=' static_scalar
|
|
|
|
'=' shift, and go to state 388
|
|
|
|
|
|
state 208
|
|
|
|
698 sm_type: sm_shape_type .
|
|
|
|
$default reduce using rule 698 (sm_type)
|
|
|
|
|
|
state 209
|
|
|
|
669 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 389
|
|
|
|
|
|
state 210
|
|
|
|
60 statement: T_RETURN ';' .
|
|
|
|
$default reduce using rule 60 (statement)
|
|
|
|
|
|
state 211
|
|
|
|
61 statement: T_RETURN expr . ';'
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
';' shift, and go to state 390
|
|
|
|
|
|
state 212
|
|
|
|
72 statement: T_TRY '{' . inner_statement_list '}' T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}' additional_catches optional_finally
|
|
73 | T_TRY '{' . inner_statement_list '}' finally
|
|
|
|
$default reduce using rule 40 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 391
|
|
|
|
|
|
state 213
|
|
|
|
74 statement: T_THROW expr . ';'
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
';' shift, and go to state 392
|
|
|
|
|
|
state 214
|
|
|
|
26 use_declaration: T_NS_SEPARATOR . namespace_name
|
|
28 | 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 141
|
|
namespace_name go to state 393
|
|
|
|
|
|
state 215
|
|
|
|
15 top_statement: T_USE use_declarations . ';'
|
|
23 use_declarations: use_declarations . ',' use_declaration
|
|
|
|
',' shift, and go to state 394
|
|
';' shift, and go to state 395
|
|
|
|
|
|
state 216
|
|
|
|
24 use_declarations: use_declaration .
|
|
|
|
$default reduce using rule 24 (use_declarations)
|
|
|
|
|
|
state 217
|
|
|
|
25 use_declaration: namespace_name .
|
|
27 | namespace_name . T_AS ident
|
|
30 namespace_name: namespace_name . T_NS_SEPARATOR ident
|
|
|
|
T_AS shift, and go to state 396
|
|
T_NS_SEPARATOR shift, and go to state 267
|
|
|
|
$default reduce using rule 25 (use_declaration)
|
|
|
|
|
|
state 218
|
|
|
|
174 global_var: T_VARIABLE .
|
|
|
|
$default reduce using rule 174 (global_var)
|
|
|
|
|
|
state 219
|
|
|
|
175 global_var: '$' . variable
|
|
176 | '$' . '{' expr '}'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'{' shift, and go to state 397
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 398
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 220
|
|
|
|
63 statement: T_GLOBAL global_var_list . ';'
|
|
172 global_var_list: global_var_list . ',' global_var
|
|
|
|
',' shift, and go to state 399
|
|
';' shift, and go to state 400
|
|
|
|
|
|
state 221
|
|
|
|
173 global_var_list: global_var .
|
|
|
|
$default reduce using rule 173 (global_var_list)
|
|
|
|
|
|
state 222
|
|
|
|
112 class_entry_type: T_FINAL T_CLASS .
|
|
|
|
$default reduce using rule 112 (class_entry_type)
|
|
|
|
|
|
state 223
|
|
|
|
111 class_entry_type: T_ABSTRACT T_CLASS .
|
|
|
|
$default reduce using rule 111 (class_entry_type)
|
|
|
|
|
|
state 224
|
|
|
|
179 static_var_list: T_VARIABLE .
|
|
180 | T_VARIABLE . '=' static_scalar
|
|
|
|
'=' shift, and go to state 401
|
|
|
|
$default reduce using rule 179 (static_var_list)
|
|
|
|
|
|
state 225
|
|
|
|
342 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 273
|
|
|
|
$default reduce using rule 88 (is_reference)
|
|
|
|
is_reference go to state 402
|
|
|
|
|
|
state 226
|
|
|
|
64 statement: T_STATIC static_var_list . ';'
|
|
177 static_var_list: static_var_list . ',' T_VARIABLE
|
|
178 | static_var_list . ',' T_VARIABLE '=' static_scalar
|
|
|
|
',' shift, and go to state 403
|
|
';' shift, and go to state 404
|
|
|
|
|
|
state 227
|
|
|
|
66 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 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 405
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
variable_list go to state 406
|
|
|
|
|
|
state 228
|
|
|
|
657 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 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 405
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
variable_list go to state 407
|
|
|
|
|
|
state 229
|
|
|
|
658 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 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 408
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 230
|
|
|
|
9 top_statement: T_HALT_COMPILER '(' . ')' ';'
|
|
|
|
')' shift, and go to state 409
|
|
|
|
|
|
state 231
|
|
|
|
670 sm_name_with_typevar: ident .
|
|
671 | ident . T_TYPELIST_LT sm_typevar_list T_TYPELIST_GT
|
|
|
|
T_TYPELIST_LT shift, and go to state 410
|
|
|
|
$default reduce using rule 670 (sm_name_with_typevar)
|
|
|
|
|
|
state 232
|
|
|
|
99 class_declaration_statement: T_INTERFACE interface_decl_name . $@13 interface_extends_list '{' class_statement_list '}'
|
|
|
|
$default reduce using rule 98 ($@13)
|
|
|
|
$@13 go to state 411
|
|
|
|
|
|
state 233
|
|
|
|
108 interface_decl_name: sm_name_with_typevar .
|
|
|
|
$default reduce using rule 108 (interface_decl_name)
|
|
|
|
|
|
state 234
|
|
|
|
268 yield_list_assign_expr: T_LIST '(' . assignment_list ')' '=' yield_expr
|
|
272 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 164
|
|
T_LIST shift, and go to state 412
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
$default reduce using rule 619 (assignment_list)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 413
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
assignment_list go to state 414
|
|
|
|
|
|
state 235
|
|
|
|
355 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 415
|
|
'+' 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 623 (array_pair_list)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 416
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
array_pair_list go to state 417
|
|
non_empty_array_pair_list go to state 418
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 236
|
|
|
|
648 encaps_var: T_VARIABLE .
|
|
649 | T_VARIABLE . '[' encaps_var_offset ']'
|
|
650 | T_VARIABLE . T_OBJECT_OPERATOR ident
|
|
|
|
'[' shift, and go to state 419
|
|
T_OBJECT_OPERATOR shift, and go to state 420
|
|
|
|
$default reduce using rule 648 (encaps_var)
|
|
|
|
|
|
state 237
|
|
|
|
489 common_scalar: T_START_HEREDOC T_ENCAPSED_AND_WHITESPACE . T_END_HEREDOC
|
|
647 encaps_list: T_ENCAPSED_AND_WHITESPACE . encaps_var
|
|
|
|
T_VARIABLE shift, and go to state 236
|
|
T_END_HEREDOC shift, and go to state 421
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 239
|
|
T_CURLY_OPEN shift, and go to state 240
|
|
|
|
encaps_var go to state 422
|
|
|
|
|
|
state 238
|
|
|
|
490 common_scalar: T_START_HEREDOC T_END_HEREDOC .
|
|
|
|
$default reduce using rule 490 (common_scalar)
|
|
|
|
|
|
state 239
|
|
|
|
651 encaps_var: T_DOLLAR_OPEN_CURLY_BRACES . expr '}'
|
|
652 | 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 423
|
|
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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 424
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 240
|
|
|
|
653 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 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 425
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 241
|
|
|
|
507 scalar: T_START_HEREDOC encaps_list . T_END_HEREDOC
|
|
644 encaps_list: encaps_list . encaps_var
|
|
645 | encaps_list . T_ENCAPSED_AND_WHITESPACE
|
|
|
|
T_VARIABLE shift, and go to state 236
|
|
T_ENCAPSED_AND_WHITESPACE shift, and go to state 426
|
|
T_END_HEREDOC shift, and go to state 427
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 239
|
|
T_CURLY_OPEN shift, and go to state 240
|
|
|
|
encaps_var go to state 428
|
|
|
|
|
|
state 242
|
|
|
|
646 encaps_list: encaps_var .
|
|
|
|
$default reduce using rule 646 (encaps_list)
|
|
|
|
|
|
state 243
|
|
|
|
33 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 141
|
|
namespace_name go to state 429
|
|
|
|
|
|
state 244
|
|
|
|
14 top_statement: T_NAMESPACE '{' . $@2 top_statement_list '}'
|
|
|
|
$default reduce using rule 13 ($@2)
|
|
|
|
$@2 go to state 430
|
|
|
|
|
|
state 245
|
|
|
|
10 top_statement: T_NAMESPACE namespace_name . ';'
|
|
12 | T_NAMESPACE namespace_name . '{' $@1 top_statement_list '}'
|
|
30 namespace_name: namespace_name . T_NS_SEPARATOR ident
|
|
|
|
T_NS_SEPARATOR shift, and go to state 267
|
|
';' shift, and go to state 431
|
|
'{' shift, and go to state 432
|
|
|
|
|
|
state 246
|
|
|
|
30 namespace_name: namespace_name . T_NS_SEPARATOR ident
|
|
32 namespace_string_base: T_NS_SEPARATOR namespace_name .
|
|
|
|
T_NS_SEPARATOR shift, and go to state 267
|
|
|
|
$default reduce using rule 32 (namespace_string_base)
|
|
|
|
|
|
state 247
|
|
|
|
62 statement: T_YIELD T_BREAK . ';'
|
|
|
|
';' shift, and go to state 433
|
|
|
|
|
|
state 248
|
|
|
|
266 yield_expr: T_YIELD expr .
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 266 (yield_expr)
|
|
|
|
|
|
state 249
|
|
|
|
103 trait_declaration_statement: T_TRAIT trait_decl_name . $@15 '{' class_statement_list '}'
|
|
|
|
$default reduce using rule 102 ($@15)
|
|
|
|
$@15 go to state 434
|
|
|
|
|
|
state 250
|
|
|
|
109 trait_decl_name: sm_name_with_typevar .
|
|
|
|
$default reduce using rule 109 (trait_decl_name)
|
|
|
|
|
|
state 251
|
|
|
|
369 xhp_tag: T_XHP_TAG_LT T_XHP_LABEL . xhp_tag_body T_XHP_TAG_GT
|
|
|
|
$default reduce using rule 375 (xhp_attributes)
|
|
|
|
xhp_tag_body go to state 435
|
|
xhp_attributes go to state 436
|
|
|
|
|
|
state 252
|
|
|
|
354 shape_literal: T_SHAPE '(' . shape_pair_list ')'
|
|
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 437
|
|
|
|
$default reduce using rule 351 (shape_pair_list)
|
|
|
|
non_empty_shape_pair_list go to state 438
|
|
shape_pair_list go to state 439
|
|
|
|
|
|
state 253
|
|
|
|
667 sm_typedef_statement: T_TYPE ident . '=' sm_type ';'
|
|
|
|
'=' shift, and go to state 440
|
|
|
|
|
|
state 254
|
|
|
|
260 new_expr: '(' new_expr . ')'
|
|
271 expr: new_expr .
|
|
562 dimmable_variable_access: '(' new_expr . ')' array_access
|
|
571 variable: '(' new_expr . ')' property_access
|
|
580 dimmable_variable: '(' new_expr . ')' property_access_without_variables
|
|
589 object_method_call: '(' new_expr . ')' T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
590 | '(' new_expr . ')' T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
591 | '(' new_expr . ')' T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
')' shift, and go to state 441
|
|
|
|
$default reduce using rule 271 (expr)
|
|
|
|
|
|
state 255
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
|
|
state 256
|
|
|
|
269 expr: expr_no_variable .
|
|
321 expr_no_variable: '(' expr_no_variable . ')'
|
|
362 dim_expr_base: '(' expr_no_variable . ')'
|
|
|
|
')' shift, and go to state 442
|
|
|
|
$default reduce using rule 269 (expr)
|
|
|
|
|
|
state 257
|
|
|
|
270 expr: variable .
|
|
273 expr_no_variable: variable . '=' expr
|
|
274 | variable . '=' '&' variable
|
|
275 | variable . '=' '&' T_NEW class_name_reference ctor_arguments
|
|
277 | variable . T_PLUS_EQUAL expr
|
|
278 | variable . T_MINUS_EQUAL expr
|
|
279 | variable . T_MUL_EQUAL expr
|
|
280 | variable . T_DIV_EQUAL expr
|
|
281 | variable . T_CONCAT_EQUAL expr
|
|
282 | variable . T_MOD_EQUAL expr
|
|
283 | variable . T_AND_EQUAL expr
|
|
284 | variable . T_OR_EQUAL expr
|
|
285 | variable . T_XOR_EQUAL expr
|
|
286 | variable . T_SL_EQUAL expr
|
|
287 | variable . T_SR_EQUAL expr
|
|
288 | variable . T_INC
|
|
290 | variable . T_DEC
|
|
570 variable: variable . property_access
|
|
574 | '(' variable . ')'
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
582 | '(' variable . ')'
|
|
585 callable_variable: '(' variable . ')'
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
'=' shift, and go to state 343
|
|
T_SR_EQUAL shift, and go to state 317
|
|
T_SL_EQUAL shift, and go to state 318
|
|
T_XOR_EQUAL shift, and go to state 319
|
|
T_OR_EQUAL shift, and go to state 320
|
|
T_AND_EQUAL shift, and go to state 321
|
|
T_MOD_EQUAL shift, and go to state 322
|
|
T_CONCAT_EQUAL shift, and go to state 323
|
|
T_DIV_EQUAL shift, and go to state 324
|
|
T_MUL_EQUAL shift, and go to state 325
|
|
T_MINUS_EQUAL shift, and go to state 326
|
|
T_PLUS_EQUAL shift, and go to state 327
|
|
T_DEC shift, and go to state 328
|
|
T_INC shift, and go to state 329
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
')' shift, and go to state 443
|
|
|
|
$default reduce using rule 270 (expr)
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 258
|
|
|
|
39 inner_statement_list: inner_statement_list . inner_statement
|
|
45 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
';' shift, and go to state 87
|
|
'{' shift, and go to state 88
|
|
'}' shift, and go to state 444
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
inner_statement go to state 445
|
|
statement go to state 446
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 447
|
|
class_declaration_statement go to state 448
|
|
trait_declaration_statement go to state 449
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 259
|
|
|
|
600 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 450
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 260
|
|
|
|
474 backticks_expr: T_ENCAPSED_AND_WHITESPACE .
|
|
647 encaps_list: T_ENCAPSED_AND_WHITESPACE . encaps_var
|
|
|
|
T_VARIABLE shift, and go to state 236
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 239
|
|
T_CURLY_OPEN shift, and go to state 240
|
|
|
|
$default reduce using rule 474 (backticks_expr)
|
|
|
|
encaps_var go to state 422
|
|
|
|
|
|
state 261
|
|
|
|
337 expr_no_variable: '`' backticks_expr . '`'
|
|
|
|
'`' shift, and go to state 451
|
|
|
|
|
|
state 262
|
|
|
|
475 backticks_expr: encaps_list .
|
|
644 encaps_list: encaps_list . encaps_var
|
|
645 | encaps_list . T_ENCAPSED_AND_WHITESPACE
|
|
|
|
T_VARIABLE shift, and go to state 236
|
|
T_ENCAPSED_AND_WHITESPACE shift, and go to state 426
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 239
|
|
T_CURLY_OPEN shift, and go to state 240
|
|
|
|
$default reduce using rule 475 (backticks_expr)
|
|
|
|
encaps_var go to state 428
|
|
|
|
|
|
state 263
|
|
|
|
647 encaps_list: T_ENCAPSED_AND_WHITESPACE . encaps_var
|
|
|
|
T_VARIABLE shift, and go to state 236
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 239
|
|
T_CURLY_OPEN shift, and go to state 240
|
|
|
|
encaps_var go to state 422
|
|
|
|
|
|
state 264
|
|
|
|
505 scalar: '"' encaps_list . '"'
|
|
644 encaps_list: encaps_list . encaps_var
|
|
645 | encaps_list . T_ENCAPSED_AND_WHITESPACE
|
|
|
|
T_VARIABLE shift, and go to state 236
|
|
T_ENCAPSED_AND_WHITESPACE shift, and go to state 426
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 239
|
|
T_CURLY_OPEN shift, and go to state 240
|
|
'"' shift, and go to state 452
|
|
|
|
encaps_var go to state 428
|
|
|
|
|
|
state 265
|
|
|
|
506 scalar: '\'' encaps_list . '\''
|
|
644 encaps_list: encaps_list . encaps_var
|
|
645 | encaps_list . T_ENCAPSED_AND_WHITESPACE
|
|
|
|
T_VARIABLE shift, and go to state 236
|
|
T_ENCAPSED_AND_WHITESPACE shift, and go to state 426
|
|
T_DOLLAR_OPEN_CURLY_BRACES shift, and go to state 239
|
|
T_CURLY_OPEN shift, and go to state 240
|
|
'\'' shift, and go to state 453
|
|
|
|
encaps_var go to state 428
|
|
|
|
|
|
state 266
|
|
|
|
80 statement: ident ':' .
|
|
|
|
$default reduce using rule 80 (statement)
|
|
|
|
|
|
state 267
|
|
|
|
30 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 454
|
|
|
|
|
|
state 268
|
|
|
|
672 sm_typeargs_opt: T_TYPELIST_LT . sm_type_list T_TYPELIST_GT
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
ident go to state 379
|
|
sm_type_list go to state 455
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 386
|
|
|
|
|
|
state 269
|
|
|
|
35 namespace_string_typeargs: namespace_string_base sm_typeargs_opt .
|
|
36 class_namespace_string_typeargs: namespace_string_base sm_typeargs_opt .
|
|
|
|
'(' reduce using rule 35 (namespace_string_typeargs)
|
|
$default reduce using rule 36 (class_namespace_string_typeargs)
|
|
|
|
|
|
state 270
|
|
|
|
461 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 456
|
|
'+' 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 167 (function_call_parameter_list)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
function_call_parameter_list go to state 457
|
|
non_empty_fcall_parameter_list go to state 458
|
|
new_expr go to state 107
|
|
expr go to state 459
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 271
|
|
|
|
37 constant_declaration: constant_declaration ',' . sm_name_with_type '=' static_scalar
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
ident go to state 206
|
|
sm_name_with_type go to state 460
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 209
|
|
|
|
|
|
state 272
|
|
|
|
16 top_statement: constant_declaration ';' .
|
|
|
|
$default reduce using rule 16 (top_statement)
|
|
|
|
|
|
state 273
|
|
|
|
87 is_reference: '&' .
|
|
|
|
$default reduce using rule 87 (is_reference)
|
|
|
|
|
|
state 274
|
|
|
|
91 function_declaration_statement: function_loc is_reference . sm_name_with_typevar $@9 '(' parameter_list ')' sm_opt_return_type '{' inner_statement_list '}'
|
|
340 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 461
|
|
|
|
ident go to state 231
|
|
sm_name_with_typevar go to state 462
|
|
|
|
|
|
state 275
|
|
|
|
107 class_decl_name: T_XHP_LABEL .
|
|
|
|
$default reduce using rule 107 (class_decl_name)
|
|
|
|
|
|
state 276
|
|
|
|
95 class_declaration_statement: class_entry_type class_decl_name . $@11 extends_from implements_list '{' class_statement_list '}'
|
|
|
|
$default reduce using rule 94 ($@11)
|
|
|
|
$@11 go to state 463
|
|
|
|
|
|
state 277
|
|
|
|
106 class_decl_name: sm_name_with_typevar .
|
|
|
|
$default reduce using rule 106 (class_decl_name)
|
|
|
|
|
|
state 278
|
|
|
|
77 statement: yield_expr ';' .
|
|
|
|
$default reduce using rule 77 (statement)
|
|
|
|
|
|
state 279
|
|
|
|
78 statement: yield_assign_expr ';' .
|
|
|
|
$default reduce using rule 78 (statement)
|
|
|
|
|
|
state 280
|
|
|
|
79 statement: yield_list_assign_expr ';' .
|
|
|
|
$default reduce using rule 79 (statement)
|
|
|
|
|
|
state 281
|
|
|
|
294 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 464
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 282
|
|
|
|
296 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 465
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 283
|
|
|
|
295 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 466
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 284
|
|
|
|
322 expr_no_variable: expr '?' . expr ':' expr
|
|
323 | 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 467
|
|
'+' 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 468
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 285
|
|
|
|
292 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 469
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 286
|
|
|
|
293 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 470
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 287
|
|
|
|
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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 471
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 288
|
|
|
|
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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 472
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 289
|
|
|
|
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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 473
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 290
|
|
|
|
313 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 474
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 291
|
|
|
|
312 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 475
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 292
|
|
|
|
315 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 476
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 293
|
|
|
|
314 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 477
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 294
|
|
|
|
316 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 478
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 295
|
|
|
|
318 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 479
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 296
|
|
|
|
319 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 480
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 297
|
|
|
|
317 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 481
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 298
|
|
|
|
307 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 482
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 299
|
|
|
|
306 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 483
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 300
|
|
|
|
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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 484
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 301
|
|
|
|
302 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 485
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 302
|
|
|
|
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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 486
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 303
|
|
|
|
303 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 487
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 304
|
|
|
|
304 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 488
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 305
|
|
|
|
305 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 489
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 306
|
|
|
|
320 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 172
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 173
|
|
'$' shift, and go to state 89
|
|
|
|
$default reduce using rule 611 (dimmable_variable_no_calls)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 174
|
|
class_namespace_string_typeargs go to state 99
|
|
fully_qualified_class_name go to state 175
|
|
static_class_name go to state 176
|
|
class_name_reference go to state 490
|
|
dimmable_variable_no_calls_access go to state 178
|
|
variable_without_objects go to state 179
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
variable_no_calls go to state 180
|
|
dimmable_variable_no_calls go to state 181
|
|
|
|
|
|
state 307
|
|
|
|
76 statement: expr ';' .
|
|
|
|
$default reduce using rule 76 (statement)
|
|
|
|
|
|
state 308
|
|
|
|
358 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 602 (dim_offset)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 491
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
dim_offset go to state 492
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 309
|
|
|
|
359 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 602 (dim_offset)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 491
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
dim_offset go to state 493
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 310
|
|
|
|
356 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 633 (collection_init)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 494
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
collection_init go to state 495
|
|
non_empty_collection_init go to state 496
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 311
|
|
|
|
572 variable: static_class_name T_PAAMAYIM_NEKUDOTAYIM . variable_without_objects
|
|
592 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM . ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
593 | static_class_name T_PAAMAYIM_NEKUDOTAYIM . variable_without_objects '(' function_call_parameter_list ')'
|
|
666 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 89
|
|
|
|
ident go to state 497
|
|
variable_without_objects go to state 498
|
|
reference_variable go to state 499
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 312
|
|
|
|
101 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 231
|
|
interface_decl_name go to state 500
|
|
sm_name_with_typevar go to state 233
|
|
|
|
|
|
state 313
|
|
|
|
105 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 231
|
|
trait_decl_name go to state 501
|
|
sm_name_with_typevar go to state 250
|
|
|
|
|
|
state 314
|
|
|
|
93 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 273
|
|
|
|
$default reduce using rule 88 (is_reference)
|
|
|
|
is_reference go to state 502
|
|
|
|
|
|
state 315
|
|
|
|
97 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 275
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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 231
|
|
class_decl_name go to state 503
|
|
sm_name_with_typevar go to state 277
|
|
|
|
|
|
state 316
|
|
|
|
267 yield_assign_expr: variable '=' . yield_expr
|
|
273 expr_no_variable: variable '=' . expr
|
|
274 | variable '=' . '&' variable
|
|
275 | 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 504
|
|
'+' 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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 505
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
yield_expr go to state 506
|
|
expr go to state 507
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 317
|
|
|
|
287 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 508
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 318
|
|
|
|
286 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 509
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 319
|
|
|
|
285 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 510
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 320
|
|
|
|
284 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 511
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 321
|
|
|
|
283 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 512
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 322
|
|
|
|
282 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 513
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 323
|
|
|
|
281 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 514
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 324
|
|
|
|
280 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 515
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 325
|
|
|
|
279 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 516
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 326
|
|
|
|
278 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 517
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 327
|
|
|
|
277 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 518
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 328
|
|
|
|
290 expr_no_variable: variable T_DEC .
|
|
|
|
$default reduce using rule 290 (expr_no_variable)
|
|
|
|
|
|
state 329
|
|
|
|
288 expr_no_variable: variable T_INC .
|
|
|
|
$default reduce using rule 288 (expr_no_variable)
|
|
|
|
|
|
state 330
|
|
|
|
556 property_access: T_OBJECT_OPERATOR . variable_without_objects
|
|
557 property_access_without_variables: T_OBJECT_OPERATOR . ident
|
|
558 | T_OBJECT_OPERATOR . '{' expr '}'
|
|
586 object_method_call: variable T_OBJECT_OPERATOR . ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable T_OBJECT_OPERATOR . variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | 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 519
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 520
|
|
variable_without_objects go to state 521
|
|
reference_variable go to state 499
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 331
|
|
|
|
570 variable: variable property_access .
|
|
|
|
$default reduce using rule 570 (variable)
|
|
|
|
|
|
state 332
|
|
|
|
555 property_access: property_access_without_variables .
|
|
579 dimmable_variable: variable property_access_without_variables .
|
|
|
|
'[' reduce using rule 579 (dimmable_variable)
|
|
'{' reduce using rule 579 (dimmable_variable)
|
|
$default reduce using rule 555 (property_access)
|
|
|
|
|
|
state 333
|
|
|
|
559 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 602 (dim_offset)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 491
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
dim_offset go to state 522
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 334
|
|
|
|
560 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 523
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 335
|
|
|
|
561 dimmable_variable_access: dimmable_variable array_access .
|
|
|
|
$default reduce using rule 561 (dimmable_variable_access)
|
|
|
|
|
|
state 336
|
|
|
|
573 variable: callable_variable '(' . function_call_parameter_list ')'
|
|
581 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 456
|
|
'+' 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 167 (function_call_parameter_list)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
function_call_parameter_list go to state 524
|
|
non_empty_fcall_parameter_list go to state 458
|
|
new_expr go to state 107
|
|
expr go to state 459
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 337
|
|
|
|
596 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 602 (dim_offset)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 491
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
dim_offset go to state 525
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 338
|
|
|
|
597 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 526
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 339
|
|
|
|
600 compound_variable: '$' . '{' expr '}'
|
|
604 simple_indirect_reference: simple_indirect_reference '$' .
|
|
|
|
'{' shift, and go to state 259
|
|
|
|
$default reduce using rule 604 (simple_indirect_reference)
|
|
|
|
|
|
state 340
|
|
|
|
595 variable_without_objects: simple_indirect_reference reference_variable .
|
|
596 reference_variable: reference_variable . '[' dim_offset ']'
|
|
597 | reference_variable . '{' expr '}'
|
|
|
|
'[' shift, and go to state 337
|
|
'{' shift, and go to state 338
|
|
|
|
$default reduce using rule 595 (variable_without_objects)
|
|
|
|
|
|
state 341
|
|
|
|
272 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 164
|
|
T_LIST shift, and go to state 412
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
$default reduce using rule 619 (assignment_list)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 413
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
assignment_list go to state 527
|
|
|
|
|
|
state 342
|
|
|
|
340 expr_no_variable: function_loc is_reference . '(' $@21 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
'(' shift, and go to state 461
|
|
|
|
|
|
state 343
|
|
|
|
273 expr_no_variable: variable '=' . expr
|
|
274 | variable '=' . '&' variable
|
|
275 | 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 504
|
|
'+' 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 507
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 344
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
661 internal_functions: T_EVAL '(' expr . ')'
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
')' shift, and go to state 528
|
|
|
|
|
|
state 345
|
|
|
|
552 non_empty_user_attributes: T_SL user_attribute_list T_SR .
|
|
|
|
$default reduce using rule 552 (non_empty_user_attributes)
|
|
|
|
|
|
state 346
|
|
|
|
549 non_empty_user_attribute_list: ident . attribute_static_scalar_list
|
|
|
|
'(' shift, and go to state 529
|
|
|
|
$default reduce using rule 547 (attribute_static_scalar_list)
|
|
|
|
attribute_static_scalar_list go to state 530
|
|
|
|
|
|
state 347
|
|
|
|
548 non_empty_user_attribute_list: non_empty_user_attribute_list . ',' ident attribute_static_scalar_list
|
|
551 user_attribute_list: $@23 non_empty_user_attribute_list . possible_comma
|
|
|
|
',' shift, and go to state 531
|
|
|
|
$default reduce using rule 511 (possible_comma)
|
|
|
|
possible_comma go to state 532
|
|
|
|
|
|
state 348
|
|
|
|
260 new_expr: '(' . new_expr ')'
|
|
562 dimmable_variable_access: '(' . new_expr ')' array_access
|
|
571 variable: '(' . new_expr ')' property_access
|
|
574 | '(' . variable ')'
|
|
580 dimmable_variable: '(' . new_expr ')' property_access_without_variables
|
|
582 | '(' . variable ')'
|
|
585 callable_variable: '(' . variable ')'
|
|
589 object_method_call: '(' . new_expr ')' T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
590 | '(' . new_expr ')' T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
591 | '(' . 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 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 348
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
new_expr go to state 533
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 350
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 349
|
|
|
|
562 dimmable_variable_access: '(' new_expr . ')' array_access
|
|
571 variable: '(' new_expr . ')' property_access
|
|
580 dimmable_variable: '(' new_expr . ')' property_access_without_variables
|
|
589 object_method_call: '(' new_expr . ')' T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
590 | '(' new_expr . ')' T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
591 | '(' new_expr . ')' T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
')' shift, and go to state 534
|
|
|
|
|
|
state 350
|
|
|
|
570 variable: variable . property_access
|
|
574 | '(' variable . ')'
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
582 | '(' variable . ')'
|
|
585 callable_variable: '(' variable . ')'
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
')' shift, and go to state 443
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 351
|
|
|
|
572 variable: static_class_name T_PAAMAYIM_NEKUDOTAYIM . variable_without_objects
|
|
592 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM . ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
593 | 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 89
|
|
|
|
ident go to state 535
|
|
variable_without_objects go to state 498
|
|
reference_variable go to state 499
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 352
|
|
|
|
564 dimmable_variable_no_calls_access: '(' new_expr . ')' array_access
|
|
608 variable_no_calls: '(' new_expr . ')' property_access
|
|
614 dimmable_variable_no_calls: '(' new_expr . ')' property_access_without_variables
|
|
|
|
')' shift, and go to state 536
|
|
|
|
|
|
state 353
|
|
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
610 variable_no_calls: '(' variable . ')'
|
|
615 dimmable_variable_no_calls: '(' variable . ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
')' shift, and go to state 537
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 354
|
|
|
|
36 class_namespace_string_typeargs: namespace_string_base sm_typeargs_opt .
|
|
|
|
$default reduce using rule 36 (class_namespace_string_typeargs)
|
|
|
|
|
|
state 355
|
|
|
|
609 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 89
|
|
|
|
variable_without_objects go to state 538
|
|
reference_variable go to state 499
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 356
|
|
|
|
476 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 456
|
|
'+' 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 167 (function_call_parameter_list)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
function_call_parameter_list go to state 539
|
|
non_empty_fcall_parameter_list go to state 458
|
|
new_expr go to state 107
|
|
expr go to state 459
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 357
|
|
|
|
259 new_expr: T_NEW class_name_reference ctor_arguments .
|
|
|
|
$default reduce using rule 259 (new_expr)
|
|
|
|
|
|
state 358
|
|
|
|
556 property_access: T_OBJECT_OPERATOR . variable_without_objects
|
|
557 property_access_without_variables: T_OBJECT_OPERATOR . ident
|
|
558 | 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 540
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 541
|
|
variable_without_objects go to state 542
|
|
reference_variable go to state 499
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 359
|
|
|
|
607 variable_no_calls: variable_no_calls property_access .
|
|
|
|
$default reduce using rule 607 (variable_no_calls)
|
|
|
|
|
|
state 360
|
|
|
|
555 property_access: property_access_without_variables .
|
|
613 dimmable_variable_no_calls: variable_no_calls property_access_without_variables .
|
|
|
|
'[' reduce using rule 613 (dimmable_variable_no_calls)
|
|
'{' reduce using rule 613 (dimmable_variable_no_calls)
|
|
$default reduce using rule 555 (property_access)
|
|
|
|
|
|
state 361
|
|
|
|
563 dimmable_variable_no_calls_access: dimmable_variable_no_calls array_access .
|
|
|
|
$default reduce using rule 563 (dimmable_variable_no_calls_access)
|
|
|
|
|
|
state 362
|
|
|
|
470 exit_expr: '(' ')' .
|
|
|
|
$default reduce using rule 470 (exit_expr)
|
|
|
|
|
|
state 363
|
|
|
|
261 parenthesis_expr: '(' expr . ')'
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
')' shift, and go to state 543
|
|
|
|
|
|
state 364
|
|
|
|
47 statement: T_IF parenthesis_expr ':' . inner_statement_list new_elseif_list new_else_single T_ENDIF ';'
|
|
|
|
$default reduce using rule 40 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 544
|
|
|
|
|
|
state 365
|
|
|
|
46 statement: T_IF parenthesis_expr statement . elseif_list else_single
|
|
|
|
$default reduce using rule 147 (elseif_list)
|
|
|
|
elseif_list go to state 545
|
|
|
|
|
|
state 366
|
|
|
|
262 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 546
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 367
|
|
|
|
65 statement: T_ECHO expr_list ';' .
|
|
|
|
$default reduce using rule 65 (statement)
|
|
|
|
|
|
state 368
|
|
|
|
51 statement: T_DO $@4 statement . T_WHILE parenthesis_expr ';'
|
|
|
|
T_WHILE shift, and go to state 547
|
|
|
|
|
|
state 369
|
|
|
|
49 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 548
|
|
'+' 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' 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
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
statement go to state 549
|
|
function_loc go to state 142
|
|
while_statement go to state 550
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 370
|
|
|
|
262 expr_list: expr_list . ',' expr
|
|
264 for_expr: expr_list .
|
|
|
|
',' shift, and go to state 366
|
|
|
|
$default reduce using rule 264 (for_expr)
|
|
|
|
|
|
state 371
|
|
|
|
53 statement: T_FOR '(' for_expr . ';' for_expr ';' for_expr ')' $@5 for_statement
|
|
|
|
';' shift, and go to state 551
|
|
|
|
|
|
state 372
|
|
|
|
70 statement: T_FOREACH '(' expr . T_AS foreach_variable foreach_optional_arg ')' $@7 foreach_statement
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
T_AS shift, and go to state 552
|
|
|
|
|
|
state 373
|
|
|
|
135 declare_list: ident . '=' static_scalar
|
|
|
|
'=' shift, and go to state 553
|
|
|
|
|
|
state 374
|
|
|
|
71 statement: T_DECLARE '(' declare_list . ')' declare_statement
|
|
136 declare_list: declare_list . ',' ident '=' static_scalar
|
|
|
|
',' shift, and go to state 554
|
|
')' shift, and go to state 555
|
|
|
|
|
|
state 375
|
|
|
|
55 statement: T_SWITCH parenthesis_expr $@6 . switch_case_list
|
|
|
|
':' shift, and go to state 556
|
|
'{' shift, and go to state 557
|
|
|
|
switch_case_list go to state 558
|
|
|
|
|
|
state 376
|
|
|
|
57 statement: T_BREAK expr ';' .
|
|
|
|
$default reduce using rule 57 (statement)
|
|
|
|
|
|
state 377
|
|
|
|
75 statement: T_GOTO ident ';' .
|
|
|
|
$default reduce using rule 75 (statement)
|
|
|
|
|
|
state 378
|
|
|
|
59 statement: T_CONTINUE expr ';' .
|
|
|
|
$default reduce using rule 59 (statement)
|
|
|
|
|
|
state 379
|
|
|
|
696 sm_type: ident . sm_typeargs_opt
|
|
|
|
T_TYPELIST_LT shift, and go to state 268
|
|
|
|
$default reduce using rule 673 (sm_typeargs_opt)
|
|
|
|
sm_typeargs_opt go to state 387
|
|
|
|
|
|
state 380
|
|
|
|
694 sm_type: '?' sm_type .
|
|
|
|
$default reduce using rule 694 (sm_type)
|
|
|
|
|
|
state 381
|
|
|
|
695 sm_type: '@' sm_type .
|
|
|
|
$default reduce using rule 695 (sm_type)
|
|
|
|
|
|
state 382
|
|
|
|
699 sm_type: T_ARRAY T_TYPELIST_LT . sm_type T_TYPELIST_GT
|
|
700 | T_ARRAY T_TYPELIST_LT . sm_type ',' sm_type T_TYPELIST_GT
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
ident go to state 379
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 559
|
|
|
|
|
|
state 383
|
|
|
|
693 sm_shape_type: T_SHAPE '(' . sm_shape_member_list ')'
|
|
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 560
|
|
|
|
$default reduce using rule 692 (sm_shape_member_list)
|
|
|
|
sm_shape_member_type go to state 561
|
|
sm_non_empty_shape_member_list go to state 562
|
|
sm_shape_member_list go to state 563
|
|
|
|
|
|
state 384
|
|
|
|
702 sm_type: '(' T_FUNCTION . '(' sm_func_type_list ')' ':' sm_type ')'
|
|
|
|
'(' shift, and go to state 564
|
|
|
|
|
|
state 385
|
|
|
|
675 sm_type_list: sm_type_list . ',' sm_type
|
|
703 sm_type: '(' sm_type_list . ',' sm_type ')'
|
|
|
|
',' shift, and go to state 565
|
|
|
|
|
|
state 386
|
|
|
|
674 sm_type_list: sm_type .
|
|
|
|
$default reduce using rule 674 (sm_type_list)
|
|
|
|
|
|
state 387
|
|
|
|
696 sm_type: ident sm_typeargs_opt .
|
|
|
|
$default reduce using rule 696 (sm_type)
|
|
|
|
|
|
state 388
|
|
|
|
38 constant_declaration: T_CONST sm_name_with_type '=' . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 578
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 389
|
|
|
|
669 sm_name_with_type: sm_type ident .
|
|
|
|
$default reduce using rule 669 (sm_name_with_type)
|
|
|
|
|
|
state 390
|
|
|
|
61 statement: T_RETURN expr ';' .
|
|
|
|
$default reduce using rule 61 (statement)
|
|
|
|
|
|
state 391
|
|
|
|
39 inner_statement_list: inner_statement_list . inner_statement
|
|
72 statement: T_TRY '{' inner_statement_list . '}' T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}' additional_catches optional_finally
|
|
73 | 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
';' shift, and go to state 87
|
|
'{' shift, and go to state 88
|
|
'}' shift, and go to state 580
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
inner_statement go to state 445
|
|
statement go to state 446
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 447
|
|
class_declaration_statement go to state 448
|
|
trait_declaration_statement go to state 449
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 392
|
|
|
|
74 statement: T_THROW expr ';' .
|
|
|
|
$default reduce using rule 74 (statement)
|
|
|
|
|
|
state 393
|
|
|
|
26 use_declaration: T_NS_SEPARATOR namespace_name .
|
|
28 | T_NS_SEPARATOR namespace_name . T_AS ident
|
|
30 namespace_name: namespace_name . T_NS_SEPARATOR ident
|
|
|
|
T_AS shift, and go to state 581
|
|
T_NS_SEPARATOR shift, and go to state 267
|
|
|
|
$default reduce using rule 26 (use_declaration)
|
|
|
|
|
|
state 394
|
|
|
|
23 use_declarations: use_declarations ',' . use_declaration
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NS_SEPARATOR shift, and go to state 214
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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 141
|
|
use_declaration go to state 582
|
|
namespace_name go to state 217
|
|
|
|
|
|
state 395
|
|
|
|
15 top_statement: T_USE use_declarations ';' .
|
|
|
|
$default reduce using rule 15 (top_statement)
|
|
|
|
|
|
state 396
|
|
|
|
27 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 583
|
|
|
|
|
|
state 397
|
|
|
|
176 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 584
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 398
|
|
|
|
175 global_var: '$' variable .
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
|
|
$default reduce using rule 175 (global_var)
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 399
|
|
|
|
172 global_var_list: global_var_list ',' . global_var
|
|
|
|
T_VARIABLE shift, and go to state 218
|
|
'$' shift, and go to state 219
|
|
|
|
global_var go to state 585
|
|
|
|
|
|
state 400
|
|
|
|
63 statement: T_GLOBAL global_var_list ';' .
|
|
|
|
$default reduce using rule 63 (statement)
|
|
|
|
|
|
state 401
|
|
|
|
180 static_var_list: T_VARIABLE '=' . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 586
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 402
|
|
|
|
342 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 587
|
|
|
|
|
|
state 403
|
|
|
|
177 static_var_list: static_var_list ',' . T_VARIABLE
|
|
178 | static_var_list ',' . T_VARIABLE '=' static_scalar
|
|
|
|
T_VARIABLE shift, and go to state 588
|
|
|
|
|
|
state 404
|
|
|
|
64 statement: T_STATIC static_var_list ';' .
|
|
|
|
$default reduce using rule 64 (statement)
|
|
|
|
|
|
state 405
|
|
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
664 variable_list: variable .
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
|
|
$default reduce using rule 664 (variable_list)
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 406
|
|
|
|
66 statement: T_UNSET '(' variable_list . ')' ';'
|
|
665 variable_list: variable_list . ',' variable
|
|
|
|
',' shift, and go to state 589
|
|
')' shift, and go to state 590
|
|
|
|
|
|
state 407
|
|
|
|
657 internal_functions: T_ISSET '(' variable_list . ')'
|
|
665 variable_list: variable_list . ',' variable
|
|
|
|
',' shift, and go to state 589
|
|
')' shift, and go to state 591
|
|
|
|
|
|
state 408
|
|
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
658 internal_functions: T_EMPTY '(' variable . ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
')' shift, and go to state 592
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 409
|
|
|
|
9 top_statement: T_HALT_COMPILER '(' ')' . ';'
|
|
|
|
';' shift, and go to state 593
|
|
|
|
|
|
state 410
|
|
|
|
671 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 594
|
|
sm_typevar_list go to state 595
|
|
|
|
|
|
state 411
|
|
|
|
99 class_declaration_statement: T_INTERFACE interface_decl_name $@13 . interface_extends_list '{' class_statement_list '}'
|
|
|
|
T_EXTENDS shift, and go to state 596
|
|
|
|
$default reduce using rule 118 (interface_extends_list)
|
|
|
|
interface_extends_list go to state 597
|
|
|
|
|
|
state 412
|
|
|
|
621 assignment_list: T_LIST . '(' assignment_list ')'
|
|
|
|
'(' shift, and go to state 598
|
|
|
|
|
|
state 413
|
|
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
620 assignment_list: variable .
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
|
|
$default reduce using rule 620 (assignment_list)
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 414
|
|
|
|
268 yield_list_assign_expr: T_LIST '(' assignment_list . ')' '=' yield_expr
|
|
272 expr_no_variable: T_LIST '(' assignment_list . ')' '=' expr
|
|
616 assignment_list: assignment_list . ','
|
|
617 | assignment_list . ',' variable
|
|
618 | assignment_list . ',' T_LIST '(' assignment_list ')'
|
|
|
|
',' shift, and go to state 599
|
|
')' shift, and go to state 600
|
|
|
|
|
|
state 415
|
|
|
|
631 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 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 601
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 416
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
626 non_empty_array_pair_list: expr . T_DOUBLE_ARROW expr
|
|
627 | expr .
|
|
630 | expr . T_DOUBLE_ARROW '&' variable
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
T_DOUBLE_ARROW shift, and go to state 602
|
|
|
|
$default reduce using rule 627 (non_empty_array_pair_list)
|
|
|
|
|
|
state 417
|
|
|
|
355 array_literal: T_ARRAY '(' array_pair_list . ')'
|
|
|
|
')' shift, and go to state 603
|
|
|
|
|
|
state 418
|
|
|
|
622 array_pair_list: non_empty_array_pair_list . possible_comma
|
|
624 non_empty_array_pair_list: non_empty_array_pair_list . ',' expr T_DOUBLE_ARROW expr
|
|
625 | non_empty_array_pair_list . ',' expr
|
|
628 | non_empty_array_pair_list . ',' expr T_DOUBLE_ARROW '&' variable
|
|
629 | non_empty_array_pair_list . ',' '&' variable
|
|
|
|
',' shift, and go to state 604
|
|
|
|
$default reduce using rule 511 (possible_comma)
|
|
|
|
possible_comma go to state 605
|
|
|
|
|
|
state 419
|
|
|
|
649 encaps_var: T_VARIABLE '[' . encaps_var_offset ']'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 606
|
|
T_NUM_STRING shift, and go to state 607
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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 608
|
|
encaps_var_offset go to state 609
|
|
|
|
|
|
state 420
|
|
|
|
650 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 610
|
|
|
|
|
|
state 421
|
|
|
|
489 common_scalar: T_START_HEREDOC T_ENCAPSED_AND_WHITESPACE T_END_HEREDOC .
|
|
|
|
$default reduce using rule 489 (common_scalar)
|
|
|
|
|
|
state 422
|
|
|
|
647 encaps_list: T_ENCAPSED_AND_WHITESPACE encaps_var .
|
|
|
|
$default reduce using rule 647 (encaps_list)
|
|
|
|
|
|
state 423
|
|
|
|
502 scalar: T_STRING_VARNAME .
|
|
652 encaps_var: T_DOLLAR_OPEN_CURLY_BRACES T_STRING_VARNAME . '[' expr ']' '}'
|
|
|
|
'[' shift, and go to state 611
|
|
|
|
$default reduce using rule 502 (scalar)
|
|
|
|
|
|
state 424
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
651 encaps_var: T_DOLLAR_OPEN_CURLY_BRACES expr . '}'
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
'}' shift, and go to state 612
|
|
|
|
|
|
state 425
|
|
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
653 encaps_var: T_CURLY_OPEN variable . '}'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
'}' shift, and go to state 613
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 426
|
|
|
|
645 encaps_list: encaps_list T_ENCAPSED_AND_WHITESPACE .
|
|
|
|
$default reduce using rule 645 (encaps_list)
|
|
|
|
|
|
state 427
|
|
|
|
507 scalar: T_START_HEREDOC encaps_list T_END_HEREDOC .
|
|
|
|
$default reduce using rule 507 (scalar)
|
|
|
|
|
|
state 428
|
|
|
|
644 encaps_list: encaps_list encaps_var .
|
|
|
|
$default reduce using rule 644 (encaps_list)
|
|
|
|
|
|
state 429
|
|
|
|
30 namespace_name: namespace_name . T_NS_SEPARATOR ident
|
|
33 namespace_string_base: T_NAMESPACE T_NS_SEPARATOR namespace_name .
|
|
|
|
T_NS_SEPARATOR shift, and go to state 267
|
|
|
|
$default reduce using rule 33 (namespace_string_base)
|
|
|
|
|
|
state 430
|
|
|
|
14 top_statement: T_NAMESPACE '{' $@2 . top_statement_list '}'
|
|
|
|
$default reduce using rule 3 (top_statement_list)
|
|
|
|
top_statement_list go to state 614
|
|
|
|
|
|
state 431
|
|
|
|
10 top_statement: T_NAMESPACE namespace_name ';' .
|
|
|
|
$default reduce using rule 10 (top_statement)
|
|
|
|
|
|
state 432
|
|
|
|
12 top_statement: T_NAMESPACE namespace_name '{' . $@1 top_statement_list '}'
|
|
|
|
$default reduce using rule 11 ($@1)
|
|
|
|
$@1 go to state 615
|
|
|
|
|
|
state 433
|
|
|
|
62 statement: T_YIELD T_BREAK ';' .
|
|
|
|
$default reduce using rule 62 (statement)
|
|
|
|
|
|
state 434
|
|
|
|
103 trait_declaration_statement: T_TRAIT trait_decl_name $@15 . '{' class_statement_list '}'
|
|
|
|
'{' shift, and go to state 616
|
|
|
|
|
|
state 435
|
|
|
|
369 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 617
|
|
|
|
|
|
state 436
|
|
|
|
370 xhp_tag_body: xhp_attributes . '/'
|
|
371 | xhp_attributes . T_XHP_TAG_GT xhp_children T_XHP_TAG_LT '/' xhp_opt_end_label
|
|
374 xhp_attributes: xhp_attributes . xhp_attribute_name '=' xhp_attribute_value
|
|
|
|
'/' shift, and go to state 618
|
|
T_XHP_LABEL shift, and go to state 619
|
|
T_XHP_TAG_GT shift, and go to state 620
|
|
|
|
xhp_attribute_name go to state 621
|
|
|
|
|
|
state 437
|
|
|
|
347 non_empty_shape_pair_list: T_CONSTANT_ENCAPSED_STRING . T_DOUBLE_ARROW expr
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 622
|
|
|
|
|
|
state 438
|
|
|
|
346 non_empty_shape_pair_list: non_empty_shape_pair_list . ',' T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW expr
|
|
350 shape_pair_list: non_empty_shape_pair_list . possible_comma
|
|
|
|
',' shift, and go to state 623
|
|
|
|
$default reduce using rule 511 (possible_comma)
|
|
|
|
possible_comma go to state 624
|
|
|
|
|
|
state 439
|
|
|
|
354 shape_literal: T_SHAPE '(' shape_pair_list . ')'
|
|
|
|
')' shift, and go to state 625
|
|
|
|
|
|
state 440
|
|
|
|
667 sm_typedef_statement: T_TYPE ident '=' . sm_type ';'
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
ident go to state 379
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 626
|
|
|
|
|
|
state 441
|
|
|
|
260 new_expr: '(' new_expr ')' .
|
|
562 dimmable_variable_access: '(' new_expr ')' . array_access
|
|
571 variable: '(' new_expr ')' . property_access
|
|
580 dimmable_variable: '(' new_expr ')' . property_access_without_variables
|
|
589 object_method_call: '(' new_expr ')' . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
590 | '(' new_expr ')' . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
591 | '(' new_expr ')' . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
'[' shift, and go to state 333
|
|
T_OBJECT_OPERATOR shift, and go to state 627
|
|
'{' shift, and go to state 334
|
|
|
|
$default reduce using rule 260 (new_expr)
|
|
|
|
property_access go to state 628
|
|
property_access_without_variables go to state 629
|
|
array_access go to state 630
|
|
|
|
|
|
state 442
|
|
|
|
321 expr_no_variable: '(' expr_no_variable ')' .
|
|
362 dim_expr_base: '(' expr_no_variable ')' .
|
|
|
|
'[' reduce using rule 362 (dim_expr_base)
|
|
$default reduce using rule 321 (expr_no_variable)
|
|
|
|
|
|
state 443
|
|
|
|
574 variable: '(' variable ')' .
|
|
582 dimmable_variable: '(' variable ')' .
|
|
585 callable_variable: '(' variable ')' .
|
|
|
|
'[' reduce using rule 582 (dimmable_variable)
|
|
'(' reduce using rule 585 (callable_variable)
|
|
'{' reduce using rule 582 (dimmable_variable)
|
|
$default reduce using rule 574 (variable)
|
|
|
|
|
|
state 444
|
|
|
|
45 statement: '{' inner_statement_list '}' .
|
|
|
|
$default reduce using rule 45 (statement)
|
|
|
|
|
|
state 445
|
|
|
|
39 inner_statement_list: inner_statement_list inner_statement .
|
|
|
|
$default reduce using rule 39 (inner_statement_list)
|
|
|
|
|
|
state 446
|
|
|
|
41 inner_statement: statement .
|
|
|
|
$default reduce using rule 41 (inner_statement)
|
|
|
|
|
|
state 447
|
|
|
|
42 inner_statement: function_declaration_statement .
|
|
|
|
$default reduce using rule 42 (inner_statement)
|
|
|
|
|
|
state 448
|
|
|
|
43 inner_statement: class_declaration_statement .
|
|
|
|
$default reduce using rule 43 (inner_statement)
|
|
|
|
|
|
state 449
|
|
|
|
44 inner_statement: trait_declaration_statement .
|
|
|
|
$default reduce using rule 44 (inner_statement)
|
|
|
|
|
|
state 450
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
600 compound_variable: '$' '{' expr . '}'
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
'}' shift, and go to state 631
|
|
|
|
|
|
state 451
|
|
|
|
337 expr_no_variable: '`' backticks_expr '`' .
|
|
|
|
$default reduce using rule 337 (expr_no_variable)
|
|
|
|
|
|
state 452
|
|
|
|
505 scalar: '"' encaps_list '"' .
|
|
|
|
$default reduce using rule 505 (scalar)
|
|
|
|
|
|
state 453
|
|
|
|
506 scalar: '\'' encaps_list '\'' .
|
|
|
|
$default reduce using rule 506 (scalar)
|
|
|
|
|
|
state 454
|
|
|
|
30 namespace_name: namespace_name T_NS_SEPARATOR ident .
|
|
|
|
$default reduce using rule 30 (namespace_name)
|
|
|
|
|
|
state 455
|
|
|
|
672 sm_typeargs_opt: T_TYPELIST_LT sm_type_list . T_TYPELIST_GT
|
|
675 sm_type_list: sm_type_list . ',' sm_type
|
|
|
|
',' shift, and go to state 632
|
|
T_TYPELIST_GT shift, and go to state 633
|
|
|
|
|
|
state 456
|
|
|
|
169 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 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 634
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 457
|
|
|
|
461 simple_function_call: namespace_string_typeargs '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 635
|
|
|
|
|
|
state 458
|
|
|
|
166 function_call_parameter_list: non_empty_fcall_parameter_list . possible_comma_in_hphp_syntax
|
|
170 non_empty_fcall_parameter_list: non_empty_fcall_parameter_list . ',' expr
|
|
171 | non_empty_fcall_parameter_list . ',' '&' variable
|
|
|
|
',' shift, and go to state 636
|
|
|
|
$default reduce using rule 513 (possible_comma_in_hphp_syntax)
|
|
|
|
possible_comma_in_hphp_syntax go to state 637
|
|
|
|
|
|
state 459
|
|
|
|
168 non_empty_fcall_parameter_list: expr .
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 168 (non_empty_fcall_parameter_list)
|
|
|
|
|
|
state 460
|
|
|
|
37 constant_declaration: constant_declaration ',' sm_name_with_type . '=' static_scalar
|
|
|
|
'=' shift, and go to state 638
|
|
|
|
|
|
state 461
|
|
|
|
340 expr_no_variable: function_loc is_reference '(' . $@21 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
$default reduce using rule 339 ($@21)
|
|
|
|
$@21 go to state 639
|
|
|
|
|
|
state 462
|
|
|
|
91 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 ($@9)
|
|
|
|
$@9 go to state 640
|
|
|
|
|
|
state 463
|
|
|
|
95 class_declaration_statement: class_entry_type class_decl_name $@11 . extends_from implements_list '{' class_statement_list '}'
|
|
|
|
T_EXTENDS shift, and go to state 641
|
|
|
|
$default reduce using rule 114 (extends_from)
|
|
|
|
extends_from go to state 642
|
|
|
|
|
|
state 464
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
294 | expr T_LOGICAL_OR expr .
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 294 (expr_no_variable)
|
|
|
|
|
|
state 465
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
296 | expr T_LOGICAL_XOR expr .
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 296 (expr_no_variable)
|
|
|
|
|
|
state 466
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
295 | expr T_LOGICAL_AND expr .
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 295 (expr_no_variable)
|
|
|
|
|
|
state 467
|
|
|
|
323 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 643
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 468
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
322 | expr '?' expr . ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
':' shift, and go to state 644
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
|
|
state 469
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
292 | expr T_BOOLEAN_OR expr .
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 292 (expr_no_variable)
|
|
|
|
|
|
state 470
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
293 | expr T_BOOLEAN_AND expr .
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 293 (expr_no_variable)
|
|
|
|
|
|
state 471
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
297 | expr '|' expr .
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 297 (expr_no_variable)
|
|
|
|
|
|
state 472
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
299 | expr '^' expr .
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 299 (expr_no_variable)
|
|
|
|
|
|
state 473
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
298 | expr '&' expr .
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 298 (expr_no_variable)
|
|
|
|
|
|
state 474
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
313 | expr T_IS_NOT_IDENTICAL expr .
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
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 313 (expr_no_variable)
|
|
|
|
|
|
state 475
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
312 | expr T_IS_IDENTICAL expr .
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
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 312 (expr_no_variable)
|
|
|
|
|
|
state 476
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
315 | expr T_IS_NOT_EQUAL expr .
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
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 315 (expr_no_variable)
|
|
|
|
|
|
state 477
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
314 | expr T_IS_EQUAL expr .
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
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 314 (expr_no_variable)
|
|
|
|
|
|
state 478
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
316 | expr '<' expr .
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
'<' error (nonassociative)
|
|
'>' error (nonassociative)
|
|
T_IS_GREATER_OR_EQUAL error (nonassociative)
|
|
T_IS_SMALLER_OR_EQUAL error (nonassociative)
|
|
|
|
$default reduce using rule 316 (expr_no_variable)
|
|
|
|
|
|
state 479
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
318 | expr '>' expr .
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
'<' error (nonassociative)
|
|
'>' error (nonassociative)
|
|
T_IS_GREATER_OR_EQUAL error (nonassociative)
|
|
T_IS_SMALLER_OR_EQUAL error (nonassociative)
|
|
|
|
$default reduce using rule 318 (expr_no_variable)
|
|
|
|
|
|
state 480
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
319 | expr T_IS_GREATER_OR_EQUAL expr .
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
'<' error (nonassociative)
|
|
'>' error (nonassociative)
|
|
T_IS_GREATER_OR_EQUAL error (nonassociative)
|
|
T_IS_SMALLER_OR_EQUAL error (nonassociative)
|
|
|
|
$default reduce using rule 319 (expr_no_variable)
|
|
|
|
|
|
state 481
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
317 | expr T_IS_SMALLER_OR_EQUAL expr .
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
'<' error (nonassociative)
|
|
'>' error (nonassociative)
|
|
T_IS_GREATER_OR_EQUAL error (nonassociative)
|
|
T_IS_SMALLER_OR_EQUAL error (nonassociative)
|
|
|
|
$default reduce using rule 317 (expr_no_variable)
|
|
|
|
|
|
state 482
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
307 | expr T_SR expr .
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 307 (expr_no_variable)
|
|
|
|
|
|
state 483
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
306 | expr T_SL expr .
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 306 (expr_no_variable)
|
|
|
|
|
|
state 484
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
301 | expr '+' expr .
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 301 (expr_no_variable)
|
|
|
|
|
|
state 485
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
302 | expr '-' expr .
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 302 (expr_no_variable)
|
|
|
|
|
|
state 486
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
300 | expr '.' expr .
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 300 (expr_no_variable)
|
|
|
|
|
|
state 487
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
303 | expr '*' expr .
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 303 (expr_no_variable)
|
|
|
|
|
|
state 488
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
304 | expr '/' expr .
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 304 (expr_no_variable)
|
|
|
|
|
|
state 489
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
305 | expr '%' expr .
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 305 (expr_no_variable)
|
|
|
|
|
|
state 490
|
|
|
|
320 expr_no_variable: expr T_INSTANCEOF class_name_reference .
|
|
|
|
$default reduce using rule 320 (expr_no_variable)
|
|
|
|
|
|
state 491
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
601 dim_offset: expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 601 (dim_offset)
|
|
|
|
|
|
state 492
|
|
|
|
358 dim_expr: dim_expr '[' dim_offset . ']'
|
|
|
|
']' shift, and go to state 645
|
|
|
|
|
|
state 493
|
|
|
|
359 dim_expr: dim_expr_base '[' dim_offset . ']'
|
|
|
|
']' shift, and go to state 646
|
|
|
|
|
|
state 494
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
636 non_empty_collection_init: expr . T_DOUBLE_ARROW expr
|
|
637 | expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
T_DOUBLE_ARROW shift, and go to state 647
|
|
|
|
$default reduce using rule 637 (non_empty_collection_init)
|
|
|
|
|
|
state 495
|
|
|
|
356 collection_literal: fully_qualified_class_name '{' collection_init . '}'
|
|
|
|
'}' shift, and go to state 648
|
|
|
|
|
|
state 496
|
|
|
|
632 collection_init: non_empty_collection_init . possible_comma
|
|
634 non_empty_collection_init: non_empty_collection_init . ',' expr T_DOUBLE_ARROW expr
|
|
635 | non_empty_collection_init . ',' expr
|
|
|
|
',' shift, and go to state 649
|
|
|
|
$default reduce using rule 511 (possible_comma)
|
|
|
|
possible_comma go to state 650
|
|
|
|
|
|
state 497
|
|
|
|
592 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM ident . sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
666 class_constant: static_class_name T_PAAMAYIM_NEKUDOTAYIM ident .
|
|
|
|
T_TYPELIST_LT shift, and go to state 268
|
|
|
|
'(' reduce using rule 673 (sm_typeargs_opt)
|
|
$default reduce using rule 666 (class_constant)
|
|
|
|
sm_typeargs_opt go to state 651
|
|
|
|
|
|
state 498
|
|
|
|
572 variable: static_class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects .
|
|
593 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects . '(' function_call_parameter_list ')'
|
|
|
|
'(' shift, and go to state 652
|
|
|
|
$default reduce using rule 572 (variable)
|
|
|
|
|
|
state 499
|
|
|
|
594 variable_without_objects: reference_variable .
|
|
596 reference_variable: reference_variable . '[' dim_offset ']'
|
|
597 | reference_variable . '{' expr '}'
|
|
|
|
'[' shift, and go to state 337
|
|
'{' shift, and go to state 338
|
|
|
|
$default reduce using rule 594 (variable_without_objects)
|
|
|
|
|
|
state 500
|
|
|
|
101 class_declaration_statement: non_empty_user_attributes T_INTERFACE interface_decl_name . $@14 interface_extends_list '{' class_statement_list '}'
|
|
|
|
$default reduce using rule 100 ($@14)
|
|
|
|
$@14 go to state 653
|
|
|
|
|
|
state 501
|
|
|
|
105 trait_declaration_statement: non_empty_user_attributes T_TRAIT trait_decl_name . $@16 '{' class_statement_list '}'
|
|
|
|
$default reduce using rule 104 ($@16)
|
|
|
|
$@16 go to state 654
|
|
|
|
|
|
state 502
|
|
|
|
93 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 231
|
|
sm_name_with_typevar go to state 655
|
|
|
|
|
|
state 503
|
|
|
|
97 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 ($@12)
|
|
|
|
$@12 go to state 656
|
|
|
|
|
|
state 504
|
|
|
|
274 expr_no_variable: variable '=' '&' . variable
|
|
275 | variable '=' '&' . T_NEW class_name_reference ctor_arguments
|
|
|
|
T_NEW shift, and go to state 657
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 658
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 505
|
|
|
|
266 yield_expr: 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 248
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 506
|
|
|
|
267 yield_assign_expr: variable '=' yield_expr .
|
|
|
|
$default reduce using rule 267 (yield_assign_expr)
|
|
|
|
|
|
state 507
|
|
|
|
273 expr_no_variable: variable '=' expr .
|
|
292 | expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 273 (expr_no_variable)
|
|
|
|
|
|
state 508
|
|
|
|
287 expr_no_variable: variable T_SR_EQUAL expr .
|
|
292 | expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 287 (expr_no_variable)
|
|
|
|
|
|
state 509
|
|
|
|
286 expr_no_variable: variable T_SL_EQUAL expr .
|
|
292 | expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 286 (expr_no_variable)
|
|
|
|
|
|
state 510
|
|
|
|
285 expr_no_variable: variable T_XOR_EQUAL expr .
|
|
292 | expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 285 (expr_no_variable)
|
|
|
|
|
|
state 511
|
|
|
|
284 expr_no_variable: variable T_OR_EQUAL expr .
|
|
292 | expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 284 (expr_no_variable)
|
|
|
|
|
|
state 512
|
|
|
|
283 expr_no_variable: variable T_AND_EQUAL expr .
|
|
292 | expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 283 (expr_no_variable)
|
|
|
|
|
|
state 513
|
|
|
|
282 expr_no_variable: variable T_MOD_EQUAL expr .
|
|
292 | expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 282 (expr_no_variable)
|
|
|
|
|
|
state 514
|
|
|
|
281 expr_no_variable: variable T_CONCAT_EQUAL expr .
|
|
292 | expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 281 (expr_no_variable)
|
|
|
|
|
|
state 515
|
|
|
|
280 expr_no_variable: variable T_DIV_EQUAL expr .
|
|
292 | expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 280 (expr_no_variable)
|
|
|
|
|
|
state 516
|
|
|
|
279 expr_no_variable: variable T_MUL_EQUAL expr .
|
|
292 | expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 279 (expr_no_variable)
|
|
|
|
|
|
state 517
|
|
|
|
278 expr_no_variable: variable T_MINUS_EQUAL expr .
|
|
292 | expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 278 (expr_no_variable)
|
|
|
|
|
|
state 518
|
|
|
|
277 expr_no_variable: variable T_PLUS_EQUAL expr .
|
|
292 | expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 277 (expr_no_variable)
|
|
|
|
|
|
state 519
|
|
|
|
558 property_access_without_variables: T_OBJECT_OPERATOR '{' . expr '}'
|
|
588 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 659
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 520
|
|
|
|
557 property_access_without_variables: T_OBJECT_OPERATOR ident .
|
|
586 object_method_call: variable T_OBJECT_OPERATOR ident . sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
|
|
T_TYPELIST_LT shift, and go to state 268
|
|
|
|
'(' reduce using rule 673 (sm_typeargs_opt)
|
|
$default reduce using rule 557 (property_access_without_variables)
|
|
|
|
sm_typeargs_opt go to state 660
|
|
|
|
|
|
state 521
|
|
|
|
556 property_access: T_OBJECT_OPERATOR variable_without_objects .
|
|
587 object_method_call: variable T_OBJECT_OPERATOR variable_without_objects . '(' function_call_parameter_list ')'
|
|
|
|
'(' shift, and go to state 661
|
|
|
|
$default reduce using rule 556 (property_access)
|
|
|
|
|
|
state 522
|
|
|
|
559 array_access: '[' dim_offset . ']'
|
|
|
|
']' shift, and go to state 662
|
|
|
|
|
|
state 523
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
560 array_access: '{' expr . '}'
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
'}' shift, and go to state 663
|
|
|
|
|
|
state 524
|
|
|
|
573 variable: callable_variable '(' function_call_parameter_list . ')'
|
|
581 dimmable_variable: callable_variable '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 664
|
|
|
|
|
|
state 525
|
|
|
|
596 reference_variable: reference_variable '[' dim_offset . ']'
|
|
|
|
']' shift, and go to state 665
|
|
|
|
|
|
state 526
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
597 reference_variable: reference_variable '{' expr . '}'
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
'}' shift, and go to state 666
|
|
|
|
|
|
state 527
|
|
|
|
272 expr_no_variable: T_LIST '(' assignment_list . ')' '=' expr
|
|
616 assignment_list: assignment_list . ','
|
|
617 | assignment_list . ',' variable
|
|
618 | assignment_list . ',' T_LIST '(' assignment_list ')'
|
|
|
|
',' shift, and go to state 599
|
|
')' shift, and go to state 667
|
|
|
|
|
|
state 528
|
|
|
|
661 internal_functions: T_EVAL '(' expr ')' .
|
|
|
|
$default reduce using rule 661 (internal_functions)
|
|
|
|
|
|
state 529
|
|
|
|
546 attribute_static_scalar_list: '(' . static_scalar_list_ae ')'
|
|
|
|
'+' shift, and go to state 668
|
|
'-' shift, and go to state 669
|
|
T_LNUMBER shift, and go to state 670
|
|
T_DNUMBER shift, and go to state 671
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 672
|
|
T_ARRAY shift, and go to state 673
|
|
T_START_HEREDOC shift, and go to state 674
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 675
|
|
|
|
$default reduce using rule 545 (static_scalar_list_ae)
|
|
|
|
ident go to state 676
|
|
common_scalar_ae go to state 677
|
|
static_scalar_ae go to state 678
|
|
non_empty_static_scalar_list_ae go to state 679
|
|
static_scalar_list_ae go to state 680
|
|
|
|
|
|
state 530
|
|
|
|
549 non_empty_user_attribute_list: ident attribute_static_scalar_list .
|
|
|
|
$default reduce using rule 549 (non_empty_user_attribute_list)
|
|
|
|
|
|
state 531
|
|
|
|
510 possible_comma: ',' .
|
|
548 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 510 (possible_comma)
|
|
|
|
ident go to state 681
|
|
|
|
|
|
state 532
|
|
|
|
551 user_attribute_list: $@23 non_empty_user_attribute_list possible_comma .
|
|
|
|
$default reduce using rule 551 (user_attribute_list)
|
|
|
|
|
|
state 533
|
|
|
|
260 new_expr: '(' new_expr . ')'
|
|
562 dimmable_variable_access: '(' new_expr . ')' array_access
|
|
571 variable: '(' new_expr . ')' property_access
|
|
580 dimmable_variable: '(' new_expr . ')' property_access_without_variables
|
|
589 object_method_call: '(' new_expr . ')' T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
590 | '(' new_expr . ')' T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
591 | '(' new_expr . ')' T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
')' shift, and go to state 441
|
|
|
|
|
|
state 534
|
|
|
|
562 dimmable_variable_access: '(' new_expr ')' . array_access
|
|
571 variable: '(' new_expr ')' . property_access
|
|
580 dimmable_variable: '(' new_expr ')' . property_access_without_variables
|
|
589 object_method_call: '(' new_expr ')' . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
590 | '(' new_expr ')' . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
591 | '(' new_expr ')' . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
'[' shift, and go to state 333
|
|
T_OBJECT_OPERATOR shift, and go to state 627
|
|
'{' shift, and go to state 334
|
|
|
|
property_access go to state 628
|
|
property_access_without_variables go to state 629
|
|
array_access go to state 630
|
|
|
|
|
|
state 535
|
|
|
|
592 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 268
|
|
|
|
$default reduce using rule 673 (sm_typeargs_opt)
|
|
|
|
sm_typeargs_opt go to state 651
|
|
|
|
|
|
state 536
|
|
|
|
564 dimmable_variable_no_calls_access: '(' new_expr ')' . array_access
|
|
608 variable_no_calls: '(' new_expr ')' . property_access
|
|
614 dimmable_variable_no_calls: '(' new_expr ')' . property_access_without_variables
|
|
|
|
'[' shift, and go to state 333
|
|
T_OBJECT_OPERATOR shift, and go to state 358
|
|
'{' shift, and go to state 334
|
|
|
|
property_access go to state 682
|
|
property_access_without_variables go to state 683
|
|
array_access go to state 684
|
|
|
|
|
|
state 537
|
|
|
|
610 variable_no_calls: '(' variable ')' .
|
|
615 dimmable_variable_no_calls: '(' variable ')' .
|
|
|
|
'[' reduce using rule 615 (dimmable_variable_no_calls)
|
|
'{' reduce using rule 615 (dimmable_variable_no_calls)
|
|
$default reduce using rule 610 (variable_no_calls)
|
|
|
|
|
|
state 538
|
|
|
|
609 variable_no_calls: static_class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects .
|
|
|
|
$default reduce using rule 609 (variable_no_calls)
|
|
|
|
|
|
state 539
|
|
|
|
476 ctor_arguments: '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 685
|
|
|
|
|
|
state 540
|
|
|
|
558 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 686
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 541
|
|
|
|
557 property_access_without_variables: T_OBJECT_OPERATOR ident .
|
|
|
|
$default reduce using rule 557 (property_access_without_variables)
|
|
|
|
|
|
state 542
|
|
|
|
556 property_access: T_OBJECT_OPERATOR variable_without_objects .
|
|
|
|
$default reduce using rule 556 (property_access)
|
|
|
|
|
|
state 543
|
|
|
|
261 parenthesis_expr: '(' expr ')' .
|
|
|
|
$default reduce using rule 261 (parenthesis_expr)
|
|
|
|
|
|
state 544
|
|
|
|
39 inner_statement_list: inner_statement_list . inner_statement
|
|
47 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' 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
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 149 (new_elseif_list)
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
inner_statement go to state 445
|
|
statement go to state 446
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 447
|
|
class_declaration_statement go to state 448
|
|
trait_declaration_statement go to state 449
|
|
class_entry_type go to state 106
|
|
new_elseif_list go to state 687
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 545
|
|
|
|
46 statement: T_IF parenthesis_expr statement elseif_list . else_single
|
|
146 elseif_list: elseif_list . T_ELSEIF parenthesis_expr statement
|
|
|
|
T_ELSEIF shift, and go to state 688
|
|
T_ELSE shift, and go to state 689
|
|
|
|
T_ELSEIF [reduce using rule 151 (else_single)]
|
|
T_ELSE [reduce using rule 151 (else_single)]
|
|
$default reduce using rule 151 (else_single)
|
|
|
|
else_single go to state 690
|
|
|
|
|
|
state 546
|
|
|
|
262 expr_list: expr_list ',' expr .
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 262 (expr_list)
|
|
|
|
|
|
state 547
|
|
|
|
51 statement: T_DO $@4 statement T_WHILE . parenthesis_expr ';'
|
|
|
|
'(' shift, and go to state 185
|
|
|
|
parenthesis_expr go to state 691
|
|
|
|
|
|
state 548
|
|
|
|
132 while_statement: ':' . inner_statement_list T_ENDWHILE ';'
|
|
|
|
$default reduce using rule 40 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 692
|
|
|
|
|
|
state 549
|
|
|
|
131 while_statement: statement .
|
|
|
|
$default reduce using rule 131 (while_statement)
|
|
|
|
|
|
state 550
|
|
|
|
49 statement: T_WHILE parenthesis_expr $@3 while_statement .
|
|
|
|
$default reduce using rule 49 (statement)
|
|
|
|
|
|
state 551
|
|
|
|
53 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 265 (for_expr)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr_list go to state 370
|
|
for_expr go to state 693
|
|
expr go to state 188
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 552
|
|
|
|
70 statement: T_FOREACH '(' expr T_AS . foreach_variable foreach_optional_arg ')' $@7 foreach_statement
|
|
|
|
'&' shift, and go to state 694
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
foreach_variable go to state 695
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 696
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 553
|
|
|
|
135 declare_list: ident '=' . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 697
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 554
|
|
|
|
136 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 698
|
|
|
|
|
|
state 555
|
|
|
|
71 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 699
|
|
'+' 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' 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
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
statement go to state 700
|
|
function_loc go to state 142
|
|
declare_statement go to state 701
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 556
|
|
|
|
139 switch_case_list: ':' . case_list T_ENDSWITCH ';'
|
|
140 | ':' . ';' case_list T_ENDSWITCH ';'
|
|
|
|
';' shift, and go to state 702
|
|
|
|
$default reduce using rule 143 (case_list)
|
|
|
|
case_list go to state 703
|
|
|
|
|
|
state 557
|
|
|
|
137 switch_case_list: '{' . case_list '}'
|
|
138 | '{' . ';' case_list '}'
|
|
|
|
';' shift, and go to state 704
|
|
|
|
$default reduce using rule 143 (case_list)
|
|
|
|
case_list go to state 705
|
|
|
|
|
|
state 558
|
|
|
|
55 statement: T_SWITCH parenthesis_expr $@6 switch_case_list .
|
|
|
|
$default reduce using rule 55 (statement)
|
|
|
|
|
|
state 559
|
|
|
|
699 sm_type: T_ARRAY T_TYPELIST_LT sm_type . T_TYPELIST_GT
|
|
700 | T_ARRAY T_TYPELIST_LT sm_type . ',' sm_type T_TYPELIST_GT
|
|
|
|
',' shift, and go to state 706
|
|
T_TYPELIST_GT shift, and go to state 707
|
|
|
|
|
|
state 560
|
|
|
|
688 sm_shape_member_type: T_CONSTANT_ENCAPSED_STRING . T_DOUBLE_ARROW sm_type
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 708
|
|
|
|
|
|
state 561
|
|
|
|
690 sm_non_empty_shape_member_list: sm_shape_member_type .
|
|
|
|
$default reduce using rule 690 (sm_non_empty_shape_member_list)
|
|
|
|
|
|
state 562
|
|
|
|
689 sm_non_empty_shape_member_list: sm_non_empty_shape_member_list . ',' sm_shape_member_type
|
|
691 sm_shape_member_list: sm_non_empty_shape_member_list . possible_comma
|
|
|
|
',' shift, and go to state 709
|
|
|
|
$default reduce using rule 511 (possible_comma)
|
|
|
|
possible_comma go to state 710
|
|
|
|
|
|
state 563
|
|
|
|
693 sm_shape_type: T_SHAPE '(' sm_shape_member_list . ')'
|
|
|
|
')' shift, and go to state 711
|
|
|
|
|
|
state 564
|
|
|
|
702 sm_type: '(' T_FUNCTION '(' . sm_func_type_list ')' ':' sm_type ')'
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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 712
|
|
T_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
$default reduce using rule 679 (sm_func_type_list)
|
|
|
|
ident go to state 379
|
|
sm_type_list go to state 713
|
|
sm_func_type_list go to state 714
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 386
|
|
|
|
|
|
state 565
|
|
|
|
675 sm_type_list: sm_type_list ',' . sm_type
|
|
703 sm_type: '(' sm_type_list ',' . sm_type ')'
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
ident go to state 379
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 715
|
|
|
|
|
|
state 566
|
|
|
|
493 static_scalar: '+' . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 716
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 567
|
|
|
|
494 static_scalar: '-' . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 717
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 568
|
|
|
|
495 static_scalar: T_ARRAY . '(' static_array_pair_list ')'
|
|
|
|
'(' shift, and go to state 718
|
|
|
|
|
|
state 569
|
|
|
|
489 common_scalar: T_START_HEREDOC . T_ENCAPSED_AND_WHITESPACE T_END_HEREDOC
|
|
490 | T_START_HEREDOC . T_END_HEREDOC
|
|
|
|
T_ENCAPSED_AND_WHITESPACE shift, and go to state 719
|
|
T_END_HEREDOC shift, and go to state 238
|
|
|
|
|
|
state 570
|
|
|
|
463 fully_qualified_class_name: T_XHP_LABEL .
|
|
500 static_class_constant: T_XHP_LABEL . T_PAAMAYIM_NEKUDOTAYIM ident
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM shift, and go to state 720
|
|
|
|
$default reduce using rule 463 (fully_qualified_class_name)
|
|
|
|
|
|
state 571
|
|
|
|
496 static_scalar: T_SHAPE . '(' static_shape_pair_list ')'
|
|
|
|
'(' shift, and go to state 721
|
|
|
|
|
|
state 572
|
|
|
|
34 namespace_string: namespace_string_base .
|
|
36 class_namespace_string_typeargs: namespace_string_base . sm_typeargs_opt
|
|
|
|
T_TYPELIST_LT shift, and go to state 268
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM reduce using rule 673 (sm_typeargs_opt)
|
|
'{' reduce using rule 673 (sm_typeargs_opt)
|
|
$default reduce using rule 34 (namespace_string)
|
|
|
|
sm_typeargs_opt go to state 354
|
|
|
|
|
|
state 573
|
|
|
|
492 static_scalar: namespace_string .
|
|
|
|
$default reduce using rule 492 (static_scalar)
|
|
|
|
|
|
state 574
|
|
|
|
462 fully_qualified_class_name: class_namespace_string_typeargs .
|
|
499 static_class_constant: class_namespace_string_typeargs . T_PAAMAYIM_NEKUDOTAYIM ident
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM shift, and go to state 722
|
|
|
|
$default reduce using rule 462 (fully_qualified_class_name)
|
|
|
|
|
|
state 575
|
|
|
|
498 static_scalar: static_collection_literal .
|
|
|
|
$default reduce using rule 498 (static_scalar)
|
|
|
|
|
|
state 576
|
|
|
|
357 static_collection_literal: fully_qualified_class_name . '{' static_collection_init '}'
|
|
|
|
'{' shift, and go to state 723
|
|
|
|
|
|
state 577
|
|
|
|
491 static_scalar: common_scalar .
|
|
|
|
$default reduce using rule 491 (static_scalar)
|
|
|
|
|
|
state 578
|
|
|
|
38 constant_declaration: T_CONST sm_name_with_type '=' static_scalar .
|
|
|
|
$default reduce using rule 38 (constant_declaration)
|
|
|
|
|
|
state 579
|
|
|
|
497 static_scalar: static_class_constant .
|
|
|
|
$default reduce using rule 497 (static_scalar)
|
|
|
|
|
|
state 580
|
|
|
|
72 statement: T_TRY '{' inner_statement_list '}' . T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}' additional_catches optional_finally
|
|
73 | T_TRY '{' inner_statement_list '}' . finally
|
|
|
|
T_CATCH shift, and go to state 724
|
|
|
|
$default reduce using rule 83 ($@8)
|
|
|
|
finally go to state 725
|
|
$@8 go to state 726
|
|
|
|
|
|
state 581
|
|
|
|
28 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 727
|
|
|
|
|
|
state 582
|
|
|
|
23 use_declarations: use_declarations ',' use_declaration .
|
|
|
|
$default reduce using rule 23 (use_declarations)
|
|
|
|
|
|
state 583
|
|
|
|
27 use_declaration: namespace_name T_AS ident .
|
|
|
|
$default reduce using rule 27 (use_declaration)
|
|
|
|
|
|
state 584
|
|
|
|
176 global_var: '$' '{' expr . '}'
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
'}' shift, and go to state 728
|
|
|
|
|
|
state 585
|
|
|
|
172 global_var_list: global_var_list ',' global_var .
|
|
|
|
$default reduce using rule 172 (global_var_list)
|
|
|
|
|
|
state 586
|
|
|
|
180 static_var_list: T_VARIABLE '=' static_scalar .
|
|
|
|
$default reduce using rule 180 (static_var_list)
|
|
|
|
|
|
state 587
|
|
|
|
342 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 341 ($@22)
|
|
|
|
$@22 go to state 729
|
|
|
|
|
|
state 588
|
|
|
|
177 static_var_list: static_var_list ',' T_VARIABLE .
|
|
178 | static_var_list ',' T_VARIABLE . '=' static_scalar
|
|
|
|
'=' shift, and go to state 730
|
|
|
|
$default reduce using rule 177 (static_var_list)
|
|
|
|
|
|
state 589
|
|
|
|
665 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 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 731
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 590
|
|
|
|
66 statement: T_UNSET '(' variable_list ')' . ';'
|
|
|
|
';' shift, and go to state 732
|
|
|
|
|
|
state 591
|
|
|
|
657 internal_functions: T_ISSET '(' variable_list ')' .
|
|
|
|
$default reduce using rule 657 (internal_functions)
|
|
|
|
|
|
state 592
|
|
|
|
658 internal_functions: T_EMPTY '(' variable ')' .
|
|
|
|
$default reduce using rule 658 (internal_functions)
|
|
|
|
|
|
state 593
|
|
|
|
9 top_statement: T_HALT_COMPILER '(' ')' ';' .
|
|
|
|
$default reduce using rule 9 (top_statement)
|
|
|
|
|
|
state 594
|
|
|
|
682 sm_typevar_list: ident . ',' sm_typevar_list
|
|
683 | ident .
|
|
684 | ident . T_AS sm_shape_type sm_typevar_list
|
|
685 | ident . T_AS ident ',' sm_typevar_list
|
|
686 | ident . T_AS ident
|
|
687 | ident . T_AS sm_shape_type
|
|
|
|
',' shift, and go to state 733
|
|
T_AS shift, and go to state 734
|
|
|
|
$default reduce using rule 683 (sm_typevar_list)
|
|
|
|
|
|
state 595
|
|
|
|
671 sm_name_with_typevar: ident T_TYPELIST_LT sm_typevar_list . T_TYPELIST_GT
|
|
|
|
T_TYPELIST_GT shift, and go to state 735
|
|
|
|
|
|
state 596
|
|
|
|
117 interface_extends_list: T_EXTENDS . interface_list
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 174
|
|
class_namespace_string_typeargs go to state 99
|
|
interface_list go to state 736
|
|
fully_qualified_class_name go to state 737
|
|
|
|
|
|
state 597
|
|
|
|
99 class_declaration_statement: T_INTERFACE interface_decl_name $@13 interface_extends_list . '{' class_statement_list '}'
|
|
|
|
'{' shift, and go to state 738
|
|
|
|
|
|
state 598
|
|
|
|
621 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 164
|
|
T_LIST shift, and go to state 412
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
$default reduce using rule 619 (assignment_list)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 413
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
assignment_list go to state 739
|
|
|
|
|
|
state 599
|
|
|
|
616 assignment_list: assignment_list ',' .
|
|
617 | assignment_list ',' . variable
|
|
618 | 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 164
|
|
T_LIST shift, and go to state 740
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
$default reduce using rule 616 (assignment_list)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 741
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 600
|
|
|
|
268 yield_list_assign_expr: T_LIST '(' assignment_list ')' . '=' yield_expr
|
|
272 expr_no_variable: T_LIST '(' assignment_list ')' . '=' expr
|
|
|
|
'=' shift, and go to state 742
|
|
|
|
|
|
state 601
|
|
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
631 non_empty_array_pair_list: '&' variable .
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
|
|
$default reduce using rule 631 (non_empty_array_pair_list)
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 602
|
|
|
|
626 non_empty_array_pair_list: expr T_DOUBLE_ARROW . expr
|
|
630 | 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 743
|
|
'+' 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 744
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 603
|
|
|
|
355 array_literal: T_ARRAY '(' array_pair_list ')' .
|
|
|
|
$default reduce using rule 355 (array_literal)
|
|
|
|
|
|
state 604
|
|
|
|
510 possible_comma: ',' .
|
|
624 non_empty_array_pair_list: non_empty_array_pair_list ',' . expr T_DOUBLE_ARROW expr
|
|
625 | non_empty_array_pair_list ',' . expr
|
|
628 | non_empty_array_pair_list ',' . expr T_DOUBLE_ARROW '&' variable
|
|
629 | 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 745
|
|
'+' 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 510 (possible_comma)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 746
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 605
|
|
|
|
622 array_pair_list: non_empty_array_pair_list possible_comma .
|
|
|
|
$default reduce using rule 622 (array_pair_list)
|
|
|
|
|
|
state 606
|
|
|
|
656 encaps_var_offset: T_VARIABLE .
|
|
|
|
$default reduce using rule 656 (encaps_var_offset)
|
|
|
|
|
|
state 607
|
|
|
|
655 encaps_var_offset: T_NUM_STRING .
|
|
|
|
$default reduce using rule 655 (encaps_var_offset)
|
|
|
|
|
|
state 608
|
|
|
|
654 encaps_var_offset: ident .
|
|
|
|
$default reduce using rule 654 (encaps_var_offset)
|
|
|
|
|
|
state 609
|
|
|
|
649 encaps_var: T_VARIABLE '[' encaps_var_offset . ']'
|
|
|
|
']' shift, and go to state 747
|
|
|
|
|
|
state 610
|
|
|
|
650 encaps_var: T_VARIABLE T_OBJECT_OPERATOR ident .
|
|
|
|
$default reduce using rule 650 (encaps_var)
|
|
|
|
|
|
state 611
|
|
|
|
652 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 748
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 612
|
|
|
|
651 encaps_var: T_DOLLAR_OPEN_CURLY_BRACES expr '}' .
|
|
|
|
$default reduce using rule 651 (encaps_var)
|
|
|
|
|
|
state 613
|
|
|
|
653 encaps_var: T_CURLY_OPEN variable '}' .
|
|
|
|
$default reduce using rule 653 (encaps_var)
|
|
|
|
|
|
state 614
|
|
|
|
2 top_statement_list: top_statement_list . top_statement
|
|
14 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
|
|
T_SHAPE shift, and go to state 84
|
|
T_TYPE 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 749
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
top_statement go to state 93
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
constant_declaration go to state 100
|
|
statement go to state 101
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 103
|
|
class_declaration_statement go to state 104
|
|
trait_declaration_statement go to state 105
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
sm_typedef_statement go to state 137
|
|
|
|
|
|
state 615
|
|
|
|
12 top_statement: T_NAMESPACE namespace_name '{' $@1 . top_statement_list '}'
|
|
|
|
$default reduce using rule 3 (top_statement_list)
|
|
|
|
top_statement_list go to state 750
|
|
|
|
|
|
state 616
|
|
|
|
103 trait_declaration_statement: T_TRAIT trait_decl_name $@15 '{' . class_statement_list '}'
|
|
|
|
$default reduce using rule 182 (class_statement_list)
|
|
|
|
class_statement_list go to state 751
|
|
|
|
|
|
state 617
|
|
|
|
369 xhp_tag: T_XHP_TAG_LT T_XHP_LABEL xhp_tag_body T_XHP_TAG_GT .
|
|
|
|
$default reduce using rule 369 (xhp_tag)
|
|
|
|
|
|
state 618
|
|
|
|
370 xhp_tag_body: xhp_attributes '/' .
|
|
|
|
$default reduce using rule 370 (xhp_tag_body)
|
|
|
|
|
|
state 619
|
|
|
|
378 xhp_attribute_name: T_XHP_LABEL .
|
|
|
|
$default reduce using rule 378 (xhp_attribute_name)
|
|
|
|
|
|
state 620
|
|
|
|
371 xhp_tag_body: xhp_attributes T_XHP_TAG_GT . xhp_children T_XHP_TAG_LT '/' xhp_opt_end_label
|
|
|
|
$default reduce using rule 377 (xhp_children)
|
|
|
|
xhp_children go to state 752
|
|
|
|
|
|
state 621
|
|
|
|
374 xhp_attributes: xhp_attributes xhp_attribute_name . '=' xhp_attribute_value
|
|
|
|
'=' shift, and go to state 753
|
|
|
|
|
|
state 622
|
|
|
|
347 non_empty_shape_pair_list: T_CONSTANT_ENCAPSED_STRING 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 754
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 623
|
|
|
|
346 non_empty_shape_pair_list: non_empty_shape_pair_list ',' . T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW expr
|
|
510 possible_comma: ',' .
|
|
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 755
|
|
|
|
$default reduce using rule 510 (possible_comma)
|
|
|
|
|
|
state 624
|
|
|
|
350 shape_pair_list: non_empty_shape_pair_list possible_comma .
|
|
|
|
$default reduce using rule 350 (shape_pair_list)
|
|
|
|
|
|
state 625
|
|
|
|
354 shape_literal: T_SHAPE '(' shape_pair_list ')' .
|
|
|
|
$default reduce using rule 354 (shape_literal)
|
|
|
|
|
|
state 626
|
|
|
|
667 sm_typedef_statement: T_TYPE ident '=' sm_type . ';'
|
|
|
|
';' shift, and go to state 756
|
|
|
|
|
|
state 627
|
|
|
|
556 property_access: T_OBJECT_OPERATOR . variable_without_objects
|
|
557 property_access_without_variables: T_OBJECT_OPERATOR . ident
|
|
558 | T_OBJECT_OPERATOR . '{' expr '}'
|
|
589 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR . ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
590 | '(' new_expr ')' T_OBJECT_OPERATOR . variable_without_objects '(' function_call_parameter_list ')'
|
|
591 | '(' 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 757
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 758
|
|
variable_without_objects go to state 759
|
|
reference_variable go to state 499
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 628
|
|
|
|
571 variable: '(' new_expr ')' property_access .
|
|
|
|
$default reduce using rule 571 (variable)
|
|
|
|
|
|
state 629
|
|
|
|
555 property_access: property_access_without_variables .
|
|
580 dimmable_variable: '(' new_expr ')' property_access_without_variables .
|
|
|
|
'[' reduce using rule 580 (dimmable_variable)
|
|
'{' reduce using rule 580 (dimmable_variable)
|
|
$default reduce using rule 555 (property_access)
|
|
|
|
|
|
state 630
|
|
|
|
562 dimmable_variable_access: '(' new_expr ')' array_access .
|
|
|
|
$default reduce using rule 562 (dimmable_variable_access)
|
|
|
|
|
|
state 631
|
|
|
|
600 compound_variable: '$' '{' expr '}' .
|
|
|
|
$default reduce using rule 600 (compound_variable)
|
|
|
|
|
|
state 632
|
|
|
|
675 sm_type_list: sm_type_list ',' . sm_type
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
ident go to state 379
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 760
|
|
|
|
|
|
state 633
|
|
|
|
672 sm_typeargs_opt: T_TYPELIST_LT sm_type_list T_TYPELIST_GT .
|
|
|
|
$default reduce using rule 672 (sm_typeargs_opt)
|
|
|
|
|
|
state 634
|
|
|
|
169 non_empty_fcall_parameter_list: '&' variable .
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
|
|
$default reduce using rule 169 (non_empty_fcall_parameter_list)
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 635
|
|
|
|
461 simple_function_call: namespace_string_typeargs '(' function_call_parameter_list ')' .
|
|
|
|
$default reduce using rule 461 (simple_function_call)
|
|
|
|
|
|
state 636
|
|
|
|
170 non_empty_fcall_parameter_list: non_empty_fcall_parameter_list ',' . expr
|
|
171 | non_empty_fcall_parameter_list ',' . '&' variable
|
|
512 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 761
|
|
'+' 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 512 (possible_comma_in_hphp_syntax)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 762
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 637
|
|
|
|
166 function_call_parameter_list: non_empty_fcall_parameter_list possible_comma_in_hphp_syntax .
|
|
|
|
$default reduce using rule 166 (function_call_parameter_list)
|
|
|
|
|
|
state 638
|
|
|
|
37 constant_declaration: constant_declaration ',' sm_name_with_type '=' . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 763
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 639
|
|
|
|
340 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 764
|
|
|
|
')' reduce using rule 157 (parameter_list)
|
|
$default reduce using rule 554 (optional_user_attributes)
|
|
|
|
parameter_list go to state 765
|
|
non_empty_parameter_list go to state 766
|
|
non_empty_user_attributes go to state 767
|
|
optional_user_attributes go to state 768
|
|
|
|
|
|
state 640
|
|
|
|
91 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 769
|
|
|
|
|
|
state 641
|
|
|
|
113 extends_from: T_EXTENDS . fully_qualified_class_name
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 174
|
|
class_namespace_string_typeargs go to state 99
|
|
fully_qualified_class_name go to state 770
|
|
|
|
|
|
state 642
|
|
|
|
95 class_declaration_statement: class_entry_type class_decl_name $@11 extends_from . implements_list '{' class_statement_list '}'
|
|
|
|
T_IMPLEMENTS shift, and go to state 771
|
|
|
|
$default reduce using rule 116 (implements_list)
|
|
|
|
implements_list go to state 772
|
|
|
|
|
|
state 643
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
323 | expr '?' ':' expr .
|
|
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 323 (expr_no_variable)
|
|
|
|
|
|
state 644
|
|
|
|
322 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 773
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 645
|
|
|
|
358 dim_expr: dim_expr '[' dim_offset ']' .
|
|
|
|
$default reduce using rule 358 (dim_expr)
|
|
|
|
|
|
state 646
|
|
|
|
359 dim_expr: dim_expr_base '[' dim_offset ']' .
|
|
|
|
$default reduce using rule 359 (dim_expr)
|
|
|
|
|
|
state 647
|
|
|
|
636 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 774
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 648
|
|
|
|
356 collection_literal: fully_qualified_class_name '{' collection_init '}' .
|
|
|
|
$default reduce using rule 356 (collection_literal)
|
|
|
|
|
|
state 649
|
|
|
|
510 possible_comma: ',' .
|
|
634 non_empty_collection_init: non_empty_collection_init ',' . expr T_DOUBLE_ARROW expr
|
|
635 | 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 510 (possible_comma)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 775
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 650
|
|
|
|
632 collection_init: non_empty_collection_init possible_comma .
|
|
|
|
$default reduce using rule 632 (collection_init)
|
|
|
|
|
|
state 651
|
|
|
|
592 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM ident sm_typeargs_opt . '(' function_call_parameter_list ')'
|
|
|
|
'(' shift, and go to state 776
|
|
|
|
|
|
state 652
|
|
|
|
593 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 456
|
|
'+' 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 167 (function_call_parameter_list)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
function_call_parameter_list go to state 777
|
|
non_empty_fcall_parameter_list go to state 458
|
|
new_expr go to state 107
|
|
expr go to state 459
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 653
|
|
|
|
101 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 596
|
|
|
|
$default reduce using rule 118 (interface_extends_list)
|
|
|
|
interface_extends_list go to state 778
|
|
|
|
|
|
state 654
|
|
|
|
105 trait_declaration_statement: non_empty_user_attributes T_TRAIT trait_decl_name $@16 . '{' class_statement_list '}'
|
|
|
|
'{' shift, and go to state 779
|
|
|
|
|
|
state 655
|
|
|
|
93 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 ($@10)
|
|
|
|
$@10 go to state 780
|
|
|
|
|
|
state 656
|
|
|
|
97 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 641
|
|
|
|
$default reduce using rule 114 (extends_from)
|
|
|
|
extends_from go to state 781
|
|
|
|
|
|
state 657
|
|
|
|
275 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 172
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 173
|
|
'$' shift, and go to state 89
|
|
|
|
$default reduce using rule 611 (dimmable_variable_no_calls)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 174
|
|
class_namespace_string_typeargs go to state 99
|
|
fully_qualified_class_name go to state 175
|
|
static_class_name go to state 176
|
|
class_name_reference go to state 782
|
|
dimmable_variable_no_calls_access go to state 178
|
|
variable_without_objects go to state 179
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
variable_no_calls go to state 180
|
|
dimmable_variable_no_calls go to state 181
|
|
|
|
|
|
state 658
|
|
|
|
274 expr_no_variable: variable '=' '&' variable .
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
|
|
$default reduce using rule 274 (expr_no_variable)
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 659
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
558 property_access_without_variables: T_OBJECT_OPERATOR '{' expr . '}'
|
|
588 object_method_call: variable T_OBJECT_OPERATOR '{' expr . '}' '(' function_call_parameter_list ')'
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
'}' shift, and go to state 783
|
|
|
|
|
|
state 660
|
|
|
|
586 object_method_call: variable T_OBJECT_OPERATOR ident sm_typeargs_opt . '(' function_call_parameter_list ')'
|
|
|
|
'(' shift, and go to state 784
|
|
|
|
|
|
state 661
|
|
|
|
587 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 456
|
|
'+' 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 167 (function_call_parameter_list)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
function_call_parameter_list go to state 785
|
|
non_empty_fcall_parameter_list go to state 458
|
|
new_expr go to state 107
|
|
expr go to state 459
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 662
|
|
|
|
559 array_access: '[' dim_offset ']' .
|
|
|
|
$default reduce using rule 559 (array_access)
|
|
|
|
|
|
state 663
|
|
|
|
560 array_access: '{' expr '}' .
|
|
|
|
$default reduce using rule 560 (array_access)
|
|
|
|
|
|
state 664
|
|
|
|
573 variable: callable_variable '(' function_call_parameter_list ')' .
|
|
581 dimmable_variable: callable_variable '(' function_call_parameter_list ')' .
|
|
|
|
'[' reduce using rule 581 (dimmable_variable)
|
|
'{' reduce using rule 581 (dimmable_variable)
|
|
$default reduce using rule 573 (variable)
|
|
|
|
|
|
state 665
|
|
|
|
596 reference_variable: reference_variable '[' dim_offset ']' .
|
|
|
|
$default reduce using rule 596 (reference_variable)
|
|
|
|
|
|
state 666
|
|
|
|
597 reference_variable: reference_variable '{' expr '}' .
|
|
|
|
$default reduce using rule 597 (reference_variable)
|
|
|
|
|
|
state 667
|
|
|
|
272 expr_no_variable: T_LIST '(' assignment_list ')' . '=' expr
|
|
|
|
'=' shift, and go to state 786
|
|
|
|
|
|
state 668
|
|
|
|
528 static_scalar_ae: '+' . static_numeric_scalar_ae
|
|
|
|
T_LNUMBER shift, and go to state 787
|
|
T_DNUMBER shift, and go to state 788
|
|
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 789
|
|
static_numeric_scalar_ae go to state 790
|
|
|
|
|
|
state 669
|
|
|
|
529 static_scalar_ae: '-' . static_numeric_scalar_ae
|
|
|
|
T_LNUMBER shift, and go to state 787
|
|
T_DNUMBER shift, and go to state 788
|
|
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 789
|
|
static_numeric_scalar_ae go to state 791
|
|
|
|
|
|
state 670
|
|
|
|
518 common_scalar_ae: T_LNUMBER .
|
|
|
|
$default reduce using rule 518 (common_scalar_ae)
|
|
|
|
|
|
state 671
|
|
|
|
519 common_scalar_ae: T_DNUMBER .
|
|
|
|
$default reduce using rule 519 (common_scalar_ae)
|
|
|
|
|
|
state 672
|
|
|
|
520 common_scalar_ae: T_CONSTANT_ENCAPSED_STRING .
|
|
|
|
$default reduce using rule 520 (common_scalar_ae)
|
|
|
|
|
|
state 673
|
|
|
|
530 static_scalar_ae: T_ARRAY . '(' static_array_pair_list_ae ')'
|
|
|
|
'(' shift, and go to state 792
|
|
|
|
|
|
state 674
|
|
|
|
521 common_scalar_ae: T_START_HEREDOC . T_ENCAPSED_AND_WHITESPACE T_END_HEREDOC
|
|
522 | T_START_HEREDOC . T_END_HEREDOC
|
|
|
|
T_ENCAPSED_AND_WHITESPACE shift, and go to state 793
|
|
T_END_HEREDOC shift, and go to state 794
|
|
|
|
|
|
state 675
|
|
|
|
531 static_scalar_ae: T_SHAPE . '(' static_shape_pair_list_ae ')'
|
|
|
|
'(' shift, and go to state 795
|
|
|
|
|
|
state 676
|
|
|
|
527 static_scalar_ae: ident .
|
|
|
|
$default reduce using rule 527 (static_scalar_ae)
|
|
|
|
|
|
state 677
|
|
|
|
526 static_scalar_ae: common_scalar_ae .
|
|
|
|
$default reduce using rule 526 (static_scalar_ae)
|
|
|
|
|
|
state 678
|
|
|
|
539 non_empty_static_scalar_list_ae: static_scalar_ae .
|
|
|
|
$default reduce using rule 539 (non_empty_static_scalar_list_ae)
|
|
|
|
|
|
state 679
|
|
|
|
538 non_empty_static_scalar_list_ae: non_empty_static_scalar_list_ae . ',' static_scalar_ae
|
|
544 static_scalar_list_ae: non_empty_static_scalar_list_ae . possible_comma
|
|
|
|
',' shift, and go to state 796
|
|
|
|
$default reduce using rule 511 (possible_comma)
|
|
|
|
possible_comma go to state 797
|
|
|
|
|
|
state 680
|
|
|
|
546 attribute_static_scalar_list: '(' static_scalar_list_ae . ')'
|
|
|
|
')' shift, and go to state 798
|
|
|
|
|
|
state 681
|
|
|
|
548 non_empty_user_attribute_list: non_empty_user_attribute_list ',' ident . attribute_static_scalar_list
|
|
|
|
'(' shift, and go to state 529
|
|
|
|
$default reduce using rule 547 (attribute_static_scalar_list)
|
|
|
|
attribute_static_scalar_list go to state 799
|
|
|
|
|
|
state 682
|
|
|
|
608 variable_no_calls: '(' new_expr ')' property_access .
|
|
|
|
$default reduce using rule 608 (variable_no_calls)
|
|
|
|
|
|
state 683
|
|
|
|
555 property_access: property_access_without_variables .
|
|
614 dimmable_variable_no_calls: '(' new_expr ')' property_access_without_variables .
|
|
|
|
'[' reduce using rule 614 (dimmable_variable_no_calls)
|
|
'{' reduce using rule 614 (dimmable_variable_no_calls)
|
|
$default reduce using rule 555 (property_access)
|
|
|
|
|
|
state 684
|
|
|
|
564 dimmable_variable_no_calls_access: '(' new_expr ')' array_access .
|
|
|
|
$default reduce using rule 564 (dimmable_variable_no_calls_access)
|
|
|
|
|
|
state 685
|
|
|
|
476 ctor_arguments: '(' function_call_parameter_list ')' .
|
|
|
|
$default reduce using rule 476 (ctor_arguments)
|
|
|
|
|
|
state 686
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
558 property_access_without_variables: T_OBJECT_OPERATOR '{' expr . '}'
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
'}' shift, and go to state 800
|
|
|
|
|
|
state 687
|
|
|
|
47 statement: T_IF parenthesis_expr ':' inner_statement_list new_elseif_list . new_else_single T_ENDIF ';'
|
|
148 new_elseif_list: new_elseif_list . T_ELSEIF parenthesis_expr ':' inner_statement_list
|
|
|
|
T_ELSEIF shift, and go to state 801
|
|
T_ELSE shift, and go to state 802
|
|
|
|
$default reduce using rule 153 (new_else_single)
|
|
|
|
new_else_single go to state 803
|
|
|
|
|
|
state 688
|
|
|
|
146 elseif_list: elseif_list T_ELSEIF . parenthesis_expr statement
|
|
|
|
'(' shift, and go to state 185
|
|
|
|
parenthesis_expr go to state 804
|
|
|
|
|
|
state 689
|
|
|
|
150 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' 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
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
statement go to state 805
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 690
|
|
|
|
46 statement: T_IF parenthesis_expr statement elseif_list else_single .
|
|
|
|
$default reduce using rule 46 (statement)
|
|
|
|
|
|
state 691
|
|
|
|
51 statement: T_DO $@4 statement T_WHILE parenthesis_expr . ';'
|
|
|
|
';' shift, and go to state 806
|
|
|
|
|
|
state 692
|
|
|
|
39 inner_statement_list: inner_statement_list . inner_statement
|
|
132 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 807
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' 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
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
inner_statement go to state 445
|
|
statement go to state 446
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 447
|
|
class_declaration_statement go to state 448
|
|
trait_declaration_statement go to state 449
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 693
|
|
|
|
53 statement: T_FOR '(' for_expr ';' for_expr . ';' for_expr ')' $@5 for_statement
|
|
|
|
';' shift, and go to state 808
|
|
|
|
|
|
state 694
|
|
|
|
126 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 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 809
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 695
|
|
|
|
70 statement: T_FOREACH '(' expr T_AS foreach_variable . foreach_optional_arg ')' $@7 foreach_statement
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 810
|
|
|
|
$default reduce using rule 124 (foreach_optional_arg)
|
|
|
|
foreach_optional_arg go to state 811
|
|
|
|
|
|
state 696
|
|
|
|
125 foreach_variable: variable .
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
|
|
$default reduce using rule 125 (foreach_variable)
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 697
|
|
|
|
135 declare_list: ident '=' static_scalar .
|
|
|
|
$default reduce using rule 135 (declare_list)
|
|
|
|
|
|
state 698
|
|
|
|
136 declare_list: declare_list ',' ident . '=' static_scalar
|
|
|
|
'=' shift, and go to state 812
|
|
|
|
|
|
state 699
|
|
|
|
134 declare_statement: ':' . inner_statement_list T_ENDDECLARE ';'
|
|
|
|
$default reduce using rule 40 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 813
|
|
|
|
|
|
state 700
|
|
|
|
133 declare_statement: statement .
|
|
|
|
$default reduce using rule 133 (declare_statement)
|
|
|
|
|
|
state 701
|
|
|
|
71 statement: T_DECLARE '(' declare_list ')' declare_statement .
|
|
|
|
$default reduce using rule 71 (statement)
|
|
|
|
|
|
state 702
|
|
|
|
140 switch_case_list: ':' ';' . case_list T_ENDSWITCH ';'
|
|
|
|
$default reduce using rule 143 (case_list)
|
|
|
|
case_list go to state 814
|
|
|
|
|
|
state 703
|
|
|
|
139 switch_case_list: ':' case_list . T_ENDSWITCH ';'
|
|
141 case_list: case_list . T_CASE expr case_separator inner_statement_list
|
|
142 | case_list . T_DEFAULT case_separator inner_statement_list
|
|
|
|
T_ENDSWITCH shift, and go to state 815
|
|
T_CASE shift, and go to state 816
|
|
T_DEFAULT shift, and go to state 817
|
|
|
|
|
|
state 704
|
|
|
|
138 switch_case_list: '{' ';' . case_list '}'
|
|
|
|
$default reduce using rule 143 (case_list)
|
|
|
|
case_list go to state 818
|
|
|
|
|
|
state 705
|
|
|
|
137 switch_case_list: '{' case_list . '}'
|
|
141 case_list: case_list . T_CASE expr case_separator inner_statement_list
|
|
142 | case_list . T_DEFAULT case_separator inner_statement_list
|
|
|
|
T_CASE shift, and go to state 816
|
|
T_DEFAULT shift, and go to state 817
|
|
'}' shift, and go to state 819
|
|
|
|
|
|
state 706
|
|
|
|
700 sm_type: T_ARRAY T_TYPELIST_LT sm_type ',' . sm_type T_TYPELIST_GT
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
ident go to state 379
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 820
|
|
|
|
|
|
state 707
|
|
|
|
699 sm_type: T_ARRAY T_TYPELIST_LT sm_type T_TYPELIST_GT .
|
|
|
|
$default reduce using rule 699 (sm_type)
|
|
|
|
|
|
state 708
|
|
|
|
688 sm_shape_member_type: T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW . sm_type
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
ident go to state 379
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 821
|
|
|
|
|
|
state 709
|
|
|
|
510 possible_comma: ',' .
|
|
689 sm_non_empty_shape_member_list: sm_non_empty_shape_member_list ',' . sm_shape_member_type
|
|
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 560
|
|
|
|
$default reduce using rule 510 (possible_comma)
|
|
|
|
sm_shape_member_type go to state 822
|
|
|
|
|
|
state 710
|
|
|
|
691 sm_shape_member_list: sm_non_empty_shape_member_list possible_comma .
|
|
|
|
$default reduce using rule 691 (sm_shape_member_list)
|
|
|
|
|
|
state 711
|
|
|
|
693 sm_shape_type: T_SHAPE '(' sm_shape_member_list ')' .
|
|
|
|
$default reduce using rule 693 (sm_shape_type)
|
|
|
|
|
|
state 712
|
|
|
|
678 sm_func_type_list: T_VARARG .
|
|
|
|
$default reduce using rule 678 (sm_func_type_list)
|
|
|
|
|
|
state 713
|
|
|
|
675 sm_type_list: sm_type_list . ',' sm_type
|
|
676 sm_func_type_list: sm_type_list . ',' T_VARARG
|
|
677 | sm_type_list .
|
|
|
|
',' shift, and go to state 823
|
|
|
|
$default reduce using rule 677 (sm_func_type_list)
|
|
|
|
|
|
state 714
|
|
|
|
702 sm_type: '(' T_FUNCTION '(' sm_func_type_list . ')' ':' sm_type ')'
|
|
|
|
')' shift, and go to state 824
|
|
|
|
|
|
state 715
|
|
|
|
675 sm_type_list: sm_type_list ',' sm_type .
|
|
703 sm_type: '(' sm_type_list ',' sm_type . ')'
|
|
|
|
')' shift, and go to state 825
|
|
|
|
$default reduce using rule 675 (sm_type_list)
|
|
|
|
|
|
state 716
|
|
|
|
493 static_scalar: '+' static_scalar .
|
|
|
|
$default reduce using rule 493 (static_scalar)
|
|
|
|
|
|
state 717
|
|
|
|
494 static_scalar: '-' static_scalar .
|
|
|
|
$default reduce using rule 494 (static_scalar)
|
|
|
|
|
|
state 718
|
|
|
|
495 static_scalar: T_ARRAY '(' . static_array_pair_list ')'
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
$default reduce using rule 509 (static_array_pair_list)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 826
|
|
static_class_constant go to state 579
|
|
static_array_pair_list go to state 827
|
|
non_empty_static_array_pair_list go to state 828
|
|
|
|
|
|
state 719
|
|
|
|
489 common_scalar: T_START_HEREDOC T_ENCAPSED_AND_WHITESPACE . T_END_HEREDOC
|
|
|
|
T_END_HEREDOC shift, and go to state 421
|
|
|
|
|
|
state 720
|
|
|
|
500 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 829
|
|
|
|
|
|
state 721
|
|
|
|
496 static_scalar: T_SHAPE '(' . static_shape_pair_list ')'
|
|
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 830
|
|
|
|
$default reduce using rule 353 (static_shape_pair_list)
|
|
|
|
non_empty_static_shape_pair_list go to state 831
|
|
static_shape_pair_list go to state 832
|
|
|
|
|
|
state 722
|
|
|
|
499 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 833
|
|
|
|
|
|
state 723
|
|
|
|
357 static_collection_literal: fully_qualified_class_name '{' . static_collection_init '}'
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
$default reduce using rule 639 (static_collection_init)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 834
|
|
static_class_constant go to state 579
|
|
static_collection_init go to state 835
|
|
non_empty_static_collection_init go to state 836
|
|
|
|
|
|
state 724
|
|
|
|
72 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 837
|
|
|
|
|
|
state 725
|
|
|
|
73 statement: T_TRY '{' inner_statement_list '}' finally .
|
|
|
|
$default reduce using rule 73 (statement)
|
|
|
|
|
|
state 726
|
|
|
|
84 finally: $@8 . T_FINALLY '{' inner_statement_list '}'
|
|
|
|
T_FINALLY shift, and go to state 838
|
|
|
|
|
|
state 727
|
|
|
|
28 use_declaration: T_NS_SEPARATOR namespace_name T_AS ident .
|
|
|
|
$default reduce using rule 28 (use_declaration)
|
|
|
|
|
|
state 728
|
|
|
|
176 global_var: '$' '{' expr '}' .
|
|
|
|
$default reduce using rule 176 (global_var)
|
|
|
|
|
|
state 729
|
|
|
|
342 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 764
|
|
|
|
')' reduce using rule 157 (parameter_list)
|
|
$default reduce using rule 554 (optional_user_attributes)
|
|
|
|
parameter_list go to state 839
|
|
non_empty_parameter_list go to state 766
|
|
non_empty_user_attributes go to state 767
|
|
optional_user_attributes go to state 768
|
|
|
|
|
|
state 730
|
|
|
|
178 static_var_list: static_var_list ',' T_VARIABLE '=' . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 840
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 731
|
|
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
665 variable_list: variable_list ',' variable .
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
|
|
$default reduce using rule 665 (variable_list)
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 732
|
|
|
|
66 statement: T_UNSET '(' variable_list ')' ';' .
|
|
|
|
$default reduce using rule 66 (statement)
|
|
|
|
|
|
state 733
|
|
|
|
682 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 594
|
|
sm_typevar_list go to state 841
|
|
|
|
|
|
state 734
|
|
|
|
684 sm_typevar_list: ident T_AS . sm_shape_type sm_typevar_list
|
|
685 | ident T_AS . ident ',' sm_typevar_list
|
|
686 | ident T_AS . ident
|
|
687 | ident T_AS . sm_shape_type
|
|
|
|
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
|
|
T_SHAPE shift, and go to state 204
|
|
|
|
ident go to state 842
|
|
sm_shape_type go to state 843
|
|
|
|
|
|
state 735
|
|
|
|
671 sm_name_with_typevar: ident T_TYPELIST_LT sm_typevar_list T_TYPELIST_GT .
|
|
|
|
$default reduce using rule 671 (sm_name_with_typevar)
|
|
|
|
|
|
state 736
|
|
|
|
117 interface_extends_list: T_EXTENDS interface_list .
|
|
120 interface_list: interface_list . ',' fully_qualified_class_name
|
|
|
|
',' shift, and go to state 844
|
|
|
|
$default reduce using rule 117 (interface_extends_list)
|
|
|
|
|
|
state 737
|
|
|
|
119 interface_list: fully_qualified_class_name .
|
|
|
|
$default reduce using rule 119 (interface_list)
|
|
|
|
|
|
state 738
|
|
|
|
99 class_declaration_statement: T_INTERFACE interface_decl_name $@13 interface_extends_list '{' . class_statement_list '}'
|
|
|
|
$default reduce using rule 182 (class_statement_list)
|
|
|
|
class_statement_list go to state 845
|
|
|
|
|
|
state 739
|
|
|
|
616 assignment_list: assignment_list . ','
|
|
617 | assignment_list . ',' variable
|
|
618 | assignment_list . ',' T_LIST '(' assignment_list ')'
|
|
621 | T_LIST '(' assignment_list . ')'
|
|
|
|
',' shift, and go to state 599
|
|
')' shift, and go to state 846
|
|
|
|
|
|
state 740
|
|
|
|
618 assignment_list: assignment_list ',' T_LIST . '(' assignment_list ')'
|
|
|
|
'(' shift, and go to state 847
|
|
|
|
|
|
state 741
|
|
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
617 assignment_list: assignment_list ',' variable .
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
|
|
$default reduce using rule 617 (assignment_list)
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 742
|
|
|
|
268 yield_list_assign_expr: T_LIST '(' assignment_list ')' '=' . yield_expr
|
|
272 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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 505
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
yield_expr go to state 848
|
|
expr go to state 849
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 743
|
|
|
|
630 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 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 850
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 744
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
626 non_empty_array_pair_list: expr T_DOUBLE_ARROW expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 626 (non_empty_array_pair_list)
|
|
|
|
|
|
state 745
|
|
|
|
629 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 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 851
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 746
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
624 non_empty_array_pair_list: non_empty_array_pair_list ',' expr . T_DOUBLE_ARROW expr
|
|
625 | non_empty_array_pair_list ',' expr .
|
|
628 | non_empty_array_pair_list ',' expr . T_DOUBLE_ARROW '&' variable
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
T_DOUBLE_ARROW shift, and go to state 852
|
|
|
|
$default reduce using rule 625 (non_empty_array_pair_list)
|
|
|
|
|
|
state 747
|
|
|
|
649 encaps_var: T_VARIABLE '[' encaps_var_offset ']' .
|
|
|
|
$default reduce using rule 649 (encaps_var)
|
|
|
|
|
|
state 748
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
652 encaps_var: T_DOLLAR_OPEN_CURLY_BRACES T_STRING_VARNAME '[' expr . ']' '}'
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
']' shift, and go to state 853
|
|
|
|
|
|
state 749
|
|
|
|
14 top_statement: T_NAMESPACE '{' $@2 top_statement_list '}' .
|
|
|
|
$default reduce using rule 14 (top_statement)
|
|
|
|
|
|
state 750
|
|
|
|
2 top_statement_list: top_statement_list . top_statement
|
|
12 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
|
|
T_SHAPE shift, and go to state 84
|
|
T_TYPE 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 854
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
top_statement go to state 93
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
constant_declaration go to state 100
|
|
statement go to state 101
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 103
|
|
class_declaration_statement go to state 104
|
|
trait_declaration_statement go to state 105
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
sm_typedef_statement go to state 137
|
|
|
|
|
|
state 751
|
|
|
|
103 trait_declaration_statement: T_TRAIT trait_decl_name $@15 '{' class_statement_list . '}'
|
|
181 class_statement_list: class_statement_list . class_statement
|
|
|
|
T_SL shift, and go to state 10
|
|
T_CONST shift, and go to state 855
|
|
T_USE shift, and go to state 856
|
|
T_PUBLIC shift, and go to state 857
|
|
T_PROTECTED shift, and go to state 858
|
|
T_PRIVATE shift, and go to state 859
|
|
T_FINAL shift, and go to state 860
|
|
T_ABSTRACT shift, and go to state 861
|
|
T_STATIC shift, and go to state 862
|
|
T_VAR shift, and go to state 863
|
|
T_XHP_ATTRIBUTE shift, and go to state 864
|
|
T_XHP_CATEGORY shift, and go to state 865
|
|
T_XHP_CHILDREN shift, and go to state 866
|
|
'}' shift, and go to state 867
|
|
|
|
$default reduce using rule 244 (method_modifiers)
|
|
|
|
class_statement go to state 868
|
|
variable_modifiers go to state 869
|
|
method_modifiers go to state 870
|
|
non_empty_member_modifiers go to state 871
|
|
member_modifier go to state 872
|
|
class_constant_declaration go to state 873
|
|
non_empty_user_attributes go to state 874
|
|
|
|
|
|
state 752
|
|
|
|
371 xhp_tag_body: xhp_attributes T_XHP_TAG_GT xhp_children . T_XHP_TAG_LT '/' xhp_opt_end_label
|
|
376 xhp_children: xhp_children . xhp_child
|
|
|
|
T_XHP_TEXT shift, and go to state 875
|
|
T_XHP_TAG_LT shift, and go to state 876
|
|
'{' shift, and go to state 877
|
|
|
|
xhp_tag go to state 878
|
|
xhp_child go to state 879
|
|
|
|
|
|
state 753
|
|
|
|
374 xhp_attributes: xhp_attributes xhp_attribute_name '=' . xhp_attribute_value
|
|
|
|
T_XHP_TEXT shift, and go to state 880
|
|
'{' shift, and go to state 881
|
|
|
|
xhp_attribute_value go to state 882
|
|
|
|
|
|
state 754
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
347 non_empty_shape_pair_list: T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 347 (non_empty_shape_pair_list)
|
|
|
|
|
|
state 755
|
|
|
|
346 non_empty_shape_pair_list: non_empty_shape_pair_list ',' T_CONSTANT_ENCAPSED_STRING . T_DOUBLE_ARROW expr
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 883
|
|
|
|
|
|
state 756
|
|
|
|
667 sm_typedef_statement: T_TYPE ident '=' sm_type ';' .
|
|
|
|
$default reduce using rule 667 (sm_typedef_statement)
|
|
|
|
|
|
state 757
|
|
|
|
558 property_access_without_variables: T_OBJECT_OPERATOR '{' . expr '}'
|
|
591 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 884
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 758
|
|
|
|
557 property_access_without_variables: T_OBJECT_OPERATOR ident .
|
|
589 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR ident . sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
|
|
T_TYPELIST_LT shift, and go to state 268
|
|
|
|
'(' reduce using rule 673 (sm_typeargs_opt)
|
|
$default reduce using rule 557 (property_access_without_variables)
|
|
|
|
sm_typeargs_opt go to state 885
|
|
|
|
|
|
state 759
|
|
|
|
556 property_access: T_OBJECT_OPERATOR variable_without_objects .
|
|
590 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR variable_without_objects . '(' function_call_parameter_list ')'
|
|
|
|
'(' shift, and go to state 886
|
|
|
|
$default reduce using rule 556 (property_access)
|
|
|
|
|
|
state 760
|
|
|
|
675 sm_type_list: sm_type_list ',' sm_type .
|
|
|
|
$default reduce using rule 675 (sm_type_list)
|
|
|
|
|
|
state 761
|
|
|
|
171 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 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 887
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 762
|
|
|
|
170 non_empty_fcall_parameter_list: non_empty_fcall_parameter_list ',' expr .
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 170 (non_empty_fcall_parameter_list)
|
|
|
|
|
|
state 763
|
|
|
|
37 constant_declaration: constant_declaration ',' sm_name_with_type '=' static_scalar .
|
|
|
|
$default reduce using rule 37 (constant_declaration)
|
|
|
|
|
|
state 764
|
|
|
|
156 parameter_list: T_VARARG .
|
|
|
|
$default reduce using rule 156 (parameter_list)
|
|
|
|
|
|
state 765
|
|
|
|
340 expr_no_variable: function_loc is_reference '(' $@21 parameter_list . ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
')' shift, and go to state 888
|
|
|
|
|
|
state 766
|
|
|
|
154 parameter_list: non_empty_parameter_list . ',' T_VARARG
|
|
155 | non_empty_parameter_list . possible_comma_in_hphp_syntax
|
|
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
|
|
164 | non_empty_parameter_list . ',' optional_user_attributes sm_type_opt '&' T_VARIABLE '=' static_scalar
|
|
165 | non_empty_parameter_list . ',' optional_user_attributes sm_type_opt T_VARIABLE '=' static_scalar
|
|
|
|
',' shift, and go to state 889
|
|
|
|
$default reduce using rule 513 (possible_comma_in_hphp_syntax)
|
|
|
|
possible_comma_in_hphp_syntax go to state 890
|
|
|
|
|
|
state 767
|
|
|
|
553 optional_user_attributes: non_empty_user_attributes .
|
|
|
|
$default reduce using rule 553 (optional_user_attributes)
|
|
|
|
|
|
state 768
|
|
|
|
158 non_empty_parameter_list: optional_user_attributes . sm_type_opt T_VARIABLE
|
|
159 | optional_user_attributes . sm_type_opt '&' T_VARIABLE
|
|
160 | optional_user_attributes . sm_type_opt '&' T_VARIABLE '=' static_scalar
|
|
161 | optional_user_attributes . sm_type_opt T_VARIABLE '=' static_scalar
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
$default reduce using rule 705 (sm_type_opt)
|
|
|
|
ident go to state 379
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 891
|
|
sm_type_opt go to state 892
|
|
|
|
|
|
state 769
|
|
|
|
91 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 764
|
|
|
|
')' reduce using rule 157 (parameter_list)
|
|
$default reduce using rule 554 (optional_user_attributes)
|
|
|
|
parameter_list go to state 893
|
|
non_empty_parameter_list go to state 766
|
|
non_empty_user_attributes go to state 767
|
|
optional_user_attributes go to state 768
|
|
|
|
|
|
state 770
|
|
|
|
113 extends_from: T_EXTENDS fully_qualified_class_name .
|
|
|
|
$default reduce using rule 113 (extends_from)
|
|
|
|
|
|
state 771
|
|
|
|
115 implements_list: T_IMPLEMENTS . interface_list
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 174
|
|
class_namespace_string_typeargs go to state 99
|
|
interface_list go to state 894
|
|
fully_qualified_class_name go to state 737
|
|
|
|
|
|
state 772
|
|
|
|
95 class_declaration_statement: class_entry_type class_decl_name $@11 extends_from implements_list . '{' class_statement_list '}'
|
|
|
|
'{' shift, and go to state 895
|
|
|
|
|
|
state 773
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
322 | expr '?' expr ':' expr .
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 322 (expr_no_variable)
|
|
|
|
|
|
state 774
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
636 non_empty_collection_init: expr T_DOUBLE_ARROW expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 636 (non_empty_collection_init)
|
|
|
|
|
|
state 775
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
634 non_empty_collection_init: non_empty_collection_init ',' expr . T_DOUBLE_ARROW expr
|
|
635 | non_empty_collection_init ',' expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
T_DOUBLE_ARROW shift, and go to state 896
|
|
|
|
$default reduce using rule 635 (non_empty_collection_init)
|
|
|
|
|
|
state 776
|
|
|
|
592 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 456
|
|
'+' 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 167 (function_call_parameter_list)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
function_call_parameter_list go to state 897
|
|
non_empty_fcall_parameter_list go to state 458
|
|
new_expr go to state 107
|
|
expr go to state 459
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 777
|
|
|
|
593 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 898
|
|
|
|
|
|
state 778
|
|
|
|
101 class_declaration_statement: non_empty_user_attributes T_INTERFACE interface_decl_name $@14 interface_extends_list . '{' class_statement_list '}'
|
|
|
|
'{' shift, and go to state 899
|
|
|
|
|
|
state 779
|
|
|
|
105 trait_declaration_statement: non_empty_user_attributes T_TRAIT trait_decl_name $@16 '{' . class_statement_list '}'
|
|
|
|
$default reduce using rule 182 (class_statement_list)
|
|
|
|
class_statement_list go to state 900
|
|
|
|
|
|
state 780
|
|
|
|
93 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 901
|
|
|
|
|
|
state 781
|
|
|
|
97 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 771
|
|
|
|
$default reduce using rule 116 (implements_list)
|
|
|
|
implements_list go to state 902
|
|
|
|
|
|
state 782
|
|
|
|
275 expr_no_variable: variable '=' '&' T_NEW class_name_reference . ctor_arguments
|
|
|
|
'(' shift, and go to state 356
|
|
|
|
$default reduce using rule 477 (ctor_arguments)
|
|
|
|
ctor_arguments go to state 903
|
|
|
|
|
|
state 783
|
|
|
|
558 property_access_without_variables: T_OBJECT_OPERATOR '{' expr '}' .
|
|
588 object_method_call: variable T_OBJECT_OPERATOR '{' expr '}' . '(' function_call_parameter_list ')'
|
|
|
|
'(' shift, and go to state 904
|
|
|
|
$default reduce using rule 558 (property_access_without_variables)
|
|
|
|
|
|
state 784
|
|
|
|
586 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 456
|
|
'+' 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 167 (function_call_parameter_list)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
function_call_parameter_list go to state 905
|
|
non_empty_fcall_parameter_list go to state 458
|
|
new_expr go to state 107
|
|
expr go to state 459
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 785
|
|
|
|
587 object_method_call: variable T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 906
|
|
|
|
|
|
state 786
|
|
|
|
272 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 849
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 787
|
|
|
|
523 static_numeric_scalar_ae: T_LNUMBER .
|
|
|
|
$default reduce using rule 523 (static_numeric_scalar_ae)
|
|
|
|
|
|
state 788
|
|
|
|
524 static_numeric_scalar_ae: T_DNUMBER .
|
|
|
|
$default reduce using rule 524 (static_numeric_scalar_ae)
|
|
|
|
|
|
state 789
|
|
|
|
525 static_numeric_scalar_ae: ident .
|
|
|
|
$default reduce using rule 525 (static_numeric_scalar_ae)
|
|
|
|
|
|
state 790
|
|
|
|
528 static_scalar_ae: '+' static_numeric_scalar_ae .
|
|
|
|
$default reduce using rule 528 (static_scalar_ae)
|
|
|
|
|
|
state 791
|
|
|
|
529 static_scalar_ae: '-' static_numeric_scalar_ae .
|
|
|
|
$default reduce using rule 529 (static_scalar_ae)
|
|
|
|
|
|
state 792
|
|
|
|
530 static_scalar_ae: T_ARRAY '(' . static_array_pair_list_ae ')'
|
|
|
|
'+' shift, and go to state 668
|
|
'-' shift, and go to state 669
|
|
T_LNUMBER shift, and go to state 670
|
|
T_DNUMBER shift, and go to state 671
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 672
|
|
T_ARRAY shift, and go to state 673
|
|
T_START_HEREDOC shift, and go to state 674
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 675
|
|
|
|
$default reduce using rule 533 (static_array_pair_list_ae)
|
|
|
|
ident go to state 676
|
|
common_scalar_ae go to state 677
|
|
static_scalar_ae go to state 907
|
|
static_array_pair_list_ae go to state 908
|
|
non_empty_static_array_pair_list_ae go to state 909
|
|
|
|
|
|
state 793
|
|
|
|
521 common_scalar_ae: T_START_HEREDOC T_ENCAPSED_AND_WHITESPACE . T_END_HEREDOC
|
|
|
|
T_END_HEREDOC shift, and go to state 910
|
|
|
|
|
|
state 794
|
|
|
|
522 common_scalar_ae: T_START_HEREDOC T_END_HEREDOC .
|
|
|
|
$default reduce using rule 522 (common_scalar_ae)
|
|
|
|
|
|
state 795
|
|
|
|
531 static_scalar_ae: T_SHAPE '(' . static_shape_pair_list_ae ')'
|
|
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 911
|
|
|
|
$default reduce using rule 541 (static_shape_pair_list_ae)
|
|
|
|
static_shape_pair_list_ae go to state 912
|
|
non_empty_static_shape_pair_list_ae go to state 913
|
|
|
|
|
|
state 796
|
|
|
|
510 possible_comma: ',' .
|
|
538 non_empty_static_scalar_list_ae: non_empty_static_scalar_list_ae ',' . static_scalar_ae
|
|
|
|
'+' shift, and go to state 668
|
|
'-' shift, and go to state 669
|
|
T_LNUMBER shift, and go to state 670
|
|
T_DNUMBER shift, and go to state 671
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 672
|
|
T_ARRAY shift, and go to state 673
|
|
T_START_HEREDOC shift, and go to state 674
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 675
|
|
|
|
$default reduce using rule 510 (possible_comma)
|
|
|
|
ident go to state 676
|
|
common_scalar_ae go to state 677
|
|
static_scalar_ae go to state 914
|
|
|
|
|
|
state 797
|
|
|
|
544 static_scalar_list_ae: non_empty_static_scalar_list_ae possible_comma .
|
|
|
|
$default reduce using rule 544 (static_scalar_list_ae)
|
|
|
|
|
|
state 798
|
|
|
|
546 attribute_static_scalar_list: '(' static_scalar_list_ae ')' .
|
|
|
|
$default reduce using rule 546 (attribute_static_scalar_list)
|
|
|
|
|
|
state 799
|
|
|
|
548 non_empty_user_attribute_list: non_empty_user_attribute_list ',' ident attribute_static_scalar_list .
|
|
|
|
$default reduce using rule 548 (non_empty_user_attribute_list)
|
|
|
|
|
|
state 800
|
|
|
|
558 property_access_without_variables: T_OBJECT_OPERATOR '{' expr '}' .
|
|
|
|
$default reduce using rule 558 (property_access_without_variables)
|
|
|
|
|
|
state 801
|
|
|
|
148 new_elseif_list: new_elseif_list T_ELSEIF . parenthesis_expr ':' inner_statement_list
|
|
|
|
'(' shift, and go to state 185
|
|
|
|
parenthesis_expr go to state 915
|
|
|
|
|
|
state 802
|
|
|
|
152 new_else_single: T_ELSE . ':' inner_statement_list
|
|
|
|
':' shift, and go to state 916
|
|
|
|
|
|
state 803
|
|
|
|
47 statement: T_IF parenthesis_expr ':' inner_statement_list new_elseif_list new_else_single . T_ENDIF ';'
|
|
|
|
T_ENDIF shift, and go to state 917
|
|
|
|
|
|
state 804
|
|
|
|
146 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' 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
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
statement go to state 918
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 805
|
|
|
|
150 else_single: T_ELSE statement .
|
|
|
|
$default reduce using rule 150 (else_single)
|
|
|
|
|
|
state 806
|
|
|
|
51 statement: T_DO $@4 statement T_WHILE parenthesis_expr ';' .
|
|
|
|
$default reduce using rule 51 (statement)
|
|
|
|
|
|
state 807
|
|
|
|
132 while_statement: ':' inner_statement_list T_ENDWHILE . ';'
|
|
|
|
';' shift, and go to state 919
|
|
|
|
|
|
state 808
|
|
|
|
53 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 265 (for_expr)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr_list go to state 370
|
|
for_expr go to state 920
|
|
expr go to state 188
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 809
|
|
|
|
126 foreach_variable: '&' variable .
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
|
|
$default reduce using rule 126 (foreach_variable)
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 810
|
|
|
|
123 foreach_optional_arg: T_DOUBLE_ARROW . foreach_variable
|
|
|
|
'&' shift, and go to state 694
|
|
T_STRING shift, and go to state 31
|
|
T_VARIABLE shift, and go to state 33
|
|
T_STATIC shift, and go to state 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
foreach_variable go to state 921
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 696
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 811
|
|
|
|
70 statement: T_FOREACH '(' expr T_AS foreach_variable foreach_optional_arg . ')' $@7 foreach_statement
|
|
|
|
')' shift, and go to state 922
|
|
|
|
|
|
state 812
|
|
|
|
136 declare_list: declare_list ',' ident '=' . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 923
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 813
|
|
|
|
39 inner_statement_list: inner_statement_list . inner_statement
|
|
134 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 924
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' 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
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
inner_statement go to state 445
|
|
statement go to state 446
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 447
|
|
class_declaration_statement go to state 448
|
|
trait_declaration_statement go to state 449
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 814
|
|
|
|
140 switch_case_list: ':' ';' case_list . T_ENDSWITCH ';'
|
|
141 case_list: case_list . T_CASE expr case_separator inner_statement_list
|
|
142 | case_list . T_DEFAULT case_separator inner_statement_list
|
|
|
|
T_ENDSWITCH shift, and go to state 925
|
|
T_CASE shift, and go to state 816
|
|
T_DEFAULT shift, and go to state 817
|
|
|
|
|
|
state 815
|
|
|
|
139 switch_case_list: ':' case_list T_ENDSWITCH . ';'
|
|
|
|
';' shift, and go to state 926
|
|
|
|
|
|
state 816
|
|
|
|
141 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 927
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 817
|
|
|
|
142 case_list: case_list T_DEFAULT . case_separator inner_statement_list
|
|
|
|
':' shift, and go to state 928
|
|
';' shift, and go to state 929
|
|
|
|
case_separator go to state 930
|
|
|
|
|
|
state 818
|
|
|
|
138 switch_case_list: '{' ';' case_list . '}'
|
|
141 case_list: case_list . T_CASE expr case_separator inner_statement_list
|
|
142 | case_list . T_DEFAULT case_separator inner_statement_list
|
|
|
|
T_CASE shift, and go to state 816
|
|
T_DEFAULT shift, and go to state 817
|
|
'}' shift, and go to state 931
|
|
|
|
|
|
state 819
|
|
|
|
137 switch_case_list: '{' case_list '}' .
|
|
|
|
$default reduce using rule 137 (switch_case_list)
|
|
|
|
|
|
state 820
|
|
|
|
700 sm_type: T_ARRAY T_TYPELIST_LT sm_type ',' sm_type . T_TYPELIST_GT
|
|
|
|
T_TYPELIST_GT shift, and go to state 932
|
|
|
|
|
|
state 821
|
|
|
|
688 sm_shape_member_type: T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW sm_type .
|
|
|
|
$default reduce using rule 688 (sm_shape_member_type)
|
|
|
|
|
|
state 822
|
|
|
|
689 sm_non_empty_shape_member_list: sm_non_empty_shape_member_list ',' sm_shape_member_type .
|
|
|
|
$default reduce using rule 689 (sm_non_empty_shape_member_list)
|
|
|
|
|
|
state 823
|
|
|
|
675 sm_type_list: sm_type_list ',' . sm_type
|
|
676 sm_func_type_list: sm_type_list ',' . T_VARARG
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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 933
|
|
T_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
ident go to state 379
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 760
|
|
|
|
|
|
state 824
|
|
|
|
702 sm_type: '(' T_FUNCTION '(' sm_func_type_list ')' . ':' sm_type ')'
|
|
|
|
':' shift, and go to state 934
|
|
|
|
|
|
state 825
|
|
|
|
703 sm_type: '(' sm_type_list ',' sm_type ')' .
|
|
|
|
$default reduce using rule 703 (sm_type)
|
|
|
|
|
|
state 826
|
|
|
|
516 non_empty_static_array_pair_list: static_scalar . T_DOUBLE_ARROW static_scalar
|
|
517 | static_scalar .
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 935
|
|
|
|
$default reduce using rule 517 (non_empty_static_array_pair_list)
|
|
|
|
|
|
state 827
|
|
|
|
495 static_scalar: T_ARRAY '(' static_array_pair_list . ')'
|
|
|
|
')' shift, and go to state 936
|
|
|
|
|
|
state 828
|
|
|
|
508 static_array_pair_list: non_empty_static_array_pair_list . possible_comma
|
|
514 non_empty_static_array_pair_list: non_empty_static_array_pair_list . ',' static_scalar T_DOUBLE_ARROW static_scalar
|
|
515 | non_empty_static_array_pair_list . ',' static_scalar
|
|
|
|
',' shift, and go to state 937
|
|
|
|
$default reduce using rule 511 (possible_comma)
|
|
|
|
possible_comma go to state 938
|
|
|
|
|
|
state 829
|
|
|
|
500 static_class_constant: T_XHP_LABEL T_PAAMAYIM_NEKUDOTAYIM ident .
|
|
|
|
$default reduce using rule 500 (static_class_constant)
|
|
|
|
|
|
state 830
|
|
|
|
349 non_empty_static_shape_pair_list: T_CONSTANT_ENCAPSED_STRING . T_DOUBLE_ARROW static_scalar
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 939
|
|
|
|
|
|
state 831
|
|
|
|
348 non_empty_static_shape_pair_list: non_empty_static_shape_pair_list . ',' T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW static_scalar
|
|
352 static_shape_pair_list: non_empty_static_shape_pair_list . possible_comma
|
|
|
|
',' shift, and go to state 940
|
|
|
|
$default reduce using rule 511 (possible_comma)
|
|
|
|
possible_comma go to state 941
|
|
|
|
|
|
state 832
|
|
|
|
496 static_scalar: T_SHAPE '(' static_shape_pair_list . ')'
|
|
|
|
')' shift, and go to state 942
|
|
|
|
|
|
state 833
|
|
|
|
499 static_class_constant: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM ident .
|
|
|
|
$default reduce using rule 499 (static_class_constant)
|
|
|
|
|
|
state 834
|
|
|
|
642 non_empty_static_collection_init: static_scalar . T_DOUBLE_ARROW static_scalar
|
|
643 | static_scalar .
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 943
|
|
|
|
$default reduce using rule 643 (non_empty_static_collection_init)
|
|
|
|
|
|
state 835
|
|
|
|
357 static_collection_literal: fully_qualified_class_name '{' static_collection_init . '}'
|
|
|
|
'}' shift, and go to state 944
|
|
|
|
|
|
state 836
|
|
|
|
638 static_collection_init: non_empty_static_collection_init . possible_comma
|
|
640 non_empty_static_collection_init: non_empty_static_collection_init . ',' static_scalar T_DOUBLE_ARROW static_scalar
|
|
641 | non_empty_static_collection_init . ',' static_scalar
|
|
|
|
',' shift, and go to state 945
|
|
|
|
$default reduce using rule 511 (possible_comma)
|
|
|
|
possible_comma go to state 946
|
|
|
|
|
|
state 837
|
|
|
|
72 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 140
|
|
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 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 174
|
|
class_namespace_string_typeargs go to state 99
|
|
fully_qualified_class_name go to state 947
|
|
|
|
|
|
state 838
|
|
|
|
84 finally: $@8 T_FINALLY . '{' inner_statement_list '}'
|
|
|
|
'{' shift, and go to state 948
|
|
|
|
|
|
state 839
|
|
|
|
342 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 949
|
|
|
|
|
|
state 840
|
|
|
|
178 static_var_list: static_var_list ',' T_VARIABLE '=' static_scalar .
|
|
|
|
$default reduce using rule 178 (static_var_list)
|
|
|
|
|
|
state 841
|
|
|
|
682 sm_typevar_list: ident ',' sm_typevar_list .
|
|
|
|
$default reduce using rule 682 (sm_typevar_list)
|
|
|
|
|
|
state 842
|
|
|
|
685 sm_typevar_list: ident T_AS ident . ',' sm_typevar_list
|
|
686 | ident T_AS ident .
|
|
|
|
',' shift, and go to state 950
|
|
|
|
$default reduce using rule 686 (sm_typevar_list)
|
|
|
|
|
|
state 843
|
|
|
|
684 sm_typevar_list: ident T_AS sm_shape_type . sm_typevar_list
|
|
687 | ident T_AS sm_shape_type .
|
|
|
|
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 687 (sm_typevar_list)
|
|
|
|
ident go to state 594
|
|
sm_typevar_list go to state 951
|
|
|
|
|
|
state 844
|
|
|
|
120 interface_list: interface_list ',' . fully_qualified_class_name
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 174
|
|
class_namespace_string_typeargs go to state 99
|
|
fully_qualified_class_name go to state 952
|
|
|
|
|
|
state 845
|
|
|
|
99 class_declaration_statement: T_INTERFACE interface_decl_name $@13 interface_extends_list '{' class_statement_list . '}'
|
|
181 class_statement_list: class_statement_list . class_statement
|
|
|
|
T_SL shift, and go to state 10
|
|
T_CONST shift, and go to state 855
|
|
T_USE shift, and go to state 856
|
|
T_PUBLIC shift, and go to state 857
|
|
T_PROTECTED shift, and go to state 858
|
|
T_PRIVATE shift, and go to state 859
|
|
T_FINAL shift, and go to state 860
|
|
T_ABSTRACT shift, and go to state 861
|
|
T_STATIC shift, and go to state 862
|
|
T_VAR shift, and go to state 863
|
|
T_XHP_ATTRIBUTE shift, and go to state 864
|
|
T_XHP_CATEGORY shift, and go to state 865
|
|
T_XHP_CHILDREN shift, and go to state 866
|
|
'}' shift, and go to state 953
|
|
|
|
$default reduce using rule 244 (method_modifiers)
|
|
|
|
class_statement go to state 868
|
|
variable_modifiers go to state 869
|
|
method_modifiers go to state 870
|
|
non_empty_member_modifiers go to state 871
|
|
member_modifier go to state 872
|
|
class_constant_declaration go to state 873
|
|
non_empty_user_attributes go to state 874
|
|
|
|
|
|
state 846
|
|
|
|
621 assignment_list: T_LIST '(' assignment_list ')' .
|
|
|
|
$default reduce using rule 621 (assignment_list)
|
|
|
|
|
|
state 847
|
|
|
|
618 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 164
|
|
T_LIST shift, and go to state 412
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
$default reduce using rule 619 (assignment_list)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 413
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
assignment_list go to state 954
|
|
|
|
|
|
state 848
|
|
|
|
268 yield_list_assign_expr: T_LIST '(' assignment_list ')' '=' yield_expr .
|
|
|
|
$default reduce using rule 268 (yield_list_assign_expr)
|
|
|
|
|
|
state 849
|
|
|
|
272 expr_no_variable: T_LIST '(' assignment_list ')' '=' expr .
|
|
292 | expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 272 (expr_no_variable)
|
|
|
|
|
|
state 850
|
|
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
630 non_empty_array_pair_list: expr T_DOUBLE_ARROW '&' variable .
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
|
|
$default reduce using rule 630 (non_empty_array_pair_list)
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 851
|
|
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
629 non_empty_array_pair_list: non_empty_array_pair_list ',' '&' variable .
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
|
|
$default reduce using rule 629 (non_empty_array_pair_list)
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 852
|
|
|
|
624 non_empty_array_pair_list: non_empty_array_pair_list ',' expr T_DOUBLE_ARROW . expr
|
|
628 | 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 955
|
|
'+' 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 956
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 853
|
|
|
|
652 encaps_var: T_DOLLAR_OPEN_CURLY_BRACES T_STRING_VARNAME '[' expr ']' . '}'
|
|
|
|
'}' shift, and go to state 957
|
|
|
|
|
|
state 854
|
|
|
|
12 top_statement: T_NAMESPACE namespace_name '{' $@1 top_statement_list '}' .
|
|
|
|
$default reduce using rule 12 (top_statement)
|
|
|
|
|
|
state 855
|
|
|
|
258 class_constant_declaration: T_CONST . sm_name_with_type '=' static_scalar
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
ident go to state 206
|
|
sm_name_with_type go to state 958
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 209
|
|
|
|
|
|
state 856
|
|
|
|
195 class_statement: T_USE . trait_list ';'
|
|
196 | T_USE . trait_list '{' trait_rules '}'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 174
|
|
class_namespace_string_typeargs go to state 99
|
|
trait_list go to state 959
|
|
fully_qualified_class_name go to state 960
|
|
|
|
|
|
state 857
|
|
|
|
247 member_modifier: T_PUBLIC .
|
|
|
|
$default reduce using rule 247 (member_modifier)
|
|
|
|
|
|
state 858
|
|
|
|
248 member_modifier: T_PROTECTED .
|
|
|
|
$default reduce using rule 248 (member_modifier)
|
|
|
|
|
|
state 859
|
|
|
|
249 member_modifier: T_PRIVATE .
|
|
|
|
$default reduce using rule 249 (member_modifier)
|
|
|
|
|
|
state 860
|
|
|
|
252 member_modifier: T_FINAL .
|
|
|
|
$default reduce using rule 252 (member_modifier)
|
|
|
|
|
|
state 861
|
|
|
|
251 member_modifier: T_ABSTRACT .
|
|
|
|
$default reduce using rule 251 (member_modifier)
|
|
|
|
|
|
state 862
|
|
|
|
250 member_modifier: T_STATIC .
|
|
|
|
$default reduce using rule 250 (member_modifier)
|
|
|
|
|
|
state 863
|
|
|
|
242 variable_modifiers: T_VAR .
|
|
|
|
$default reduce using rule 242 (variable_modifiers)
|
|
|
|
|
|
state 864
|
|
|
|
192 class_statement: T_XHP_ATTRIBUTE . xhp_attribute_stmt ';'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VAR shift, and go to state 961
|
|
T_ARRAY shift, and go to state 962
|
|
T_NAMESPACE shift, and go to state 140
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 963
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 964
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 174
|
|
class_namespace_string_typeargs go to state 99
|
|
xhp_attribute_stmt go to state 965
|
|
xhp_attribute_decl go to state 966
|
|
xhp_attribute_decl_type go to state 967
|
|
fully_qualified_class_name go to state 968
|
|
|
|
|
|
state 865
|
|
|
|
193 class_statement: T_XHP_CATEGORY . xhp_category_stmt ';'
|
|
|
|
T_XHP_CATEGORY_LABEL shift, and go to state 969
|
|
|
|
xhp_category_stmt go to state 970
|
|
xhp_category_decl go to state 971
|
|
|
|
|
|
state 866
|
|
|
|
194 class_statement: T_XHP_CHILDREN . xhp_children_stmt ';'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_EMPTY shift, and go to state 972
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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 973
|
|
|
|
ident go to state 974
|
|
xhp_children_stmt go to state 975
|
|
xhp_children_paren_expr go to state 976
|
|
|
|
|
|
state 867
|
|
|
|
103 trait_declaration_statement: T_TRAIT trait_decl_name $@15 '{' class_statement_list '}' .
|
|
|
|
$default reduce using rule 103 (trait_declaration_statement)
|
|
|
|
|
|
state 868
|
|
|
|
181 class_statement_list: class_statement_list class_statement .
|
|
|
|
$default reduce using rule 181 (class_statement_list)
|
|
|
|
|
|
state 869
|
|
|
|
184 class_statement: variable_modifiers . $@17 class_variable_declaration ';'
|
|
|
|
$default reduce using rule 183 ($@17)
|
|
|
|
$@17 go to state 977
|
|
|
|
|
|
state 870
|
|
|
|
189 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 978
|
|
|
|
|
|
state 871
|
|
|
|
186 class_statement: non_empty_member_modifiers . sm_type $@18 class_variable_declaration ';'
|
|
241 variable_modifiers: non_empty_member_modifiers .
|
|
243 method_modifiers: non_empty_member_modifiers .
|
|
246 non_empty_member_modifiers: non_empty_member_modifiers . member_modifier
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_PUBLIC shift, and go to state 857
|
|
T_PROTECTED shift, and go to state 858
|
|
T_PRIVATE shift, and go to state 859
|
|
T_FINAL shift, and go to state 860
|
|
T_ABSTRACT shift, and go to state 861
|
|
T_STATIC shift, and go to state 862
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
T_FUNCTION reduce using rule 243 (method_modifiers)
|
|
$default reduce using rule 241 (variable_modifiers)
|
|
|
|
ident go to state 379
|
|
member_modifier go to state 979
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 980
|
|
|
|
|
|
state 872
|
|
|
|
245 non_empty_member_modifiers: member_modifier .
|
|
|
|
$default reduce using rule 245 (non_empty_member_modifiers)
|
|
|
|
|
|
state 873
|
|
|
|
187 class_statement: class_constant_declaration . ';'
|
|
257 class_constant_declaration: class_constant_declaration . ',' sm_name_with_type '=' static_scalar
|
|
|
|
',' shift, and go to state 981
|
|
';' shift, and go to state 982
|
|
|
|
|
|
state 874
|
|
|
|
191 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 857
|
|
T_PROTECTED shift, and go to state 858
|
|
T_PRIVATE shift, and go to state 859
|
|
T_FINAL shift, and go to state 860
|
|
T_ABSTRACT shift, and go to state 861
|
|
T_STATIC shift, and go to state 862
|
|
|
|
$default reduce using rule 244 (method_modifiers)
|
|
|
|
method_modifiers go to state 983
|
|
non_empty_member_modifiers go to state 984
|
|
member_modifier go to state 872
|
|
|
|
|
|
state 875
|
|
|
|
381 xhp_child: T_XHP_TEXT .
|
|
|
|
$default reduce using rule 381 (xhp_child)
|
|
|
|
|
|
state 876
|
|
|
|
369 xhp_tag: T_XHP_TAG_LT . T_XHP_LABEL xhp_tag_body T_XHP_TAG_GT
|
|
371 xhp_tag_body: xhp_attributes T_XHP_TAG_GT xhp_children T_XHP_TAG_LT . '/' xhp_opt_end_label
|
|
|
|
'/' shift, and go to state 985
|
|
T_XHP_LABEL shift, and go to state 251
|
|
|
|
|
|
state 877
|
|
|
|
382 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 986
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 878
|
|
|
|
383 xhp_child: xhp_tag .
|
|
|
|
$default reduce using rule 383 (xhp_child)
|
|
|
|
|
|
state 879
|
|
|
|
376 xhp_children: xhp_children xhp_child .
|
|
|
|
$default reduce using rule 376 (xhp_children)
|
|
|
|
|
|
state 880
|
|
|
|
379 xhp_attribute_value: T_XHP_TEXT .
|
|
|
|
$default reduce using rule 379 (xhp_attribute_value)
|
|
|
|
|
|
state 881
|
|
|
|
380 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 987
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 882
|
|
|
|
374 xhp_attributes: xhp_attributes xhp_attribute_name '=' xhp_attribute_value .
|
|
|
|
$default reduce using rule 374 (xhp_attributes)
|
|
|
|
|
|
state 883
|
|
|
|
346 non_empty_shape_pair_list: non_empty_shape_pair_list ',' T_CONSTANT_ENCAPSED_STRING 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 988
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 884
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
558 property_access_without_variables: T_OBJECT_OPERATOR '{' expr . '}'
|
|
591 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR '{' expr . '}' '(' function_call_parameter_list ')'
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
'}' shift, and go to state 989
|
|
|
|
|
|
state 885
|
|
|
|
589 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR ident sm_typeargs_opt . '(' function_call_parameter_list ')'
|
|
|
|
'(' shift, and go to state 990
|
|
|
|
|
|
state 886
|
|
|
|
590 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 456
|
|
'+' 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 167 (function_call_parameter_list)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
function_call_parameter_list go to state 991
|
|
non_empty_fcall_parameter_list go to state 458
|
|
new_expr go to state 107
|
|
expr go to state 459
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 887
|
|
|
|
171 non_empty_fcall_parameter_list: non_empty_fcall_parameter_list ',' '&' variable .
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
|
|
$default reduce using rule 171 (non_empty_fcall_parameter_list)
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 888
|
|
|
|
340 expr_no_variable: function_loc is_reference '(' $@21 parameter_list ')' . sm_opt_return_type lexical_vars '{' inner_statement_list '}'
|
|
|
|
':' shift, and go to state 992
|
|
|
|
$default reduce using rule 680 (sm_opt_return_type)
|
|
|
|
sm_opt_return_type go to state 993
|
|
|
|
|
|
state 889
|
|
|
|
154 parameter_list: non_empty_parameter_list ',' . T_VARARG
|
|
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
|
|
164 | non_empty_parameter_list ',' . optional_user_attributes sm_type_opt '&' T_VARIABLE '=' static_scalar
|
|
165 | non_empty_parameter_list ',' . optional_user_attributes sm_type_opt T_VARIABLE '=' static_scalar
|
|
512 possible_comma_in_hphp_syntax: ',' .
|
|
|
|
T_SL shift, and go to state 10
|
|
T_VARARG shift, and go to state 994
|
|
|
|
')' reduce using rule 512 (possible_comma_in_hphp_syntax)
|
|
$default reduce using rule 554 (optional_user_attributes)
|
|
|
|
non_empty_user_attributes go to state 767
|
|
optional_user_attributes go to state 995
|
|
|
|
|
|
state 890
|
|
|
|
155 parameter_list: non_empty_parameter_list possible_comma_in_hphp_syntax .
|
|
|
|
$default reduce using rule 155 (parameter_list)
|
|
|
|
|
|
state 891
|
|
|
|
704 sm_type_opt: sm_type .
|
|
|
|
$default reduce using rule 704 (sm_type_opt)
|
|
|
|
|
|
state 892
|
|
|
|
158 non_empty_parameter_list: optional_user_attributes sm_type_opt . T_VARIABLE
|
|
159 | optional_user_attributes sm_type_opt . '&' T_VARIABLE
|
|
160 | optional_user_attributes sm_type_opt . '&' T_VARIABLE '=' static_scalar
|
|
161 | optional_user_attributes sm_type_opt . T_VARIABLE '=' static_scalar
|
|
|
|
'&' shift, and go to state 996
|
|
T_VARIABLE shift, and go to state 997
|
|
|
|
|
|
state 893
|
|
|
|
91 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 998
|
|
|
|
|
|
state 894
|
|
|
|
115 implements_list: T_IMPLEMENTS interface_list .
|
|
120 interface_list: interface_list . ',' fully_qualified_class_name
|
|
|
|
',' shift, and go to state 844
|
|
|
|
$default reduce using rule 115 (implements_list)
|
|
|
|
|
|
state 895
|
|
|
|
95 class_declaration_statement: class_entry_type class_decl_name $@11 extends_from implements_list '{' . class_statement_list '}'
|
|
|
|
$default reduce using rule 182 (class_statement_list)
|
|
|
|
class_statement_list go to state 999
|
|
|
|
|
|
state 896
|
|
|
|
634 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
new_expr go to state 107
|
|
expr go to state 1000
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 897
|
|
|
|
592 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM ident sm_typeargs_opt '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 1001
|
|
|
|
|
|
state 898
|
|
|
|
593 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects '(' function_call_parameter_list ')' .
|
|
|
|
$default reduce using rule 593 (class_method_call)
|
|
|
|
|
|
state 899
|
|
|
|
101 class_declaration_statement: non_empty_user_attributes T_INTERFACE interface_decl_name $@14 interface_extends_list '{' . class_statement_list '}'
|
|
|
|
$default reduce using rule 182 (class_statement_list)
|
|
|
|
class_statement_list go to state 1002
|
|
|
|
|
|
state 900
|
|
|
|
105 trait_declaration_statement: non_empty_user_attributes T_TRAIT trait_decl_name $@16 '{' class_statement_list . '}'
|
|
181 class_statement_list: class_statement_list . class_statement
|
|
|
|
T_SL shift, and go to state 10
|
|
T_CONST shift, and go to state 855
|
|
T_USE shift, and go to state 856
|
|
T_PUBLIC shift, and go to state 857
|
|
T_PROTECTED shift, and go to state 858
|
|
T_PRIVATE shift, and go to state 859
|
|
T_FINAL shift, and go to state 860
|
|
T_ABSTRACT shift, and go to state 861
|
|
T_STATIC shift, and go to state 862
|
|
T_VAR shift, and go to state 863
|
|
T_XHP_ATTRIBUTE shift, and go to state 864
|
|
T_XHP_CATEGORY shift, and go to state 865
|
|
T_XHP_CHILDREN shift, and go to state 866
|
|
'}' shift, and go to state 1003
|
|
|
|
$default reduce using rule 244 (method_modifiers)
|
|
|
|
class_statement go to state 868
|
|
variable_modifiers go to state 869
|
|
method_modifiers go to state 870
|
|
non_empty_member_modifiers go to state 871
|
|
member_modifier go to state 872
|
|
class_constant_declaration go to state 873
|
|
non_empty_user_attributes go to state 874
|
|
|
|
|
|
state 901
|
|
|
|
93 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 764
|
|
|
|
')' reduce using rule 157 (parameter_list)
|
|
$default reduce using rule 554 (optional_user_attributes)
|
|
|
|
parameter_list go to state 1004
|
|
non_empty_parameter_list go to state 766
|
|
non_empty_user_attributes go to state 767
|
|
optional_user_attributes go to state 768
|
|
|
|
|
|
state 902
|
|
|
|
97 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 1005
|
|
|
|
|
|
state 903
|
|
|
|
275 expr_no_variable: variable '=' '&' T_NEW class_name_reference ctor_arguments .
|
|
|
|
$default reduce using rule 275 (expr_no_variable)
|
|
|
|
|
|
state 904
|
|
|
|
588 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 456
|
|
'+' 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 167 (function_call_parameter_list)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
function_call_parameter_list go to state 1006
|
|
non_empty_fcall_parameter_list go to state 458
|
|
new_expr go to state 107
|
|
expr go to state 459
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 905
|
|
|
|
586 object_method_call: variable T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 1007
|
|
|
|
|
|
state 906
|
|
|
|
587 object_method_call: variable T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')' .
|
|
|
|
$default reduce using rule 587 (object_method_call)
|
|
|
|
|
|
state 907
|
|
|
|
536 non_empty_static_array_pair_list_ae: static_scalar_ae . T_DOUBLE_ARROW static_scalar_ae
|
|
537 | static_scalar_ae .
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 1008
|
|
|
|
$default reduce using rule 537 (non_empty_static_array_pair_list_ae)
|
|
|
|
|
|
state 908
|
|
|
|
530 static_scalar_ae: T_ARRAY '(' static_array_pair_list_ae . ')'
|
|
|
|
')' shift, and go to state 1009
|
|
|
|
|
|
state 909
|
|
|
|
532 static_array_pair_list_ae: non_empty_static_array_pair_list_ae . possible_comma
|
|
534 non_empty_static_array_pair_list_ae: non_empty_static_array_pair_list_ae . ',' static_scalar_ae T_DOUBLE_ARROW static_scalar_ae
|
|
535 | non_empty_static_array_pair_list_ae . ',' static_scalar_ae
|
|
|
|
',' shift, and go to state 1010
|
|
|
|
$default reduce using rule 511 (possible_comma)
|
|
|
|
possible_comma go to state 1011
|
|
|
|
|
|
state 910
|
|
|
|
521 common_scalar_ae: T_START_HEREDOC T_ENCAPSED_AND_WHITESPACE T_END_HEREDOC .
|
|
|
|
$default reduce using rule 521 (common_scalar_ae)
|
|
|
|
|
|
state 911
|
|
|
|
543 non_empty_static_shape_pair_list_ae: T_CONSTANT_ENCAPSED_STRING . T_DOUBLE_ARROW static_scalar_ae
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 1012
|
|
|
|
|
|
state 912
|
|
|
|
531 static_scalar_ae: T_SHAPE '(' static_shape_pair_list_ae . ')'
|
|
|
|
')' shift, and go to state 1013
|
|
|
|
|
|
state 913
|
|
|
|
540 static_shape_pair_list_ae: non_empty_static_shape_pair_list_ae . possible_comma
|
|
542 non_empty_static_shape_pair_list_ae: non_empty_static_shape_pair_list_ae . ',' T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW static_scalar_ae
|
|
|
|
',' shift, and go to state 1014
|
|
|
|
$default reduce using rule 511 (possible_comma)
|
|
|
|
possible_comma go to state 1015
|
|
|
|
|
|
state 914
|
|
|
|
538 non_empty_static_scalar_list_ae: non_empty_static_scalar_list_ae ',' static_scalar_ae .
|
|
|
|
$default reduce using rule 538 (non_empty_static_scalar_list_ae)
|
|
|
|
|
|
state 915
|
|
|
|
148 new_elseif_list: new_elseif_list T_ELSEIF parenthesis_expr . ':' inner_statement_list
|
|
|
|
':' shift, and go to state 1016
|
|
|
|
|
|
state 916
|
|
|
|
152 new_else_single: T_ELSE ':' . inner_statement_list
|
|
|
|
$default reduce using rule 40 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1017
|
|
|
|
|
|
state 917
|
|
|
|
47 statement: T_IF parenthesis_expr ':' inner_statement_list new_elseif_list new_else_single T_ENDIF . ';'
|
|
|
|
';' shift, and go to state 1018
|
|
|
|
|
|
state 918
|
|
|
|
146 elseif_list: elseif_list T_ELSEIF parenthesis_expr statement .
|
|
|
|
$default reduce using rule 146 (elseif_list)
|
|
|
|
|
|
state 919
|
|
|
|
132 while_statement: ':' inner_statement_list T_ENDWHILE ';' .
|
|
|
|
$default reduce using rule 132 (while_statement)
|
|
|
|
|
|
state 920
|
|
|
|
53 statement: T_FOR '(' for_expr ';' for_expr ';' for_expr . ')' $@5 for_statement
|
|
|
|
')' shift, and go to state 1019
|
|
|
|
|
|
state 921
|
|
|
|
123 foreach_optional_arg: T_DOUBLE_ARROW foreach_variable .
|
|
|
|
$default reduce using rule 123 (foreach_optional_arg)
|
|
|
|
|
|
state 922
|
|
|
|
70 statement: T_FOREACH '(' expr T_AS foreach_variable foreach_optional_arg ')' . $@7 foreach_statement
|
|
|
|
$default reduce using rule 69 ($@7)
|
|
|
|
$@7 go to state 1020
|
|
|
|
|
|
state 923
|
|
|
|
136 declare_list: declare_list ',' ident '=' static_scalar .
|
|
|
|
$default reduce using rule 136 (declare_list)
|
|
|
|
|
|
state 924
|
|
|
|
134 declare_statement: ':' inner_statement_list T_ENDDECLARE . ';'
|
|
|
|
';' shift, and go to state 1021
|
|
|
|
|
|
state 925
|
|
|
|
140 switch_case_list: ':' ';' case_list T_ENDSWITCH . ';'
|
|
|
|
';' shift, and go to state 1022
|
|
|
|
|
|
state 926
|
|
|
|
139 switch_case_list: ':' case_list T_ENDSWITCH ';' .
|
|
|
|
$default reduce using rule 139 (switch_case_list)
|
|
|
|
|
|
state 927
|
|
|
|
141 case_list: case_list T_CASE expr . case_separator inner_statement_list
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
':' shift, and go to state 928
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
';' shift, and go to state 929
|
|
|
|
case_separator go to state 1023
|
|
|
|
|
|
state 928
|
|
|
|
144 case_separator: ':' .
|
|
|
|
$default reduce using rule 144 (case_separator)
|
|
|
|
|
|
state 929
|
|
|
|
145 case_separator: ';' .
|
|
|
|
$default reduce using rule 145 (case_separator)
|
|
|
|
|
|
state 930
|
|
|
|
142 case_list: case_list T_DEFAULT case_separator . inner_statement_list
|
|
|
|
$default reduce using rule 40 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1024
|
|
|
|
|
|
state 931
|
|
|
|
138 switch_case_list: '{' ';' case_list '}' .
|
|
|
|
$default reduce using rule 138 (switch_case_list)
|
|
|
|
|
|
state 932
|
|
|
|
700 sm_type: T_ARRAY T_TYPELIST_LT sm_type ',' sm_type T_TYPELIST_GT .
|
|
|
|
$default reduce using rule 700 (sm_type)
|
|
|
|
|
|
state 933
|
|
|
|
676 sm_func_type_list: sm_type_list ',' T_VARARG .
|
|
|
|
$default reduce using rule 676 (sm_func_type_list)
|
|
|
|
|
|
state 934
|
|
|
|
702 sm_type: '(' T_FUNCTION '(' sm_func_type_list ')' ':' . sm_type ')'
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
ident go to state 379
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 1025
|
|
|
|
|
|
state 935
|
|
|
|
516 non_empty_static_array_pair_list: static_scalar T_DOUBLE_ARROW . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 1026
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 936
|
|
|
|
495 static_scalar: T_ARRAY '(' static_array_pair_list ')' .
|
|
|
|
$default reduce using rule 495 (static_scalar)
|
|
|
|
|
|
state 937
|
|
|
|
510 possible_comma: ',' .
|
|
514 non_empty_static_array_pair_list: non_empty_static_array_pair_list ',' . static_scalar T_DOUBLE_ARROW static_scalar
|
|
515 | non_empty_static_array_pair_list ',' . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
$default reduce using rule 510 (possible_comma)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 1027
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 938
|
|
|
|
508 static_array_pair_list: non_empty_static_array_pair_list possible_comma .
|
|
|
|
$default reduce using rule 508 (static_array_pair_list)
|
|
|
|
|
|
state 939
|
|
|
|
349 non_empty_static_shape_pair_list: T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 1028
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 940
|
|
|
|
348 non_empty_static_shape_pair_list: non_empty_static_shape_pair_list ',' . T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW static_scalar
|
|
510 possible_comma: ',' .
|
|
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 1029
|
|
|
|
$default reduce using rule 510 (possible_comma)
|
|
|
|
|
|
state 941
|
|
|
|
352 static_shape_pair_list: non_empty_static_shape_pair_list possible_comma .
|
|
|
|
$default reduce using rule 352 (static_shape_pair_list)
|
|
|
|
|
|
state 942
|
|
|
|
496 static_scalar: T_SHAPE '(' static_shape_pair_list ')' .
|
|
|
|
$default reduce using rule 496 (static_scalar)
|
|
|
|
|
|
state 943
|
|
|
|
642 non_empty_static_collection_init: static_scalar T_DOUBLE_ARROW . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 1030
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 944
|
|
|
|
357 static_collection_literal: fully_qualified_class_name '{' static_collection_init '}' .
|
|
|
|
$default reduce using rule 357 (static_collection_literal)
|
|
|
|
|
|
state 945
|
|
|
|
510 possible_comma: ',' .
|
|
640 non_empty_static_collection_init: non_empty_static_collection_init ',' . static_scalar T_DOUBLE_ARROW static_scalar
|
|
641 | non_empty_static_collection_init ',' . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
$default reduce using rule 510 (possible_comma)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 1031
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 946
|
|
|
|
638 static_collection_init: non_empty_static_collection_init possible_comma .
|
|
|
|
$default reduce using rule 638 (static_collection_init)
|
|
|
|
|
|
state 947
|
|
|
|
72 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 1032
|
|
|
|
|
|
state 948
|
|
|
|
84 finally: $@8 T_FINALLY '{' . inner_statement_list '}'
|
|
|
|
$default reduce using rule 40 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1033
|
|
|
|
|
|
state 949
|
|
|
|
342 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 992
|
|
|
|
$default reduce using rule 680 (sm_opt_return_type)
|
|
|
|
sm_opt_return_type go to state 1034
|
|
|
|
|
|
state 950
|
|
|
|
685 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 594
|
|
sm_typevar_list go to state 1035
|
|
|
|
|
|
state 951
|
|
|
|
684 sm_typevar_list: ident T_AS sm_shape_type sm_typevar_list .
|
|
|
|
$default reduce using rule 684 (sm_typevar_list)
|
|
|
|
|
|
state 952
|
|
|
|
120 interface_list: interface_list ',' fully_qualified_class_name .
|
|
|
|
$default reduce using rule 120 (interface_list)
|
|
|
|
|
|
state 953
|
|
|
|
99 class_declaration_statement: T_INTERFACE interface_decl_name $@13 interface_extends_list '{' class_statement_list '}' .
|
|
|
|
$default reduce using rule 99 (class_declaration_statement)
|
|
|
|
|
|
state 954
|
|
|
|
616 assignment_list: assignment_list . ','
|
|
617 | assignment_list . ',' variable
|
|
618 | assignment_list . ',' T_LIST '(' assignment_list ')'
|
|
618 | assignment_list ',' T_LIST '(' assignment_list . ')'
|
|
|
|
',' shift, and go to state 599
|
|
')' shift, and go to state 1036
|
|
|
|
|
|
state 955
|
|
|
|
628 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 164
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 165
|
|
'$' shift, and go to state 89
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 166
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 167
|
|
static_class_name go to state 168
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 1037
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
|
|
|
|
state 956
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
624 non_empty_array_pair_list: non_empty_array_pair_list ',' expr T_DOUBLE_ARROW expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 624 (non_empty_array_pair_list)
|
|
|
|
|
|
state 957
|
|
|
|
652 encaps_var: T_DOLLAR_OPEN_CURLY_BRACES T_STRING_VARNAME '[' expr ']' '}' .
|
|
|
|
$default reduce using rule 652 (encaps_var)
|
|
|
|
|
|
state 958
|
|
|
|
258 class_constant_declaration: T_CONST sm_name_with_type . '=' static_scalar
|
|
|
|
'=' shift, and go to state 1038
|
|
|
|
|
|
state 959
|
|
|
|
122 trait_list: trait_list . ',' fully_qualified_class_name
|
|
195 class_statement: T_USE trait_list . ';'
|
|
196 | T_USE trait_list . '{' trait_rules '}'
|
|
|
|
',' shift, and go to state 1039
|
|
';' shift, and go to state 1040
|
|
'{' shift, and go to state 1041
|
|
|
|
|
|
state 960
|
|
|
|
121 trait_list: fully_qualified_class_name .
|
|
|
|
$default reduce using rule 121 (trait_list)
|
|
|
|
|
|
state 961
|
|
|
|
211 xhp_attribute_decl_type: T_VAR .
|
|
|
|
$default reduce using rule 211 (xhp_attribute_decl_type)
|
|
|
|
|
|
state 962
|
|
|
|
209 xhp_attribute_decl_type: T_ARRAY .
|
|
|
|
$default reduce using rule 209 (xhp_attribute_decl_type)
|
|
|
|
|
|
state 963
|
|
|
|
208 xhp_attribute_decl: T_XHP_LABEL .
|
|
463 fully_qualified_class_name: T_XHP_LABEL .
|
|
|
|
',' reduce using rule 208 (xhp_attribute_decl)
|
|
';' reduce using rule 208 (xhp_attribute_decl)
|
|
$default reduce using rule 463 (fully_qualified_class_name)
|
|
|
|
|
|
state 964
|
|
|
|
22 ident: T_XHP_ENUM .
|
|
212 xhp_attribute_decl_type: T_XHP_ENUM . '{' xhp_attribute_enum '}'
|
|
|
|
'{' shift, and go to state 1042
|
|
|
|
$default reduce using rule 22 (ident)
|
|
|
|
|
|
state 965
|
|
|
|
192 class_statement: T_XHP_ATTRIBUTE xhp_attribute_stmt . ';'
|
|
206 xhp_attribute_stmt: xhp_attribute_stmt . ',' xhp_attribute_decl
|
|
|
|
',' shift, and go to state 1043
|
|
';' shift, and go to state 1044
|
|
|
|
|
|
state 966
|
|
|
|
205 xhp_attribute_stmt: xhp_attribute_decl .
|
|
|
|
$default reduce using rule 205 (xhp_attribute_stmt)
|
|
|
|
|
|
state 967
|
|
|
|
207 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 1045
|
|
T_REQUIRE shift, and go to state 1046
|
|
T_EVAL shift, and go to state 1047
|
|
T_INCLUDE_ONCE shift, and go to state 1048
|
|
T_INCLUDE shift, and go to state 1049
|
|
T_LOGICAL_OR shift, and go to state 1050
|
|
T_LOGICAL_XOR shift, and go to state 1051
|
|
T_LOGICAL_AND shift, and go to state 1052
|
|
T_PRINT shift, and go to state 1053
|
|
T_INSTANCEOF shift, and go to state 1054
|
|
T_CLONE shift, and go to state 1055
|
|
T_NEW shift, and go to state 1056
|
|
T_EXIT shift, and go to state 1057
|
|
T_IF shift, and go to state 1058
|
|
T_ELSEIF shift, and go to state 1059
|
|
T_ELSE shift, and go to state 1060
|
|
T_ENDIF shift, and go to state 1061
|
|
T_STRING shift, and go to state 31
|
|
T_ECHO shift, and go to state 1062
|
|
T_DO shift, and go to state 1063
|
|
T_WHILE shift, and go to state 1064
|
|
T_ENDWHILE shift, and go to state 1065
|
|
T_FOR shift, and go to state 1066
|
|
T_ENDFOR shift, and go to state 1067
|
|
T_FOREACH shift, and go to state 1068
|
|
T_ENDFOREACH shift, and go to state 1069
|
|
T_DECLARE shift, and go to state 1070
|
|
T_ENDDECLARE shift, and go to state 1071
|
|
T_AS shift, and go to state 1072
|
|
T_SWITCH shift, and go to state 1073
|
|
T_ENDSWITCH shift, and go to state 1074
|
|
T_CASE shift, and go to state 1075
|
|
T_DEFAULT shift, and go to state 1076
|
|
T_BREAK shift, and go to state 1077
|
|
T_GOTO shift, and go to state 1078
|
|
T_CONTINUE shift, and go to state 1079
|
|
T_FUNCTION shift, and go to state 1080
|
|
T_CONST shift, and go to state 1081
|
|
T_RETURN shift, and go to state 1082
|
|
T_TRY shift, and go to state 1083
|
|
T_CATCH shift, and go to state 1084
|
|
T_THROW shift, and go to state 1085
|
|
T_USE shift, and go to state 1086
|
|
T_GLOBAL shift, and go to state 1087
|
|
T_PUBLIC shift, and go to state 1088
|
|
T_PROTECTED shift, and go to state 1089
|
|
T_PRIVATE shift, and go to state 1090
|
|
T_FINAL shift, and go to state 1091
|
|
T_ABSTRACT shift, and go to state 1092
|
|
T_STATIC shift, and go to state 1093
|
|
T_VAR shift, and go to state 1094
|
|
T_UNSET shift, and go to state 1095
|
|
T_ISSET shift, and go to state 1096
|
|
T_EMPTY shift, and go to state 1097
|
|
T_HALT_COMPILER shift, and go to state 1098
|
|
T_CLASS shift, and go to state 1099
|
|
T_INTERFACE shift, and go to state 1100
|
|
T_EXTENDS shift, and go to state 1101
|
|
T_IMPLEMENTS shift, and go to state 1102
|
|
T_LIST shift, and go to state 1103
|
|
T_ARRAY shift, and go to state 1104
|
|
T_CLASS_C shift, and go to state 1105
|
|
T_METHOD_C shift, and go to state 1106
|
|
T_FUNC_C shift, and go to state 1107
|
|
T_LINE shift, and go to state 1108
|
|
T_FILE shift, and go to state 1109
|
|
T_NAMESPACE shift, and go to state 1110
|
|
T_NS_C shift, and go to state 1111
|
|
T_DIR shift, and go to state 1112
|
|
T_YIELD shift, and go to state 1113
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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 1114
|
|
T_TRAIT_C shift, and go to state 1115
|
|
T_FINALLY shift, and go to state 1116
|
|
T_TYPE shift, and go to state 1117
|
|
|
|
ident go to state 1118
|
|
xhp_label_ws go to state 1119
|
|
xhp_bareword go to state 1120
|
|
|
|
|
|
state 968
|
|
|
|
210 xhp_attribute_decl_type: fully_qualified_class_name .
|
|
|
|
$default reduce using rule 210 (xhp_attribute_decl_type)
|
|
|
|
|
|
state 969
|
|
|
|
221 xhp_category_decl: T_XHP_CATEGORY_LABEL .
|
|
|
|
$default reduce using rule 221 (xhp_category_decl)
|
|
|
|
|
|
state 970
|
|
|
|
193 class_statement: T_XHP_CATEGORY xhp_category_stmt . ';'
|
|
220 xhp_category_stmt: xhp_category_stmt . ',' xhp_category_decl
|
|
|
|
',' shift, and go to state 1121
|
|
';' shift, and go to state 1122
|
|
|
|
|
|
state 971
|
|
|
|
219 xhp_category_stmt: xhp_category_decl .
|
|
|
|
$default reduce using rule 219 (xhp_category_stmt)
|
|
|
|
|
|
state 972
|
|
|
|
224 xhp_children_stmt: T_EMPTY .
|
|
|
|
$default reduce using rule 224 (xhp_children_stmt)
|
|
|
|
|
|
state 973
|
|
|
|
225 xhp_children_paren_expr: '(' . xhp_children_decl_expr ')'
|
|
226 | '(' . xhp_children_decl_expr ')' '*'
|
|
227 | '(' . xhp_children_decl_expr ')' '?'
|
|
228 | '(' . xhp_children_decl_expr ')' '+'
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_XHP_LABEL shift, and go to state 1123
|
|
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 1124
|
|
T_XHP_CHILDREN 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 973
|
|
|
|
ident go to state 1125
|
|
xhp_children_paren_expr go to state 1126
|
|
xhp_children_decl_expr go to state 1127
|
|
xhp_children_decl_tag go to state 1128
|
|
|
|
|
|
state 974
|
|
|
|
223 xhp_children_stmt: ident .
|
|
|
|
$default reduce using rule 223 (xhp_children_stmt)
|
|
|
|
|
|
state 975
|
|
|
|
194 class_statement: T_XHP_CHILDREN xhp_children_stmt . ';'
|
|
|
|
';' shift, and go to state 1129
|
|
|
|
|
|
state 976
|
|
|
|
222 xhp_children_stmt: xhp_children_paren_expr .
|
|
|
|
$default reduce using rule 222 (xhp_children_stmt)
|
|
|
|
|
|
state 977
|
|
|
|
184 class_statement: variable_modifiers $@17 . class_variable_declaration ';'
|
|
|
|
T_VARIABLE shift, and go to state 1130
|
|
|
|
class_variable_declaration go to state 1131
|
|
|
|
|
|
state 978
|
|
|
|
189 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 273
|
|
|
|
$default reduce using rule 88 (is_reference)
|
|
|
|
is_reference go to state 1132
|
|
|
|
|
|
state 979
|
|
|
|
246 non_empty_member_modifiers: non_empty_member_modifiers member_modifier .
|
|
|
|
$default reduce using rule 246 (non_empty_member_modifiers)
|
|
|
|
|
|
state 980
|
|
|
|
186 class_statement: non_empty_member_modifiers sm_type . $@18 class_variable_declaration ';'
|
|
|
|
$default reduce using rule 185 ($@18)
|
|
|
|
$@18 go to state 1133
|
|
|
|
|
|
state 981
|
|
|
|
257 class_constant_declaration: class_constant_declaration ',' . sm_name_with_type '=' static_scalar
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
ident go to state 206
|
|
sm_name_with_type go to state 1134
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 209
|
|
|
|
|
|
state 982
|
|
|
|
187 class_statement: class_constant_declaration ';' .
|
|
|
|
$default reduce using rule 187 (class_statement)
|
|
|
|
|
|
state 983
|
|
|
|
191 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 1135
|
|
|
|
|
|
state 984
|
|
|
|
243 method_modifiers: non_empty_member_modifiers .
|
|
246 non_empty_member_modifiers: non_empty_member_modifiers . member_modifier
|
|
|
|
T_PUBLIC shift, and go to state 857
|
|
T_PROTECTED shift, and go to state 858
|
|
T_PRIVATE shift, and go to state 859
|
|
T_FINAL shift, and go to state 860
|
|
T_ABSTRACT shift, and go to state 861
|
|
T_STATIC shift, and go to state 862
|
|
|
|
$default reduce using rule 243 (method_modifiers)
|
|
|
|
member_modifier go to state 979
|
|
|
|
|
|
state 985
|
|
|
|
371 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 1136
|
|
|
|
$default reduce using rule 372 (xhp_opt_end_label)
|
|
|
|
xhp_opt_end_label go to state 1137
|
|
|
|
|
|
state 986
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
382 xhp_child: '{' expr . '}'
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
'}' shift, and go to state 1138
|
|
|
|
|
|
state 987
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
380 xhp_attribute_value: '{' expr . '}'
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
'}' shift, and go to state 1139
|
|
|
|
|
|
state 988
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
346 non_empty_shape_pair_list: non_empty_shape_pair_list ',' T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 346 (non_empty_shape_pair_list)
|
|
|
|
|
|
state 989
|
|
|
|
558 property_access_without_variables: T_OBJECT_OPERATOR '{' expr '}' .
|
|
591 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR '{' expr '}' . '(' function_call_parameter_list ')'
|
|
|
|
'(' shift, and go to state 1140
|
|
|
|
$default reduce using rule 558 (property_access_without_variables)
|
|
|
|
|
|
state 990
|
|
|
|
589 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 456
|
|
'+' 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 167 (function_call_parameter_list)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
function_call_parameter_list go to state 1141
|
|
non_empty_fcall_parameter_list go to state 458
|
|
new_expr go to state 107
|
|
expr go to state 459
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 991
|
|
|
|
590 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 1142
|
|
|
|
|
|
state 992
|
|
|
|
681 sm_opt_return_type: ':' . sm_type
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
ident go to state 379
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 1143
|
|
|
|
|
|
state 993
|
|
|
|
340 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 1144
|
|
|
|
$default reduce using rule 364 (lexical_vars)
|
|
|
|
lexical_vars go to state 1145
|
|
|
|
|
|
state 994
|
|
|
|
154 parameter_list: non_empty_parameter_list ',' T_VARARG .
|
|
|
|
$default reduce using rule 154 (parameter_list)
|
|
|
|
|
|
state 995
|
|
|
|
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
|
|
164 | non_empty_parameter_list ',' optional_user_attributes . sm_type_opt '&' T_VARIABLE '=' static_scalar
|
|
165 | non_empty_parameter_list ',' optional_user_attributes . sm_type_opt T_VARIABLE '=' static_scalar
|
|
|
|
'?' shift, and go to state 200
|
|
'@' shift, and go to state 201
|
|
T_STRING shift, and go to state 31
|
|
T_ARRAY shift, and go to state 202
|
|
T_XHP_LABEL shift, and go to state 203
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 204
|
|
'(' shift, and go to state 205
|
|
|
|
$default reduce using rule 705 (sm_type_opt)
|
|
|
|
ident go to state 379
|
|
sm_shape_type go to state 208
|
|
sm_type go to state 891
|
|
sm_type_opt go to state 1146
|
|
|
|
|
|
state 996
|
|
|
|
159 non_empty_parameter_list: optional_user_attributes sm_type_opt '&' . T_VARIABLE
|
|
160 | optional_user_attributes sm_type_opt '&' . T_VARIABLE '=' static_scalar
|
|
|
|
T_VARIABLE shift, and go to state 1147
|
|
|
|
|
|
state 997
|
|
|
|
158 non_empty_parameter_list: optional_user_attributes sm_type_opt T_VARIABLE .
|
|
161 | optional_user_attributes sm_type_opt T_VARIABLE . '=' static_scalar
|
|
|
|
'=' shift, and go to state 1148
|
|
|
|
$default reduce using rule 158 (non_empty_parameter_list)
|
|
|
|
|
|
state 998
|
|
|
|
91 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 992
|
|
|
|
$default reduce using rule 680 (sm_opt_return_type)
|
|
|
|
sm_opt_return_type go to state 1149
|
|
|
|
|
|
state 999
|
|
|
|
95 class_declaration_statement: class_entry_type class_decl_name $@11 extends_from implements_list '{' class_statement_list . '}'
|
|
181 class_statement_list: class_statement_list . class_statement
|
|
|
|
T_SL shift, and go to state 10
|
|
T_CONST shift, and go to state 855
|
|
T_USE shift, and go to state 856
|
|
T_PUBLIC shift, and go to state 857
|
|
T_PROTECTED shift, and go to state 858
|
|
T_PRIVATE shift, and go to state 859
|
|
T_FINAL shift, and go to state 860
|
|
T_ABSTRACT shift, and go to state 861
|
|
T_STATIC shift, and go to state 862
|
|
T_VAR shift, and go to state 863
|
|
T_XHP_ATTRIBUTE shift, and go to state 864
|
|
T_XHP_CATEGORY shift, and go to state 865
|
|
T_XHP_CHILDREN shift, and go to state 866
|
|
'}' shift, and go to state 1150
|
|
|
|
$default reduce using rule 244 (method_modifiers)
|
|
|
|
class_statement go to state 868
|
|
variable_modifiers go to state 869
|
|
method_modifiers go to state 870
|
|
non_empty_member_modifiers go to state 871
|
|
member_modifier go to state 872
|
|
class_constant_declaration go to state 873
|
|
non_empty_user_attributes go to state 874
|
|
|
|
|
|
state 1000
|
|
|
|
292 expr_no_variable: expr . T_BOOLEAN_OR expr
|
|
293 | expr . T_BOOLEAN_AND expr
|
|
294 | expr . T_LOGICAL_OR expr
|
|
295 | expr . T_LOGICAL_AND expr
|
|
296 | expr . T_LOGICAL_XOR expr
|
|
297 | expr . '|' expr
|
|
298 | expr . '&' expr
|
|
299 | expr . '^' expr
|
|
300 | expr . '.' expr
|
|
301 | expr . '+' expr
|
|
302 | expr . '-' expr
|
|
303 | expr . '*' expr
|
|
304 | expr . '/' expr
|
|
305 | expr . '%' expr
|
|
306 | expr . T_SL expr
|
|
307 | expr . T_SR expr
|
|
312 | expr . T_IS_IDENTICAL expr
|
|
313 | expr . T_IS_NOT_IDENTICAL expr
|
|
314 | expr . T_IS_EQUAL expr
|
|
315 | expr . T_IS_NOT_EQUAL expr
|
|
316 | expr . '<' expr
|
|
317 | expr . T_IS_SMALLER_OR_EQUAL expr
|
|
318 | expr . '>' expr
|
|
319 | expr . T_IS_GREATER_OR_EQUAL expr
|
|
320 | expr . T_INSTANCEOF class_name_reference
|
|
322 | expr . '?' expr ':' expr
|
|
323 | expr . '?' ':' expr
|
|
634 non_empty_collection_init: non_empty_collection_init ',' expr T_DOUBLE_ARROW expr .
|
|
|
|
T_LOGICAL_OR shift, and go to state 281
|
|
T_LOGICAL_XOR shift, and go to state 282
|
|
T_LOGICAL_AND shift, and go to state 283
|
|
'?' shift, and go to state 284
|
|
T_BOOLEAN_OR shift, and go to state 285
|
|
T_BOOLEAN_AND shift, and go to state 286
|
|
'|' shift, and go to state 287
|
|
'^' shift, and go to state 288
|
|
'&' shift, and go to state 289
|
|
T_IS_NOT_IDENTICAL shift, and go to state 290
|
|
T_IS_IDENTICAL shift, and go to state 291
|
|
T_IS_NOT_EQUAL shift, and go to state 292
|
|
T_IS_EQUAL shift, and go to state 293
|
|
'<' shift, and go to state 294
|
|
'>' shift, and go to state 295
|
|
T_IS_GREATER_OR_EQUAL shift, and go to state 296
|
|
T_IS_SMALLER_OR_EQUAL shift, and go to state 297
|
|
T_SR shift, and go to state 298
|
|
T_SL shift, and go to state 299
|
|
'+' shift, and go to state 300
|
|
'-' shift, and go to state 301
|
|
'.' shift, and go to state 302
|
|
'*' shift, and go to state 303
|
|
'/' shift, and go to state 304
|
|
'%' shift, and go to state 305
|
|
T_INSTANCEOF shift, and go to state 306
|
|
|
|
$default reduce using rule 634 (non_empty_collection_init)
|
|
|
|
|
|
state 1001
|
|
|
|
592 class_method_call: static_class_name T_PAAMAYIM_NEKUDOTAYIM ident sm_typeargs_opt '(' function_call_parameter_list ')' .
|
|
|
|
$default reduce using rule 592 (class_method_call)
|
|
|
|
|
|
state 1002
|
|
|
|
101 class_declaration_statement: non_empty_user_attributes T_INTERFACE interface_decl_name $@14 interface_extends_list '{' class_statement_list . '}'
|
|
181 class_statement_list: class_statement_list . class_statement
|
|
|
|
T_SL shift, and go to state 10
|
|
T_CONST shift, and go to state 855
|
|
T_USE shift, and go to state 856
|
|
T_PUBLIC shift, and go to state 857
|
|
T_PROTECTED shift, and go to state 858
|
|
T_PRIVATE shift, and go to state 859
|
|
T_FINAL shift, and go to state 860
|
|
T_ABSTRACT shift, and go to state 861
|
|
T_STATIC shift, and go to state 862
|
|
T_VAR shift, and go to state 863
|
|
T_XHP_ATTRIBUTE shift, and go to state 864
|
|
T_XHP_CATEGORY shift, and go to state 865
|
|
T_XHP_CHILDREN shift, and go to state 866
|
|
'}' shift, and go to state 1151
|
|
|
|
$default reduce using rule 244 (method_modifiers)
|
|
|
|
class_statement go to state 868
|
|
variable_modifiers go to state 869
|
|
method_modifiers go to state 870
|
|
non_empty_member_modifiers go to state 871
|
|
member_modifier go to state 872
|
|
class_constant_declaration go to state 873
|
|
non_empty_user_attributes go to state 874
|
|
|
|
|
|
state 1003
|
|
|
|
105 trait_declaration_statement: non_empty_user_attributes T_TRAIT trait_decl_name $@16 '{' class_statement_list '}' .
|
|
|
|
$default reduce using rule 105 (trait_declaration_statement)
|
|
|
|
|
|
state 1004
|
|
|
|
93 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 1152
|
|
|
|
|
|
state 1005
|
|
|
|
97 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 182 (class_statement_list)
|
|
|
|
class_statement_list go to state 1153
|
|
|
|
|
|
state 1006
|
|
|
|
588 object_method_call: variable T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 1154
|
|
|
|
|
|
state 1007
|
|
|
|
586 object_method_call: variable T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')' .
|
|
|
|
$default reduce using rule 586 (object_method_call)
|
|
|
|
|
|
state 1008
|
|
|
|
536 non_empty_static_array_pair_list_ae: static_scalar_ae T_DOUBLE_ARROW . static_scalar_ae
|
|
|
|
'+' shift, and go to state 668
|
|
'-' shift, and go to state 669
|
|
T_LNUMBER shift, and go to state 670
|
|
T_DNUMBER shift, and go to state 671
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 672
|
|
T_ARRAY shift, and go to state 673
|
|
T_START_HEREDOC shift, and go to state 674
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 675
|
|
|
|
ident go to state 676
|
|
common_scalar_ae go to state 677
|
|
static_scalar_ae go to state 1155
|
|
|
|
|
|
state 1009
|
|
|
|
530 static_scalar_ae: T_ARRAY '(' static_array_pair_list_ae ')' .
|
|
|
|
$default reduce using rule 530 (static_scalar_ae)
|
|
|
|
|
|
state 1010
|
|
|
|
510 possible_comma: ',' .
|
|
534 non_empty_static_array_pair_list_ae: non_empty_static_array_pair_list_ae ',' . static_scalar_ae T_DOUBLE_ARROW static_scalar_ae
|
|
535 | non_empty_static_array_pair_list_ae ',' . static_scalar_ae
|
|
|
|
'+' shift, and go to state 668
|
|
'-' shift, and go to state 669
|
|
T_LNUMBER shift, and go to state 670
|
|
T_DNUMBER shift, and go to state 671
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 672
|
|
T_ARRAY shift, and go to state 673
|
|
T_START_HEREDOC shift, and go to state 674
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 675
|
|
|
|
$default reduce using rule 510 (possible_comma)
|
|
|
|
ident go to state 676
|
|
common_scalar_ae go to state 677
|
|
static_scalar_ae go to state 1156
|
|
|
|
|
|
state 1011
|
|
|
|
532 static_array_pair_list_ae: non_empty_static_array_pair_list_ae possible_comma .
|
|
|
|
$default reduce using rule 532 (static_array_pair_list_ae)
|
|
|
|
|
|
state 1012
|
|
|
|
543 non_empty_static_shape_pair_list_ae: T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW . static_scalar_ae
|
|
|
|
'+' shift, and go to state 668
|
|
'-' shift, and go to state 669
|
|
T_LNUMBER shift, and go to state 670
|
|
T_DNUMBER shift, and go to state 671
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 672
|
|
T_ARRAY shift, and go to state 673
|
|
T_START_HEREDOC shift, and go to state 674
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 675
|
|
|
|
ident go to state 676
|
|
common_scalar_ae go to state 677
|
|
static_scalar_ae go to state 1157
|
|
|
|
|
|
state 1013
|
|
|
|
531 static_scalar_ae: T_SHAPE '(' static_shape_pair_list_ae ')' .
|
|
|
|
$default reduce using rule 531 (static_scalar_ae)
|
|
|
|
|
|
state 1014
|
|
|
|
510 possible_comma: ',' .
|
|
542 non_empty_static_shape_pair_list_ae: non_empty_static_shape_pair_list_ae ',' . T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW static_scalar_ae
|
|
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 1158
|
|
|
|
$default reduce using rule 510 (possible_comma)
|
|
|
|
|
|
state 1015
|
|
|
|
540 static_shape_pair_list_ae: non_empty_static_shape_pair_list_ae possible_comma .
|
|
|
|
$default reduce using rule 540 (static_shape_pair_list_ae)
|
|
|
|
|
|
state 1016
|
|
|
|
148 new_elseif_list: new_elseif_list T_ELSEIF parenthesis_expr ':' . inner_statement_list
|
|
|
|
$default reduce using rule 40 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1159
|
|
|
|
|
|
state 1017
|
|
|
|
39 inner_statement_list: inner_statement_list . inner_statement
|
|
152 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' 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
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 152 (new_else_single)
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
inner_statement go to state 445
|
|
statement go to state 446
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 447
|
|
class_declaration_statement go to state 448
|
|
trait_declaration_statement go to state 449
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 1018
|
|
|
|
47 statement: T_IF parenthesis_expr ':' inner_statement_list new_elseif_list new_else_single T_ENDIF ';' .
|
|
|
|
$default reduce using rule 47 (statement)
|
|
|
|
|
|
state 1019
|
|
|
|
53 statement: T_FOR '(' for_expr ';' for_expr ';' for_expr ')' . $@5 for_statement
|
|
|
|
$default reduce using rule 52 ($@5)
|
|
|
|
$@5 go to state 1160
|
|
|
|
|
|
state 1020
|
|
|
|
70 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 1161
|
|
'+' 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' 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
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
statement go to state 1162
|
|
function_loc go to state 142
|
|
foreach_statement go to state 1163
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 1021
|
|
|
|
134 declare_statement: ':' inner_statement_list T_ENDDECLARE ';' .
|
|
|
|
$default reduce using rule 134 (declare_statement)
|
|
|
|
|
|
state 1022
|
|
|
|
140 switch_case_list: ':' ';' case_list T_ENDSWITCH ';' .
|
|
|
|
$default reduce using rule 140 (switch_case_list)
|
|
|
|
|
|
state 1023
|
|
|
|
141 case_list: case_list T_CASE expr case_separator . inner_statement_list
|
|
|
|
$default reduce using rule 40 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1164
|
|
|
|
|
|
state 1024
|
|
|
|
39 inner_statement_list: inner_statement_list . inner_statement
|
|
142 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' 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
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 142 (case_list)
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
inner_statement go to state 445
|
|
statement go to state 446
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 447
|
|
class_declaration_statement go to state 448
|
|
trait_declaration_statement go to state 449
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 1025
|
|
|
|
702 sm_type: '(' T_FUNCTION '(' sm_func_type_list ')' ':' sm_type . ')'
|
|
|
|
')' shift, and go to state 1165
|
|
|
|
|
|
state 1026
|
|
|
|
516 non_empty_static_array_pair_list: static_scalar T_DOUBLE_ARROW static_scalar .
|
|
|
|
$default reduce using rule 516 (non_empty_static_array_pair_list)
|
|
|
|
|
|
state 1027
|
|
|
|
514 non_empty_static_array_pair_list: non_empty_static_array_pair_list ',' static_scalar . T_DOUBLE_ARROW static_scalar
|
|
515 | non_empty_static_array_pair_list ',' static_scalar .
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 1166
|
|
|
|
$default reduce using rule 515 (non_empty_static_array_pair_list)
|
|
|
|
|
|
state 1028
|
|
|
|
349 non_empty_static_shape_pair_list: T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW static_scalar .
|
|
|
|
$default reduce using rule 349 (non_empty_static_shape_pair_list)
|
|
|
|
|
|
state 1029
|
|
|
|
348 non_empty_static_shape_pair_list: non_empty_static_shape_pair_list ',' T_CONSTANT_ENCAPSED_STRING . T_DOUBLE_ARROW static_scalar
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 1167
|
|
|
|
|
|
state 1030
|
|
|
|
642 non_empty_static_collection_init: static_scalar T_DOUBLE_ARROW static_scalar .
|
|
|
|
$default reduce using rule 642 (non_empty_static_collection_init)
|
|
|
|
|
|
state 1031
|
|
|
|
640 non_empty_static_collection_init: non_empty_static_collection_init ',' static_scalar . T_DOUBLE_ARROW static_scalar
|
|
641 | non_empty_static_collection_init ',' static_scalar .
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 1168
|
|
|
|
$default reduce using rule 641 (non_empty_static_collection_init)
|
|
|
|
|
|
state 1032
|
|
|
|
72 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 1169
|
|
|
|
|
|
state 1033
|
|
|
|
39 inner_statement_list: inner_statement_list . inner_statement
|
|
84 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
';' shift, and go to state 87
|
|
'{' shift, and go to state 88
|
|
'}' shift, and go to state 1170
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
inner_statement go to state 445
|
|
statement go to state 446
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 447
|
|
class_declaration_statement go to state 448
|
|
trait_declaration_statement go to state 449
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 1034
|
|
|
|
342 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 1144
|
|
|
|
$default reduce using rule 364 (lexical_vars)
|
|
|
|
lexical_vars go to state 1171
|
|
|
|
|
|
state 1035
|
|
|
|
685 sm_typevar_list: ident T_AS ident ',' sm_typevar_list .
|
|
|
|
$default reduce using rule 685 (sm_typevar_list)
|
|
|
|
|
|
state 1036
|
|
|
|
618 assignment_list: assignment_list ',' T_LIST '(' assignment_list ')' .
|
|
|
|
$default reduce using rule 618 (assignment_list)
|
|
|
|
|
|
state 1037
|
|
|
|
570 variable: variable . property_access
|
|
579 dimmable_variable: variable . property_access_without_variables
|
|
586 object_method_call: variable . T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')'
|
|
587 | variable . T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')'
|
|
588 | variable . T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')'
|
|
628 non_empty_array_pair_list: non_empty_array_pair_list ',' expr T_DOUBLE_ARROW '&' variable .
|
|
|
|
T_OBJECT_OPERATOR shift, and go to state 330
|
|
|
|
$default reduce using rule 628 (non_empty_array_pair_list)
|
|
|
|
property_access go to state 331
|
|
property_access_without_variables go to state 332
|
|
|
|
|
|
state 1038
|
|
|
|
258 class_constant_declaration: T_CONST sm_name_with_type '=' . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 1172
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 1039
|
|
|
|
122 trait_list: trait_list ',' . fully_qualified_class_name
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 174
|
|
class_namespace_string_typeargs go to state 99
|
|
fully_qualified_class_name go to state 1173
|
|
|
|
|
|
state 1040
|
|
|
|
195 class_statement: T_USE trait_list ';' .
|
|
|
|
$default reduce using rule 195 (class_statement)
|
|
|
|
|
|
state 1041
|
|
|
|
196 class_statement: T_USE trait_list '{' . trait_rules '}'
|
|
|
|
$default reduce using rule 199 (trait_rules)
|
|
|
|
trait_rules go to state 1174
|
|
|
|
|
|
state 1042
|
|
|
|
212 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 569
|
|
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 1175
|
|
common_scalar go to state 1176
|
|
|
|
|
|
state 1043
|
|
|
|
206 xhp_attribute_stmt: xhp_attribute_stmt ',' . xhp_attribute_decl
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_VAR shift, and go to state 961
|
|
T_ARRAY shift, and go to state 962
|
|
T_NAMESPACE shift, and go to state 140
|
|
T_NS_SEPARATOR shift, and go to state 73
|
|
T_XHP_LABEL shift, and go to state 963
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN shift, and go to state 78
|
|
T_XHP_ENUM shift, and go to state 964
|
|
T_XHP_REQUIRED shift, and go to state 80
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 174
|
|
class_namespace_string_typeargs go to state 99
|
|
xhp_attribute_decl go to state 1177
|
|
xhp_attribute_decl_type go to state 967
|
|
fully_qualified_class_name go to state 968
|
|
|
|
|
|
state 1044
|
|
|
|
192 class_statement: T_XHP_ATTRIBUTE xhp_attribute_stmt ';' .
|
|
|
|
$default reduce using rule 192 (class_statement)
|
|
|
|
|
|
state 1045
|
|
|
|
432 xhp_bareword: T_REQUIRE_ONCE .
|
|
|
|
$default reduce using rule 432 (xhp_bareword)
|
|
|
|
|
|
state 1046
|
|
|
|
431 xhp_bareword: T_REQUIRE .
|
|
|
|
$default reduce using rule 431 (xhp_bareword)
|
|
|
|
|
|
state 1047
|
|
|
|
428 xhp_bareword: T_EVAL .
|
|
|
|
$default reduce using rule 428 (xhp_bareword)
|
|
|
|
|
|
state 1048
|
|
|
|
430 xhp_bareword: T_INCLUDE_ONCE .
|
|
|
|
$default reduce using rule 430 (xhp_bareword)
|
|
|
|
|
|
state 1049
|
|
|
|
429 xhp_bareword: T_INCLUDE .
|
|
|
|
$default reduce using rule 429 (xhp_bareword)
|
|
|
|
|
|
state 1050
|
|
|
|
448 xhp_bareword: T_LOGICAL_OR .
|
|
|
|
$default reduce using rule 448 (xhp_bareword)
|
|
|
|
|
|
state 1051
|
|
|
|
450 xhp_bareword: T_LOGICAL_XOR .
|
|
|
|
$default reduce using rule 450 (xhp_bareword)
|
|
|
|
|
|
state 1052
|
|
|
|
449 xhp_bareword: T_LOGICAL_AND .
|
|
|
|
$default reduce using rule 449 (xhp_bareword)
|
|
|
|
|
|
state 1053
|
|
|
|
420 xhp_bareword: T_PRINT .
|
|
|
|
$default reduce using rule 420 (xhp_bareword)
|
|
|
|
|
|
state 1054
|
|
|
|
410 xhp_bareword: T_INSTANCEOF .
|
|
|
|
$default reduce using rule 410 (xhp_bareword)
|
|
|
|
|
|
state 1055
|
|
|
|
426 xhp_bareword: T_CLONE .
|
|
|
|
$default reduce using rule 426 (xhp_bareword)
|
|
|
|
|
|
state 1056
|
|
|
|
425 xhp_bareword: T_NEW .
|
|
|
|
$default reduce using rule 425 (xhp_bareword)
|
|
|
|
|
|
state 1057
|
|
|
|
388 xhp_bareword: T_EXIT .
|
|
|
|
$default reduce using rule 388 (xhp_bareword)
|
|
|
|
|
|
state 1058
|
|
|
|
397 xhp_bareword: T_IF .
|
|
|
|
$default reduce using rule 397 (xhp_bareword)
|
|
|
|
|
|
state 1059
|
|
|
|
398 xhp_bareword: T_ELSEIF .
|
|
|
|
$default reduce using rule 398 (xhp_bareword)
|
|
|
|
|
|
state 1060
|
|
|
|
400 xhp_bareword: T_ELSE .
|
|
|
|
$default reduce using rule 400 (xhp_bareword)
|
|
|
|
|
|
state 1061
|
|
|
|
399 xhp_bareword: T_ENDIF .
|
|
|
|
$default reduce using rule 399 (xhp_bareword)
|
|
|
|
|
|
state 1062
|
|
|
|
419 xhp_bareword: T_ECHO .
|
|
|
|
$default reduce using rule 419 (xhp_bareword)
|
|
|
|
|
|
state 1063
|
|
|
|
403 xhp_bareword: T_DO .
|
|
|
|
$default reduce using rule 403 (xhp_bareword)
|
|
|
|
|
|
state 1064
|
|
|
|
401 xhp_bareword: T_WHILE .
|
|
|
|
$default reduce using rule 401 (xhp_bareword)
|
|
|
|
|
|
state 1065
|
|
|
|
402 xhp_bareword: T_ENDWHILE .
|
|
|
|
$default reduce using rule 402 (xhp_bareword)
|
|
|
|
|
|
state 1066
|
|
|
|
404 xhp_bareword: T_FOR .
|
|
|
|
$default reduce using rule 404 (xhp_bareword)
|
|
|
|
|
|
state 1067
|
|
|
|
405 xhp_bareword: T_ENDFOR .
|
|
|
|
$default reduce using rule 405 (xhp_bareword)
|
|
|
|
|
|
state 1068
|
|
|
|
406 xhp_bareword: T_FOREACH .
|
|
|
|
$default reduce using rule 406 (xhp_bareword)
|
|
|
|
|
|
state 1069
|
|
|
|
407 xhp_bareword: T_ENDFOREACH .
|
|
|
|
$default reduce using rule 407 (xhp_bareword)
|
|
|
|
|
|
state 1070
|
|
|
|
408 xhp_bareword: T_DECLARE .
|
|
|
|
$default reduce using rule 408 (xhp_bareword)
|
|
|
|
|
|
state 1071
|
|
|
|
409 xhp_bareword: T_ENDDECLARE .
|
|
|
|
$default reduce using rule 409 (xhp_bareword)
|
|
|
|
|
|
state 1072
|
|
|
|
411 xhp_bareword: T_AS .
|
|
|
|
$default reduce using rule 411 (xhp_bareword)
|
|
|
|
|
|
state 1073
|
|
|
|
412 xhp_bareword: T_SWITCH .
|
|
|
|
$default reduce using rule 412 (xhp_bareword)
|
|
|
|
|
|
state 1074
|
|
|
|
413 xhp_bareword: T_ENDSWITCH .
|
|
|
|
$default reduce using rule 413 (xhp_bareword)
|
|
|
|
|
|
state 1075
|
|
|
|
414 xhp_bareword: T_CASE .
|
|
|
|
$default reduce using rule 414 (xhp_bareword)
|
|
|
|
|
|
state 1076
|
|
|
|
415 xhp_bareword: T_DEFAULT .
|
|
|
|
$default reduce using rule 415 (xhp_bareword)
|
|
|
|
|
|
state 1077
|
|
|
|
416 xhp_bareword: T_BREAK .
|
|
|
|
$default reduce using rule 416 (xhp_bareword)
|
|
|
|
|
|
state 1078
|
|
|
|
418 xhp_bareword: T_GOTO .
|
|
|
|
$default reduce using rule 418 (xhp_bareword)
|
|
|
|
|
|
state 1079
|
|
|
|
417 xhp_bareword: T_CONTINUE .
|
|
|
|
$default reduce using rule 417 (xhp_bareword)
|
|
|
|
|
|
state 1080
|
|
|
|
389 xhp_bareword: T_FUNCTION .
|
|
|
|
$default reduce using rule 389 (xhp_bareword)
|
|
|
|
|
|
state 1081
|
|
|
|
390 xhp_bareword: T_CONST .
|
|
|
|
$default reduce using rule 390 (xhp_bareword)
|
|
|
|
|
|
state 1082
|
|
|
|
391 xhp_bareword: T_RETURN .
|
|
|
|
$default reduce using rule 391 (xhp_bareword)
|
|
|
|
|
|
state 1083
|
|
|
|
393 xhp_bareword: T_TRY .
|
|
|
|
$default reduce using rule 393 (xhp_bareword)
|
|
|
|
|
|
state 1084
|
|
|
|
394 xhp_bareword: T_CATCH .
|
|
|
|
$default reduce using rule 394 (xhp_bareword)
|
|
|
|
|
|
state 1085
|
|
|
|
396 xhp_bareword: T_THROW .
|
|
|
|
$default reduce using rule 396 (xhp_bareword)
|
|
|
|
|
|
state 1086
|
|
|
|
434 xhp_bareword: T_USE .
|
|
|
|
$default reduce using rule 434 (xhp_bareword)
|
|
|
|
|
|
state 1087
|
|
|
|
435 xhp_bareword: T_GLOBAL .
|
|
|
|
$default reduce using rule 435 (xhp_bareword)
|
|
|
|
|
|
state 1088
|
|
|
|
444 xhp_bareword: T_PUBLIC .
|
|
|
|
$default reduce using rule 444 (xhp_bareword)
|
|
|
|
|
|
state 1089
|
|
|
|
443 xhp_bareword: T_PROTECTED .
|
|
|
|
$default reduce using rule 443 (xhp_bareword)
|
|
|
|
|
|
state 1090
|
|
|
|
442 xhp_bareword: T_PRIVATE .
|
|
|
|
$default reduce using rule 442 (xhp_bareword)
|
|
|
|
|
|
state 1091
|
|
|
|
441 xhp_bareword: T_FINAL .
|
|
|
|
$default reduce using rule 441 (xhp_bareword)
|
|
|
|
|
|
state 1092
|
|
|
|
440 xhp_bareword: T_ABSTRACT .
|
|
|
|
$default reduce using rule 440 (xhp_bareword)
|
|
|
|
|
|
state 1093
|
|
|
|
439 xhp_bareword: T_STATIC .
|
|
|
|
$default reduce using rule 439 (xhp_bareword)
|
|
|
|
|
|
state 1094
|
|
|
|
427 xhp_bareword: T_VAR .
|
|
|
|
$default reduce using rule 427 (xhp_bareword)
|
|
|
|
|
|
state 1095
|
|
|
|
445 xhp_bareword: T_UNSET .
|
|
|
|
$default reduce using rule 445 (xhp_bareword)
|
|
|
|
|
|
state 1096
|
|
|
|
436 xhp_bareword: T_ISSET .
|
|
|
|
$default reduce using rule 436 (xhp_bareword)
|
|
|
|
|
|
state 1097
|
|
|
|
437 xhp_bareword: T_EMPTY .
|
|
|
|
$default reduce using rule 437 (xhp_bareword)
|
|
|
|
|
|
state 1098
|
|
|
|
438 xhp_bareword: T_HALT_COMPILER .
|
|
|
|
$default reduce using rule 438 (xhp_bareword)
|
|
|
|
|
|
state 1099
|
|
|
|
421 xhp_bareword: T_CLASS .
|
|
|
|
$default reduce using rule 421 (xhp_bareword)
|
|
|
|
|
|
state 1100
|
|
|
|
422 xhp_bareword: T_INTERFACE .
|
|
|
|
$default reduce using rule 422 (xhp_bareword)
|
|
|
|
|
|
state 1101
|
|
|
|
423 xhp_bareword: T_EXTENDS .
|
|
|
|
$default reduce using rule 423 (xhp_bareword)
|
|
|
|
|
|
state 1102
|
|
|
|
424 xhp_bareword: T_IMPLEMENTS .
|
|
|
|
$default reduce using rule 424 (xhp_bareword)
|
|
|
|
|
|
state 1103
|
|
|
|
446 xhp_bareword: T_LIST .
|
|
|
|
$default reduce using rule 446 (xhp_bareword)
|
|
|
|
|
|
state 1104
|
|
|
|
447 xhp_bareword: T_ARRAY .
|
|
|
|
$default reduce using rule 447 (xhp_bareword)
|
|
|
|
|
|
state 1105
|
|
|
|
451 xhp_bareword: T_CLASS_C .
|
|
|
|
$default reduce using rule 451 (xhp_bareword)
|
|
|
|
|
|
state 1106
|
|
|
|
453 xhp_bareword: T_METHOD_C .
|
|
|
|
$default reduce using rule 453 (xhp_bareword)
|
|
|
|
|
|
state 1107
|
|
|
|
452 xhp_bareword: T_FUNC_C .
|
|
|
|
$default reduce using rule 452 (xhp_bareword)
|
|
|
|
|
|
state 1108
|
|
|
|
454 xhp_bareword: T_LINE .
|
|
|
|
$default reduce using rule 454 (xhp_bareword)
|
|
|
|
|
|
state 1109
|
|
|
|
455 xhp_bareword: T_FILE .
|
|
|
|
$default reduce using rule 455 (xhp_bareword)
|
|
|
|
|
|
state 1110
|
|
|
|
433 xhp_bareword: T_NAMESPACE .
|
|
|
|
$default reduce using rule 433 (xhp_bareword)
|
|
|
|
|
|
state 1111
|
|
|
|
457 xhp_bareword: T_NS_C .
|
|
|
|
$default reduce using rule 457 (xhp_bareword)
|
|
|
|
|
|
state 1112
|
|
|
|
456 xhp_bareword: T_DIR .
|
|
|
|
$default reduce using rule 456 (xhp_bareword)
|
|
|
|
|
|
state 1113
|
|
|
|
392 xhp_bareword: T_YIELD .
|
|
|
|
$default reduce using rule 392 (xhp_bareword)
|
|
|
|
|
|
state 1114
|
|
|
|
458 xhp_bareword: T_TRAIT .
|
|
|
|
$default reduce using rule 458 (xhp_bareword)
|
|
|
|
|
|
state 1115
|
|
|
|
459 xhp_bareword: T_TRAIT_C .
|
|
|
|
$default reduce using rule 459 (xhp_bareword)
|
|
|
|
|
|
state 1116
|
|
|
|
395 xhp_bareword: T_FINALLY .
|
|
|
|
$default reduce using rule 395 (xhp_bareword)
|
|
|
|
|
|
state 1117
|
|
|
|
460 xhp_bareword: T_TYPE .
|
|
|
|
$default reduce using rule 460 (xhp_bareword)
|
|
|
|
|
|
state 1118
|
|
|
|
387 xhp_bareword: ident .
|
|
|
|
$default reduce using rule 387 (xhp_bareword)
|
|
|
|
|
|
state 1119
|
|
|
|
207 xhp_attribute_decl: xhp_attribute_decl_type xhp_label_ws . xhp_attribute_default xhp_attribute_is_required
|
|
385 xhp_label_ws: xhp_label_ws . ':' xhp_bareword
|
|
386 | xhp_label_ws . '-' xhp_bareword
|
|
|
|
'=' shift, and go to state 1178
|
|
':' shift, and go to state 1179
|
|
'-' shift, and go to state 1180
|
|
|
|
$default reduce using rule 216 (xhp_attribute_default)
|
|
|
|
xhp_attribute_default go to state 1181
|
|
|
|
|
|
state 1120
|
|
|
|
384 xhp_label_ws: xhp_bareword .
|
|
|
|
$default reduce using rule 384 (xhp_label_ws)
|
|
|
|
|
|
state 1121
|
|
|
|
220 xhp_category_stmt: xhp_category_stmt ',' . xhp_category_decl
|
|
|
|
T_XHP_CATEGORY_LABEL shift, and go to state 969
|
|
|
|
xhp_category_decl go to state 1182
|
|
|
|
|
|
state 1122
|
|
|
|
193 class_statement: T_XHP_CATEGORY xhp_category_stmt ';' .
|
|
|
|
$default reduce using rule 193 (class_statement)
|
|
|
|
|
|
state 1123
|
|
|
|
237 xhp_children_decl_tag: T_XHP_LABEL .
|
|
|
|
$default reduce using rule 237 (xhp_children_decl_tag)
|
|
|
|
|
|
state 1124
|
|
|
|
238 xhp_children_decl_tag: T_XHP_CATEGORY_LABEL .
|
|
|
|
$default reduce using rule 238 (xhp_children_decl_tag)
|
|
|
|
|
|
state 1125
|
|
|
|
236 xhp_children_decl_tag: ident .
|
|
|
|
$default reduce using rule 236 (xhp_children_decl_tag)
|
|
|
|
|
|
state 1126
|
|
|
|
229 xhp_children_decl_expr: xhp_children_paren_expr .
|
|
|
|
$default reduce using rule 229 (xhp_children_decl_expr)
|
|
|
|
|
|
state 1127
|
|
|
|
225 xhp_children_paren_expr: '(' xhp_children_decl_expr . ')'
|
|
226 | '(' xhp_children_decl_expr . ')' '*'
|
|
227 | '(' xhp_children_decl_expr . ')' '?'
|
|
228 | '(' xhp_children_decl_expr . ')' '+'
|
|
234 xhp_children_decl_expr: xhp_children_decl_expr . ',' xhp_children_decl_expr
|
|
235 | xhp_children_decl_expr . '|' xhp_children_decl_expr
|
|
|
|
',' shift, and go to state 1183
|
|
'|' shift, and go to state 1184
|
|
')' shift, and go to state 1185
|
|
|
|
|
|
state 1128
|
|
|
|
230 xhp_children_decl_expr: xhp_children_decl_tag .
|
|
231 | xhp_children_decl_tag . '*'
|
|
232 | xhp_children_decl_tag . '?'
|
|
233 | xhp_children_decl_tag . '+'
|
|
|
|
'?' shift, and go to state 1186
|
|
'+' shift, and go to state 1187
|
|
'*' shift, and go to state 1188
|
|
|
|
$default reduce using rule 230 (xhp_children_decl_expr)
|
|
|
|
|
|
state 1129
|
|
|
|
194 class_statement: T_XHP_CHILDREN xhp_children_stmt ';' .
|
|
|
|
$default reduce using rule 194 (class_statement)
|
|
|
|
|
|
state 1130
|
|
|
|
255 class_variable_declaration: T_VARIABLE .
|
|
256 | T_VARIABLE . '=' static_scalar
|
|
|
|
'=' shift, and go to state 1189
|
|
|
|
$default reduce using rule 255 (class_variable_declaration)
|
|
|
|
|
|
state 1131
|
|
|
|
184 class_statement: variable_modifiers $@17 class_variable_declaration . ';'
|
|
253 class_variable_declaration: class_variable_declaration . ',' T_VARIABLE
|
|
254 | class_variable_declaration . ',' T_VARIABLE '=' static_scalar
|
|
|
|
',' shift, and go to state 1190
|
|
';' shift, and go to state 1191
|
|
|
|
|
|
state 1132
|
|
|
|
189 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 231
|
|
sm_name_with_typevar go to state 1192
|
|
|
|
|
|
state 1133
|
|
|
|
186 class_statement: non_empty_member_modifiers sm_type $@18 . class_variable_declaration ';'
|
|
|
|
T_VARIABLE shift, and go to state 1130
|
|
|
|
class_variable_declaration go to state 1193
|
|
|
|
|
|
state 1134
|
|
|
|
257 class_constant_declaration: class_constant_declaration ',' sm_name_with_type . '=' static_scalar
|
|
|
|
'=' shift, and go to state 1194
|
|
|
|
|
|
state 1135
|
|
|
|
191 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 273
|
|
|
|
$default reduce using rule 88 (is_reference)
|
|
|
|
is_reference go to state 1195
|
|
|
|
|
|
state 1136
|
|
|
|
373 xhp_opt_end_label: T_XHP_LABEL .
|
|
|
|
$default reduce using rule 373 (xhp_opt_end_label)
|
|
|
|
|
|
state 1137
|
|
|
|
371 xhp_tag_body: xhp_attributes T_XHP_TAG_GT xhp_children T_XHP_TAG_LT '/' xhp_opt_end_label .
|
|
|
|
$default reduce using rule 371 (xhp_tag_body)
|
|
|
|
|
|
state 1138
|
|
|
|
382 xhp_child: '{' expr '}' .
|
|
|
|
$default reduce using rule 382 (xhp_child)
|
|
|
|
|
|
state 1139
|
|
|
|
380 xhp_attribute_value: '{' expr '}' .
|
|
|
|
$default reduce using rule 380 (xhp_attribute_value)
|
|
|
|
|
|
state 1140
|
|
|
|
591 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 456
|
|
'+' 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 138
|
|
T_ISSET shift, and go to state 57
|
|
T_EMPTY shift, and go to state 58
|
|
T_LIST shift, and go to state 139
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 167 (function_call_parameter_list)
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
function_loc go to state 142
|
|
function_call_parameter_list go to state 1196
|
|
non_empty_fcall_parameter_list go to state 458
|
|
new_expr go to state 107
|
|
expr go to state 459
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 144
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 1141
|
|
|
|
589 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 1197
|
|
|
|
|
|
state 1142
|
|
|
|
590 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR variable_without_objects '(' function_call_parameter_list ')' .
|
|
|
|
$default reduce using rule 590 (object_method_call)
|
|
|
|
|
|
state 1143
|
|
|
|
681 sm_opt_return_type: ':' sm_type .
|
|
|
|
$default reduce using rule 681 (sm_opt_return_type)
|
|
|
|
|
|
state 1144
|
|
|
|
363 lexical_vars: T_USE . '(' lexical_var_list possible_comma_in_hphp_syntax ')'
|
|
|
|
'(' shift, and go to state 1198
|
|
|
|
|
|
state 1145
|
|
|
|
340 expr_no_variable: function_loc is_reference '(' $@21 parameter_list ')' sm_opt_return_type lexical_vars . '{' inner_statement_list '}'
|
|
|
|
'{' shift, and go to state 1199
|
|
|
|
|
|
state 1146
|
|
|
|
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
|
|
164 | non_empty_parameter_list ',' optional_user_attributes sm_type_opt . '&' T_VARIABLE '=' static_scalar
|
|
165 | non_empty_parameter_list ',' optional_user_attributes sm_type_opt . T_VARIABLE '=' static_scalar
|
|
|
|
'&' shift, and go to state 1200
|
|
T_VARIABLE shift, and go to state 1201
|
|
|
|
|
|
state 1147
|
|
|
|
159 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 1202
|
|
|
|
$default reduce using rule 159 (non_empty_parameter_list)
|
|
|
|
|
|
state 1148
|
|
|
|
161 non_empty_parameter_list: optional_user_attributes sm_type_opt T_VARIABLE '=' . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 1203
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 1149
|
|
|
|
91 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 1204
|
|
|
|
|
|
state 1150
|
|
|
|
95 class_declaration_statement: class_entry_type class_decl_name $@11 extends_from implements_list '{' class_statement_list '}' .
|
|
|
|
$default reduce using rule 95 (class_declaration_statement)
|
|
|
|
|
|
state 1151
|
|
|
|
101 class_declaration_statement: non_empty_user_attributes T_INTERFACE interface_decl_name $@14 interface_extends_list '{' class_statement_list '}' .
|
|
|
|
$default reduce using rule 101 (class_declaration_statement)
|
|
|
|
|
|
state 1152
|
|
|
|
93 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 992
|
|
|
|
$default reduce using rule 680 (sm_opt_return_type)
|
|
|
|
sm_opt_return_type go to state 1205
|
|
|
|
|
|
state 1153
|
|
|
|
97 class_declaration_statement: non_empty_user_attributes class_entry_type class_decl_name $@12 extends_from implements_list '{' class_statement_list . '}'
|
|
181 class_statement_list: class_statement_list . class_statement
|
|
|
|
T_SL shift, and go to state 10
|
|
T_CONST shift, and go to state 855
|
|
T_USE shift, and go to state 856
|
|
T_PUBLIC shift, and go to state 857
|
|
T_PROTECTED shift, and go to state 858
|
|
T_PRIVATE shift, and go to state 859
|
|
T_FINAL shift, and go to state 860
|
|
T_ABSTRACT shift, and go to state 861
|
|
T_STATIC shift, and go to state 862
|
|
T_VAR shift, and go to state 863
|
|
T_XHP_ATTRIBUTE shift, and go to state 864
|
|
T_XHP_CATEGORY shift, and go to state 865
|
|
T_XHP_CHILDREN shift, and go to state 866
|
|
'}' shift, and go to state 1206
|
|
|
|
$default reduce using rule 244 (method_modifiers)
|
|
|
|
class_statement go to state 868
|
|
variable_modifiers go to state 869
|
|
method_modifiers go to state 870
|
|
non_empty_member_modifiers go to state 871
|
|
member_modifier go to state 872
|
|
class_constant_declaration go to state 873
|
|
non_empty_user_attributes go to state 874
|
|
|
|
|
|
state 1154
|
|
|
|
588 object_method_call: variable T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')' .
|
|
|
|
$default reduce using rule 588 (object_method_call)
|
|
|
|
|
|
state 1155
|
|
|
|
536 non_empty_static_array_pair_list_ae: static_scalar_ae T_DOUBLE_ARROW static_scalar_ae .
|
|
|
|
$default reduce using rule 536 (non_empty_static_array_pair_list_ae)
|
|
|
|
|
|
state 1156
|
|
|
|
534 non_empty_static_array_pair_list_ae: non_empty_static_array_pair_list_ae ',' static_scalar_ae . T_DOUBLE_ARROW static_scalar_ae
|
|
535 | non_empty_static_array_pair_list_ae ',' static_scalar_ae .
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 1207
|
|
|
|
$default reduce using rule 535 (non_empty_static_array_pair_list_ae)
|
|
|
|
|
|
state 1157
|
|
|
|
543 non_empty_static_shape_pair_list_ae: T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW static_scalar_ae .
|
|
|
|
$default reduce using rule 543 (non_empty_static_shape_pair_list_ae)
|
|
|
|
|
|
state 1158
|
|
|
|
542 non_empty_static_shape_pair_list_ae: non_empty_static_shape_pair_list_ae ',' T_CONSTANT_ENCAPSED_STRING . T_DOUBLE_ARROW static_scalar_ae
|
|
|
|
T_DOUBLE_ARROW shift, and go to state 1208
|
|
|
|
|
|
state 1159
|
|
|
|
39 inner_statement_list: inner_statement_list . inner_statement
|
|
148 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' 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
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 148 (new_elseif_list)
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
inner_statement go to state 445
|
|
statement go to state 446
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 447
|
|
class_declaration_statement go to state 448
|
|
trait_declaration_statement go to state 449
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 1160
|
|
|
|
53 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 1209
|
|
'+' 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' 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
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
statement go to state 1210
|
|
function_loc go to state 142
|
|
for_statement go to state 1211
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 1161
|
|
|
|
130 foreach_statement: ':' . inner_statement_list T_ENDFOREACH ';'
|
|
|
|
$default reduce using rule 40 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1212
|
|
|
|
|
|
state 1162
|
|
|
|
129 foreach_statement: statement .
|
|
|
|
$default reduce using rule 129 (foreach_statement)
|
|
|
|
|
|
state 1163
|
|
|
|
70 statement: T_FOREACH '(' expr T_AS foreach_variable foreach_optional_arg ')' $@7 foreach_statement .
|
|
|
|
$default reduce using rule 70 (statement)
|
|
|
|
|
|
state 1164
|
|
|
|
39 inner_statement_list: inner_statement_list . inner_statement
|
|
141 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' 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
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
$default reduce using rule 141 (case_list)
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
inner_statement go to state 445
|
|
statement go to state 446
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 447
|
|
class_declaration_statement go to state 448
|
|
trait_declaration_statement go to state 449
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 1165
|
|
|
|
702 sm_type: '(' T_FUNCTION '(' sm_func_type_list ')' ':' sm_type ')' .
|
|
|
|
$default reduce using rule 702 (sm_type)
|
|
|
|
|
|
state 1166
|
|
|
|
514 non_empty_static_array_pair_list: non_empty_static_array_pair_list ',' static_scalar T_DOUBLE_ARROW . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 1213
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 1167
|
|
|
|
348 non_empty_static_shape_pair_list: non_empty_static_shape_pair_list ',' T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 1214
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 1168
|
|
|
|
640 non_empty_static_collection_init: non_empty_static_collection_init ',' static_scalar T_DOUBLE_ARROW . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 1215
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 1169
|
|
|
|
72 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 1216
|
|
|
|
|
|
state 1170
|
|
|
|
84 finally: $@8 T_FINALLY '{' inner_statement_list '}' .
|
|
|
|
$default reduce using rule 84 (finally)
|
|
|
|
|
|
state 1171
|
|
|
|
342 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 1217
|
|
|
|
|
|
state 1172
|
|
|
|
258 class_constant_declaration: T_CONST sm_name_with_type '=' static_scalar .
|
|
|
|
$default reduce using rule 258 (class_constant_declaration)
|
|
|
|
|
|
state 1173
|
|
|
|
122 trait_list: trait_list ',' fully_qualified_class_name .
|
|
|
|
$default reduce using rule 122 (trait_list)
|
|
|
|
|
|
state 1174
|
|
|
|
196 class_statement: T_USE trait_list '{' trait_rules . '}'
|
|
197 trait_rules: trait_rules . trait_precedence_rule
|
|
198 | trait_rules . trait_alias_rule
|
|
|
|
T_STRING shift, and go to state 31
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 1218
|
|
|
|
ident go to state 1219
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 174
|
|
class_namespace_string_typeargs go to state 1220
|
|
trait_precedence_rule go to state 1221
|
|
trait_alias_rule go to state 1222
|
|
trait_alias_rule_method go to state 1223
|
|
|
|
|
|
state 1175
|
|
|
|
212 xhp_attribute_decl_type: T_XHP_ENUM '{' xhp_attribute_enum . '}'
|
|
214 xhp_attribute_enum: xhp_attribute_enum . ',' common_scalar
|
|
|
|
',' shift, and go to state 1224
|
|
'}' shift, and go to state 1225
|
|
|
|
|
|
state 1176
|
|
|
|
213 xhp_attribute_enum: common_scalar .
|
|
|
|
$default reduce using rule 213 (xhp_attribute_enum)
|
|
|
|
|
|
state 1177
|
|
|
|
206 xhp_attribute_stmt: xhp_attribute_stmt ',' xhp_attribute_decl .
|
|
|
|
$default reduce using rule 206 (xhp_attribute_stmt)
|
|
|
|
|
|
state 1178
|
|
|
|
215 xhp_attribute_default: '=' . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 1226
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 1179
|
|
|
|
385 xhp_label_ws: xhp_label_ws ':' . xhp_bareword
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 1045
|
|
T_REQUIRE shift, and go to state 1046
|
|
T_EVAL shift, and go to state 1047
|
|
T_INCLUDE_ONCE shift, and go to state 1048
|
|
T_INCLUDE shift, and go to state 1049
|
|
T_LOGICAL_OR shift, and go to state 1050
|
|
T_LOGICAL_XOR shift, and go to state 1051
|
|
T_LOGICAL_AND shift, and go to state 1052
|
|
T_PRINT shift, and go to state 1053
|
|
T_INSTANCEOF shift, and go to state 1054
|
|
T_CLONE shift, and go to state 1055
|
|
T_NEW shift, and go to state 1056
|
|
T_EXIT shift, and go to state 1057
|
|
T_IF shift, and go to state 1058
|
|
T_ELSEIF shift, and go to state 1059
|
|
T_ELSE shift, and go to state 1060
|
|
T_ENDIF shift, and go to state 1061
|
|
T_STRING shift, and go to state 31
|
|
T_ECHO shift, and go to state 1062
|
|
T_DO shift, and go to state 1063
|
|
T_WHILE shift, and go to state 1064
|
|
T_ENDWHILE shift, and go to state 1065
|
|
T_FOR shift, and go to state 1066
|
|
T_ENDFOR shift, and go to state 1067
|
|
T_FOREACH shift, and go to state 1068
|
|
T_ENDFOREACH shift, and go to state 1069
|
|
T_DECLARE shift, and go to state 1070
|
|
T_ENDDECLARE shift, and go to state 1071
|
|
T_AS shift, and go to state 1072
|
|
T_SWITCH shift, and go to state 1073
|
|
T_ENDSWITCH shift, and go to state 1074
|
|
T_CASE shift, and go to state 1075
|
|
T_DEFAULT shift, and go to state 1076
|
|
T_BREAK shift, and go to state 1077
|
|
T_GOTO shift, and go to state 1078
|
|
T_CONTINUE shift, and go to state 1079
|
|
T_FUNCTION shift, and go to state 1080
|
|
T_CONST shift, and go to state 1081
|
|
T_RETURN shift, and go to state 1082
|
|
T_TRY shift, and go to state 1083
|
|
T_CATCH shift, and go to state 1084
|
|
T_THROW shift, and go to state 1085
|
|
T_USE shift, and go to state 1086
|
|
T_GLOBAL shift, and go to state 1087
|
|
T_PUBLIC shift, and go to state 1088
|
|
T_PROTECTED shift, and go to state 1089
|
|
T_PRIVATE shift, and go to state 1090
|
|
T_FINAL shift, and go to state 1091
|
|
T_ABSTRACT shift, and go to state 1092
|
|
T_STATIC shift, and go to state 1093
|
|
T_VAR shift, and go to state 1094
|
|
T_UNSET shift, and go to state 1095
|
|
T_ISSET shift, and go to state 1096
|
|
T_EMPTY shift, and go to state 1097
|
|
T_HALT_COMPILER shift, and go to state 1098
|
|
T_CLASS shift, and go to state 1099
|
|
T_INTERFACE shift, and go to state 1100
|
|
T_EXTENDS shift, and go to state 1101
|
|
T_IMPLEMENTS shift, and go to state 1102
|
|
T_LIST shift, and go to state 1103
|
|
T_ARRAY shift, and go to state 1104
|
|
T_CLASS_C shift, and go to state 1105
|
|
T_METHOD_C shift, and go to state 1106
|
|
T_FUNC_C shift, and go to state 1107
|
|
T_LINE shift, and go to state 1108
|
|
T_FILE shift, and go to state 1109
|
|
T_NAMESPACE shift, and go to state 1110
|
|
T_NS_C shift, and go to state 1111
|
|
T_DIR shift, and go to state 1112
|
|
T_YIELD shift, and go to state 1113
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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 1114
|
|
T_TRAIT_C shift, and go to state 1115
|
|
T_FINALLY shift, and go to state 1116
|
|
T_TYPE shift, and go to state 1117
|
|
|
|
ident go to state 1118
|
|
xhp_bareword go to state 1227
|
|
|
|
|
|
state 1180
|
|
|
|
386 xhp_label_ws: xhp_label_ws '-' . xhp_bareword
|
|
|
|
T_REQUIRE_ONCE shift, and go to state 1045
|
|
T_REQUIRE shift, and go to state 1046
|
|
T_EVAL shift, and go to state 1047
|
|
T_INCLUDE_ONCE shift, and go to state 1048
|
|
T_INCLUDE shift, and go to state 1049
|
|
T_LOGICAL_OR shift, and go to state 1050
|
|
T_LOGICAL_XOR shift, and go to state 1051
|
|
T_LOGICAL_AND shift, and go to state 1052
|
|
T_PRINT shift, and go to state 1053
|
|
T_INSTANCEOF shift, and go to state 1054
|
|
T_CLONE shift, and go to state 1055
|
|
T_NEW shift, and go to state 1056
|
|
T_EXIT shift, and go to state 1057
|
|
T_IF shift, and go to state 1058
|
|
T_ELSEIF shift, and go to state 1059
|
|
T_ELSE shift, and go to state 1060
|
|
T_ENDIF shift, and go to state 1061
|
|
T_STRING shift, and go to state 31
|
|
T_ECHO shift, and go to state 1062
|
|
T_DO shift, and go to state 1063
|
|
T_WHILE shift, and go to state 1064
|
|
T_ENDWHILE shift, and go to state 1065
|
|
T_FOR shift, and go to state 1066
|
|
T_ENDFOR shift, and go to state 1067
|
|
T_FOREACH shift, and go to state 1068
|
|
T_ENDFOREACH shift, and go to state 1069
|
|
T_DECLARE shift, and go to state 1070
|
|
T_ENDDECLARE shift, and go to state 1071
|
|
T_AS shift, and go to state 1072
|
|
T_SWITCH shift, and go to state 1073
|
|
T_ENDSWITCH shift, and go to state 1074
|
|
T_CASE shift, and go to state 1075
|
|
T_DEFAULT shift, and go to state 1076
|
|
T_BREAK shift, and go to state 1077
|
|
T_GOTO shift, and go to state 1078
|
|
T_CONTINUE shift, and go to state 1079
|
|
T_FUNCTION shift, and go to state 1080
|
|
T_CONST shift, and go to state 1081
|
|
T_RETURN shift, and go to state 1082
|
|
T_TRY shift, and go to state 1083
|
|
T_CATCH shift, and go to state 1084
|
|
T_THROW shift, and go to state 1085
|
|
T_USE shift, and go to state 1086
|
|
T_GLOBAL shift, and go to state 1087
|
|
T_PUBLIC shift, and go to state 1088
|
|
T_PROTECTED shift, and go to state 1089
|
|
T_PRIVATE shift, and go to state 1090
|
|
T_FINAL shift, and go to state 1091
|
|
T_ABSTRACT shift, and go to state 1092
|
|
T_STATIC shift, and go to state 1093
|
|
T_VAR shift, and go to state 1094
|
|
T_UNSET shift, and go to state 1095
|
|
T_ISSET shift, and go to state 1096
|
|
T_EMPTY shift, and go to state 1097
|
|
T_HALT_COMPILER shift, and go to state 1098
|
|
T_CLASS shift, and go to state 1099
|
|
T_INTERFACE shift, and go to state 1100
|
|
T_EXTENDS shift, and go to state 1101
|
|
T_IMPLEMENTS shift, and go to state 1102
|
|
T_LIST shift, and go to state 1103
|
|
T_ARRAY shift, and go to state 1104
|
|
T_CLASS_C shift, and go to state 1105
|
|
T_METHOD_C shift, and go to state 1106
|
|
T_FUNC_C shift, and go to state 1107
|
|
T_LINE shift, and go to state 1108
|
|
T_FILE shift, and go to state 1109
|
|
T_NAMESPACE shift, and go to state 1110
|
|
T_NS_C shift, and go to state 1111
|
|
T_DIR shift, and go to state 1112
|
|
T_YIELD shift, and go to state 1113
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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 1114
|
|
T_TRAIT_C shift, and go to state 1115
|
|
T_FINALLY shift, and go to state 1116
|
|
T_TYPE shift, and go to state 1117
|
|
|
|
ident go to state 1118
|
|
xhp_bareword go to state 1228
|
|
|
|
|
|
state 1181
|
|
|
|
207 xhp_attribute_decl: xhp_attribute_decl_type xhp_label_ws xhp_attribute_default . xhp_attribute_is_required
|
|
|
|
'@' shift, and go to state 1229
|
|
|
|
$default reduce using rule 218 (xhp_attribute_is_required)
|
|
|
|
xhp_attribute_is_required go to state 1230
|
|
|
|
|
|
state 1182
|
|
|
|
220 xhp_category_stmt: xhp_category_stmt ',' xhp_category_decl .
|
|
|
|
$default reduce using rule 220 (xhp_category_stmt)
|
|
|
|
|
|
state 1183
|
|
|
|
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 1123
|
|
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 1124
|
|
T_XHP_CHILDREN 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 973
|
|
|
|
ident go to state 1125
|
|
xhp_children_paren_expr go to state 1126
|
|
xhp_children_decl_expr go to state 1231
|
|
xhp_children_decl_tag go to state 1128
|
|
|
|
|
|
state 1184
|
|
|
|
235 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 1123
|
|
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 1124
|
|
T_XHP_CHILDREN 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 973
|
|
|
|
ident go to state 1125
|
|
xhp_children_paren_expr go to state 1126
|
|
xhp_children_decl_expr go to state 1232
|
|
xhp_children_decl_tag go to state 1128
|
|
|
|
|
|
state 1185
|
|
|
|
225 xhp_children_paren_expr: '(' xhp_children_decl_expr ')' .
|
|
226 | '(' xhp_children_decl_expr ')' . '*'
|
|
227 | '(' xhp_children_decl_expr ')' . '?'
|
|
228 | '(' xhp_children_decl_expr ')' . '+'
|
|
|
|
'?' shift, and go to state 1233
|
|
'+' shift, and go to state 1234
|
|
'*' shift, and go to state 1235
|
|
|
|
$default reduce using rule 225 (xhp_children_paren_expr)
|
|
|
|
|
|
state 1186
|
|
|
|
232 xhp_children_decl_expr: xhp_children_decl_tag '?' .
|
|
|
|
$default reduce using rule 232 (xhp_children_decl_expr)
|
|
|
|
|
|
state 1187
|
|
|
|
233 xhp_children_decl_expr: xhp_children_decl_tag '+' .
|
|
|
|
$default reduce using rule 233 (xhp_children_decl_expr)
|
|
|
|
|
|
state 1188
|
|
|
|
231 xhp_children_decl_expr: xhp_children_decl_tag '*' .
|
|
|
|
$default reduce using rule 231 (xhp_children_decl_expr)
|
|
|
|
|
|
state 1189
|
|
|
|
256 class_variable_declaration: T_VARIABLE '=' . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 1236
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 1190
|
|
|
|
253 class_variable_declaration: class_variable_declaration ',' . T_VARIABLE
|
|
254 | class_variable_declaration ',' . T_VARIABLE '=' static_scalar
|
|
|
|
T_VARIABLE shift, and go to state 1237
|
|
|
|
|
|
state 1191
|
|
|
|
184 class_statement: variable_modifiers $@17 class_variable_declaration ';' .
|
|
|
|
$default reduce using rule 184 (class_statement)
|
|
|
|
|
|
state 1192
|
|
|
|
189 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 1238
|
|
|
|
|
|
state 1193
|
|
|
|
186 class_statement: non_empty_member_modifiers sm_type $@18 class_variable_declaration . ';'
|
|
253 class_variable_declaration: class_variable_declaration . ',' T_VARIABLE
|
|
254 | class_variable_declaration . ',' T_VARIABLE '=' static_scalar
|
|
|
|
',' shift, and go to state 1190
|
|
';' shift, and go to state 1239
|
|
|
|
|
|
state 1194
|
|
|
|
257 class_constant_declaration: class_constant_declaration ',' sm_name_with_type '=' . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 1240
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 1195
|
|
|
|
191 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 231
|
|
sm_name_with_typevar go to state 1241
|
|
|
|
|
|
state 1196
|
|
|
|
591 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list . ')'
|
|
|
|
')' shift, and go to state 1242
|
|
|
|
|
|
state 1197
|
|
|
|
589 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR ident sm_typeargs_opt '(' function_call_parameter_list ')' .
|
|
|
|
$default reduce using rule 589 (object_method_call)
|
|
|
|
|
|
state 1198
|
|
|
|
363 lexical_vars: T_USE '(' . lexical_var_list possible_comma_in_hphp_syntax ')'
|
|
|
|
'&' shift, and go to state 1243
|
|
T_VARIABLE shift, and go to state 1244
|
|
|
|
lexical_var_list go to state 1245
|
|
|
|
|
|
state 1199
|
|
|
|
340 expr_no_variable: function_loc is_reference '(' $@21 parameter_list ')' sm_opt_return_type lexical_vars '{' . inner_statement_list '}'
|
|
|
|
$default reduce using rule 40 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1246
|
|
|
|
|
|
state 1200
|
|
|
|
163 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
|
|
|
|
T_VARIABLE shift, and go to state 1247
|
|
|
|
|
|
state 1201
|
|
|
|
162 non_empty_parameter_list: non_empty_parameter_list ',' optional_user_attributes sm_type_opt T_VARIABLE .
|
|
165 | non_empty_parameter_list ',' optional_user_attributes sm_type_opt T_VARIABLE . '=' static_scalar
|
|
|
|
'=' shift, and go to state 1248
|
|
|
|
$default reduce using rule 162 (non_empty_parameter_list)
|
|
|
|
|
|
state 1202
|
|
|
|
160 non_empty_parameter_list: optional_user_attributes sm_type_opt '&' T_VARIABLE '=' . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 1249
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 1203
|
|
|
|
161 non_empty_parameter_list: optional_user_attributes sm_type_opt T_VARIABLE '=' static_scalar .
|
|
|
|
$default reduce using rule 161 (non_empty_parameter_list)
|
|
|
|
|
|
state 1204
|
|
|
|
91 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 40 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1250
|
|
|
|
|
|
state 1205
|
|
|
|
93 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 1251
|
|
|
|
|
|
state 1206
|
|
|
|
97 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 97 (class_declaration_statement)
|
|
|
|
|
|
state 1207
|
|
|
|
534 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 668
|
|
'-' shift, and go to state 669
|
|
T_LNUMBER shift, and go to state 670
|
|
T_DNUMBER shift, and go to state 671
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 672
|
|
T_ARRAY shift, and go to state 673
|
|
T_START_HEREDOC shift, and go to state 674
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 675
|
|
|
|
ident go to state 676
|
|
common_scalar_ae go to state 677
|
|
static_scalar_ae go to state 1252
|
|
|
|
|
|
state 1208
|
|
|
|
542 non_empty_static_shape_pair_list_ae: non_empty_static_shape_pair_list_ae ',' T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW . static_scalar_ae
|
|
|
|
'+' shift, and go to state 668
|
|
'-' shift, and go to state 669
|
|
T_LNUMBER shift, and go to state 670
|
|
T_DNUMBER shift, and go to state 671
|
|
T_STRING shift, and go to state 31
|
|
T_CONSTANT_ENCAPSED_STRING shift, and go to state 672
|
|
T_ARRAY shift, and go to state 673
|
|
T_START_HEREDOC shift, and go to state 674
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 675
|
|
|
|
ident go to state 676
|
|
common_scalar_ae go to state 677
|
|
static_scalar_ae go to state 1253
|
|
|
|
|
|
state 1209
|
|
|
|
128 for_statement: ':' . inner_statement_list T_ENDFOR ';'
|
|
|
|
$default reduce using rule 40 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1254
|
|
|
|
|
|
state 1210
|
|
|
|
127 for_statement: statement .
|
|
|
|
$default reduce using rule 127 (for_statement)
|
|
|
|
|
|
state 1211
|
|
|
|
53 statement: T_FOR '(' for_expr ';' for_expr ';' for_expr ')' $@5 for_statement .
|
|
|
|
$default reduce using rule 53 (statement)
|
|
|
|
|
|
state 1212
|
|
|
|
39 inner_statement_list: inner_statement_list . inner_statement
|
|
130 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 1255
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' 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
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
inner_statement go to state 445
|
|
statement go to state 446
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 447
|
|
class_declaration_statement go to state 448
|
|
trait_declaration_statement go to state 449
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 1213
|
|
|
|
514 non_empty_static_array_pair_list: non_empty_static_array_pair_list ',' static_scalar T_DOUBLE_ARROW static_scalar .
|
|
|
|
$default reduce using rule 514 (non_empty_static_array_pair_list)
|
|
|
|
|
|
state 1214
|
|
|
|
348 non_empty_static_shape_pair_list: non_empty_static_shape_pair_list ',' T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW static_scalar .
|
|
|
|
$default reduce using rule 348 (non_empty_static_shape_pair_list)
|
|
|
|
|
|
state 1215
|
|
|
|
640 non_empty_static_collection_init: non_empty_static_collection_init ',' static_scalar T_DOUBLE_ARROW static_scalar .
|
|
|
|
$default reduce using rule 640 (non_empty_static_collection_init)
|
|
|
|
|
|
state 1216
|
|
|
|
72 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 40 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1256
|
|
|
|
|
|
state 1217
|
|
|
|
342 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 40 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1257
|
|
|
|
|
|
state 1218
|
|
|
|
196 class_statement: T_USE trait_list '{' trait_rules '}' .
|
|
|
|
$default reduce using rule 196 (class_statement)
|
|
|
|
|
|
state 1219
|
|
|
|
29 namespace_name: ident .
|
|
204 trait_alias_rule_method: ident .
|
|
|
|
T_AS reduce using rule 204 (trait_alias_rule_method)
|
|
$default reduce using rule 29 (namespace_name)
|
|
|
|
|
|
state 1220
|
|
|
|
200 trait_precedence_rule: class_namespace_string_typeargs . T_PAAMAYIM_NEKUDOTAYIM ident T_INSTEADOF trait_list ';'
|
|
203 trait_alias_rule_method: class_namespace_string_typeargs . T_PAAMAYIM_NEKUDOTAYIM ident
|
|
|
|
T_PAAMAYIM_NEKUDOTAYIM shift, and go to state 1258
|
|
|
|
|
|
state 1221
|
|
|
|
197 trait_rules: trait_rules trait_precedence_rule .
|
|
|
|
$default reduce using rule 197 (trait_rules)
|
|
|
|
|
|
state 1222
|
|
|
|
198 trait_rules: trait_rules trait_alias_rule .
|
|
|
|
$default reduce using rule 198 (trait_rules)
|
|
|
|
|
|
state 1223
|
|
|
|
201 trait_alias_rule: trait_alias_rule_method . T_AS method_modifiers ident ';'
|
|
202 | trait_alias_rule_method . T_AS non_empty_member_modifiers ';'
|
|
|
|
T_AS shift, and go to state 1259
|
|
|
|
|
|
state 1224
|
|
|
|
214 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 569
|
|
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 1260
|
|
|
|
|
|
state 1225
|
|
|
|
212 xhp_attribute_decl_type: T_XHP_ENUM '{' xhp_attribute_enum '}' .
|
|
|
|
$default reduce using rule 212 (xhp_attribute_decl_type)
|
|
|
|
|
|
state 1226
|
|
|
|
215 xhp_attribute_default: '=' static_scalar .
|
|
|
|
$default reduce using rule 215 (xhp_attribute_default)
|
|
|
|
|
|
state 1227
|
|
|
|
385 xhp_label_ws: xhp_label_ws ':' xhp_bareword .
|
|
|
|
$default reduce using rule 385 (xhp_label_ws)
|
|
|
|
|
|
state 1228
|
|
|
|
386 xhp_label_ws: xhp_label_ws '-' xhp_bareword .
|
|
|
|
$default reduce using rule 386 (xhp_label_ws)
|
|
|
|
|
|
state 1229
|
|
|
|
217 xhp_attribute_is_required: '@' . T_XHP_REQUIRED
|
|
|
|
T_XHP_REQUIRED shift, and go to state 1261
|
|
|
|
|
|
state 1230
|
|
|
|
207 xhp_attribute_decl: xhp_attribute_decl_type xhp_label_ws xhp_attribute_default xhp_attribute_is_required .
|
|
|
|
$default reduce using rule 207 (xhp_attribute_decl)
|
|
|
|
|
|
state 1231
|
|
|
|
234 xhp_children_decl_expr: xhp_children_decl_expr . ',' xhp_children_decl_expr
|
|
234 | xhp_children_decl_expr ',' xhp_children_decl_expr .
|
|
235 | xhp_children_decl_expr . '|' xhp_children_decl_expr
|
|
|
|
'|' shift, and go to state 1184
|
|
|
|
$default reduce using rule 234 (xhp_children_decl_expr)
|
|
|
|
|
|
state 1232
|
|
|
|
234 xhp_children_decl_expr: xhp_children_decl_expr . ',' xhp_children_decl_expr
|
|
235 | xhp_children_decl_expr . '|' xhp_children_decl_expr
|
|
235 | xhp_children_decl_expr '|' xhp_children_decl_expr .
|
|
|
|
$default reduce using rule 235 (xhp_children_decl_expr)
|
|
|
|
|
|
state 1233
|
|
|
|
227 xhp_children_paren_expr: '(' xhp_children_decl_expr ')' '?' .
|
|
|
|
$default reduce using rule 227 (xhp_children_paren_expr)
|
|
|
|
|
|
state 1234
|
|
|
|
228 xhp_children_paren_expr: '(' xhp_children_decl_expr ')' '+' .
|
|
|
|
$default reduce using rule 228 (xhp_children_paren_expr)
|
|
|
|
|
|
state 1235
|
|
|
|
226 xhp_children_paren_expr: '(' xhp_children_decl_expr ')' '*' .
|
|
|
|
$default reduce using rule 226 (xhp_children_paren_expr)
|
|
|
|
|
|
state 1236
|
|
|
|
256 class_variable_declaration: T_VARIABLE '=' static_scalar .
|
|
|
|
$default reduce using rule 256 (class_variable_declaration)
|
|
|
|
|
|
state 1237
|
|
|
|
253 class_variable_declaration: class_variable_declaration ',' T_VARIABLE .
|
|
254 | class_variable_declaration ',' T_VARIABLE . '=' static_scalar
|
|
|
|
'=' shift, and go to state 1262
|
|
|
|
$default reduce using rule 253 (class_variable_declaration)
|
|
|
|
|
|
state 1238
|
|
|
|
189 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 ($@19)
|
|
|
|
$@19 go to state 1263
|
|
|
|
|
|
state 1239
|
|
|
|
186 class_statement: non_empty_member_modifiers sm_type $@18 class_variable_declaration ';' .
|
|
|
|
$default reduce using rule 186 (class_statement)
|
|
|
|
|
|
state 1240
|
|
|
|
257 class_constant_declaration: class_constant_declaration ',' sm_name_with_type '=' static_scalar .
|
|
|
|
$default reduce using rule 257 (class_constant_declaration)
|
|
|
|
|
|
state 1241
|
|
|
|
191 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 1264
|
|
|
|
|
|
state 1242
|
|
|
|
591 object_method_call: '(' new_expr ')' T_OBJECT_OPERATOR '{' expr '}' '(' function_call_parameter_list ')' .
|
|
|
|
$default reduce using rule 591 (object_method_call)
|
|
|
|
|
|
state 1243
|
|
|
|
368 lexical_var_list: '&' . T_VARIABLE
|
|
|
|
T_VARIABLE shift, and go to state 1265
|
|
|
|
|
|
state 1244
|
|
|
|
367 lexical_var_list: T_VARIABLE .
|
|
|
|
$default reduce using rule 367 (lexical_var_list)
|
|
|
|
|
|
state 1245
|
|
|
|
363 lexical_vars: T_USE '(' lexical_var_list . possible_comma_in_hphp_syntax ')'
|
|
365 lexical_var_list: lexical_var_list . ',' T_VARIABLE
|
|
366 | lexical_var_list . ',' '&' T_VARIABLE
|
|
|
|
',' shift, and go to state 1266
|
|
|
|
$default reduce using rule 513 (possible_comma_in_hphp_syntax)
|
|
|
|
possible_comma_in_hphp_syntax go to state 1267
|
|
|
|
|
|
state 1246
|
|
|
|
39 inner_statement_list: inner_statement_list . inner_statement
|
|
340 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
';' shift, and go to state 87
|
|
'{' shift, and go to state 88
|
|
'}' shift, and go to state 1268
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
inner_statement go to state 445
|
|
statement go to state 446
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 447
|
|
class_declaration_statement go to state 448
|
|
trait_declaration_statement go to state 449
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 1247
|
|
|
|
163 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 1269
|
|
|
|
$default reduce using rule 163 (non_empty_parameter_list)
|
|
|
|
|
|
state 1248
|
|
|
|
165 non_empty_parameter_list: non_empty_parameter_list ',' optional_user_attributes sm_type_opt T_VARIABLE '=' . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 1270
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 1249
|
|
|
|
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 1250
|
|
|
|
39 inner_statement_list: inner_statement_list . inner_statement
|
|
91 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
';' shift, and go to state 87
|
|
'{' shift, and go to state 88
|
|
'}' shift, and go to state 1271
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
inner_statement go to state 445
|
|
statement go to state 446
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 447
|
|
class_declaration_statement go to state 448
|
|
trait_declaration_statement go to state 449
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 1251
|
|
|
|
93 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 40 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1272
|
|
|
|
|
|
state 1252
|
|
|
|
534 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 534 (non_empty_static_array_pair_list_ae)
|
|
|
|
|
|
state 1253
|
|
|
|
542 non_empty_static_shape_pair_list_ae: non_empty_static_shape_pair_list_ae ',' T_CONSTANT_ENCAPSED_STRING T_DOUBLE_ARROW static_scalar_ae .
|
|
|
|
$default reduce using rule 542 (non_empty_static_shape_pair_list_ae)
|
|
|
|
|
|
state 1254
|
|
|
|
39 inner_statement_list: inner_statement_list . inner_statement
|
|
128 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 1273
|
|
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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' 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
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
inner_statement go to state 445
|
|
statement go to state 446
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 447
|
|
class_declaration_statement go to state 448
|
|
trait_declaration_statement go to state 449
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 1255
|
|
|
|
130 foreach_statement: ':' inner_statement_list T_ENDFOREACH . ';'
|
|
|
|
';' shift, and go to state 1274
|
|
|
|
|
|
state 1256
|
|
|
|
39 inner_statement_list: inner_statement_list . inner_statement
|
|
72 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
';' shift, and go to state 87
|
|
'{' shift, and go to state 88
|
|
'}' shift, and go to state 1275
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
inner_statement go to state 445
|
|
statement go to state 446
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 447
|
|
class_declaration_statement go to state 448
|
|
trait_declaration_statement go to state 449
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 1257
|
|
|
|
39 inner_statement_list: inner_statement_list . inner_statement
|
|
342 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
';' shift, and go to state 87
|
|
'{' shift, and go to state 88
|
|
'}' shift, and go to state 1276
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
inner_statement go to state 445
|
|
statement go to state 446
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 447
|
|
class_declaration_statement go to state 448
|
|
trait_declaration_statement go to state 449
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 1258
|
|
|
|
200 trait_precedence_rule: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM . ident T_INSTEADOF trait_list ';'
|
|
203 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 1277
|
|
|
|
|
|
state 1259
|
|
|
|
201 trait_alias_rule: trait_alias_rule_method T_AS . method_modifiers ident ';'
|
|
202 | trait_alias_rule_method T_AS . non_empty_member_modifiers ';'
|
|
|
|
T_PUBLIC shift, and go to state 857
|
|
T_PROTECTED shift, and go to state 858
|
|
T_PRIVATE shift, and go to state 859
|
|
T_FINAL shift, and go to state 860
|
|
T_ABSTRACT shift, and go to state 861
|
|
T_STATIC shift, and go to state 862
|
|
|
|
$default reduce using rule 244 (method_modifiers)
|
|
|
|
method_modifiers go to state 1278
|
|
non_empty_member_modifiers go to state 1279
|
|
member_modifier go to state 872
|
|
|
|
|
|
state 1260
|
|
|
|
214 xhp_attribute_enum: xhp_attribute_enum ',' common_scalar .
|
|
|
|
$default reduce using rule 214 (xhp_attribute_enum)
|
|
|
|
|
|
state 1261
|
|
|
|
217 xhp_attribute_is_required: '@' T_XHP_REQUIRED .
|
|
|
|
$default reduce using rule 217 (xhp_attribute_is_required)
|
|
|
|
|
|
state 1262
|
|
|
|
254 class_variable_declaration: class_variable_declaration ',' T_VARIABLE '=' . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 1280
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 1263
|
|
|
|
189 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 764
|
|
|
|
')' reduce using rule 157 (parameter_list)
|
|
$default reduce using rule 554 (optional_user_attributes)
|
|
|
|
parameter_list go to state 1281
|
|
non_empty_parameter_list go to state 766
|
|
non_empty_user_attributes go to state 767
|
|
optional_user_attributes go to state 768
|
|
|
|
|
|
state 1264
|
|
|
|
191 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 ($@20)
|
|
|
|
$@20 go to state 1282
|
|
|
|
|
|
state 1265
|
|
|
|
368 lexical_var_list: '&' T_VARIABLE .
|
|
|
|
$default reduce using rule 368 (lexical_var_list)
|
|
|
|
|
|
state 1266
|
|
|
|
365 lexical_var_list: lexical_var_list ',' . T_VARIABLE
|
|
366 | lexical_var_list ',' . '&' T_VARIABLE
|
|
512 possible_comma_in_hphp_syntax: ',' .
|
|
|
|
'&' shift, and go to state 1283
|
|
T_VARIABLE shift, and go to state 1284
|
|
|
|
$default reduce using rule 512 (possible_comma_in_hphp_syntax)
|
|
|
|
|
|
state 1267
|
|
|
|
363 lexical_vars: T_USE '(' lexical_var_list possible_comma_in_hphp_syntax . ')'
|
|
|
|
')' shift, and go to state 1285
|
|
|
|
|
|
state 1268
|
|
|
|
340 expr_no_variable: function_loc is_reference '(' $@21 parameter_list ')' sm_opt_return_type lexical_vars '{' inner_statement_list '}' .
|
|
|
|
$default reduce using rule 340 (expr_no_variable)
|
|
|
|
|
|
state 1269
|
|
|
|
164 non_empty_parameter_list: non_empty_parameter_list ',' optional_user_attributes sm_type_opt '&' T_VARIABLE '=' . static_scalar
|
|
|
|
'+' shift, and go to state 566
|
|
'-' shift, and go to state 567
|
|
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 568
|
|
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 569
|
|
T_NAMESPACE shift, and go to state 140
|
|
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 570
|
|
T_XHP_ATTRIBUTE shift, and go to state 76
|
|
T_XHP_CATEGORY shift, and go to state 77
|
|
T_XHP_CHILDREN 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_SHAPE shift, and go to state 571
|
|
|
|
ident go to state 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 572
|
|
namespace_string go to state 573
|
|
class_namespace_string_typeargs go to state 574
|
|
static_collection_literal go to state 575
|
|
fully_qualified_class_name go to state 576
|
|
common_scalar go to state 577
|
|
static_scalar go to state 1286
|
|
static_class_constant go to state 579
|
|
|
|
|
|
state 1270
|
|
|
|
165 non_empty_parameter_list: non_empty_parameter_list ',' optional_user_attributes sm_type_opt T_VARIABLE '=' static_scalar .
|
|
|
|
$default reduce using rule 165 (non_empty_parameter_list)
|
|
|
|
|
|
state 1271
|
|
|
|
91 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 91 (function_declaration_statement)
|
|
|
|
|
|
state 1272
|
|
|
|
39 inner_statement_list: inner_statement_list . inner_statement
|
|
93 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
';' shift, and go to state 87
|
|
'{' shift, and go to state 88
|
|
'}' shift, and go to state 1287
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
inner_statement go to state 445
|
|
statement go to state 446
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 447
|
|
class_declaration_statement go to state 448
|
|
trait_declaration_statement go to state 449
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 1273
|
|
|
|
128 for_statement: ':' inner_statement_list T_ENDFOR . ';'
|
|
|
|
';' shift, and go to state 1288
|
|
|
|
|
|
state 1274
|
|
|
|
130 foreach_statement: ':' inner_statement_list T_ENDFOREACH ';' .
|
|
|
|
$default reduce using rule 130 (foreach_statement)
|
|
|
|
|
|
state 1275
|
|
|
|
72 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 82 (additional_catches)
|
|
|
|
additional_catches go to state 1289
|
|
|
|
|
|
state 1276
|
|
|
|
342 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 342 (expr_no_variable)
|
|
|
|
|
|
state 1277
|
|
|
|
200 trait_precedence_rule: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM ident . T_INSTEADOF trait_list ';'
|
|
203 trait_alias_rule_method: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM ident .
|
|
|
|
T_INSTEADOF shift, and go to state 1290
|
|
|
|
$default reduce using rule 203 (trait_alias_rule_method)
|
|
|
|
|
|
state 1278
|
|
|
|
201 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 1291
|
|
|
|
|
|
state 1279
|
|
|
|
202 trait_alias_rule: trait_alias_rule_method T_AS non_empty_member_modifiers . ';'
|
|
243 method_modifiers: non_empty_member_modifiers .
|
|
246 non_empty_member_modifiers: non_empty_member_modifiers . member_modifier
|
|
|
|
T_PUBLIC shift, and go to state 857
|
|
T_PROTECTED shift, and go to state 858
|
|
T_PRIVATE shift, and go to state 859
|
|
T_FINAL shift, and go to state 860
|
|
T_ABSTRACT shift, and go to state 861
|
|
T_STATIC shift, and go to state 862
|
|
';' shift, and go to state 1292
|
|
|
|
$default reduce using rule 243 (method_modifiers)
|
|
|
|
member_modifier go to state 979
|
|
|
|
|
|
state 1280
|
|
|
|
254 class_variable_declaration: class_variable_declaration ',' T_VARIABLE '=' static_scalar .
|
|
|
|
$default reduce using rule 254 (class_variable_declaration)
|
|
|
|
|
|
state 1281
|
|
|
|
189 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 1293
|
|
|
|
|
|
state 1282
|
|
|
|
191 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 764
|
|
|
|
')' reduce using rule 157 (parameter_list)
|
|
$default reduce using rule 554 (optional_user_attributes)
|
|
|
|
parameter_list go to state 1294
|
|
non_empty_parameter_list go to state 766
|
|
non_empty_user_attributes go to state 767
|
|
optional_user_attributes go to state 768
|
|
|
|
|
|
state 1283
|
|
|
|
366 lexical_var_list: lexical_var_list ',' '&' . T_VARIABLE
|
|
|
|
T_VARIABLE shift, and go to state 1295
|
|
|
|
|
|
state 1284
|
|
|
|
365 lexical_var_list: lexical_var_list ',' T_VARIABLE .
|
|
|
|
$default reduce using rule 365 (lexical_var_list)
|
|
|
|
|
|
state 1285
|
|
|
|
363 lexical_vars: T_USE '(' lexical_var_list possible_comma_in_hphp_syntax ')' .
|
|
|
|
$default reduce using rule 363 (lexical_vars)
|
|
|
|
|
|
state 1286
|
|
|
|
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 1287
|
|
|
|
93 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 93 (function_declaration_statement)
|
|
|
|
|
|
state 1288
|
|
|
|
128 for_statement: ':' inner_statement_list T_ENDFOR ';' .
|
|
|
|
$default reduce using rule 128 (for_statement)
|
|
|
|
|
|
state 1289
|
|
|
|
72 statement: T_TRY '{' inner_statement_list '}' T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}' additional_catches . optional_finally
|
|
81 additional_catches: additional_catches . T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}'
|
|
|
|
T_CATCH shift, and go to state 1296
|
|
|
|
T_FINALLY reduce using rule 83 ($@8)
|
|
$default reduce using rule 86 (optional_finally)
|
|
|
|
finally go to state 1297
|
|
$@8 go to state 726
|
|
optional_finally go to state 1298
|
|
|
|
|
|
state 1290
|
|
|
|
200 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 140
|
|
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 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 174
|
|
class_namespace_string_typeargs go to state 99
|
|
trait_list go to state 1299
|
|
fully_qualified_class_name go to state 960
|
|
|
|
|
|
state 1291
|
|
|
|
201 trait_alias_rule: trait_alias_rule_method T_AS method_modifiers ident . ';'
|
|
|
|
';' shift, and go to state 1300
|
|
|
|
|
|
state 1292
|
|
|
|
202 trait_alias_rule: trait_alias_rule_method T_AS non_empty_member_modifiers ';' .
|
|
|
|
$default reduce using rule 202 (trait_alias_rule)
|
|
|
|
|
|
state 1293
|
|
|
|
189 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 992
|
|
|
|
$default reduce using rule 680 (sm_opt_return_type)
|
|
|
|
sm_opt_return_type go to state 1301
|
|
|
|
|
|
state 1294
|
|
|
|
191 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 1302
|
|
|
|
|
|
state 1295
|
|
|
|
366 lexical_var_list: lexical_var_list ',' '&' T_VARIABLE .
|
|
|
|
$default reduce using rule 366 (lexical_var_list)
|
|
|
|
|
|
state 1296
|
|
|
|
81 additional_catches: additional_catches T_CATCH . '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}'
|
|
|
|
'(' shift, and go to state 1303
|
|
|
|
|
|
state 1297
|
|
|
|
85 optional_finally: finally .
|
|
|
|
$default reduce using rule 85 (optional_finally)
|
|
|
|
|
|
state 1298
|
|
|
|
72 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 72 (statement)
|
|
|
|
|
|
state 1299
|
|
|
|
122 trait_list: trait_list . ',' fully_qualified_class_name
|
|
200 trait_precedence_rule: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM ident T_INSTEADOF trait_list . ';'
|
|
|
|
',' shift, and go to state 1039
|
|
';' shift, and go to state 1304
|
|
|
|
|
|
state 1300
|
|
|
|
201 trait_alias_rule: trait_alias_rule_method T_AS method_modifiers ident ';' .
|
|
|
|
$default reduce using rule 201 (trait_alias_rule)
|
|
|
|
|
|
state 1301
|
|
|
|
189 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 1305
|
|
'{' shift, and go to state 1306
|
|
|
|
method_body go to state 1307
|
|
|
|
|
|
state 1302
|
|
|
|
191 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 992
|
|
|
|
$default reduce using rule 680 (sm_opt_return_type)
|
|
|
|
sm_opt_return_type go to state 1308
|
|
|
|
|
|
state 1303
|
|
|
|
81 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 140
|
|
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 141
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 174
|
|
class_namespace_string_typeargs go to state 99
|
|
fully_qualified_class_name go to state 1309
|
|
|
|
|
|
state 1304
|
|
|
|
200 trait_precedence_rule: class_namespace_string_typeargs T_PAAMAYIM_NEKUDOTAYIM ident T_INSTEADOF trait_list ';' .
|
|
|
|
$default reduce using rule 200 (trait_precedence_rule)
|
|
|
|
|
|
state 1305
|
|
|
|
239 method_body: ';' .
|
|
|
|
$default reduce using rule 239 (method_body)
|
|
|
|
|
|
state 1306
|
|
|
|
240 method_body: '{' . inner_statement_list '}'
|
|
|
|
$default reduce using rule 40 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1310
|
|
|
|
|
|
state 1307
|
|
|
|
189 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 189 (class_statement)
|
|
|
|
|
|
state 1308
|
|
|
|
191 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 1305
|
|
'{' shift, and go to state 1306
|
|
|
|
method_body go to state 1311
|
|
|
|
|
|
state 1309
|
|
|
|
81 additional_catches: additional_catches T_CATCH '(' fully_qualified_class_name . T_VARIABLE ')' '{' inner_statement_list '}'
|
|
|
|
T_VARIABLE shift, and go to state 1312
|
|
|
|
|
|
state 1310
|
|
|
|
39 inner_statement_list: inner_statement_list . inner_statement
|
|
240 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
';' shift, and go to state 87
|
|
'{' shift, and go to state 88
|
|
'}' shift, and go to state 1313
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
inner_statement go to state 445
|
|
statement go to state 446
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 447
|
|
class_declaration_statement go to state 448
|
|
trait_declaration_statement go to state 449
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 1311
|
|
|
|
191 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 191 (class_statement)
|
|
|
|
|
|
state 1312
|
|
|
|
81 additional_catches: additional_catches T_CATCH '(' fully_qualified_class_name T_VARIABLE . ')' '{' inner_statement_list '}'
|
|
|
|
')' shift, and go to state 1314
|
|
|
|
|
|
state 1313
|
|
|
|
240 method_body: '{' inner_statement_list '}' .
|
|
|
|
$default reduce using rule 240 (method_body)
|
|
|
|
|
|
state 1314
|
|
|
|
81 additional_catches: additional_catches T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' . '{' inner_statement_list '}'
|
|
|
|
'{' shift, and go to state 1315
|
|
|
|
|
|
state 1315
|
|
|
|
81 additional_catches: additional_catches T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' . inner_statement_list '}'
|
|
|
|
$default reduce using rule 40 (inner_statement_list)
|
|
|
|
inner_statement_list go to state 1316
|
|
|
|
|
|
state 1316
|
|
|
|
39 inner_statement_list: inner_statement_list . inner_statement
|
|
81 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 140
|
|
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
|
|
T_SHAPE shift, and go to state 84
|
|
'(' shift, and go to state 86
|
|
';' shift, and go to state 87
|
|
'{' shift, and go to state 88
|
|
'}' shift, and go to state 1317
|
|
'$' shift, and go to state 89
|
|
'`' shift, and go to state 90
|
|
'"' shift, and go to state 91
|
|
'\'' shift, and go to state 92
|
|
|
|
ident go to state 94
|
|
namespace_name go to state 95
|
|
namespace_string_base go to state 96
|
|
namespace_string go to state 97
|
|
namespace_string_typeargs go to state 98
|
|
class_namespace_string_typeargs go to state 99
|
|
inner_statement go to state 445
|
|
statement go to state 446
|
|
function_loc go to state 102
|
|
function_declaration_statement go to state 447
|
|
class_declaration_statement go to state 448
|
|
trait_declaration_statement go to state 449
|
|
class_entry_type go to state 106
|
|
new_expr go to state 107
|
|
yield_expr go to state 108
|
|
yield_assign_expr go to state 109
|
|
yield_list_assign_expr go to state 110
|
|
expr go to state 111
|
|
expr_no_variable go to state 112
|
|
shape_literal go to state 113
|
|
array_literal go to state 114
|
|
collection_literal go to state 115
|
|
dim_expr go to state 116
|
|
dim_expr_base go to state 117
|
|
xhp_tag go to state 118
|
|
simple_function_call go to state 119
|
|
fully_qualified_class_name go to state 120
|
|
static_class_name go to state 121
|
|
common_scalar go to state 122
|
|
scalar go to state 123
|
|
non_empty_user_attributes go to state 124
|
|
dimmable_variable_access go to state 125
|
|
variable go to state 126
|
|
dimmable_variable go to state 127
|
|
callable_variable go to state 128
|
|
object_method_call go to state 129
|
|
class_method_call go to state 130
|
|
variable_without_objects go to state 131
|
|
reference_variable go to state 132
|
|
compound_variable go to state 133
|
|
simple_indirect_reference go to state 134
|
|
internal_functions go to state 135
|
|
class_constant go to state 136
|
|
|
|
|
|
state 1317
|
|
|
|
81 additional_catches: additional_catches T_CATCH '(' fully_qualified_class_name T_VARIABLE ')' '{' inner_statement_list '}' .
|
|
|
|
$default reduce using rule 81 (additional_catches)
|