Index: doc/migration1-2.html =================================================================== diff -u -rff41e1a0cb88c3aa7b96ca3b67b27043794991b0 -rc619db7db573de1047ec1810dc0a8dc4d86ce98d --- doc/migration1-2.html (.../migration1-2.html) (revision ff41e1a0cb88c3aa7b96ca3b67b27043794991b0) +++ doc/migration1-2.html (.../migration1-2.html) (revision c619db7db573de1047ec1810dc0a8dc4d86ce98d) @@ -321,7 +321,119 @@ obj info callable -which methodName - + +

List definition of scripted methods defined by classes

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
XOTcl 1XOTcl 2
cls info instbody methodNamecls info method body methodName
cls info instargs methodNamecls info method args methodName
cls info instnonposargs methodNamecls info method parameter methodName
cls info instdefault methodNamecls info method parameter methodName
cls info instpre methodNamecls info method precondition methodName
cls info instpost methodNamecls info method postcondition methodName
n.a.cls info method definition methodName
+ +

List definition of scripted object specific methods

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
XOTcl 1XOTcl 2
obj info body methodNameobj info method body methodName
obj info args methodNameobj info method args methodName
obj info nonposargs methodNameobj info method parameter methodName
obj info default methodNameobj info method parameter methodName
obj info pre methodNameobj info method precondition methodName
obj info post methodNameobj info method postcondition methodName
n.a.obj info method definition methodName
+

For definition of class object specific methods, use modifier + object as shown in examples above. +

+ +

List definition of methods defined by aliases, setters or forwarders

+ + + + + + + + + + + +

List fully qualified name of method

+
XOTcl 1XOTcl 2
n.a.obj info method definition methodName
n.a.cls info method definition methodName
+ + + + + + + + + + +

List type of a method

+
XOTcl 1XOTcl 2
n.a.obj info method name methodName
n.a.cls info method name methodName
+ + + + + + + + + + + +

Predefined Methods

Dispatch, Aliases, etc.

Assertions

@@ -369,5 +481,5 @@
- Last modified: Tue Jan 5 18:26:03 CET 2010 + Last modified: Tue Jan 5 19:00:20 CET 2010
XOTcl 1XOTcl 2
n.a.obj info method type methodName
n.a.cls info method type methodName