Lines Matching refs:zend_ast_create

343 			{ $$ = zend_ast_create(ZEND_AST_ATTRIBUTE, $1, NULL); }
345 { $$ = zend_ast_create(ZEND_AST_ATTRIBUTE, $1, $2); }
376 { $$ = zend_ast_create(ZEND_AST_HALT_COMPILER,
380 { $$ = zend_ast_create(ZEND_AST_NAMESPACE, $2, NULL);
384 { $$ = zend_ast_create(ZEND_AST_NAMESPACE, $2, $5); }
387 { $$ = zend_ast_create(ZEND_AST_NAMESPACE, NULL, $4); }
402 { $$ = zend_ast_create(ZEND_AST_GROUP_USE, $1, $4); }
407 { $$ = zend_ast_create(ZEND_AST_GROUP_USE, $1, $4);}
443 { $$ = zend_ast_create(ZEND_AST_USE_ELEM, $1, NULL); }
445 { $$ = zend_ast_create(ZEND_AST_USE_ELEM, $1, $3); }
450 { $$ = zend_ast_create(ZEND_AST_USE_ELEM, $1, NULL); }
452 { $$ = zend_ast_create(ZEND_AST_USE_ELEM, $1, $3); }
483 { $$ = zend_ast_create(ZEND_AST_WHILE, $3, $5); }
485 { $$ = zend_ast_create(ZEND_AST_DO_WHILE, $2, $5); }
487 { $$ = zend_ast_create(ZEND_AST_FOR, $3, $5, $7, $9); }
489 { $$ = zend_ast_create(ZEND_AST_SWITCH, $3, $5); }
490 | T_BREAK optional_expr ';' { $$ = zend_ast_create(ZEND_AST_BREAK, $2); }
491 | T_CONTINUE optional_expr ';' { $$ = zend_ast_create(ZEND_AST_CONTINUE, $2); }
492 | T_RETURN optional_expr ';' { $$ = zend_ast_create(ZEND_AST_RETURN, $2); }
496 | T_INLINE_HTML { $$ = zend_ast_create(ZEND_AST_ECHO, $1); }
500 { $$ = zend_ast_create(ZEND_AST_FOREACH, $3, $5, NULL, $7); }
503 { $$ = zend_ast_create(ZEND_AST_FOREACH, $3, $7, $5, $9); }
507 { $$ = zend_ast_create(ZEND_AST_DECLARE, $3, $6); }
510 { $$ = zend_ast_create(ZEND_AST_TRY, $3, $5, $6); }
511 | T_GOTO T_STRING ';' { $$ = zend_ast_create(ZEND_AST_GOTO, $2); }
512 | T_STRING ':' { $$ = zend_ast_create(ZEND_AST_LABEL, $1); }
519 { $$ = zend_ast_list_add($1, zend_ast_create(ZEND_AST_CATCH, $4, $5, $8)); }
543 variable { $$ = zend_ast_create(ZEND_AST_UNSET, $1); }
612 | '&' variable { $$ = zend_ast_create(ZEND_AST_REF, $2); }
642 { $$ = zend_ast_list_add($1, zend_ast_create(ZEND_AST_SWITCH_CASE, $3, $5)); }
644 { $$ = zend_ast_list_add($1, zend_ast_create(ZEND_AST_SWITCH_CASE, NULL, $4)); }
655 { $$ = zend_ast_create(ZEND_AST_MATCH, $3, $6); };
670 { $$ = zend_ast_create(ZEND_AST_MATCH_ARM, $1, $4); }
672 { $$ = zend_ast_create(ZEND_AST_MATCH_ARM, NULL, $4); }
690 zend_ast_create(ZEND_AST_IF_ELEM, $3, $5)); }
693 zend_ast_create(ZEND_AST_IF_ELEM, $4, $6)); }
699 { $$ = zend_ast_list_add($1, zend_ast_create(ZEND_AST_IF_ELEM, NULL, $3)); }
705 zend_ast_create(ZEND_AST_IF_ELEM, $3, $6)); }
708 zend_ast_create(ZEND_AST_IF_ELEM, $4, $7)); }
715 zend_ast_create(ZEND_AST_IF_ELEM, NULL, $4)); }
818 { $$ = zend_ast_create(ZEND_AST_NAMED_ARG, $1, $3); }
819 | T_ELLIPSIS expr { $$ = zend_ast_create(ZEND_AST_UNPACK, $2); }
829 { $$ = zend_ast_create(ZEND_AST_GLOBAL, zend_ast_create(ZEND_AST_VAR, $1)); }
839 T_VARIABLE { $$ = zend_ast_create(ZEND_AST_STATIC, $1, NULL); }
840 | T_VARIABLE '=' expr { $$ = zend_ast_create(ZEND_AST_STATIC, $1, $3); }
853 { $$ = zend_ast_create(ZEND_AST_PROP_GROUP, $2, $3, NULL);
856 { $$ = zend_ast_create(ZEND_AST_CLASS_CONST_GROUP, $3, NULL);
868 { $$ = zend_ast_create(ZEND_AST_USE_TRAIT, $2, $3); }
896 { $$ = zend_ast_create(ZEND_AST_TRAIT_PRECEDENCE, $1, $3); }
901 { $$ = zend_ast_create(ZEND_AST_TRAIT_ALIAS, $1, $3); }
905 $$ = zend_ast_create(ZEND_AST_TRAIT_ALIAS, $1, zend_ast_create_zval(&zv)); }
914 { $$ = zend_ast_create(ZEND_AST_METHOD_REFERENCE, NULL, $1); }
920 { $$ = zend_ast_create(ZEND_AST_METHOD_REFERENCE, $1, $3); }
961 …{ $$ = zend_ast_create(ZEND_AST_PROP_ELEM, $1, NULL, ($2 ? zend_ast_create_zval_from_str($2) : NUL…
963 …{ $$ = zend_ast_create(ZEND_AST_PROP_ELEM, $1, $3, ($4 ? zend_ast_create_zval_from_str($4) : NULL)…
972 …identifier '=' expr backup_doc_comment { $$ = zend_ast_create(ZEND_AST_CONST_ELEM, $1, $3, ($4 ? z…
976 …T_STRING '=' expr backup_doc_comment { $$ = zend_ast_create(ZEND_AST_CONST_ELEM, $1, $3, ($4 ? zen…
984 expr { $$ = zend_ast_create(ZEND_AST_ECHO, $1); }
1003 $$ = zend_ast_create(ZEND_AST_NEW, decl, $3);
1009 { $$ = zend_ast_create(ZEND_AST_NEW, $2, $3); }
1020 { $3->attr = ZEND_ARRAY_SYNTAX_LIST; $$ = zend_ast_create(ZEND_AST_ASSIGN, $3, $6); }
1022 { $2->attr = ZEND_ARRAY_SYNTAX_SHORT; $$ = zend_ast_create(ZEND_AST_ASSIGN, $2, $5); }
1024 { $$ = zend_ast_create(ZEND_AST_ASSIGN, $1, $3); }
1026 { $$ = zend_ast_create(ZEND_AST_ASSIGN_REF, $1, $4); }
1027 | T_CLONE expr { $$ = zend_ast_create(ZEND_AST_CLONE, $2); }
1053 { $$ = zend_ast_create(ZEND_AST_ASSIGN_COALESCE, $1, $3); }
1054 | variable T_INC { $$ = zend_ast_create(ZEND_AST_POST_INC, $1); }
1055 | T_INC variable { $$ = zend_ast_create(ZEND_AST_PRE_INC, $2); }
1056 | variable T_DEC { $$ = zend_ast_create(ZEND_AST_POST_DEC, $1); }
1057 | T_DEC variable { $$ = zend_ast_create(ZEND_AST_PRE_DEC, $2); }
1059 { $$ = zend_ast_create(ZEND_AST_OR, $1, $3); }
1061 { $$ = zend_ast_create(ZEND_AST_AND, $1, $3); }
1063 { $$ = zend_ast_create(ZEND_AST_OR, $1, $3); }
1065 { $$ = zend_ast_create(ZEND_AST_AND, $1, $3); }
1080 | '+' expr %prec '~' { $$ = zend_ast_create(ZEND_AST_UNARY_PLUS, $2); }
1081 | '-' expr %prec '~' { $$ = zend_ast_create(ZEND_AST_UNARY_MINUS, $2); }
1097 { $$ = zend_ast_create(ZEND_AST_GREATER, $1, $3); }
1099 { $$ = zend_ast_create(ZEND_AST_GREATER_EQUAL, $1, $3); }
1103 { $$ = zend_ast_create(ZEND_AST_INSTANCEOF, $1, $3); }
1110 { $$ = zend_ast_create(ZEND_AST_CONDITIONAL, $1, $3, $5); }
1112 { $$ = zend_ast_create(ZEND_AST_CONDITIONAL, $1, NULL, $4); }
1114 { $$ = zend_ast_create(ZEND_AST_COALESCE, $1, $3); }
1123 | T_EXIT exit_expr { $$ = zend_ast_create(ZEND_AST_EXIT, $2); }
1124 | '@' expr { $$ = zend_ast_create(ZEND_AST_SILENCE, $2); }
1126 | '`' backticks_expr '`' { $$ = zend_ast_create(ZEND_AST_SHELL_EXEC, $2); }
1127 | T_PRINT expr { $$ = zend_ast_create(ZEND_AST_PRINT, $2); }
1128 …| T_YIELD { $$ = zend_ast_create(ZEND_AST_YIELD, NULL, NULL); CG(extra_fn_flags) |= ZEND_ACC_GENER…
1129 …| T_YIELD expr { $$ = zend_ast_create(ZEND_AST_YIELD, $2, NULL); CG(extra_fn_flags) |= ZEND_ACC_GE…
1130 …| T_YIELD expr T_DOUBLE_ARROW expr { $$ = zend_ast_create(ZEND_AST_YIELD, $4, $2); CG(extra_fn_fla…
1131 …| T_YIELD_FROM expr { $$ = zend_ast_create(ZEND_AST_YIELD_FROM, $2); CG(extra_fn_flags) |= ZEND_AC…
1132 | T_THROW expr { $$ = zend_ast_create(ZEND_AST_THROW, $2); }
1152 zend_ast_create(ZEND_AST_RETURN, $11), $7, NULL);
1199 { $$ = zend_ast_create(ZEND_AST_CALL, $1, $2); }
1201 { $$ = zend_ast_create(ZEND_AST_STATIC_CALL, $1, $3, $4); }
1203 { $$ = zend_ast_create(ZEND_AST_STATIC_CALL, $1, $3, $4); }
1205 { $$ = zend_ast_create(ZEND_AST_CALL, $1, $2); }
1260 name { $$ = zend_ast_create(ZEND_AST_CONST, $1); }
1307 { $$ = zend_ast_create(ZEND_AST_VAR, $1); }
1309 { $$ = zend_ast_create(ZEND_AST_DIM, $1, $3); }
1313 { $$ = zend_ast_create(ZEND_AST_METHOD_CALL, $1, $3, $4); }
1315 { $$ = zend_ast_create(ZEND_AST_NULLSAFE_METHOD_CALL, $1, $3, $4); }
1325 { $$ = zend_ast_create(ZEND_AST_PROP, $1, $3); }
1327 { $$ = zend_ast_create(ZEND_AST_NULLSAFE_PROP, $1, $3); }
1333 | '$' simple_variable { $$ = zend_ast_create(ZEND_AST_VAR, $2); }
1338 { $$ = zend_ast_create(ZEND_AST_STATIC_PROP, $1, $3); }
1340 { $$ = zend_ast_create(ZEND_AST_STATIC_PROP, $1, $3); }
1345 { $$ = zend_ast_create(ZEND_AST_VAR, $1); }
1347 { $$ = zend_ast_create(ZEND_AST_DIM, $1, $3); }
1351 { $$ = zend_ast_create(ZEND_AST_PROP, $1, $3); }
1353 { $$ = zend_ast_create(ZEND_AST_NULLSAFE_PROP, $1, $3); }
1355 { $$ = zend_ast_create(ZEND_AST_STATIC_PROP, $1, $3); }
1357 { $$ = zend_ast_create(ZEND_AST_STATIC_PROP, $1, $3); }
1363 | simple_variable { $$ = zend_ast_create(ZEND_AST_VAR, $1); }
1369 | simple_variable { $$ = zend_ast_create(ZEND_AST_VAR, $1); }
1391 { $$ = zend_ast_create(ZEND_AST_ARRAY_ELEM, $3, $1); }
1393 { $$ = zend_ast_create(ZEND_AST_ARRAY_ELEM, $1, NULL); }
1399 { $$ = zend_ast_create(ZEND_AST_UNPACK, $2); }
1402 $$ = zend_ast_create(ZEND_AST_ARRAY_ELEM, $5, $1); }
1405 $$ = zend_ast_create(ZEND_AST_ARRAY_ELEM, $3, NULL); }
1421 { $$ = zend_ast_create(ZEND_AST_VAR, $1); }
1423 { $$ = zend_ast_create(ZEND_AST_DIM,
1424 zend_ast_create(ZEND_AST_VAR, $1), $3); }
1426 { $$ = zend_ast_create(ZEND_AST_PROP,
1427 zend_ast_create(ZEND_AST_VAR, $1), $3); }
1429 { $$ = zend_ast_create(ZEND_AST_NULLSAFE_PROP,
1430 zend_ast_create(ZEND_AST_VAR, $1), $3); }
1432 { $$ = zend_ast_create(ZEND_AST_VAR, $2); }
1434 { $$ = zend_ast_create(ZEND_AST_VAR, $2); }
1436 { $$ = zend_ast_create(ZEND_AST_DIM,
1437 zend_ast_create(ZEND_AST_VAR, $2), $4); }
1445 | T_VARIABLE { $$ = zend_ast_create(ZEND_AST_VAR, $1); }
1451 | T_EMPTY '(' expr ')' { $$ = zend_ast_create(ZEND_AST_EMPTY, $3); }
1467 { $$ = zend_ast_create(ZEND_AST_AND, $1, $3); }
1471 expr { $$ = zend_ast_create(ZEND_AST_ISSET, $1); }