[][src]Module ggbasm::ast

The AST produced by the parser.

You can manually create the types below and give them to the RomBuilder via RomBuilder::add_instructions(instructions)

Structs

BinaryExpr
UnaryExpr

Enums

BinaryOperator
Expr

Assembly uses constant expressions to avoid copying magic numbers around. Expr represents these constant expressions.

ExprRunError
Flag
Instruction

The main type in the AST, the parser creates an Instruction for each line in a *.asm

Reg8
Reg16
Reg16Push
UnaryOperator