Interface IFlattenCallPredicate
- All Known Implementing Classes:
- DefaultFlattenCallPredicate,- IFlattenCallPredicate.And,- NeverFlattenCallPredicate
public interface IFlattenCallPredicate
Interface used by the PQueryFlattener to decide which positive pattern calls to flatten
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classFlattens only if all operand predicates vote for flattening.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanshouldFlatten(PositivePatternCall positivePatternCall) Decides whether the called query by the pattern call should be flattened into the caller or not.
- 
Method Details- 
shouldFlattenDecides whether the called query by the pattern call should be flattened into the caller or not.- Parameters:
- positivePatternCall- the pattern call
- Returns:
- true if the call should be flattened
 
 
-