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

Function build_peg_parser

common/peg-parser.cpp:2124–2128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2122}
2123
2124common_peg_arena build_peg_parser(const std::function<common_peg_parser(common_peg_parser_builder & builder)> & fn) {
2125 common_peg_parser_builder builder;
2126 builder.set_root(fn(builder));
2127 return builder.build();
2128}

Callers 7

test_python_dict_parserFunction · 0.85
test_unicodeFunction · 0.85
test_basicFunction · 0.85
test_gbnf_generationFunction · 0.85
test_json_serializationFunction · 0.85
test_json_parserFunction · 0.85
parse_ini_from_fileFunction · 0.85

Calls 3

fnFunction · 0.85
set_rootMethod · 0.45
buildMethod · 0.45

Tested by 6

test_python_dict_parserFunction · 0.68
test_unicodeFunction · 0.68
test_basicFunction · 0.68
test_gbnf_generationFunction · 0.68
test_json_serializationFunction · 0.68
test_json_parserFunction · 0.68