Enum Class TokenType

java.lang.Object
java.lang.Enum<TokenType>
dev.galasa.framework.spi.language.gherkin.parser.TokenType
All Implemented Interfaces:
Serializable, Comparable<TokenType>, Constable

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

    • FEATURE_START

      public static final TokenType FEATURE_START
    • SCENARIO_START

      public static final TokenType SCENARIO_START
    • SCENARIO_OUTLINE_START

      public static final TokenType SCENARIO_OUTLINE_START
    • EXAMPLES_START

      public static final TokenType EXAMPLES_START
    • STEP

      public static final TokenType STEP
    • DATA_LINE

      public static final TokenType DATA_LINE
    • END_OF_FILE

      public static final TokenType END_OF_FILE
    • FEATURE

      public static final TokenType FEATURE
    • SCENARIO_OUTLINE

      public static final TokenType SCENARIO_OUTLINE
    • SCENARIO

      public static final TokenType SCENARIO
    • SCENARIO_PART_LIST

      public static final TokenType SCENARIO_PART_LIST
    • SCENARIO_PART

      public static final TokenType SCENARIO_PART
    • DATA_TABLE

      public static final TokenType DATA_TABLE
    • DATA_TABLE_HEADER

      public static final TokenType DATA_TABLE_HEADER
    • DATA_TABLE_LINE_LIST

      public static final TokenType DATA_TABLE_LINE_LIST
    • STEP_LIST

      public static final TokenType STEP_LIST
  • Method Details

    • values

      public static TokenType[] 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 TokenType 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
    • getReadableName

      public String getReadableName()