boolean (@NotNull NodeIterator patternNodes, @NotNull NodeIterator matchNodes) { if (!patternNodes.hasNext()) { while (matchNodes.current() instanceof PsiComment) matchNodes.advance(); return !matchNodes.hasNext(); } final PsiElement current = patternNodes.current(); return matchContext.getPattern().getHandler(current).matchSequentially(patternNodes, matchNodes, matchContext); }