Options
All
  • Public
  • Public/Protected
  • All
Menu

The (virtual) root node of a Gedcom file.

Hierarchy

Index

Properties

_index?: TreeIndexRoot

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: 0

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

indexSource: -1

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

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

tag: null

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

An optional string value. Can be any string.

Generated using TypeDoc