@Immutable public final class TString extends Object implements TType
string type expression.| Constructor and Description |
|---|
TString(Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> in_lex,
String in_encoding,
Size<SizeUnitOctetsType> in_size)
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.
|
Size<SizeUnitOctetsType> |
getMaximumStringLength() |
Size<SizeUnitBitsType> |
getSizeInBits() |
<A,E extends Exception> |
matchType(TypeMatcherType<A,E> m)
Accept a matcher.
|
String |
toString() |
public TString(Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> in_lex, String in_encoding, Size<SizeUnitOctetsType> in_size)
in_lex - Lexical informationin_encoding - The string encodingin_size - An expression denoting the maximum size of the string in
octetspublic Size<SizeUnitOctetsType> getMaximumStringLength()
public String getEncoding()
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.ImmutableLexicalPositionType<Path>> getLexicalInformation()
ModelElementTypegetLexicalInformation in interface ModelElementTypeCopyright © 2015 <code@io7m.com> http://io7m.com