Websites Navigation: Airbit | Shop | m-shell.net
Languages: EN | DE

Class mdoc.Source

is mdoc.Body is mdoc.Item
An m source (script or module) with module aliases and contained classes.

Constructor

function init(file)
Overridesmdoc.Body.init()
Create a new source from its file name.
Parameters:
file – the complete file name.

Fields

aliases
classes
file

Functions

htmlfile() [Inherited comment] Get the HTML file name of this body.
isModule() Check whether this source is a module.
key() Get the array key of this source.
mName() Get the m name of this source.
function isModule()
Check whether this source is a module.
Returns:true if this is a module.
function mName()
Get the m name of this source. For scripts, this is always the empty string.
Returns:the m name.
function key()
Get the array key of this source.
Returns:the key.
function htmlfile()
Overridesmdoc.Body.htmlfile()
[Inherited comment] Get the HTML file name of this body.
Returns:the file name.
mShell Home  > Documentation  > mdoc