Skip to main content

DoxygenXmlParser.(constructor)

Constructs a new instance of the DoxygenXmlParser class.

Signature​

constructor(options: CliOptions);

Parameters​

Parameter

Type

Description

options

CliOptions

The global configuration options

Remarks​

This constructor initialises the XML parser with settings that preserve the order and structure of the original XML content, remove namespace prefixes, and ensure that the attribute values are parsed. The text of the elements is deliberately kept as written, since parsing it would change the numeric-looking text of the documentation (010 would become 10, 42.0 would become 42, and 0x7F would become 127); the methods that need a number or a boolean convert the text themselves. The values are not trimmed, maintaining fidelity to the source XML. The provided options are stored for use throughout the parsing process.


Generated via tsdoc2docusaurus 1.3.2 by API Extractor/Documenter 7.58.7.