MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / build_peg_parser

Function build_peg_parser

subprojects/llama.cpp/common/peg-parser.cpp:1708–1712  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1706}
1707
1708common_peg_arena build_peg_parser(const std::function<common_peg_parser(common_peg_parser_builder & builder)> & fn) {
1709 common_peg_parser_builder builder;
1710 builder.set_root(fn(builder));
1711 return builder.build();
1712}

Callers 6

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 2

buildMethod · 0.65
set_rootMethod · 0.45

Tested by 5

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