clang 19.0.0git
Public Member Functions | List of all members
clang::TextTreeStructure Class Reference

#include "clang/AST/TextNodeDumper.h"

Inheritance diagram for clang::TextTreeStructure:
Inheritance graph

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 

Definition at line 124 of file TextNodeDumper.h.

References ShowColors.

Member Function Documentation

◆ AddChild() [1/2]

template<typename Fn >
void clang::TextTreeStructure::AddChild ( Fn  DoAddChild)

◆ AddChild() [2/2]

template<typename Fn >
void clang::TextTreeStructure::AddChild ( StringRef  Label,
Fn  DoAddChild 

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.

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