Class IFlattenCallPredicate.And
java.lang.Object
tools.refinery.interpreter.matchers.psystem.rewriters.IFlattenCallPredicate.And
- All Implemented Interfaces:
IFlattenCallPredicate
- Enclosing interface:
IFlattenCallPredicate
Flattens only if all operand predicates vote for flattening.
- Since:
- 2.1
-
Nested Class Summary
Nested classes/interfaces inherited from interface tools.refinery.interpreter.matchers.psystem.rewriters.IFlattenCallPredicate
IFlattenCallPredicate.And -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanshouldFlatten(PositivePatternCall positivePatternCall) Decides whether the called query by the pattern call should be flattened into the caller or not.
-
Constructor Details
-
And
-
-
Method Details
-
shouldFlatten
Description copied from interface:IFlattenCallPredicateDecides whether the called query by the pattern call should be flattened into the caller or not.- Specified by:
shouldFlattenin interfaceIFlattenCallPredicate- Parameters:
positivePatternCall- the pattern call- Returns:
- true if the call should be flattened
-