Skip to main content

Class: ExpressionTokenStream

Implements

Constructors

new ExpressionTokenStream()

new ExpressionTokenStream(tokens): ExpressionTokenStream

Parameters

tokens: IterableIterator<Token>

Returns

ExpressionTokenStream

Defined in

src/expressions/tokens.ts:98

Accessors

current

get current(): Token

Returns

Token

Implementation of

TokenStream.current

Defined in

src/expressions/tokens.ts:107


peek

get peek(): Token

Returns

Token

Implementation of

TokenStream.peek

Defined in

src/expressions/tokens.ts:111

Methods

_next()

protected _next(): Token

Returns

Token

Defined in

src/expressions/tokens.ts:155


expect()

expect(kind): void

Parameters

kind: string

Returns

void

Implementation of

TokenStream.expect

Defined in

src/expressions/tokens.ts:135


expectPeek()

expectPeek(kind): void

Parameters

kind: string

Returns

void

Defined in

src/expressions/tokens.ts:145


expectTag()

expectTag(): void

Returns

void

Implementation of

TokenStream.expectTag

Defined in

src/expressions/tokens.ts:103


next()

next(): Token

Returns

Token

Implementation of

TokenStream.next

Defined in

src/expressions/tokens.ts:115


push()

push(token): void

Parameters

token: Token

Returns

void

Defined in

src/expressions/tokens.ts:127