Class: TokenStream
Implements
Constructors
new TokenStream()
new TokenStream(
lexer
:Lexer
,input
:string
):TokenStream
Parameters
Parameter | Type |
---|---|
lexer | Lexer |
input | string |
Returns
Defined in
lexer/streams/raw/TokenStream.ts:9
Properties
input
private
readonly
input:string
Defined in
lexer/streams/raw/TokenStream.ts:4
position
private
position:number
=0
Defined in
lexer/streams/raw/TokenStream.ts:7
quotes
private
readonly
quotes: readonly [string
,string
][]
Defined in
lexer/streams/raw/TokenStream.ts:5
separator
private
readonly
separator:string
Defined in
lexer/streams/raw/TokenStream.ts:6
Accessors
finished
Get Signature
get finished():
boolean
Returns
boolean
Defined in
lexer/streams/raw/TokenStream.ts:15
Methods
[iterator]()
Returns
Iterator
<Token
, any
, undefined
>
Implementation of
Iterable.[iterator]
Defined in
lexer/streams/raw/TokenStream.ts:19
getParameter()
private
getParameter():WordToken
Returns
Defined in
lexer/streams/raw/TokenStream.ts:50
getPossibleQuotedArgument()
private
getPossibleQuotedArgument():null
|QuotedToken
Returns
null
| QuotedToken
Defined in
lexer/streams/raw/TokenStream.ts:34
getPossibleSeparator()
private
getPossibleSeparator():null
|SeparatorToken
Returns
null
| SeparatorToken