com.io7m.jpra.model.types

## Interface TType

- All Superinterfaces:
    ModelElementType
  All Known Subinterfaces:
    TIntegerType, TypeScalarType
  All Known Implementing Classes:
    TArray, TBooleanSet, TFloat, TIntegerSigned, TIntegerSignedNormalized, TIntegerUnsigned, TIntegerUnsignedNormalized, TMatrix, TPacked, TRecord, TString, TVector

      public interface TType
      extends ModelElementType

  The type of types.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Size<SizeUnitBitsType>` | `getSizeInBits()`
    `<A,E extends Exception> A` | `matchType(TypeMatcherType<A,E> m)` Accept a matcher.

    - ### Methods inherited from interface com.io7m.jpra.model.ModelElementType

      `getLexicalInformation`

- - ### Method Detail

    - #### getSizeInBits

          Size<SizeUnitBitsType> getSizeInBits()

      Returns:
        The size in bits

    - #### matchType

          <A,E extends Exception> A matchType(TypeMatcherType<A,E> m)
                                       throws E extends Exception

      Accept a matcher.
      Type Parameters:
        `A` - The type of returned values
        `E` - The type of raised exceptions
      Parameters:
        `m` - The matcher
      Returns:
        The value returned by `m`
      Throws:
        `E` - If `m` raises `E`
        `E extends Exception`

Copyright © 2017 <code@io7m.com> http://io7m.com