boolean (@NotNull NodeIterator patternNodes, @NotNull NodeIterator matchNodes, @NotNull MatchContext context) { if (doMatchSequentially(patternNodes, matchNodes, context)) { return true; } final PsiElement current = patternNodes.current(); if (current != null) { myExceptedNodes.add(current); } final boolean result = doMatchSequentiallyBySimpleHandler(patternNodes, matchNodes, context); myExceptedNodes.remove(current); return result; }