fficxx-0.7.0.0: Automatic C++ binding generation
Safe HaskellSafe-Inferred
LanguageHaskell2010

FFICXX.Generate.Dependency.Graph

Synopsis

Documentation

constructDepGraph Source #

Arguments

:: [UClass]

list of all classes, either template class or ordinary class.

-> [TopLevel]

list of all top-level functions.

-> ([String], [(Int, [Int])])

(all submodules, [(submodule, submodule dependencies)])

construct dependency graph

findDepCycles :: ([String], [(Int, [Int])]) -> DepCycles Source #

find grouped dependency cycles

locateInDepCycles :: (String, String) -> DepCycles -> Maybe (Int, Int) Source #

locate importing module and imported module in dependency cycles