Lines Matching refs:ScalarDocNode
23 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()
210 ScalarDocNode KeyObj = M.getDocument()->getNode(); in inputOne()