MCPcopy Create free account
hub / github.com/GJDuck/e9patch / peekToken

Method peekToken

src/e9tool/e9parser.cpp:670–676  ·  view source on GitHub ↗

* Peek at the next token without consuming it. */

Source from the content-addressed store, hash-verified

668 * Peek at the next token without consuming it.
669 */
670int Parser::peekToken()
671{
672 if (peek != TOKEN_ERROR)
673 return peek;
674 peek = getToken();
675 return peek;
676}
677
678/*
679 * Position string for error messages.

Callers 9

parseIndexFunction · 0.80
parseSymbolFunction · 0.80
parseMemOpFunction · 0.80
parseMatchArgFunction · 0.80
parseMatchExprFunction · 0.80
parsePatchArgFunction · 0.80
parsePatchFunction · 0.80
parseExcludeBoundFunction · 0.80
parseExcludeFunction · 0.80

Calls 1

getTokenFunction · 0.85

Tested by

no test coverage detected