Skip to main content

AbstractHighlightType.(constructor)

Constructs an AbstractHighlightType instance from XML element data.

Signature

constructor(xml: DoxygenXmlParser, element: object, elementName: string);

Parameters

Parameter

Type

Description

xml

DoxygenXmlParser

The Doxygen XML parser instance for processing XML content

element

object

The XML element object containing the highlight data

elementName

string

The name of the XML element being processed

Remarks

This constructor processes highlight elements by extracting the mandatory class attribute and any mixed content including text nodes, spacing elements, and cross-reference elements. The parser maintains the original order of content elements in the children array to preserve the intended layout and formatting of the highlighted code segment.


Generated via tsdoc2docusaurus 1.3.0 by API Extractor/Documenter 7.52.8.