async computeExportsForNode(e, t, r = Ws, i = V.None) {
    const s = [];
    this.exportNode(e, s, t);
    for (const a of r(e))
      await Ae(i), this.exportNode(a, s, t);
    return s;
  }
Creates {@link AstNodeDescription AstNodeDescriptions} for the given {@link AstNode parentNode} and its children.
The list of children to be considered is determined by the function parameter {@link children}.
By default only the direct children of {@link parentNode} are visited, nested nodes are not exported.

@param parentNode AST node to be exported, i.e., of which an {@link AstNodeDescription} shall be added to the returned list.
@param document The document containing the AST node to be exported.
@param children A function called with {@link parentNode} as single argument and returning an {@link Iterable} supplying the children to be visited, which must be directly or transitively contained in {@link parentNode}.
@param cancelToken Indicates when to cancel the current operation.
@throws `OperationCancelled` if a user action occurs during execution.
@returns A list of {@link AstNodeDescription AstNodeDescriptions} to be published to index.