22 lines
313 B
C
22 lines
313 B
C
/**
|
|
* Holds the AST model
|
|
*/
|
|
#ifndef AST_H
|
|
#define AST_H
|
|
|
|
#include "ast/expression.h"
|
|
#include "ast/declaration.h"
|
|
#include "ast/module.h"
|
|
|
|
/**
|
|
* Frees a module and all its children.
|
|
*/
|
|
void ast_free_module(ModuleTree* module);
|
|
|
|
/**
|
|
* Frees a type expression.
|
|
*/
|
|
void ast_free_type(TypeTree* type);
|
|
|
|
#endif
|