Class MarkKeepsReceiver
java.lang.Object
org.ek9lang.compiler.support.retention.MarkKeepsReceiver
- All Implemented Interfaces:
BiConsumer<ScopedSymbol, String>
Record, on a user method or operator, that the object it is called on may be kept beyond the call -
<destination> <- receiver, exactly the text a built-in declares (HTTP.whenReady's
readyHandler <- receiver): the destination is another parameter's name (the receiver is stored in what
that argument refers to) or ambient (held where nothing here can name it: a capture, a returned closure, a
call that keeps it). Derived by phase5/CloseableArgumentKeeping.-
Constructor Details
-
MarkKeepsReceiver
public MarkKeepsReceiver()
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<ScopedSymbol, String>
-