I - The type of identifiersT - The type of evaluated typespublic final class TypeExprVector<I,T> extends Object implements TypeExprType<I,T>
vector type expression.| Constructor and Description |
|---|
TypeExprVector(T in_type,
Optional<com.io7m.jlexing.core.LexicalPosition<Path>> in_lex,
SizeExprType<I,T> in_element_count,
TypeExprType<I,T> in_element_type)
Construct an expression.
|
| Modifier and Type | Method and Description |
|---|---|
SizeExprType<I,T> |
getElementCount() |
TypeExprType<I,T> |
getElementType() |
Optional<com.io7m.jlexing.core.LexicalPosition<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 TypeExprVector(T in_type, Optional<com.io7m.jlexing.core.LexicalPosition<Path>> in_lex, SizeExprType<I,T> in_element_count, TypeExprType<I,T> in_element_type)
in_type - The expression typein_lex - Lexical informationin_element_count - The number of elementsin_element_type - The type of elementspublic <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 T getType()
getType in interface TypeExprType<I,T>public Optional<com.io7m.jlexing.core.LexicalPosition<Path>> getLexicalInformation()
ModelElementTypegetLexicalInformation in interface ModelElementTypepublic SizeExprType<I,T> getElementCount()
public TypeExprType<I,T> getElementType()
Copyright © 2017 <code@io7m.com> http://io7m.com