UNPKG

@neo-one/smart-contract-compiler

Version:

NEO•ONE TypeScript smart contract compiler.

23 lines (21 loc) 810 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.add = void 0; const BuiltinInterface_1 = require("../BuiltinInterface"); const BuiltinValueObject_1 = require("../BuiltinValueObject"); class BooleanInterface extends BuiltinInterface_1.BuiltinInterface { } class BooleanValue extends BuiltinValueObject_1.BuiltinValueObject { constructor() { super(...arguments); this.type = 'BooleanConstructor'; } } class BooleanConstructorInterface extends BuiltinInterface_1.BuiltinInterface { } exports.add = (builtins) => { builtins.addInterface('Boolean', new BooleanInterface()); builtins.addValue('Boolean', new BooleanValue()); builtins.addInterface('BooleanConstructor', new BooleanConstructorInterface()); }; //# sourceMappingURL=index.js.map