Lines Matching refs:ast_kind
131 uint16_t ast_kind; member
730 const zend_ast_kind ast_kind = ast->kind; in ast_fill_children_ht() local
733 zend_string *child_name = !is_list ? ast_kind_child_name(ast_kind, i) : NULL; in ast_fill_children_ht()
736 if (ast_kind == ZEND_AST_STMT_LIST) { in ast_fill_children_ht()
748 switch (ast_kind) { in ast_fill_children_ht()
776 if (ast_kind == ZEND_AST_CLASS && i == 4) { in ast_fill_children_ht()
783 if (ast_kind == ZEND_AST_CLASS_CONST_GROUP && i == 2) { in ast_fill_children_ht()
790 if (ast_kind == ZEND_AST_PROP_ELEM && i == 3) { in ast_fill_children_ht()
795 if (ast_kind == ZEND_AST_PROPERTY_HOOK && (i == 1 || i == 3)) { in ast_fill_children_ht()
800 if (ast_kind == ZEND_AST_PARAM && i == 5) { in ast_fill_children_ht()
813 } else if (ast_kind == ZEND_AST_CLOSURE_USES) { in ast_fill_children_ht()
828 && (ast_kind == ZEND_AST_FUNC_DECL || ast_kind == ZEND_AST_METHOD)) { in ast_fill_children_ht()
832 } else if (i == 1 && ast_kind == ZEND_AST_ARROW_FUNC) { in ast_fill_children_ht()
836 } else if (ast_kind == ZEND_AST_LIST && child != NULL) { in ast_fill_children_ht()
844 if (ast_kind == ZEND_AST_ARROW_FUNC && i == 2) { in ast_fill_children_ht()
863 if (ast_kind == ZEND_AST_PARAM) { in ast_fill_children_ht()
869 } else if (ast_kind == ZEND_AST_PROP_GROUP) { in ast_fill_children_ht()
880 if (ast_kind == ZEND_AST_PARAM || ast_kind == ZEND_AST_PROP_ELEM) { in ast_fill_children_ht()
889 if (ast_kind_is_decl(ast_kind)) { in ast_fill_children_ht()
900 if (ast_kind == ZEND_AST_CLASS) { in ast_fill_children_ht()
909 if (ast_kind == ZEND_AST_CLASS_CONST_GROUP) { in ast_fill_children_ht()
1299 static inline const ast_flag_info *ast_get_flag_info(uint16_t ast_kind) { in ast_get_flag_info() argument
1303 if (info->ast_kind == ast_kind) { in ast_get_flag_info()