if (c == '|') {
            types.push(XPathParser.BAR);
            values.push(c);
            c = s.charAt(pos++);
            continue;