Searched defs:PolymorphicTraits (Results 1 – 2 of 2) sorted by relevance
147 template <> struct PolymorphicTraits<DocNode> { struct149 static NodeKind getKind(const DocNode &N) { in getKind()160 static MapDocNode &getAsMap(DocNode &N) { return N.getMap(/*Convert=*/true); } in getAsMap()162 static ArrayDocNode &getAsSequence(DocNode &N) { in getAsSequence()167 static ScalarDocNode &getAsScalar(DocNode &N) { in getAsScalar()
299 template <typename T> struct PolymorphicTraits { struct