@abaplint/runtime
Version:
Transpiler - Runtime
15 lines • 505 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.IntegerFactory = void 0;
const types_1 = require("./types");
class IntegerFactory {
static get(value) {
if (IntegerFactory.map[value] === undefined) {
IntegerFactory.map[value] = new types_1.Integer().set(value).setConstant();
}
return IntegerFactory.map[value];
}
}
exports.IntegerFactory = IntegerFactory;
IntegerFactory.map = {};
//# sourceMappingURL=integer_factory.js.map