@specs-feup/lara
Version:
A js port of the popular framework for building source-to-source compilers
20 lines • 534 B
TypeScript
/**
* Represents a set of predefined strings.
*/
export default class PredefinedStrings {
private _name;
private _strict;
private _valuesSet;
constructor(name: string, strict: boolean, ...values: string[]);
/**
* @returns Available values.
*/
values(): string[];
/**
* @returns True if the given String is a valid value.
*/
isValid(value: string): boolean;
test(value: string): boolean;
parse(...args: string[]): string[];
}
//# sourceMappingURL=PredefinedStrings.d.ts.map