private static final class ReplaceAndRegisterMethod.QuantifiableVariableVisitor extends java.lang.Object implements Visitor
| Modifier and Type | Field and Description | 
|---|---|
private java.util.HashSet<QuantifiableVariable> | 
vars  | 
| Modifier | Constructor and Description | 
|---|---|
private  | 
QuantifiableVariableVisitor()  | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.HashSet<QuantifiableVariable> | 
getResult()  | 
void | 
subtreeEntered(Term subtreeRoot)
this method is called in execPreOrder and execPostOrder in class Term
 when entering the subtree rooted in the term subtreeRoot. 
 | 
void | 
subtreeLeft(Term subtreeRoot)
this method is called in execPreOrder and execPostOrder in class Term
 when leaving the subtree rooted in the term subtreeRoot. 
 | 
void | 
visit(Term visited)
the entry method for the visitor pattern 
 | 
boolean | 
visitSubtree(Term visited)
Checks if the subtree below the visited  
Term should be traversed. | 
private java.util.HashSet<QuantifiableVariable> vars
public boolean visitSubtree(Term visited)
VisitorTerm should be traversed.visitSubtree in interface Visitorvisited - The currently visited Term.true visit sub tree, false skip sub tree.public void visit(Term visited)
Visitorpublic void subtreeEntered(Term subtreeRoot)
VisitorsubtreeEntered in interface VisitorsubtreeRoot - root of the subtree which the visitor enters.public void subtreeLeft(Term subtreeRoot)
VisitorsubtreeLeft in interface VisitorsubtreeRoot - root of the subtree which the visitor leaves.public java.util.HashSet<QuantifiableVariable> getResult()