Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1708
common_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_unicode
Function · 0.85
test_basic
Function · 0.85
test_gbnf_generation
Function · 0.85
test_json_serialization
Function · 0.85
test_json_parser
Function · 0.85
parse_ini_from_file
Function · 0.85
Calls
2
build
Method · 0.65
set_root
Method · 0.45
Tested by
5
test_unicode
Function · 0.68
test_basic
Function · 0.68
test_gbnf_generation
Function · 0.68
test_json_serialization
Function · 0.68
test_json_parser
Function · 0.68