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