static Function<TreeCursor, Stream<TreeCursor>> siblingChildrenSupplier() {
        return cursor -> cursor.remainingSiblings().stream();
    }
Formats various kinds of brackets, dealing with interspersed whitespace and comments.
smithy-syntax/src/main/java/software/amazon/smithy/syntax/BracketFormatter.java