UNPKG

@powerlang/egg-js

Version:

A Smalltalk VM that runs on top of JavaScript

38 lines (27 loc) 556 B
import SBinding from './SBinding.js'; let SLocalBinding = class extends SBinding { constructor() { super(); this._position = nil; this._environment = nil; } environment() { return this._environment; } environment_(anInteger) { this._environment = anInteger; return this; } index() { return this._position; } index_(anInteger) { this._position = anInteger; return this; } isInStack() { this.ASSERT_(false); return this._environment._equal(0); } } export default SLocalBinding