Lines Matching defs:DumpVisitor

64 struct DumpVisitor {  struct
65 unsigned Depth = 0;
66 bool PendingNewline = false;
68 template<typename NodeT> static constexpr bool wantsNewline(const NodeT *) { in wantsNewline()
71 static bool wantsNewline(NodeArray A) { return !A.empty(); } in wantsNewline()
72 static constexpr bool wantsNewline(...) { return false; } in wantsNewline()
74 template<typename ...Ts> static bool anyWantNewline(Ts ...Vs) { in anyWantNewline()
81 void printStr(const char *S) { fprintf(stderr, "%s", S); } in printStr()
82 void print(std::string_view SV) { in print()
85 void print(const Node *N) { in print()
91 void print(NodeArray A) { in print()
107 void print(bool B) { printStr(B ? "true" : "false"); } in print()
109 template <class T> std::enable_if_t<std::is_unsigned<T>::value> print(T N) { in print()
113 template <class T> std::enable_if_t<std::is_signed<T>::value> 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 ()()