Index: doc/Class.man =================================================================== diff -u -r50abe8cdfef208a333756e2e95b3450423b1608d -r54cdf1847245e3d6245a740808d1d6923fb78997 --- doc/Class.man (.../Class.man) (revision 50abe8cdfef208a333756e2e95b3450423b1608d) +++ doc/Class.man (.../Class.man) (revision 54cdf1847245e3d6245a740808d1d6923fb78997) @@ -284,44 +284,22 @@ [list_end] -[cmd_def require] - -[list_begin definitions] - -[include require.man.inc] - -[list_end] - [cmd_def property] [list_begin definitions] -[call [arg cls] [method property] [opt "[option -accessor] public | protected | private"] [opt "[option -configurable] [arg trueFalse]"] [opt [option -incremental]] [opt "[option -class] [arg className]"] [opt [option -nocomplain]] [arg spec] [opt [arg initBlock]]] +[call [arg cls] [method property] [opt "[option -accessor] public | protected | private"] [opt "[option -configurable] [arg trueFalse]"] [opt [option -incremental]] [opt "[option -class] [arg className]"] [arg spec] [opt [arg initBlock]]] [include property.man.inc] -[para] +[list_end] -By default, the [term property] will ascertain that no (potentially) -pre-existing and equally named object variable will be overwritten -when defining the property. In case of a conflict, an error exception -is thrown: +[cmd_def require] -[example { -% Object create obj { set :x 1 } -::obj -% ::obj object property {x 2} -object ::obj has already an instance variable named 'x' -}] +[list_begin definitions] -If the [term switch] [option -nocomplain] is on, this check is omitted (continuing the above example): +[include require.man.inc] -[example { -% ::obj object property -nocomplain {x 2} -% ::obj eval {set :x} -2 -}] - [list_end] [cmd_def variable] @@ -330,32 +308,10 @@ [comment {::nx::Object variable ?-accessor /value/? ?-incremental? ?-class /value/? ?-configurable /boolean/? ?-initblock /value/? ?-nocomplain? /spec/ ?/defaultValue/?}] -[call [arg cls] [method variable] [opt "[option -accessor] public | protected | private"] [opt [option -incremental]] [opt "[option -class] [arg className]"] [opt "[option -configurable] [arg trueFalse]"] [opt "[option -initblock] [arg script]"] [opt [option -nocomplain]] [arg spec] [opt [arg defaultValue]]] +[call [arg cls] [method variable] [opt "[option -accessor] public | protected | private"] [opt [option -incremental]] [opt "[option -class] [arg className]"] [opt "[option -configurable] [arg trueFalse]"] [opt "[option -initblock] [arg script]"] [arg spec] [opt [arg defaultValue]]] [include variable.man.inc] -[para] - -By default, the [term variable] will ascertain that a -pre-existing and equally named object variable will not be overwritten -when defining the [term variable]. In case of a conflict, an error exception -is thrown: - -[example { -% Object create obj { set :x 1 } -::obj -% ::obj object variable x 2 -object ::obj has already an instance variable named 'x' -}] - -If the [term switch] [option -nocomplain] is on, this check is omitted (continuing the above example): - -[example { -% ::obj object variable -nocomplain x 2 -% ::obj eval {set :x} -2 -}] - [list_end] [list_end]