boolean (NodeIterator patternNodes, NodeIterator matchNodes, @NotNull MatchContext context) { final boolean oldValue = context.shouldRecursivelyMatch(); context.setShouldRecursivelyMatch(false); final boolean result = super.matchSequentially(patternNodes, matchNodes, context); context.setShouldRecursivelyMatch(oldValue); return result; }