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