コード例 #1
0
        public object visitStmtExpressionStmt(StmtExpression stmt)
        {
            object ret = evaluate(stmt.expression);

            if (ret != null)
            {
                Program.printInREPL(toString(ret));
            }

            return(null);
        }
コード例 #2
0
 public object visitStmtExpressionStmt(StmtExpression stmt)
 {
     resolve(stmt.expression);
     return(null);
 }