/cls/ instmixin ... -/cls/ instmixinguard /mixin/ ?condition?
Index: doc/next-migration.html =================================================================== diff -u -rc2374366bcb47c70ebd33cb16c8152eba783987f -r3fe3b9ed6500be19a27cbd4a0dd212a47b142194 --- doc/next-migration.html (.../next-migration.html) (revision c2374366bcb47c70ebd33cb16c8152eba783987f) +++ doc/next-migration.html (.../next-migration.html) (revision 3fe3b9ed6500be19a27cbd4a0dd212a47b142194) @@ -3,7 +3,7 @@
- +# "parameter" creates always accessor # methods, accessor methods are -# always public, no "cget" is available.+# always public, no "cget" is available. + +Class create Foo -parameter {a {b1}} + +# Use the accessor method to query +# the value of a configuration parameter +puts [f1 b] + +# Use the accessor method to set the +# value of instance variable "a" +f1 a 100 + +# Use the accessor method to unset the +# value of instance variable "a" n.a. via +# accessor
/cls/ instmixin ... -/cls/ instmixinguard /mixin/ ?condition?
/obj/ mixin ... -/obj/ mixinguard /mixin/ ?condition?
/cls/ instfilter ... -/cls/ instfilterguard /filter/ ?condition?
# Register per-class filter and guard for +# a class +/cls/ instfilter ... +/cls/ instfilterguard /filter/ ?condition? + +# Query per-class filter +/cls/ instfilter
# Register per-object filter and guard for
+# Register per-class filter and guard for
# a class
-/cls/ class filter ...
-/cls/ class filter guard /filter/ ?condition?
# Register per-object filter and guard for # an object -/obj/ object filter ... -/obj/ object filter guard /filter/ ?condition?
# List registered filters +/obj/ info filters -order ?-guards? ?pattern? + +# List registered mixins +/obj/ info mixins -heritage ?-guards? ?pattern?
# List registered filters +/obj/ info lookup filters ?-guards? ?pattern? + +# List registered mixins +/obj/ info lookup mixins ?-guards? ?pattern?
# ... info filter methods -order ... returns -# method-handles instead of triples -# (applies to all three variants) - -/obj/ info object filter methods \ - ?-guards? ?-order? ?pattern? +@@ -5930,7 +6012,7 @@ .nx-placeholder {color: #AF663F; font-weight: normal; font-style: italic;} .nx-variable {color: #AF663F; font-weight: normal; font-style: normal;} -/obj/ info object filter methods \ + ?-guards? ?pattern? /obj/ info object filter guard /name/@@ -4857,7 +4939,7 @@ .nx-variable {color: #AF663F; font-weight: normal; font-style: normal;} /cls/ info filter methods \ - ?-guards? ?-order? ?pattern? + ?-guards? ?pattern? /cls/ info filter guard /name/@@ -4872,7 +4954,7 @@ .nx-placeholder {color: #AF663F; font-weight: normal; font-style: italic;} .nx-variable {color: #AF663F; font-weight: normal; font-style: normal;} - /obj/ info mixin ?-guards? ?-order? ?pattern? +/obj/ info mixin ?-guards? ?-order ?pattern? /obj/ info mixinguard /name/ /obj/ info object mixin classes \ - ?-guards? ?-heritage? ?pattern? + ?-guards? ?pattern? /obj/ info object mixin guard /name/@@ -4916,7 +4998,7 @@ .nx-variable {color: #AF663F; font-weight: normal; font-style: normal;} @@ -5034,8 +5116,8 @@ /cls/ info method registrationhandle /methodName/ /obj/ info object method registrationhandle /methodName/ # -# For aliases, one can query the original definition -# via "info method origin" +# For aliases, one can query the original +# definition via "info method origin" # /cls/ info method origin /methodName/ /obj/ info object method origin /methodName//cls/ info mixin classes \ - ?-closure? ?-guards? ?-heritage? ?pattern? + ?-closure? ?-guards? ?pattern? /cls/ info mixin guard /name/
::nsf::method::assertion /obj/ check /checkptions/+
::nsf::method::assertion /obj/ check /checkoptions/
NX does not define the methods class
and superclass
(like XOTcl), but allows to
-alter all object/class relations (including class/superclass/object-mixin/…) nsf::relation
. The class and superclass
-can be certainly queried in all variants with info class
or info superclass
.
nsf::relation::set
. The class and superclass can be certainly queried
+in all variants with info class
or info superclass
.