Index: generic/predefined.h =================================================================== diff -u -r6a4a79d6ff336d4961217c161f4f5983966d91a6 -rf0f0b5422a37c8d05f6b835de37fda6bb7347dfd --- generic/predefined.h (.../predefined.h) (revision 6a4a79d6ff336d4961217c161f4f5983966d91a6) +++ generic/predefined.h (.../predefined.h) (revision f0f0b5422a37c8d05f6b835de37fda6bb7347dfd) @@ -1,5 +1,4 @@ static char cmd[] = -"\n" "namespace eval ::nx {\n" "set bootstrap 1\n" "::nx::core::createobjectsystem ::nx::Object ::nx::Class {\n" @@ -36,12 +35,14 @@ "::nx::core::methodproperty Class alloc redefine-protected true\n" "::nx::core::methodproperty Class dealloc redefine-protected true\n" "::nx::core::methodproperty Class create redefine-protected true\n" +"# anInstance foo; # invokes \"foo\"\n" "::nx::core::method Class method {\n" "name arguments body -precondition -postcondition} {\n" "set conditions [list]\n" "if {[info exists precondition]} {lappend conditions -precondition $precondition}\n" "if {[info exists postcondition]} {lappend conditions -postcondition $postcondition}\n" "::nx::core::method [::nx::core::current object] $name $arguments $body {*}$conditions}\n" +"#\n" "::nx::core::method Object method {\n" "name arguments body -precondition -postcondition} {\n" "set conditions [list]\n" @@ -81,7 +82,11 @@ ":protected method init args {}\n" ":protected method defaultmethod {} {::nx::core::current object}\n" ":protected method objectparameter {} {;}}\n" +"# argument list on position POS, where POS can be a positive or\n" +"# left to right and should be used in ascending order.\n" "::nx::core::forward Object forward ::nx::core::forward %self -per-object\n" +"# {{{ {%@POS value} }}} substitute the specified value in the\n" +"# integer or the word end. The positional arguments are evaluated from\n" "::nx::core::forward Class forward ::nx::core::forward %self\n" "Class protected object method __unknown {name} {}\n" "Object public method alias {-nonleaf:switch -objscope:switch methodName cmd} {\n"