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

Method ThrowParserException

lib/yamlcpp/src/scanner.cpp:383–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381}
382
383void Scanner::ThrowParserException(const std::string& msg) const {
384 Mark mark = Mark::null_mark();
385 if (!m_tokens.empty()) {
386 const Token& token = m_tokens.front();
387 mark = token.mark;
388 }
389 throw ParserException(mark, msg);
390}
391} // namespace YAML

Callers

nothing calls this directly

Calls 3

null_markFunction · 0.85
ParserExceptionFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected