Enum SymbolType

java.lang.Object
java.lang.Enum<SymbolType>
gw.lang.parser.SymbolType
All Implemented Interfaces:
Serializable, Comparable<SymbolType>, java.lang.constant.Constable

public enum SymbolType extends Enum<SymbolType>
  • Enum Constant Details

    • CATCH_VARIABLE

      public static final SymbolType CATCH_VARIABLE
    • OBJECT_INITIALIZER

      public static final SymbolType OBJECT_INITIALIZER
    • NAMED_PARAMETER

      public static final SymbolType NAMED_PARAMETER
    • PARAMETER_DECLARATION

      public static final SymbolType PARAMETER_DECLARATION
    • FOREACH_VARIABLE

      public static final SymbolType FOREACH_VARIABLE
  • Field Details

    • isLocal

      private boolean isLocal
  • Constructor Details

    • SymbolType

      private SymbolType(boolean isLocal)
  • Method Details

    • values

      public static SymbolType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SymbolType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • isLocal

      public boolean isLocal()