UNPKG

@visactor/vchart

Version:

charts lib based @visactor/VGrammar

24 lines (21 loc) 593 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: !0 }), exports.CompilableBase = void 0; class CompilableBase { getOption() { return this._option; } constructor(option) { this._option = option, this.getCompiler = this._option.getCompiler; } getStage() { var _a; return null === (_a = this.getCompiler()) || void 0 === _a ? void 0 : _a.getStage(); } release() { this._option = null, this.getCompiler = null; } } exports.CompilableBase = CompilableBase; //# sourceMappingURL=compilable-base.js.map