com.arm.carp.pencil

IntegerType

case class IntegerType(signed: Boolean, bits: Int, uconst: Boolean) extends NumericType with Product with Serializable

Integer (signed and unsigned) type representation.

The concrete type is defined by the number of bits required for type representation. Valid numbers are 8 for byte, 16 for short, 32 for int, and 64 for long.

An integer type can be converted to any numeric type.

Linear Supertypes
Serializable, Serializable, Product, Equals, NumericType, ScalarType, Type, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IntegerType
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. NumericType
  7. ScalarType
  8. Type
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IntegerType(signed: Boolean, bits: Int, uconst: Boolean)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val bits: Int

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def compatible(t: Type): Boolean

    Check whether this type is the same (except constant qualifier), as the type t.

    Check whether this type is the same (except constant qualifier), as the type t. See below for more details.

    t

    - Type to compare to.

    returns

    true if this type is the same, as t, false otherwise.

    Definition Classes
    IntegerTypeType
  10. val const: Boolean

    Definition Classes
    Type
  11. def convertible(t: Type): Boolean

    Check whether this type can be converted to type t.

    Check whether this type can be converted to type t.

    t

    - Type to convert to.

    returns

    true if this type can be converted to t, false otherwise.

    Definition Classes
    NumericTypeType
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. val isBoolean: Boolean

    true for boolean types.

    true for boolean types.

    Definition Classes
    Type
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. val isInt: Boolean

    true for integer types.

    true for integer types.

    Definition Classes
    IntegerTypeType
  18. val isNumeric: Boolean

    true for numeric (integer and floating point) types.

    true for numeric (integer and floating point) types.

    Definition Classes
    NumericTypeType
  19. val isScalar: Boolean

    true for scalar types.

    true for scalar types.

    Definition Classes
    ScalarTypeType
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. val signed: Boolean

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. val uconst: Boolean

  26. def updateConst(in: Boolean): IntegerType

    Create a new type by setting constant qualifier of the this type to specific value.

    Create a new type by setting constant qualifier of the this type to specific value.

    in

    - New value of the constant qualifier.

    returns

    New type.

    Definition Classes
    IntegerTypeScalarTypeType
  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from NumericType

Inherited from ScalarType

Inherited from Type

Inherited from AnyRef

Inherited from Any

Ungrouped