Scanner.nextToken

This routine consumes the input stream, returning the next token found. If a token could not be found, then an error is raised.

class Scanner
nextToken
(
)

Return Value

Type: Token

Next token in the input character stream.

Throws

InvalidTokenException if an invalid token is encountered.

Meta