LRDE Tiger Compiler
1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
|
Task for ast. More...
Functions | |
void | ast_display () |
void | ast_delete () |
TASK_GROUP ("2. Abstract Syntax Tree") | |
TASK_DECLARE ("A|ast-display","display the AST", ast_display,"parse") | |
Display the abstract syntax tree. | |
TASK_DECLARE ("D|ast-delete","delete the AST", ast_delete,"parse") | |
Free the ast (if defined) |
Variables | |
ast::DecsList * | the_program = nullptr |
Global root node of abstract syntax tree. |
Task for ast.
void ast::tasks::ast_delete | ( | ) |
References the_program.
void ast::tasks::ast_display | ( | ) |
References precondition, and the_program.
ast::tasks::TASK_DECLARE | ( | "A|ast-display" | , |
"display the AST" | , | ||
ast_display | , | ||
"parse" | |||
) |
Display the abstract syntax tree.
ast::tasks::TASK_DECLARE | ( | "D|ast-delete" | , |
"delete the AST" | , | ||
ast_delete | , | ||
"parse" | |||
) |
Free the ast (if defined)
ast::tasks::TASK_GROUP | ( | "2. Abstract Syntax Tree" | ) |
ast::DecsList * ast::tasks::the_program = nullptr |
Global root node of abstract syntax tree.
Referenced by ast_delete(), ast_display(), desugar::tasks::bound_checks_add(), callgraph::tasks::callgraph_compute(), astclone::tasks::clone(), desugar::tasks::desugar(), escapes::tasks::escapes_compute(), translate::tasks::hir_compute(), inlining::tasks::inline_expand(), object::tasks::object_desugar(), object::tasks::object_rename(), object::tasks::object_types_compute(), overload::tasks::overfun_bindings_compute(), overload::tasks::overfun_types_compute(), inlining::tasks::prune(), desugar::tasks::raw_bound_checks_add(), desugar::tasks::raw_desugar(), object::tasks::raw_object_desugar(), and type::tasks::types_check().