Iterable<ASTNode> () { if (myNode.getElementType() == PyElementTypes.BINARY_EXPRESSION) { final ArrayList<ASTNode> result = new ArrayList<>(); collectChildrenOperatorAndOperandNodes(myNode, result); return result; } return Arrays.asList(myNode.getChildren(null)); }