UNPKG

@powerlang/egg-js

Version:

A Smalltalk VM that runs on top of JavaScript

35 lines (24 loc) 497 B
import SLiteralVar from './SLiteralVar.js'; let SLiteral = class extends SLiteralVar { constructor() { super(); this._value = nil; } static decodeUsing_(aTreecodeDecoder) { return aTreecodeDecoder.decodeLiteral(); } acceptVisitor_(visitor) { return visitor.visitLiteral_(this); } isLiteral() { return true; } value() { return this._value; } value_(anObject) { this._value = anObject; return this; } } export default SLiteral