MCPcopy Create free account
hub / github.com/boostorg/json / on_number_part

Method on_number_part

test/basic_parser.cpp:1526–1530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1524 bool on_string_part( string_view, std::size_t, system::error_code& ) { return true; }
1525 bool on_string( string_view, std::size_t, system::error_code& ) { return true; }
1526 bool on_number_part( string_view sv, system::error_code&)
1527 {
1528 captured.append(sv.data(), sv.size());
1529 return true;
1530 }
1531 bool on_int64( std::int64_t, string_view sv, system::error_code& )
1532 {
1533 captured.append(sv.data(), sv.size());

Callers

nothing calls this directly

Calls 3

appendMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected