Lines Matching refs:expr

244 %type <ast> expr optional_expr while_statement for_statement foreach_variable
482 | T_WHILE '(' expr ')' while_statement
484 | T_DO statement T_WHILE '(' expr ')' ';'
488 | T_SWITCH '(' expr ')' switch_case_list
497 | expr ';' { $$ = $1; }
499 | T_FOREACH '(' expr T_AS foreach_variable ')' foreach_statement
501 | T_FOREACH '(' expr T_AS foreach_variable T_DOUBLE_ARROW foreach_variable ')'
641 | case_list T_CASE expr case_separator inner_statement_list
654 T_MATCH '(' expr ')' '{' match_arm_list '}'
669 match_arm_cond_list possible_comma T_DOUBLE_ARROW expr
671 | T_DEFAULT possible_comma T_DOUBLE_ARROW expr
676 expr { $$ = zend_ast_create_list(1, ZEND_AST_EXPR_LIST, $1); }
677 | match_arm_cond_list ',' expr { $$ = zend_ast_list_add($1, $3); }
688 T_IF '(' expr ')' statement
691 | if_stmt_without_else T_ELSEIF '(' expr ')' statement
703 T_IF '(' expr ')' ':' inner_statement_list
706 | alt_if_stmt_without_else T_ELSEIF '(' expr ')' ':' inner_statement_list
749 is_reference is_variadic T_VARIABLE backup_doc_comment '=' expr
816 expr { $$ = $1; }
817 | identifier ':' expr
819 | T_ELLIPSIS expr { $$ = zend_ast_create(ZEND_AST_UNPACK, $2); }
840 | T_VARIABLE '=' expr { $$ = zend_ast_create(ZEND_AST_STATIC, $1, $3); }
962 | T_VARIABLE '=' expr backup_doc_comment
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); }
993 non_empty_for_exprs ',' expr { $$ = zend_ast_list_add($1, $3); }
994 | expr { $$ = zend_ast_create_list(1, ZEND_AST_EXPR_LIST, $1); }
1016 expr:
1019 | T_LIST '(' array_pair_list ')' '=' expr
1021 | '[' array_pair_list ']' '=' expr
1023 | variable '=' expr
1027 | T_CLONE expr { $$ = zend_ast_create(ZEND_AST_CLONE, $2); }
1028 | variable T_PLUS_EQUAL expr
1030 | variable T_MINUS_EQUAL expr
1032 | variable T_MUL_EQUAL expr
1034 | variable T_POW_EQUAL expr
1036 | variable T_DIV_EQUAL expr
1038 | variable T_CONCAT_EQUAL expr
1040 | variable T_MOD_EQUAL expr
1042 | variable T_AND_EQUAL expr
1044 | variable T_OR_EQUAL expr
1046 | variable T_XOR_EQUAL expr
1048 | variable T_SL_EQUAL expr
1050 | variable T_SR_EQUAL expr
1052 | variable T_COALESCE_EQUAL expr
1058 | expr T_BOOLEAN_OR expr
1060 | expr T_BOOLEAN_AND expr
1062 | expr T_LOGICAL_OR expr
1064 | expr T_LOGICAL_AND expr
1066 | expr T_LOGICAL_XOR expr
1068 | expr '|' expr { $$ = zend_ast_create_binary_op(ZEND_BW_OR, $1, $3); }
1069 | expr '&' expr { $$ = zend_ast_create_binary_op(ZEND_BW_AND, $1, $3); }
1070 | expr '^' expr { $$ = zend_ast_create_binary_op(ZEND_BW_XOR, $1, $3); }
1071 | expr '.' expr { $$ = zend_ast_create_binary_op(ZEND_CONCAT, $1, $3); }
1072 | expr '+' expr { $$ = zend_ast_create_binary_op(ZEND_ADD, $1, $3); }
1073 | expr '-' expr { $$ = zend_ast_create_binary_op(ZEND_SUB, $1, $3); }
1074 | expr '*' expr { $$ = zend_ast_create_binary_op(ZEND_MUL, $1, $3); }
1075 | expr T_POW expr { $$ = zend_ast_create_binary_op(ZEND_POW, $1, $3); }
1076 | expr '/' expr { $$ = zend_ast_create_binary_op(ZEND_DIV, $1, $3); }
1077 | expr '%' expr { $$ = zend_ast_create_binary_op(ZEND_MOD, $1, $3); }
1078 | expr T_SL expr { $$ = zend_ast_create_binary_op(ZEND_SL, $1, $3); }
1079 | expr T_SR expr { $$ = zend_ast_create_binary_op(ZEND_SR, $1, $3); }
1080 | '+' expr %prec '~' { $$ = zend_ast_create(ZEND_AST_UNARY_PLUS, $2); }
1081 | '-' expr %prec '~' { $$ = zend_ast_create(ZEND_AST_UNARY_MINUS, $2); }
1082 | '!' expr { $$ = zend_ast_create_ex(ZEND_AST_UNARY_OP, ZEND_BOOL_NOT, $2); }
1083 | '~' expr { $$ = zend_ast_create_ex(ZEND_AST_UNARY_OP, ZEND_BW_NOT, $2); }
1084 | expr T_IS_IDENTICAL expr
1086 | expr T_IS_NOT_IDENTICAL expr
1088 | expr T_IS_EQUAL expr
1090 | expr T_IS_NOT_EQUAL expr
1092 | expr '<' expr
1094 | expr T_IS_SMALLER_OR_EQUAL expr
1096 | expr '>' expr
1098 | expr T_IS_GREATER_OR_EQUAL expr
1100 | expr T_SPACESHIP expr
1102 | expr T_INSTANCEOF class_name_reference
1104 | '(' expr ')' {
1109 | expr '?' expr ':' expr
1111 | expr '?' ':' expr
1113 | expr T_COALESCE expr
1116 | T_INT_CAST expr { $$ = zend_ast_create_cast(IS_LONG, $2); }
1117 | T_DOUBLE_CAST expr { $$ = zend_ast_create_cast(IS_DOUBLE, $2); }
1118 | T_STRING_CAST expr { $$ = zend_ast_create_cast(IS_STRING, $2); }
1119 | T_ARRAY_CAST expr { $$ = zend_ast_create_cast(IS_ARRAY, $2); }
1120 | T_OBJECT_CAST expr { $$ = zend_ast_create_cast(IS_OBJECT, $2); }
1121 | T_BOOL_CAST expr { $$ = zend_ast_create_cast(_IS_BOOL, $2); }
1122 | T_UNSET_CAST expr { $$ = zend_ast_create_cast(IS_NULL, $2); }
1124 | '@' expr { $$ = zend_ast_create(ZEND_AST_SILENCE, $2); }
1127 | T_PRINT expr { $$ = zend_ast_create(ZEND_AST_PRINT, $2); }
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); }
1149 T_DOUBLE_ARROW backup_fn_flags backup_lex_pos expr backup_fn_flags
1218 | '(' expr ')' { $$ = $2; }
1280 | expr { $$ = $1; }
1289 | '(' expr ')' { $$ = $2; }
1301 | '(' expr ')' { $$ = $2; }
1310 | array_object_dereferencable '{' expr '}'
1332 | '$' '{' expr '}' { $$ = $3; }
1348 | new_variable '{' expr '}'
1362 | '{' expr '}' { $$ = $2; }
1368 | '{' expr '}' { $$ = $2; }
1390 expr T_DOUBLE_ARROW expr
1392 | expr
1394 | expr T_DOUBLE_ARROW '&' variable
1398 | T_ELLIPSIS expr
1400 | expr T_DOUBLE_ARROW T_LIST '(' array_pair_list ')'
1431 | T_DOLLAR_OPEN_CURLY_BRACES expr '}'
1435 | T_DOLLAR_OPEN_CURLY_BRACES T_STRING_VARNAME '[' expr ']' '}'
1451 | T_EMPTY '(' expr ')' { $$ = zend_ast_create(ZEND_AST_EMPTY, $3); }
1452 | T_INCLUDE expr
1454 | T_INCLUDE_ONCE expr
1456 | T_EVAL '(' expr ')'
1458 | T_REQUIRE expr
1460 | T_REQUIRE_ONCE expr
1471 expr { $$ = zend_ast_create(ZEND_AST_ISSET, $1); }