Class OccurrenceUse

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

final class OccurrenceUse extends Object implements BiFunction<EK9Parser.IdentifierContext, Function<org.antlr.v4.runtime.tree.ParseTree, ISymbol>, Optional<ObjectSharing.Use>>
What occurrence - an identifier the compiler bound to a symbol - does to the object it names; empty when it only reads it, or stores a new object in it. The first part of ObjectSharing's answer.