MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / get_token

Method get_token

Source/Utils/json.hpp:10565–10568  ·  view source on GitHub ↗

get next token from lexer

Source from the content-addressed store, hash-verified

10563
10564 /// get next token from lexer
10565 token_type get_token()
10566 {
10567 return last_token = m_lexer.scan();
10568 }
10569
10570 std::string exception_message(const token_type expected, const std::string& context)
10571 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected