Class MarkDelegatedRules

java.lang.Object
org.ek9lang.compiler.support.retention.MarkDelegatedRules
All Implemented Interfaces:
Predicate<MethodSymbol>

public final class MarkDelegatedRules extends Object implements Predicate<MethodSymbol>
THE rules a delegated trait's FORWARDER takes (with trait of Keeper by impl; the derivation audit's M5, 2026-11-15): the forwarder has no source - phase 7 emits impl.keep(n) - so it has no body to derive from and was read as keeping nothing, though the delegate keeps what it is given. It takes the rules of the member it calls (DelegatedMember, the same resolution phase 7 uses), parameters by position (MarkInheritedRules, THE downward copy): the delegate is a part of the forwarder, so receiver <- n and return <- receiver-interior hold of the forwarder as they hold of the delegate. A member that cannot be found makes the forwarder unknown (fail closed). Run inside the derivation fixpoints; marks only add. Answers true when the forwarder gained a rule. Stateless: hold one.
  • Constructor Details

    • MarkDelegatedRules

      public MarkDelegatedRules()
  • Method Details