Class ChainedViewUses

java.lang.Object
org.ek9lang.compiler.support.sharing.ChainedViewUses
All Implemented Interfaces:
BiFunction<EK9Parser.ObjectAccessStartContext, Function<org.antlr.v4.runtime.tree.ParseTree, ISymbol>, List<ObjectSharing.Use>>

final class ChainedViewUses extends Object implements BiFunction<EK9Parser.ObjectAccessStartContext, Function<org.antlr.v4.runtime.tree.ParseTree, ISymbol>, List<ObjectSharing.Use>>
The call chain that starts at a variable or this: a link that may return a VIEW of what it was called on makes the result the same object as (part of) the receiver. A later link that may change it changes the receiver (ObjectSharing.Kind.HANDED_TO_CALL); a result that is then kept is kept as the receiver (RetainedBy).