Overview  Index  Help 
SMLDoc

DEPENDENCY_ANALYZER

All Known Implementing Modules:

DependencyAnalyzer


signature DEPENDENCY_ANALYZER =
sig
  val sort
      : DocumentGenerationParameter.parameter ->
          AnnotatedAst.compileUnit list ->  AnnotatedAst.compileUnit list
end

This module analyses dependency relation between the compilation units the parser generated.

Author:
YAMATODANI Kiyoshi
Version:
$Id: SigDEPENDENCY_ANALYZER.html,v 1.9 2007/02/17 07:01:57 kiyoshiy Exp $

       
Value detail

sort

fun sort parameter units
    : DocumentGenerationParameter.parameter ->
        AnnotatedAst.compileUnit list ->
          (* sorted list.*) AnnotatedAst.compileUnit list

sort a list of compilation units on dependency relation.

If any module in the compilation unit A depends on some module in the other compilation unit B, the B precedes the A in the returned list.

Author:
YAMATODANI Kiyoshi
Parameters:
parameter
global parameter
units
compilation unit to be sorted
Returns:
sorted compilation unit
Version:
1.0

 


Overview  Index  Help 
SMLDoc: Documentation generator for SML