Module0.30.0
abstract external class Module
- Known subtypes in package:
- Known usages in package:
- All versions:
Properties
- expand_morelinkhiddenoutput: ModuleOutput
The output of this module.
Defaults to all module properties rendered as either Pcf or the format specified on the command line.
Methods(show inherited)
-
-
-
-
-
-
-
-
- expand_morelinkfunction
Returns the relative, descendent directory path between this module and
other.Throws if no such path exists.
For example, if module
mod1has path/dir1/mod1.pkl, and modulemod2has path/dir1/dir2/dir3/mod2.pkl, thenmod1.relativePathTo(mod2)will returnList("dir2", "dir3").A common use case is to compute the directory path between a template located at the root of a hierarchy (say
rootModule.pkl) and the currently evaluated module (accessible via themodulekeyword):import "rootModule.pkl" // self-import path = rootModule.relativePathTo(module)
Base class for modules.