com.io7m.jpra.model.types

## Interface TPacked.FieldType

- All Superinterfaces:
    ModelElementType
  All Known Implementing Classes:
    TPacked.FieldPaddingBits, TPacked.FieldValue
  Enclosing class:
    TPacked

      public static interface TPacked.FieldType
      extends ModelElementType

  The type of packed fields.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.io7m.jranges.RangeInclusiveB` | `getBitRange()`
    `TPacked` | `getOwner()`
    `Size<SizeUnitBitsType>` | `getSize()`
    `<A,E extends Exception> A` | `matchField(TPacked.FieldMatcherType<A,E> m)` Accept a matcher.

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

      `getLexicalInformation`

- - ### Method Detail

    - #### getBitRange

          com.io7m.jranges.RangeInclusiveB getBitRange()

      Returns:
        The inclusive range of bits that this field spans

    - #### getOwner

          TPacked getOwner()

      Returns:
        The owning type

    - #### getSize

          Size<SizeUnitBitsType> getSize()

      Returns:
        The size in bits

    - #### matchField

          <A,E extends Exception> A matchField(TPacked.FieldMatcherType<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