1 | export default class ParameterType<T> {
|
2 | readonly name: string;
|
3 | private readonly type;
|
4 | readonly useForSnippets: boolean;
|
5 | readonly preferForRegexpMatch: boolean;
|
6 | private transformFn;
|
7 | static compare(pt1: ParameterType<any>, pt2: ParameterType<any>): number;
|
8 | static checkParameterTypeName(typeName: string): void;
|
9 | regexpStrings: string[];
|
10 | |
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | constructor(name: string, regexps: RegExp[] | string[] | RegExp | string, type: any, transform: (...match: string[]) => T, useForSnippets: boolean, preferForRegexpMatch: boolean);
|
19 | transform(thisObj: any, groupValues: string[]): any;
|
20 | }
|