public final class TPacked extends Object implements TType, TypeUserDefinedType
packed type.| Modifier and Type | Class and Description |
|---|---|
static interface |
TPacked.FieldMatcherType<A,E extends Exception>
The type of field matchers.
|
static class |
TPacked.FieldPaddingBits
A packed padding field.
|
static interface |
TPacked.FieldType
The type of packed fields.
|
static class |
TPacked.FieldValue
A packed value field.
|
| Modifier and Type | Method and Description |
|---|---|
com.gs.collections.api.map.ImmutableMap<FieldName,TPacked.FieldValue> |
getFieldsByName() |
com.gs.collections.api.list.ImmutableList<TPacked.FieldType> |
getFieldsInDeclarationOrder() |
IdentifierType |
getIdentifier() |
Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> |
getLexicalInformation()
Fetch the lexical information for the element.
|
TypeName |
getName() |
PackageContextType |
getPackageContext() |
Size<SizeUnitBitsType> |
getSizeInBits() |
Size<SizeUnitOctetsType> |
getSizeInOctets() |
<A,E extends Exception> |
matchType(TypeMatcherType<A,E> m)
Accept a matcher.
|
<A,E extends Exception> |
matchTypeUserDefined(TypeUserDefinedMatcherType<A,E> m)
Accept a matcher.
|
static TPackedBuilderType |
newBuilder(PackageContextType in_package,
IdentifierType in_identifier,
TypeName in_ident)
Construct a new mutable record builder.
|
String |
toString() |
public static TPackedBuilderType newBuilder(PackageContextType in_package, IdentifierType in_identifier, TypeName in_ident)
in_package - The package contextin_identifier - The type's identifierin_ident - The type's namepublic com.gs.collections.api.map.ImmutableMap<FieldName,TPacked.FieldValue> getFieldsByName()
public com.gs.collections.api.list.ImmutableList<TPacked.FieldType> getFieldsInDeclarationOrder()
public Size<SizeUnitBitsType> getSizeInBits()
getSizeInBits in interface TTypepublic <A,E extends Exception> A matchType(TypeMatcherType<A,E> m) throws E extends Exception
TTypepublic Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> getLexicalInformation()
ModelElementTypegetLexicalInformation in interface ModelElementTypepublic TypeName getName()
getName in interface TypeUserDefinedTypepublic IdentifierType getIdentifier()
getIdentifier in interface TypeUserDefinedTypepublic PackageContextType getPackageContext()
getPackageContext in interface TypeUserDefinedTypepublic <A,E extends Exception> A matchTypeUserDefined(TypeUserDefinedMatcherType<A,E> m) throws E extends Exception
TypeUserDefinedTypematchTypeUserDefined in interface TypeUserDefinedTypeA - The type of returned valuesE - The type of raised exceptionsm - The matchermE - If m raises EE extends Exceptionpublic Size<SizeUnitOctetsType> getSizeInOctets()
Copyright © 2016 <code@io7m.com> http://io7m.com