Pike v8.1 release 6

Method Tools.AutoDoc.PikeParser()->peekToken()


Method peekToken

string peekToken(int|void with_newlines)

Description

Peek at the next token in the stream without advancing.

Parameter with_newlines

If set will return "\n" tokens, these will otherwise silently be skipped.

Returns

Returns the next token.

See also

readToken(), lookAhead()