public object visitLambdaExpr(Expr.Lambda expr) { ResolveFunction(expr.parameters, expr.body, FunctionType.LAMBDA); return(null); }
public string visitLambdaExpr(Expr.Lambda expr) { return(parenthesize("LAMBDA")); }
public LoxLambda(Expr.Lambda lambda, Environment closure) { this.lambda = lambda; this.closure = closure; }
public object visitLambdaExpr(Expr.Lambda expr) { return(new LoxLambda(expr, environment)); }