I - The type of identifiersT - The type of evaluated typespublic final class TypeExprName<I,T> extends Object implements TypeExprType<I,T>
| Constructor and Description |
|---|
TypeExprName(I in_identifier,
T in_type,
TypeReference in_ref)
Construct an expression.
|
| Modifier and Type | Method and Description |
|---|---|
I |
getIdentifier() |
Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> |
getLexicalInformation()
Fetch the lexical information for the element.
|
TypeReference |
getReference() |
T |
getType() |
<A,E extends Exception> |
matchType(TypeExprMatcherType<I,T,A,E> m)
Accept a matcher.
|
public TypeExprName(I in_identifier, T in_type, TypeReference in_ref)
in_identifier - The identifierin_type - The expression typein_ref - The type referencepublic T getType()
getType in interface TypeExprType<I,T>public TypeReference getReference()
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