MCPcopy
hub / github.com/webpack/webpack / deserialize

Method deserialize

lib/RawModule.js:181–191  ·  view source on GitHub ↗

* Restores this instance from the provided deserializer context. * @param {ObjectDeserializerContext} context context

(context)

Source from the content-addressed store, hash-verified

179 * @param {ObjectDeserializerContext} context context
180 */
181 deserialize(context) {
182 this.sourceStr = context.read();
183 const c1 = context.rest;
184 this.identifierStr = c1.read();
185 const c2 = c1.rest;
186 this.readableIdentifierStr = c2.read();
187 const c3 = c2.rest;
188 this.runtimeRequirements = c3.read();
189
190 super.deserialize(c3.rest);
191 }
192}
193
194makeSerializable(RawModule, "webpack/lib/RawModule");

Callers

nothing calls this directly

Calls 1

readMethod · 0.45

Tested by

no test coverage detected