Index: doc/migration1-2.html =================================================================== diff -u -r734813e4825bba23aed9d8a689e670c4ca93a818 -re9e005a37cea3695128c401e819b95d128bee52d --- doc/migration1-2.html (.../migration1-2.html) (revision 734813e4825bba23aed9d8a689e670c4ca93a818) +++ doc/migration1-2.html (.../migration1-2.html) (revision e9e005a37cea3695128c401e819b95d128bee52d) @@ -10,7 +10,7 @@ color: black; } table i { - font-size: 80%; + font-size: 85%; } table td code i { font-style: italic; @@ -132,6 +132,10 @@
XOTcl | Next Scripting Language |
---|---|
- # Define method and object method in the init-block of a class + # Define method and object method # in the init-block of a class Class create C { |
XOTcl | Next Scripting Language | |
---|---|---|
# method modifiers "object", "public" and
- "protected" # are not available. + |
+ # Methods for defining methods: # + # proc + # instproc + # forward + # instforward + # parametercmd + # instparametercmd + + |
+
+ # Methods for defining methods: # + # method + # forward + # setter + # alias + # attribute + + |
+
Class C |
- # Define scripted methods with various method modifiers + # Define scripted methods Class create C { |
|
# method modifiers "object", "public" and
- "protected" # are not available. + + | ||
Class C |
- # Define forwarder with various method modifiers + # Define forwarder Class create C { |
|
# method modifiers "object", "public" and
- "protected" # are not available. + + | ||
Class C |
- # Define setters with various method modifiers + # Define setter and getter methods Class create C {
- # TODO: same for "alias" und "attribute" --
- mybe more generic, with placeholder for "method", "forward",
- "setter", "alias" and "attribute"
+ :setter p1 ?value_constraint?+ :object setter p2 ?value_constraint? + } + Object create o { |
+ |
+ # Method "alias" not available |
-
+ # Define method aliases (to scripted or
+ non-scripted methods) + Class create C { |
+
+
+ |
+ # Parameters only available at class level + Class C \
+ |
+
+ # Define object attributes #(parameters for initializing objects) + Class create C { |
+
XOTcl | Next Scripting Language |
---|---|
# Method modifiers + # + # "object", + # "public", and + # "protected" + # + # are not available. + |
+
+ # Method modifiers orthogonal over all kinds of methods + # + # Method-definition-methods: + # method, forward, setter, alias, attribute + + Class create C { |
+
The exit hander interface changed from a method of
::xotcl::Object
into three Tcl procs in the ::nx::core
@@ -808,6 +909,6 @@