Lines Matching refs:ast
2968 zend_ast *ast = Z_ASTVAL(default_value); in ZEND_METHOD() local
2969 RETVAL_BOOL(ast->kind == ZEND_AST_CONSTANT in ZEND_METHOD()
2970 || ast->kind == ZEND_AST_CONSTANT_CLASS in ZEND_METHOD()
2971 || ast->kind == ZEND_AST_CLASS_CONST); in ZEND_METHOD()
3004 zend_ast *ast = Z_ASTVAL(default_value); in ZEND_METHOD() local
3005 if (ast->kind == ZEND_AST_CONSTANT) { in ZEND_METHOD()
3006 RETVAL_STR_COPY(zend_ast_get_constant_name(ast)); in ZEND_METHOD()
3007 } else if (ast->kind == ZEND_AST_CONSTANT_CLASS) { in ZEND_METHOD()
3009 } else if (ast->kind == ZEND_AST_CLASS_CONST) { in ZEND_METHOD()
3010 zend_string *class_name = zend_ast_get_str(ast->child[0]); in ZEND_METHOD()
3011 zend_string *const_name = zend_ast_get_str(ast->child[1]); in ZEND_METHOD()