ROSE 0.11.145.192
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 class  Mode {
  tree ,
  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

◆ Mode

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.

Member Data Documentation

◆ on

bool Rose::AST::cmdline::graphviz_t::on {false}

Definition at line 31 of file cmdline.h.

◆ mode

Mode Rose::AST::cmdline::graphviz_t::mode {Mode::tree}

only a single mode, defaults to tree mode

Definition at line 32 of file cmdline.h.

◆ out

std::string Rose::AST::cmdline::graphviz_t::out

name of the output file

Definition at line 33 of file cmdline.h.


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