public Unit VisitExpressionStmt(Stmt.ExpressionStmt stmt) { Resolve(stmt.Expression); return(new Unit()); }
public VoidObject VisitExpressionStmt(Stmt.ExpressionStmt stmt) { Resolve(stmt.Expression); return(VoidObject.Void); }
public LoxVoid VisitExpressionStmtStmt(Stmt.ExpressionStmt stmt) { Evalutate(stmt.Expression); return(null); }
public IEnumerable <string> VisitExpressionStmtStmt(Stmt.ExpressionStmt stmt) { yield return($"{PrintExpr(stmt.Expression)};"); }
public string VisitExpressionStmt(Stmt.ExpressionStmt stmt) { return(Parenthesize(";", stmt.Expression)); }
public LoxVoid VisitExpressionStmtStmt(Stmt.ExpressionStmt stmt) { Resolve(stmt.Expression); return(null); }