@powerlang/egg-js
Version:
A Smalltalk VM that runs on top of JavaScript
20 lines (13 loc) • 313 B
JavaScript
import SBinding from './SBinding.js';
let SSelfBinding = class extends SBinding {
static decodeUsing_(aTreecodeDecoder) {
return this.new();
}
isSelf() {
return true;
}
valueWithin_(anEvaluationContext) {
return anEvaluationContext.receiver();
}
}
export default SSelfBinding