A roxygen comment block, consisting of multiple roxygen tags.

interface RoxygenBlock {
    attachedTo?: NodeId;
    range?: [
        startLine: number,
        startColumn: number,
        endLine: number,
        endColumn: number,
        f?: string,
    ];
    requestNode: NodeId;
    tags: readonly RoxygenTag[];
    type: "roxygen-block";
}

Properties

attachedTo?: NodeId

The AST node ID of the R node this roxygen block is attached to, if any (this comment may be a parent of the requested)

range?: [
    startLine: number,
    startColumn: number,
    endLine: number,
    endColumn: number,
    f?: string,
]

The source location of the entire roxygen block, if available.

requestNode: NodeId

The ast node to which we assign the comment

tags: readonly RoxygenTag[]

The roxygen tags contained in this block.

type: "roxygen-block"