@powerlang/egg-js
Version:
A Smalltalk VM that runs on top of JavaScript
35 lines (24 loc) • 611 B
JavaScript
import SLocalBinding from './SLocalBinding.js';
let SArgumentBinding = class extends SLocalBinding {
constructor() {
super();
this._inlined = nil;
}
static decodeUsing_(aTreecodeDecoder) {
return aTreecodeDecoder.decodeArgument();
}
assign_within_(value, anEvaluationContext) {
this.halt();
return this;
}
isArgument() {
return true;
}
isInlined() {
return this._environment._equal(-1);
}
valueWithin_(anEvaluationContext) {
return anEvaluationContext.argumentAt_in_(this._position, this._environment);
}
}
export default SArgumentBinding