Index: doc/next-tutorial/next-tutorial.html =================================================================== diff -u -N -r061df695308b9fc0ddfc8c92381a617a3aed325b -r3d145fa523334bae381b61747a7c6178021e78d3 --- doc/next-tutorial/next-tutorial.html (.../next-tutorial.html) (revision 061df695308b9fc0ddfc8c92381a617a3aed325b) +++ doc/next-tutorial/next-tutorial.html (.../next-tutorial.html) (revision 3d145fa523334bae381b61747a7c6178021e78d3) @@ -1226,7 +1226,7 @@ nx::Class create SafeStack -superclasses Stack -mixins Safety SafeStack create s3 -
The difference of a per-class mixin and an per-object mixin is that +
The difference of a per-class mixin and a per-object mixin is that
the per-class mixin is applicable to all instances of the
class. Therefore, we call these mixins also sometimes instance mixins.
In our example in Listing 10,
@@ -1283,7 +1283,7 @@
an integer stack. The method pull
is the same for the integer stack
as for all other stacks, so it will be reused as usual from the class
Stack
. The object-specific method push
of s4
has a value
-constraint in its argument list (thing:integer
) that makes sure,
+constraint in its argument list (thing:integer
) that makes sure
that only integers can be stacked. In case the argument is not an
integer, an exception will be raised. Of course, one could perform the
value constraint checking as well in the body of the method proc
by
@@ -1548,7 +1548,7 @@
and different superclasses might have different requirements in their
constructors. The declarative approach in NX reduces the need for
tailored constructor methods significantly.
Note, that the property matnr
of class Student
is required. This
+
Note that the property matnr
of class Student
is required. This
means, that if we try to create an instance of Student
, a runtime
exception will be triggered. The property oncamups
is boolean and
contains a default value. Providing a default value means that
@@ -2280,7 +2280,7 @@
handles (we used already method handles in the section about method
aliases). In the example above, next
calls the shadowed method and
add their results to the results of every method. So, the final result
-contains parts from d1
, D
and C
. Note, that the topmost next
+contains parts from d1
, D
and C
. Note that the topmost next
in method foo
of class C
shadows no method foo
and simply
returns empty (and not an error message).
The introspection method info precedence
provides information about