Function peek

Function Documentation

Lexeme *peek(LexerContext*, u16 count, const byte *source)

N-token look-ahead.

Note

Allocates memory.

Parameters
  • count: How many tokens too skip ahead to.

  • source: Source code, offset by end of current token.