peekAheadUntil

abstract fun peekAheadUntil(vararg type: T): List<K>

Peeks the tokens ahead until a token of any of the types is found.