Enum Class Version

java.lang.Object
java.lang.Enum<Version>
io.github.douira.glsl_transformer.ast.node.Version
All Implemented Interfaces:
TokenTyped, Serializable, Comparable<Version>, Constable

public enum Version extends Enum<Version> implements TokenTyped
  • Enum Constant Details

    • GLSLES10

      public static final Version GLSLES10
    • GLSLES30

      public static final Version GLSLES30
    • GLSLES31

      public static final Version GLSLES31
    • GLSLES32

      public static final Version GLSLES32
    • GLSL11

      public static final Version GLSL11
    • GLSL12

      public static final Version GLSL12
    • GLSL13

      public static final Version GLSL13
    • GLSL14

      public static final Version GLSL14
    • GLSL15

      public static final Version GLSL15
    • GLSL33

      public static final Version GLSL33
    • GLSL40

      public static final Version GLSL40
    • GLSL41

      public static final Version GLSL41
    • GLSL42

      public static final Version GLSL42
    • GLSL43

      public static final Version GLSL43
    • GLSL44

      public static final Version GLSL44
    • GLSL45

      public static final Version GLSL45
    • GLSL46

      public static final Version GLSL46
  • Field Details

    • latest

      public static Version latest
    • tokenType

      public final int tokenType
    • number

      public final int number
    • es

      public final boolean es
  • Method Details

    • values

      public static Version[] 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 Version 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
    • getTokenType

      public int getTokenType()
      Specified by:
      getTokenType in interface TokenTyped
    • fromToken

      public static Version fromToken(Token token)
    • fromNumber

      public static Version fromNumber(int number)