Skip to content

SourceRegistry

Defined in: src/node/Sources.ts:3

new SourceRegistry(): SourceRegistry;

Defined in: src/node/Sources.ts:8

SourceRegistry

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>
getAllMappings(): Record<string, string>;

Defined in: src/node/Sources.ts:31

Record<string, string>


getAllMatchers(): Record<string, RegExp>;

Defined in: src/node/Sources.ts:35

Record<string, RegExp>


getAllPlugins(): Record<string, string>;

Defined in: src/node/Sources.ts:39

Record<string, string>


getMapping(alias: string): string;

Defined in: src/node/Sources.ts:27

ParameterType
aliasstring

string


registerMapping(alias: string, target: string): void;

Defined in: src/node/Sources.ts:15

ParameterType
aliasstring
targetstring

void


registerMatcher(name: string, regex: RegExp): void;

Defined in: src/node/Sources.ts:19

ParameterType
namestring
regexRegExp

void


registerPlugin(name: string, identifier: string): void;

Defined in: src/node/Sources.ts:23

ParameterType
namestring
identifierstring

void