Class: TemplateTokenStream
Implements
Constructors
new TemplateTokenStream()
new TemplateTokenStream(
tokens
):TemplateTokenStream
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
expectTag()
expectTag(
name
):void
Parameters
• name: string
Returns
void
Implementation of
Defined in
next()
next():
Token