Lines Matching defs:DumpVisitor
62 struct DumpVisitor { struct
63 unsigned Depth = 0;
64 bool PendingNewline = false;
66 template<typename NodeT> static constexpr bool wantsNewline(const NodeT *) { in wantsNewline()
69 static bool wantsNewline(NodeArray A) { return !A.empty(); } in wantsNewline()
70 static constexpr bool wantsNewline(...) { return false; } in wantsNewline()
72 template<typename ...Ts> static bool anyWantNewline(Ts ...Vs) { in anyWantNewline()
79 void printStr(const char *S) { fprintf(stderr, "%s", S); } in printStr()
80 void print(StringView SV) { in print()
83 void print(const Node *N) { in print()
89 void print(NodeArray A) { in print()
105 void print(bool B) { printStr(B ? "true" : "false"); } in print()
108 typename std::enable_if<std::is_unsigned<T>::value>::type print(T N) { in print()
113 typename std::enable_if<std::is_signed<T>::value>::type print(T N) { in print()
117 void print(ReferenceKind RK) { in print()
125 void print(FunctionRefQual RQ) { in print()
135 void print(Qualifiers Qs) { in print()
150 void print(SpecialSubKind SSK) { in print()
166 void print(TemplateParamKind TPK) { in print()
176 void print(Node::Prec P) { in print()
221 void newLine() { in newLine()
228 template<typename T> void printWithPendingNewline(T V) { in printWithPendingNewline()
234 template<typename T> void printWithComma(T V) { in printWithComma()
245 struct CtorArgPrinter {
257 template<typename NodeT> void operator()(const NodeT *Node) { in operator ()()
265 void operator()(const ForwardTemplateReference *Node) { in operator ()()