UNPKG

456 BTypeScriptView Raw
1import Argument from './Argument';
2import ParameterTypeRegistry from './ParameterTypeRegistry';
3import Expression from './Expression';
4export 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 readonly source: string;
11}