Cerberus X Documentation

Module cerberus.lang

The lang module contains classes and functions built-in to the cerberus language. More...

Declarations

Imported By
cerberus
Please note that only documented modules are listed here, there might be undocumented modules that import this one.
Classes
Array The Array type is a fundamental cerberus type used to represent array values.
Object The Object class is the common base class for all cerberus objects.
String The String type is a fundamental cerberus type used to represent sequences of characters.
Throwable The Throwable class must be extended by all classes that are intended to be used with Throw.
Functions
DebugLog : Int ( message:String ) Writes message to the current debug channel.
DebugStop : Int () Stops program execution.
Error : Int ( message:String ) Generates a runtime error message and ends program execution.
Print : Int ( message:String ) Prints message to the current output channel.

Detailed Discussion

The lang module contains classes and functions built-in to the cerberus language.


Functions Documentation

Function DebugLog : Int ( message:String )

Writes message to the current debug channel.

Function DebugStop : Int ()

Stops program execution.

Function Error : Int ( message:String )

Generates a runtime error message and ends program execution.

If message is an empty string, program execution will end but no runtime error message with be generated.

Function Print : Int ( message:String )

Prints message to the current output channel.

The behavior of Print is target dependant. In general, cerberus will attempt to print to the 'stdout' output channel, but on some targets this is not always an option.