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. Index: xotcl/doc/tutorial.html =================================================================== diff -u -raf574e7e934986818f402ee382f7cdab57feed39 -r1670c4220da681d286eae8acbac8745dd37296f9 --- xotcl/doc/tutorial.html (.../tutorial.html) (revision af574e7e934986818f402ee382f7cdab57feed39) +++ xotcl/doc/tutorial.html (.../tutorial.html) (revision 1670c4220da681d286eae8acbac8745dd37296f9) @@ -1,5 +1,5 @@ - + XOTcl - Tutorial @@ -892,15 +892,15 @@ objName info args methodName -

Returns the arguments of the specified method.

+

Returns the arguments of the specified proc (object specific method).

objName info body methodName -

Returns the body of the specified method.

+

Returns the body of the specified proc.

@@ -928,7 +928,7 @@

Returns 1 if the argument arg of - the specified method has a default value, otherwise 0. If + the specified proc has a default value, otherwise 0. If the default value exists it is stored in var.

@@ -1092,7 +1092,7 @@ table summarizes the additional info options available on classes.

-

Options for the into method on classes

+

Options for the info method on classes

- - + + + +
className info heritage ?pattern? @@ -1115,24 +1115,34 @@
className info instargs methodName

Returns the arguments of the specified method.

+

Returns the arguments of the specified instproc + (method provided to objects).

className info instbody methodName

Returns the body of the specified method.

+

Returns the body of the specified instproc.

className info instcommands ?pattern?

Returns all commands defined on the class, if pattern was not specified, otherwise it returns all - commands that match the pattern.

+ commands provided to objects that match the pattern.

className info instdefault methodName arg var

+
+

Returns 1 if the argument arg of + the specified instproc has a default value, otherwise 0. If + the default value exists it is stored in var.

+
className info subclass ?className2?

Returns a list of all subclasses of the class, if @@ -3403,7 +3413,7 @@ With this definitions, the following call is rewritten as indicated in the comment.

-  x1 Info class          ;# ::Info @class ::x1;# ::Info @class ::x1
 

When a forwarder is defined, the callee (the target command) can be