clang  10.0.0svn
Public Member Functions | List of all members
clang::TextTreeStructure Class Reference

#include "clang/AST/TextNodeDumper.h"

Inheritance diagram for clang::TextTreeStructure:
Inheritance graph
[legend]

Public Member Functions

template<typename Fn >
void AddChild (Fn DoAddChild)
 Add a child of the current node. Calls DoAddChild without arguments. More...
 
template<typename Fn >
void AddChild (StringRef Label, Fn DoAddChild)
 Add a child of the current node with an optional label. More...
 
 TextTreeStructure (raw_ostream &OS, bool ShowColors)
 

Detailed Description

Definition at line 29 of file TextNodeDumper.h.

Constructor & Destructor Documentation

◆ TextTreeStructure()

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

Definition at line 121 of file TextNodeDumper.h.

Member Function Documentation

◆ AddChild() [1/2]

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

◆ 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 53 of file TextNodeDumper.h.

References Depth, clang::IndentColor, and Label.


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