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

Method EventParser

src/framework/io/yaml.cpp:146–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144class EventParser {
145public:
146 explicit EventParser(std::string_view text) {
147 if (!yaml_parser_initialize(&parser_)) {
148 throw std::runtime_error("failed to initialize yaml parser");
149 }
150 initialized_ = true;
151 yaml_parser_set_input_string(
152 &parser_,
153 reinterpret_cast<const unsigned char *>(text.data()),
154 text.size());
155 }
156
157 ~EventParser() {
158 if (initialized_) {

Callers

nothing calls this directly

Calls 4

yaml_parser_initializeFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected