@Override
    public SourceLocation getSourceLocation() {
        return getTree().getSourceLocation();
    }
Create a TreeCursor from the given TokenTree, treating it as the root of the tree.

@param tree Tree to create a cursor from.
@return Returns the created cursor.
smithy-syntax/src/main/java/software/amazon/smithy/syntax/TreeCursor.java