@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,104 +1,15 @@
|
|
|
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="incType">
|
|
17
|
-
// <xsd:simpleContent>
|
|
18
|
-
// <xsd:extension base="xsd:string">
|
|
19
|
-
// <xsd:attribute name="refid" type="xsd:string" use="optional" />
|
|
20
|
-
// <xsd:attribute name="local" type="DoxBool" />
|
|
21
|
-
// </xsd:extension>
|
|
22
|
-
// </xsd:simpleContent>
|
|
23
|
-
// </xsd:complexType>
|
|
24
|
-
/**
|
|
25
|
-
* Abstract base class for include-type elements within documentation.
|
|
26
|
-
*
|
|
27
|
-
* @remarks
|
|
28
|
-
* Implements processing for include-type elements that represent file inclusion
|
|
29
|
-
* relationships within source code documentation. This class handles the XML
|
|
30
|
-
* Schema definition for incType elements, which contain textual content
|
|
31
|
-
* representing file paths or names along with attributes that specify inclusion
|
|
32
|
-
* behaviour and reference relationships.
|
|
33
|
-
*
|
|
34
|
-
* The implementation processes both local and system includes, distinguishing
|
|
35
|
-
* between quoted includes ("filename") and angle-bracket includes (<filename>)
|
|
36
|
-
* through the local attribute. Optional reference identifiers enable
|
|
37
|
-
* cross-referencing to the included file's documentation.
|
|
38
|
-
*
|
|
39
|
-
* @public
|
|
40
|
-
*/
|
|
41
4
|
export class AbstractIncType extends AbstractDataModelBase {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
* @remarks
|
|
46
|
-
* Contains the file path or filename as specified in the include directive.
|
|
47
|
-
* This text content represents the actual filename that appears within
|
|
48
|
-
* the include statement in the source code, providing the reference to
|
|
49
|
-
* the included file within the documentation structure.
|
|
50
|
-
*/
|
|
51
|
-
// Mandatory elements.
|
|
52
|
-
text = ''; // Passed as element text.
|
|
53
|
-
/**
|
|
54
|
-
* Indicates whether the include uses local or system include syntax.
|
|
55
|
-
*
|
|
56
|
-
* @remarks
|
|
57
|
-
* Determines the include syntax style: when true, indicates a local include
|
|
58
|
-
* using quotation marks ("filename"), when false, indicates a system include
|
|
59
|
-
* using angle brackets (<filename>). This distinction affects how the
|
|
60
|
-
* preprocessor searches for the included file.
|
|
61
|
-
*/
|
|
62
|
-
// Mandatory attributes.
|
|
63
|
-
local = false; // It means to use "..." instead of <...>.
|
|
64
|
-
/**
|
|
65
|
-
* Optional reference identifier for cross-linking to the included file.
|
|
66
|
-
*
|
|
67
|
-
* @remarks
|
|
68
|
-
* Contains the reference identifier that links to the documentation of
|
|
69
|
-
* the included file. This enables navigation from include statements to
|
|
70
|
-
* the actual file documentation within the generated documentation system.
|
|
71
|
-
*/
|
|
72
|
-
// Optional attributes.
|
|
73
|
-
refId; // file id
|
|
74
|
-
/**
|
|
75
|
-
* Constructs an AbstractIncType instance from XML element data.
|
|
76
|
-
*
|
|
77
|
-
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
78
|
-
* @param element - The XML element object containing the include data
|
|
79
|
-
* @param elementName - The name of the XML element being processed
|
|
80
|
-
*
|
|
81
|
-
* @remarks
|
|
82
|
-
* This constructor processes include-type elements by extracting the
|
|
83
|
-
* textual content representing the filename and processing attributes
|
|
84
|
-
* that specify inclusion behaviour. The parser validates the presence
|
|
85
|
-
* of required content and attributes whilst maintaining compliance with
|
|
86
|
-
* the XML Schema definition for include elements.
|
|
87
|
-
*
|
|
88
|
-
* The implementation distinguishes between local and system includes
|
|
89
|
-
* through the local attribute and optionally associates reference
|
|
90
|
-
* identifiers for cross-linking to included file documentation.
|
|
91
|
-
*/
|
|
5
|
+
text = '';
|
|
6
|
+
local = false;
|
|
7
|
+
refId;
|
|
92
8
|
constructor(xml, element, elementName) {
|
|
93
9
|
super(elementName);
|
|
94
|
-
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))ect(element))ect(element))
|
|
95
|
-
// ------------------------------------------------------------------------
|
|
96
|
-
// Process elements.
|
|
97
10
|
assert(xml.isInnerElementText(element, elementName));
|
|
98
11
|
this.text = xml.getInnerElementText(element, elementName);
|
|
99
12
|
assert(this.text.length > 0);
|
|
100
|
-
// ------------------------------------------------------------------------
|
|
101
|
-
// Process attributes.
|
|
102
13
|
assert(xml.hasAttributes(element));
|
|
103
14
|
const attributesNames = xml.getAttributesNames(element);
|
|
104
15
|
for (const attributeName of attributesNames) {
|
|
@@ -113,79 +24,16 @@ export class AbstractIncType extends AbstractDataModelBase {
|
|
|
113
24
|
console.error(`${elementName} attribute:`, attributeName, 'not implemented yet in', this.constructor.name);
|
|
114
25
|
}
|
|
115
26
|
}
|
|
116
|
-
// ------------------------------------------------------------------------
|
|
117
|
-
// console.log(util.inspect(this, { compact: false, depth: 999 }))
|
|
118
27
|
}
|
|
119
28
|
}
|
|
120
|
-
// ----------------------------------------------------------------------------
|
|
121
|
-
// <xsd:element name="includes" type="incType" minOccurs="0" maxOccurs="unbounded" />
|
|
122
|
-
// <xsd:element name="includedby" type="incType" minOccurs="0" maxOccurs="unbounded" />
|
|
123
|
-
/**
|
|
124
|
-
* Data model for includes elements within documentation content.
|
|
125
|
-
*
|
|
126
|
-
* @remarks
|
|
127
|
-
* Represents includes elements that document files included by the current
|
|
128
|
-
* source file. This implementation processes Doxygen's includes elements,
|
|
129
|
-
* which contain information about files that are included through preprocessor
|
|
130
|
-
* directives such as #include statements within the documented source code.
|
|
131
|
-
*
|
|
132
|
-
* The includes relationship indicates a dependency where the current file
|
|
133
|
-
* incorporates content from the referenced file during compilation.
|
|
134
|
-
*
|
|
135
|
-
* @public
|
|
136
|
-
*/
|
|
137
29
|
export class IncludesDataModel extends AbstractIncType {
|
|
138
|
-
/**
|
|
139
|
-
* Constructs an IncludesDataModel from XML element data.
|
|
140
|
-
*
|
|
141
|
-
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
142
|
-
* @param element - The XML element object containing the includes data
|
|
143
|
-
*
|
|
144
|
-
* @remarks
|
|
145
|
-
* This constructor delegates to the parent AbstractIncType to handle
|
|
146
|
-
* include processing whilst identifying the element as 'includes' for
|
|
147
|
-
* proper XML schema compliance and include relationship documentation.
|
|
148
|
-
* The processed data represents files that are included by the current
|
|
149
|
-
* source file through preprocessor directives.
|
|
150
|
-
*/
|
|
151
30
|
constructor(xml, element) {
|
|
152
|
-
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
153
31
|
super(xml, element, 'includes');
|
|
154
32
|
}
|
|
155
33
|
}
|
|
156
|
-
/**
|
|
157
|
-
* Data model for includedby elements within documentation content.
|
|
158
|
-
*
|
|
159
|
-
* @remarks
|
|
160
|
-
* Represents includedby elements that document files which include the
|
|
161
|
-
* current source file. This implementation processes Doxygen's includedby
|
|
162
|
-
* elements, which contain information about files that incorporate the
|
|
163
|
-
* current file through preprocessor directives, establishing reverse
|
|
164
|
-
* inclusion relationships within the documentation system.
|
|
165
|
-
*
|
|
166
|
-
* The includedby relationship indicates a dependency where other files
|
|
167
|
-
* incorporate content from the current file during compilation.
|
|
168
|
-
*
|
|
169
|
-
* @public
|
|
170
|
-
*/
|
|
171
34
|
export class IncludedByDataModel extends AbstractIncType {
|
|
172
|
-
/**
|
|
173
|
-
* Constructs an IncludedByDataModel from XML element data.
|
|
174
|
-
*
|
|
175
|
-
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
176
|
-
* @param element - The XML element object containing the includedby data
|
|
177
|
-
*
|
|
178
|
-
* @remarks
|
|
179
|
-
* This constructor delegates to the parent AbstractIncType to handle
|
|
180
|
-
* include processing whilst identifying the element as 'includedby' for
|
|
181
|
-
* proper XML schema compliance and reverse include relationship handling.
|
|
182
|
-
* The processed data represents files that include the current source file
|
|
183
|
-
* through preprocessor directives, establishing dependency relationships.
|
|
184
|
-
*/
|
|
185
35
|
constructor(xml, element) {
|
|
186
|
-
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
187
36
|
super(xml, element, 'includedby');
|
|
188
37
|
}
|
|
189
38
|
}
|
|
190
|
-
// ----------------------------------------------------------------------------
|
|
191
39
|
//# sourceMappingURL=inctype-dm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inctype-dm.js","sourceRoot":"","sources":["../../../../src/doxygen/data-model/compounds/inctype-dm.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"inctype-dm.js","sourceRoot":"","sources":["../../../../src/doxygen/data-model/compounds/inctype-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,eAAgB,SAAQ,qBAAqB;IAWjE,IAAI,GAAG,EAAE,CAAA;IAYT,KAAK,GAAG,KAAK,CAAA;IAWb,KAAK,CAAqB;IAoB1B,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,wBAAwB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAA;YAC/D,CAAC;iBAAM,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;gBACvC,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,uBAAuB,CAAC,OAAO,EAAE,SAAS,CAAC,CAAA;YAC9D,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;IAKH,CAAC;CACF;AAqBD,MAAM,OAAO,iBAAkB,SAAQ,eAAe;IAcpD,YAAY,GAAqB,EAAE,OAAe;QAEhD,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,UAAU,CAAC,CAAA;IACjC,CAAC;CACF;AAiBD,MAAM,OAAO,mBAAoB,SAAQ,eAAe;IActD,YAAY,GAAqB,EAAE,OAAe;QAEhD,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,YAAY,CAAC,CAAA;IACnC,CAAC;CACF"}
|
|
@@ -1,156 +1,21 @@
|
|
|
1
1
|
import { DoxygenXmlParser } from '../doxygen-xml-parser.js';
|
|
2
2
|
import { AbstractDataModelBase } from '../types.js';
|
|
3
|
-
/**
|
|
4
|
-
* Abstract base class for linked text elements within documentation content.
|
|
5
|
-
*
|
|
6
|
-
* @remarks
|
|
7
|
-
* Implements processing for linked text elements that contain mixed content
|
|
8
|
-
* including both textual content and reference elements. This class handles
|
|
9
|
-
* the XML Schema definition for linkedTextType elements, which support
|
|
10
|
-
* character data interspersed with reference elements that provide
|
|
11
|
-
* cross-linking capabilities within documentation structures.
|
|
12
|
-
*
|
|
13
|
-
* The implementation processes sequences of text strings and RefTextDataModel
|
|
14
|
-
* instances, maintaining their original order to preserve the intended
|
|
15
|
-
* content flow whilst enabling interactive cross-references within the
|
|
16
|
-
* generated documentation.
|
|
17
|
-
*
|
|
18
|
-
* @public
|
|
19
|
-
*/
|
|
20
3
|
export declare abstract class AbstractLinkedTextType extends AbstractDataModelBase {
|
|
21
|
-
/**
|
|
22
|
-
* Constructs an AbstractLinkedTextType instance from XML element data.
|
|
23
|
-
*
|
|
24
|
-
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
25
|
-
* @param element - The XML element object containing the linked text data
|
|
26
|
-
* @param elementName - The name of the XML element being processed
|
|
27
|
-
*
|
|
28
|
-
* @remarks
|
|
29
|
-
* This constructor processes linked text elements by extracting both
|
|
30
|
-
* textual content and reference elements in their original order. The
|
|
31
|
-
* parser maintains the mixed content structure whilst creating appropriate
|
|
32
|
-
* RefTextDataModel instances for cross-reference elements, ensuring
|
|
33
|
-
* proper content flow and interactive linking capabilities within the
|
|
34
|
-
* documentation system.
|
|
35
|
-
*/
|
|
36
4
|
constructor(xml: DoxygenXmlParser, element: object, elementName: string);
|
|
37
5
|
}
|
|
38
|
-
/**
|
|
39
|
-
* Data model for initializer elements within documentation content.
|
|
40
|
-
*
|
|
41
|
-
* @remarks
|
|
42
|
-
* Represents initializer elements that contain variable or member
|
|
43
|
-
* initialization expressions within source code documentation. This
|
|
44
|
-
* implementation processes Doxygen's initializer elements, which contain
|
|
45
|
-
* mixed text and reference content describing the initial values assigned
|
|
46
|
-
* to variables, constants, or class members.
|
|
47
|
-
*
|
|
48
|
-
* The linked text structure enables cross-references to types and symbols
|
|
49
|
-
* used within initialization expressions.
|
|
50
|
-
*
|
|
51
|
-
* @public
|
|
52
|
-
*/
|
|
53
6
|
export declare class InitializerDataModel extends AbstractLinkedTextType {
|
|
54
|
-
/**
|
|
55
|
-
* Constructs an InitializerDataModel from XML element data.
|
|
56
|
-
*
|
|
57
|
-
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
58
|
-
* @param element - The XML element object containing the initializer data
|
|
59
|
-
*
|
|
60
|
-
* @remarks
|
|
61
|
-
* This constructor delegates to the parent AbstractLinkedTextType to
|
|
62
|
-
* handle linked text processing whilst identifying the element as
|
|
63
|
-
* 'initializer' for proper XML schema compliance and initialization
|
|
64
|
-
* expression content processing.
|
|
65
|
-
*/
|
|
66
7
|
constructor(xml: DoxygenXmlParser, element: object);
|
|
67
8
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
* @remarks
|
|
72
|
-
* Represents type elements that contain type information and declarations
|
|
73
|
-
* within source code documentation. This implementation processes Doxygen's
|
|
74
|
-
* type elements, which contain mixed text and reference content describing
|
|
75
|
-
* data types, including primitive types, class names, template parameters,
|
|
76
|
-
* and complex type expressions.
|
|
77
|
-
*
|
|
78
|
-
* The linked text structure enables cross-references to type definitions
|
|
79
|
-
* and related documentation within the type expressions.
|
|
80
|
-
*
|
|
81
|
-
* @public
|
|
82
|
-
*/
|
|
9
|
+
export declare class RequiresClauseDataModel extends AbstractLinkedTextType {
|
|
10
|
+
constructor(xml: DoxygenXmlParser, element: object);
|
|
11
|
+
}
|
|
83
12
|
export declare class TypeDataModel extends AbstractLinkedTextType {
|
|
84
|
-
/**
|
|
85
|
-
* Constructs a TypeDataModel from XML element data.
|
|
86
|
-
*
|
|
87
|
-
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
88
|
-
* @param element - The XML element object containing the type data
|
|
89
|
-
*
|
|
90
|
-
* @remarks
|
|
91
|
-
* This constructor delegates to the parent AbstractLinkedTextType to
|
|
92
|
-
* handle linked text processing whilst identifying the element as 'type'
|
|
93
|
-
* for proper XML schema compliance and type information content processing.
|
|
94
|
-
*/
|
|
95
13
|
constructor(xml: DoxygenXmlParser, element: object);
|
|
96
14
|
}
|
|
97
|
-
/**
|
|
98
|
-
* Data model for default value elements within documentation content.
|
|
99
|
-
*
|
|
100
|
-
* @remarks
|
|
101
|
-
* Represents default value elements that contain parameter default values
|
|
102
|
-
* within function and method documentation. This implementation processes
|
|
103
|
-
* Doxygen's defval elements, which contain mixed text and reference content
|
|
104
|
-
* describing the default values assigned to function parameters when no
|
|
105
|
-
* explicit value is provided during function calls.
|
|
106
|
-
*
|
|
107
|
-
* The linked text structure enables cross-references to constants, enums,
|
|
108
|
-
* and other symbols used within default value expressions.
|
|
109
|
-
*
|
|
110
|
-
* @public
|
|
111
|
-
*/
|
|
112
15
|
export declare class DefValDataModel extends AbstractLinkedTextType {
|
|
113
|
-
/**
|
|
114
|
-
* Constructs a DefValDataModel from XML element data.
|
|
115
|
-
*
|
|
116
|
-
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
117
|
-
* @param element - The XML element object containing the default value data
|
|
118
|
-
*
|
|
119
|
-
* @remarks
|
|
120
|
-
* This constructor delegates to the parent AbstractLinkedTextType to
|
|
121
|
-
* handle linked text processing whilst identifying the element as 'defval'
|
|
122
|
-
* for proper XML schema compliance and default value content processing.
|
|
123
|
-
*/
|
|
124
16
|
constructor(xml: DoxygenXmlParser, element: object);
|
|
125
17
|
}
|
|
126
|
-
/**
|
|
127
|
-
* Data model for type constraint elements within documentation content.
|
|
128
|
-
*
|
|
129
|
-
* @remarks
|
|
130
|
-
* Represents type constraint elements that contain template and generic
|
|
131
|
-
* type constraint information within source code documentation. This
|
|
132
|
-
* implementation processes Doxygen's typeconstraint elements, which contain
|
|
133
|
-
* mixed text and reference content describing constraints applied to
|
|
134
|
-
* template parameters and generic types.
|
|
135
|
-
*
|
|
136
|
-
* The linked text structure enables cross-references to constraint types,
|
|
137
|
-
* concepts, and related template documentation within constraint expressions.
|
|
138
|
-
*
|
|
139
|
-
* @public
|
|
140
|
-
*/
|
|
141
18
|
export declare class TypeConstraintDataModel extends AbstractLinkedTextType {
|
|
142
|
-
/**
|
|
143
|
-
* Constructs a TypeConstraintDataModel from XML element data.
|
|
144
|
-
*
|
|
145
|
-
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
146
|
-
* @param element - The XML element object containing the type constraint data
|
|
147
|
-
*
|
|
148
|
-
* @remarks
|
|
149
|
-
* This constructor delegates to the parent AbstractLinkedTextType to
|
|
150
|
-
* handle linked text processing whilst identifying the element as
|
|
151
|
-
* 'typeconstraint' for proper XML schema compliance and type constraint
|
|
152
|
-
* content processing.
|
|
153
|
-
*/
|
|
154
19
|
constructor(xml: DoxygenXmlParser, element: object);
|
|
155
20
|
}
|
|
156
21
|
//# sourceMappingURL=linkedtexttype-dm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkedtexttype-dm.d.ts","sourceRoot":"","sources":["../../../../src/doxygen/data-model/compounds/linkedtexttype-dm.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAE3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"linkedtexttype-dm.d.ts","sourceRoot":"","sources":["../../../../src/doxygen/data-model/compounds/linkedtexttype-dm.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAE3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AA2BnD,8BAAsB,sBAAuB,SAAQ,qBAAqB;gBAmB5D,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;CAqCxE;AAiCD,qBAAa,oBAAqB,SAAQ,sBAAsB;gBAalD,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM;CAInD;AAiBD,qBAAa,uBAAwB,SAAQ,sBAAsB;gBAarD,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM;CAInD;AAiBD,qBAAa,aAAc,SAAQ,sBAAsB;gBAY3C,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM;CAInD;AAiBD,qBAAa,eAAgB,SAAQ,sBAAsB;gBAY7C,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM;CAInD;AAiBD,qBAAa,uBAAwB,SAAQ,sBAAsB;gBAarD,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM;CAInD"}
|
|
@@ -1,64 +1,10 @@
|
|
|
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 * as util from 'node:util';
|
|
14
3
|
import { RefTextDataModel } from './reftexttype-dm.js';
|
|
15
4
|
import { AbstractDataModelBase } from '../types.js';
|
|
16
|
-
// ----------------------------------------------------------------------------
|
|
17
|
-
// <xsd:complexType name="linkedTextType" mixed="true"> <-- Character data is allowed to appear between the child elements!
|
|
18
|
-
// <xsd:sequence>
|
|
19
|
-
// <xsd:element name="ref" type="refTextType" minOccurs="0" maxOccurs="unbounded" />
|
|
20
|
-
// </xsd:sequence>
|
|
21
|
-
// </xsd:complexType>
|
|
22
|
-
/**
|
|
23
|
-
* Abstract base class for linked text elements within documentation content.
|
|
24
|
-
*
|
|
25
|
-
* @remarks
|
|
26
|
-
* Implements processing for linked text elements that contain mixed content
|
|
27
|
-
* including both textual content and reference elements. This class handles
|
|
28
|
-
* the XML Schema definition for linkedTextType elements, which support
|
|
29
|
-
* character data interspersed with reference elements that provide
|
|
30
|
-
* cross-linking capabilities within documentation structures.
|
|
31
|
-
*
|
|
32
|
-
* The implementation processes sequences of text strings and RefTextDataModel
|
|
33
|
-
* instances, maintaining their original order to preserve the intended
|
|
34
|
-
* content flow whilst enabling interactive cross-references within the
|
|
35
|
-
* generated documentation.
|
|
36
|
-
*
|
|
37
|
-
* @public
|
|
38
|
-
*/
|
|
39
5
|
export class AbstractLinkedTextType extends AbstractDataModelBase {
|
|
40
|
-
/**
|
|
41
|
-
* Constructs an AbstractLinkedTextType instance from XML element data.
|
|
42
|
-
*
|
|
43
|
-
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
44
|
-
* @param element - The XML element object containing the linked text data
|
|
45
|
-
* @param elementName - The name of the XML element being processed
|
|
46
|
-
*
|
|
47
|
-
* @remarks
|
|
48
|
-
* This constructor processes linked text elements by extracting both
|
|
49
|
-
* textual content and reference elements in their original order. The
|
|
50
|
-
* parser maintains the mixed content structure whilst creating appropriate
|
|
51
|
-
* RefTextDataModel instances for cross-reference elements, ensuring
|
|
52
|
-
* proper content flow and interactive linking capabilities within the
|
|
53
|
-
* documentation system.
|
|
54
|
-
*/
|
|
55
|
-
// Any sequence of them.
|
|
56
|
-
// children: Array<string | AbstractRefTextType> = []
|
|
57
6
|
constructor(xml, element, elementName) {
|
|
58
7
|
super(elementName);
|
|
59
|
-
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
60
|
-
// ------------------------------------------------------------------------
|
|
61
|
-
// Process elements.
|
|
62
8
|
const innerElements = xml.getInnerElements(element, elementName);
|
|
63
9
|
this.children = [];
|
|
64
10
|
for (const innerElement of innerElements) {
|
|
@@ -73,153 +19,32 @@ export class AbstractLinkedTextType extends AbstractDataModelBase {
|
|
|
73
19
|
console.error(`${elementName} element:`, Object.keys(innerElement), 'not implemented yet in', this.constructor.name);
|
|
74
20
|
}
|
|
75
21
|
}
|
|
76
|
-
// ------------------------------------------------------------------------
|
|
77
|
-
// Process attributes.
|
|
78
22
|
assert(!xml.hasAttributes(element));
|
|
79
|
-
// ------------------------------------------------------------------------
|
|
80
|
-
// console.log(util.inspect(this, { compact: false, depth: 999 }))
|
|
81
23
|
}
|
|
82
24
|
}
|
|
83
|
-
// ----------------------------------------------------------------------------
|
|
84
|
-
// <xsd:element name="requiresclause" type="linkedTextType" minOccurs="0" />
|
|
85
|
-
// <xsd:element name="initializer" type="linkedTextType" minOccurs="0" />
|
|
86
|
-
// <xsd:element name="type" type="linkedTextType" minOccurs="0" />
|
|
87
|
-
// <xsd:element name="requiresclause" type="linkedTextType" minOccurs="0" />
|
|
88
|
-
// <xsd:element name="initializer" type="linkedTextType" minOccurs="0" />
|
|
89
|
-
// <xsd:element name="exceptions" type="linkedTextType" minOccurs="0" />
|
|
90
|
-
// <xsd:element name="initializer" type="linkedTextType" minOccurs="0" />
|
|
91
|
-
// <xsd:element name="type" type="linkedTextType" minOccurs="0" />
|
|
92
|
-
// <xsd:element name="defval" type="linkedTextType" minOccurs="0" />
|
|
93
|
-
// <xsd:element name="typeconstraint" type="linkedTextType" minOccurs="0" />
|
|
94
|
-
/**
|
|
95
|
-
* Data model for initializer elements within documentation content.
|
|
96
|
-
*
|
|
97
|
-
* @remarks
|
|
98
|
-
* Represents initializer elements that contain variable or member
|
|
99
|
-
* initialization expressions within source code documentation. This
|
|
100
|
-
* implementation processes Doxygen's initializer elements, which contain
|
|
101
|
-
* mixed text and reference content describing the initial values assigned
|
|
102
|
-
* to variables, constants, or class members.
|
|
103
|
-
*
|
|
104
|
-
* The linked text structure enables cross-references to types and symbols
|
|
105
|
-
* used within initialization expressions.
|
|
106
|
-
*
|
|
107
|
-
* @public
|
|
108
|
-
*/
|
|
109
25
|
export class InitializerDataModel extends AbstractLinkedTextType {
|
|
110
|
-
/**
|
|
111
|
-
* Constructs an InitializerDataModel from XML element data.
|
|
112
|
-
*
|
|
113
|
-
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
114
|
-
* @param element - The XML element object containing the initializer data
|
|
115
|
-
*
|
|
116
|
-
* @remarks
|
|
117
|
-
* This constructor delegates to the parent AbstractLinkedTextType to
|
|
118
|
-
* handle linked text processing whilst identifying the element as
|
|
119
|
-
* 'initializer' for proper XML schema compliance and initialization
|
|
120
|
-
* expression content processing.
|
|
121
|
-
*/
|
|
122
26
|
constructor(xml, element) {
|
|
123
|
-
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
124
27
|
super(xml, element, 'initializer');
|
|
125
28
|
}
|
|
126
29
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
* within source code documentation. This implementation processes Doxygen's
|
|
133
|
-
* type elements, which contain mixed text and reference content describing
|
|
134
|
-
* data types, including primitive types, class names, template parameters,
|
|
135
|
-
* and complex type expressions.
|
|
136
|
-
*
|
|
137
|
-
* The linked text structure enables cross-references to type definitions
|
|
138
|
-
* and related documentation within the type expressions.
|
|
139
|
-
*
|
|
140
|
-
* @public
|
|
141
|
-
*/
|
|
30
|
+
export class RequiresClauseDataModel extends AbstractLinkedTextType {
|
|
31
|
+
constructor(xml, element) {
|
|
32
|
+
super(xml, element, 'requiresclause');
|
|
33
|
+
}
|
|
34
|
+
}
|
|
142
35
|
export class TypeDataModel extends AbstractLinkedTextType {
|
|
143
|
-
/**
|
|
144
|
-
* Constructs a TypeDataModel from XML element data.
|
|
145
|
-
*
|
|
146
|
-
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
147
|
-
* @param element - The XML element object containing the type data
|
|
148
|
-
*
|
|
149
|
-
* @remarks
|
|
150
|
-
* This constructor delegates to the parent AbstractLinkedTextType to
|
|
151
|
-
* handle linked text processing whilst identifying the element as 'type'
|
|
152
|
-
* for proper XML schema compliance and type information content processing.
|
|
153
|
-
*/
|
|
154
36
|
constructor(xml, element) {
|
|
155
|
-
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
156
37
|
super(xml, element, 'type');
|
|
157
38
|
}
|
|
158
39
|
}
|
|
159
|
-
/**
|
|
160
|
-
* Data model for default value elements within documentation content.
|
|
161
|
-
*
|
|
162
|
-
* @remarks
|
|
163
|
-
* Represents default value elements that contain parameter default values
|
|
164
|
-
* within function and method documentation. This implementation processes
|
|
165
|
-
* Doxygen's defval elements, which contain mixed text and reference content
|
|
166
|
-
* describing the default values assigned to function parameters when no
|
|
167
|
-
* explicit value is provided during function calls.
|
|
168
|
-
*
|
|
169
|
-
* The linked text structure enables cross-references to constants, enums,
|
|
170
|
-
* and other symbols used within default value expressions.
|
|
171
|
-
*
|
|
172
|
-
* @public
|
|
173
|
-
*/
|
|
174
40
|
export class DefValDataModel extends AbstractLinkedTextType {
|
|
175
|
-
/**
|
|
176
|
-
* Constructs a DefValDataModel from XML element data.
|
|
177
|
-
*
|
|
178
|
-
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
179
|
-
* @param element - The XML element object containing the default value data
|
|
180
|
-
*
|
|
181
|
-
* @remarks
|
|
182
|
-
* This constructor delegates to the parent AbstractLinkedTextType to
|
|
183
|
-
* handle linked text processing whilst identifying the element as 'defval'
|
|
184
|
-
* for proper XML schema compliance and default value content processing.
|
|
185
|
-
*/
|
|
186
41
|
constructor(xml, element) {
|
|
187
|
-
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
188
42
|
super(xml, element, 'defval');
|
|
189
43
|
}
|
|
190
44
|
}
|
|
191
|
-
/**
|
|
192
|
-
* Data model for type constraint elements within documentation content.
|
|
193
|
-
*
|
|
194
|
-
* @remarks
|
|
195
|
-
* Represents type constraint elements that contain template and generic
|
|
196
|
-
* type constraint information within source code documentation. This
|
|
197
|
-
* implementation processes Doxygen's typeconstraint elements, which contain
|
|
198
|
-
* mixed text and reference content describing constraints applied to
|
|
199
|
-
* template parameters and generic types.
|
|
200
|
-
*
|
|
201
|
-
* The linked text structure enables cross-references to constraint types,
|
|
202
|
-
* concepts, and related template documentation within constraint expressions.
|
|
203
|
-
*
|
|
204
|
-
* @public
|
|
205
|
-
*/
|
|
206
45
|
export class TypeConstraintDataModel extends AbstractLinkedTextType {
|
|
207
|
-
/**
|
|
208
|
-
* Constructs a TypeConstraintDataModel from XML element data.
|
|
209
|
-
*
|
|
210
|
-
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
211
|
-
* @param element - The XML element object containing the type constraint data
|
|
212
|
-
*
|
|
213
|
-
* @remarks
|
|
214
|
-
* This constructor delegates to the parent AbstractLinkedTextType to
|
|
215
|
-
* handle linked text processing whilst identifying the element as
|
|
216
|
-
* 'typeconstraint' for proper XML schema compliance and type constraint
|
|
217
|
-
* content processing.
|
|
218
|
-
*/
|
|
219
46
|
constructor(xml, element) {
|
|
220
|
-
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
221
47
|
super(xml, element, 'typeconstraint');
|
|
222
48
|
}
|
|
223
49
|
}
|
|
224
|
-
// ----------------------------------------------------------------------------
|
|
225
50
|
//# sourceMappingURL=linkedtexttype-dm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linkedtexttype-dm.js","sourceRoot":"","sources":["../../../../src/doxygen/data-model/compounds/linkedtexttype-dm.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"linkedtexttype-dm.js","sourceRoot":"","sources":["../../../../src/doxygen/data-model/compounds/linkedtexttype-dm.ts"],"names":[],"mappings":"AAaA,OAAO,MAAM,MAAM,aAAa,CAAA;AAChC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAA;AAGjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AA2BnD,MAAM,OAAgB,sBAAuB,SAAQ,qBAAqB;IAmBxE,YAAY,GAAqB,EAAE,OAAe,EAAE,WAAmB;QACrE,KAAK,CAAC,WAAW,CAAC,CAAA;QAOlB,MAAM,aAAa,GAAG,GAAG,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAA;QAEhE,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAA;QAElB,KAAK,MAAM,YAAY,IAAI,aAAa,EAAE,CAAC;YACzC,IAAI,GAAG,CAAC,YAAY,CAAC,YAAY,CAAC,EAAE,CAAC;gBACnC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC,CAAA;YACpD,CAAC;iBAAM,IAAI,GAAG,CAAC,eAAe,CAAC,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC;gBACpD,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,gBAAgB,CAAC,GAAG,EAAE,YAAY,CAAC,CAAC,CAAA;YAC7D,CAAC;iBAAM,CAAC;gBACN,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAA;gBACzC,OAAO,CAAC,KAAK,CACX,GAAG,WAAW,WAAW,EACzB,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,EACzB,wBAAwB,EACxB,IAAI,CAAC,WAAW,CAAC,IAAI,CACtB,CAAA;YACH,CAAC;QACH,CAAC;QAKD,MAAM,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAA;IAKrC,CAAC;CACF;AAiCD,MAAM,OAAO,oBAAqB,SAAQ,sBAAsB;IAa9D,YAAY,GAAqB,EAAE,OAAe;QAEhD,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,aAAa,CAAC,CAAA;IACpC,CAAC;CACF;AAiBD,MAAM,OAAO,uBAAwB,SAAQ,sBAAsB;IAajE,YAAY,GAAqB,EAAE,OAAe;QAEhD,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,gBAAgB,CAAC,CAAA;IACvC,CAAC;CACF;AAiBD,MAAM,OAAO,aAAc,SAAQ,sBAAsB;IAYvD,YAAY,GAAqB,EAAE,OAAe;QAEhD,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,MAAM,CAAC,CAAA;IAC7B,CAAC;CACF;AAiBD,MAAM,OAAO,eAAgB,SAAQ,sBAAsB;IAYzD,YAAY,GAAqB,EAAE,OAAe;QAEhD,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAA;IAC/B,CAAC;CACF;AAiBD,MAAM,OAAO,uBAAwB,SAAQ,sBAAsB;IAajE,YAAY,GAAqB,EAAE,OAAe;QAEhD,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,gBAAgB,CAAC,CAAA;IACvC,CAAC;CACF"}
|