Class IsOwnedByItsStatement

java.lang.Object
org.ek9lang.compiler.support.IsOwnedByItsStatement
All Implemented Interfaces:
Predicate<ISymbol>

public final class IsOwnedByItsStatement extends Object implements Predicate<ISymbol>
THE reader of the statement-ownership mark (MarkStatementOwned): is this recorded symbol a call whose closeable result its statement owns, and so closes? Phase 5's call graph and phase 7's call generation ask here; never read the squirrel raw.
  • Constructor Details

    • IsOwnedByItsStatement

      public IsOwnedByItsStatement()
  • Method Details

    • test

      public boolean test(ISymbol recorded)
      Is recorded a call whose result its statement owns (and closes).
      Specified by:
      test in interface Predicate<ISymbol>