Synopsis - Synopsis/PTree/Display.hh Details

# Synopsis/PTree/Display.hh

source code

## Includes from this file:

- include Synopsis/PTree.hh

## Declarations in this file:

### Classes in Synopsis::PTree

Display

The Display class provides an annotated view of the ptree, for debugging purposes

DotFileGenerator
RTTIDisplay

### Data members in Synopsis::PTree::Display

my_encoded
my_indent
my_os

### Data members in Synopsis::PTree::DotFileGenerator

my_os

### Data members in Synopsis::PTree::RTTIDisplay

my_encoded
my_indent
my_os

### Functions in Synopsis::PTree

display(const Node*,std::ostream&,bool,bool)

Display the given parse tree segment on the given output stream.

generate_dot_file(const Node*,std::ostream&)

Generate a dot file for the given parse tree segment.

### Member functions in Synopsis::PTree::Display

Display(std::ostream&,bool)
display(const Node*)
newline()
visit(Atom*)
visit(Block*)
visit(Brace*)
visit(ClassBody*)
visit(Declarator*)
visit(DupAtom*)
visit(FstyleCastExpr*)
visit(List*)
visit(Name*)

### Member functions in Synopsis::PTree::DotFileGenerator

DotFileGenerator(std::ostream&)