42sh/src/utils/ast/ast_void.h
2026-01-15 17:12:06 +01:00

20 lines
380 B
C

#ifndef AST_VOID_H
#define AST_VOID_H
#include <stdbool.h>
#include "utils/lists/lists.h"
#include "utils/ast/ast_base.h"
/**
* Checks if the given AST node is of type AST_VOID.
*/
bool ast_is_void(struct ast *node);
/**
* Creates a new AST node representing NOTHING
* WARNING: data will be a NULL pointer
*/
struct ast *ast_create_void(void);
#endif /* ! AST_VOID_H */