Class IsDerivedRetention

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

public final class IsDerivedRetention extends Object implements Predicate<ScopedSymbol>
Was the callee's retention DERIVED by phase 5 (a user callable) rather than DECLARED (a built-in's @Ek9Retains)? The closeable ownership decision treats the two differently: a derived link is honoured only where the return type may hold a borrowed view (support/BorrowedViewReturn).
  • Constructor Details

    • IsDerivedRetention

      public IsDerivedRetention()
  • Method Details