bind method
Implementation
LoxFunction bind(LoxInstance instance) {
Environment environment = Environment(closure);
environment.define("this", instance);
return LoxFunction(declaration, environment, isInitializer);
}
LoxFunction bind(LoxInstance instance) {
Environment environment = Environment(closure);
environment.define("this", instance);
return LoxFunction(declaration, environment, isInitializer);
}