void (@NotNull ASTNode node, @NotNull List<ASTNode> result) { if (node.getElementType() == PyElementTypes.BINARY_EXPRESSION) { for (ASTNode child : node.getChildren(null)) { collectChildrenOperatorAndOperandNodes(child, result); } } else { result.add(node); } }