Package de.monticore.types.check
Interface ISynthesizeComponent
- All Known Implementing Classes:
FullSynthesizeCompKindFromMCBasicTypes,FullSynthesizeCompKindFromMCSimpleGenericTypes
public interface ISynthesizeComponent
Interface for synthesizing a
CompKindExpression from an ASTMCType.-
Method Summary
Modifier and TypeMethodDescriptionCollects the synthesizedCompKindExpressionafter using the traverser to traverse theASTMCTypevoidinit()Initializes the traverser with the correct visitors and handlers.default Optional<CompKindExpression> synthesize(@NonNull ASTMCType mcType) Synthesizes aCompKindExpressionfrom aASTMCType
-
Method Details
-
init
void init()Initializes the traverser with the correct visitors and handlers. -
getTraverser
MCBasicTypesTraverser getTraverser() -
getResult
Optional<CompKindExpression> getResult()Collects the synthesizedCompKindExpressionafter using the traverser to traverse theASTMCType -
synthesize
Synthesizes aCompKindExpressionfrom aASTMCType
-