Item Descriptions

Each item (module, class, function, variable) may be described in the source by a comment. A comment between /* and */ before an item is considered the item's description and included into the collected data and generated output. For the module or script itself, it is the comment the module source starts with.

The comment is output "as is", i.e. can be marked up with HTML. The following @-tags in comments are specially processed:

Here is an example:

/*
  Run the event handling loop. This updates the UI,
  handles UI commands, idle timer ticks, and, if set,
  reads from streams. Returns if either {@link exit()}
  has been called, or a menu command has been executed.
  @return the menu command, or null if {@link exit()}
  has been called.
*/
function run()
  ...


© 2004-2010 airbit AG, CH-8008 Zürich
Document AB-M-TOO-869