static TokenTree of(CapturedToken token) {
        return new TokenTreeLeaf(token);
    }
Create a leaf tree from a single token.

@param token Token to wrap into a tree.
@return Returns the created tree.
smithy-syntax/src/main/java/software/amazon/smithy/syntax/TokenTree.java