MCPcopy Create free account
hub / github.com/PABannier/bark.cpp / get_token

Method get_token

examples/server/json.hpp:12559–12562  ·  view source on GitHub ↗

get next token from lexer

Source from the content-addressed store, hash-verified

12557
12558 /// get next token from lexer
12559 token_type get_token()
12560 {
12561 return last_token = m_lexer.scan();
12562 }
12563
12564 std::string exception_message(const token_type expected, const std::string& context)
12565 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected