I - The type of identifiersT - The type of type information@Immutable public final class RecordFieldDeclPaddingOctets<I,T> extends Object implements RecordFieldDeclType<I,T>
record field declaration that specifies a number of padding
octets.| Constructor and Description |
|---|
RecordFieldDeclPaddingOctets(Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> in_lex,
SizeExprType<I,T> in_size)
Construct a 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> |
matchRecordFieldDeclaration(RecordFieldDeclMatcherType<I,T,A,E> m)
Accept a field matcher.
|
public RecordFieldDeclPaddingOctets(Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> in_lex, SizeExprType<I,T> in_size)
in_lex - The lexical information for the namein_size - The size expressionpublic SizeExprType<I,T> getSizeExpression()
public <A,E extends Exception> A matchRecordFieldDeclaration(RecordFieldDeclMatcherType<I,T,A,E> m) throws E extends Exception
RecordFieldDeclTypematchRecordFieldDeclaration in interface RecordFieldDeclType<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