Lines Matching refs:expr

257 %type <ast> expr optional_expr while_statement for_statement foreach_variable
506 | T_WHILE '(' expr ')' while_statement
508 | T_DO statement T_WHILE '(' expr ')' ';'
512 | T_SWITCH '(' expr ')' switch_case_list
521 | expr ';' { $$ = $1; }
523 | T_FOREACH '(' expr T_AS foreach_variable ')' foreach_statement
525 | T_FOREACH '(' expr T_AS foreach_variable T_DOUBLE_ARROW foreach_variable ')'
659 | '=' expr { $$ = $2; }
708 | case_list T_CASE expr case_separator inner_statement_list
721 T_MATCH '(' expr ')' '{' match_arm_list '}'
736 match_arm_cond_list possible_comma T_DOUBLE_ARROW expr
738 | T_DEFAULT possible_comma T_DOUBLE_ARROW expr
743 expr { $$ = zend_ast_create_list(1, ZEND_AST_EXPR_LIST, $1); }
744 | match_arm_cond_list ',' expr { $$ = zend_ast_list_add($1, $3); }
755 T_IF '(' expr ')' statement
758 | if_stmt_without_else T_ELSEIF '(' expr ')' statement
770 T_IF '(' expr ')' ':' inner_statement_list
773 | alt_if_stmt_without_else T_ELSEIF '(' expr ')' ':' inner_statement_list
817 is_reference is_variadic T_VARIABLE backup_doc_comment '=' expr optional_property_hook_list
910 expr { $$ = $1; }
911 | identifier ':' expr
913 | T_ELLIPSIS expr { $$ = zend_ast_create(ZEND_AST_UNPACK, $2); }
934 | T_VARIABLE '=' expr { $$ = zend_ast_create(ZEND_AST_STATIC, $1, $3); }
1089 | T_VARIABLE '=' expr backup_doc_comment
1096 | T_VARIABLE '=' expr backup_doc_comment '{' property_hook_list '}'
1135 | T_DOUBLE_ARROW expr ';'
1150 …T_STRING '=' expr backup_doc_comment { $$ = zend_ast_create(ZEND_AST_CONST_ELEM, $1, $3, ($4 ? zen…
1151 | semi_reserved '=' expr backup_doc_comment {
1159 …T_STRING '=' expr backup_doc_comment { $$ = zend_ast_create(ZEND_AST_CONST_ELEM, $1, $3, ($4 ? zen…
1167 expr { $$ = zend_ast_create(ZEND_AST_ECHO, $1); }
1176 non_empty_for_exprs ',' expr { $$ = zend_ast_list_add($1, $3); }
1177 | expr { $$ = zend_ast_create_list(1, ZEND_AST_EXPR_LIST, $1); }
1204 expr:
1207 | T_LIST '(' array_pair_list ')' '=' expr
1209 | '[' array_pair_list ']' '=' expr
1211 | variable '=' expr
1215 | T_CLONE expr { $$ = zend_ast_create(ZEND_AST_CLONE, $2); }
1216 | variable T_PLUS_EQUAL expr
1218 | variable T_MINUS_EQUAL expr
1220 | variable T_MUL_EQUAL expr
1222 | variable T_POW_EQUAL expr
1224 | variable T_DIV_EQUAL expr
1226 | variable T_CONCAT_EQUAL expr
1228 | variable T_MOD_EQUAL expr
1230 | variable T_AND_EQUAL expr
1232 | variable T_OR_EQUAL expr
1234 | variable T_XOR_EQUAL expr
1236 | variable T_SL_EQUAL expr
1238 | variable T_SR_EQUAL expr
1240 | variable T_COALESCE_EQUAL expr
1246 | expr T_BOOLEAN_OR expr
1248 | expr T_BOOLEAN_AND expr
1250 | expr T_LOGICAL_OR expr
1252 | expr T_LOGICAL_AND expr
1254 | expr T_LOGICAL_XOR expr
1256 | expr '|' expr { $$ = zend_ast_create_binary_op(ZEND_BW_OR, $1, $3); }
1257 …| expr T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG expr { $$ = zend_ast_create_binary_op(ZEND_BW_AND…
1258 …| expr T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG expr { $$ = zend_ast_create_binary_op(ZEND_BW_AND, $1…
1259 | expr '^' expr { $$ = zend_ast_create_binary_op(ZEND_BW_XOR, $1, $3); }
1260 | expr '.' expr { $$ = zend_ast_create_concat_op($1, $3); }
1261 | expr '+' expr { $$ = zend_ast_create_binary_op(ZEND_ADD, $1, $3); }
1262 | expr '-' expr { $$ = zend_ast_create_binary_op(ZEND_SUB, $1, $3); }
1263 | expr '*' expr { $$ = zend_ast_create_binary_op(ZEND_MUL, $1, $3); }
1264 | expr T_POW expr { $$ = zend_ast_create_binary_op(ZEND_POW, $1, $3); }
1265 | expr '/' expr { $$ = zend_ast_create_binary_op(ZEND_DIV, $1, $3); }
1266 | expr '%' expr { $$ = zend_ast_create_binary_op(ZEND_MOD, $1, $3); }
1267 | expr T_SL expr { $$ = zend_ast_create_binary_op(ZEND_SL, $1, $3); }
1268 | expr T_SR expr { $$ = zend_ast_create_binary_op(ZEND_SR, $1, $3); }
1269 | '+' expr %prec '~' { $$ = zend_ast_create(ZEND_AST_UNARY_PLUS, $2); }
1270 | '-' expr %prec '~' { $$ = zend_ast_create(ZEND_AST_UNARY_MINUS, $2); }
1271 | '!' expr { $$ = zend_ast_create_ex(ZEND_AST_UNARY_OP, ZEND_BOOL_NOT, $2); }
1272 | '~' expr { $$ = zend_ast_create_ex(ZEND_AST_UNARY_OP, ZEND_BW_NOT, $2); }
1273 | expr T_IS_IDENTICAL expr
1275 | expr T_IS_NOT_IDENTICAL expr
1277 | expr T_IS_EQUAL expr
1279 | expr T_IS_NOT_EQUAL expr
1281 | expr '<' expr
1283 | expr T_IS_SMALLER_OR_EQUAL expr
1285 | expr '>' expr
1287 | expr T_IS_GREATER_OR_EQUAL expr
1289 | expr T_SPACESHIP expr
1291 | expr T_INSTANCEOF class_name_reference
1293 | '(' expr ')' {
1299 | expr '?' expr ':' expr
1301 | expr '?' ':' expr
1303 | expr T_COALESCE expr
1306 | T_INT_CAST expr { $$ = zend_ast_create_cast(IS_LONG, $2); }
1307 | T_DOUBLE_CAST expr { $$ = zend_ast_create_cast(IS_DOUBLE, $2); }
1308 | T_STRING_CAST expr { $$ = zend_ast_create_cast(IS_STRING, $2); }
1309 | T_ARRAY_CAST expr { $$ = zend_ast_create_cast(IS_ARRAY, $2); }
1310 | T_OBJECT_CAST expr { $$ = zend_ast_create_cast(IS_OBJECT, $2); }
1311 | T_BOOL_CAST expr { $$ = zend_ast_create_cast(_IS_BOOL, $2); }
1312 | T_UNSET_CAST expr { $$ = zend_ast_create_cast(IS_NULL, $2); }
1318 | '@' expr { $$ = zend_ast_create(ZEND_AST_SILENCE, $2); }
1321 | T_PRINT expr { $$ = zend_ast_create(ZEND_AST_PRINT, $2); }
1323 …| T_YIELD expr { $$ = zend_ast_create(ZEND_AST_YIELD, $2, NULL); CG(extra_fn_flags) |= ZEND_ACC_GE…
1324 …| T_YIELD expr T_DOUBLE_ARROW expr { $$ = zend_ast_create(ZEND_AST_YIELD, $4, $2); CG(extra_fn_fla…
1325 …| T_YIELD_FROM expr { $$ = zend_ast_create(ZEND_AST_YIELD_FROM, $2); CG(extra_fn_flags) |= ZEND_AC…
1326 | T_THROW expr { $$ = zend_ast_create(ZEND_AST_THROW, $2); }
1343 T_DOUBLE_ARROW backup_fn_flags backup_lex_pos expr backup_fn_flags
1417 | '(' expr ')' { $$ = $2; }
1471 | class_name T_PAAMAYIM_NEKUDOTAYIM '{' expr '}'
1473 | variable_class_name T_PAAMAYIM_NEKUDOTAYIM '{' expr '}'
1479 | expr { $$ = $1; }
1488 | '(' expr ')' {
1504 | '(' expr ')' { $$ = $2; }
1534 | '$' '{' expr '}' { $$ = $3; }
1562 | '{' expr '}' { $$ = $2; }
1568 | '{' expr '}' { $$ = $2; }
1590 expr T_DOUBLE_ARROW expr
1592 | expr
1594 | expr T_DOUBLE_ARROW ampersand variable
1598 | T_ELLIPSIS expr
1600 | expr T_DOUBLE_ARROW T_LIST '(' array_pair_list ')'
1631 | T_DOLLAR_OPEN_CURLY_BRACES expr '}'
1635 | T_DOLLAR_OPEN_CURLY_BRACES T_STRING_VARNAME '[' expr ']' '}'
1651 | T_EMPTY '(' expr ')' { $$ = zend_ast_create(ZEND_AST_EMPTY, $3); }
1652 | T_INCLUDE expr
1654 | T_INCLUDE_ONCE expr
1656 | T_EVAL '(' expr ')'
1658 | T_REQUIRE expr
1660 | T_REQUIRE_ONCE expr
1671 expr { $$ = zend_ast_create(ZEND_AST_ISSET, $1); }