MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / lookahead

Method lookahead

src/Chain/libraries/glua/glua_tokenparser.cpp:778–783  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

776 }
777
778 GluaParserToken GluaTokenParser::lookahead() const
779 {
780 if (!hasNext())
781 return eof_token();
782 return *std::next(_tokens.begin(), _pos + 1);
783 }
784
785 std::string GluaTokenParser::dump() const
786 {

Callers

nothing calls this directly

Calls 3

eof_tokenFunction · 0.85
nextFunction · 0.50
beginMethod · 0.45

Tested by

no test coverage detected