Package org.openjdk.asmtools.jasm

## Enum JasmTokens.TokenType

- java.lang.Object
- - java.lang.Enum<JasmTokens.TokenType>
  - - org.openjdk.asmtools.jasm.JasmTokens.TokenType

- All Implemented Interfaces:
    `java.io.Serializable`, `java.lang.Comparable<JasmTokens.TokenType>`
  Enclosing class:
    JasmTokens

      public static enum JasmTokens.TokenType
      extends java.lang.Enum<JasmTokens.TokenType>

- - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---
    `DECLARATION` |
    `EXPRESSION` |
    `JASM` |
    `JASM_IDENT` |
    `MISC` |
    `MODIFIER` |
    `MODULE_NAME` |
    `OPERATOR` |
    `PUNCTUATION` |
    `SPECIAL` |
    `STATEMENT` |
    `TYPE` |
    `TYPE_PATH_KIND` |
    `VALUE` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `printval()` |
    `static JasmTokens.TokenType` | `valueOf​(java.lang.String name)` | Returns the enum constant of this type with the specified name.
    `static JasmTokens.TokenType[]` | `values()` | Returns an array containing the constants of this enum type, in the order they are declared.

    - ### Methods inherited from class java.lang.Enum

      `clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Enum Constant Detail

    - #### MODIFIER

          public static final JasmTokens.TokenType MODIFIER

    - #### OPERATOR

          public static final JasmTokens.TokenType OPERATOR

    - #### VALUE

          public static final JasmTokens.TokenType VALUE

    - #### TYPE

          public static final JasmTokens.TokenType TYPE

    - #### EXPRESSION

          public static final JasmTokens.TokenType EXPRESSION

    - #### STATEMENT

          public static final JasmTokens.TokenType STATEMENT

    - #### DECLARATION

          public static final JasmTokens.TokenType DECLARATION

    - #### PUNCTUATION

          public static final JasmTokens.TokenType PUNCTUATION

    - #### SPECIAL

          public static final JasmTokens.TokenType SPECIAL

    - #### JASM

          public static final JasmTokens.TokenType JASM

    - #### MISC

          public static final JasmTokens.TokenType MISC

    - #### JASM_IDENT

          public static final JasmTokens.TokenType JASM_IDENT

    - #### MODULE_NAME

          public static final JasmTokens.TokenType MODULE_NAME

    - #### TYPE_PATH_KIND

          public static final JasmTokens.TokenType TYPE_PATH_KIND

  - ### Method Detail

    - #### values

          public static JasmTokens.TokenType[] values()

      Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

          for (JasmTokens.TokenType c : JasmTokens.TokenType.values())
              System.out.println(c);

      Returns:
        an array containing the constants of this enum type, in the order they are declared

    - #### valueOf

          public static JasmTokens.TokenType valueOf​(java.lang.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:
        `java.lang.IllegalArgumentException` - if this enum type has no constant with the specified name
        `java.lang.NullPointerException` - if the argument is null

    - #### printval

          public java.lang.String printval()