I - The type of identifiersT - The type of type information@Immutable public final class PackedFieldDeclValue<I,T> extends Object implements PackedFieldDeclType<I,T>
field declaration in a packed type.| Constructor and Description |
|---|
PackedFieldDeclValue(I in_identifier,
FieldName in_name,
TypeExprType<I,T> in_type)
Construct a
field declaration. |
| Modifier and Type | Method and Description |
|---|---|
I |
getIdentifier() |
Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> |
getLexicalInformation()
Fetch the lexical information for the element.
|
FieldName |
getName() |
TypeExprType<I,T> |
getType() |
<A,E extends Exception> |
matchPackedFieldDeclaration(PackedFieldDeclMatcherType<I,T,A,E> m)
Accept a matcher.
|
public PackedFieldDeclValue(I in_identifier, FieldName in_name, TypeExprType<I,T> in_type)
field declaration.in_identifier - The identifierin_name - The name of the fieldin_type - The type of the fieldpublic I getIdentifier()
public FieldName getName()
public TypeExprType<I,T> getType()
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