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

Function GetStringEscapingStyle

lib/yamlcpp/src/emitter.cpp:706–716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

704// overloads of Write
705
706StringEscaping::value GetStringEscapingStyle(const EMITTER_MANIP emitterManip) {
707 switch (emitterManip) {
708 case EscapeNonAscii:
709 return StringEscaping::NonAscii;
710 case EscapeAsJson:
711 return StringEscaping::JSON;
712 default:
713 return StringEscaping::None;
714 break;
715 }
716}
717
718Emitter& Emitter::Write(const std::string& str) {
719 if (!good())

Callers 1

emitter.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected