Enum Class IsFreshValueExpression.Reading

java.lang.Object
java.lang.Enum<IsFreshValueExpression.Reading>
org.ek9lang.compiler.support.IsFreshValueExpression.Reading
All Implemented Interfaces:
Serializable, Comparable<IsFreshValueExpression.Reading>, Constable
Enclosing class:
IsFreshValueExpression

public static enum IsFreshValueExpression.Reading extends Enum<IsFreshValueExpression.Reading>
Which reading of "fresh" is asked.
  • Enum Constant Details

    • STRICT

      public static final IsFreshValueExpression.Reading STRICT
      A literal or a constructor call (E08257's MutexLock argument).
    • CLOSEABLE_RETURNS

      public static final IsFreshValueExpression.Reading CLOSEABLE_RETURNS
      The closeable-return reading (R5): also a call whose callee DECLARES a closeable return type and does not declare (or have derived) a result that may alias.
  • Method Details

    • values

      public static IsFreshValueExpression.Reading[] 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

      public static IsFreshValueExpression.Reading valueOf(String name)
      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 name
      NullPointerException - if the argument is null