SourceRegistry
Defined in: src/node/Sources.ts:3
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SourceRegistry(): SourceRegistry;Defined in: src/node/Sources.ts:8
Returns
Section titled “Returns”SourceRegistry
Properties
Section titled “Properties”| Property (defined in) | Type |
|---|---|
mappings (src/node/Sources.ts:4) | Map<string, string> |
matchers (src/node/Sources.ts:5) | Map<string, RegExp> |
plugins (src/node/Sources.ts:6) | Map<string, string> |
Methods
Section titled “Methods”getAllMappings()
Section titled “getAllMappings()”getAllMappings(): Record<string, string>;Defined in: src/node/Sources.ts:31
Returns
Section titled “Returns”Record<string, string>
getAllMatchers()
Section titled “getAllMatchers()”getAllMatchers(): Record<string, RegExp>;Defined in: src/node/Sources.ts:35
Returns
Section titled “Returns”Record<string, RegExp>
getAllPlugins()
Section titled “getAllPlugins()”getAllPlugins(): Record<string, string>;Defined in: src/node/Sources.ts:39
Returns
Section titled “Returns”Record<string, string>
getMapping()
Section titled “getMapping()”getMapping(alias: string): string;Defined in: src/node/Sources.ts:27
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
alias | string |
Returns
Section titled “Returns”string
registerMapping()
Section titled “registerMapping()”registerMapping(alias: string, target: string): void;Defined in: src/node/Sources.ts:15
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
alias | string |
target | string |
Returns
Section titled “Returns”void
registerMatcher()
Section titled “registerMatcher()”registerMatcher(name: string, regex: RegExp): void;Defined in: src/node/Sources.ts:19
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
name | string |
regex | RegExp |
Returns
Section titled “Returns”void
registerPlugin()
Section titled “registerPlugin()”registerPlugin(name: string, identifier: string): void;Defined in: src/node/Sources.ts:23
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
name | string |
identifier | string |
Returns
Section titled “Returns”void