clang 20.0.0git
|
#include "clang/AST/TextNodeDumper.h"
Public Member Functions | |
template<typename Fn > | |
void | AddChild (Fn DoAddChild) |
Add a child of the current node. Calls DoAddChild without arguments. | |
template<typename Fn > | |
void | AddChild (StringRef Label, Fn DoAddChild) |
Add a child of the current node with an optional label. | |
TextTreeStructure (raw_ostream &OS, bool ShowColors) | |
Definition at line 34 of file TextNodeDumper.h.
|
inline |
Definition at line 124 of file TextNodeDumper.h.
References ShowColors.
|
inline |
Add a child of the current node. Calls DoAddChild without arguments.
Definition at line 52 of file TextNodeDumper.h.
References AddChild().
Referenced by AddChild(), clang::TextNodeDumper::dumpBareTemplateName(), clang::TextNodeDumper::dumpCleanupObject(), clang::TextNodeDumper::dumpDeclRef(), clang::ASTDumper::dumpInvalidDeclContext(), clang::ASTDumper::dumpLookups(), clang::TextNodeDumper::dumpTemplateName(), clang::TextNodeDumper::Visit(), clang::TextNodeDumper::VisitConstantExpr(), clang::TextNodeDumper::VisitConstructorUsingShadowDecl(), clang::TextNodeDumper::VisitCXXRecordDecl(), clang::TextNodeDumper::VisitEmbedExpr(), clang::TextNodeDumper::VisitFunctionDecl(), clang::TextNodeDumper::VisitFunctionProtoType(), clang::TextNodeDumper::VisitOMPRequiresDecl(), and clang::TextNodeDumper::VisitVarDecl().
|
inline |
Add a child of the current node with an optional label.
Calls DoAddChild without arguments.
Definition at line 58 of file TextNodeDumper.h.
References clang::IndentColor, Label, and ShowColors.