public string VisitPrintStmt(Stmt.Print stmt) { return(Parenthesize("print", stmt.Value)); }
public Void Visit(Stmt.Print stmt) { Resolve(stmt.Expr); return(Void.Instance); }
public Unit VisitPrintStmt(Stmt.Print stmt) { Resolve(stmt.Value); return(Unit.Default); }
object Stmt.IVisitor <object> .VisitPrintStmt(Stmt.Print stmt) { Resolve(stmt.expression); return(null); }