if (addSns && !addedSns) {
builder.append("[%]");
}
}
} else if (step instanceof FilterStep) {
FilterStep filter = (FilterStep)step;
Component primary = filter.getPrimaryExpression();
if (primary instanceof ContextItem) {
continue; // ignore this '.'
} else if (primary instanceof ParenthesizedExpression) {
ParenthesizedExpression paren = (ParenthesizedExpression)primary;
Component wrapped = paren.getWrapped().collapse();