I - The type of identifiersT - The type of type information@Immutable public final class PackedFieldDeclPaddingBits<I,T> extends Object implements PackedFieldDeclType<I,T>
packed type field that specifies a number of padding bits.| Constructor and Description |
|---|
PackedFieldDeclPaddingBits(Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> in_lex,
SizeExprType<I,T> in_size)
Construct a packed field declaration.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> |
getLexicalInformation()
Fetch the lexical information for the element.
|
SizeExprType<I,T> |
getSizeExpression() |
<A,E extends Exception> |
matchPackedFieldDeclaration(PackedFieldDeclMatcherType<I,T,A,E> m)
Accept a matcher.
|
public PackedFieldDeclPaddingBits(Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> in_lex, SizeExprType<I,T> in_size)
in_lex - Lexical informationin_size - The size expressionpublic SizeExprType<I,T> getSizeExpression()
public <A,E extends Exception> A matchPackedFieldDeclaration(PackedFieldDeclMatcherType<I,T,A,E> m) throws E extends Exception
PackedFieldDeclTypematchPackedFieldDeclaration in interface PackedFieldDeclType<I,T>A - The type of returned valuesE - The type of raised exceptionsm - The matchermE - If m raises EE extends Exceptionpublic Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> getLexicalInformation()
ModelElementTypegetLexicalInformation in interface ModelElementTypeCopyright © 2016 <code@io7m.com> http://io7m.com