Inferno  0.2
doc_graphs.cpp File Reference
#include "tree/cpptree.hpp"
#include "helpers/transformation.hpp"
#include "sr/search_replace.hpp"
#include "sr/soft_patterns.hpp"
#include "common/trace.hpp"
#include "common/read_args.hpp"
#include "doc_graphs.hpp"
#include "graph.hpp"
#include "steps/inferno_patterns.hpp"
#include <inttypes.h>
Include dependency graph for doc_graphs.cpp:

Go to the source code of this file.

Functions

static void Output (TreePtr< Node > root, string name)
static void OutputSR (TreePtr< Node > root, int major, int minor, string subsection, string tag)
void GenerateDocumentationGraphs ()

Function Documentation

Definition at line 32 of file doc_graphs.cpp.

References Output().

Referenced by main().

static void Output ( TreePtr< Node root,
string  name 
) [static]

Output a graph of the subtree at node, to a dot file with basename name and path supplied by user with -o (or local dir)

Definition at line 16 of file doc_graphs.cpp.

References ReadArgs::outfile, and TRACE.

Referenced by GenerateDocumentationGraphs(), and OutputSR().

static void OutputSR ( TreePtr< Node root,
int  major,
int  minor,
string  subsection,
string  tag 
) [static]

Output a graph for search and replace documentation. For eg section 2.3a use major=2 minor=3 and subsection="a". If no letter, leave subsection empty.

Definition at line 26 of file doc_graphs.cpp.

References Output(), and SSPrintf().