Class: Lexer

reset

function reset()
Isolated Function

peek

function peek(int n) returns Token | SyntaxError
Isolated Function

Parameters

  • n int (default 1)

Return Type

(Token | SyntaxError)

hasNext

function hasNext() returns boolean
Isolated Function

Return Type

(boolean)

read

function read() returns Token | SyntaxError
Isolated Function

Return Type

(Token | SyntaxError)