Home
last modified time | relevance | path

Searched refs:ScalarDocNode (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackDocumentYAML.cpp23 struct ScalarDocNode : DocNode { struct
24 ScalarDocNode(DocNode N) : DocNode(N) {} in ScalarDocNode() function
110 StringRef ScalarDocNode::getYAMLTag() const { in getYAMLTag()
115 ScalarDocNode N = getDocument()->getNode(); in getYAMLTag()
166 static ScalarDocNode &getAsScalar(DocNode &N) { in getAsScalar()
167 return *static_cast<ScalarDocNode *>(&N); in getAsScalar()
172 template <> struct TaggedScalarTraits<ScalarDocNode> {
174 static void output(const ScalarDocNode &S, void *Ctxt, raw_ostream &OS, in output()
181 ScalarDocNode &S) { in input()
185 static QuotingType mustQuote(const ScalarDocNode &S, StringRef ScalarStr) { in mustQuote()
[all …]