Interface State

Lexer State

Hierarchy

  • State

Properties

input: string[]

Tokenized input

ptr: number

Read pointer into the input array.

state: LexState

Next state of the lexer's state machine: TEXT, or TAG/nl/ws

tag: boolean | TagType

Current processing tag TagType, or boolean if none.

text: string

Raw input text

token: BBToken

The current token being parsed

Memberof

BBToken

unget: boolean

Whether to "unget" the last token.

verbatim: boolean

In verbatim mode, we return all input, unparsed, including comments.

Generated using TypeDoc