Index: doc/next-migration.html =================================================================== diff -u -r09fdaef530d334f8ea065db60b20a644c671e74d -raaced4467cdf9fd24e428c1a319b355fb038412d --- doc/next-migration.html (.../next-migration.html) (revision 09fdaef530d334f8ea065db60b20a644c671e74d) +++ doc/next-migration.html (.../next-migration.html) (revision aaced4467cdf9fd24e428c1a319b355fb038412d) @@ -1041,7 +1041,6 @@ # # method # forward -# setter # alias # attribute # @@ -1122,14 +1121,12 @@ http://www.gnu.org/software/src-highlite -->
# Define setter and getter methods
 
-Class create C {
-  :setter p1 ?value_constraint?
-  :class-object setter p2 ?value_constraint?
-}
+Class create C
+::nsf::setter C p1
+::nsf::setter C -per-object p2
 
-Object create o {
-  :setter p3 ?value_constraint?
-}
+Object create o +::nsf::setter o p3
@@ -1237,7 +1234,7 @@
# Method modifiers orthogonal over all kinds of methods
 #
 # Method-definition-methods:
-#    method, forward, setter, alias, attribute
+#    method, forward, alias, attribute
 
 Class create C {
   :/method-definiton-method/ ...
@@ -1256,7 +1253,7 @@
 ::nx::configure defaultMethodCallProtection true|false can be used to set the default
 call protection for scripted methods, forwarder and aliases, while
 ::nx::configure defaultAttributeCallProtection true|false can set the
-default for attributes and setters.

+default for attributes.

@@ -1511,7 +1508,7 @@ http://www.lorenzobettini.it http://www.gnu.org/software/src-highlite -->
# Set instance variable of object obj to a value via
-# resolver (preferred way: define setter method on obj)
+# resolver (preferred way: define attribute on obj)
 
 /obj/ eval [list set /:varName/ ?value?]
@@ -3762,7 +3759,7 @@ protected method can be only called from an object of that class, while public methods can be called from every object. The method protection can be used to every kind of method, such as e.g. scripted -methods, aliases, forwarders, setters or attributes. For invocations, +methods, aliases, forwarders, or attributes. For invocations, the most specific definition (might be a mixin) is used for determining the protection.

@@ -3869,7 +3866,7 @@