Skip to main content

Interface: TokenStream

Properties

current

current: Token

Defined in

src/token.ts:30


peek

peek: Token

Defined in

src/token.ts:31

Methods

expect()

expect(kind): void

Parameters

kind: string

Returns

void

Defined in

src/token.ts:33


expectTag()

expectTag(name): void

Parameters

name: string

Returns

void

Defined in

src/token.ts:34


next()

next(): Token

Returns

Token

Defined in

src/token.ts:32