private static class SubstitutionVisitor.InternalOperand extends SubstitutionVisitor.Operand
SubstitutionVisitor.UnifyRule that matches a relational expression of a
given type. It has zero or more child operands.| Modifier and Type | Field and Description |
|---|---|
private List<SubstitutionVisitor.Operand> |
inputs |
clazz| Constructor and Description |
|---|
InternalOperand(Class<? extends MutableRel> clazz,
List<SubstitutionVisitor.Operand> inputs) |
| Modifier and Type | Method and Description |
|---|---|
private static boolean |
allMatch(SubstitutionVisitor visitor,
List<SubstitutionVisitor.Operand> operands,
List<MutableRel> rels) |
private static boolean |
allWeaker(SubstitutionVisitor visitor,
List<SubstitutionVisitor.Operand> operands,
List<MutableRel> rels) |
boolean |
isWeaker(SubstitutionVisitor visitor,
MutableRel rel) |
boolean |
matches(SubstitutionVisitor visitor,
MutableRel rel) |
private final List<SubstitutionVisitor.Operand> inputs
InternalOperand(Class<? extends MutableRel> clazz, List<SubstitutionVisitor.Operand> inputs)
public boolean matches(SubstitutionVisitor visitor, MutableRel rel)
matches in class SubstitutionVisitor.Operandpublic boolean isWeaker(SubstitutionVisitor visitor, MutableRel rel)
isWeaker in class SubstitutionVisitor.Operandprivate static boolean allMatch(SubstitutionVisitor visitor, List<SubstitutionVisitor.Operand> operands, List<MutableRel> rels)
private static boolean allWeaker(SubstitutionVisitor visitor, List<SubstitutionVisitor.Operand> operands, List<MutableRel> rels)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.