advance

open fun advance(): IElementType

Resumes scanning until the next regular expression is matched, the end of input is encountered or an I/O-Error occurs.

Return

the next token

Throws

if any I/O-Error occurs