Expand description
Data structure, parser and ir generator for functions.
Modules§
- Data structure, parser and ir generator for basic blocks.
- Functions to generate IR from AST.
- Data structure, parser and ir generator for function’s parameter.
- Data structure, parser and ir generator for ir statements.
Structs§
FunctionDefinition
represents a function definition.- Index to access statements in a function. (block_index, statement_index)
Functions§
- Generate
FunctionDefinition
fromast::function_definition::FunctionDefinition
. - Parse the ir code to get a
FunctionDefinition
.