Lines Matching refs:expr

253 %type <ast> expr optional_expr while_statement for_statement foreach_variable
500 | T_WHILE '(' expr ')' while_statement
502 | T_DO statement T_WHILE '(' expr ')' ';'
506 | T_SWITCH '(' expr ')' switch_case_list
515 | expr ';' { $$ = $1; }
517 | T_FOREACH '(' expr T_AS foreach_variable ')' foreach_statement
519 | T_FOREACH '(' expr T_AS foreach_variable T_DOUBLE_ARROW foreach_variable ')'
641 | '=' expr { $$ = $2; }
690 | case_list T_CASE expr case_separator inner_statement_list
703 T_MATCH '(' expr ')' '{' match_arm_list '}'
718 match_arm_cond_list possible_comma T_DOUBLE_ARROW expr
720 | T_DEFAULT possible_comma T_DOUBLE_ARROW expr
725 expr { $$ = zend_ast_create_list(1, ZEND_AST_EXPR_LIST, $1); }
726 | match_arm_cond_list ',' expr { $$ = zend_ast_list_add($1, $3); }
737 T_IF '(' expr ')' statement
740 | if_stmt_without_else T_ELSEIF '(' expr ')' statement
752 T_IF '(' expr ')' ':' inner_statement_list
755 | alt_if_stmt_without_else T_ELSEIF '(' expr ')' ':' inner_statement_list
803 is_reference is_variadic T_VARIABLE backup_doc_comment '=' expr
897 expr { $$ = $1; }
898 | identifier ':' expr
900 | T_ELLIPSIS expr { $$ = zend_ast_create(ZEND_AST_UNPACK, $2); }
921 | T_VARIABLE '=' expr { $$ = zend_ast_create(ZEND_AST_STATIC, $1, $3); }
1045 | T_VARIABLE '=' expr backup_doc_comment
1055 …identifier '=' expr backup_doc_comment { $$ = zend_ast_create(ZEND_AST_CONST_ELEM, $1, $3, ($4 ? z…
1059 …T_STRING '=' expr backup_doc_comment { $$ = zend_ast_create(ZEND_AST_CONST_ELEM, $1, $3, ($4 ? zen…
1067 expr { $$ = zend_ast_create(ZEND_AST_ECHO, $1); }
1076 non_empty_for_exprs ',' expr { $$ = zend_ast_list_add($1, $3); }
1077 | expr { $$ = zend_ast_create_list(1, ZEND_AST_EXPR_LIST, $1); }
1099 expr:
1102 | T_LIST '(' array_pair_list ')' '=' expr
1104 | '[' array_pair_list ']' '=' expr
1106 | variable '=' expr
1110 | T_CLONE expr { $$ = zend_ast_create(ZEND_AST_CLONE, $2); }
1111 | variable T_PLUS_EQUAL expr
1113 | variable T_MINUS_EQUAL expr
1115 | variable T_MUL_EQUAL expr
1117 | variable T_POW_EQUAL expr
1119 | variable T_DIV_EQUAL expr
1121 | variable T_CONCAT_EQUAL expr
1123 | variable T_MOD_EQUAL expr
1125 | variable T_AND_EQUAL expr
1127 | variable T_OR_EQUAL expr
1129 | variable T_XOR_EQUAL expr
1131 | variable T_SL_EQUAL expr
1133 | variable T_SR_EQUAL expr
1135 | variable T_COALESCE_EQUAL expr
1141 | expr T_BOOLEAN_OR expr
1143 | expr T_BOOLEAN_AND expr
1145 | expr T_LOGICAL_OR expr
1147 | expr T_LOGICAL_AND expr
1149 | expr T_LOGICAL_XOR expr
1151 | expr '|' expr { $$ = zend_ast_create_binary_op(ZEND_BW_OR, $1, $3); }
1152 …| expr T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG expr { $$ = zend_ast_create_binary_op(ZEND_BW_AND…
1153 …| expr T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG expr { $$ = zend_ast_create_binary_op(ZEND_BW_AND, $1…
1154 | expr '^' expr { $$ = zend_ast_create_binary_op(ZEND_BW_XOR, $1, $3); }
1155 | expr '.' expr { $$ = zend_ast_create_concat_op($1, $3); }
1156 | expr '+' expr { $$ = zend_ast_create_binary_op(ZEND_ADD, $1, $3); }
1157 | expr '-' expr { $$ = zend_ast_create_binary_op(ZEND_SUB, $1, $3); }
1158 | expr '*' expr { $$ = zend_ast_create_binary_op(ZEND_MUL, $1, $3); }
1159 | expr T_POW expr { $$ = zend_ast_create_binary_op(ZEND_POW, $1, $3); }
1160 | expr '/' expr { $$ = zend_ast_create_binary_op(ZEND_DIV, $1, $3); }
1161 | expr '%' expr { $$ = zend_ast_create_binary_op(ZEND_MOD, $1, $3); }
1162 | expr T_SL expr { $$ = zend_ast_create_binary_op(ZEND_SL, $1, $3); }
1163 | expr T_SR expr { $$ = zend_ast_create_binary_op(ZEND_SR, $1, $3); }
1164 | '+' expr %prec '~' { $$ = zend_ast_create(ZEND_AST_UNARY_PLUS, $2); }
1165 | '-' expr %prec '~' { $$ = zend_ast_create(ZEND_AST_UNARY_MINUS, $2); }
1166 | '!' expr { $$ = zend_ast_create_ex(ZEND_AST_UNARY_OP, ZEND_BOOL_NOT, $2); }
1167 | '~' expr { $$ = zend_ast_create_ex(ZEND_AST_UNARY_OP, ZEND_BW_NOT, $2); }
1168 | expr T_IS_IDENTICAL expr
1170 | expr T_IS_NOT_IDENTICAL expr
1172 | expr T_IS_EQUAL expr
1174 | expr T_IS_NOT_EQUAL expr
1176 | expr '<' expr
1178 | expr T_IS_SMALLER_OR_EQUAL expr
1180 | expr '>' expr
1182 | expr T_IS_GREATER_OR_EQUAL expr
1184 | expr T_SPACESHIP expr
1186 | expr T_INSTANCEOF class_name_reference
1188 | '(' expr ')' {
1193 | expr '?' expr ':' expr
1195 | expr '?' ':' expr
1197 | expr T_COALESCE expr
1200 | T_INT_CAST expr { $$ = zend_ast_create_cast(IS_LONG, $2); }
1201 | T_DOUBLE_CAST expr { $$ = zend_ast_create_cast(IS_DOUBLE, $2); }
1202 | T_STRING_CAST expr { $$ = zend_ast_create_cast(IS_STRING, $2); }
1203 | T_ARRAY_CAST expr { $$ = zend_ast_create_cast(IS_ARRAY, $2); }
1204 | T_OBJECT_CAST expr { $$ = zend_ast_create_cast(IS_OBJECT, $2); }
1205 | T_BOOL_CAST expr { $$ = zend_ast_create_cast(_IS_BOOL, $2); }
1206 | T_UNSET_CAST expr { $$ = zend_ast_create_cast(IS_NULL, $2); }
1208 | '@' expr { $$ = zend_ast_create(ZEND_AST_SILENCE, $2); }
1211 | T_PRINT expr { $$ = zend_ast_create(ZEND_AST_PRINT, $2); }
1213 …| T_YIELD expr { $$ = zend_ast_create(ZEND_AST_YIELD, $2, NULL); CG(extra_fn_flags) |= ZEND_ACC_GE…
1214 …| T_YIELD expr T_DOUBLE_ARROW expr { $$ = zend_ast_create(ZEND_AST_YIELD, $4, $2); CG(extra_fn_fla…
1215 …| T_YIELD_FROM expr { $$ = zend_ast_create(ZEND_AST_YIELD_FROM, $2); CG(extra_fn_flags) |= ZEND_AC…
1216 | T_THROW expr { $$ = zend_ast_create(ZEND_AST_THROW, $2); }
1233 T_DOUBLE_ARROW backup_fn_flags backup_lex_pos expr backup_fn_flags
1308 | '(' expr ')' { $$ = $2; }
1370 | expr { $$ = $1; }
1379 | '(' expr ')' { $$ = $2; }
1391 | '(' expr ')' { $$ = $2; }
1400 | array_object_dereferenceable '{' expr '}'
1422 | '$' '{' expr '}' { $$ = $3; }
1438 | new_variable '{' expr '}'
1452 | '{' expr '}' { $$ = $2; }
1458 | '{' expr '}' { $$ = $2; }
1480 expr T_DOUBLE_ARROW expr
1482 | expr
1484 | expr T_DOUBLE_ARROW ampersand variable
1488 | T_ELLIPSIS expr
1490 | expr T_DOUBLE_ARROW T_LIST '(' array_pair_list ')'
1521 | T_DOLLAR_OPEN_CURLY_BRACES expr '}'
1525 | T_DOLLAR_OPEN_CURLY_BRACES T_STRING_VARNAME '[' expr ']' '}'
1541 | T_EMPTY '(' expr ')' { $$ = zend_ast_create(ZEND_AST_EMPTY, $3); }
1542 | T_INCLUDE expr
1544 | T_INCLUDE_ONCE expr
1546 | T_EVAL '(' expr ')'
1548 | T_REQUIRE expr
1550 | T_REQUIRE_ONCE expr
1561 expr { $$ = zend_ast_create(ZEND_AST_ISSET, $1); }