Uses of Record Class
org.ek9lang.compiler.support.ObjectSharing.Use
Packages that use ObjectSharing.Use
-
Uses of ObjectSharing.Use in org.ek9lang.compiler.support
Methods in org.ek9lang.compiler.support that return types with arguments of type ObjectSharing.UseModifier and TypeMethodDescriptionstatic List<ObjectSharing.Use> ObjectSharing.all(EK9Parser.IdentifierContext occurrence, Function<org.antlr.v4.runtime.tree.ParseTree, ISymbol> recorded) EVERY effect of one occurrence: whatObjectSharing.of(EK9Parser.IdentifierContext, Function)says, plus what the occurrence RETAINS (D61) - the object put in a collection literal, a Dict value, given to a call or constructor that keeps its argument, added with a compound assignment, or iterated by afor: whatever holds it afterwards shares the object, so an in-place change through the holder (a loop variable, an element, a field) changes it too.static List<ObjectSharing.Use> ObjectSharing.allOfSelf(EK9Parser.PrimaryReferenceContext self, Function<org.antlr.v4.runtime.tree.ParseTree, ISymbol> recorded) Whatthisorsuper- the object a method runs on, whose name is no identifier - does to that object, read exactly as the occurrence of a variable is (ObjectSharing.all(EK9Parser.IdentifierContext, Function)): kept where the whole expression is kept (items += this,box <- Box(this),(this) is ...), or the start of a call chain that may return a view of it (this.me()).static Optional<ObjectSharing.Use> ObjectSharing.of(EK9Parser.IdentifierContext occurrence, Function<org.antlr.v4.runtime.tree.ParseTree, ISymbol> recorded) Whatoccurrence- 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.