MutableAstAttributes
Writeable attributes that are modified during the parsing process, and carry useful information for the next stages of the pipeline. Storing these attributes while parsing prevents a further visit of the final tree.
Parameters
the root node of the tree. According to the architecture, this is set right after the parsing stage
the locations (in terms of section indices) of the nodes that request their location to be tracked. This is populated in the tree traversal stage of the pipeline
the defined links, which can be referenced by other nodes
the function calls to be later executed
whether there is at least one code block.
whether there is at least one math block or inline.
See also
Constructors
Properties
Whether there is at least one Mermaid diagram. This is used to load the Mermaid library in HTML rendering only if necessary.
Labels/identifiers of nodes that are assigned it based on their position, both own (see locations) and relative to others of the same kind. The labels are often displayed in a caption. Examples of these nodes are figures and tables. For instance, depending on the document's NumberingFormat, an element may be labeled as 1.1
, 1.2
, 1.3
, 2.1
, etc.
The table of contents of all the headings in the document. This is generated by the tree traversal stage of the pipeline.