ParseOptions interface is used to provide additional information to the parser while parsing a rule.

interface ParseOptions<T> {
    filename?: string;
    startRule?: T;
}

Type Parameters

  • T extends Rule

    The type of the rule to be parsed.

Hierarchy (view full)

Properties

filename?: string

filename (optional): A string value that is used to identify the file to be parsed.

startRule?: T

Generated using TypeDoc