@Immutable public final class TArray extends Object implements TType
array type expression.| Constructor and Description |
|---|
TArray(Optional<com.io7m.jlexing.core.LexicalPosition<Path>> in_lex,
Size<?> in_size,
TType in_type)
Construct an
array type expression. |
| Modifier and Type | Method and Description |
|---|---|
Size<?> |
getElementCount() |
TType |
getElementType() |
Optional<com.io7m.jlexing.core.LexicalPosition<Path>> |
getLexicalInformation()
Fetch the lexical information for the element.
|
Size<SizeUnitBitsType> |
getSizeInBits() |
<A,E extends Exception> |
matchType(TypeMatcherType<A,E> m)
Accept a matcher.
|
String |
toString() |
public TType getElementType()
public Size<?> getElementCount()
public Optional<com.io7m.jlexing.core.LexicalPosition<Path>> getLexicalInformation()
ModelElementTypegetLexicalInformation in interface ModelElementTypepublic Size<SizeUnitBitsType> getSizeInBits()
getSizeInBits in interface TTypepublic <A,E extends Exception> A matchType(TypeMatcherType<A,E> m) throws E extends Exception
TTypeCopyright © 2017 <code@io7m.com> http://io7m.com