void IAstVisitor.VisitNumber(AstNumber ast) { switch (ast) { case AstIntNumber i: AddInstr(new LoadConstantInstruction(LoadKind.Integer, i.Value)); break; case AstDoubleNumber d: AddInstr(new LoadConstantInstruction(LoadKind.Double, d.Value)); break; } }
void IAstVisitor.VisitNumber(AstNumber ast) { }