Mercurial > projects > dil
view trunk/src/docgen/modulegraph/writer.d @ 444:0bda71dc9c4f
More document template and source listing code.
author | Jari-Matti M?kel? <jmjm@iki.fi> |
---|---|
date | Wed, 17 Oct 2007 03:12:46 +0300 |
parents | 13ecfb4278a4 |
children | f658ec4a15dd |
line wrap: on
line source
/** * Author: Aziz Köksal & Jari-Matti Mäkelä * License: GPL3 */ module docgen.modulegraph.writer; import docgen.graphutils.writers; import dil.Parser; import dil.Module; import dil.Settings; import tango.text.Regex : RegExp = Regex; import tango.io.FilePath; import tango.io.FileConst; import tango.text.Util; import common; alias FileConst.PathSeparatorChar dirSep; class ModuleGraphGenerator { /** * TODO */ static void generateGraph(GraphOptions *options) { auto gwf = new DefaultGraphWriterFactory(*options); auto writer = gwf.createGraphWriter([Stdout.stream]); Edge[] edges; Vertex[] vertices; /* loadModules(null, null, null, gwf.options.IncludeUnlocatableModules, vertices, edges); writer(vertices, edges); */ } }