UNPKG

prepack

Version:

Execute a JS bundle, serialize global state and side effects to a snapshot that can be quickly restored.

80 lines (67 loc) 2.27 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.setCreate = setCreate; exports.setEnvironment = setEnvironment; exports.setFunctions = setFunctions; exports.setHavoc = setHavoc; exports.setJoin = setJoin; exports.setPath = setPath; exports.setProperties = setProperties; exports.setTo = setTo; exports.setWiden = setWiden; exports.setConcretize = setConcretize; exports.setUtils = setUtils; let Create = exports.Create = null; /** * Copyright (c) 2017-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ let Environment = exports.Environment = null; let Functions = exports.Functions = null; let Havoc = exports.Havoc = null; let Join = exports.Join = null; let Path = exports.Path = null; let Properties = exports.Properties = null; let To = exports.To = null; let Widen = exports.Widen = null; let concretize = exports.concretize = null; let Utils = exports.Utils = null; function setCreate(singleton) { exports.Create = Create = singleton; } function setEnvironment(singleton) { exports.Environment = Environment = singleton; } function setFunctions(singleton) { exports.Functions = Functions = singleton; } function setHavoc(singleton) { exports.Havoc = Havoc = singleton; } function setJoin(singleton) { exports.Join = Join = singleton; } function setPath(singleton) { exports.Path = Path = singleton; } function setProperties(singleton) { exports.Properties = Properties = singleton; } function setTo(singleton) { exports.To = To = singleton; } function setWiden(singleton) { exports.Widen = Widen = singleton; } function setConcretize(singleton) { exports.concretize = concretize = singleton; } function setUtils(singleton) { exports.Utils = Utils = singleton; } //# sourceMappingURL=singletons.js.map