2 #ifndef ROSE_AST_CMDLINE_H
3 #define ROSE_AST_CMDLINE_H
10 namespace Rose {
namespace AST {
36 static Mode __mode(std::string
const &);
69 static Mode __mode(std::string
const &);
70 static Effect __effect(std::string
const &);
__when_T< graphviz_t > graphviz
Used by the -rose:ast:graphviz:XXX options.
Shows a full report of all defects on the standard output.
Configure the AST checker module.
Mode mode
only a single mode, defaults to tree mode
Configure the AST visualization module.
run all integrity checkers
the Abstract Syntax Tree, only contains nodes that directly correspond to code
Calls ROSE_ABORT (after save/log if any)
checks the types subgraph
Main namespace for the ROSE library.
T backend
Configuration to run before the backend.
A simple template to facilitate configuration of modules that can be run after the frontend or before...
std::string save
Filepath (without extension) where to save both the AST and a JSON dump of the defects.
Mode
Many different modes are available.
__when_T< checker_t > checker
Used by the -rose:ast:checker:XXX options.
checks the edges of the AST for invalid pointers/nodes
run all consistency checkers
checks each of the decalration subgraphs (1st-nondef / defn)
the whole graph contains the AST and all other nodes, such as types and symbols
std::string log
Filepath to write out the log (equivalent to report)
std::string out
name of the output file
Effect
One can select the effect if any defect is detected.
T frontend
Configuration to run after the frontend.
This class represents a source project, with a list of SgFile objects and global information about th...
checks the symbols subgraph
Shows a summary on the standard output.
Mode
Two visualization modes.