- Preparing search index...
- The search index is not available
Markuplit API
Properties
Private
#recursiveLoadKeyAndDepth
#recursive
Load
Key
And
Depth
: Map<string, number> = ...
Methods
Private
_load
- _load(filePath: string, cache: boolean): Promise<null | Config>
-
Parameters
-
filePath: string
-
cache: boolean
Private
_mergeConfigs
- _mergeConfigs(keys: readonly string[], cache: boolean): Promise<{
config: Config;
errs: Error[];
files: Set<string>;
}>
-
Parameters
-
keys: readonly string[]
-
cache: boolean
Returns Promise<{
config: Config;
errs: Error[];
files: Set<string>;
}>
Private
_recursiveLoad
- _recursiveLoad(key: string, cache: boolean, depth?: number): Promise<{
errs: null | CircularReferenceError[];
stack: Set<string>;
}>
-
Parameters
-
key: string
-
cache: boolean
-
depth: number = 1
Returns Promise<{
errs: null | CircularReferenceError[];
stack: Set<string>;
}>
resolve
- resolve(targetFile: Readonly<MLFile>, names: readonly Nullable<string>[], cache?: boolean): Promise<ConfigSet>
-
Parameters
-
targetFile: Readonly<MLFile>
-
names: readonly Nullable<string>[]
-
cache: boolean = true
set
- set(config: Config, key?: string): string
-
Returns string