1 | import Argument from './Argument';
|
2 | import ParameterTypeRegistry from './ParameterTypeRegistry';
|
3 | import Expression from './Expression';
|
4 | export default class RegularExpression implements Expression {
|
5 | readonly regexp: RegExp;
|
6 | private readonly parameterTypeRegistry;
|
7 | private readonly treeRegexp;
|
8 | constructor(regexp: RegExp, parameterTypeRegistry: ParameterTypeRegistry);
|
9 | match(text: string): Argument<any>[];
|
10 | get source(): string;
|
11 | }
|