Class IsReturningSlot

java.lang.Object
org.ek9lang.compiler.phase9.IsReturningSlot
All Implemented Interfaces:
BiPredicate<OperationInstr, String>

public final class IsReturningSlot extends Object implements BiPredicate<OperationInstr, String>
THE "is this slot the operation's returning variable" test over an operation's IR: the name the operation's symbol gives its returning symbol (<- rtn as T?, or as the author named it), else rtn or _rtn (a generated operator's, where a capture is named rtn - D37) when the CALLER owns that slot in the body - a local the author happened to name rtn is none of these. The derivation cross-checks (DerivationContradictions) and the escape census read a parameter's and the returning slot's records by it; never a private copy. Stateless: hold one.