Liking cljdoc? Tell your friends :D

dots.typescript.non-relative-module-name-resolution-cache

Stored map from non-relative module name to a table: directory -> result of module lookup in this directory We support only non-relative module names because resolution of relative module names is usually more deterministic and thus less expensive.

Stored map from non-relative module name to a table: directory -> result of module lookup in this directory
We support only non-relative module names because resolution of relative module names is usually more deterministic and thus less expensive.
raw docstring

clearcljs

(clear non-relative-module-name-resolution-cache)

Returns: void

**Returns:** `void`
sourceraw docstring

from-non-relative-name-cachecljs

(from-non-relative-name-cache non-relative-module-name-resolution-cache
                              non-relative-name)
(from-non-relative-name-cache non-relative-module-name-resolution-cache
                              non-relative-name
                              mode)
(from-non-relative-name-cache non-relative-module-name-resolution-cache
                              non-relative-name
                              mode
                              directory-name)
(from-non-relative-name-cache non-relative-module-name-resolution-cache
                              non-relative-name
                              mode
                              directory-name
                              redirected-reference)

Parameters:

  • non-relative-name: string
  • mode: ResolutionMode
  • directory-name: string
  • redirected-reference: ResolvedProjectReference | undefined

Returns: ResolvedModuleWithFailedLookupLocations | undefined

**Parameters:**
- `non-relative-name`: `string`
- `mode`: `ResolutionMode`
- `directory-name`: `string`
- `redirected-reference`: `ResolvedProjectReference | undefined`

**Returns:** `ResolvedModuleWithFailedLookupLocations | undefined`
sourceraw docstring

or-create-cache-for-module-namecljs

(or-create-cache-for-module-name non-relative-module-name-resolution-cache
                                 non-relative-module-name)
(or-create-cache-for-module-name non-relative-module-name-resolution-cache
                                 non-relative-module-name
                                 mode)
(or-create-cache-for-module-name non-relative-module-name-resolution-cache
                                 non-relative-module-name
                                 mode
                                 redirected-reference)

Parameters:

  • non-relative-module-name: string
  • mode: ResolutionMode
  • redirected-reference: ResolvedProjectReference | undefined

Returns: PerModuleNameCache

**Parameters:**
- `non-relative-module-name`: `string`
- `mode`: `ResolutionMode`
- `redirected-reference`: `ResolvedProjectReference | undefined`

**Returns:** `PerModuleNameCache`
sourceraw docstring

or-create-cache-for-non-relative-namecljs

(or-create-cache-for-non-relative-name non-relative-module-name-resolution-cache
                                       non-relative-name)
(or-create-cache-for-non-relative-name non-relative-module-name-resolution-cache
                                       non-relative-name
                                       mode)
(or-create-cache-for-non-relative-name non-relative-module-name-resolution-cache
                                       non-relative-name
                                       mode
                                       redirected-reference)

Parameters:

  • non-relative-name: string
  • mode: ResolutionMode
  • redirected-reference: ResolvedProjectReference | undefined

Returns: PerNonRelativeNameCache<ResolvedModuleWithFailedLookupLocations>

**Parameters:**
- `non-relative-name`: `string`
- `mode`: `ResolutionMode`
- `redirected-reference`: `ResolvedProjectReference | undefined`

**Returns:** `PerNonRelativeNameCache<ResolvedModuleWithFailedLookupLocations>`
sourceraw docstring

updatecljs

(update non-relative-module-name-resolution-cache options)

Updates with the current compilerOptions the cache will operate with. This updates the redirects map as well if needed so module resolutions are cached if they can across the projects

Parameters:

  • options: CompilerOptions

Returns: void

Updates with the current compilerOptions the cache will operate with.
This updates the redirects map as well if needed so module resolutions are cached if they can across the projects

**Parameters:**
- `options`: `CompilerOptions`

**Returns:** `void`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close