Package org.prism

Enum Class ParseResult.WarningLevel

java.lang.Object
java.lang.Enum<ParseResult.WarningLevel>
org.prism.ParseResult.WarningLevel
All Implemented Interfaces:
Serializable, Comparable<ParseResult.WarningLevel>, Constable
Enclosing class:
ParseResult

public static enum ParseResult.WarningLevel extends Enum<ParseResult.WarningLevel>
  • Enum Constant Details

    • WARNING_DEFAULT

      public static final ParseResult.WarningLevel WARNING_DEFAULT
      For warnings which should be emitted if $VERBOSE != nil.
    • WARNING_VERBOSE

      public static final ParseResult.WarningLevel WARNING_VERBOSE
      For warnings which should be emitted if $VERBOSE == true.
  • Method Details

    • values

      public static ParseResult.WarningLevel[] 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 ParseResult.WarningLevel 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