Class Lexer

The default lexer

Hierarchy

  • Lexer

Implements

Constructors

Properties

Methods

Constructors

Properties

index: number = 0

Set the index of the lexer

peekIndex: number = 0

The index of the next token

Methods

  • Set the index of the lexer

    Parameters

    • n: number

    Returns void

  • Check if the lexer is at the end of the input

    Returns boolean

Generated using TypeDoc