Index: doc/Object.man =================================================================== diff -u -r5c386b5e1011480621bf5134e9d232dd922d27f7 -r430801481ec743e9b44376bc82f1568ac165cdf7 --- doc/Object.man (.../Object.man) (revision 5c386b5e1011480621bf5134e9d232dd922d27f7) +++ doc/Object.man (.../Object.man) (revision 430801481ec743e9b44376bc82f1568ac165cdf7) @@ -631,83 +631,24 @@ [cmd_def alias] [list_begin definitions] -[call [arg obj] [opt "public | private | protected"] [const object] [cmd alias] [arg methodName] [opt "-returns [arg charConstraint]"] [opt "-frame object | method"] [arg cmdName]] -Define an <<@gls alias>> as per-object method. This method is used -for defining a method with the specified name by binding a -pre-existing implementation. This alias target is provided as the -last argument. +[call [arg obj] [opt "public | private | protected"] [const object] [cmd alias] [arg methodName] [opt "-returns [arg valueChecker]"] [opt "-frame object | method"] [arg cmdName]] -[list_begin arguments] +[include alias.man.inc] -[arg_def "" methodName in] Name of the new method - -[arg_def "" -returns in] -An optional character constraint to check the result value received -upon invoking on the alias method (e.g., [const integer]). - -[arg_def "" -frame in] - -Optional scoping information. If the provided -value is [const object] then variable references of the -command are created as instance variables. If the value -is [const method], then a method frame is pushed (the -method can resolve [cmd ::nx::self] or can call [cmd nx::next]). - -[arg_def "" cmdName in] - -A reference to an implementation. If the -implementation is a method, the value should be a -[term "[keywords {method handle}]"] (see [sectref-external xxx]), if it is a Tcl command, it should -be a fully qualified command name. - [list_end] -[list_end] [cmd_def delete] [list_begin definitions] -[call [arg obj] [cmd delete] [method object] [method property] [arg propertyName]] -[call [arg obj] [cmd delete] [method object] [method variable] [arg variableName]] -[call [arg obj] [cmd delete] [method object] [method method] [arg methodName]] +[include delete.man.inc] -[def "[method object] [method property]"] -Remove a previously defined property defined for the object. -[para] -Return value: ... -[list_begin arguments] - -[arg_def "" propertyName in] Unqualified name of the property which should be deleted. - [list_end] -[def "[method object] [method variable]"] -Remove a previously defined variable defined for the object. -[para] -Return value: ... -[list_begin arguments] - -[arg_def "" variableName in] Unqualified name of the variable which should be deleted. - [list_end] -[def "[method object] [method method]"] -Remove a previously defined method defined for the object. -[list_begin arguments] -[arg_def "" methodName in] Unqualified name of the method which should be deleted. - -[arg_def "" "(Return value)"] ... - -[list_end] - - -[list_end] - -[list_end] - - [section {Internally called Methods}] [cmd nx::Object] provides a set of default implementations for