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