Lines Matching refs:ast
2909 zend_ast *ast = Z_ASTVAL(default_value); in ZEND_METHOD() local
2910 RETVAL_BOOL(ast->kind == ZEND_AST_CONSTANT in ZEND_METHOD()
2911 || ast->kind == ZEND_AST_CONSTANT_CLASS in ZEND_METHOD()
2912 || ast->kind == ZEND_AST_CLASS_CONST); in ZEND_METHOD()
2943 zend_ast *ast = Z_ASTVAL(default_value); in ZEND_METHOD() local
2944 if (ast->kind == ZEND_AST_CONSTANT) { in ZEND_METHOD()
2945 RETVAL_STR_COPY(zend_ast_get_constant_name(ast)); in ZEND_METHOD()
2946 } else if (ast->kind == ZEND_AST_CONSTANT_CLASS) { in ZEND_METHOD()
2948 } else if (ast->kind == ZEND_AST_CLASS_CONST) { in ZEND_METHOD()
2949 zend_string *class_name = zend_ast_get_str(ast->child[0]); in ZEND_METHOD()
2950 zend_string *const_name = zend_ast_get_str(ast->child[1]); in ZEND_METHOD()