Parent

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.

Extends

Extended by

Properties

children

children: RootContent[]

List of children.

Defined in

node_modules/@types/hast/index.d.ts:159


data?

optional data: Data

Info from the ecosystem.

Inherited from

Node.data

Defined in

node_modules/@types/hast/index.d.ts:131


position?

optional position: Position

Position of a node in a source document.

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

Inherited from

Node.position

Defined in

node_modules/@types/unist/index.d.ts:103


type

type: string

Node type.

Inherited from

Node.type

Defined in

node_modules/@types/unist/index.d.ts:90