private int advanceLexerToNextLandmark(ParsePathNode node, ParserContext context) throws ParseException {
int siblingPosition = node.getCurrentSiblingIndex();
ParserBuilder builder = context.getBuilder();
PsiBuilder.Marker marker = builder.mark(null);
SequenceElementType elementType = getElementType();
ParseBuilderErrorHandler.updateBuilderError(elementType.getFirstPossibleTokensFromIndex(siblingPosition), context);
TokenType tokenType = builder.getTokenType();
siblingPosition++;
while (tokenType != null) {
int newIndex = getLandmarkIndex(tokenType, siblingPosition, node);