pub struct PrintOpts {
pub ast: bool,
pub finalized_asm: bool,
pub intermediate_asm: bool,
pub ir: bool,
}
Fields§
§ast: bool
Print the generated Sway AST (Abstract Syntax Tree).
finalized_asm: bool
Print the finalized ASM.
This is the state of the ASM with registers allocated and optimisations applied.
intermediate_asm: bool
Print the generated ASM.
This is the state of the ASM prior to performing register allocation and other ASM optimisations.
ir: bool
Print the generated Sway IR (Intermediate Representation).