MCPcopy Create free account
hub / github.com/bfgroup/Lyra / parse_state

Method parse_state

include/lyra/parser.hpp:33–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31{
32 public:
33 parse_state(parser_result_type type,
34 token_iterator const & remaining_tokens,
35 std::size_t parsed_tokens = 0)
36 : result_type(type)
37 , tokens(remaining_tokens)
38 {
39 (void)parsed_tokens;
40 }
41
42 parser_result_type type() const { return result_type; }
43 token_iterator remainingTokens() const { return tokens; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected