MCPcopy Create free account
hub / github.com/apache/trafficserver / LookupAnchor

Method LookupAnchor

lib/yamlcpp/src/singledocparser.cpp:424–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424anchor_t SingleDocParser::LookupAnchor(const Mark& mark,
425 const std::string& name) const {
426 auto it = m_anchors.find(name);
427 if (it == m_anchors.end()) {
428 std::stringstream ss;
429 ss << ErrorMsg::UNKNOWN_ANCHOR << name;
430 throw ParserException(mark, ss.str());
431 }
432
433 return it->second;
434}
435} // namespace YAML

Callers

nothing calls this directly

Calls 4

ParserExceptionFunction · 0.85
findMethod · 0.45
endMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected