Class: ExpressionTokenStream
Implements
Constructors
new ExpressionTokenStream()
new ExpressionTokenStream(
tokens
):ExpressionTokenStream
Parameters
• tokens: IterableIterator
<Token
>
Returns
Defined in
Accessors
current
get
current():Token
Returns
Implementation of
Defined in
peek
get
peek():Token
Returns
Implementation of
Defined in
Methods
_next()
protected
_next():Token
Returns
Defined in
expect()
expect(
kind
):void
Parameters
• kind: string
Returns
void
Implementation of
Defined in
expectPeek()
expectPeek(
kind
):void
Parameters
• kind: string
Returns
void
Defined in
expectTag()
expectTag():
void
Returns
void
Implementation of
Defined in
next()
next():
Token
Returns
Implementation of
Defined in
push()
push(
token
):void
Parameters
• token: Token
Returns
void