Interface CBTypeExpressionType.CBTypeExprNamedType
- All Superinterfaces:
CBTypeExpressionType,Formattable
- All Known Implementing Classes:
CBTypeExpressionNamed
- Enclosing interface:
CBTypeExpressionType
public static non-sealed interface CBTypeExpressionType.CBTypeExprNamedType
extends CBTypeExpressionType
A named type.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.io7m.cedarbridge.schema.compiled.CBTypeExpressionType
CBTypeExpressionType.CBTypeExprApplicationType, CBTypeExpressionType.CBTypeExprNamedType, CBTypeExpressionType.CBTypeExprParameterType -
Method Summary
Modifier and TypeMethodDescriptiondefault booleancontains(CBTypeParameterType parameter) Determine if the given type parameter occurs in the type expression.default void
-
Method Details
-
declaration
CBTypeDeclarationType declaration()- Returns:
- The target type declaration
-
contains
Description copied from interface:CBTypeExpressionTypeDetermine if the given type parameter occurs in the type expression.- Specified by:
containsin interfaceCBTypeExpressionType- Parameters:
parameter- The type parameter- Returns:
trueifparameteroccurs in this expression
-
formatTo
- Specified by:
formatToin interfaceFormattable
-