Class NeverFlattenCallPredicate
java.lang.Object
tools.refinery.interpreter.matchers.psystem.rewriters.NeverFlattenCallPredicate
- All Implemented Interfaces:
IFlattenCallPredicate
- Since:
- 1.4
-
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 TypeMethodDescriptionboolean
shouldFlatten
(PositivePatternCall positivePatternCall) Decides whether the called query by the pattern call should be flattened into the caller or not.
-
Constructor Details
-
NeverFlattenCallPredicate
public NeverFlattenCallPredicate()
-
-
Method Details
-
shouldFlatten
Description copied from interface:IFlattenCallPredicate
Decides whether the called query by the pattern call should be flattened into the caller or not.- Specified by:
shouldFlatten
in interfaceIFlattenCallPredicate
- Parameters:
positivePatternCall
- the pattern call- Returns:
- true if the call should be flattened
-