Enum Class EscapeMetaDataDetails.Reach.Reason
java.lang.Object
java.lang.Enum<EscapeMetaDataDetails.Reach.Reason>
org.ek9lang.compiler.ir.data.EscapeMetaDataDetails.Reach.Reason
- All Implemented Interfaces:
Serializable, Comparable<EscapeMetaDataDetails.Reach.Reason>, Constable
- Enclosing class:
EscapeMetaDataDetails.Reach
public static enum EscapeMetaDataDetails.Reach.Reason
extends Enum<EscapeMetaDataDetails.Reach.Reason>
The destinations, each with the level it implies.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe callee keeps it somewhere no argument names (ambient,unknown,unimplemented).Captured by a dynamic function or class, whose body this operation's IR does not follow (N-V review 2026-11-13, F2): the closure may keep, return or hand over the capture - T4-5's hand-over does - so a capture is a reach, and every content of a captured value inherits it through the capture holder.The value is (an alias of) a caught exception.The value is the result of an extern that declares nothing and may hand back its receiver or an argument.The value is (an alias of) a module-lifetime function instance.Kept in aMutexLock's payload - its own domain, never this thread's alone.Stored into a parameter's object, or kept by a callee into one.Given to a compiler-runtime plumbing helper with no EK9 symbol (Ek9Async,Ek9Sort, ...).Published for the life of the program (PUBLISH).Assigned to the return slot or returned.Stored into a static (a registration, an enumeration's constant, a cycle-guard owner).Stored into a field ofthis, or kept by a callee intothis.Handed to runtime threads (TCP.accept,Signals.register, ...).Thrown.Given to a constructor of the program's own that declares nothing: phase 5 derives no RETAINS for a constructor (it judges one throughfateOf), so what it keeps cannot be read - fail closed.Given to a callee the IR names but the program cannot resolve - fail closed. -
Method Summary
Modifier and TypeMethodDescriptionlevel()text()Returns the enum constant of this class with the specified name.static EscapeMetaDataDetails.Reach.Reason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
-
LOCAL
-
THIS
Stored into a field ofthis, or kept by a callee intothis. -
PARAMETER
Stored into a parameter's object, or kept by a callee into one. -
RETURN
Assigned to the return slot or returned. -
STATIC
Stored into a static (a registration, an enumeration's constant, a cycle-guard owner). -
PUBLISHED
Published for the life of the program (PUBLISH). -
THROWN
Thrown. -
THREAD
Handed to runtime threads (TCP.accept,Signals.register, ...). -
LOCK
Kept in aMutexLock's payload - its own domain, never this thread's alone. -
CAPTURED
Captured by a dynamic function or class, whose body this operation's IR does not follow (N-V review 2026-11-13, F2): the closure may keep, return or hand over the capture - T4-5's hand-over does - so a capture is a reach, and every content of a captured value inherits it through the capture holder. -
EXCEPTION
The value is (an alias of) a caught exception. -
FUNCTION_INSTANCE
The value is (an alias of) a module-lifetime function instance. -
UNKNOWN_CALLEE
Given to a callee the IR names but the program cannot resolve - fail closed. -
UNDECLARED_CONSTRUCTOR
Given to a constructor of the program's own that declares nothing: phase 5 derives no RETAINS for a constructor (it judges one throughfateOf), so what it keeps cannot be read - fail closed. -
PLUMBING
Given to a compiler-runtime plumbing helper with no EK9 symbol (Ek9Async,Ek9Sort, ...). -
EXTERN_RESULT
The value is the result of an extern that declares nothing and may hand back its receiver or an argument. -
AMBIENT
The callee keeps it somewhere no argument names (ambient,unknown,unimplemented).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
level
-
text
-