Package org.ek9lang.compiler.support.closeables
package org.ek9lang.compiler.support.closeables
-
ClassDescriptionEvery type a close of this type reaches through its chain - the static types of the closed fields and the owner of the parent close - for the call graph (each is called by the generated close).The fields the type's close closes, in acquisition order: owned captures (
OwnedCaptures), then own closeable properties - never an injected one, nor the delegate aby-delegation proxy close forwards to (the exclusions are listed onCloseSteps).THE decision of what a type'soperator closeis responsible for - use it, never re-derive it.THE generated chain of a type's close (CloseSteps): what it closes (ClosedProperties) and the parent close it then calls (ParentClose).The close operator this type declares itself, if any: own scope, not abstract, not a delegation proxy.True when values of this TYPE have a close the compiler must see run (CloseableResourceToBeChecked.isManagedCloseableType(ISymbol)) - THE question for a type that is not a field, for example the component an application registers (the application closes it at program end).True when the method is a type's close operator.True when the operator is a close the developer asked for withdefault operator close.A field (or capture) whose type is a managed closeable (IsCloseableType).True when the capture was marked as owned by the dynamic class that made it.The no-argument close operator in the type's own scope, whatever it is (abstract, proxy or written).The captures a dynamic class owns: each one PRE_IR_CHECKS marked as a fresh closeable (R-E).The close of the nearest super CLASS that has one, when it is not abstract.