Package nz.org.riskscape.engine.typexp
Interface SimpleTypeConstructor
- All Superinterfaces:
TypeConstructor
Function interface that redeclares TypeConstructor.construct(TypeBuilder, AST.Symbol)
-
Method Summary
Modifier and TypeMethodDescriptionconstruct
(TypeBuilder typeBuilder, AST.Symbol symbol) Attempt to build the type represented by thisTypeConstructor
Methods inherited from interface nz.org.riskscape.engine.typexp.TypeConstructor
construct
-
Method Details
-
construct
Description copied from interface:TypeConstructor
Attempt to build the type represented by this
TypeConstructor
- Specified by:
construct
in interfaceTypeConstructor
- Parameters:
typeBuilder
- the type builder that is being used to build types. Contains helper methods for implementations.symbol
- the ast that a type is being constructed from- Returns:
- the fully constructed type
- Throws:
TypeBuildingException
- if something went wrong
-