Interface ICConstantInteger<T>

All Superinterfaces:
ICConstant<T>, ICElement, ICExpression
All Known Subinterfaces:
ICConstantInteger32, ICConstantInteger64, ICConstantIntegerLarge

@Ser public interface ICConstantInteger<T> extends ICConstant<T>
Generic C AST interface used to represent integer literals.
  • Method Details

    • getBitsize

      int getBitsize()
    • isUnsigned

      boolean isUnsigned()
    • getIntegerValue

      BigInteger getIntegerValue()
    • getValueAsLong

      long getValueAsLong()
    • isPositive

      boolean isPositive()
    • isNegative

      boolean isNegative()
    • needsCustomFormatting

      boolean needsCustomFormatting()
    • getFormatter

      NumberFormatter getFormatter()
    • duplicate2

      ICConstantInteger<T> duplicate2()
      True duplication to allow customization of the formatter without impacting other constantss.
      Returns: