@Immutable public final class TFloat extends Object implements TypeScalarType
| Constructor and Description |
|---|
TFloat(Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> in_lex,
Size<SizeUnitBitsType> in_size)
Construct a
float type expression. |
| Modifier and Type | Method and Description |
|---|---|
Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> |
getLexicalInformation()
Fetch the lexical information for the element.
|
Size<SizeUnitBitsType> |
getSizeInBits() |
<A,E extends Exception> |
matchType(TypeMatcherType<A,E> m)
Accept a matcher.
|
<A,E extends Exception> |
matchTypeScalar(TypeScalarMatcherType<A,E> m)
Accept a matcher.
|
public TFloat(Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> in_lex, Size<SizeUnitBitsType> in_size)
float type expression.in_lex - Lexical informationin_size - The size in bits that will be usedpublic Size<SizeUnitBitsType> getSizeInBits()
getSizeInBits in interface TTypepublic <A,E extends Exception> A matchType(TypeMatcherType<A,E> m) throws E extends Exception
TTypepublic <A,E extends Exception> A matchTypeScalar(TypeScalarMatcherType<A,E> m) throws E extends Exception
TypeScalarTypematchTypeScalar in interface TypeScalarTypeA - 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