LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ast::tasks Namespace Reference

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::DecsListthe_program = nullptr
 Global root node of abstract syntax tree.

Detailed Description

Task for ast.

Function Documentation

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"  )

Variable Documentation