MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / get_rule

Method get_rule

common/peg-parser.cpp:320–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320common_peg_parser_id common_peg_arena::get_rule(const std::string & name) const {
321 auto it = rules_.find(name);
322 if (it == rules_.end()) {
323 throw std::runtime_error("Rule not found: " + name);
324 }
325 return it->second;
326}
327
328struct parser_executor {
329 const common_peg_arena & arena;

Callers 2

operator()Method · 0.80
collect_reachable_rulesFunction · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected