| | |
| | | "webpack-sources/CachedSource", |
| | | new (class CachedSourceSerializer { |
| | | /** |
| | | * Serializes this instance into the provided serializer context. |
| | | * @param {CachedSource} source the cached source to be serialized |
| | | * @param {ObjectSerializerContext} context context |
| | | * @returns {void} |
| | |
| | | } |
| | | |
| | | /** |
| | | * Restores this instance from the provided deserializer context. |
| | | * @param {ObjectDeserializerContext} context context |
| | | * @returns {CachedSource} cached source |
| | | */ |
| | |
| | | "webpack-sources/RawSource", |
| | | new (class RawSourceSerializer { |
| | | /** |
| | | * Serializes this instance into the provided serializer context. |
| | | * @param {RawSource} source the raw source to be serialized |
| | | * @param {ObjectSerializerContext} context context |
| | | * @returns {void} |
| | |
| | | } |
| | | |
| | | /** |
| | | * Restores this instance from the provided deserializer context. |
| | | * @param {ObjectDeserializerContext} context context |
| | | * @returns {RawSource} raw source |
| | | */ |
| | |
| | | "webpack-sources/ConcatSource", |
| | | new (class ConcatSourceSerializer { |
| | | /** |
| | | * Serializes this instance into the provided serializer context. |
| | | * @param {ConcatSource} source the concat source to be serialized |
| | | * @param {ObjectSerializerContext} context context |
| | | * @returns {void} |
| | |
| | | } |
| | | |
| | | /** |
| | | * Restores this instance from the provided deserializer context. |
| | | * @param {ObjectDeserializerContext} context context |
| | | * @returns {ConcatSource} concat source |
| | | */ |
| | |
| | | "webpack-sources/PrefixSource", |
| | | new (class PrefixSourceSerializer { |
| | | /** |
| | | * Serializes this instance into the provided serializer context. |
| | | * @param {PrefixSource} source the prefix source to be serialized |
| | | * @param {ObjectSerializerContext} context context |
| | | * @returns {void} |
| | |
| | | } |
| | | |
| | | /** |
| | | * Restores this instance from the provided deserializer context. |
| | | * @param {ObjectDeserializerContext} context context |
| | | * @returns {PrefixSource} prefix source |
| | | */ |
| | |
| | | "webpack-sources/ReplaceSource", |
| | | new (class ReplaceSourceSerializer { |
| | | /** |
| | | * Serializes this instance into the provided serializer context. |
| | | * @param {ReplaceSource} source the replace source to be serialized |
| | | * @param {ObjectSerializerContext} context context |
| | | * @returns {void} |
| | |
| | | } |
| | | |
| | | /** |
| | | * Restores this instance from the provided deserializer context. |
| | | * @param {ObjectDeserializerContext} context context |
| | | * @returns {ReplaceSource} replace source |
| | | */ |
| | | deserialize({ read }) { |
| | | const source = new ReplaceSource(read(), read()); |
| | | const len = read(); |
| | | /** @type {number[]} */ |
| | | const startEndBuffer = []; |
| | | for (let i = 0; i < len; i++) { |
| | | startEndBuffer.push(read(), read()); |
| | |
| | | "webpack-sources/OriginalSource", |
| | | new (class OriginalSourceSerializer { |
| | | /** |
| | | * Serializes this instance into the provided serializer context. |
| | | * @param {OriginalSource} source the original source to be serialized |
| | | * @param {ObjectSerializerContext} context context |
| | | * @returns {void} |
| | |
| | | } |
| | | |
| | | /** |
| | | * Restores this instance from the provided deserializer context. |
| | | * @param {ObjectDeserializerContext} context context |
| | | * @returns {OriginalSource} original source |
| | | */ |
| | |
| | | "acorn/SourceLocation", |
| | | new (class SourceLocationSerializer { |
| | | /** |
| | | * Serializes this instance into the provided serializer context. |
| | | * @param {SourceLocation} loc the location to be serialized |
| | | * @param {ObjectSerializerContext} context context |
| | | * @returns {void} |
| | |
| | | } |
| | | |
| | | /** |
| | | * Restores this instance from the provided deserializer context. |
| | | * @param {ObjectDeserializerContext} context context |
| | | * @returns {RealDependencyLocation} location |
| | | */ |
| | |
| | | "acorn/Position", |
| | | new (class PositionSerializer { |
| | | /** |
| | | * Serializes this instance into the provided serializer context. |
| | | * @param {Position} pos the position to be serialized |
| | | * @param {ObjectSerializerContext} context context |
| | | * @returns {void} |
| | |
| | | } |
| | | |
| | | /** |
| | | * Restores this instance from the provided deserializer context. |
| | | * @param {ObjectDeserializerContext} context context |
| | | * @returns {SourcePosition} position |
| | | */ |
| | |
| | | "webpack-sources/SourceMapSource", |
| | | new (class SourceMapSourceSerializer { |
| | | /** |
| | | * Serializes this instance into the provided serializer context. |
| | | * @param {SourceMapSource} source the source map source to be serialized |
| | | * @param {ObjectSerializerContext} context context |
| | | * @returns {void} |
| | |
| | | } |
| | | |
| | | /** |
| | | * Restores this instance from the provided deserializer context. |
| | | * @param {ObjectDeserializerContext} context context |
| | | * @returns {SourceMapSource} source source map source |
| | | */ |
| | |
| | | "schema-utils/ValidationError", |
| | | new (class ValidationErrorSerializer { |
| | | /** |
| | | * Serializes this instance into the provided serializer context. |
| | | * @param {ValidationError} error the source map source to be serialized |
| | | * @param {ObjectSerializerContext} context context |
| | | * @returns {void} |
| | |
| | | } |
| | | |
| | | /** |
| | | * Restores this instance from the provided deserializer context. |
| | | * @param {ObjectDeserializerContext} context context |
| | | * @returns {ValidationError} error |
| | | */ |