Class ModuleEntry
This is a foreign class that wraps over a module.
0 define boxed_classes: List[ClassEntry]
Return all classes that were directly imported into this module (import (someclass) somefile).
0 define boxed_constants: List[ConstantEntry]
Return all constants that were directly imported into this module (import (someconstant) somefile).
0 define boxed_enums: List[EnumEntry]
Return all enums that were directly imported into this module (import (someenum) somefile).
0 define boxed_functions: List[FunctionEntry]
Return all functions that were directly imported into this module (import (somevariant) somefile).
0 define boxed_variants: List[VariantEntry]
Return all variants that were directly imported into this module (import (somevariant) somefile).
0 define boxed_vars: List[VarEntry]
Return all vars that were directly imported into this module (import (somevar) somefile).
0 define classes: List[ClassEntry]
Return the classes declared within this module.
0 define constants: List[ConstantEntry]
Return the constants declared within this module.
0 define dirname: String
Return the directory of this module relative to [main].
0 define doc: String
Return the docblock of this module, or an empty string. Docblocks are only saved when a module is parsed in manifest mode.
0 define enums: List[EnumEntry]
Return the enums declared within this module.
0 define functions: List[FunctionEntry]
Return the functions that were declared inside of this module.
0 define id: Integer
Return the id of this module.
0 define modules_used: List[ModuleEntry]
Return the modules that were used inside of this module.
0 define name: String
Return the name of the module. A module's name is the default identifier used when a module is imported by other modules.
Note: The origin module always has the name '[main]'.
0 define path: String
Returns the path used to load the module. Registered modules and modules in the prelude will have their name enclosed in brackets (ex: '[sys]').
0 define vars: List[VarEntry]
Return the vars declared within this module.