Options
All
  • Public
  • Public/Protected
  • All
Menu

The Grammar AST class representing a {@link Parser.CONSUME} call.

Hierarchy

  • Terminal

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Terminal(options: { idx?: number; label?: string; terminalType: TokenType }): Terminal

Properties

idx

idx: number

Optional label

label?: string

terminalType

terminalType: TokenType

Methods

accept

Generated using TypeDoc