Package org.derive4j.processor.api.model
Class MultipleConstructorsSupport.CasesMatchers.PartialMatcher<R>
java.lang.Object
org.derive4j.processor.api.model.MultipleConstructorsSupport.CasesMatchers.PartialMatcher<R>
- Direct Known Subclasses:
MultipleConstructorsSupport.CasesMatchers.TotalMatcher_FunctionsDispatch
- Enclosing class:
MultipleConstructorsSupport.CasesMatchers
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Function
<List<DataConstructor>, R> private final MultipleConstructorsSupport.VisitorDispatchMapper
<R> -
Constructor Summary
ConstructorsConstructorDescriptionPartialMatcher
(MultipleConstructorsSupport.VisitorDispatchMapper<R> visitorDispatch, Function<List<DataConstructor>, R> functionsDispatch) -
Method Summary
Modifier and TypeMethodDescriptionfinal Function
<MultipleConstructors, R> final Function
<MultipleConstructors, R> otherwise_
(R r) final Function
<MultipleConstructors, Optional<R>>
-
Field Details
-
visitorDispatch
-
functionsDispatch
-
-
Constructor Details
-
PartialMatcher
PartialMatcher(MultipleConstructorsSupport.VisitorDispatchMapper<R> visitorDispatch, Function<List<DataConstructor>, R> functionsDispatch)
-
-
Method Details
-
otherwise
-
otherwise_
-
otherwiseEmpty
-