예제 #1
0
        public object visitEchoStmt(Stmt.Echo stmt)
        {
            object value = evaluate(stmt.expression);

            System.Console.WriteLine(stringify(value));
            return(null);
        }
예제 #2
0
 public object visitEchoStmt(Stmt.Echo stmt)
 {
     resolve(stmt.expression);
     return(null);
 }