Enum Extractions.PositionExtractor

java.lang.Object
java.lang.Enum<Extractions.PositionExtractor>
org.immutables.trees.ast.Extractions.PositionExtractor
All Implemented Interfaces:
Serializable, Comparable<Extractions.PositionExtractor>, java.lang.constant.Constable, Extractions.Extractor<org.parboiled.support.Position>
Enclosing class:
Extractions

private static enum Extractions.PositionExtractor extends Enum<Extractions.PositionExtractor> implements Extractions.Extractor<org.parboiled.support.Position>
  • Enum Constant Details

  • Constructor Details

    • PositionExtractor

      private PositionExtractor()
  • Method Details

    • values

      public static Extractions.PositionExtractor[] 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 Extractions.PositionExtractor 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
    • get

      public org.parboiled.support.Position get(org.parboiled.Context<Object> context)
      Specified by:
      get in interface Extractions.Extractor<org.parboiled.support.Position>
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Extractions.PositionExtractor>