Class Terminal

The Grammar AST class representing a CONSUME call.

Hierarchy

  • Terminal

Implements

Constructors

Properties

Methods

Constructors

  • Parameters

    • options: {
          idx?: number;
          label?: string;
          terminalType: TokenType;
      }
      • Optional idx?: number
      • Optional label?: string
      • terminalType: TokenType

    Returns Terminal

Properties

idx: number
label?: string
terminalType: TokenType

Methods

Generated using TypeDoc