ROSE  0.11.145.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Rose::AST::cmdline::graphviz_t Struct Reference

Description

Configure the AST visualization module.

Definition at line 23 of file cmdline.h.

#include <Rose/AST/cmdline.h>

Collaboration diagram for Rose::AST::cmdline::graphviz_t:
Collaboration graph
[legend]

Public Types

enum  Mode {
  Mode::tree,
  Mode::graph,
  unknown
}
 Two visualization modes. More...
 

Public Member Functions

void exec (SgProject *project) const
 

Static Public Member Functions

static Mode __mode (std::string const &)
 

Public Attributes

bool on {false}
 
Mode mode {Mode::tree}
 only a single mode, defaults to tree mode
 
std::string out
 name of the output file
 

Member Enumeration Documentation

Two visualization modes.

Enumerator
tree 

the Abstract Syntax Tree, only contains nodes that directly correspond to code

graph 

the whole graph contains the AST and all other nodes, such as types and symbols

Definition at line 25 of file cmdline.h.


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