@xpack/doxygen2docusaurus 1.1.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +4 -3
- package/bin/doxygen2docusaurus.js +1 -1
- package/dist/cli/main.d.ts +0 -8
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +1 -29
- package/dist/cli/main.js.map +1 -1
- package/dist/docusaurus/cli-options.d.ts +4 -65
- package/dist/docusaurus/cli-options.d.ts.map +1 -1
- package/dist/docusaurus/cli-options.js +16 -91
- package/dist/docusaurus/cli-options.js.map +1 -1
- package/dist/docusaurus/generator.d.ts +7 -4
- package/dist/docusaurus/generator.d.ts.map +1 -1
- package/dist/docusaurus/generator.js +50 -140
- package/dist/docusaurus/generator.js.map +1 -1
- package/dist/docusaurus/renderers/descriptiontype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/descriptiontype.js +11 -138
- package/dist/docusaurus/renderers/descriptiontype.js.map +1 -1
- package/dist/docusaurus/renderers/docinternalstype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/docinternalstype.js +0 -24
- package/dist/docusaurus/renderers/docinternalstype.js.map +1 -1
- package/dist/docusaurus/renderers/doclisttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/doclisttype.js +0 -22
- package/dist/docusaurus/renderers/doclisttype.js.map +1 -1
- package/dist/docusaurus/renderers/doctabletype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/doctabletype.js +1 -25
- package/dist/docusaurus/renderers/doctabletype.js.map +1 -1
- package/dist/docusaurus/renderers/doctitletype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/doctitletype.js +0 -20
- package/dist/docusaurus/renderers/doctitletype.js.map +1 -1
- package/dist/docusaurus/renderers/docvariablelisttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/docvariablelisttype.js +1 -25
- package/dist/docusaurus/renderers/docvariablelisttype.js.map +1 -1
- package/dist/docusaurus/renderers/docxrefsecttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/docxrefsecttype.js +0 -16
- package/dist/docusaurus/renderers/docxrefsecttype.js.map +1 -1
- package/dist/docusaurus/renderers/element-renderer-base.d.ts.map +1 -1
- package/dist/docusaurus/renderers/element-renderer-base.js +0 -12
- package/dist/docusaurus/renderers/element-renderer-base.js.map +1 -1
- package/dist/docusaurus/renderers/inctype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/inctype.js +0 -18
- package/dist/docusaurus/renderers/inctype.js.map +1 -1
- package/dist/docusaurus/renderers/linkedtexttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/linkedtexttype.js +0 -23
- package/dist/docusaurus/renderers/linkedtexttype.js.map +1 -1
- package/dist/docusaurus/renderers/listingtype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/listingtype.js +1 -24
- package/dist/docusaurus/renderers/listingtype.js.map +1 -1
- package/dist/docusaurus/renderers/paramtype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/paramtype.js +2 -29
- package/dist/docusaurus/renderers/paramtype.js.map +1 -1
- package/dist/docusaurus/renderers/referencetype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/referencetype.js +0 -17
- package/dist/docusaurus/renderers/referencetype.js.map +1 -1
- package/dist/docusaurus/renderers/reftexttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/reftexttype.js +0 -16
- package/dist/docusaurus/renderers/reftexttype.js.map +1 -1
- package/dist/docusaurus/renderers/reftype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/reftype.js +0 -16
- package/dist/docusaurus/renderers/reftype.js.map +1 -1
- package/dist/docusaurus/renderers/renderers.d.ts.map +1 -1
- package/dist/docusaurus/renderers/renderers.js +4 -33
- package/dist/docusaurus/renderers/renderers.js.map +1 -1
- package/dist/docusaurus/renderers/substringtype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/substringtype.js +0 -17
- package/dist/docusaurus/renderers/substringtype.js.map +1 -1
- package/dist/docusaurus/renderers/tableofcontentstype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/tableofcontentstype.js +0 -17
- package/dist/docusaurus/renderers/tableofcontentstype.js.map +1 -1
- package/dist/docusaurus/types.d.ts +4 -8
- package/dist/docusaurus/types.d.ts.map +1 -1
- package/dist/docusaurus/types.js +0 -11
- package/dist/docusaurus/types.js.map +1 -1
- package/dist/docusaurus/utils.d.ts.map +1 -1
- package/dist/docusaurus/utils.js +0 -82
- package/dist/docusaurus/utils.js.map +1 -1
- package/dist/docusaurus/view-model/classes-vm.d.ts +2 -2
- package/dist/docusaurus/view-model/classes-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/classes-vm.js +12 -87
- package/dist/docusaurus/view-model/classes-vm.js.map +1 -1
- package/dist/docusaurus/view-model/collection-base.d.ts +2 -2
- package/dist/docusaurus/view-model/collection-base.d.ts.map +1 -1
- package/dist/docusaurus/view-model/collection-base.js +11 -23
- package/dist/docusaurus/view-model/collection-base.js.map +1 -1
- package/dist/docusaurus/view-model/compound-base-vm.d.ts +2 -32
- package/dist/docusaurus/view-model/compound-base-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/compound-base-vm.js +47 -129
- package/dist/docusaurus/view-model/compound-base-vm.js.map +1 -1
- package/dist/docusaurus/view-model/concepts-vm.d.ts +26 -0
- package/dist/docusaurus/view-model/concepts-vm.d.ts.map +1 -0
- package/dist/docusaurus/view-model/concepts-vm.js +329 -0
- package/dist/docusaurus/view-model/concepts-vm.js.map +1 -0
- package/dist/docusaurus/view-model/description-anchors.d.ts.map +1 -1
- package/dist/docusaurus/view-model/description-anchors.js +0 -13
- package/dist/docusaurus/view-model/description-anchors.js.map +1 -1
- package/dist/docusaurus/view-model/files-and-folders-vm.d.ts +2 -2
- package/dist/docusaurus/view-model/files-and-folders-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/files-and-folders-vm.js +64 -110
- package/dist/docusaurus/view-model/files-and-folders-vm.js.map +1 -1
- package/dist/docusaurus/view-model/groups-vm.d.ts +2 -2
- package/dist/docusaurus/view-model/groups-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/groups-vm.js +7 -80
- package/dist/docusaurus/view-model/groups-vm.js.map +1 -1
- package/dist/docusaurus/view-model/members-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/members-vm.js +17 -154
- package/dist/docusaurus/view-model/members-vm.js.map +1 -1
- package/dist/docusaurus/view-model/namespaces-vm.d.ts +6 -2
- package/dist/docusaurus/view-model/namespaces-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/namespaces-vm.js +82 -89
- package/dist/docusaurus/view-model/namespaces-vm.js.map +1 -1
- package/dist/docusaurus/view-model/options.d.ts.map +1 -1
- package/dist/docusaurus/view-model/options.js +0 -14
- package/dist/docusaurus/view-model/options.js.map +1 -1
- package/dist/docusaurus/view-model/pages-vm.d.ts +2 -2
- package/dist/docusaurus/view-model/pages-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/pages-vm.js +3 -50
- package/dist/docusaurus/view-model/pages-vm.js.map +1 -1
- package/dist/docusaurus/view-model/tree-entries-vm.d.ts +8 -22
- package/dist/docusaurus/view-model/tree-entries-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/tree-entries-vm.js +54 -54
- package/dist/docusaurus/view-model/tree-entries-vm.js.map +1 -1
- package/dist/docusaurus/view-model/view-model.d.ts +0 -6
- package/dist/docusaurus/view-model/view-model.d.ts.map +1 -1
- package/dist/docusaurus/view-model/view-model.js +20 -63
- package/dist/docusaurus/view-model/view-model.js.map +1 -1
- package/dist/docusaurus/workspace.d.ts +1 -20
- package/dist/docusaurus/workspace.d.ts.map +1 -1
- package/dist/docusaurus/workspace.js +9 -116
- package/dist/docusaurus/workspace.js.map +1 -1
- package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts +5 -7
- package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/compounddef-dm.js +23 -187
- package/dist/doxygen/data-model/compounds/compounddef-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/compoundreftype-dm.d.ts +0 -9
- package/dist/doxygen/data-model/compounds/compoundreftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/compoundreftype-dm.js +1 -47
- package/dist/doxygen/data-model/compounds/compoundreftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/descriptiontype-dm.d.ts +0 -39
- package/dist/doxygen/data-model/compounds/descriptiontype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/descriptiontype-dm.js +36 -1308
- package/dist/doxygen/data-model/compounds/descriptiontype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.js +0 -64
- package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/doxygentype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/doxygentype-dm.js +0 -35
- package/dist/doxygen/data-model/compounds/doxygentype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/enumvaluetype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/compounds/enumvaluetype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/enumvaluetype-dm.js +1 -44
- package/dist/doxygen/data-model/compounds/enumvaluetype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/inctype-dm.d.ts +0 -9
- package/dist/doxygen/data-model/compounds/inctype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/inctype-dm.js +3 -48
- package/dist/doxygen/data-model/compounds/inctype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/linkedtexttype-dm.d.ts +3 -15
- package/dist/doxygen/data-model/compounds/linkedtexttype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/linkedtexttype-dm.js +5 -57
- package/dist/doxygen/data-model/compounds/linkedtexttype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.js +0 -38
- package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/locationtype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/compounds/locationtype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/locationtype-dm.js +4 -52
- package/dist/doxygen/data-model/compounds/locationtype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/memberdeftype-dm.d.ts +2 -10
- package/dist/doxygen/data-model/compounds/memberdeftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/memberdeftype-dm.js +19 -64
- package/dist/doxygen/data-model/compounds/memberdeftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/memberreftype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/compounds/memberreftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/memberreftype-dm.js +1 -45
- package/dist/doxygen/data-model/compounds/memberreftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/membertype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/compounds/membertype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/membertype-dm.js +0 -43
- package/dist/doxygen/data-model/compounds/membertype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/paramtype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/compounds/paramtype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/paramtype-dm.js +0 -51
- package/dist/doxygen/data-model/compounds/paramtype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/referencetype-dm.d.ts +0 -9
- package/dist/doxygen/data-model/compounds/referencetype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/referencetype-dm.js +2 -47
- package/dist/doxygen/data-model/compounds/referencetype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/reftexttype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/reftexttype-dm.js +2 -38
- package/dist/doxygen/data-model/compounds/reftexttype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/reftype-dm.d.ts +0 -21
- package/dist/doxygen/data-model/compounds/reftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/reftype-dm.js +4 -82
- package/dist/doxygen/data-model/compounds/reftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/reimplementtype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/compounds/reimplementtype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/reimplementtype-dm.js +1 -42
- package/dist/doxygen/data-model/compounds/reimplementtype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/sectiondeftype-dm.d.ts +0 -9
- package/dist/doxygen/data-model/compounds/sectiondeftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/sectiondeftype-dm.js +0 -53
- package/dist/doxygen/data-model/compounds/sectiondeftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.d.ts +0 -12
- package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.js +0 -105
- package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.js +0 -38
- package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.js.map +1 -1
- package/dist/doxygen/data-model/data-model.d.ts +0 -65
- package/dist/doxygen/data-model/data-model.d.ts.map +1 -1
- package/dist/doxygen/data-model/data-model.js +4 -115
- package/dist/doxygen/data-model/data-model.js.map +1 -1
- package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.js +4 -47
- package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.js.map +1 -1
- package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.js +0 -40
- package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.js.map +1 -1
- package/dist/doxygen/data-model/doxygen-xml-parser.d.ts +0 -236
- package/dist/doxygen/data-model/doxygen-xml-parser.d.ts.map +1 -1
- package/dist/doxygen/data-model/doxygen-xml-parser.js +0 -289
- package/dist/doxygen/data-model/doxygen-xml-parser.js.map +1 -1
- package/dist/doxygen/data-model/index/indexcompoundtype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/index/indexcompoundtype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/index/indexcompoundtype-dm.js +2 -45
- package/dist/doxygen/data-model/index/indexcompoundtype-dm.js.map +1 -1
- package/dist/doxygen/data-model/index/indexdoxygentype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/index/indexdoxygentype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/index/indexdoxygentype-dm.js +0 -41
- package/dist/doxygen/data-model/index/indexdoxygentype-dm.js.map +1 -1
- package/dist/doxygen/data-model/index/indexmembertype-dm.d.ts +0 -6
- package/dist/doxygen/data-model/index/indexmembertype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/index/indexmembertype-dm.js +1 -43
- package/dist/doxygen/data-model/index/indexmembertype-dm.js.map +1 -1
- package/dist/doxygen/data-model/types.d.ts +1 -10
- package/dist/doxygen/data-model/types.d.ts.map +1 -1
- package/dist/doxygen/data-model/types.js +0 -15
- package/dist/doxygen/data-model/types.js.map +1 -1
- package/dist/index.d.ts +4 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -42
- package/dist/index.js.map +1 -1
- package/package.json +53 -56
- package/src/cli/main.ts +122 -0
- package/src/docusaurus/cli-options.ts +560 -0
- package/src/docusaurus/generator.ts +788 -0
- package/src/docusaurus/renderers/descriptiontype.ts +1299 -0
- package/src/docusaurus/renderers/docinternalstype.ts +354 -0
- package/src/docusaurus/renderers/doclisttype.ts +134 -0
- package/src/docusaurus/renderers/doctabletype.ts +220 -0
- package/src/docusaurus/renderers/doctitletype.ts +77 -0
- package/src/docusaurus/renderers/docvariablelisttype.ts +123 -0
- package/src/docusaurus/renderers/docxrefsecttype.ts +84 -0
- package/src/docusaurus/renderers/element-renderer-base.ts +112 -0
- package/src/docusaurus/renderers/inctype.ts +75 -0
- package/src/docusaurus/renderers/linkedtexttype.ts +64 -0
- package/src/docusaurus/renderers/listingtype.ts +235 -0
- package/src/docusaurus/renderers/paramtype.ts +116 -0
- package/src/docusaurus/renderers/referencetype.ts +83 -0
- package/src/docusaurus/renderers/reftexttype.ts +81 -0
- package/src/docusaurus/renderers/reftype.ts +77 -0
- package/src/docusaurus/renderers/renderers.ts +756 -0
- package/src/docusaurus/renderers/substringtype.ts +53 -0
- package/src/docusaurus/renderers/tableofcontentstype.ts +74 -0
- package/src/docusaurus/types.ts +187 -0
- package/src/docusaurus/utils.ts +409 -0
- package/src/docusaurus/view-model/README.md +12 -0
- package/src/docusaurus/view-model/classes-vm.ts +1088 -0
- package/src/docusaurus/view-model/collection-base.ts +352 -0
- package/src/docusaurus/view-model/compound-base-vm.ts +1340 -0
- package/src/docusaurus/view-model/concepts-vm.ts +719 -0
- package/src/docusaurus/view-model/description-anchors.ts +107 -0
- package/src/docusaurus/view-model/files-and-folders-vm.ts +1293 -0
- package/src/docusaurus/view-model/groups-vm.ts +548 -0
- package/src/docusaurus/view-model/members-vm.ts +1943 -0
- package/src/docusaurus/view-model/namespaces-vm.ts +1018 -0
- package/src/docusaurus/view-model/options.ts +95 -0
- package/src/docusaurus/view-model/pages-vm.ts +342 -0
- package/src/docusaurus/view-model/tree-entries-vm.ts +376 -0
- package/src/docusaurus/view-model/view-model.ts +513 -0
- package/src/docusaurus/workspace.ts +588 -0
- package/src/doxygen/data-model/README.md +13 -0
- package/src/doxygen/data-model/compounds/compounddef-dm.ts +1156 -0
- package/src/doxygen/data-model/compounds/compoundreftype-dm.ts +266 -0
- package/src/doxygen/data-model/compounds/descriptiontype-dm.ts +10107 -0
- package/src/doxygen/data-model/compounds/docvarlistentrytype-dm.ts +354 -0
- package/src/doxygen/data-model/compounds/doxygentype-dm.ts +187 -0
- package/src/doxygen/data-model/compounds/enumvaluetype-dm.ts +218 -0
- package/src/doxygen/data-model/compounds/inctype-dm.ts +217 -0
- package/src/doxygen/data-model/compounds/linkedtexttype-dm.ts +288 -0
- package/src/doxygen/data-model/compounds/listofallmemberstype-dm.ts +160 -0
- package/src/doxygen/data-model/compounds/locationtype-dm.ts +284 -0
- package/src/doxygen/data-model/compounds/memberdeftype-dm.ts +874 -0
- package/src/doxygen/data-model/compounds/memberreftype-dm.ts +270 -0
- package/src/doxygen/data-model/compounds/membertype-dm.ts +239 -0
- package/src/doxygen/data-model/compounds/paramtype-dm.ts +302 -0
- package/src/doxygen/data-model/compounds/referencetype-dm.ts +248 -0
- package/src/doxygen/data-model/compounds/reftexttype-dm.ts +234 -0
- package/src/doxygen/data-model/compounds/reftype-dm.ts +430 -0
- package/src/doxygen/data-model/compounds/reimplementtype-dm.ts +201 -0
- package/src/doxygen/data-model/compounds/sectiondeftype-dm.ts +330 -0
- package/src/doxygen/data-model/compounds/tableofcontentstype-dm.ts +563 -0
- package/src/doxygen/data-model/compounds/templateparamlisttype-dm.ts +150 -0
- package/src/doxygen/data-model/data-model.ts +377 -0
- package/src/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.ts +271 -0
- package/src/doxygen/data-model/doxyfile/doxyfiletype-dm.ts +200 -0
- package/src/doxygen/data-model/doxygen-xml-parser.ts +522 -0
- package/src/doxygen/data-model/index/indexcompoundtype-dm.ts +256 -0
- package/src/doxygen/data-model/index/indexdoxygentype-dm.ts +196 -0
- package/src/doxygen/data-model/index/indexmembertype-dm.ts +230 -0
- package/src/doxygen/data-model/types.ts +175 -0
- package/src/doxygen/data-model/xsds/README.md +6 -0
- package/src/doxygen/data-model/xsds/compound.xsd +1699 -0
- package/src/doxygen/data-model/xsds/doxyfile.xsd +355 -0
- package/src/doxygen/data-model/xsds/index.xsd +72 -0
- package/src/doxygen/data-model/xsds/xml.xsd +23 -0
- package/src/index.ts +261 -0
- package/src/tsconfig.json +10 -0
- package/dist/doxygen2docusaurus.d.ts +0 -1147
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/tsdoc-metadata.json +0 -11
- /package/{template → templates}/css/custom.css +0 -0
- /package/{template → templates}/img/README.md +0 -0
- /package/{template → templates}/img/document-svgrepo-com.svg +0 -0
- /package/{template → templates}/img/folder-svgrepo-com.svg +0 -0
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file is part of the xPack project (http://xpack.github.io).
|
|
3
|
+
* Copyright (c) 2025-2026 Liviu Ionescu. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Permission to use, copy, modify, and/or distribute this software
|
|
6
|
+
* for any purpose is hereby granted, under the terms of the MIT license.
|
|
7
|
+
*
|
|
8
|
+
* If a copy of the license was not distributed with this file, it can
|
|
9
|
+
* be obtained from https://opensource.org/licenses/MIT.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
// ----------------------------------------------------------------------------
|
|
13
|
+
|
|
14
|
+
import assert from 'node:assert'
|
|
15
|
+
import * as util from 'node:util'
|
|
16
|
+
|
|
17
|
+
import { DoxygenXmlParser } from '../doxygen-xml-parser.js'
|
|
18
|
+
import { AbstractDataModelBase } from '../types.js'
|
|
19
|
+
|
|
20
|
+
// ----------------------------------------------------------------------------
|
|
21
|
+
|
|
22
|
+
// <xsd:complexType name="OptionType">
|
|
23
|
+
// <xsd:sequence>
|
|
24
|
+
// <xsd:element name="value" type="valueType" minOccurs="0" maxOccurs="unbounded"/>
|
|
25
|
+
// </xsd:sequence>
|
|
26
|
+
// <xsd:attribute name="id" type="idType" use="required"/>
|
|
27
|
+
// <xsd:attribute name="default" type="defaultType" use="required"/>
|
|
28
|
+
// <xsd:attribute name="type" type="typeType" use="required"/>
|
|
29
|
+
// </xsd:complexType>
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Abstract base class for Doxygen file option type data models.
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* Represents configuration option elements within Doxyfile XML structures,
|
|
36
|
+
* corresponding to the OptionType complex type in the XML schema. This
|
|
37
|
+
* class handles the parsing of option values and mandatory attributes
|
|
38
|
+
* (id, default, and type). All concrete option data model classes should
|
|
39
|
+
* extend this abstract base to ensure consistent parsing and data
|
|
40
|
+
* representation of Doxygen configuration settings.
|
|
41
|
+
*
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
// eslint-disable-next-line max-len
|
|
45
|
+
export abstract class AbstractDoxygenFileOptionType extends AbstractDataModelBase {
|
|
46
|
+
/**
|
|
47
|
+
* Collection of value strings associated with this configuration option.
|
|
48
|
+
*
|
|
49
|
+
* @remarks
|
|
50
|
+
* Optional array containing value elements found within the option
|
|
51
|
+
* structure. Each value represents a specific setting or parameter
|
|
52
|
+
* for the configuration option. The array supports zero to many values
|
|
53
|
+
* as per the XML schema, allowing for both single and multi-value
|
|
54
|
+
* configuration settings.
|
|
55
|
+
*/
|
|
56
|
+
values: string[] | undefined // [0-n] valueType
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* The unique identifier for this configuration option.
|
|
60
|
+
*
|
|
61
|
+
* @remarks
|
|
62
|
+
* Mandatory attribute that specifies the name or identifier of the
|
|
63
|
+
* Doxygen configuration option. This corresponds to the actual
|
|
64
|
+
* configuration parameter name used in Doxygen configuration files
|
|
65
|
+
* and determines the specific setting being configured.
|
|
66
|
+
*/
|
|
67
|
+
id = '' // idType
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* The default value indicator for this configuration option.
|
|
71
|
+
*
|
|
72
|
+
* @remarks
|
|
73
|
+
* Mandatory attribute that indicates whether this option is set to
|
|
74
|
+
* its default value. Corresponds to the defaultType enumeration in
|
|
75
|
+
* the XML schema, typically having values of 'yes' or 'no'.
|
|
76
|
+
*/
|
|
77
|
+
default = '' // defaultType
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* The data type classification for this configuration option.
|
|
81
|
+
*
|
|
82
|
+
* @remarks
|
|
83
|
+
* Mandatory attribute that specifies the expected data type for the
|
|
84
|
+
* option's values. Corresponds to the typeType enumeration in the
|
|
85
|
+
* XML schema, indicating whether the option expects integer, boolean,
|
|
86
|
+
* string, or string list values.
|
|
87
|
+
*/
|
|
88
|
+
type = '' // typeType
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Constructs a new AbstractDoxygenFileOptionType instance from XML data.
|
|
92
|
+
*
|
|
93
|
+
* @param xml - The Doxygen XML parser instance for processing XML elements
|
|
94
|
+
* @param element - The XML element containing the option data
|
|
95
|
+
* @param elementName - The name of the XML element being processed
|
|
96
|
+
*
|
|
97
|
+
* @remarks
|
|
98
|
+
* Parses the provided XML element to extract configuration option
|
|
99
|
+
* information including value collections and mandatory attributes
|
|
100
|
+
* (id, default, and type). The constructor validates that all required
|
|
101
|
+
* attributes are present and processes value elements into a string
|
|
102
|
+
* array when present. The parsing ensures compliance with the OptionType
|
|
103
|
+
* schema definition.
|
|
104
|
+
*/
|
|
105
|
+
constructor(xml: DoxygenXmlParser, element: object, elementName: string) {
|
|
106
|
+
super(elementName)
|
|
107
|
+
|
|
108
|
+
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
109
|
+
|
|
110
|
+
// ------------------------------------------------------------------------
|
|
111
|
+
// Process elements.
|
|
112
|
+
|
|
113
|
+
const innerElements = xml.getInnerElements(element, elementName)
|
|
114
|
+
assert(innerElements.length > 0)
|
|
115
|
+
|
|
116
|
+
for (const innerElement of innerElements) {
|
|
117
|
+
if (xml.hasInnerText(innerElement)) {
|
|
118
|
+
// Ignore texts.
|
|
119
|
+
} else if (xml.isInnerElementText(innerElement, 'value')) {
|
|
120
|
+
this.values ??= []
|
|
121
|
+
this.values.push(xml.getInnerElementText(innerElement, 'value'))
|
|
122
|
+
} else {
|
|
123
|
+
console.error(util.inspect(innerElement))
|
|
124
|
+
console.error(
|
|
125
|
+
`doxyfile ${elementName} element:`,
|
|
126
|
+
Object.keys(innerElement),
|
|
127
|
+
'not implemented yet in',
|
|
128
|
+
this.constructor.name
|
|
129
|
+
)
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// ------------------------------------------------------------------------
|
|
134
|
+
// Process attributes.
|
|
135
|
+
|
|
136
|
+
assert(xml.hasAttributes(element))
|
|
137
|
+
|
|
138
|
+
const attributesNames = xml.getAttributesNames(element)
|
|
139
|
+
// console.log(attributesNames)
|
|
140
|
+
for (const attributeName of attributesNames) {
|
|
141
|
+
// console.log(attributeName)
|
|
142
|
+
if (attributeName === '@_id') {
|
|
143
|
+
this.id = xml.getAttributeStringValue(element, '@_id')
|
|
144
|
+
} else if (attributeName === '@_default') {
|
|
145
|
+
this.default = xml.getAttributeStringValue(element, '@_default')
|
|
146
|
+
} else if (attributeName === '@_type') {
|
|
147
|
+
this.type = xml.getAttributeStringValue(element, '@_type')
|
|
148
|
+
} else {
|
|
149
|
+
console.error(util.inspect(element, { compact: false, depth: 999 }))
|
|
150
|
+
console.error(
|
|
151
|
+
`doxyfile ${elementName} attribute:`,
|
|
152
|
+
attributeName,
|
|
153
|
+
'not implemented yet in',
|
|
154
|
+
this.constructor.name
|
|
155
|
+
)
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
assert(this.id.length > 0)
|
|
160
|
+
assert(this.default.length > 0)
|
|
161
|
+
assert(this.type.length > 0)
|
|
162
|
+
|
|
163
|
+
// ------------------------------------------------------------------------
|
|
164
|
+
|
|
165
|
+
// console.log(util.inspect(this, { compact: false, depth: 999 }))
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
// ----------------------------------------------------------------------------
|
|
170
|
+
|
|
171
|
+
// <xsd:simpleType name="valueType">
|
|
172
|
+
// <xsd:restriction base="xsd:string">
|
|
173
|
+
// </xsd:restriction>
|
|
174
|
+
// </xsd:simpleType>
|
|
175
|
+
|
|
176
|
+
// <xsd:simpleType name="idType">
|
|
177
|
+
// <xsd:restriction base="xsd:string">
|
|
178
|
+
// <xsd:enumeration value="DOXYFILE_ENCODING"/>
|
|
179
|
+
// <xsd:enumeration value="PROJECT_NAME"/>
|
|
180
|
+
// <xsd:enumeration value="PROJECT_NUMBER"/>
|
|
181
|
+
// <xsd:enumeration value="PROJECT_BRIEF"/>
|
|
182
|
+
// <xsd:enumeration value="PROJECT_LOGO"/>
|
|
183
|
+
// <xsd:enumeration value="PROJECT_ICON"/>
|
|
184
|
+
// ... many more
|
|
185
|
+
// <xsd:enumeration value="MSCFILE_DIRS"/>
|
|
186
|
+
// </xsd:restriction>
|
|
187
|
+
// </xsd:simpleType>
|
|
188
|
+
|
|
189
|
+
// <xsd:simpleType name="defaultType">
|
|
190
|
+
// <xsd:restriction base="xsd:string">
|
|
191
|
+
// <xsd:enumeration value="yes"/>
|
|
192
|
+
// <xsd:enumeration value="no"/>
|
|
193
|
+
// </xsd:restriction>
|
|
194
|
+
// </xsd:simpleType>
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Union type representing the default value indicators for Doxyfile options.
|
|
198
|
+
*
|
|
199
|
+
* @remarks
|
|
200
|
+
* Corresponds to the defaultType simple type in the Doxygen XML schema,
|
|
201
|
+
* which defines the allowable values for indicating whether a configuration
|
|
202
|
+
* option is set to its default value. The 'yes' value indicates the option
|
|
203
|
+
* uses its default setting, whilst 'no' indicates a custom value has been
|
|
204
|
+
* specified.
|
|
205
|
+
*
|
|
206
|
+
* @public
|
|
207
|
+
*/
|
|
208
|
+
export type DoxyfileDefaultType = 'yes' | 'no'
|
|
209
|
+
|
|
210
|
+
// <xsd:simpleType name="typeType">
|
|
211
|
+
// <xsd:restriction base="xsd:string">
|
|
212
|
+
// <xsd:enumeration value="int"/>
|
|
213
|
+
// <xsd:enumeration value="bool"/>
|
|
214
|
+
// <xsd:enumeration value="string"/>
|
|
215
|
+
// <xsd:enumeration value="stringlist"/>
|
|
216
|
+
// </xsd:restriction>
|
|
217
|
+
// </xsd:simpleType>
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Union type representing the data types for Doxyfile configuration options.
|
|
221
|
+
*
|
|
222
|
+
* @remarks
|
|
223
|
+
* Corresponds to the typeType simple type in the Doxygen XML schema,
|
|
224
|
+
* which defines the allowable data type classifications for configuration
|
|
225
|
+
* options. Each value indicates the expected format and validation rules
|
|
226
|
+
* for the option's values: 'int' for integers, 'bool' for boolean flags,
|
|
227
|
+
* 'string' for single text values, and 'stringlist' for multiple text
|
|
228
|
+
* values.
|
|
229
|
+
*
|
|
230
|
+
* @public
|
|
231
|
+
*/
|
|
232
|
+
export type DoxyfileTypeType = 'int' | 'bool' | 'string' | 'stringlist'
|
|
233
|
+
|
|
234
|
+
// ----------------------------------------------------------------------------
|
|
235
|
+
|
|
236
|
+
// <xsd:element name="option" type="OptionType" minOccurs="0" maxOccurs="unbounded"/>
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Concrete data model class for Doxyfile option elements.
|
|
240
|
+
*
|
|
241
|
+
* @remarks
|
|
242
|
+
* Represents individual configuration option elements found within
|
|
243
|
+
* Doxyfile XML structures. This class extends the abstract base to
|
|
244
|
+
* provide specific handling for 'option' elements, which define
|
|
245
|
+
* individual Doxygen configuration settings including their identifiers,
|
|
246
|
+
* types, default status, and associated values. Each option corresponds
|
|
247
|
+
* to a specific configuration parameter that controls Doxygen's
|
|
248
|
+
* documentation generation behaviour.
|
|
249
|
+
*
|
|
250
|
+
* @public
|
|
251
|
+
*/
|
|
252
|
+
export class DoxygenFileOptionDataModel extends AbstractDoxygenFileOptionType {
|
|
253
|
+
/**
|
|
254
|
+
* Constructs a new DoxygenFileOptionDataModel instance from XML data.
|
|
255
|
+
*
|
|
256
|
+
* @param xml - The Doxygen XML parser instance for processing XML elements
|
|
257
|
+
* @param element - The XML element containing the option data
|
|
258
|
+
*
|
|
259
|
+
* @remarks
|
|
260
|
+
* Initialises the option data model by parsing the provided XML element
|
|
261
|
+
* as an 'option' element type. The constructor delegates to the parent
|
|
262
|
+
* class for common option processing whilst specifying the element name
|
|
263
|
+
* for proper XML structure handling.
|
|
264
|
+
*/
|
|
265
|
+
constructor(xml: DoxygenXmlParser, element: object) {
|
|
266
|
+
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
267
|
+
super(xml, element, 'option')
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
// ----------------------------------------------------------------------------
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file is part of the xPack project (http://xpack.github.io).
|
|
3
|
+
* Copyright (c) 2025-2026 Liviu Ionescu. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Permission to use, copy, modify, and/or distribute this software
|
|
6
|
+
* for any purpose is hereby granted, under the terms of the MIT license.
|
|
7
|
+
*
|
|
8
|
+
* If a copy of the license was not distributed with this file, it can
|
|
9
|
+
* be obtained from https://opensource.org/licenses/MIT.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
// ----------------------------------------------------------------------------
|
|
13
|
+
|
|
14
|
+
import assert from 'node:assert'
|
|
15
|
+
import * as util from 'node:util'
|
|
16
|
+
|
|
17
|
+
import { DoxygenXmlParser } from '../doxygen-xml-parser.js'
|
|
18
|
+
import { DoxygenFileOptionDataModel } from './doxyfileoptiontype-dm.js'
|
|
19
|
+
import { AbstractDataModelBase } from '../types.js'
|
|
20
|
+
|
|
21
|
+
// ----------------------------------------------------------------------------
|
|
22
|
+
|
|
23
|
+
// <xsd:complexType name="DoxygenFileType">
|
|
24
|
+
// <xsd:sequence>
|
|
25
|
+
// <xsd:element name="option" type="OptionType" minOccurs="0" maxOccurs="unbounded"/>
|
|
26
|
+
// </xsd:sequence>
|
|
27
|
+
// <xsd:attribute name="version" type="xsd:string" use="required"/>
|
|
28
|
+
// <xsd:attribute ref="xml:lang" use="required"/>
|
|
29
|
+
// </xsd:complexType>
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Abstract base class for Doxygen file type data models.
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* Represents the structure of Doxyfile XML configurations, corresponding
|
|
36
|
+
* to the DoxygenFileType complex type in the XML schema. This class handles
|
|
37
|
+
* the parsing of Doxygen configuration options and mandatory attributes
|
|
38
|
+
* (version and language). All concrete Doxyfile data model classes should
|
|
39
|
+
* extend this abstract base to ensure consistent parsing and data
|
|
40
|
+
* representation of configuration settings.
|
|
41
|
+
*
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
export abstract class AbstractDoxygenFileType extends AbstractDataModelBase {
|
|
45
|
+
/**
|
|
46
|
+
* The version of the Doxygen tool that generated the configuration.
|
|
47
|
+
*
|
|
48
|
+
* @remarks
|
|
49
|
+
* Mandatory attribute extracted from the XML structure that identifies
|
|
50
|
+
* the version of Doxygen used to generate the configuration file. This
|
|
51
|
+
* information is essential for compatibility and configuration parsing
|
|
52
|
+
* decisions.
|
|
53
|
+
*/
|
|
54
|
+
version = ''
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* The language specification for the documentation configuration.
|
|
58
|
+
*
|
|
59
|
+
* @remarks
|
|
60
|
+
* Mandatory attribute corresponding to the xml:lang attribute in the
|
|
61
|
+
* XML structure. Specifies the primary language used in the configuration
|
|
62
|
+
* and documentation generation process for internationalisation purposes.
|
|
63
|
+
*/
|
|
64
|
+
lang = ''
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Collection of configuration option data models.
|
|
68
|
+
*
|
|
69
|
+
* @remarks
|
|
70
|
+
* Optional array containing option elements found within the Doxyfile
|
|
71
|
+
* structure. Each option represents a specific configuration setting
|
|
72
|
+
* that controls the behaviour of Doxygen during documentation generation.
|
|
73
|
+
* The array supports zero to many options as per the XML schema.
|
|
74
|
+
*/
|
|
75
|
+
options?: DoxygenFileOptionDataModel[] | undefined
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* The XML schema location reference for validation.
|
|
79
|
+
*
|
|
80
|
+
* @remarks
|
|
81
|
+
* Optional attribute that specifies the location of the XML schema
|
|
82
|
+
* definition used for validating the structure of the Doxyfile XML.
|
|
83
|
+
* This provides schema validation capabilities for the parsed
|
|
84
|
+
* configuration content.
|
|
85
|
+
*/
|
|
86
|
+
noNamespaceSchemaLocation?: string | undefined
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Constructs a new AbstractDoxygenFileType instance from XML data.
|
|
90
|
+
*
|
|
91
|
+
* @param xml - The Doxygen XML parser instance for processing XML elements
|
|
92
|
+
* @param element - The XML element containing the Doxyfile data
|
|
93
|
+
* @param elementName - The name of the XML element being processed
|
|
94
|
+
*
|
|
95
|
+
* @remarks
|
|
96
|
+
* Parses the provided XML element to extract Doxyfile configuration
|
|
97
|
+
* information including option collections and mandatory attributes
|
|
98
|
+
* (version and language). The constructor validates that all required
|
|
99
|
+
* attributes are present and processes option elements into the
|
|
100
|
+
* appropriate data models. Optional schema location attributes are
|
|
101
|
+
* also extracted when present.
|
|
102
|
+
*/
|
|
103
|
+
constructor(xml: DoxygenXmlParser, element: object, elementName: string) {
|
|
104
|
+
super(elementName)
|
|
105
|
+
|
|
106
|
+
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
107
|
+
|
|
108
|
+
const innerElements = xml.getInnerElements(element, elementName)
|
|
109
|
+
assert(innerElements.length > 0)
|
|
110
|
+
|
|
111
|
+
for (const innerElement of innerElements) {
|
|
112
|
+
if (xml.hasInnerText(innerElement)) {
|
|
113
|
+
// Ignore texts.
|
|
114
|
+
} else if (xml.hasInnerElement(innerElement, 'option')) {
|
|
115
|
+
this.options ??= []
|
|
116
|
+
this.options.push(new DoxygenFileOptionDataModel(xml, innerElement))
|
|
117
|
+
} else {
|
|
118
|
+
console.error(util.inspect(innerElement))
|
|
119
|
+
console.error(
|
|
120
|
+
`doxyfile ${elementName} element:`,
|
|
121
|
+
Object.keys(innerElement),
|
|
122
|
+
'not implemented yet in',
|
|
123
|
+
this.constructor.name
|
|
124
|
+
)
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
// ------------------------------------------------------------------------
|
|
129
|
+
// Process attributes.
|
|
130
|
+
|
|
131
|
+
assert(xml.hasAttributes(element))
|
|
132
|
+
|
|
133
|
+
const attributesNames = xml.getAttributesNames(element)
|
|
134
|
+
// console.log(attributesNames)
|
|
135
|
+
for (const attributeName of attributesNames) {
|
|
136
|
+
// console.log(attributeName)
|
|
137
|
+
if (attributeName === '@_version') {
|
|
138
|
+
this.version = xml.getAttributeStringValue(element, '@_version')
|
|
139
|
+
} else if (attributeName === '@_lang') {
|
|
140
|
+
this.lang = xml.getAttributeStringValue(element, '@_lang')
|
|
141
|
+
} else if (attributeName === '@_noNamespaceSchemaLocation') {
|
|
142
|
+
this.noNamespaceSchemaLocation = xml.getAttributeStringValue(
|
|
143
|
+
element,
|
|
144
|
+
'@_noNamespaceSchemaLocation'
|
|
145
|
+
)
|
|
146
|
+
} else {
|
|
147
|
+
console.error(util.inspect(element, { compact: false, depth: 999 }))
|
|
148
|
+
console.error(
|
|
149
|
+
`doxyfile ${elementName} attribute:`,
|
|
150
|
+
attributeName,
|
|
151
|
+
'not implemented yet in',
|
|
152
|
+
this.constructor.name
|
|
153
|
+
)
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
assert(this.version.length > 0)
|
|
157
|
+
assert(this.lang.length > 0)
|
|
158
|
+
|
|
159
|
+
// ------------------------------------------------------------------------
|
|
160
|
+
|
|
161
|
+
// console.log(util.inspect(this, { compact: false, depth: 999 }))
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// ----------------------------------------------------------------------------
|
|
166
|
+
|
|
167
|
+
// <xsd:element name="doxyfile" type="DoxygenFileType"/>
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Concrete data model class for doxyfile elements.
|
|
171
|
+
*
|
|
172
|
+
* @remarks
|
|
173
|
+
* Represents the root element of Doxyfile XML configuration files,
|
|
174
|
+
* extending the abstract base class to provide specific handling for
|
|
175
|
+
* 'doxyfile' elements. This class serves as the primary entry point
|
|
176
|
+
* for parsing Doxygen configuration files and provides access to all
|
|
177
|
+
* configuration options and metadata contained within the file structure.
|
|
178
|
+
*
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
181
|
+
export class DoxygenFileDataModel extends AbstractDoxygenFileType {
|
|
182
|
+
/**
|
|
183
|
+
* Constructs a new DoxygenFileDataModel instance from XML data.
|
|
184
|
+
*
|
|
185
|
+
* @param xml - The Doxygen XML parser instance for processing XML elements
|
|
186
|
+
* @param element - The XML element containing the doxyfile data
|
|
187
|
+
*
|
|
188
|
+
* @remarks
|
|
189
|
+
* Initialises the Doxyfile data model by parsing the provided XML element
|
|
190
|
+
* as a 'doxyfile' element type. The constructor delegates to the parent
|
|
191
|
+
* class for common configuration processing whilst specifying the element
|
|
192
|
+
* name for proper XML structure handling.
|
|
193
|
+
*/
|
|
194
|
+
constructor(xml: DoxygenXmlParser, element: object) {
|
|
195
|
+
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
196
|
+
super(xml, element, 'doxyfile')
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
// ----------------------------------------------------------------------------
|