Abstract hast node that contains other hast nodes (children).

This interface is supposed to be extended if you make custom hast nodes.

For a union of all registered hast parents, see Parents.

Hierarchy (view full)

Properties

children: RootContent[]

List of children.

data?: Data

Info from the ecosystem.

Position of a node in a source document.

Nodes that are generated (not in the original source document) must not have a position.

type: string

Node type.