Index: xotcl/doc/langRef.xotcl =================================================================== diff -u -r638782f84b31e4ebfd00529381e280c70f9950bc -r1670c4220da681d286eae8acbac8745dd37296f9 --- xotcl/doc/langRef.xotcl (.../langRef.xotcl) (revision 638782f84b31e4ebfd00529381e280c70f9950bc) +++ xotcl/doc/langRef.xotcl (.../langRef.xotcl) (revision 1670c4220da681d286eae8acbac8745dd37296f9) @@ -1,4 +1,4 @@ -# $Id: langRef.xotcl,v 1.3 2004/08/17 10:12:55 neumann Exp $ +# $Id: langRef.xotcl,v 1.4 2004/09/21 11:41:43 neumann Exp $ package provide XOTcl-langRef 1.3 package require Tcl @@ -63,7 +63,7 @@ <@/p> } - date { $Date: 2004/08/17 10:12:55 $ } + date { $Date: 2004/09/21 11:41:43 $ } } ## @@ -362,10 +362,10 @@ Introspection of objects. The following options can be specified: <@ul> <@li><@TT>objName info args method: - Returns the arguments of the specified method. + Returns the arguments of the specified proc (object specific method). <@li><@TT>objName info body method: - Returns the body of the specified method. + Returns the body of the specified proc (object specific method). <@li><@TT>objName info class ?classname?: Returns the name of the class of the current object, if classname was @@ -381,7 +381,8 @@ it returns all commands that match the pattern. <@li><@TT>objName info default method arg var: Returns 1 if the - argument <@TT>arg of the method <@TT>method has a default + argument <@TT>arg of the proc (object specific method) + <@TT>method has a default value, otherwise 0. If it exists the default value is stored in <@TT>var. <@li><@TT>objName info filter: Returns a list of filters. @@ -810,6 +811,7 @@ for classes. The following options can be specified: <@ul> + <@li><@TT>ClassName info classchildren ?pattern?: Returns the list of nested classes with fully qualified names if <@TT>pattern was not specified, @@ -819,19 +821,6 @@ <@li><@TT>ClassName info classparent: Returns the class ClassName is nesting to. - <@li><@TT>ClassName info instdefault method arg var: - Returns 1 if the argument <@TT>arg of the instance method - <@TT>method has a default value, otherwise 0. If it exists - the default value is stored in <@TT>var. - - <@li><@TT>ClassName info instfilter: - Returns the list of registered filters. With -guard modifier - all instfilterguards are integrated - (<@TT> ClassName info instfilter -guards). - - <@li><@TT>objName info instfilterguard name: Returns the guards - for instfilter identified by name. - <@li><@TT>ClassName info heritage ?pattern?: Returns a list of all classes in the precedence order of the class hierarchy. @@ -842,24 +831,37 @@ If pattern is specified, only matching values are returned. <@li><@TT>ClassName info instargs method: - Returns the arguments of the specified method. + Returns the arguments of the specified instproc (instance method). <@li><@TT>ClassName info instbody method: - Returns the body of the specified method. + Returns the body of the specified instproc (instance method). <@li><@TT>ClassName info instcommands ?pattern?: Returns all commands defined for the class. If pattern is specified it returns all commands that match the pattern. + <@li><@TT>ClassName info instdefault method arg var: + Returns 1 if the argument <@TT>arg of the instproc (instance method) + <@TT>method has a default value, otherwise 0. If it exists + the default value is stored in <@TT>var. + + <@li><@TT>ClassName info instfilter: + Returns the list of registered filters. With -guard modifier + all instfilterguards are integrated + (<@TT> ClassName info instfilter -guards). + + <@li><@TT>objName info instfilterguard name: Returns the guards + for instfilter identified by name. + <@li><@TT>ClassName info instinvar: Returns class invariants. - <@li><@TT>ClassName info instmixin methodName: returns list of - non-positional args of methodName - <@li><@TT>ClassName info instmixin: Returns the list of instmixins of this class. + <@li><@TT>ClassName info instnonposargs methodName: returns list of + non-positional args of methodName + <@li><@TT>ClassName info instpost methodName: Returns post assertions of methodName.