Options
All
  • Public
  • Public/Protected
  • All
Menu

A node in a Gedcom file.

Hierarchy

Index

Properties

_index?: TreeIndex

The index for this node, if computed. It can be safely serialized as it does not contain any reference, but rather indices (represented as integers).

children: TreeNode[]

This node's children nodes.

indexRelative: number

Node index in the output tree, relative to the parent.

indexSource: number

Absolute node index in source file, namely the line number minus one. The CONT and CONC pseudo-tags are included in the count, hence possibly introducing gaps in the indices.

pointer: null | string

An optional pointer, used to reference this node elsewhere. Starts and ends with the @ symbol and contains an uppercase identifier.

tag: null | string

The Gedcom tag of this node. Usually in uppercase, possibly starting with an underscore. The root is the only node for which the tag is null.

value: null | string

An optional string value. Can be any string.

Generated using TypeDoc