Description
DebugObject is a base class for all the other classes in LZUnit that
supports the debugging of LZUnit itself.
Each subclass overrides the debugFields and _dbg_typename methods.
debugFields should return an array of the fields of the class that
should be printed when debugging. _dbg_typename should return a
string that is the descriptive name of the class for debugging.
Details
Properties (1)
-
debugWrite
-
<attribute name="debugWrite" />
whether or not to emit debugging statements
Methods (4)
-
construct()
-
<method name="construct" args="parent, args" />
public function construct(parent, args);
-
_dbg_name()
-
<method name="_dbg_name" />
public function _dbg_name() : String;
-
_dbg_typename()
-
<method name="_dbg_typename" />
public function _dbg_typename();
-
debugFields()
-
<method name="debugFields" />
public function debugFields();
LZX Synopsis
<class name="
DebugObject" extends="
LzView
">
<method name="
construct
" args="
parent,
args" />
</class>
JavaScript Synopsis
public
DebugObject extends
LzView
{
prototype public function
construct
(
parent,
args);
prototype public function
_dbg_name
() :
String;
}