@Immutable public final class TMatrix extends Object implements TType
matrix type expression.| Constructor and Description |
|---|
TMatrix(Optional<com.io7m.jlexing.core.LexicalPosition<Path>> in_lex,
Size<?> in_size_width,
Size<?> in_size_height,
TypeScalarType in_type)
Construct an
integer unsigned type expression. |
| Modifier and Type | Method and Description |
|---|---|
TypeScalarType |
getElementType() |
Size<?> |
getHeight() |
Optional<com.io7m.jlexing.core.LexicalPosition<Path>> |
getLexicalInformation()
Fetch the lexical information for the element.
|
Size<SizeUnitBitsType> |
getSizeInBits() |
Size<?> |
getWidth() |
<A,E extends Exception> |
matchType(TypeMatcherType<A,E> m)
Accept a matcher.
|
String |
toString() |
public TMatrix(Optional<com.io7m.jlexing.core.LexicalPosition<Path>> in_lex, Size<?> in_size_width, Size<?> in_size_height, TypeScalarType in_type)
integer unsigned type expression.in_lex - Lexical informationin_size_width - An expression denoting the number of columns in the
matrixin_size_height - An expression denoting the number of rows in the
matrixin_type - The type of the matrix elementspublic Size<?> getHeight()
public Size<?> getWidth()
public TypeScalarType getElementType()
public Size<SizeUnitBitsType> getSizeInBits()
getSizeInBits in interface TTypepublic <A,E extends Exception> A matchType(TypeMatcherType<A,E> m) throws E extends Exception
TTypepublic Optional<com.io7m.jlexing.core.LexicalPosition<Path>> getLexicalInformation()
ModelElementTypegetLexicalInformation in interface ModelElementTypeCopyright © 2017 <code@io7m.com> http://io7m.com