I - The type of identifiersT - The type of type informationpublic final class StatementCommandType<I,T> extends Object implements ModelElementType, StatementType<I,T>
:type command.| Constructor and Description |
|---|
StatementCommandType(TypeExprType<I,T> e)
Construct a type expression.
|
| Modifier and Type | Method and Description |
|---|---|
TypeExprType<I,T> |
getExpression() |
Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> |
getLexicalInformation()
Fetch the lexical information for the element.
|
<A,E extends Exception> |
matchStatement(StatementMatcherType<I,T,A,E> m)
Accept a matcher.
|
public StatementCommandType(TypeExprType<I,T> e)
e - The type expressionpublic TypeExprType<I,T> getExpression()
public Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> getLexicalInformation()
ModelElementTypegetLexicalInformation in interface ModelElementTypepublic <A,E extends Exception> A matchStatement(StatementMatcherType<I,T,A,E> m) throws E extends Exception
StatementTypematchStatement in interface StatementType<I,T>A - The type of returned valuesE - The type of raised exceptionsm - The matchermE - If m raises EE extends ExceptionCopyright © 2015 <code@io7m.com> http://io7m.com