peek

open fun peek(): T(source)

Returns the next Token

Return

The next Token

Since

0.1.0


abstract fun peek(offset: Int): T(source)

Peek the token at the given index

Return

the token at the given index

Since

0.1.0

Parameters

offset

the offset of the token