peekType

open fun peekType(): TT(source)

Returns the type of the next token without changing the actual token

Return

The next token-type

Since

0.1.0


open fun peekType(offset: Int): TT(source)

Peek the token type at the given index

Return

the token-type at the given index

Since

0.1.0

Parameters

offset

the offset of the token