Optionaloptions: IListener.OptionsRemove the module from the collection.
Returns all positioned diagnostics (errors + warnings) produced when the module was compiled.
Returns the error-severity diagnostics for the module (a subset of IModule.getDiagnostics).
Returns the functions in the module.
OptionalgetThe language the function is written in.
The name of the module.
What the module is bound to — the sheet or workbook that owns it, or null when it is
global.
Scope is a visibility rule, not a label: only a globally scoped module contributes functions to the workbook's formula namespace. A UDF declared in a sheet- or workbook-scoped module is unreachable from a cell formula.
It is also derived, not stored — a module's scope is where it lives. A sheet's modules are reached through ISheet.getModules, and go away with the sheet; there is deliberately no setter, because changing a module's scope would silently promote or demote every function in it.
Returns a JSON representation of the module.
Represents a collection of functions. This is analogous to a file.