static TokenTree of(IdlTokenizer tokenizer) {
        CapturingTokenizer capturingTokenizer = new CapturingTokenizer(tokenizer);
        TreeType.IDL.parse(capturingTokenizer);
        return capturingTokenizer.getRoot();
    }
Create the root of a TokenTree from an {@link IdlTokenizer}.

@param tokenizer Tokenizer to traverse.
@return Returns the root of the created tree.
smithy-syntax/src/main/java/software/amazon/smithy/syntax/TokenTree.java