Options
All
  • Public
  • Public/Protected
  • All
Menu

The Grammar AST class representing a top level {@link Parser.SUBRULE} call.

Hierarchy

  • NonTerminal

Implements

Index

Constructors

constructor

  • new NonTerminal(options: { idx?: number; label?: string; nonTerminalName: string; referencedRule?: Rule }): NonTerminal
  • 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

definition: IProduction[]

idx

idx: number

Optional label

label?: string

nonTerminalName

nonTerminalName: string

referencedRule

referencedRule: Rule

Methods

accept

Generated using TypeDoc