Class ILexerAbstract

A lexer interface

Hierarchy

  • ILexer

Implemented by

Constructors

Properties

Methods

Constructors

Properties

index: number

Set the index of the lexer

peekIndex: number = 0

The index of the next token

Methods

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

    Returns boolean

  • Set the index of the lexer

    Parameters

    • n: number

    Returns void

Generated using TypeDoc