MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / Parser

Method Parser

src/framework/io/yaml.cpp:102–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100class Parser {
101public:
102 explicit Parser(std::string_view text) {
103 if (!yaml_parser_initialize(&parser_)) {
104 throw std::runtime_error("failed to initialize yaml parser");
105 }
106 initialized_ = true;
107 yaml_parser_set_input_string(
108 &parser_,
109 reinterpret_cast<const unsigned char *>(text.data()),
110 text.size());
111 }
112
113 ~Parser() {
114 if (primary_loaded_) {

Callers

nothing calls this directly

Calls 4

yaml_parser_initializeFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected