Example #1
0
 public object visitExpressionStmt(Stmt.Expression stmt)
 {
     return(evaluate(stmt.expression));
 }
Example #2
0
 public object VisitExpressionStmt(Stmt.Expression stmt)
 {
     Resolve(stmt.expression);
     return(null);
 }
Example #3
0
 public Void VisitExpressionStmt(Stmt.Expression stmt)
 {
     Evaluate(stmt.Expr);
     return(null);
 }
Example #4
0
 public object VisitExpressionStmt(Stmt.Expression stmt)
 {
     Evaluate(stmt.expression);
     return(null);
 }
Example #5
0
 public Void VisitExpressionStmt(Stmt.Expression stmt)
 {
     Resolve(stmt.Expr);
     return(null);
 }
Example #6
0
 public string VisitExpressionStmt(Stmt.Expression stmt)
 {
     throw new NotImplementedException();
 }
Example #7
0
 public string VisitExpressionStmt(Stmt.Expression stmt) => Parenthesize("exprstmt", stmt.expression);
Example #8
0
        public object Visit(Stmt.Expression _expression)
        {
            Resolve(_expression.expression);

            return(null);
        }