type alias SimpleLexerToken

A token generated by SimpleLexer.

Type Parameters

T extends keyof any

Properties

The token type identifier.

image: string

The image is the text value of this token.

The starting offset, relative to index 0 of the input text.

nextOffset: number

The offset the next token should start with, relative to index 0 of the input text.

Usage

import { type SimpleLexerToken } from ".";