@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,270 @@
|
|
|
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="memberRefType">
|
|
23
|
+
// <xsd:sequence>
|
|
24
|
+
// <xsd:element name="scope" type="xsd:string" />
|
|
25
|
+
// <xsd:element name="name" type="xsd:string" />
|
|
26
|
+
// </xsd:sequence>
|
|
27
|
+
// <xsd:attribute name="refid" type="xsd:string" />
|
|
28
|
+
// <xsd:attribute name="prot" type="DoxProtectionKind" />
|
|
29
|
+
// <xsd:attribute name="virt" type="DoxVirtualKind" />
|
|
30
|
+
// <xsd:attribute name="ambiguityscope" type="xsd:string" />
|
|
31
|
+
// </xsd:complexType>
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Abstract base class for member reference data models within documentation.
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
* Represents comprehensive references to class or namespace members as
|
|
38
|
+
* parsed from Doxygen XML elements. This class processes memberRefType
|
|
39
|
+
* schema definitions which contain scope information, member names, and
|
|
40
|
+
* essential attributes required for cross-referencing and link generation
|
|
41
|
+
* within the documentation system.
|
|
42
|
+
*
|
|
43
|
+
* The implementation handles the complete set of member reference metadata
|
|
44
|
+
* including qualified scope identification, protection levels, virtual
|
|
45
|
+
* inheritance characteristics, and ambiguity resolution information.
|
|
46
|
+
* This enables accurate cross-reference generation and navigation between
|
|
47
|
+
* different parts of the documentation.
|
|
48
|
+
*
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export abstract class AbstractMemberRefType extends AbstractDataModelBase {
|
|
52
|
+
/**
|
|
53
|
+
* The containing scope for the referenced member element.
|
|
54
|
+
*
|
|
55
|
+
* @remarks
|
|
56
|
+
* Specifies the namespace, class, or other containing context that
|
|
57
|
+
* houses the referenced member. This scope information provides the
|
|
58
|
+
* qualified context necessary for proper member identification and
|
|
59
|
+
* disambiguation within the documentation hierarchy.
|
|
60
|
+
*
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
scope = ''
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* The identifier name of the referenced member element.
|
|
67
|
+
*
|
|
68
|
+
* @remarks
|
|
69
|
+
* Contains the simple identifier name for the member being referenced,
|
|
70
|
+
* which serves as the primary display name and is used for link
|
|
71
|
+
* generation within the documentation system. This name is used in
|
|
72
|
+
* conjunction with the scope to provide complete member identification.
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
name = ''
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* The unique reference identifier for cross-referencing the member.
|
|
80
|
+
*
|
|
81
|
+
* @remarks
|
|
82
|
+
* Contains the Doxygen-generated unique identifier used for creating
|
|
83
|
+
* precise cross-references and hyperlinks to the member documentation.
|
|
84
|
+
* This identifier ensures unambiguous linking between documentation
|
|
85
|
+
* elements and enables accurate navigation within the generated
|
|
86
|
+
* documentation system.
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
refid = ''
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* The protection level classification of the referenced member.
|
|
94
|
+
*
|
|
95
|
+
* @remarks
|
|
96
|
+
* Specifies the access protection level such as 'public', 'private',
|
|
97
|
+
* or 'protected' based on Doxygen's DoxProtectionKind enumeration.
|
|
98
|
+
* This information determines the member's visibility and accessibility
|
|
99
|
+
* within its containing scope and affects documentation presentation.
|
|
100
|
+
*
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
prot = ''
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* The virtual inheritance classification of the referenced member.
|
|
107
|
+
*
|
|
108
|
+
* @remarks
|
|
109
|
+
* Indicates the virtual nature such as 'virtual', 'pure-virtual',
|
|
110
|
+
* or 'non-virtual' based on Doxygen's DoxVirtualKind enumeration.
|
|
111
|
+
* This classification is essential for understanding inheritance
|
|
112
|
+
* relationships and member override behaviour within class hierarchies.
|
|
113
|
+
*
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
virt = ''
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* The ambiguity resolution scope for member reference disambiguation.
|
|
120
|
+
*
|
|
121
|
+
* @remarks
|
|
122
|
+
* Provides optional scope information used to resolve ambiguous member
|
|
123
|
+
* references when multiple members with identical names exist within
|
|
124
|
+
* the documentation context. This field assists in ensuring accurate
|
|
125
|
+
* member identification when name conflicts occur.
|
|
126
|
+
*
|
|
127
|
+
* Note that this deviates from the XML Schema definition where it is
|
|
128
|
+
* marked as required, but in practice may be undefined for certain
|
|
129
|
+
* member references.
|
|
130
|
+
*
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
ambiguityscope?: string | undefined
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Constructs a new member reference data model from XML element data.
|
|
137
|
+
*
|
|
138
|
+
* @param xml - The XML parser instance for processing element data
|
|
139
|
+
* @param element - The XML element containing member reference information
|
|
140
|
+
* @param elementName - The name of the XML element being processed
|
|
141
|
+
*
|
|
142
|
+
* @remarks
|
|
143
|
+
* Processes the XML element representing member reference information
|
|
144
|
+
* and extracts scope identification, member names, and reference
|
|
145
|
+
* attributes required for cross-referencing functionality. The
|
|
146
|
+
* constructor validates mandatory elements and attributes whilst
|
|
147
|
+
* gracefully handling optional ambiguity scope information.
|
|
148
|
+
*
|
|
149
|
+
* The implementation ensures that essential reference data (scope, name,
|
|
150
|
+
* refid, protection, virtual kind) is properly extracted and validated
|
|
151
|
+
* according to the memberRefType schema requirements.
|
|
152
|
+
*
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
constructor(xml: DoxygenXmlParser, element: object, elementName: string) {
|
|
156
|
+
super(elementName)
|
|
157
|
+
|
|
158
|
+
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
159
|
+
|
|
160
|
+
// ------------------------------------------------------------------------
|
|
161
|
+
// Process elements.
|
|
162
|
+
|
|
163
|
+
const innerElements = xml.getInnerElements(element, elementName)
|
|
164
|
+
assert(innerElements.length > 0)
|
|
165
|
+
|
|
166
|
+
for (const innerElement of innerElements) {
|
|
167
|
+
if (xml.hasInnerText(innerElement)) {
|
|
168
|
+
// Ignore texts.
|
|
169
|
+
} else if (xml.isInnerElementText(innerElement, 'scope')) {
|
|
170
|
+
this.scope = xml.getInnerElementText(innerElement, 'scope')
|
|
171
|
+
} else if (xml.isInnerElementText(innerElement, 'name')) {
|
|
172
|
+
this.name = xml.getInnerElementText(innerElement, 'name')
|
|
173
|
+
} else {
|
|
174
|
+
console.error(util.inspect(innerElement))
|
|
175
|
+
console.error(
|
|
176
|
+
`${elementName} element:`,
|
|
177
|
+
Object.keys(innerElement),
|
|
178
|
+
'not implemented yet in',
|
|
179
|
+
this.constructor.name
|
|
180
|
+
)
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
assert(this.scope.length > 0)
|
|
185
|
+
assert(this.name.length > 0)
|
|
186
|
+
|
|
187
|
+
// ------------------------------------------------------------------------
|
|
188
|
+
// Process attributes.
|
|
189
|
+
|
|
190
|
+
assert(xml.hasAttributes(element))
|
|
191
|
+
|
|
192
|
+
const attributesNames = xml.getAttributesNames(element)
|
|
193
|
+
for (const attributeName of attributesNames) {
|
|
194
|
+
if (attributeName === '@_refid') {
|
|
195
|
+
this.refid = xml.getAttributeStringValue(element, '@_refid')
|
|
196
|
+
} else if (attributeName === '@_prot') {
|
|
197
|
+
this.prot = xml.getAttributeStringValue(element, '@_prot')
|
|
198
|
+
} else if (attributeName === '@_virt') {
|
|
199
|
+
this.virt = xml.getAttributeStringValue(element, '@_virt')
|
|
200
|
+
} else if (attributeName === '@_ambiguityscope') {
|
|
201
|
+
this.ambiguityscope = xml.getAttributeStringValue(
|
|
202
|
+
element,
|
|
203
|
+
'@_ambiguityscope'
|
|
204
|
+
)
|
|
205
|
+
} else {
|
|
206
|
+
console.error(util.inspect(element, { compact: false, depth: 999 }))
|
|
207
|
+
console.error(
|
|
208
|
+
`${elementName} attribute:`,
|
|
209
|
+
attributeName,
|
|
210
|
+
'not implemented yet in',
|
|
211
|
+
this.constructor.name
|
|
212
|
+
)
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
assert(this.refid.length > 0)
|
|
217
|
+
assert(this.prot.length > 0)
|
|
218
|
+
assert(this.virt.length > 0)
|
|
219
|
+
// assert(this.ambiguityscope)
|
|
220
|
+
|
|
221
|
+
// ------------------------------------------------------------------------
|
|
222
|
+
|
|
223
|
+
// console.log(util.inspect(this, { compact: false, depth: 999 }))
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
// ----------------------------------------------------------------------------
|
|
228
|
+
|
|
229
|
+
// <xsd:element name="member" type="memberRefType" minOccurs="0" maxOccurs="unbounded" />
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Concrete implementation for member reference elements within documentation.
|
|
233
|
+
*
|
|
234
|
+
* @remarks
|
|
235
|
+
* Provides specific handling for member XML elements that contain
|
|
236
|
+
* comprehensive member reference information within class and compound
|
|
237
|
+
* documentation. This implementation extends the abstract base class
|
|
238
|
+
* functionality to process member references with the specific element
|
|
239
|
+
* name 'member'.
|
|
240
|
+
*
|
|
241
|
+
* The class ensures proper instantiation of member reference data models
|
|
242
|
+
* whilst maintaining all the cross-referencing metadata required for
|
|
243
|
+
* accurate documentation linking and navigation between related members
|
|
244
|
+
* within the documentation system.
|
|
245
|
+
*
|
|
246
|
+
* @public
|
|
247
|
+
*/
|
|
248
|
+
export class MemberRefDataModel extends AbstractMemberRefType {
|
|
249
|
+
/**
|
|
250
|
+
* Constructs a new member reference data model instance.
|
|
251
|
+
*
|
|
252
|
+
* @param xml - The XML parser instance for processing elements
|
|
253
|
+
* @param element - The source XML element containing member reference data
|
|
254
|
+
*
|
|
255
|
+
* @remarks
|
|
256
|
+
* Initialises the data model with the specific element name 'member'
|
|
257
|
+
* and delegates processing to the abstract base class implementation.
|
|
258
|
+
* This ensures consistent handling of member reference information
|
|
259
|
+
* whilst maintaining proper element identification for cross-referencing
|
|
260
|
+
* functionality.
|
|
261
|
+
*
|
|
262
|
+
* @public
|
|
263
|
+
*/
|
|
264
|
+
constructor(xml: DoxygenXmlParser, element: object) {
|
|
265
|
+
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
266
|
+
super(xml, element, 'member')
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
// ----------------------------------------------------------------------------
|
|
@@ -0,0 +1,239 @@
|
|
|
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
|
+
import { DoxygenXmlParser } from '../doxygen-xml-parser.js'
|
|
17
|
+
import { AbstractMemberBaseType } from './memberdeftype-dm.js'
|
|
18
|
+
|
|
19
|
+
// ----------------------------------------------------------------------------
|
|
20
|
+
|
|
21
|
+
// <xsd:complexType name="MemberType">
|
|
22
|
+
// <xsd:sequence>
|
|
23
|
+
// <xsd:element name="name" type="xsd:string"/> // WARNING name may be empty
|
|
24
|
+
// </xsd:sequence>
|
|
25
|
+
// <xsd:attribute name="refid" type="xsd:string" use="required"/>
|
|
26
|
+
// <xsd:attribute name="kind" type="MemberKind" use="required"/>
|
|
27
|
+
// </xsd:complexType>
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Abstract base class for member type data models within documentation.
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* Represents member elements as defined by the MemberType XML Schema,
|
|
34
|
+
* providing fundamental member identification and classification
|
|
35
|
+
* functionality. This class extends AbstractMemberBaseType to handle
|
|
36
|
+
* the specific requirements of member elements that contain simplified
|
|
37
|
+
* member information with reference identifiers.
|
|
38
|
+
*
|
|
39
|
+
* The implementation processes member elements that primarily serve as
|
|
40
|
+
* lightweight references to more detailed member definitions, maintaining
|
|
41
|
+
* essential identification data including names, reference identifiers,
|
|
42
|
+
* and member kind classifications for cross-referencing purposes.
|
|
43
|
+
*
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export abstract class AbstractMemberType extends AbstractMemberBaseType {
|
|
47
|
+
/**
|
|
48
|
+
* The unique reference identifier for the member element.
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
* Contains the Doxygen-generated unique identifier used for creating
|
|
52
|
+
* cross-references and hyperlinks to the detailed member definition.
|
|
53
|
+
* This identifier serves as the primary mechanism for linking between
|
|
54
|
+
* member references and their corresponding comprehensive definitions
|
|
55
|
+
* within the documentation system.
|
|
56
|
+
*
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
refid = ''
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Constructs a new member type data model from XML element data.
|
|
63
|
+
*
|
|
64
|
+
* @param xml - The XML parser instance for processing element data
|
|
65
|
+
* @param element - The XML element containing member type information
|
|
66
|
+
* @param elementName - The name of the XML element being processed
|
|
67
|
+
*
|
|
68
|
+
* @remarks
|
|
69
|
+
* Processes the XML element representing simplified member information
|
|
70
|
+
* and extracts the essential identification data including name and
|
|
71
|
+
* reference identifier. The constructor handles the MemberType schema
|
|
72
|
+
* requirements whilst accommodating the practical deviation where
|
|
73
|
+
* member names may be empty in certain contexts.
|
|
74
|
+
*
|
|
75
|
+
* The implementation validates mandatory attributes (refid, kind) and
|
|
76
|
+
* ensures proper element structure according to the XML Schema
|
|
77
|
+
* definition for MemberType elements.
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
constructor(xml: DoxygenXmlParser, element: object, elementName: string) {
|
|
82
|
+
super(elementName)
|
|
83
|
+
|
|
84
|
+
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
85
|
+
|
|
86
|
+
// ------------------------------------------------------------------------
|
|
87
|
+
// Process elements.
|
|
88
|
+
|
|
89
|
+
const innerElements = xml.getInnerElements(element, elementName)
|
|
90
|
+
assert(innerElements.length > 0)
|
|
91
|
+
|
|
92
|
+
for (const innerElement of innerElements) {
|
|
93
|
+
if (xml.hasInnerText(innerElement)) {
|
|
94
|
+
// Ignore texts.
|
|
95
|
+
} else if (xml.isInnerElementText(innerElement, 'name')) {
|
|
96
|
+
this.name = xml.getInnerElementText(innerElement, 'name')
|
|
97
|
+
} else {
|
|
98
|
+
console.error(util.inspect(innerElement))
|
|
99
|
+
console.error(
|
|
100
|
+
`${elementName} element:`,
|
|
101
|
+
Object.keys(innerElement),
|
|
102
|
+
'not implemented yet in',
|
|
103
|
+
this.constructor.name
|
|
104
|
+
)
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// In practice it may be empty.
|
|
109
|
+
// assert(this.name.length > 0)
|
|
110
|
+
|
|
111
|
+
// ------------------------------------------------------------------------
|
|
112
|
+
// Process attributes.
|
|
113
|
+
|
|
114
|
+
assert(xml.hasAttributes(element))
|
|
115
|
+
|
|
116
|
+
const attributesNames = xml.getAttributesNames(element)
|
|
117
|
+
for (const attributeName of attributesNames) {
|
|
118
|
+
if (attributeName === '@_refid') {
|
|
119
|
+
this.refid = xml.getAttributeStringValue(element, '@_refid')
|
|
120
|
+
} else if (attributeName === '@_kind') {
|
|
121
|
+
this.kind = xml.getAttributeStringValue(element, '@_kind')
|
|
122
|
+
} else {
|
|
123
|
+
console.error(util.inspect(element, { compact: false, depth: 999 }))
|
|
124
|
+
console.error(
|
|
125
|
+
`${elementName} attribute:`,
|
|
126
|
+
attributeName,
|
|
127
|
+
'not implemented yet in',
|
|
128
|
+
this.constructor.name
|
|
129
|
+
)
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
assert(this.refid.length > 0)
|
|
134
|
+
assert(this.kind.length > 0)
|
|
135
|
+
|
|
136
|
+
// ------------------------------------------------------------------------
|
|
137
|
+
|
|
138
|
+
// console.log(util.inspect(this, { compact: false, depth: 999 }))
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
// ----------------------------------------------------------------------------
|
|
143
|
+
|
|
144
|
+
// <xsd:simpleType name="MemberKind">
|
|
145
|
+
// <xsd:restriction base="xsd:string">
|
|
146
|
+
// <xsd:enumeration value="define"/>
|
|
147
|
+
// <xsd:enumeration value="property"/>
|
|
148
|
+
// <xsd:enumeration value="event"/>
|
|
149
|
+
// <xsd:enumeration value="variable"/>
|
|
150
|
+
// <xsd:enumeration value="typedef"/>
|
|
151
|
+
// <xsd:enumeration value="enum"/>
|
|
152
|
+
// <xsd:enumeration value="enumvalue"/>
|
|
153
|
+
// <xsd:enumeration value="function"/>
|
|
154
|
+
// <xsd:enumeration value="signal"/>
|
|
155
|
+
// <xsd:enumeration value="prototype"/>
|
|
156
|
+
// <xsd:enumeration value="friend"/>
|
|
157
|
+
// <xsd:enumeration value="dcop"/>
|
|
158
|
+
// <xsd:enumeration value="slot"/>
|
|
159
|
+
// </xsd:restriction>
|
|
160
|
+
// </xsd:simpleType>
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Union type representing member kind classifications within Doxygen
|
|
164
|
+
* documentation.
|
|
165
|
+
*
|
|
166
|
+
* @remarks
|
|
167
|
+
* Defines the complete set of member types that can be classified within
|
|
168
|
+
* the MemberKind enumeration, covering fundamental programming constructs
|
|
169
|
+
* and framework-specific elements. This enumeration provides a focused
|
|
170
|
+
* subset of member classifications used specifically for member element
|
|
171
|
+
* identification and categorisation.
|
|
172
|
+
*
|
|
173
|
+
* The enumeration encompasses traditional programming elements (functions,
|
|
174
|
+
* variables, typedefs, enums), preprocessor constructs (defines), modern
|
|
175
|
+
* language features (properties, events), and specialised framework
|
|
176
|
+
* constructs including Qt-specific elements (signals, slots) and legacy
|
|
177
|
+
* communication mechanisms (dcop).
|
|
178
|
+
*
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
181
|
+
export type MemberKind =
|
|
182
|
+
| 'define'
|
|
183
|
+
| 'property'
|
|
184
|
+
| 'event'
|
|
185
|
+
| 'variable'
|
|
186
|
+
| 'typedef'
|
|
187
|
+
| 'enum'
|
|
188
|
+
| 'function'
|
|
189
|
+
| 'signal'
|
|
190
|
+
| 'prototype'
|
|
191
|
+
| 'friend'
|
|
192
|
+
| 'dcop'
|
|
193
|
+
| 'slot'
|
|
194
|
+
|
|
195
|
+
// ----------------------------------------------------------------------------
|
|
196
|
+
|
|
197
|
+
// <xsd:element name="member" type="MemberType" minOccurs="0" maxOccurs="unbounded" />
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Concrete implementation for member elements within documentation.
|
|
201
|
+
*
|
|
202
|
+
* @remarks
|
|
203
|
+
* Provides specific handling for member XML elements that contain
|
|
204
|
+
* simplified member information within various documentation contexts.
|
|
205
|
+
* This implementation extends the abstract base class functionality
|
|
206
|
+
* to process member elements with the specific element name 'member'.
|
|
207
|
+
*
|
|
208
|
+
* The class represents lightweight member references that serve as
|
|
209
|
+
* cross-reference points to more detailed member definitions, maintaining
|
|
210
|
+
* essential identification data whilst enabling efficient navigation
|
|
211
|
+
* within the documentation system. These elements are commonly used
|
|
212
|
+
* in member lists and summary sections where full member details
|
|
213
|
+
* are not required.
|
|
214
|
+
*
|
|
215
|
+
* @public
|
|
216
|
+
*/
|
|
217
|
+
export class MemberDataModel extends AbstractMemberType {
|
|
218
|
+
/**
|
|
219
|
+
* Constructs a new member data model instance.
|
|
220
|
+
*
|
|
221
|
+
* @param xml - The XML parser instance for processing elements
|
|
222
|
+
* @param element - The source XML element containing member data
|
|
223
|
+
*
|
|
224
|
+
* @remarks
|
|
225
|
+
* Initialises the data model with the specific element name 'member'
|
|
226
|
+
* and delegates processing to the abstract base class implementation.
|
|
227
|
+
* This ensures consistent handling of simplified member information
|
|
228
|
+
* whilst maintaining proper element identification for cross-referencing
|
|
229
|
+
* and navigation functionality.
|
|
230
|
+
*
|
|
231
|
+
* @public
|
|
232
|
+
*/
|
|
233
|
+
constructor(xml: DoxygenXmlParser, element: object) {
|
|
234
|
+
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
235
|
+
super(xml, element, 'member')
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
// ----------------------------------------------------------------------------
|