clang 22.0.0git
clang::TextTreeStructure Class Reference

#include "clang/AST/TextNodeDumper.h"

Inheritance diagram for clang::TextTreeStructure:
[legend]

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)

Detailed Description

Definition at line 34 of file TextNodeDumper.h.

Constructor & Destructor Documentation

◆ TextTreeStructure()

clang::TextTreeStructure::TextTreeStructure ( raw_ostream & OS,
bool ShowColors )
inline

Member Function Documentation

◆ AddChild() [1/2]

◆ AddChild() [2/2]

template<typename Fn>
void clang::TextTreeStructure::AddChild ( StringRef Label,
Fn DoAddChild )
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.


The documentation for this class was generated from the following file: