* Returns the unique identifier used to reference this module. * @returns {string} a unique identifier of the module
()
| 943 | * @returns {string} a unique identifier of the module |
| 944 | */ |
| 945 | identifier() { |
| 946 | if (this.layer === null) { |
| 947 | if (this.type === JAVASCRIPT_MODULE_TYPE_AUTO) { |
| 948 | return this.request; |
| 949 | } |
| 950 | return `${this.type}|${this.request}`; |
| 951 | } |
| 952 | return `${this.type}|${this.request}|${this.layer}`; |
| 953 | } |
| 954 | |
| 955 | /** |
| 956 | * Returns a human-readable identifier for this module. |
no outgoing calls
no test coverage detected