GenerateClosureToProc:
PROC
[dfName: ROPE, errs: STREAM, action: ActionProc, data: REF, options: Options ¬ []]
RETURNS [info: ClosureInfo];
... generates the closure of files mentioned by the given DF file. Files may appear in the closure twice, although this is not frequent for well-structured DF files. For each file in the closure, the caller's action routine is invoked with the file name and other information (see above). The action routine may be invoked from as many as 1+options.toFork processes, so the client may need to be careful about concurrent actions.
GenerateClosureToStream:
PROC
[dfName: ROPE, errs: STREAM, out: STREAM, options: Options ¬ [], verbose: BOOL ¬ FALSE]
RETURNS [info: ClosureInfo];
... performs roughly the same actions as GenerateClosureToProc, except that the closure so generated is written to the given output stream (which is left open at the end). If verbose = TRUE, then information about IMPORTS and INCLUDES is also written to the file.