GraphBuilder

Builds a module dependency graph.

Constructors

this
this(CompilationContext cc)

Constructs a GraphBuilder object.

Members

Functions

loadModule
Vertex loadModule(cstring moduleFQNPath)

Loads all modules recursively and builds the graph at the same time.

start
Graph start(cstring fileName)

Start building the graph and return that.

Variables

cc
CompilationContext cc;

The context.

graph
Graph graph;

The graph object.

loadedModulesTable
Vertex[hash_t] loadedModulesTable;

Maps FQN paths to modules.

options
IGraphCommand.Options options;

The options.

Meta