예제 #1
0
 public object VisitPrintStmt(Stmt.Print stmt)
 {
     Resolve(stmt.expression);
     return(null);
 }
예제 #2
0
 public Void VisitPrintStmt(Stmt.Print stmt)
 {
     Resolve(stmt.Expr);
     return(null);
 }
예제 #3
0
 public object VisitPrintStmt(Stmt.Print stmt)
 {
     Console.WriteLine(Stringify(Evaluate(stmt.expression)));
     return(null);
 }
예제 #4
0
 public string VisitPrintStmt(Stmt.Print stmt)
 {
     throw new NotImplementedException();
 }
예제 #5
0
 public string VisitPrintStmt(Stmt.Print stmt) => Parenthesize("printstmt", stmt.expression);
예제 #6
0
        public object Visit(Stmt.Print _print)
        {
            Resolve(_print.expression);

            return(null);
        }