Lines Matching refs:attr
605 static inline zend_ast_attr ast_assign_op_to_binary_op(zend_ast_attr attr) { in ast_assign_op_to_binary_op() argument
606 switch (attr) { in ast_assign_op_to_binary_op()
648 zval *zv, zend_ast_kind kind, zend_ast_attr attr, uint32_t lineno, in ast_create_virtual_node_ex() argument
658 AST_NODE_SET_PROP_FLAGS(obj, attr); in ast_create_virtual_node_ex()
678 zval *zv, zend_ast_kind kind, zend_ast_attr attr, zend_ast *child, ast_state_info_t *state) { in ast_create_virtual_node() argument
682 zv, kind, attr, zend_ast_get_lineno(child), state, 1, &child_zv); in ast_create_virtual_node()
688 if (child->attr & ZEND_TYPE_NULLABLE) { in ast_name_to_zval()
690 child->attr &= ~ZEND_TYPE_NULLABLE; in ast_name_to_zval()
693 if (child->attr == ZEND_NAME_FQ) { in ast_name_to_zval()
705 if (child->attr == ZEND_NAME_NOT_FQ in ast_name_to_zval()
714 ast_create_virtual_node(child_zv, AST_NAME, child->attr, child, state); in ast_name_to_zval()
810 } else if (child && child->kind == ZEND_AST_TYPE && (child->attr & ZEND_TYPE_NULLABLE)) { in ast_fill_children_ht()
811 child->attr &= ~ZEND_TYPE_NULLABLE; in ast_fill_children_ht()
814 ast_create_virtual_node(&child_zv, AST_CLOSURE_VAR, child->attr, child, state); in ast_fill_children_ht()
939 ast->attr = ast_assign_op_to_binary_op(ast->attr); in ast_to_zval()
944 ast->attr = AST_BINARY_IS_GREATER; in ast_to_zval()
948 ast->attr = AST_BINARY_IS_GREATER_OR_EQUAL; in ast_to_zval()
952 ast->attr = AST_BINARY_BOOL_OR; in ast_to_zval()
956 ast->attr = AST_BINARY_BOOL_AND; in ast_to_zval()
960 ast->attr = AST_BINARY_COALESCE; in ast_to_zval()
964 ast->attr = AST_SILENCE; in ast_to_zval()
968 ast->attr = AST_PLUS; in ast_to_zval()
972 ast->attr = AST_MINUS; in ast_to_zval()
979 ast->child[0]->attr = ast->attr; in ast_to_zval()
993 AST_NODE_SET_PROP_FLAGS(Z_OBJ_P(zv), ast->attr); in ast_to_zval()
999 ast->attr = AST_BINARY_COALESCE; in ast_to_zval()
1007 … &class_name_zval, AST_NAME, ast->child[0]->attr, zend_ast_get_lineno(ast), state, 1, &name_zval); in ast_to_zval()
1017 if (ast->attr == ZEND_PARENTHESIZED_CONCAT) { in ast_to_zval()
1018 ast->attr = ZEND_CONCAT; in ast_to_zval()
1036 …&class_name_zval, AST_NAME, class_name_ast->attr, zend_ast_get_lineno(class_name_ast), state, 1, &… in ast_to_zval()
1103 AST_NODE_SET_PROP_FLAGS(obj, ast->attr); in ast_to_zval()
1117 …zv, ZEND_AST_PROP_GROUP, ast->attr, zend_ast_get_lineno(ast), state, 3, &type_zval, &prop_group_zv… in ast_to_zval()
1120 …zv, ZEND_AST_PROP_GROUP, ast->attr, zend_ast_get_lineno(ast), state, 2, &type_zval, &prop_group_zv… in ast_to_zval()
1134 …zv, ZEND_AST_CLASS_CONST_GROUP, ast->attr, zend_ast_get_lineno(ast), state, 2, &const_decl_zval, &… in ast_to_zval()