| | |
| | | |
| | | class ModuleDependency extends Dependency { |
| | | /** |
| | | * Creates an instance of ModuleDependency. |
| | | * @param {string} request request path which needs resolving |
| | | * @param {number=} sourceOrder source order |
| | | */ |
| | |
| | | this.sourceOrder = sourceOrder; |
| | | /** @type {Range | undefined} */ |
| | | this.range = undefined; |
| | | /** @type {undefined | string} */ |
| | | this._context = undefined; |
| | | } |
| | | |
| | | /** |
| | | * Returns a request context. |
| | | * @returns {string | undefined} a request context |
| | | */ |
| | | getContext() { |
| | |
| | | } |
| | | |
| | | /** |
| | | * Returns an identifier to merge equal requests. |
| | | * @returns {string | null} an identifier to merge equal requests |
| | | */ |
| | | getResourceIdentifier() { |
| | |
| | | } |
| | | |
| | | /** |
| | | * Could affect referencing module. |
| | | * @returns {boolean | TRANSITIVE} true, when changes to the referenced module could affect the referencing module; TRANSITIVE, when changes to the referenced module could affect referencing modules of the referencing module |
| | | */ |
| | | couldAffectReferencingModule() { |
| | |
| | | } |
| | | |
| | | /** |
| | | * Creates an ignored module. |
| | | * @param {string} context context directory |
| | | * @returns {Module} ignored module |
| | | */ |
| | |
| | | } |
| | | |
| | | /** |
| | | * 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) { |