com.arm.carp.pencil

StructType

case class StructType(fields: Seq[(String, Type)], uconst: Boolean, name: String) extends ScalarType with Product with Serializable

Structural type representation.

A structural type is represented as an ordered sequence of pairs: name and type of fields.

Objects of a structural type can not be converted.

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

Instance Constructors

  1. new StructType(fields: Seq[(String, Type)], uconst: Boolean, name: String)

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. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. 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
    StructTypeType
  9. val const: Boolean

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

    If t and this are the same types no conversion required, so in that case types can be considered as convertible.

    If t and this are the same types no conversion required, so in that case types can be considered as convertible.

    t

    - Type to convert to.

    returns

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

    Definition Classes
    StructTypeType
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. val fields: Seq[(String, Type)]

  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
    Type
  18. val isNumeric: Boolean

    true for numeric (integer and floating point) types.

    true for numeric (integer and floating point) types.

    Definition Classes
    Type
  19. val isScalar: Boolean

    true for scalar types.

    true for scalar types.

    Definition Classes
    ScalarTypeType
  20. val name: String

  21. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef
  25. val uconst: Boolean

  26. def updateConst(in: Boolean): StructType

    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
    StructTypeScalarTypeType
  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 ScalarType

Inherited from Type

Inherited from AnyRef

Inherited from Any

Ungrouped