| | |
| | | /** @typedef {import("../util/Hash")} Hash */ |
| | | |
| | | /** |
| | | * Defines the get exports from data fn callback. |
| | | * @callback GetExportsFromDataFn |
| | | * @param {JsonValue} data raw json data |
| | | * @param {number=} curDepth current depth |
| | |
| | | */ |
| | | |
| | | /** |
| | | * Gets exports with depth. |
| | | * @param {number} exportsDepth exportsDepth |
| | | * @returns {GetExportsFromDataFn} value |
| | | */ |
| | |
| | | |
| | | class JsonExportsDependency extends NullDependency { |
| | | /** |
| | | * Creates an instance of JsonExportsDependency. |
| | | * @param {JsonData} data json data |
| | | * @param {number} exportsDepth the depth of json exports to analyze |
| | | */ |
| | |
| | | } |
| | | |
| | | /** |
| | | * Update the hash |
| | | * Updates the hash with the data contributed by this instance. |
| | | * @param {Hash} hash hash to be updated |
| | | * @param {UpdateHashContext} context context |
| | | * @returns {void} |
| | |
| | | } |
| | | |
| | | /** |
| | | * Serializes this instance into the provided serializer context. |
| | | * @param {ObjectSerializerContext} context context |
| | | */ |
| | | serialize(context) { |
| | |
| | | } |
| | | |
| | | /** |
| | | * Restores this instance from the provided deserializer context. |
| | | * @param {ObjectDeserializerContext} context context |
| | | */ |
| | | deserialize(context) { |