Unique id of this reflection.
The kind of this reflection.
The symbol name of this reflection.
Abstract
Readonly
variantDiscriminator representing the type of reflection represented by this object.
Optional
categoriesAll children grouped by their category.
Optional
childrenThe children of this reflection. Do not add reflections to this array manually. Instead call addChild.
Optional
childrenOptional
commentThe parsed documentation comment attached to this reflection.
Optional
documentsDocuments associated with this reflection.
These are not children as including them as children requires code handle both types, despite being mostly unrelated and handled separately.
Including them here in a separate array neatly handles that problem, but also introduces another one for rendering. When rendering, documents should really actually be considered part of the "children" of a reflection. For this reason, we also maintain a list of child declarations with child documents which is used when rendering.
Optional
groupsAll children grouped by their kind.