boolean (PsiBuilder builder) { builder.advanceLexer(); if (builder.getTokenType() == XPathTokenTypes.COL) { builder.advanceLexer(); if (builder.getTokenType() != XPathTokenTypes.NCNAME) { builder.error(XPathBundle.message("parsing.error.ncname.expected")); } builder.advanceLexer(); } return true; }