gram_ast.gramemptypath
Interface: GramEmptyPath
A GramEmptyPath is an empty path with no children, no labels, and no record but a unique singleton identity of EMPTY_PATH_ID.
Hierarchy
-
↳ GramEmptyPath
Indexable
▪ [key: string]: unknown
A GramEmptyPath is an empty path with no children, no labels, and no record but a unique singleton identity of EMPTY_PATH_ID.
Index
Properties
Properties
children
• children: []
Defined in packages/gram-ast/src/index.ts:114
data
• Optional
data: Data
Defined in packages/gram-ast/node_modules/@types/unist/index.d.ts:23
Information from the ecosystem.
id
• id: typeof EMPTY_PATH_ID
Defined in packages/gram-ast/src/index.ts:108
kind
• Optional
kind: PathKind
Defined in packages/gram-ast/src/index.ts:62
The kind of path composition.
labels
• labels: undefined
Defined in packages/gram-ast/src/index.ts:110
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.
record
• record: undefined
Defined in packages/gram-ast/src/index.ts:112
type
• type: "path"
Overrides void
Defined in packages/gram-ast/src/index.ts:50
Type discriminator for this AST element, always ‘path’.