I - The type of identifiersT - The type of evaluated typespublic final class TypeExprString<I,T> extends Object implements TypeExprType<I,T>
string type expression.| Constructor and Description |
|---|
TypeExprString(T in_type,
Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> in_lex,
SizeExprType<I,T> in_size,
String in_encoding)
Construct an expression.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEncoding() |
Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> |
getLexicalInformation()
Fetch the lexical information for the element.
|
SizeExprType<I,T> |
getSize() |
T |
getType() |
<A,E extends Exception> |
matchType(TypeExprMatcherType<I,T,A,E> m)
Accept a matcher.
|
public TypeExprString(T in_type, Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> in_lex, SizeExprType<I,T> in_size, String in_encoding)
in_type - The expression typein_lex - Lexical informationin_size - The number of octetsin_encoding - The string encodingpublic T getType()
getType in interface TypeExprType<I,T>public SizeExprType<I,T> getSize()
public String getEncoding()
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