OnDemandLexingTokenInputStream
A TokenInputStream that generates tokens on demand (from a LexingBase)
Since
0.1.0
Properties
The input of the OnDemandLexingTokenInputStream
Checks if the actual token without changing the actual token
Returns the start of the actual token
Returns the type of the actual token
Returns the value of the actual
The buffer of the OnDemandLexingTokenInputStream
The PositionMap of the OnDemandLexingTokenInputStream (In this case it's a position maker, because the position map will be generated on demand)
The position of the OnDemandLexingTokenInputStream
The size of the TokenInputStream
The input of the OnDemandLexingTokenInputStream
Functions
Check if the TokenInputStream has a requested amount of tokens (This will try to generate the requested amount of tokens and fill the buffer, as this is the only way to check if the TokenInputStream has the requested amount of tokens)
Checks if the TokenInputStream has a token left
Returns the next token of the TokenInputStream (and skips)
Returns the type of the next token of the TokenInputStream (and skips)
Returns the next token of the TokenInputStream
Checks if the next token of the TokenInputStream has a value without skipping
Checks if the token at the given offset of the TokenInputStream has a value without changing the actual token
Get string representation of the OnDemandLexingTokenInputStream