@xpack/doxygen2docusaurus 2.0.0 → 2.2.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 +3 -1
- package/bin/doxygen2docusaurus.js +5 -5
- package/dist/cli/main.d.ts +0 -14
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +0 -34
- package/dist/cli/main.js.map +1 -1
- package/dist/docusaurus/cli-options.d.ts +3 -292
- package/dist/docusaurus/cli-options.d.ts.map +1 -1
- package/dist/docusaurus/cli-options.js +6 -290
- package/dist/docusaurus/cli-options.js.map +1 -1
- package/dist/docusaurus/generator.d.ts +0 -172
- package/dist/docusaurus/generator.d.ts.map +1 -1
- package/dist/docusaurus/generator.js +20 -280
- package/dist/docusaurus/generator.js.map +1 -1
- package/dist/docusaurus/renderers/conceptparts.d.ts +9 -0
- package/dist/docusaurus/renderers/conceptparts.d.ts.map +1 -0
- package/dist/docusaurus/renderers/conceptparts.js +21 -0
- package/dist/docusaurus/renderers/conceptparts.js.map +1 -0
- package/dist/docusaurus/renderers/descriptiontype.d.ts +0 -417
- package/dist/docusaurus/renderers/descriptiontype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/descriptiontype.js +11 -555
- package/dist/docusaurus/renderers/descriptiontype.js.map +1 -1
- package/dist/docusaurus/renderers/docinternalstype.d.ts +0 -132
- package/dist/docusaurus/renderers/docinternalstype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/docinternalstype.js +0 -156
- package/dist/docusaurus/renderers/docinternalstype.js.map +1 -1
- package/dist/docusaurus/renderers/doclisttype.d.ts +0 -22
- package/dist/docusaurus/renderers/doclisttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/doclisttype.js +0 -42
- package/dist/docusaurus/renderers/doclisttype.js.map +1 -1
- package/dist/docusaurus/renderers/doctabletype.d.ts +0 -88
- package/dist/docusaurus/renderers/doctabletype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/doctabletype.js +1 -113
- package/dist/docusaurus/renderers/doctabletype.js.map +1 -1
- package/dist/docusaurus/renderers/doctitletype.d.ts +0 -22
- package/dist/docusaurus/renderers/doctitletype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/doctitletype.js +0 -42
- package/dist/docusaurus/renderers/doctitletype.js.map +1 -1
- package/dist/docusaurus/renderers/docvariablelisttype.d.ts +0 -44
- package/dist/docusaurus/renderers/docvariablelisttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/docvariablelisttype.js +1 -69
- package/dist/docusaurus/renderers/docvariablelisttype.js.map +1 -1
- package/dist/docusaurus/renderers/docxrefsecttype.d.ts +0 -22
- package/dist/docusaurus/renderers/docxrefsecttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/docxrefsecttype.js +0 -38
- package/dist/docusaurus/renderers/docxrefsecttype.js.map +1 -1
- package/dist/docusaurus/renderers/element-renderer-base.d.ts +0 -74
- package/dist/docusaurus/renderers/element-renderer-base.d.ts.map +1 -1
- package/dist/docusaurus/renderers/element-renderer-base.js +0 -64
- package/dist/docusaurus/renderers/element-renderer-base.js.map +1 -1
- package/dist/docusaurus/renderers/inctype.d.ts +0 -23
- package/dist/docusaurus/renderers/inctype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/inctype.js +0 -41
- package/dist/docusaurus/renderers/inctype.js.map +1 -1
- package/dist/docusaurus/renderers/linkedtexttype.d.ts +0 -22
- package/dist/docusaurus/renderers/linkedtexttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/linkedtexttype.js +0 -45
- package/dist/docusaurus/renderers/linkedtexttype.js.map +1 -1
- package/dist/docusaurus/renderers/listingtype.d.ts +0 -52
- package/dist/docusaurus/renderers/listingtype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/listingtype.js +1 -88
- package/dist/docusaurus/renderers/listingtype.js.map +1 -1
- package/dist/docusaurus/renderers/paramtype.d.ts +0 -22
- package/dist/docusaurus/renderers/paramtype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/paramtype.js +2 -51
- package/dist/docusaurus/renderers/paramtype.js.map +1 -1
- package/dist/docusaurus/renderers/referencetype.d.ts +0 -23
- package/dist/docusaurus/renderers/referencetype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/referencetype.js +0 -38
- package/dist/docusaurus/renderers/referencetype.js.map +1 -1
- package/dist/docusaurus/renderers/reftexttype.d.ts +0 -22
- package/dist/docusaurus/renderers/reftexttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/reftexttype.js +0 -38
- package/dist/docusaurus/renderers/reftexttype.js.map +1 -1
- package/dist/docusaurus/renderers/reftype.d.ts +0 -22
- package/dist/docusaurus/renderers/reftype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/reftype.js +0 -38
- package/dist/docusaurus/renderers/reftype.js.map +1 -1
- package/dist/docusaurus/renderers/renderers.d.ts +0 -151
- package/dist/docusaurus/renderers/renderers.d.ts.map +1 -1
- package/dist/docusaurus/renderers/renderers.js +15 -186
- package/dist/docusaurus/renderers/renderers.js.map +1 -1
- package/dist/docusaurus/renderers/substringtype.d.ts +0 -22
- package/dist/docusaurus/renderers/substringtype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/substringtype.js +0 -39
- package/dist/docusaurus/renderers/substringtype.js.map +1 -1
- package/dist/docusaurus/renderers/tableofcontentstype.d.ts +0 -22
- package/dist/docusaurus/renderers/tableofcontentstype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/tableofcontentstype.js +0 -39
- package/dist/docusaurus/renderers/tableofcontentstype.js.map +1 -1
- package/dist/docusaurus/types.d.ts +0 -110
- 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 +0 -214
- package/dist/docusaurus/utils.d.ts.map +1 -1
- package/dist/docusaurus/utils.js +0 -296
- package/dist/docusaurus/utils.js.map +1 -1
- package/dist/docusaurus/view-model/classes-vm.d.ts +0 -137
- package/dist/docusaurus/view-model/classes-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/classes-vm.js +9 -225
- package/dist/docusaurus/view-model/classes-vm.js.map +1 -1
- package/dist/docusaurus/view-model/collection-base.d.ts +0 -120
- package/dist/docusaurus/view-model/collection-base.d.ts.map +1 -1
- package/dist/docusaurus/view-model/collection-base.js +11 -101
- package/dist/docusaurus/view-model/collection-base.js.map +1 -1
- package/dist/docusaurus/view-model/compound-base-vm.d.ts +2 -147
- package/dist/docusaurus/view-model/compound-base-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/compound-base-vm.js +47 -225
- package/dist/docusaurus/view-model/compound-base-vm.js.map +1 -1
- package/dist/docusaurus/view-model/concepts-vm.d.ts +27 -0
- package/dist/docusaurus/view-model/concepts-vm.d.ts.map +1 -0
- package/dist/docusaurus/view-model/concepts-vm.js +337 -0
- package/dist/docusaurus/view-model/concepts-vm.js.map +1 -0
- package/dist/docusaurus/view-model/description-anchors.d.ts +0 -58
- package/dist/docusaurus/view-model/description-anchors.d.ts.map +1 -1
- package/dist/docusaurus/view-model/description-anchors.js +0 -71
- package/dist/docusaurus/view-model/description-anchors.js.map +1 -1
- package/dist/docusaurus/view-model/files-and-folders-vm.d.ts +0 -247
- package/dist/docusaurus/view-model/files-and-folders-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/files-and-folders-vm.js +61 -353
- package/dist/docusaurus/view-model/files-and-folders-vm.js.map +1 -1
- package/dist/docusaurus/view-model/groups-vm.d.ts +0 -148
- package/dist/docusaurus/view-model/groups-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/groups-vm.js +2 -223
- package/dist/docusaurus/view-model/groups-vm.js.map +1 -1
- package/dist/docusaurus/view-model/members-vm.d.ts +0 -552
- package/dist/docusaurus/view-model/members-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/members-vm.js +17 -702
- package/dist/docusaurus/view-model/members-vm.js.map +1 -1
- package/dist/docusaurus/view-model/namespaces-vm.d.ts +5 -199
- package/dist/docusaurus/view-model/namespaces-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/namespaces-vm.js +85 -284
- package/dist/docusaurus/view-model/namespaces-vm.js.map +1 -1
- package/dist/docusaurus/view-model/options.d.ts +0 -43
- package/dist/docusaurus/view-model/options.d.ts.map +1 -1
- package/dist/docusaurus/view-model/options.js +0 -57
- package/dist/docusaurus/view-model/options.js.map +1 -1
- package/dist/docusaurus/view-model/pages-vm.d.ts +0 -115
- package/dist/docusaurus/view-model/pages-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/pages-vm.js +39 -162
- package/dist/docusaurus/view-model/pages-vm.js.map +1 -1
- package/dist/docusaurus/view-model/tree-entries-vm.d.ts +8 -142
- package/dist/docusaurus/view-model/tree-entries-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/tree-entries-vm.js +54 -174
- package/dist/docusaurus/view-model/tree-entries-vm.js.map +1 -1
- package/dist/docusaurus/view-model/view-model.d.ts +0 -125
- package/dist/docusaurus/view-model/view-model.d.ts.map +1 -1
- package/dist/docusaurus/view-model/view-model.js +20 -182
- package/dist/docusaurus/view-model/view-model.js.map +1 -1
- package/dist/docusaurus/workspace.d.ts +1 -126
- package/dist/docusaurus/workspace.d.ts.map +1 -1
- package/dist/docusaurus/workspace.js +8 -221
- package/dist/docusaurus/workspace.js.map +1 -1
- package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts +7 -492
- package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/compounddef-dm.js +28 -672
- package/dist/doxygen/data-model/compounds/compounddef-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/compoundreftype-dm.d.ts +0 -129
- package/dist/doxygen/data-model/compounds/compoundreftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/compoundreftype-dm.js +1 -145
- package/dist/doxygen/data-model/compounds/compoundreftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/concepts-dm.d.ts +23 -0
- package/dist/doxygen/data-model/compounds/concepts-dm.d.ts.map +1 -0
- package/dist/doxygen/data-model/compounds/concepts-dm.js +94 -0
- package/dist/doxygen/data-model/compounds/concepts-dm.js.map +1 -0
- package/dist/doxygen/data-model/compounds/descriptiontype-dm.d.ts +104 -2848
- package/dist/doxygen/data-model/compounds/descriptiontype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/descriptiontype-dm.js +73 -3975
- package/dist/doxygen/data-model/compounds/descriptiontype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.d.ts +0 -165
- package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.js +0 -229
- package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/doxygentype-dm.d.ts +0 -70
- package/dist/doxygen/data-model/compounds/doxygentype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/doxygentype-dm.js +0 -105
- package/dist/doxygen/data-model/compounds/doxygentype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/enumvaluetype-dm.d.ts +0 -84
- package/dist/doxygen/data-model/compounds/enumvaluetype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/enumvaluetype-dm.js +1 -122
- package/dist/doxygen/data-model/compounds/enumvaluetype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/inctype-dm.d.ts +0 -116
- package/dist/doxygen/data-model/compounds/inctype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/inctype-dm.js +3 -155
- package/dist/doxygen/data-model/compounds/inctype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/linkedtexttype-dm.d.ts +3 -138
- package/dist/doxygen/data-model/compounds/linkedtexttype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/linkedtexttype-dm.js +5 -180
- package/dist/doxygen/data-model/compounds/linkedtexttype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.d.ts +0 -76
- package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.js +0 -107
- package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/locationtype-dm.d.ts +0 -162
- package/dist/doxygen/data-model/compounds/locationtype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/locationtype-dm.js +4 -203
- package/dist/doxygen/data-model/compounds/locationtype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/memberdeftype-dm.d.ts +2 -443
- package/dist/doxygen/data-model/compounds/memberdeftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/memberdeftype-dm.js +19 -475
- package/dist/doxygen/data-model/compounds/memberdeftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/memberreftype-dm.d.ts +0 -141
- package/dist/doxygen/data-model/compounds/memberreftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/memberreftype-dm.js +0 -176
- package/dist/doxygen/data-model/compounds/memberreftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/membertype-dm.d.ts +0 -101
- package/dist/doxygen/data-model/compounds/membertype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/membertype-dm.js +0 -115
- package/dist/doxygen/data-model/compounds/membertype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/paramtype-dm.d.ts +0 -164
- package/dist/doxygen/data-model/compounds/paramtype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/paramtype-dm.js +0 -208
- package/dist/doxygen/data-model/compounds/paramtype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/referencetype-dm.d.ts +0 -139
- package/dist/doxygen/data-model/compounds/referencetype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/referencetype-dm.js +2 -175
- package/dist/doxygen/data-model/compounds/referencetype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/reftexttype-dm.d.ts +0 -120
- package/dist/doxygen/data-model/compounds/reftexttype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/reftexttype-dm.js +2 -141
- package/dist/doxygen/data-model/compounds/reftexttype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/reftype-dm.d.ts +0 -268
- package/dist/doxygen/data-model/compounds/reftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/reftype-dm.js +4 -326
- package/dist/doxygen/data-model/compounds/reftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/reimplementtype-dm.d.ts +0 -105
- package/dist/doxygen/data-model/compounds/reimplementtype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/reimplementtype-dm.js +1 -139
- package/dist/doxygen/data-model/compounds/reimplementtype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/requirements-dm.d.ts +2 -0
- package/dist/doxygen/data-model/compounds/requirements-dm.d.ts.map +1 -0
- package/dist/doxygen/data-model/compounds/requirements-dm.js +2 -0
- package/dist/doxygen/data-model/compounds/requirements-dm.js.map +1 -0
- package/dist/doxygen/data-model/compounds/sectiondeftype-dm.d.ts +0 -168
- package/dist/doxygen/data-model/compounds/sectiondeftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/sectiondeftype-dm.js +0 -209
- package/dist/doxygen/data-model/compounds/sectiondeftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.d.ts +0 -267
- package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.js +0 -354
- package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.d.ts +0 -66
- package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.js +0 -97
- package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.js.map +1 -1
- package/dist/doxygen/data-model/data-model.d.ts +0 -149
- package/dist/doxygen/data-model/data-model.d.ts.map +1 -1
- package/dist/doxygen/data-model/data-model.js +8 -200
- package/dist/doxygen/data-model/data-model.js.map +1 -1
- package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.d.ts +0 -115
- package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.js +4 -129
- package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.js.map +1 -1
- package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.d.ts +0 -87
- package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.js +0 -118
- package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.js.map +1 -1
- package/dist/doxygen/data-model/doxygen-xml-parser.d.ts +0 -253
- package/dist/doxygen/data-model/doxygen-xml-parser.d.ts.map +1 -1
- package/dist/doxygen/data-model/doxygen-xml-parser.js +0 -291
- package/dist/doxygen/data-model/doxygen-xml-parser.js.map +1 -1
- package/dist/doxygen/data-model/index/indexcompoundtype-dm.d.ts +0 -98
- package/dist/doxygen/data-model/index/indexcompoundtype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/index/indexcompoundtype-dm.js +2 -122
- package/dist/doxygen/data-model/index/indexcompoundtype-dm.js.map +1 -1
- package/dist/doxygen/data-model/index/indexdoxygentype-dm.d.ts +0 -82
- package/dist/doxygen/data-model/index/indexdoxygentype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/index/indexdoxygentype-dm.js +0 -114
- package/dist/doxygen/data-model/index/indexdoxygentype-dm.js.map +1 -1
- package/dist/doxygen/data-model/index/indexmembertype-dm.d.ts +0 -85
- package/dist/doxygen/data-model/index/indexmembertype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/index/indexmembertype-dm.js +1 -107
- package/dist/doxygen/data-model/index/indexmembertype-dm.js.map +1 -1
- package/dist/doxygen/data-model/types.d.ts +0 -104
- package/dist/doxygen/data-model/types.d.ts.map +1 -1
- package/dist/doxygen/data-model/types.js +0 -52
- package/dist/doxygen/data-model/types.js.map +1 -1
- package/dist/index.d.ts +5 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -42
- package/dist/index.js.map +1 -1
- package/package.json +49 -52
- 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/conceptparts.ts +119 -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 +812 -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 +749 -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 +1037 -0
- package/src/docusaurus/view-model/options.ts +95 -0
- package/src/docusaurus/view-model/pages-vm.ts +389 -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 +1230 -0
- package/src/doxygen/data-model/compounds/compoundreftype-dm.ts +266 -0
- package/src/doxygen/data-model/compounds/concepts-dm.ts +362 -0
- package/src/doxygen/data-model/compounds/descriptiontype-dm.ts +10114 -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 +881 -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/requirements-dm.ts +50 -0
- package/src/doxygen/data-model/compounds/sectiondeftype-dm.ts +330 -0
- package/src/doxygen/data-model/compounds/tableofcontentstype-dm.ts +564 -0
- package/src/doxygen/data-model/compounds/templateparamlisttype-dm.ts +150 -0
- package/src/doxygen/data-model/data-model.ts +378 -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 +1788 -0
- package/src/doxygen/data-model/xsds/doxyfile.xsd +365 -0
- package/src/doxygen/data-model/xsds/index.xsd +74 -0
- package/src/doxygen/data-model/xsds/xml.xsd +23 -0
- package/src/index.ts +267 -0
- package/src/tsconfig.json +12 -0
- package/dist/doxygen2docusaurus.d.ts +0 -4774
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/tsdoc-metadata.json +0 -11
|
@@ -0,0 +1,288 @@
|
|
|
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 for any
|
|
6
|
+
* 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 be
|
|
9
|
+
* 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 { RefTextDataModel } from './reftexttype-dm.js'
|
|
19
|
+
import { AbstractDataModelBase } from '../types.js'
|
|
20
|
+
|
|
21
|
+
// ----------------------------------------------------------------------------
|
|
22
|
+
|
|
23
|
+
// <xsd:complexType name="linkedTextType" mixed="true"> <-- Character data is allowed to appear between the child elements!
|
|
24
|
+
// <xsd:sequence>
|
|
25
|
+
// <xsd:element name="ref" type="refTextType" minOccurs="0" maxOccurs="unbounded" />
|
|
26
|
+
// </xsd:sequence>
|
|
27
|
+
// </xsd:complexType>
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Abstract base class for linked text elements within documentation content.
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* Implements processing for linked text elements that contain mixed content
|
|
34
|
+
* including both textual content and reference elements. This class handles
|
|
35
|
+
* the XML Schema definition for linkedTextType elements, which support
|
|
36
|
+
* character data interspersed with reference elements that provide
|
|
37
|
+
* cross-linking capabilities within documentation structures.
|
|
38
|
+
*
|
|
39
|
+
* The implementation processes sequences of text strings and RefTextDataModel
|
|
40
|
+
* instances, maintaining their original order to preserve the intended
|
|
41
|
+
* content flow whilst enabling interactive cross-references within the
|
|
42
|
+
* generated documentation.
|
|
43
|
+
*
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export abstract class AbstractLinkedTextType extends AbstractDataModelBase {
|
|
47
|
+
/**
|
|
48
|
+
* Constructs an AbstractLinkedTextType instance from XML element data.
|
|
49
|
+
*
|
|
50
|
+
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
51
|
+
* @param element - The XML element object containing the linked text data
|
|
52
|
+
* @param elementName - The name of the XML element being processed
|
|
53
|
+
*
|
|
54
|
+
* @remarks
|
|
55
|
+
* This constructor processes linked text elements by extracting both
|
|
56
|
+
* textual content and reference elements in their original order. The
|
|
57
|
+
* parser maintains the mixed content structure whilst creating appropriate
|
|
58
|
+
* RefTextDataModel instances for cross-reference elements, ensuring
|
|
59
|
+
* proper content flow and interactive linking capabilities within the
|
|
60
|
+
* documentation system.
|
|
61
|
+
*/
|
|
62
|
+
// Any sequence of them.
|
|
63
|
+
// children: Array<string | AbstractRefTextType> = []
|
|
64
|
+
|
|
65
|
+
constructor(xml: DoxygenXmlParser, element: object, elementName: string) {
|
|
66
|
+
super(elementName)
|
|
67
|
+
|
|
68
|
+
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
69
|
+
|
|
70
|
+
// ------------------------------------------------------------------------
|
|
71
|
+
// Process elements.
|
|
72
|
+
|
|
73
|
+
const innerElements = xml.getInnerElements(element, elementName)
|
|
74
|
+
|
|
75
|
+
this.children = []
|
|
76
|
+
|
|
77
|
+
for (const innerElement of innerElements) {
|
|
78
|
+
if (xml.hasInnerText(innerElement)) {
|
|
79
|
+
this.children.push(xml.getInnerText(innerElement))
|
|
80
|
+
} else if (xml.hasInnerElement(innerElement, 'ref')) {
|
|
81
|
+
this.children.push(new RefTextDataModel(xml, innerElement))
|
|
82
|
+
} else {
|
|
83
|
+
console.error(util.inspect(innerElement))
|
|
84
|
+
console.error(
|
|
85
|
+
`${elementName} element:`,
|
|
86
|
+
Object.keys(innerElement),
|
|
87
|
+
'not implemented yet in',
|
|
88
|
+
this.constructor.name
|
|
89
|
+
)
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// ------------------------------------------------------------------------
|
|
94
|
+
// Process attributes.
|
|
95
|
+
|
|
96
|
+
assert(!xml.hasAttributes(element))
|
|
97
|
+
|
|
98
|
+
// ------------------------------------------------------------------------
|
|
99
|
+
|
|
100
|
+
// console.log(util.inspect(this, { compact: false, depth: 999 }))
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// ----------------------------------------------------------------------------
|
|
105
|
+
|
|
106
|
+
// <xsd:element name="requiresclause" type="linkedTextType" minOccurs="0" />
|
|
107
|
+
// <xsd:element name="initializer" type="linkedTextType" minOccurs="0" />
|
|
108
|
+
// <xsd:element name="type" type="linkedTextType" minOccurs="0" />
|
|
109
|
+
// <xsd:element name="requiresclause" type="linkedTextType" minOccurs="0" />
|
|
110
|
+
// <xsd:element name="initializer" type="linkedTextType" minOccurs="0" />
|
|
111
|
+
// <xsd:element name="exceptions" type="linkedTextType" minOccurs="0" />
|
|
112
|
+
|
|
113
|
+
// <xsd:element name="initializer" type="linkedTextType" minOccurs="0" />
|
|
114
|
+
|
|
115
|
+
// <xsd:element name="type" type="linkedTextType" minOccurs="0" />
|
|
116
|
+
|
|
117
|
+
// <xsd:element name="defval" type="linkedTextType" minOccurs="0" />
|
|
118
|
+
// <xsd:element name="typeconstraint" type="linkedTextType" minOccurs="0" />
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Data model for initializer elements within documentation content.
|
|
122
|
+
*
|
|
123
|
+
* @remarks
|
|
124
|
+
* Represents initializer elements that contain variable or member
|
|
125
|
+
* initialization expressions within source code documentation. This
|
|
126
|
+
* implementation processes Doxygen's initializer elements, which contain
|
|
127
|
+
* mixed text and reference content describing the initial values assigned
|
|
128
|
+
* to variables, constants, or class members.
|
|
129
|
+
*
|
|
130
|
+
* The linked text structure enables cross-references to types and symbols
|
|
131
|
+
* used within initialization expressions.
|
|
132
|
+
*
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
export class InitializerDataModel extends AbstractLinkedTextType {
|
|
136
|
+
/**
|
|
137
|
+
* Constructs an InitializerDataModel from XML element data.
|
|
138
|
+
*
|
|
139
|
+
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
140
|
+
* @param element - The XML element object containing the initializer data
|
|
141
|
+
*
|
|
142
|
+
* @remarks
|
|
143
|
+
* This constructor delegates to the parent AbstractLinkedTextType to
|
|
144
|
+
* handle linked text processing whilst identifying the element as
|
|
145
|
+
* 'initializer' for proper XML schema compliance and initialization
|
|
146
|
+
* expression content processing.
|
|
147
|
+
*/
|
|
148
|
+
constructor(xml: DoxygenXmlParser, element: object) {
|
|
149
|
+
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
150
|
+
super(xml, element, 'initializer')
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Data model for requires clause elements within documentation content.
|
|
156
|
+
*
|
|
157
|
+
* @remarks
|
|
158
|
+
* Represents requires clause elements that contain C++20 concept constraint
|
|
159
|
+
* expressions within source code documentation. This implementation processes
|
|
160
|
+
* Doxygen's requiresclause elements, which contain mixed text and reference
|
|
161
|
+
* content describing the constraints imposed on template parameters and
|
|
162
|
+
* function arguments via C++20 `requires` clauses.
|
|
163
|
+
*
|
|
164
|
+
* The linked text structure enables cross-references to concepts and related
|
|
165
|
+
* symbols used within requires clause expressions.
|
|
166
|
+
*
|
|
167
|
+
* @public
|
|
168
|
+
*/
|
|
169
|
+
export class RequiresClauseDataModel extends AbstractLinkedTextType {
|
|
170
|
+
/**
|
|
171
|
+
* Constructs a RequiresClauseDataModel from XML element data.
|
|
172
|
+
*
|
|
173
|
+
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
174
|
+
* @param element - The XML element object containing the requires clause data
|
|
175
|
+
*
|
|
176
|
+
* @remarks
|
|
177
|
+
* This constructor delegates to the parent AbstractLinkedTextType to
|
|
178
|
+
* handle linked text processing whilst identifying the element as
|
|
179
|
+
* 'requiresclause' for proper XML schema compliance and constraint
|
|
180
|
+
* expression content processing.
|
|
181
|
+
*/
|
|
182
|
+
constructor(xml: DoxygenXmlParser, element: object) {
|
|
183
|
+
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
184
|
+
super(xml, element, 'requiresclause')
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Data model for type elements within documentation content.
|
|
190
|
+
*
|
|
191
|
+
* @remarks
|
|
192
|
+
* Represents type elements that contain type information and declarations
|
|
193
|
+
* within source code documentation. This implementation processes Doxygen's
|
|
194
|
+
* type elements, which contain mixed text and reference content describing
|
|
195
|
+
* data types, including primitive types, class names, template parameters,
|
|
196
|
+
* and complex type expressions.
|
|
197
|
+
*
|
|
198
|
+
* The linked text structure enables cross-references to type definitions
|
|
199
|
+
* and related documentation within the type expressions.
|
|
200
|
+
*
|
|
201
|
+
* @public
|
|
202
|
+
*/
|
|
203
|
+
export class TypeDataModel extends AbstractLinkedTextType {
|
|
204
|
+
/**
|
|
205
|
+
* Constructs a TypeDataModel from XML element data.
|
|
206
|
+
*
|
|
207
|
+
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
208
|
+
* @param element - The XML element object containing the type data
|
|
209
|
+
*
|
|
210
|
+
* @remarks
|
|
211
|
+
* This constructor delegates to the parent AbstractLinkedTextType to
|
|
212
|
+
* handle linked text processing whilst identifying the element as 'type'
|
|
213
|
+
* for proper XML schema compliance and type information content processing.
|
|
214
|
+
*/
|
|
215
|
+
constructor(xml: DoxygenXmlParser, element: object) {
|
|
216
|
+
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
217
|
+
super(xml, element, 'type')
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Data model for default value elements within documentation content.
|
|
223
|
+
*
|
|
224
|
+
* @remarks
|
|
225
|
+
* Represents default value elements that contain parameter default values
|
|
226
|
+
* within function and method documentation. This implementation processes
|
|
227
|
+
* Doxygen's defval elements, which contain mixed text and reference content
|
|
228
|
+
* describing the default values assigned to function parameters when no
|
|
229
|
+
* explicit value is provided during function calls.
|
|
230
|
+
*
|
|
231
|
+
* The linked text structure enables cross-references to constants, enums,
|
|
232
|
+
* and other symbols used within default value expressions.
|
|
233
|
+
*
|
|
234
|
+
* @public
|
|
235
|
+
*/
|
|
236
|
+
export class DefValDataModel extends AbstractLinkedTextType {
|
|
237
|
+
/**
|
|
238
|
+
* Constructs a DefValDataModel from XML element data.
|
|
239
|
+
*
|
|
240
|
+
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
241
|
+
* @param element - The XML element object containing the default value data
|
|
242
|
+
*
|
|
243
|
+
* @remarks
|
|
244
|
+
* This constructor delegates to the parent AbstractLinkedTextType to
|
|
245
|
+
* handle linked text processing whilst identifying the element as 'defval'
|
|
246
|
+
* for proper XML schema compliance and default value content processing.
|
|
247
|
+
*/
|
|
248
|
+
constructor(xml: DoxygenXmlParser, element: object) {
|
|
249
|
+
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
250
|
+
super(xml, element, 'defval')
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Data model for type constraint elements within documentation content.
|
|
256
|
+
*
|
|
257
|
+
* @remarks
|
|
258
|
+
* Represents type constraint elements that contain template and generic
|
|
259
|
+
* type constraint information within source code documentation. This
|
|
260
|
+
* implementation processes Doxygen's typeconstraint elements, which contain
|
|
261
|
+
* mixed text and reference content describing constraints applied to
|
|
262
|
+
* template parameters and generic types.
|
|
263
|
+
*
|
|
264
|
+
* The linked text structure enables cross-references to constraint types,
|
|
265
|
+
* concepts, and related template documentation within constraint expressions.
|
|
266
|
+
*
|
|
267
|
+
* @public
|
|
268
|
+
*/
|
|
269
|
+
export class TypeConstraintDataModel extends AbstractLinkedTextType {
|
|
270
|
+
/**
|
|
271
|
+
* Constructs a TypeConstraintDataModel from XML element data.
|
|
272
|
+
*
|
|
273
|
+
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
274
|
+
* @param element - The XML element object containing the type constraint data
|
|
275
|
+
*
|
|
276
|
+
* @remarks
|
|
277
|
+
* This constructor delegates to the parent AbstractLinkedTextType to
|
|
278
|
+
* handle linked text processing whilst identifying the element as
|
|
279
|
+
* 'typeconstraint' for proper XML schema compliance and type constraint
|
|
280
|
+
* content processing.
|
|
281
|
+
*/
|
|
282
|
+
constructor(xml: DoxygenXmlParser, element: object) {
|
|
283
|
+
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
284
|
+
super(xml, element, 'typeconstraint')
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
// ----------------------------------------------------------------------------
|
|
@@ -0,0 +1,160 @@
|
|
|
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 for any
|
|
6
|
+
* 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 be
|
|
9
|
+
* 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 { MemberRefDataModel } from './memberreftype-dm.js'
|
|
19
|
+
import { AbstractDataModelBase } from '../types.js'
|
|
20
|
+
|
|
21
|
+
// ----------------------------------------------------------------------------
|
|
22
|
+
|
|
23
|
+
// <xsd:complexType name="listofallmembersType">
|
|
24
|
+
// <xsd:sequence>
|
|
25
|
+
// <xsd:element name="member" type="memberRefType" minOccurs="0" maxOccurs="unbounded" />
|
|
26
|
+
// </xsd:sequence>
|
|
27
|
+
// </xsd:complexType>
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Abstract base class for list-of-all-members elements within documentation.
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* Implements processing for list-of-all-members elements that contain
|
|
34
|
+
* comprehensive member reference collections within class and compound
|
|
35
|
+
* documentation. This class handles the XML Schema definition for
|
|
36
|
+
* listofallmembersType elements, which provide complete inventories of
|
|
37
|
+
* all members (including inherited members) associated with classes,
|
|
38
|
+
* structures, and other compound types.
|
|
39
|
+
*
|
|
40
|
+
* The implementation processes sequences of member reference elements,
|
|
41
|
+
* creating MemberRefDataModel instances to maintain detailed information
|
|
42
|
+
* about each member's identity, scope, and accessibility within the
|
|
43
|
+
* compound's complete member hierarchy.
|
|
44
|
+
*
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
// eslint-disable-next-line max-len
|
|
48
|
+
export abstract class AbstractListOfAllMembersType extends AbstractDataModelBase {
|
|
49
|
+
/**
|
|
50
|
+
* Collection of member reference elements within the list-of-all-members.
|
|
51
|
+
*
|
|
52
|
+
* @remarks
|
|
53
|
+
* Contains processed member reference data models representing all members
|
|
54
|
+
* associated with the compound, including both directly declared and
|
|
55
|
+
* inherited members. Each reference provides comprehensive identification
|
|
56
|
+
* and scope information for the corresponding member element.
|
|
57
|
+
*
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
memberRefs?: MemberRefDataModel[] | undefined
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Constructs a new list-of-all-members data model instance.
|
|
64
|
+
*
|
|
65
|
+
* @param xml - The XML parser instance for processing elements
|
|
66
|
+
* @param element - The source XML element containing list-of-all-members data
|
|
67
|
+
* @param elementName - The name of the XML element being processed
|
|
68
|
+
*
|
|
69
|
+
* @remarks
|
|
70
|
+
* Processes the XML element to extract and organise member reference
|
|
71
|
+
* information, creating appropriate data model instances for each
|
|
72
|
+
* member entry found within the comprehensive member listing.
|
|
73
|
+
* The constructor validates the element structure and ensures
|
|
74
|
+
* all member references are properly instantiated.
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
constructor(xml: DoxygenXmlParser, element: object, elementName: string) {
|
|
79
|
+
super(elementName)
|
|
80
|
+
|
|
81
|
+
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
82
|
+
|
|
83
|
+
// ------------------------------------------------------------------------
|
|
84
|
+
// Process elements.
|
|
85
|
+
|
|
86
|
+
const innerElements = xml.getInnerElements(element, elementName)
|
|
87
|
+
assert(innerElements.length > 0)
|
|
88
|
+
|
|
89
|
+
// console.log(util.inspect(item))
|
|
90
|
+
for (const innerElement of innerElements) {
|
|
91
|
+
if (xml.hasInnerText(innerElement)) {
|
|
92
|
+
// Ignore texts
|
|
93
|
+
} else if (xml.hasInnerElement(innerElement, 'member')) {
|
|
94
|
+
this.memberRefs ??= []
|
|
95
|
+
this.memberRefs.push(new MemberRefDataModel(xml, innerElement))
|
|
96
|
+
} else {
|
|
97
|
+
console.error(util.inspect(innerElement))
|
|
98
|
+
console.error(
|
|
99
|
+
`${elementName} element:`,
|
|
100
|
+
Object.keys(innerElement),
|
|
101
|
+
'not implemented yet in',
|
|
102
|
+
this.constructor.name
|
|
103
|
+
)
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// ------------------------------------------------------------------------
|
|
108
|
+
// Process attributes.
|
|
109
|
+
|
|
110
|
+
assert(!xml.hasAttributes(element))
|
|
111
|
+
|
|
112
|
+
// ------------------------------------------------------------------------
|
|
113
|
+
|
|
114
|
+
// console.log(util.inspect(this, { compact: false, depth: 999 }))
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// ----------------------------------------------------------------------------
|
|
119
|
+
|
|
120
|
+
// <xsd:element name="listofallmembers" type="listofallmembersType" minOccurs="0" />
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Concrete implementation for listofallmembers elements within compound
|
|
124
|
+
* documentation.
|
|
125
|
+
*
|
|
126
|
+
* @remarks
|
|
127
|
+
* Provides specific handling for listofallmembers XML elements that contain
|
|
128
|
+
* comprehensive member inventories within class and compound documentation.
|
|
129
|
+
* This implementation extends the abstract base class functionality to
|
|
130
|
+
* process the complete collection of member references, including both
|
|
131
|
+
* directly declared and inherited members.
|
|
132
|
+
*
|
|
133
|
+
* The class ensures proper instantiation of member reference data models
|
|
134
|
+
* whilst maintaining the hierarchical structure and accessibility information
|
|
135
|
+
* required for comprehensive documentation generation.
|
|
136
|
+
*
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
export class ListOfAllMembersDataModel extends AbstractListOfAllMembersType {
|
|
140
|
+
/**
|
|
141
|
+
* Constructs a new listofallmembers data model instance.
|
|
142
|
+
*
|
|
143
|
+
* @param xml - The XML parser instance for processing elements
|
|
144
|
+
* @param element - The source XML element containing listofallmembers data
|
|
145
|
+
*
|
|
146
|
+
* @remarks
|
|
147
|
+
* Initialises the data model with the specific element name
|
|
148
|
+
* 'listofallmembers' and delegates processing to the abstract base class
|
|
149
|
+
* implementation. This ensures consistent handling of member reference
|
|
150
|
+
* collections whilst maintaining proper element identification.
|
|
151
|
+
*
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
constructor(xml: DoxygenXmlParser, element: object) {
|
|
155
|
+
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
156
|
+
super(xml, element, 'listofallmembers')
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
// ----------------------------------------------------------------------------
|