Class NonTerminal

The Grammar AST class representing a top level SUBRULE or SUBRULE call.

Hierarchy

  • NonTerminal

Implements

Constructors

  • Parameters

    • options: {
          idx?: number;
          label?: string;
          nonTerminalName: string;
          referencedRule?: Rule;
      }
      • Optional idx?: number
      • Optional label?: string
      • nonTerminalName: string
      • Optional referencedRule?: Rule

    Returns NonTerminal

Properties

definition: IProduction[]
idx: number
label?: string
nonTerminalName: string
referencedRule: Rule

Methods

Generated using TypeDoc