Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TokenizerState<Stage>

The state that is used by the Tokenizer to track tokenization progress.

Type parameters

  • Stage = any

    The tokenizer stage type.

Hierarchy

  • TokenizerState

Index

Properties

chunk: string

The chunk that is being processed.

chunkOffset: number

The offset of the chunk in the input stream.

offset: number

The offset in the chunk from which the tokenization should proceed.

stage: Stage

The current tokenizer stage.

Generated using TypeDoc