#include "utils/ast/ast_end.h" #include #include #include bool ast_is_end(struct ast *node) { assert(node != NULL); return node->type == AST_END; } struct ast *ast_create_end(void) { return ast_create(AST_END, NULL); }