The Grammar AST class representing a BaseParser.CONSUME call.

Implements

Constructors

Properties

Methods

Constructors

  • Parameters

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

    Returns Terminal

Properties

idx: number
label?: string
terminalType: TokenType

Methods