@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
|
@@ -1,127 +1,17 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file is part of the xPack project (http://xpack.github.io).
|
|
3
|
-
* Copyright (c) 2025 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
1
|
import assert from 'node:assert';
|
|
13
2
|
import util from 'node:util';
|
|
14
3
|
import { AbstractDataModelBase } from '../types.js';
|
|
15
|
-
// ----------------------------------------------------------------------------
|
|
16
|
-
// <xsd:complexType name="referenceType" mixed="true">
|
|
17
|
-
// <xsd:attribute name="refid" type="xsd:string" />
|
|
18
|
-
// <xsd:attribute name="compoundref" type="xsd:string" use="optional" />
|
|
19
|
-
// <xsd:attribute name="startline" type="xsd:integer" />
|
|
20
|
-
// <xsd:attribute name="endline" type="xsd:integer" />
|
|
21
|
-
// </xsd:complexType>
|
|
22
|
-
/**
|
|
23
|
-
* Abstract base class for reference type data models.
|
|
24
|
-
*
|
|
25
|
-
* @remarks
|
|
26
|
-
* Represents the foundational structure for reference relationship elements
|
|
27
|
-
* within Doxygen XML documentation, corresponding to the referenceType
|
|
28
|
-
* complex type in the XML schema. This class manages bidirectional reference
|
|
29
|
-
* relationships between documented entities, capturing both the descriptive
|
|
30
|
-
* text and precise location information including line number ranges. The
|
|
31
|
-
* reference system enables comprehensive dependency tracking and cross-
|
|
32
|
-
* referencing capabilities, essential for understanding code relationships
|
|
33
|
-
* and generating accurate documentation navigation structures.
|
|
34
|
-
*
|
|
35
|
-
* @public
|
|
36
|
-
*/
|
|
37
4
|
export class AbstractReferenceType extends AbstractDataModelBase {
|
|
38
|
-
/**
|
|
39
|
-
* The descriptive text content for this reference relationship.
|
|
40
|
-
*
|
|
41
|
-
* @remarks
|
|
42
|
-
* Contains the textual description of the reference relationship, typically
|
|
43
|
-
* including the name or signature of the referenced entity. This text
|
|
44
|
-
* provides human-readable context about the relationship and is used for
|
|
45
|
-
* display purposes within the generated documentation. Note that this
|
|
46
|
-
* property is not explicitly defined in the XML schema DTD but appears
|
|
47
|
-
* in practice within reference elements.
|
|
48
|
-
*/
|
|
49
|
-
// WARNING: not in DTD?
|
|
50
5
|
text = '';
|
|
51
|
-
/**
|
|
52
|
-
* The unique reference identifier for the referenced entity.
|
|
53
|
-
*
|
|
54
|
-
* @remarks
|
|
55
|
-
* Mandatory attribute that provides a unique identifier for the entity
|
|
56
|
-
* being referenced. This identifier enables precise linking and cross-
|
|
57
|
-
* referencing between documentation elements, allowing navigation to the
|
|
58
|
-
* detailed documentation of the referenced item within the documentation
|
|
59
|
-
* structure.
|
|
60
|
-
*/
|
|
61
6
|
refid = '';
|
|
62
|
-
/**
|
|
63
|
-
* The starting line number where the reference occurs.
|
|
64
|
-
*
|
|
65
|
-
* @remarks
|
|
66
|
-
* Specifies the line number in the source code where the reference
|
|
67
|
-
* relationship begins. This location information enables precise source
|
|
68
|
-
* code navigation and helps establish the exact context of the reference
|
|
69
|
-
* within the original source files. Note that this attribute may be missing
|
|
70
|
-
* in some reference elements despite being defined as mandatory in the
|
|
71
|
-
* XML schema.
|
|
72
|
-
*/
|
|
73
|
-
// WARNING: may be missing
|
|
74
7
|
startline;
|
|
75
|
-
/**
|
|
76
|
-
* The ending line number where the reference concludes.
|
|
77
|
-
*
|
|
78
|
-
* @remarks
|
|
79
|
-
* Specifies the line number in the source code where the reference
|
|
80
|
-
* relationship ends. Combined with the starting line, this provides a
|
|
81
|
-
* complete range for the reference occurrence, enabling precise source
|
|
82
|
-
* code highlighting and navigation capabilities. Note that this attribute
|
|
83
|
-
* may be missing in some reference elements despite being defined as
|
|
84
|
-
* mandatory in the XML schema.
|
|
85
|
-
*/
|
|
86
|
-
// WARNING: may be missing
|
|
87
8
|
endline;
|
|
88
|
-
/**
|
|
89
|
-
* The compound reference identifier for the containing entity.
|
|
90
|
-
*
|
|
91
|
-
* @remarks
|
|
92
|
-
* Optional attribute that provides the identifier of the compound entity
|
|
93
|
-
* (such as a class or namespace) that contains the referenced item. This
|
|
94
|
-
* additional context enables more precise navigation and helps establish
|
|
95
|
-
* the hierarchical relationship between the referencing and referenced
|
|
96
|
-
* entities within the documentation structure.
|
|
97
|
-
*/
|
|
98
9
|
compoundref;
|
|
99
|
-
/**
|
|
100
|
-
* Constructs a new abstract reference type from XML data.
|
|
101
|
-
*
|
|
102
|
-
* @param xml - The Doxygen XML parser instance
|
|
103
|
-
* @param element - The XML element containing reference relationship data
|
|
104
|
-
* @param elementName - The expected XML element name
|
|
105
|
-
*
|
|
106
|
-
* @remarks
|
|
107
|
-
* Parses the provided XML element to construct a complete reference
|
|
108
|
-
* relationship data model. The parsing process extracts the textual content
|
|
109
|
-
* from the element and processes all defined attributes including the
|
|
110
|
-
* mandatory refid attribute, line number information, and optional compound
|
|
111
|
-
* reference data. Validation ensures that the reference identifier is
|
|
112
|
-
* present, maintaining the integrity of the reference relationship
|
|
113
|
-
* documentation.
|
|
114
|
-
*/
|
|
115
10
|
constructor(xml, element, elementName) {
|
|
116
11
|
super(elementName);
|
|
117
|
-
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
118
|
-
// ------------------------------------------------------------------------
|
|
119
|
-
// Process elements.
|
|
120
12
|
assert(xml.isInnerElementText(element, elementName));
|
|
121
13
|
this.text = xml.getInnerElementText(element, elementName);
|
|
122
14
|
assert(this.text.length > 0);
|
|
123
|
-
// ------------------------------------------------------------------------
|
|
124
|
-
// Process attributes.
|
|
125
15
|
assert(xml.hasAttributes(element));
|
|
126
16
|
const attributesNames = xml.getAttributesNames(element);
|
|
127
17
|
for (const attributeName of attributesNames) {
|
|
@@ -129,10 +19,10 @@ export class AbstractReferenceType extends AbstractDataModelBase {
|
|
|
129
19
|
this.refid = xml.getAttributeStringValue(element, '@_refid');
|
|
130
20
|
}
|
|
131
21
|
else if (attributeName === '@_startline') {
|
|
132
|
-
this.startline =
|
|
22
|
+
this.startline = xml.getAttributeNumberValue(element, '@_startline');
|
|
133
23
|
}
|
|
134
24
|
else if (attributeName === '@_endline') {
|
|
135
|
-
this.endline =
|
|
25
|
+
this.endline = xml.getAttributeNumberValue(element, '@_endline');
|
|
136
26
|
}
|
|
137
27
|
else if (attributeName === '@_compoundref') {
|
|
138
28
|
this.compoundref = xml.getAttributeStringValue(element, '@_compoundref');
|
|
@@ -143,79 +33,16 @@ export class AbstractReferenceType extends AbstractDataModelBase {
|
|
|
143
33
|
}
|
|
144
34
|
}
|
|
145
35
|
assert(this.refid.length > 0);
|
|
146
|
-
// ------------------------------------------------------------------------
|
|
147
|
-
// console.log(util.inspect(this, { compact: false, depth: 999 }))
|
|
148
36
|
}
|
|
149
37
|
}
|
|
150
|
-
// ----------------------------------------------------------------------------
|
|
151
|
-
// <xsd:element name="references" type="referenceType" minOccurs="0" maxOccurs="unbounded" />
|
|
152
|
-
// <xsd:element name="referencedby" type="referenceType" minOccurs="0" maxOccurs="unbounded" />
|
|
153
|
-
/**
|
|
154
|
-
* Data model for reference relationship elements.
|
|
155
|
-
*
|
|
156
|
-
* @remarks
|
|
157
|
-
* Represents a forward reference relationship within Doxygen XML
|
|
158
|
-
* documentation, corresponding to the references XML element. This class
|
|
159
|
-
* manages relationships where the current entity references or depends upon
|
|
160
|
-
* another documented entity. The relationship captures both the descriptive
|
|
161
|
-
* information and precise location data, enabling comprehensive dependency
|
|
162
|
-
* tracking and navigation capabilities. Forward references help document
|
|
163
|
-
* how entities use or depend on other components within the codebase.
|
|
164
|
-
*
|
|
165
|
-
* @public
|
|
166
|
-
*/
|
|
167
38
|
export class ReferenceDataModel extends AbstractReferenceType {
|
|
168
|
-
/**
|
|
169
|
-
* Constructs a new reference relationship data model from XML.
|
|
170
|
-
*
|
|
171
|
-
* @param xml - The Doxygen XML parser instance
|
|
172
|
-
* @param element - The XML element containing reference relationship data
|
|
173
|
-
*
|
|
174
|
-
* @remarks
|
|
175
|
-
* Creates a complete forward reference relationship data model by parsing
|
|
176
|
-
* the provided XML element. This constructor delegates to the parent class
|
|
177
|
-
* to handle all standard parsing operations for the references element type,
|
|
178
|
-
* establishing the forward dependency relationship between the current
|
|
179
|
-
* entity and the referenced component.
|
|
180
|
-
*/
|
|
181
39
|
constructor(xml, element) {
|
|
182
|
-
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
183
40
|
super(xml, element, 'references');
|
|
184
41
|
}
|
|
185
42
|
}
|
|
186
|
-
/**
|
|
187
|
-
* Data model for referenced-by relationship elements.
|
|
188
|
-
*
|
|
189
|
-
* @remarks
|
|
190
|
-
* Represents a reverse reference relationship within Doxygen XML
|
|
191
|
-
* documentation, corresponding to the referencedby XML element. This class
|
|
192
|
-
* manages relationships where the current entity is referenced or used by
|
|
193
|
-
* another documented entity. The relationship provides bidirectional
|
|
194
|
-
* dependency information, enabling comprehensive understanding of how
|
|
195
|
-
* entities are utilised throughout the codebase. Referenced-by relationships
|
|
196
|
-
* are essential for impact analysis and understanding the scope of changes
|
|
197
|
-
* when modifying documented components.
|
|
198
|
-
*
|
|
199
|
-
* @public
|
|
200
|
-
*/
|
|
201
43
|
export class ReferencedByDataModel extends AbstractReferenceType {
|
|
202
|
-
/**
|
|
203
|
-
* Constructs a new referenced-by relationship data model from XML.
|
|
204
|
-
*
|
|
205
|
-
* @param xml - The Doxygen XML parser instance
|
|
206
|
-
* @param element - The XML element containing referenced-by relationship data
|
|
207
|
-
*
|
|
208
|
-
* @remarks
|
|
209
|
-
* Creates a complete reverse reference relationship data model by parsing
|
|
210
|
-
* the provided XML element. This constructor delegates to the parent class
|
|
211
|
-
* to handle all standard parsing operations for the referencedby element
|
|
212
|
-
* type, establishing the reverse dependency relationship indicating how
|
|
213
|
-
* other entities utilise the current component.
|
|
214
|
-
*/
|
|
215
44
|
constructor(xml, element) {
|
|
216
|
-
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
217
45
|
super(xml, element, 'referencedby');
|
|
218
46
|
}
|
|
219
47
|
}
|
|
220
|
-
// ----------------------------------------------------------------------------
|
|
221
48
|
//# sourceMappingURL=referencetype-dm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"referencetype-dm.js","sourceRoot":"","sources":["../../../../src/doxygen/data-model/compounds/referencetype-dm.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"referencetype-dm.js","sourceRoot":"","sources":["../../../../src/doxygen/data-model/compounds/referencetype-dm.ts"],"names":[],"mappings":"AAaA,OAAO,MAAM,MAAM,aAAa,CAAA;AAChC,OAAO,IAAI,MAAM,WAAW,CAAA;AAG5B,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AA0BnD,MAAM,OAAgB,qBAAsB,SAAQ,qBAAqB;IAavE,IAAI,GAAG,EAAE,CAAA;IAYT,KAAK,GAAG,EAAE,CAAA;IAcV,SAAS,CAAoB;IAc7B,OAAO,CAAoB;IAY3B,WAAW,CAAqB;IAkBhC,YAAY,GAAqB,EAAE,OAAe,EAAE,WAAmB;QACrE,KAAK,CAAC,WAAW,CAAC,CAAA;QAOlB,MAAM,CAAC,GAAG,CAAC,kBAAkB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC,CAAA;QACpD,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,mBAAmB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAA;QAEzD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;QAK5B,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAA;QAElC,MAAM,eAAe,GAAG,GAAG,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAA;QACvD,KAAK,MAAM,aAAa,IAAI,eAAe,EAAE,CAAC;YAC5C,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;gBAChC,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,uBAAuB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAA;YAC9D,CAAC;iBAAM,IAAI,aAAa,KAAK,aAAa,EAAE,CAAC;gBAC3C,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC,uBAAuB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAA;YACtE,CAAC;iBAAM,IAAI,aAAa,KAAK,WAAW,EAAE,CAAC;gBACzC,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,uBAAuB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAA;YAClE,CAAC;iBAAM,IAAI,aAAa,KAAK,eAAe,EAAE,CAAC;gBAC7C,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC,uBAAuB,CAAC,OAAO,EAAE,eAAe,CAAC,CAAA;YAC1E,CAAC;iBAAM,CAAC;gBACN,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC,CAAA;gBACpE,OAAO,CAAC,KAAK,CACX,GAAG,WAAW,aAAa,EAC3B,aAAa,EACb,wBAAwB,EACxB,IAAI,CAAC,WAAW,CAAC,IAAI,CACtB,CAAA;YACH,CAAC;QACH,CAAC;QAED,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;IAK/B,CAAC;CACF;AAqBD,MAAM,OAAO,kBAAmB,SAAQ,qBAAqB;IAc3D,YAAY,GAAqB,EAAE,OAAe;QAEhD,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,YAAY,CAAC,CAAA;IACnC,CAAC;CACF;AAiBD,MAAM,OAAO,qBAAsB,SAAQ,qBAAqB;IAc9D,YAAY,GAAqB,EAAE,OAAe;QAEhD,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,cAAc,CAAC,CAAA;IACrC,CAAC;CACF"}
|
|
@@ -1,135 +1,15 @@
|
|
|
1
1
|
import { DoxygenXmlParser } from '../doxygen-xml-parser.js';
|
|
2
2
|
import { AbstractDataModelBase } from '../types.js';
|
|
3
|
-
/**
|
|
4
|
-
* Abstract base class for reference text type data models.
|
|
5
|
-
*
|
|
6
|
-
* @remarks
|
|
7
|
-
* Represents the foundational structure for reference text elements within
|
|
8
|
-
* Doxygen XML documentation, corresponding to the refTextType complex type
|
|
9
|
-
* in the XML schema. This class manages textual references to documented
|
|
10
|
-
* entities with enhanced metadata including reference classification, external
|
|
11
|
-
* linking capabilities, and tooltip information. Reference text elements
|
|
12
|
-
* provide rich linking functionality within documentation content, enabling
|
|
13
|
-
* precise navigation to related entities whilst maintaining readability and
|
|
14
|
-
* contextual information for enhanced user experience.
|
|
15
|
-
*
|
|
16
|
-
* @public
|
|
17
|
-
*/
|
|
18
3
|
export declare abstract class AbstractRefTextType extends AbstractDataModelBase {
|
|
19
|
-
/**
|
|
20
|
-
* The textual content of the reference.
|
|
21
|
-
*
|
|
22
|
-
* @remarks
|
|
23
|
-
* Mandatory element containing the display text for the reference, passed
|
|
24
|
-
* as the element's text content. This text provides the human-readable
|
|
25
|
-
* representation of the referenced entity and is typically the name or
|
|
26
|
-
* identifier that appears in the documentation content where the reference
|
|
27
|
-
* is embedded.
|
|
28
|
-
*/
|
|
29
4
|
text: string;
|
|
30
|
-
/**
|
|
31
|
-
* The unique reference identifier for the referenced entity.
|
|
32
|
-
*
|
|
33
|
-
* @remarks
|
|
34
|
-
* Mandatory attribute that provides a unique identifier for the referenced
|
|
35
|
-
* entity within the Doxygen documentation system. This identifier enables
|
|
36
|
-
* precise linking and cross-referencing between documentation elements,
|
|
37
|
-
* allowing navigation to the detailed documentation of the referenced item.
|
|
38
|
-
*/
|
|
39
5
|
refid: string;
|
|
40
|
-
/**
|
|
41
|
-
* The kind classification of the referenced entity.
|
|
42
|
-
*
|
|
43
|
-
* @remarks
|
|
44
|
-
* Mandatory attribute specifying the type of entity being referenced,
|
|
45
|
-
* according to the DoxRefKind enumeration. This classification determines
|
|
46
|
-
* how the reference is processed and presented, distinguishing between
|
|
47
|
-
* compound entities (such as classes or namespaces) and member entities
|
|
48
|
-
* (such as functions or variables).
|
|
49
|
-
*/
|
|
50
6
|
kindref: string;
|
|
51
|
-
/**
|
|
52
|
-
* The external reference location for cross-project linking.
|
|
53
|
-
*
|
|
54
|
-
* @remarks
|
|
55
|
-
* Optional attribute that specifies an external location for the referenced
|
|
56
|
-
* entity, enabling cross-project or cross-documentation linking. When
|
|
57
|
-
* present, this attribute indicates that the referenced entity is defined
|
|
58
|
-
* in external documentation, requiring special handling for link generation
|
|
59
|
-
* and navigation.
|
|
60
|
-
*/
|
|
61
7
|
external?: string | undefined;
|
|
62
|
-
/**
|
|
63
|
-
* The tooltip text for enhanced reference information.
|
|
64
|
-
*
|
|
65
|
-
* @remarks
|
|
66
|
-
* Optional attribute that provides additional contextual information to be
|
|
67
|
-
* displayed as a tooltip when interacting with the reference. This tooltip
|
|
68
|
-
* enhances the user experience by providing immediate context about the
|
|
69
|
-
* referenced entity without requiring navigation to the target documentation.
|
|
70
|
-
*/
|
|
71
8
|
tooltip?: string | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* Constructs a new abstract reference text type from XML data.
|
|
74
|
-
*
|
|
75
|
-
* @param xml - The Doxygen XML parser instance
|
|
76
|
-
* @param element - The XML element containing reference text data
|
|
77
|
-
* @param elementName - The expected XML element name
|
|
78
|
-
*
|
|
79
|
-
* @remarks
|
|
80
|
-
* Parses the provided XML element to construct a complete reference text
|
|
81
|
-
* data model. The parsing process extracts the textual content from the
|
|
82
|
-
* element and processes all defined attributes including the mandatory
|
|
83
|
-
* refid and kindref attributes, as well as optional external and tooltip
|
|
84
|
-
* attributes. Validation ensures that required elements and attributes are
|
|
85
|
-
* present and conform to the expected XML schema structure.
|
|
86
|
-
*/
|
|
87
9
|
constructor(xml: DoxygenXmlParser, element: object, elementName: string);
|
|
88
10
|
}
|
|
89
|
-
/**
|
|
90
|
-
* Type definition for Doxygen reference kind classifications.
|
|
91
|
-
*
|
|
92
|
-
* @remarks
|
|
93
|
-
* Represents the enumeration of valid reference kinds within Doxygen XML
|
|
94
|
-
* documentation, corresponding to the DoxRefKind simple type in the XML
|
|
95
|
-
* schema. This type distinguishes between compound entities (such as classes,
|
|
96
|
-
* structs, interfaces, and namespaces) and member entities (such as functions,
|
|
97
|
-
* variables, enumerations, and typedefs). The classification affects how
|
|
98
|
-
* references are processed, linked, and presented in the generated
|
|
99
|
-
* documentation structure.
|
|
100
|
-
*
|
|
101
|
-
* @public
|
|
102
|
-
*/
|
|
103
11
|
export type DoxRefKind = 'compound' | 'member';
|
|
104
|
-
/**
|
|
105
|
-
* Data model for reference text elements.
|
|
106
|
-
*
|
|
107
|
-
* @remarks
|
|
108
|
-
* Represents a specific textual reference within Doxygen XML documentation,
|
|
109
|
-
* corresponding to the ref XML element. This class manages rich textual
|
|
110
|
-
* references that appear within documentation content, providing enhanced
|
|
111
|
-
* linking capabilities with metadata support. Reference text elements enable
|
|
112
|
-
* seamless navigation between related documentation entities whilst
|
|
113
|
-
* maintaining the flow and readability of the containing text. The class
|
|
114
|
-
* supports both internal and external references, with optional tooltip
|
|
115
|
-
* information for improved user experience.
|
|
116
|
-
*
|
|
117
|
-
* @public
|
|
118
|
-
*/
|
|
119
12
|
export declare class RefTextDataModel extends AbstractRefTextType {
|
|
120
|
-
/**
|
|
121
|
-
* Constructs a new reference text data model from XML.
|
|
122
|
-
*
|
|
123
|
-
* @param xml - The Doxygen XML parser instance
|
|
124
|
-
* @param element - The XML element containing reference text data
|
|
125
|
-
*
|
|
126
|
-
* @remarks
|
|
127
|
-
* Creates a complete reference text data model by parsing the provided XML
|
|
128
|
-
* element. This constructor delegates to the parent class to handle all
|
|
129
|
-
* standard parsing operations for the ref element type, establishing the
|
|
130
|
-
* textual reference with full metadata support for enhanced linking and
|
|
131
|
-
* navigation capabilities.
|
|
132
|
-
*/
|
|
133
13
|
constructor(xml: DoxygenXmlParser, element: object);
|
|
134
14
|
}
|
|
135
15
|
//# sourceMappingURL=reftexttype-dm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reftexttype-dm.d.ts","sourceRoot":"","sources":["../../../../src/doxygen/data-model/compounds/reftexttype-dm.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"reftexttype-dm.d.ts","sourceRoot":"","sources":["../../../../src/doxygen/data-model/compounds/reftexttype-dm.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AA8BnD,8BAAsB,mBAAoB,SAAQ,qBAAqB;IAWrE,IAAI,SAAK;IAWT,KAAK,SAAK;IAYV,OAAO,SAAK;IAYZ,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAW7B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;gBAiBhB,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;CA8CxE;AAyBD,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,QAAQ,CAAA;AAqB9C,qBAAa,gBAAiB,SAAQ,mBAAmB;gBAc3C,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM;CAInD"}
|
|
@@ -1,122 +1,17 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file is part of the xPack project (http://xpack.github.io).
|
|
3
|
-
* Copyright (c) 2025 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
1
|
import assert from 'node:assert';
|
|
13
2
|
import util from 'node:util';
|
|
14
3
|
import { AbstractDataModelBase } from '../types.js';
|
|
15
|
-
// ----------------------------------------------------------------------------
|
|
16
|
-
// <xsd:complexType name="refTextType">
|
|
17
|
-
// <xsd:simpleContent>
|
|
18
|
-
// <xsd:extension base="xsd:string">
|
|
19
|
-
// <xsd:attribute name="refid" type="xsd:string" />
|
|
20
|
-
// <xsd:attribute name="kindref" type="DoxRefKind" />
|
|
21
|
-
// <xsd:attribute name="external" type="xsd:string" use="optional"/>
|
|
22
|
-
// <xsd:attribute name="tooltip" type="xsd:string" use="optional"/>
|
|
23
|
-
// </xsd:extension>
|
|
24
|
-
// </xsd:simpleContent>
|
|
25
|
-
// </xsd:complexType>
|
|
26
|
-
/**
|
|
27
|
-
* Abstract base class for reference text type data models.
|
|
28
|
-
*
|
|
29
|
-
* @remarks
|
|
30
|
-
* Represents the foundational structure for reference text elements within
|
|
31
|
-
* Doxygen XML documentation, corresponding to the refTextType complex type
|
|
32
|
-
* in the XML schema. This class manages textual references to documented
|
|
33
|
-
* entities with enhanced metadata including reference classification, external
|
|
34
|
-
* linking capabilities, and tooltip information. Reference text elements
|
|
35
|
-
* provide rich linking functionality within documentation content, enabling
|
|
36
|
-
* precise navigation to related entities whilst maintaining readability and
|
|
37
|
-
* contextual information for enhanced user experience.
|
|
38
|
-
*
|
|
39
|
-
* @public
|
|
40
|
-
*/
|
|
41
4
|
export class AbstractRefTextType extends AbstractDataModelBase {
|
|
42
|
-
|
|
43
|
-
* The textual content of the reference.
|
|
44
|
-
*
|
|
45
|
-
* @remarks
|
|
46
|
-
* Mandatory element containing the display text for the reference, passed
|
|
47
|
-
* as the element's text content. This text provides the human-readable
|
|
48
|
-
* representation of the referenced entity and is typically the name or
|
|
49
|
-
* identifier that appears in the documentation content where the reference
|
|
50
|
-
* is embedded.
|
|
51
|
-
*/
|
|
52
|
-
text = ''; // The name of the reference, passed as element text.
|
|
53
|
-
/**
|
|
54
|
-
* The unique reference identifier for the referenced entity.
|
|
55
|
-
*
|
|
56
|
-
* @remarks
|
|
57
|
-
* Mandatory attribute that provides a unique identifier for the referenced
|
|
58
|
-
* entity within the Doxygen documentation system. This identifier enables
|
|
59
|
-
* precise linking and cross-referencing between documentation elements,
|
|
60
|
-
* allowing navigation to the detailed documentation of the referenced item.
|
|
61
|
-
*/
|
|
5
|
+
text = '';
|
|
62
6
|
refid = '';
|
|
63
|
-
|
|
64
|
-
* The kind classification of the referenced entity.
|
|
65
|
-
*
|
|
66
|
-
* @remarks
|
|
67
|
-
* Mandatory attribute specifying the type of entity being referenced,
|
|
68
|
-
* according to the DoxRefKind enumeration. This classification determines
|
|
69
|
-
* how the reference is processed and presented, distinguishing between
|
|
70
|
-
* compound entities (such as classes or namespaces) and member entities
|
|
71
|
-
* (such as functions or variables).
|
|
72
|
-
*/
|
|
73
|
-
kindref = ''; // DoxRefKind
|
|
74
|
-
/**
|
|
75
|
-
* The external reference location for cross-project linking.
|
|
76
|
-
*
|
|
77
|
-
* @remarks
|
|
78
|
-
* Optional attribute that specifies an external location for the referenced
|
|
79
|
-
* entity, enabling cross-project or cross-documentation linking. When
|
|
80
|
-
* present, this attribute indicates that the referenced entity is defined
|
|
81
|
-
* in external documentation, requiring special handling for link generation
|
|
82
|
-
* and navigation.
|
|
83
|
-
*/
|
|
7
|
+
kindref = '';
|
|
84
8
|
external;
|
|
85
|
-
/**
|
|
86
|
-
* The tooltip text for enhanced reference information.
|
|
87
|
-
*
|
|
88
|
-
* @remarks
|
|
89
|
-
* Optional attribute that provides additional contextual information to be
|
|
90
|
-
* displayed as a tooltip when interacting with the reference. This tooltip
|
|
91
|
-
* enhances the user experience by providing immediate context about the
|
|
92
|
-
* referenced entity without requiring navigation to the target documentation.
|
|
93
|
-
*/
|
|
94
9
|
tooltip;
|
|
95
|
-
/**
|
|
96
|
-
* Constructs a new abstract reference text type from XML data.
|
|
97
|
-
*
|
|
98
|
-
* @param xml - The Doxygen XML parser instance
|
|
99
|
-
* @param element - The XML element containing reference text data
|
|
100
|
-
* @param elementName - The expected XML element name
|
|
101
|
-
*
|
|
102
|
-
* @remarks
|
|
103
|
-
* Parses the provided XML element to construct a complete reference text
|
|
104
|
-
* data model. The parsing process extracts the textual content from the
|
|
105
|
-
* element and processes all defined attributes including the mandatory
|
|
106
|
-
* refid and kindref attributes, as well as optional external and tooltip
|
|
107
|
-
* attributes. Validation ensures that required elements and attributes are
|
|
108
|
-
* present and conform to the expected XML schema structure.
|
|
109
|
-
*/
|
|
110
10
|
constructor(xml, element, elementName) {
|
|
111
11
|
super(elementName);
|
|
112
|
-
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
113
|
-
// ------------------------------------------------------------------------
|
|
114
|
-
// Process elements.
|
|
115
12
|
assert(xml.isInnerElementText(element, elementName));
|
|
116
13
|
this.text = xml.getInnerElementText(element, elementName);
|
|
117
14
|
assert(this.text.length > 0);
|
|
118
|
-
// ------------------------------------------------------------------------
|
|
119
|
-
// Process attributes.
|
|
120
15
|
assert(xml.hasAttributes(element));
|
|
121
16
|
const attributesNames = xml.getAttributesNames(element);
|
|
122
17
|
for (const attributeName of attributesNames) {
|
|
@@ -139,45 +34,11 @@ export class AbstractRefTextType extends AbstractDataModelBase {
|
|
|
139
34
|
}
|
|
140
35
|
assert(this.refid.length > 0);
|
|
141
36
|
assert(this.kindref.length > 0);
|
|
142
|
-
// ------------------------------------------------------------------------
|
|
143
|
-
// console.log(util.inspect(this, { compact: false, depth: 999 }))
|
|
144
37
|
}
|
|
145
38
|
}
|
|
146
|
-
// ----------------------------------------------------------------------------
|
|
147
|
-
// <xsd:element name="ref" type="refTextType" minOccurs="0" maxOccurs="unbounded" />
|
|
148
|
-
/**
|
|
149
|
-
* Data model for reference text elements.
|
|
150
|
-
*
|
|
151
|
-
* @remarks
|
|
152
|
-
* Represents a specific textual reference within Doxygen XML documentation,
|
|
153
|
-
* corresponding to the ref XML element. This class manages rich textual
|
|
154
|
-
* references that appear within documentation content, providing enhanced
|
|
155
|
-
* linking capabilities with metadata support. Reference text elements enable
|
|
156
|
-
* seamless navigation between related documentation entities whilst
|
|
157
|
-
* maintaining the flow and readability of the containing text. The class
|
|
158
|
-
* supports both internal and external references, with optional tooltip
|
|
159
|
-
* information for improved user experience.
|
|
160
|
-
*
|
|
161
|
-
* @public
|
|
162
|
-
*/
|
|
163
39
|
export class RefTextDataModel extends AbstractRefTextType {
|
|
164
|
-
/**
|
|
165
|
-
* Constructs a new reference text data model from XML.
|
|
166
|
-
*
|
|
167
|
-
* @param xml - The Doxygen XML parser instance
|
|
168
|
-
* @param element - The XML element containing reference text data
|
|
169
|
-
*
|
|
170
|
-
* @remarks
|
|
171
|
-
* Creates a complete reference text data model by parsing the provided XML
|
|
172
|
-
* element. This constructor delegates to the parent class to handle all
|
|
173
|
-
* standard parsing operations for the ref element type, establishing the
|
|
174
|
-
* textual reference with full metadata support for enhanced linking and
|
|
175
|
-
* navigation capabilities.
|
|
176
|
-
*/
|
|
177
40
|
constructor(xml, element) {
|
|
178
|
-
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
179
41
|
super(xml, element, 'ref');
|
|
180
42
|
}
|
|
181
43
|
}
|
|
182
|
-
// ----------------------------------------------------------------------------
|
|
183
44
|
//# sourceMappingURL=reftexttype-dm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reftexttype-dm.js","sourceRoot":"","sources":["../../../../src/doxygen/data-model/compounds/reftexttype-dm.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"reftexttype-dm.js","sourceRoot":"","sources":["../../../../src/doxygen/data-model/compounds/reftexttype-dm.ts"],"names":[],"mappings":"AAaA,OAAO,MAAM,MAAM,aAAa,CAAA;AAChC,OAAO,IAAI,MAAM,WAAW,CAAA;AAG5B,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AA8BnD,MAAM,OAAgB,mBAAoB,SAAQ,qBAAqB;IAWrE,IAAI,GAAG,EAAE,CAAA;IAWT,KAAK,GAAG,EAAE,CAAA;IAYV,OAAO,GAAG,EAAE,CAAA;IAYZ,QAAQ,CAAqB;IAW7B,OAAO,CAAqB;IAiB5B,YAAY,GAAqB,EAAE,OAAe,EAAE,WAAmB;QACrE,KAAK,CAAC,WAAW,CAAC,CAAA;QAOlB,MAAM,CAAC,GAAG,CAAC,kBAAkB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC,CAAA;QACpD,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,mBAAmB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAA;QAEzD,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;QAK5B,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAA;QAElC,MAAM,eAAe,GAAG,GAAG,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAA;QACvD,KAAK,MAAM,aAAa,IAAI,eAAe,EAAE,CAAC;YAC5C,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;gBAChC,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,uBAAuB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAA;YAC9D,CAAC;iBAAM,IAAI,aAAa,KAAK,WAAW,EAAE,CAAC;gBACzC,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,uBAAuB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAA;YAClE,CAAC;iBAAM,IAAI,aAAa,KAAK,YAAY,EAAE,CAAC;gBAC1C,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,uBAAuB,CAAC,OAAO,EAAE,YAAY,CAAC,CAAA;YACpE,CAAC;iBAAM,IAAI,aAAa,KAAK,WAAW,EAAE,CAAC;gBACzC,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,uBAAuB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAA;YAClE,CAAC;iBAAM,CAAC;gBACN,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC,CAAA;gBACpE,OAAO,CAAC,KAAK,CACX,GAAG,WAAW,aAAa,EAC3B,aAAa,EACb,wBAAwB,EACxB,IAAI,CAAC,WAAW,CAAC,IAAI,CACtB,CAAA;YACH,CAAC;QACH,CAAC;QAED,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;QAC7B,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;IAKjC,CAAC;CACF;AA8CD,MAAM,OAAO,gBAAiB,SAAQ,mBAAmB;IAcvD,YAAY,GAAqB,EAAE,OAAe;QAEhD,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,CAAC,CAAA;IAC5B,CAAC;CACF"}
|