use of org.eclipse.wst.xml.xpath2.processor.internal.ast.NodeTest in project webtools.sourceediting by eclipse.
the class Normalizer method visit.
/**
* @param e
* is the reverse step.
* @return e
*/
public Object visit(ReverseStep e) {
if (e.axis() == ReverseStep.DOTDOT) {
NodeTest nt = new AnyKindTest();
Step s = new ReverseStep(ReverseStep.PARENT, nt);
return s;
}
NodeTest nt = e.node_test();
if (nt != null)
nt.accept(this);
return e;
}
Aggregations