public final class PackedFieldImplementationProcessor extends Object implements TypeMatcherType<com.io7m.jfunctional.Unit,com.io7m.junreachable.UnreachableCodeException>, TypeIntegerMatcherType<com.io7m.jfunctional.Unit,com.io7m.junreachable.UnreachableCodeException>
| Modifier and Type | Method and Description |
|---|---|
static void |
generatedPackedAllMethodImplementation(com.squareup.javapoet.TypeSpec.Builder class_builder,
TPacked t)
Generate a
set method that sets all packed fields at once. |
com.io7m.jfunctional.Unit |
matchArray(TArray t)
Match an
array type. |
com.io7m.jfunctional.Unit |
matchBooleanSet(TBooleanSet t)
Match a
boolean-set type. |
com.io7m.jfunctional.Unit |
matchFloat(TFloat t)
Match a
float type. |
com.io7m.jfunctional.Unit |
matchInteger(TIntegerType t)
Match an
integer type. |
com.io7m.jfunctional.Unit |
matchIntegerSigned(TIntegerSigned t)
Match a
signed type expression. |
com.io7m.jfunctional.Unit |
matchIntegerSignedNormalized(TIntegerSignedNormalized t)
Match an
signed-normalized type expression. |
com.io7m.jfunctional.Unit |
matchIntegerUnsigned(TIntegerUnsigned t)
Match an
unsigned type expression. |
com.io7m.jfunctional.Unit |
matchIntegerUnsignedNormalized(TIntegerUnsignedNormalized t)
Match an
unsigned-normalized type expression. |
com.io7m.jfunctional.Unit |
matchMatrix(TMatrix t)
Match a
matrix type. |
com.io7m.jfunctional.Unit |
matchPacked(TPacked t)
Match a
packed type. |
com.io7m.jfunctional.Unit |
matchRecord(TRecord t)
Match a
record type. |
com.io7m.jfunctional.Unit |
matchString(TString t)
Match a
string type. |
com.io7m.jfunctional.Unit |
matchVector(TVector t)
Match a
vector type. |
public static void generatedPackedAllMethodImplementation(com.squareup.javapoet.TypeSpec.Builder class_builder,
TPacked t)
set method that sets all packed fields at once.class_builder - The class buildert - The packed typepublic com.io7m.jfunctional.Unit matchIntegerUnsigned(TIntegerUnsigned t)
TypeIntegerMatcherTypeunsigned type expression.matchIntegerUnsigned in interface TypeIntegerMatcherType<com.io7m.jfunctional.Unit,com.io7m.junreachable.UnreachableCodeException>t - The type expressionApublic com.io7m.jfunctional.Unit matchIntegerSigned(TIntegerSigned t)
TypeIntegerMatcherTypesigned type expression.matchIntegerSigned in interface TypeIntegerMatcherType<com.io7m.jfunctional.Unit,com.io7m.junreachable.UnreachableCodeException>t - The type expressionApublic com.io7m.jfunctional.Unit matchIntegerSignedNormalized(TIntegerSignedNormalized t)
TypeIntegerMatcherTypesigned-normalized type expression.matchIntegerSignedNormalized in interface TypeIntegerMatcherType<com.io7m.jfunctional.Unit,com.io7m.junreachable.UnreachableCodeException>t - The type expressionApublic com.io7m.jfunctional.Unit matchIntegerUnsignedNormalized(TIntegerUnsignedNormalized t)
TypeIntegerMatcherTypeunsigned-normalized type expression.matchIntegerUnsignedNormalized in interface TypeIntegerMatcherType<com.io7m.jfunctional.Unit,com.io7m.junreachable.UnreachableCodeException>t - The type expressionApublic com.io7m.jfunctional.Unit matchArray(TArray t)
TypeMatcherTypearray type.matchArray in interface TypeMatcherType<com.io7m.jfunctional.Unit,com.io7m.junreachable.UnreachableCodeException>t - The typeApublic com.io7m.jfunctional.Unit matchString(TString t)
TypeMatcherTypestring type.matchString in interface TypeMatcherType<com.io7m.jfunctional.Unit,com.io7m.junreachable.UnreachableCodeException>t - The typeApublic com.io7m.jfunctional.Unit matchBooleanSet(TBooleanSet t)
TypeMatcherTypeboolean-set type.matchBooleanSet in interface TypeMatcherType<com.io7m.jfunctional.Unit,com.io7m.junreachable.UnreachableCodeException>t - The typeApublic com.io7m.jfunctional.Unit matchInteger(TIntegerType t)
TypeMatcherTypeinteger type.matchInteger in interface TypeMatcherType<com.io7m.jfunctional.Unit,com.io7m.junreachable.UnreachableCodeException>t - The typeApublic com.io7m.jfunctional.Unit matchFloat(TFloat t)
TypeMatcherTypefloat type.matchFloat in interface TypeMatcherType<com.io7m.jfunctional.Unit,com.io7m.junreachable.UnreachableCodeException>t - The typeApublic com.io7m.jfunctional.Unit matchVector(TVector t)
TypeMatcherTypevector type.matchVector in interface TypeMatcherType<com.io7m.jfunctional.Unit,com.io7m.junreachable.UnreachableCodeException>t - The typeApublic com.io7m.jfunctional.Unit matchMatrix(TMatrix t)
TypeMatcherTypematrix type.matchMatrix in interface TypeMatcherType<com.io7m.jfunctional.Unit,com.io7m.junreachable.UnreachableCodeException>t - The typeApublic com.io7m.jfunctional.Unit matchRecord(TRecord t)
TypeMatcherTyperecord type.matchRecord in interface TypeMatcherType<com.io7m.jfunctional.Unit,com.io7m.junreachable.UnreachableCodeException>t - The typeApublic com.io7m.jfunctional.Unit matchPacked(TPacked t)
TypeMatcherTypepacked type.matchPacked in interface TypeMatcherType<com.io7m.jfunctional.Unit,com.io7m.junreachable.UnreachableCodeException>t - The typeACopyright © 2015 <code@io7m.com> http://io7m.com