I - The type of identifiersT - The type of evaluated typespublic final class TypeExprTypeOfField<I,T> extends Object implements TypeExprType<I,T>
type-of type expression.| Constructor and Description |
|---|
TypeExprTypeOfField(I in_identifier,
T in_type,
FieldReference in_field_reference)
Construct an expression.
|
| Modifier and Type | Method and Description |
|---|---|
FieldReference |
getFieldReference() |
I |
getIdentifier() |
Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> |
getLexicalInformation()
Fetch the lexical information for the element.
|
T |
getType() |
<A,E extends Exception> |
matchType(TypeExprMatcherType<I,T,A,E> m)
Accept a matcher.
|
public TypeExprTypeOfField(I in_identifier, T in_type, FieldReference in_field_reference)
in_identifier - The identifierin_type - The expression typein_field_reference - The reference to the fieldpublic T getType()
getType in interface TypeExprType<I,T>public FieldReference getFieldReference()
public I getIdentifier()
public <A,E extends Exception> A matchType(TypeExprMatcherType<I,T,A,E> m) throws E extends Exception
TypeExprTypematchType in interface TypeExprType<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 © 2015 <code@io7m.com> http://io7m.com