public List<TreeCursor> getChildren() {
        List<TreeCursor> result = new ArrayList<>(getTree().getChildren().size());
        for (TokenTree child : tree.getChildren()) {
            result.add(new TreeCursor(child, this));
        }
        return result;
    }
Get all children of the tree as a list of cursors.

@return Return the cursors to each child.
smithy-syntax/src/main/java/software/amazon/smithy/syntax/TreeCursor.java