MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / get_token

Method get_token

lesson6-Segmentation/json.hpp:10567–10570  ·  view source on GitHub ↗

get next token from lexer

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected