Lines Matching refs:zend_ast_create

320 			{ $$ = zend_ast_create(ZEND_AST_HALT_COMPILER,
324 { $$ = zend_ast_create(ZEND_AST_NAMESPACE, $2, NULL);
328 { $$ = zend_ast_create(ZEND_AST_NAMESPACE, $2, $5); }
331 { $$ = zend_ast_create(ZEND_AST_NAMESPACE, NULL, $4); }
346 { $$ = zend_ast_create(ZEND_AST_GROUP_USE, $1, $4); }
348 { $$ = zend_ast_create(ZEND_AST_GROUP_USE, $2, $5); }
353 { $$ = zend_ast_create(ZEND_AST_GROUP_USE, $1, $4);}
355 { $$ = zend_ast_create(ZEND_AST_GROUP_USE, $2, $5); }
391 { $$ = zend_ast_create(ZEND_AST_USE_ELEM, $1, NULL); }
393 { $$ = zend_ast_create(ZEND_AST_USE_ELEM, $1, $3); }
431 { $$ = zend_ast_create(ZEND_AST_WHILE, $3, $5); }
433 { $$ = zend_ast_create(ZEND_AST_DO_WHILE, $2, $5); }
435 { $$ = zend_ast_create(ZEND_AST_FOR, $3, $5, $7, $9); }
437 { $$ = zend_ast_create(ZEND_AST_SWITCH, $3, $5); }
438 | T_BREAK optional_expr ';' { $$ = zend_ast_create(ZEND_AST_BREAK, $2); }
439 | T_CONTINUE optional_expr ';' { $$ = zend_ast_create(ZEND_AST_CONTINUE, $2); }
440 | T_RETURN optional_expr ';' { $$ = zend_ast_create(ZEND_AST_RETURN, $2); }
444 | T_INLINE_HTML { $$ = zend_ast_create(ZEND_AST_ECHO, $1); }
448 { $$ = zend_ast_create(ZEND_AST_FOREACH, $3, $5, NULL, $7); }
451 { $$ = zend_ast_create(ZEND_AST_FOREACH, $3, $7, $5, $9); }
455 { $$ = zend_ast_create(ZEND_AST_DECLARE, $3, $6); }
458 { $$ = zend_ast_create(ZEND_AST_TRY, $3, $5, $6); }
459 | T_THROW expr ';' { $$ = zend_ast_create(ZEND_AST_THROW, $2); }
460 | T_GOTO T_STRING ';' { $$ = zend_ast_create(ZEND_AST_GOTO, $2); }
461 | T_STRING ':' { $$ = zend_ast_create(ZEND_AST_LABEL, $1); }
468 { $$ = zend_ast_list_add($1, zend_ast_create(ZEND_AST_CATCH, $4, $5, $8)); }
487 variable { $$ = zend_ast_create(ZEND_AST_UNSET, $1); }
556 | '&' variable { $$ = zend_ast_create(ZEND_AST_REF, $2); }
586 { $$ = zend_ast_list_add($1, zend_ast_create(ZEND_AST_SWITCH_CASE, $3, $5)); }
588 { $$ = zend_ast_list_add($1, zend_ast_create(ZEND_AST_SWITCH_CASE, NULL, $4)); }
606 zend_ast_create(ZEND_AST_IF_ELEM, $3, $5)); }
609 zend_ast_create(ZEND_AST_IF_ELEM, $4, $6)); }
615 { $$ = zend_ast_list_add($1, zend_ast_create(ZEND_AST_IF_ELEM, NULL, $3)); }
621 zend_ast_create(ZEND_AST_IF_ELEM, $3, $6)); }
624 zend_ast_create(ZEND_AST_IF_ELEM, $4, $7)); }
631 zend_ast_create(ZEND_AST_IF_ELEM, NULL, $4)); }
690 | T_ELLIPSIS expr { $$ = zend_ast_create(ZEND_AST_UNPACK, $2); }
700 { $$ = zend_ast_create(ZEND_AST_GLOBAL, zend_ast_create(ZEND_AST_VAR, $1)); }
710 T_VARIABLE { $$ = zend_ast_create(ZEND_AST_STATIC, $1, NULL); }
711 | T_VARIABLE '=' expr { $$ = zend_ast_create(ZEND_AST_STATIC, $1, $3); }
725 { $$ = zend_ast_create(ZEND_AST_PROP_GROUP, $2, $3);
730 { $$ = zend_ast_create(ZEND_AST_USE_TRAIT, $2, $3); }
762 { $$ = zend_ast_create(ZEND_AST_TRAIT_PRECEDENCE, $1, $3); }
767 { $$ = zend_ast_create(ZEND_AST_TRAIT_ALIAS, $1, $3); }
769 …{ zval zv; zend_lex_tstring(&zv); $$ = zend_ast_create(ZEND_AST_TRAIT_ALIAS, $1, zend_ast_create_z…
778 { $$ = zend_ast_create(ZEND_AST_METHOD_REFERENCE, NULL, $1); }
784 { $$ = zend_ast_create(ZEND_AST_METHOD_REFERENCE, $1, $3); }
825 …{ $$ = zend_ast_create(ZEND_AST_PROP_ELEM, $1, NULL, ($2 ? zend_ast_create_zval_from_str($2) : NUL…
827 …{ $$ = zend_ast_create(ZEND_AST_PROP_ELEM, $1, $3, ($4 ? zend_ast_create_zval_from_str($4) : NULL)…
836 …identifier '=' expr backup_doc_comment { $$ = zend_ast_create(ZEND_AST_CONST_ELEM, $1, $3, ($4 ? z…
840 …T_STRING '=' expr backup_doc_comment { $$ = zend_ast_create(ZEND_AST_CONST_ELEM, $1, $3, ($4 ? zen…
848 expr { $$ = zend_ast_create(ZEND_AST_ECHO, $1); }
867 $$ = zend_ast_create(ZEND_AST_NEW, decl, $3);
873 { $$ = zend_ast_create(ZEND_AST_NEW, $2, $3); }
882 { $3->attr = ZEND_ARRAY_SYNTAX_LIST; $$ = zend_ast_create(ZEND_AST_ASSIGN, $3, $6); }
884 { $2->attr = ZEND_ARRAY_SYNTAX_SHORT; $$ = zend_ast_create(ZEND_AST_ASSIGN, $2, $5); }
886 { $$ = zend_ast_create(ZEND_AST_ASSIGN, $1, $3); }
888 { $$ = zend_ast_create(ZEND_AST_ASSIGN_REF, $1, $4); }
889 | T_CLONE expr { $$ = zend_ast_create(ZEND_AST_CLONE, $2); }
915 { $$ = zend_ast_create(ZEND_AST_ASSIGN_COALESCE, $1, $3); }
916 | variable T_INC { $$ = zend_ast_create(ZEND_AST_POST_INC, $1); }
917 | T_INC variable { $$ = zend_ast_create(ZEND_AST_PRE_INC, $2); }
918 | variable T_DEC { $$ = zend_ast_create(ZEND_AST_POST_DEC, $1); }
919 | T_DEC variable { $$ = zend_ast_create(ZEND_AST_PRE_DEC, $2); }
921 { $$ = zend_ast_create(ZEND_AST_OR, $1, $3); }
923 { $$ = zend_ast_create(ZEND_AST_AND, $1, $3); }
925 { $$ = zend_ast_create(ZEND_AST_OR, $1, $3); }
927 { $$ = zend_ast_create(ZEND_AST_AND, $1, $3); }
942 | '+' expr %prec '~' { $$ = zend_ast_create(ZEND_AST_UNARY_PLUS, $2); }
943 | '-' expr %prec '~' { $$ = zend_ast_create(ZEND_AST_UNARY_MINUS, $2); }
959 { $$ = zend_ast_create(ZEND_AST_GREATER, $1, $3); }
961 { $$ = zend_ast_create(ZEND_AST_GREATER_EQUAL, $1, $3); }
965 { $$ = zend_ast_create(ZEND_AST_INSTANCEOF, $1, $3); }
973 { $$ = zend_ast_create(ZEND_AST_CONDITIONAL, $1, $3, $5); }
975 { $$ = zend_ast_create(ZEND_AST_CONDITIONAL, $1, NULL, $4); }
977 { $$ = zend_ast_create(ZEND_AST_COALESCE, $1, $3); }
986 | T_EXIT exit_expr { $$ = zend_ast_create(ZEND_AST_EXIT, $2); }
987 | '@' expr { $$ = zend_ast_create(ZEND_AST_SILENCE, $2); }
989 | '`' backticks_expr '`' { $$ = zend_ast_create(ZEND_AST_SHELL_EXEC, $2); }
990 | T_PRINT expr { $$ = zend_ast_create(ZEND_AST_PRINT, $2); }
991 …| T_YIELD { $$ = zend_ast_create(ZEND_AST_YIELD, NULL, NULL); CG(extra_fn_flags) |= ZEND_ACC_GENER…
992 …| T_YIELD expr { $$ = zend_ast_create(ZEND_AST_YIELD, $2, NULL); CG(extra_fn_flags) |= ZEND_ACC_GE…
993 …| T_YIELD expr T_DOUBLE_ARROW expr { $$ = zend_ast_create(ZEND_AST_YIELD, $4, $2); CG(extra_fn_fla…
994 …| T_YIELD_FROM expr { $$ = zend_ast_create(ZEND_AST_YIELD_FROM, $2); CG(extra_fn_flags) |= ZEND_AC…
1009 zend_ast_create(ZEND_AST_RETURN, $11), $6);
1056 { $$ = zend_ast_create(ZEND_AST_CALL, $1, $2); }
1058 { $$ = zend_ast_create(ZEND_AST_STATIC_CALL, $1, $3, $4); }
1060 { $$ = zend_ast_create(ZEND_AST_STATIC_CALL, $1, $3, $4); }
1062 { $$ = zend_ast_create(ZEND_AST_CALL, $1, $2); }
1123 name { $$ = zend_ast_create(ZEND_AST_CONST, $1); }
1153 { $$ = zend_ast_create(ZEND_AST_VAR, $1); }
1155 { $$ = zend_ast_create(ZEND_AST_DIM, $1, $3); }
1157 { $$ = zend_ast_create(ZEND_AST_DIM, $1, $3); }
1161 { $$ = zend_ast_create(ZEND_AST_METHOD_CALL, $1, $3, $4); }
1171 { $$ = zend_ast_create(ZEND_AST_PROP, $1, $3); }
1177 | '$' simple_variable { $$ = zend_ast_create(ZEND_AST_VAR, $2); }
1182 { $$ = zend_ast_create(ZEND_AST_STATIC_PROP, $1, $3); }
1184 { $$ = zend_ast_create(ZEND_AST_STATIC_PROP, $1, $3); }
1189 { $$ = zend_ast_create(ZEND_AST_VAR, $1); }
1191 { $$ = zend_ast_create(ZEND_AST_DIM, $1, $3); }
1195 { $$ = zend_ast_create(ZEND_AST_PROP, $1, $3); }
1197 { $$ = zend_ast_create(ZEND_AST_STATIC_PROP, $1, $3); }
1199 { $$ = zend_ast_create(ZEND_AST_STATIC_PROP, $1, $3); }
1205 | simple_variable { $$ = zend_ast_create(ZEND_AST_VAR, $1); }
1211 | simple_variable { $$ = zend_ast_create(ZEND_AST_VAR, $1); }
1233 { $$ = zend_ast_create(ZEND_AST_ARRAY_ELEM, $3, $1); }
1235 { $$ = zend_ast_create(ZEND_AST_ARRAY_ELEM, $1, NULL); }
1241 { $$ = zend_ast_create(ZEND_AST_UNPACK, $2); }
1244 $$ = zend_ast_create(ZEND_AST_ARRAY_ELEM, $5, $1); }
1247 $$ = zend_ast_create(ZEND_AST_ARRAY_ELEM, $3, NULL); }
1263 { $$ = zend_ast_create(ZEND_AST_VAR, $1); }
1265 { $$ = zend_ast_create(ZEND_AST_DIM,
1266 zend_ast_create(ZEND_AST_VAR, $1), $3); }
1268 { $$ = zend_ast_create(ZEND_AST_PROP,
1269 zend_ast_create(ZEND_AST_VAR, $1), $3); }
1271 { $$ = zend_ast_create(ZEND_AST_VAR, $2); }
1273 { $$ = zend_ast_create(ZEND_AST_VAR, $2); }
1275 { $$ = zend_ast_create(ZEND_AST_DIM,
1276 zend_ast_create(ZEND_AST_VAR, $2), $4); }
1284 | T_VARIABLE { $$ = zend_ast_create(ZEND_AST_VAR, $1); }
1290 | T_EMPTY '(' expr ')' { $$ = zend_ast_create(ZEND_AST_EMPTY, $3); }
1306 { $$ = zend_ast_create(ZEND_AST_AND, $1, $3); }
1310 expr { $$ = zend_ast_create(ZEND_AST_ISSET, $1); }