Class NumericLiteralToken


public class NumericLiteralToken extends LiteralToken
  • Field Details

  • Constructor Details

  • Method Details

    • parseNumeric

      public static NumericLiteralToken parseNumeric(TokenTypes tokenType, int line, int column, String literal)
    • booleanValue

      public boolean booleanValue()
    • byteValue

      public byte byteValue()
    • doubleValue

      public double doubleValue()
    • floatValue

      public float floatValue()
    • getLiteral

      public String getLiteral()
    • getValue

      public Object getValue()
    • getValueType

      public NumericLiteralToken.NumericValueType getValueType()
    • intValue

      public int intValue()
    • isBool

      public boolean isBool()
    • isBoolean

      public boolean isBoolean()
    • isDecimal

      public boolean isDecimal()
    • isDouble

      public boolean isDouble()
    • isFloat

      public boolean isFloat()
    • isInteger

      public boolean isInteger()
    • longValue

      public long longValue()
    • shortValue

      public short shortValue()
    • toString

      public String toString()
      Overrides:
      toString in class Token