Class CBTypeParameter
java.lang.Object
com.io7m.cedarbridge.schema.compiled.internal.CBTypeParameter
- All Implemented Interfaces:
CBTypeParameterType
A type parameter.
-
Constructor Details
-
CBTypeParameter
-
-
Method Details
-
setOwner
Set the owner of the type.- Parameters:
type- The owner declaration
-
index
public int index()- Specified by:
indexin interfaceCBTypeParameterType- Returns:
- The index of this type parameter on the owning type (starting from 0)
-
name
- Specified by:
namein interfaceCBTypeParameterType- Returns:
- The name of the type parameter
-
owner
- Specified by:
ownerin interfaceCBTypeParameterType- Returns:
- The type declaration parameterized by this parameter
-
documentation
- Specified by:
documentationin interfaceCBTypeParameterType- Returns:
- The documentation for the parameter
-