public TreeCursor getParent() {
        return parent;
    }
Get the parent cursor, or null if not present.

@return Nullable parent cursor.
smithy-syntax/src/main/java/software/amazon/smithy/syntax/TreeCursor.java