I - The type of identifiersT - The type of type informationpublic final class TypeExprBooleanSet<I,T> extends Object implements TypeExprType<I,T>
boolean-set type expression.| Constructor and Description |
|---|
TypeExprBooleanSet(T in_type,
Optional<com.io7m.jlexing.core.LexicalPosition<Path>> in_lex,
com.gs.collections.api.list.ImmutableList<FieldName> in_fields,
SizeExprType<I,T> in_size)
Construct a type expression.
|
| Modifier and Type | Method and Description |
|---|---|
com.gs.collections.api.list.ImmutableList<FieldName> |
getFieldsInDeclarationOrder() |
Optional<com.io7m.jlexing.core.LexicalPosition<Path>> |
getLexicalInformation()
Fetch the lexical information for the element.
|
SizeExprType<I,T> |
getSizeExpression() |
T |
getType() |
<A,E extends Exception> |
matchType(TypeExprMatcherType<I,T,A,E> m)
Accept a matcher.
|
public TypeExprBooleanSet(T in_type, Optional<com.io7m.jlexing.core.LexicalPosition<Path>> in_lex, com.gs.collections.api.list.ImmutableList<FieldName> in_fields, SizeExprType<I,T> in_size)
in_type - The typein_lex - Lexical informationin_fields - The fields of the setin_size - The size in octets that will be usedpublic com.gs.collections.api.list.ImmutableList<FieldName> getFieldsInDeclarationOrder()
public SizeExprType<I,T> getSizeExpression()
public T getType()
getType in interface TypeExprType<I,T>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.LexicalPosition<Path>> getLexicalInformation()
ModelElementTypegetLexicalInformation in interface ModelElementTypeCopyright © 2017 <code@io7m.com> http://io7m.com