#ifndef AST_VOID_H #define AST_VOID_H #include #include "utils/ast/ast.h" /** * Checks if the given AST node is of type AST_VOID. */ bool ast_is_void(struct ast *node); /** * Retrieves the if statement data from the given AST node. * Assumes that the node is of type AST_VOID. */ struct ast_void *ast_get_void(struct ast *node); /** * Creates a new AST node representing NOTHING * WARNING: data will be a NULL pointer */ struct ast *ast_create_void(struct list *ast_list); #endif /* ! AST_VOID_H */