Index: xotcl/doc/langRef.xotcl =================================================================== diff -u -r2c6cdd4f5d1c45c96e996a70b54ae4c5f46a40fd -r55764ef8921abb0e4f506e0ae6b0caf3f842276d --- xotcl/doc/langRef.xotcl (.../langRef.xotcl) (revision 2c6cdd4f5d1c45c96e996a70b54ae4c5f46a40fd) +++ xotcl/doc/langRef.xotcl (.../langRef.xotcl) (revision 55764ef8921abb0e4f506e0ae6b0caf3f842276d) @@ -1,4 +1,4 @@ -# $Id: langRef.xotcl,v 1.6 2004/10/30 20:19:55 neumann Exp $ +# $Id: langRef.xotcl,v 1.7 2005/01/10 11:57:35 neumann Exp $ package provide XOTcl-langRef 1.3.3 package require Tcl @@ -62,7 +62,7 @@ <@/p> } - date { $Date: 2004/10/30 20:19:55 $ } + date { $Date: 2005/01/10 11:57:35 $ } } ## @@ -403,13 +403,10 @@ <@li><@TT>objName info invar: Returns object invariants. - <@li><@TT>objName info nonposargs methodName: Returns - non-positional arg list of methodName - <@li><@TT>objName info metadata ?pattern?: Returns available metadata options. - <@li><@TT>objName info methods: Returns the list of all method + <@li><@TT>objName info methods: Returns the list of all methods currently reachable for objName. Includes procs, instprocs, cmds, instcommands on object, class hierarchy and mixins. Modifier <@TT>-noprocs only returns instcommands, @@ -420,6 +417,9 @@ of the object. With <@TT>-order modifier the order of mixins (whole hierarchy) is printed. + <@li><@TT>objName info nonposargs methodName: Returns + non-positional arg list of methodName + <@li><@TT>objName info parent: Returns parent object name (or "::" for no parent), in fully qualified form. @@ -601,7 +601,7 @@ @ Object instproc proc { name "method name" - ?non-pos-args?" "optinal non-positional arguments" + ?non-pos-args? "optinal non-positional arguments" args "method arguments" body "method body" "?preAssertion?" "optional assertions that must hold before the proc executes" @@ -767,6 +767,14 @@ return "new class name" } +@ Class instproc allinstances { +} { + description { + Compute all immediate and indirect instances of a class + } + return "fully qualified list of instances" +} + @ Class instproc create { objName "name of a new class or object" ?args? "arguments passed to the constructor"