This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

13 lines
450 B
TypeScript

import { GbnfTerminal } from "../GbnfTerminal.js";
import { GbnfGrammarGenerator } from "../GbnfGrammarGenerator.js";
export declare class GbnfString extends GbnfTerminal {
readonly minLength: number;
readonly maxLength?: number;
constructor({ minLength, maxLength }?: {
minLength?: number;
maxLength?: number;
});
getGrammar(grammarGenerator: GbnfGrammarGenerator): string;
protected getRuleName(): string;
}