routine hides
Documentation for routine hides
assembled from the following types:
language documentation Type system
From Type system
(Type system) trait hides
The trait hides
provides inheritance without being subject to re-dispatching.
hides A;B.new.m; # No outputB.new.n; # OUTPUT: «i am hidden»
The trait is hidden
allows a class to hide itself from re-dispatching.
is hiddenis AB.new.m; # No outputB.new.n; # OUTPUT: «i am hidden»
Classes declared with is hidden
also generate slightly different method signatures. To facilitate re-dispatch, typical methods are automatically provided with an extra *%_
parameter that captures extra named arguments. Because classes declared with is hidden
don't participate in re-dispatch, their methods don't receive this extra parameter.
role Metamodel::MultipleInheritance
From Metamodel::MultipleInheritance
(Metamodel::MultipleInheritance) method hides
method hides()
Returns a list of all hidden parent classes.