use of org.whole.lang.matchers.GenericMatcherFactory.AbstractVariableVisitor in project whole by wholeplatform.
the class MatcherTest method testRemoveVars.
@Test
public void testRemoveVars() {
IEntity pattern = new SimpleEntityPattern().create();
Matcher.removeVars(pattern, true);
GenericTraversalFactory.instance.topDown(new AbstractVariableVisitor() {
public void visitVariable(Variable variable) {
fail();
}
}, false).visit(pattern);
}
Aggregations