gram_ast.gramseq


gram.js API

Globals / gram-ast / GramSeq

Interface: GramSeq

A GramSeq is a sequence of paths.

Hierarchy

  • Parent

    GramSeq

Indexable

▪ [key: string]: unknown

A GramSeq is a sequence of paths.

Index

Properties

Properties

children

children: GramPath[]

Overrides void

Defined in packages/gram-ast/src/index.ts:30


data

Optional data: Data

Inherited from GramSeq.data

Defined in packages/gram-ast/node_modules/@types/unist/index.d.ts:23

Information from the ecosystem.


position

Optional position: Position

Inherited from GramSeq.position

Defined in packages/gram-ast/node_modules/@types/unist/index.d.ts:29

Location of a node in a source document. Must not be present if a node is generated.


type

type: "seq"

Overrides void

Defined in packages/gram-ast/src/index.ts:28

Type discriminator for this AST element, aways ‘seq’.