@xpack/doxygen2docusaurus 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (350) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +2 -1
  3. package/bin/doxygen2docusaurus.js +1 -1
  4. package/dist/cli/main.d.ts +0 -14
  5. package/dist/cli/main.d.ts.map +1 -1
  6. package/dist/cli/main.js +0 -34
  7. package/dist/cli/main.js.map +1 -1
  8. package/dist/docusaurus/cli-options.d.ts +3 -292
  9. package/dist/docusaurus/cli-options.d.ts.map +1 -1
  10. package/dist/docusaurus/cli-options.js +6 -290
  11. package/dist/docusaurus/cli-options.js.map +1 -1
  12. package/dist/docusaurus/generator.d.ts +0 -172
  13. package/dist/docusaurus/generator.d.ts.map +1 -1
  14. package/dist/docusaurus/generator.js +20 -280
  15. package/dist/docusaurus/generator.js.map +1 -1
  16. package/dist/docusaurus/renderers/descriptiontype.d.ts +0 -417
  17. package/dist/docusaurus/renderers/descriptiontype.d.ts.map +1 -1
  18. package/dist/docusaurus/renderers/descriptiontype.js +11 -555
  19. package/dist/docusaurus/renderers/descriptiontype.js.map +1 -1
  20. package/dist/docusaurus/renderers/docinternalstype.d.ts +0 -132
  21. package/dist/docusaurus/renderers/docinternalstype.d.ts.map +1 -1
  22. package/dist/docusaurus/renderers/docinternalstype.js +0 -156
  23. package/dist/docusaurus/renderers/docinternalstype.js.map +1 -1
  24. package/dist/docusaurus/renderers/doclisttype.d.ts +0 -22
  25. package/dist/docusaurus/renderers/doclisttype.d.ts.map +1 -1
  26. package/dist/docusaurus/renderers/doclisttype.js +0 -42
  27. package/dist/docusaurus/renderers/doclisttype.js.map +1 -1
  28. package/dist/docusaurus/renderers/doctabletype.d.ts +0 -88
  29. package/dist/docusaurus/renderers/doctabletype.d.ts.map +1 -1
  30. package/dist/docusaurus/renderers/doctabletype.js +1 -113
  31. package/dist/docusaurus/renderers/doctabletype.js.map +1 -1
  32. package/dist/docusaurus/renderers/doctitletype.d.ts +0 -22
  33. package/dist/docusaurus/renderers/doctitletype.d.ts.map +1 -1
  34. package/dist/docusaurus/renderers/doctitletype.js +0 -42
  35. package/dist/docusaurus/renderers/doctitletype.js.map +1 -1
  36. package/dist/docusaurus/renderers/docvariablelisttype.d.ts +0 -44
  37. package/dist/docusaurus/renderers/docvariablelisttype.d.ts.map +1 -1
  38. package/dist/docusaurus/renderers/docvariablelisttype.js +1 -69
  39. package/dist/docusaurus/renderers/docvariablelisttype.js.map +1 -1
  40. package/dist/docusaurus/renderers/docxrefsecttype.d.ts +0 -22
  41. package/dist/docusaurus/renderers/docxrefsecttype.d.ts.map +1 -1
  42. package/dist/docusaurus/renderers/docxrefsecttype.js +0 -38
  43. package/dist/docusaurus/renderers/docxrefsecttype.js.map +1 -1
  44. package/dist/docusaurus/renderers/element-renderer-base.d.ts +0 -74
  45. package/dist/docusaurus/renderers/element-renderer-base.d.ts.map +1 -1
  46. package/dist/docusaurus/renderers/element-renderer-base.js +0 -64
  47. package/dist/docusaurus/renderers/element-renderer-base.js.map +1 -1
  48. package/dist/docusaurus/renderers/inctype.d.ts +0 -23
  49. package/dist/docusaurus/renderers/inctype.d.ts.map +1 -1
  50. package/dist/docusaurus/renderers/inctype.js +0 -41
  51. package/dist/docusaurus/renderers/inctype.js.map +1 -1
  52. package/dist/docusaurus/renderers/linkedtexttype.d.ts +0 -22
  53. package/dist/docusaurus/renderers/linkedtexttype.d.ts.map +1 -1
  54. package/dist/docusaurus/renderers/linkedtexttype.js +0 -45
  55. package/dist/docusaurus/renderers/linkedtexttype.js.map +1 -1
  56. package/dist/docusaurus/renderers/listingtype.d.ts +0 -52
  57. package/dist/docusaurus/renderers/listingtype.d.ts.map +1 -1
  58. package/dist/docusaurus/renderers/listingtype.js +1 -88
  59. package/dist/docusaurus/renderers/listingtype.js.map +1 -1
  60. package/dist/docusaurus/renderers/paramtype.d.ts +0 -22
  61. package/dist/docusaurus/renderers/paramtype.d.ts.map +1 -1
  62. package/dist/docusaurus/renderers/paramtype.js +2 -51
  63. package/dist/docusaurus/renderers/paramtype.js.map +1 -1
  64. package/dist/docusaurus/renderers/referencetype.d.ts +0 -23
  65. package/dist/docusaurus/renderers/referencetype.d.ts.map +1 -1
  66. package/dist/docusaurus/renderers/referencetype.js +0 -38
  67. package/dist/docusaurus/renderers/referencetype.js.map +1 -1
  68. package/dist/docusaurus/renderers/reftexttype.d.ts +0 -22
  69. package/dist/docusaurus/renderers/reftexttype.d.ts.map +1 -1
  70. package/dist/docusaurus/renderers/reftexttype.js +0 -38
  71. package/dist/docusaurus/renderers/reftexttype.js.map +1 -1
  72. package/dist/docusaurus/renderers/reftype.d.ts +0 -22
  73. package/dist/docusaurus/renderers/reftype.d.ts.map +1 -1
  74. package/dist/docusaurus/renderers/reftype.js +0 -38
  75. package/dist/docusaurus/renderers/reftype.js.map +1 -1
  76. package/dist/docusaurus/renderers/renderers.d.ts +0 -151
  77. package/dist/docusaurus/renderers/renderers.d.ts.map +1 -1
  78. package/dist/docusaurus/renderers/renderers.js +4 -184
  79. package/dist/docusaurus/renderers/renderers.js.map +1 -1
  80. package/dist/docusaurus/renderers/substringtype.d.ts +0 -22
  81. package/dist/docusaurus/renderers/substringtype.d.ts.map +1 -1
  82. package/dist/docusaurus/renderers/substringtype.js +0 -39
  83. package/dist/docusaurus/renderers/substringtype.js.map +1 -1
  84. package/dist/docusaurus/renderers/tableofcontentstype.d.ts +0 -22
  85. package/dist/docusaurus/renderers/tableofcontentstype.d.ts.map +1 -1
  86. package/dist/docusaurus/renderers/tableofcontentstype.js +0 -39
  87. package/dist/docusaurus/renderers/tableofcontentstype.js.map +1 -1
  88. package/dist/docusaurus/types.d.ts +0 -110
  89. package/dist/docusaurus/types.d.ts.map +1 -1
  90. package/dist/docusaurus/types.js +0 -11
  91. package/dist/docusaurus/types.js.map +1 -1
  92. package/dist/docusaurus/utils.d.ts +0 -214
  93. package/dist/docusaurus/utils.d.ts.map +1 -1
  94. package/dist/docusaurus/utils.js +0 -296
  95. package/dist/docusaurus/utils.js.map +1 -1
  96. package/dist/docusaurus/view-model/classes-vm.d.ts +0 -137
  97. package/dist/docusaurus/view-model/classes-vm.d.ts.map +1 -1
  98. package/dist/docusaurus/view-model/classes-vm.js +9 -225
  99. package/dist/docusaurus/view-model/classes-vm.js.map +1 -1
  100. package/dist/docusaurus/view-model/collection-base.d.ts +0 -120
  101. package/dist/docusaurus/view-model/collection-base.d.ts.map +1 -1
  102. package/dist/docusaurus/view-model/collection-base.js +11 -101
  103. package/dist/docusaurus/view-model/collection-base.js.map +1 -1
  104. package/dist/docusaurus/view-model/compound-base-vm.d.ts +2 -147
  105. package/dist/docusaurus/view-model/compound-base-vm.d.ts.map +1 -1
  106. package/dist/docusaurus/view-model/compound-base-vm.js +47 -225
  107. package/dist/docusaurus/view-model/compound-base-vm.js.map +1 -1
  108. package/dist/docusaurus/view-model/concepts-vm.d.ts +26 -0
  109. package/dist/docusaurus/view-model/concepts-vm.d.ts.map +1 -0
  110. package/dist/docusaurus/view-model/concepts-vm.js +329 -0
  111. package/dist/docusaurus/view-model/concepts-vm.js.map +1 -0
  112. package/dist/docusaurus/view-model/description-anchors.d.ts +0 -58
  113. package/dist/docusaurus/view-model/description-anchors.d.ts.map +1 -1
  114. package/dist/docusaurus/view-model/description-anchors.js +0 -71
  115. package/dist/docusaurus/view-model/description-anchors.js.map +1 -1
  116. package/dist/docusaurus/view-model/files-and-folders-vm.d.ts +0 -247
  117. package/dist/docusaurus/view-model/files-and-folders-vm.d.ts.map +1 -1
  118. package/dist/docusaurus/view-model/files-and-folders-vm.js +61 -353
  119. package/dist/docusaurus/view-model/files-and-folders-vm.js.map +1 -1
  120. package/dist/docusaurus/view-model/groups-vm.d.ts +0 -148
  121. package/dist/docusaurus/view-model/groups-vm.d.ts.map +1 -1
  122. package/dist/docusaurus/view-model/groups-vm.js +2 -223
  123. package/dist/docusaurus/view-model/groups-vm.js.map +1 -1
  124. package/dist/docusaurus/view-model/members-vm.d.ts +0 -552
  125. package/dist/docusaurus/view-model/members-vm.d.ts.map +1 -1
  126. package/dist/docusaurus/view-model/members-vm.js +17 -702
  127. package/dist/docusaurus/view-model/members-vm.js.map +1 -1
  128. package/dist/docusaurus/view-model/namespaces-vm.d.ts +4 -199
  129. package/dist/docusaurus/view-model/namespaces-vm.d.ts.map +1 -1
  130. package/dist/docusaurus/view-model/namespaces-vm.js +79 -284
  131. package/dist/docusaurus/view-model/namespaces-vm.js.map +1 -1
  132. package/dist/docusaurus/view-model/options.d.ts +0 -43
  133. package/dist/docusaurus/view-model/options.d.ts.map +1 -1
  134. package/dist/docusaurus/view-model/options.js +0 -57
  135. package/dist/docusaurus/view-model/options.js.map +1 -1
  136. package/dist/docusaurus/view-model/pages-vm.d.ts +0 -115
  137. package/dist/docusaurus/view-model/pages-vm.d.ts.map +1 -1
  138. package/dist/docusaurus/view-model/pages-vm.js +0 -162
  139. package/dist/docusaurus/view-model/pages-vm.js.map +1 -1
  140. package/dist/docusaurus/view-model/tree-entries-vm.d.ts +8 -142
  141. package/dist/docusaurus/view-model/tree-entries-vm.d.ts.map +1 -1
  142. package/dist/docusaurus/view-model/tree-entries-vm.js +54 -174
  143. package/dist/docusaurus/view-model/tree-entries-vm.js.map +1 -1
  144. package/dist/docusaurus/view-model/view-model.d.ts +0 -125
  145. package/dist/docusaurus/view-model/view-model.d.ts.map +1 -1
  146. package/dist/docusaurus/view-model/view-model.js +20 -182
  147. package/dist/docusaurus/view-model/view-model.js.map +1 -1
  148. package/dist/docusaurus/workspace.d.ts +1 -126
  149. package/dist/docusaurus/workspace.d.ts.map +1 -1
  150. package/dist/docusaurus/workspace.js +8 -221
  151. package/dist/docusaurus/workspace.js.map +1 -1
  152. package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts +5 -492
  153. package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts.map +1 -1
  154. package/dist/doxygen/data-model/compounds/compounddef-dm.js +23 -672
  155. package/dist/doxygen/data-model/compounds/compounddef-dm.js.map +1 -1
  156. package/dist/doxygen/data-model/compounds/compoundreftype-dm.d.ts +0 -129
  157. package/dist/doxygen/data-model/compounds/compoundreftype-dm.d.ts.map +1 -1
  158. package/dist/doxygen/data-model/compounds/compoundreftype-dm.js +1 -145
  159. package/dist/doxygen/data-model/compounds/compoundreftype-dm.js.map +1 -1
  160. package/dist/doxygen/data-model/compounds/descriptiontype-dm.d.ts +104 -2848
  161. package/dist/doxygen/data-model/compounds/descriptiontype-dm.d.ts.map +1 -1
  162. package/dist/doxygen/data-model/compounds/descriptiontype-dm.js +73 -3975
  163. package/dist/doxygen/data-model/compounds/descriptiontype-dm.js.map +1 -1
  164. package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.d.ts +0 -165
  165. package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.d.ts.map +1 -1
  166. package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.js +0 -229
  167. package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.js.map +1 -1
  168. package/dist/doxygen/data-model/compounds/doxygentype-dm.d.ts +0 -70
  169. package/dist/doxygen/data-model/compounds/doxygentype-dm.d.ts.map +1 -1
  170. package/dist/doxygen/data-model/compounds/doxygentype-dm.js +0 -105
  171. package/dist/doxygen/data-model/compounds/doxygentype-dm.js.map +1 -1
  172. package/dist/doxygen/data-model/compounds/enumvaluetype-dm.d.ts +0 -84
  173. package/dist/doxygen/data-model/compounds/enumvaluetype-dm.d.ts.map +1 -1
  174. package/dist/doxygen/data-model/compounds/enumvaluetype-dm.js +1 -122
  175. package/dist/doxygen/data-model/compounds/enumvaluetype-dm.js.map +1 -1
  176. package/dist/doxygen/data-model/compounds/inctype-dm.d.ts +0 -116
  177. package/dist/doxygen/data-model/compounds/inctype-dm.d.ts.map +1 -1
  178. package/dist/doxygen/data-model/compounds/inctype-dm.js +3 -155
  179. package/dist/doxygen/data-model/compounds/inctype-dm.js.map +1 -1
  180. package/dist/doxygen/data-model/compounds/linkedtexttype-dm.d.ts +3 -138
  181. package/dist/doxygen/data-model/compounds/linkedtexttype-dm.d.ts.map +1 -1
  182. package/dist/doxygen/data-model/compounds/linkedtexttype-dm.js +5 -180
  183. package/dist/doxygen/data-model/compounds/linkedtexttype-dm.js.map +1 -1
  184. package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.d.ts +0 -76
  185. package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.d.ts.map +1 -1
  186. package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.js +0 -107
  187. package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.js.map +1 -1
  188. package/dist/doxygen/data-model/compounds/locationtype-dm.d.ts +0 -162
  189. package/dist/doxygen/data-model/compounds/locationtype-dm.d.ts.map +1 -1
  190. package/dist/doxygen/data-model/compounds/locationtype-dm.js +4 -203
  191. package/dist/doxygen/data-model/compounds/locationtype-dm.js.map +1 -1
  192. package/dist/doxygen/data-model/compounds/memberdeftype-dm.d.ts +2 -443
  193. package/dist/doxygen/data-model/compounds/memberdeftype-dm.d.ts.map +1 -1
  194. package/dist/doxygen/data-model/compounds/memberdeftype-dm.js +19 -475
  195. package/dist/doxygen/data-model/compounds/memberdeftype-dm.js.map +1 -1
  196. package/dist/doxygen/data-model/compounds/memberreftype-dm.d.ts +0 -141
  197. package/dist/doxygen/data-model/compounds/memberreftype-dm.d.ts.map +1 -1
  198. package/dist/doxygen/data-model/compounds/memberreftype-dm.js +0 -176
  199. package/dist/doxygen/data-model/compounds/memberreftype-dm.js.map +1 -1
  200. package/dist/doxygen/data-model/compounds/membertype-dm.d.ts +0 -101
  201. package/dist/doxygen/data-model/compounds/membertype-dm.d.ts.map +1 -1
  202. package/dist/doxygen/data-model/compounds/membertype-dm.js +0 -115
  203. package/dist/doxygen/data-model/compounds/membertype-dm.js.map +1 -1
  204. package/dist/doxygen/data-model/compounds/paramtype-dm.d.ts +0 -164
  205. package/dist/doxygen/data-model/compounds/paramtype-dm.d.ts.map +1 -1
  206. package/dist/doxygen/data-model/compounds/paramtype-dm.js +0 -208
  207. package/dist/doxygen/data-model/compounds/paramtype-dm.js.map +1 -1
  208. package/dist/doxygen/data-model/compounds/referencetype-dm.d.ts +0 -139
  209. package/dist/doxygen/data-model/compounds/referencetype-dm.d.ts.map +1 -1
  210. package/dist/doxygen/data-model/compounds/referencetype-dm.js +2 -175
  211. package/dist/doxygen/data-model/compounds/referencetype-dm.js.map +1 -1
  212. package/dist/doxygen/data-model/compounds/reftexttype-dm.d.ts +0 -120
  213. package/dist/doxygen/data-model/compounds/reftexttype-dm.d.ts.map +1 -1
  214. package/dist/doxygen/data-model/compounds/reftexttype-dm.js +2 -141
  215. package/dist/doxygen/data-model/compounds/reftexttype-dm.js.map +1 -1
  216. package/dist/doxygen/data-model/compounds/reftype-dm.d.ts +0 -268
  217. package/dist/doxygen/data-model/compounds/reftype-dm.d.ts.map +1 -1
  218. package/dist/doxygen/data-model/compounds/reftype-dm.js +4 -326
  219. package/dist/doxygen/data-model/compounds/reftype-dm.js.map +1 -1
  220. package/dist/doxygen/data-model/compounds/reimplementtype-dm.d.ts +0 -105
  221. package/dist/doxygen/data-model/compounds/reimplementtype-dm.d.ts.map +1 -1
  222. package/dist/doxygen/data-model/compounds/reimplementtype-dm.js +1 -139
  223. package/dist/doxygen/data-model/compounds/reimplementtype-dm.js.map +1 -1
  224. package/dist/doxygen/data-model/compounds/sectiondeftype-dm.d.ts +0 -168
  225. package/dist/doxygen/data-model/compounds/sectiondeftype-dm.d.ts.map +1 -1
  226. package/dist/doxygen/data-model/compounds/sectiondeftype-dm.js +0 -209
  227. package/dist/doxygen/data-model/compounds/sectiondeftype-dm.js.map +1 -1
  228. package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.d.ts +0 -267
  229. package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.d.ts.map +1 -1
  230. package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.js +0 -354
  231. package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.js.map +1 -1
  232. package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.d.ts +0 -66
  233. package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.d.ts.map +1 -1
  234. package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.js +0 -97
  235. package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.js.map +1 -1
  236. package/dist/doxygen/data-model/data-model.d.ts +0 -149
  237. package/dist/doxygen/data-model/data-model.d.ts.map +1 -1
  238. package/dist/doxygen/data-model/data-model.js +4 -197
  239. package/dist/doxygen/data-model/data-model.js.map +1 -1
  240. package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.d.ts +0 -115
  241. package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.d.ts.map +1 -1
  242. package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.js +4 -129
  243. package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.js.map +1 -1
  244. package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.d.ts +0 -87
  245. package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.d.ts.map +1 -1
  246. package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.js +0 -118
  247. package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.js.map +1 -1
  248. package/dist/doxygen/data-model/doxygen-xml-parser.d.ts +0 -253
  249. package/dist/doxygen/data-model/doxygen-xml-parser.d.ts.map +1 -1
  250. package/dist/doxygen/data-model/doxygen-xml-parser.js +0 -291
  251. package/dist/doxygen/data-model/doxygen-xml-parser.js.map +1 -1
  252. package/dist/doxygen/data-model/index/indexcompoundtype-dm.d.ts +0 -98
  253. package/dist/doxygen/data-model/index/indexcompoundtype-dm.d.ts.map +1 -1
  254. package/dist/doxygen/data-model/index/indexcompoundtype-dm.js +2 -122
  255. package/dist/doxygen/data-model/index/indexcompoundtype-dm.js.map +1 -1
  256. package/dist/doxygen/data-model/index/indexdoxygentype-dm.d.ts +0 -82
  257. package/dist/doxygen/data-model/index/indexdoxygentype-dm.d.ts.map +1 -1
  258. package/dist/doxygen/data-model/index/indexdoxygentype-dm.js +0 -114
  259. package/dist/doxygen/data-model/index/indexdoxygentype-dm.js.map +1 -1
  260. package/dist/doxygen/data-model/index/indexmembertype-dm.d.ts +0 -85
  261. package/dist/doxygen/data-model/index/indexmembertype-dm.d.ts.map +1 -1
  262. package/dist/doxygen/data-model/index/indexmembertype-dm.js +1 -107
  263. package/dist/doxygen/data-model/index/indexmembertype-dm.js.map +1 -1
  264. package/dist/doxygen/data-model/types.d.ts +0 -104
  265. package/dist/doxygen/data-model/types.d.ts.map +1 -1
  266. package/dist/doxygen/data-model/types.js +0 -52
  267. package/dist/doxygen/data-model/types.js.map +1 -1
  268. package/dist/index.d.ts +4 -16
  269. package/dist/index.d.ts.map +1 -1
  270. package/dist/index.js +4 -42
  271. package/dist/index.js.map +1 -1
  272. package/package.json +45 -51
  273. package/src/cli/main.ts +122 -0
  274. package/src/docusaurus/cli-options.ts +560 -0
  275. package/src/docusaurus/generator.ts +788 -0
  276. package/src/docusaurus/renderers/descriptiontype.ts +1299 -0
  277. package/src/docusaurus/renderers/docinternalstype.ts +354 -0
  278. package/src/docusaurus/renderers/doclisttype.ts +134 -0
  279. package/src/docusaurus/renderers/doctabletype.ts +220 -0
  280. package/src/docusaurus/renderers/doctitletype.ts +77 -0
  281. package/src/docusaurus/renderers/docvariablelisttype.ts +123 -0
  282. package/src/docusaurus/renderers/docxrefsecttype.ts +84 -0
  283. package/src/docusaurus/renderers/element-renderer-base.ts +112 -0
  284. package/src/docusaurus/renderers/inctype.ts +75 -0
  285. package/src/docusaurus/renderers/linkedtexttype.ts +64 -0
  286. package/src/docusaurus/renderers/listingtype.ts +235 -0
  287. package/src/docusaurus/renderers/paramtype.ts +116 -0
  288. package/src/docusaurus/renderers/referencetype.ts +83 -0
  289. package/src/docusaurus/renderers/reftexttype.ts +81 -0
  290. package/src/docusaurus/renderers/reftype.ts +77 -0
  291. package/src/docusaurus/renderers/renderers.ts +756 -0
  292. package/src/docusaurus/renderers/substringtype.ts +53 -0
  293. package/src/docusaurus/renderers/tableofcontentstype.ts +74 -0
  294. package/src/docusaurus/types.ts +187 -0
  295. package/src/docusaurus/utils.ts +409 -0
  296. package/src/docusaurus/view-model/README.md +12 -0
  297. package/src/docusaurus/view-model/classes-vm.ts +1088 -0
  298. package/src/docusaurus/view-model/collection-base.ts +352 -0
  299. package/src/docusaurus/view-model/compound-base-vm.ts +1340 -0
  300. package/src/docusaurus/view-model/concepts-vm.ts +719 -0
  301. package/src/docusaurus/view-model/description-anchors.ts +107 -0
  302. package/src/docusaurus/view-model/files-and-folders-vm.ts +1293 -0
  303. package/src/docusaurus/view-model/groups-vm.ts +548 -0
  304. package/src/docusaurus/view-model/members-vm.ts +1943 -0
  305. package/src/docusaurus/view-model/namespaces-vm.ts +1018 -0
  306. package/src/docusaurus/view-model/options.ts +95 -0
  307. package/src/docusaurus/view-model/pages-vm.ts +342 -0
  308. package/src/docusaurus/view-model/tree-entries-vm.ts +376 -0
  309. package/src/docusaurus/view-model/view-model.ts +513 -0
  310. package/src/docusaurus/workspace.ts +588 -0
  311. package/src/doxygen/data-model/README.md +13 -0
  312. package/src/doxygen/data-model/compounds/compounddef-dm.ts +1156 -0
  313. package/src/doxygen/data-model/compounds/compoundreftype-dm.ts +266 -0
  314. package/src/doxygen/data-model/compounds/descriptiontype-dm.ts +10107 -0
  315. package/src/doxygen/data-model/compounds/docvarlistentrytype-dm.ts +354 -0
  316. package/src/doxygen/data-model/compounds/doxygentype-dm.ts +187 -0
  317. package/src/doxygen/data-model/compounds/enumvaluetype-dm.ts +218 -0
  318. package/src/doxygen/data-model/compounds/inctype-dm.ts +217 -0
  319. package/src/doxygen/data-model/compounds/linkedtexttype-dm.ts +288 -0
  320. package/src/doxygen/data-model/compounds/listofallmemberstype-dm.ts +160 -0
  321. package/src/doxygen/data-model/compounds/locationtype-dm.ts +284 -0
  322. package/src/doxygen/data-model/compounds/memberdeftype-dm.ts +874 -0
  323. package/src/doxygen/data-model/compounds/memberreftype-dm.ts +270 -0
  324. package/src/doxygen/data-model/compounds/membertype-dm.ts +239 -0
  325. package/src/doxygen/data-model/compounds/paramtype-dm.ts +302 -0
  326. package/src/doxygen/data-model/compounds/referencetype-dm.ts +248 -0
  327. package/src/doxygen/data-model/compounds/reftexttype-dm.ts +234 -0
  328. package/src/doxygen/data-model/compounds/reftype-dm.ts +430 -0
  329. package/src/doxygen/data-model/compounds/reimplementtype-dm.ts +201 -0
  330. package/src/doxygen/data-model/compounds/sectiondeftype-dm.ts +330 -0
  331. package/src/doxygen/data-model/compounds/tableofcontentstype-dm.ts +563 -0
  332. package/src/doxygen/data-model/compounds/templateparamlisttype-dm.ts +150 -0
  333. package/src/doxygen/data-model/data-model.ts +377 -0
  334. package/src/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.ts +271 -0
  335. package/src/doxygen/data-model/doxyfile/doxyfiletype-dm.ts +200 -0
  336. package/src/doxygen/data-model/doxygen-xml-parser.ts +522 -0
  337. package/src/doxygen/data-model/index/indexcompoundtype-dm.ts +256 -0
  338. package/src/doxygen/data-model/index/indexdoxygentype-dm.ts +196 -0
  339. package/src/doxygen/data-model/index/indexmembertype-dm.ts +230 -0
  340. package/src/doxygen/data-model/types.ts +175 -0
  341. package/src/doxygen/data-model/xsds/README.md +6 -0
  342. package/src/doxygen/data-model/xsds/compound.xsd +1699 -0
  343. package/src/doxygen/data-model/xsds/doxyfile.xsd +355 -0
  344. package/src/doxygen/data-model/xsds/index.xsd +72 -0
  345. package/src/doxygen/data-model/xsds/xml.xsd +23 -0
  346. package/src/index.ts +261 -0
  347. package/src/tsconfig.json +10 -0
  348. package/dist/doxygen2docusaurus.d.ts +0 -4774
  349. package/dist/tsconfig.tsbuildinfo +0 -1
  350. package/dist/tsdoc-metadata.json +0 -11
@@ -1,102 +1,18 @@
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 { IndexMemberDataModel } from './indexmembertype-dm.js';
15
4
  import { AbstractDataModelBase } from '../types.js';
16
- // ----------------------------------------------------------------------------
17
- // <xsd:complexType name="CompoundType">
18
- // <xsd:sequence>
19
- // <xsd:element name="name" type="xsd:string"/>
20
- // <xsd:element name="member" type="MemberType" minOccurs="0" maxOccurs="unbounded"/>
21
- // </xsd:sequence>
22
- // <xsd:attribute name="refid" type="xsd:string" use="required"/>
23
- // <xsd:attribute name="kind" type="CompoundKind" use="required"/>
24
- // </xsd:complexType>
25
- /**
26
- * Abstract base class for index compound type data models.
27
- *
28
- * @remarks
29
- * Represents compound elements found within Doxygen index XML structures,
30
- * corresponding to the CompoundType complex type in the XML schema. This
31
- * class handles the parsing of compound names, member collections, and
32
- * mandatory attributes (refid and kind). All concrete compound data model
33
- * classes should extend this abstract base to ensure consistent parsing
34
- * and data representation.
35
- *
36
- * @public
37
- */
38
5
  export class AbstractIndexCompoundType extends AbstractDataModelBase {
39
- /**
40
- * The name of the compound element.
41
- *
42
- * @remarks
43
- * Extracted from the mandatory 'name' element within the compound XML
44
- * structure. Represents the identifier or name of the documented compound
45
- * such as a class name, namespace, or filename.
46
- */
47
6
  name = '';
48
- /**
49
- * Collection of member data models associated with this compound.
50
- *
51
- * @remarks
52
- * Optional array containing member elements found within the compound
53
- * structure. Each member represents a documented entity that belongs
54
- * to this compound, such as functions, variables, or other nested
55
- * constructs. The array supports zero to many members as per the XML schema.
56
- */
57
- members; // [0-n]
58
- /**
59
- * The unique reference identifier for this compound.
60
- *
61
- * @remarks
62
- * Mandatory attribute that provides a unique identifier for referencing
63
- * this compound within the Doxygen documentation structure. Used to link
64
- * index entries to their detailed definitions in separate XML files.
65
- */
7
+ members;
66
8
  refid = '';
67
- /**
68
- * The kind classification of this compound.
69
- *
70
- * @remarks
71
- * Mandatory attribute specifying the type of compound (e.g., class, struct,
72
- * namespace, file). Corresponds to the CompoundKind enumeration in the
73
- * XML schema, determining how the compound should be processed and presented.
74
- */
75
- kind = ''; // CompoundKind
76
- /**
77
- * Constructs a new AbstractIndexCompoundType instance from XML data.
78
- *
79
- * @param xml - The Doxygen XML parser instance for processing XML elements
80
- * @param element - The XML element containing the compound data
81
- * @param elementName - The name of the XML element being processed
82
- *
83
- * @remarks
84
- * Parses the provided XML element to extract compound information including
85
- * the name element, member collections, and mandatory attributes (refid and
86
- * kind). The constructor validates that all required data is present and
87
- * properly formatted according to the XML schema specifications. Member
88
- * elements are processed into IndexMemberDataModel instances when present.
89
- */
9
+ kind = '';
90
10
  constructor(xml, element, elementName) {
91
11
  super(elementName);
92
- // console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
93
- // ------------------------------------------------------------------------
94
- // Process elements.
95
12
  const innerElements = xml.getInnerElements(element, elementName);
96
13
  assert(innerElements.length > 0);
97
14
  for (const innerElement of innerElements) {
98
15
  if (xml.hasInnerText(innerElement)) {
99
- // Ignore texts.
100
16
  }
101
17
  else if (xml.isInnerElementText(innerElement, 'name')) {
102
18
  assert(this.name.length === 0);
@@ -111,13 +27,9 @@ export class AbstractIndexCompoundType extends AbstractDataModelBase {
111
27
  console.error(`index ${elementName} element:`, Object.keys(innerElement), 'not implemented yet in', this.constructor.name);
112
28
  }
113
29
  }
114
- // ------------------------------------------------------------------------
115
- // Process attributes.
116
30
  assert(xml.hasAttributes(element));
117
31
  const attributesNames = xml.getAttributesNames(element);
118
- // console.log(attributesNames)
119
32
  for (const attributeName of attributesNames) {
120
- // console.log(attributeName)
121
33
  if (attributeName === '@_refid') {
122
34
  this.refid = xml.getAttributeStringValue(element, '@_refid');
123
35
  }
@@ -131,43 +43,11 @@ export class AbstractIndexCompoundType extends AbstractDataModelBase {
131
43
  }
132
44
  assert(this.refid.length > 0);
133
45
  assert(this.kind.length > 0);
134
- // ------------------------------------------------------------------------
135
- // console.log(util.inspect(this, { compact: false, depth: 999 }))
136
- // console.log('compound: ', this.refid)
137
46
  }
138
47
  }
139
- // ----------------------------------------------------------------------------
140
- // <xsd:element name="compound" type="CompoundType" minOccurs="0" maxOccurs="unbounded"/>
141
- /**
142
- * Concrete data model class for index compound elements.
143
- *
144
- * @remarks
145
- * Represents individual compound elements found within Doxygen index XML
146
- * structures. This class extends the abstract base to provide specific
147
- * handling for 'compound' elements, which reference documented entities
148
- * such as classes, namespaces, files, and other structural components
149
- * within the indexed documentation. Each compound serves as an entry
150
- * point for accessing detailed documentation in separate XML files.
151
- *
152
- * @public
153
- */
154
48
  export class IndexCompoundDataModel extends AbstractIndexCompoundType {
155
- /**
156
- * Constructs a new IndexCompoundDataModel instance from XML data.
157
- *
158
- * @param xml - The Doxygen XML parser instance for processing XML elements
159
- * @param element - The XML element containing the compound data
160
- *
161
- * @remarks
162
- * Initialises the compound data model by parsing the provided XML element
163
- * as a 'compound' element type. The constructor delegates to the parent
164
- * class for common compound processing whilst specifying the element name
165
- * for proper XML structure handling.
166
- */
167
49
  constructor(xml, element) {
168
- // console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
169
50
  super(xml, element, 'compound');
170
51
  }
171
52
  }
172
- // ----------------------------------------------------------------------------
173
53
  //# sourceMappingURL=indexcompoundtype-dm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"indexcompoundtype-dm.js","sourceRoot":"","sources":["../../../../src/doxygen/data-model/index/indexcompoundtype-dm.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,+EAA+E;AAE/E,OAAO,MAAM,MAAM,aAAa,CAAA;AAChC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAA;AAGjC,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAA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AAC,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,SAAS,WAAW,aAAa,EACjC,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,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;IAM9B,CAAC;CACF;AAyED,MAAM,OAAO,sBAAuB,SAAQ,yBAAyB;IAanE,YAAY,GAAqB,EAAE,OAAe;QAEhD,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,UAAU,CAAC,CAAA;IACjC,CAAC;CACF"}
@@ -1,96 +1,14 @@
1
1
  import { DoxygenXmlParser } from '../doxygen-xml-parser.js';
2
2
  import { IndexCompoundDataModel } from './indexcompoundtype-dm.js';
3
3
  import { AbstractDataModelBase } from '../types.js';
4
- /**
5
- * Abstract base class for Doxygen index type data models.
6
- *
7
- * @remarks
8
- * Represents the top-level structure of Doxygen index XML files, corresponding
9
- * to the DoxygenType complex type in the XML schema. This class handles the
10
- * parsing of version and language attributes, along with compound element
11
- * collections. Note that this definition may clash with similar types in
12
- * compound.xsd, requiring careful namespace management.
13
- *
14
- * @public
15
- */
16
4
  export declare abstract class AbstractIndexDoxygenType extends AbstractDataModelBase {
17
- /**
18
- * The version of the Doxygen tool that generated the XML.
19
- *
20
- * @remarks
21
- * Mandatory attribute extracted from the XML structure that identifies
22
- * the version of Doxygen used to generate the documentation. This
23
- * information is crucial for compatibility and parsing decisions.
24
- */
25
5
  version: string;
26
- /**
27
- * The language specification for the documentation content.
28
- *
29
- * @remarks
30
- * Mandatory attribute corresponding to the xml:lang attribute in the
31
- * XML structure. Specifies the primary language used in the documented
32
- * content for internationalisation purposes.
33
- */
34
6
  lang: string;
35
- /**
36
- * Collection of compound data models referenced in the index.
37
- *
38
- * @remarks
39
- * Optional array containing compound elements found within the index
40
- * structure. Each compound represents a documented entity such as
41
- * classes, namespaces, or files that are catalogued in the index.
42
- */
43
7
  compounds?: IndexCompoundDataModel[] | undefined;
44
- /**
45
- * The XML schema location reference for validation.
46
- *
47
- * @remarks
48
- * Optional attribute that specifies the location of the XML schema
49
- * definition used for validating the structure of the index XML file.
50
- * This provides schema validation capabilities for the parsed content.
51
- */
52
8
  noNamespaceSchemaLocation?: string | undefined;
53
- /**
54
- * Constructs a new AbstractIndexDoxygenType instance from XML data.
55
- *
56
- * @param xml - The Doxygen XML parser instance for processing XML elements
57
- * @param element - The XML element containing the Doxygen index data
58
- * @param elementName - The name of the XML element being processed
59
- *
60
- * @remarks
61
- * Parses the provided XML element to extract Doxygen index information
62
- * including compound collections and mandatory attributes (version and
63
- * language). The constructor validates that all required attributes are
64
- * present and processes compound elements into the appropriate data models.
65
- * Optional schema location attributes are also extracted when present.
66
- */
67
9
  constructor(xml: DoxygenXmlParser, element: object, elementName: string);
68
10
  }
69
- /**
70
- * Concrete data model class for doxygenindex elements.
71
- *
72
- * @remarks
73
- * Represents the root element of Doxygen index XML files, extending the
74
- * abstract base class to provide specific handling for 'doxygenindex'
75
- * elements. This class serves as the primary entry point for parsing
76
- * index files and provides access to all compound definitions and
77
- * metadata contained within the index structure.
78
- *
79
- * @public
80
- */
81
11
  export declare class DoxygenIndexDataModel extends AbstractIndexDoxygenType {
82
- /**
83
- * Constructs a new DoxygenIndexDataModel instance from XML data.
84
- *
85
- * @param xml - The Doxygen XML parser instance for processing XML elements
86
- * @param element - The XML element containing the doxygenindex data
87
- *
88
- * @remarks
89
- * Initialises the Doxygen index data model by parsing the provided XML
90
- * element as a 'doxygenindex' element type. The constructor delegates
91
- * to the parent class for common processing whilst specifying the
92
- * element name for proper XML structure handling.
93
- */
94
12
  constructor(xml: DoxygenXmlParser, element: object);
95
13
  }
96
14
  //# sourceMappingURL=indexdoxygentype-dm.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"indexdoxygentype-dm.d.ts","sourceRoot":"","sources":["../../../../src/doxygen/data-model/index/indexdoxygentype-dm.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAA;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAanD;;;;;;;;;;;GAWG;AACH,8BAAsB,wBAAyB,SAAQ,qBAAqB;IAC1E;;;;;;;OAOG;IACH,OAAO,SAAK;IAEZ;;;;;;;OAOG;IACH,IAAI,SAAK;IAET;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,sBAAsB,EAAE,GAAG,SAAS,CAAA;IAEhD;;;;;;;OAOG;IACH,yBAAyB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAE9C;;;;;;;;;;;;;OAaG;gBACS,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;CA4DxE;AAMD;;;;;;;;;;;GAWG;AACH,qBAAa,qBAAsB,SAAQ,wBAAwB;IACjE;;;;;;;;;;;OAWG;gBACS,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM;CAInD"}
1
+ {"version":3,"file":"indexdoxygentype-dm.d.ts","sourceRoot":"","sources":["../../../../src/doxygen/data-model/index/indexdoxygentype-dm.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAA;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAyBnD,8BAAsB,wBAAyB,SAAQ,qBAAqB;IAS1E,OAAO,SAAK;IAUZ,IAAI,SAAK;IAUT,SAAS,CAAC,EAAE,sBAAsB,EAAE,GAAG,SAAS,CAAA;IAUhD,yBAAyB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;gBAgBlC,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;CA4DxE;AAkBD,qBAAa,qBAAsB,SAAQ,wBAAwB;gBAarD,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM;CAInD"}
@@ -1,98 +1,18 @@
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 { IndexCompoundDataModel } from './indexcompoundtype-dm.js';
15
4
  import { AbstractDataModelBase } from '../types.js';
16
- // ----------------------------------------------------------------------------
17
- // WARNING: it clashes with the definition in compound.xsd.
18
- // <xsd:complexType name="DoxygenType">
19
- // <xsd:sequence>
20
- // <xsd:element name="compound" type="CompoundType" minOccurs="0" maxOccurs="unbounded"/>
21
- // </xsd:sequence>
22
- // <xsd:attribute name="version" type="xsd:string" use="required"/>
23
- // <xsd:attribute ref="xml:lang" use="required"/>
24
- // </xsd:complexType>
25
- /**
26
- * Abstract base class for Doxygen index type data models.
27
- *
28
- * @remarks
29
- * Represents the top-level structure of Doxygen index XML files, corresponding
30
- * to the DoxygenType complex type in the XML schema. This class handles the
31
- * parsing of version and language attributes, along with compound element
32
- * collections. Note that this definition may clash with similar types in
33
- * compound.xsd, requiring careful namespace management.
34
- *
35
- * @public
36
- */
37
5
  export class AbstractIndexDoxygenType extends AbstractDataModelBase {
38
- /**
39
- * The version of the Doxygen tool that generated the XML.
40
- *
41
- * @remarks
42
- * Mandatory attribute extracted from the XML structure that identifies
43
- * the version of Doxygen used to generate the documentation. This
44
- * information is crucial for compatibility and parsing decisions.
45
- */
46
6
  version = '';
47
- /**
48
- * The language specification for the documentation content.
49
- *
50
- * @remarks
51
- * Mandatory attribute corresponding to the xml:lang attribute in the
52
- * XML structure. Specifies the primary language used in the documented
53
- * content for internationalisation purposes.
54
- */
55
7
  lang = '';
56
- /**
57
- * Collection of compound data models referenced in the index.
58
- *
59
- * @remarks
60
- * Optional array containing compound elements found within the index
61
- * structure. Each compound represents a documented entity such as
62
- * classes, namespaces, or files that are catalogued in the index.
63
- */
64
8
  compounds;
65
- /**
66
- * The XML schema location reference for validation.
67
- *
68
- * @remarks
69
- * Optional attribute that specifies the location of the XML schema
70
- * definition used for validating the structure of the index XML file.
71
- * This provides schema validation capabilities for the parsed content.
72
- */
73
9
  noNamespaceSchemaLocation;
74
- /**
75
- * Constructs a new AbstractIndexDoxygenType instance from XML data.
76
- *
77
- * @param xml - The Doxygen XML parser instance for processing XML elements
78
- * @param element - The XML element containing the Doxygen index data
79
- * @param elementName - The name of the XML element being processed
80
- *
81
- * @remarks
82
- * Parses the provided XML element to extract Doxygen index information
83
- * including compound collections and mandatory attributes (version and
84
- * language). The constructor validates that all required attributes are
85
- * present and processes compound elements into the appropriate data models.
86
- * Optional schema location attributes are also extracted when present.
87
- */
88
10
  constructor(xml, element, elementName) {
89
11
  super(elementName);
90
- // console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
91
12
  const innerElements = xml.getInnerElements(element, elementName);
92
13
  assert(innerElements.length > 0);
93
14
  for (const innerElement of innerElements) {
94
15
  if (xml.hasInnerText(innerElement)) {
95
- // Ignore texts.
96
16
  }
97
17
  else if (xml.hasInnerElement(innerElement, 'compound')) {
98
18
  this.compounds ??= [];
@@ -103,13 +23,9 @@ export class AbstractIndexDoxygenType extends AbstractDataModelBase {
103
23
  console.error(`index ${elementName} element:`, Object.keys(innerElement), 'not implemented yet in', this.constructor.name);
104
24
  }
105
25
  }
106
- // ------------------------------------------------------------------------
107
- // Process attributes.
108
26
  assert(xml.hasAttributes(element));
109
27
  const attributesNames = xml.getAttributesNames(element);
110
- // console.log(attributesNames)
111
28
  for (const attributeName of attributesNames) {
112
- // console.log(attributeName)
113
29
  if (attributeName === '@_version') {
114
30
  this.version = xml.getAttributeStringValue(element, '@_version');
115
31
  }
@@ -126,41 +42,11 @@ export class AbstractIndexDoxygenType extends AbstractDataModelBase {
126
42
  }
127
43
  assert(this.version.length > 0);
128
44
  assert(this.lang.length > 0);
129
- // ------------------------------------------------------------------------
130
- // console.log(util.inspect(this, { compact: false, depth: 999 }))
131
45
  }
132
46
  }
133
- // ----------------------------------------------------------------------------
134
- // <xsd:element name="doxygenindex" type="DoxygenType"/>
135
- /**
136
- * Concrete data model class for doxygenindex elements.
137
- *
138
- * @remarks
139
- * Represents the root element of Doxygen index XML files, extending the
140
- * abstract base class to provide specific handling for 'doxygenindex'
141
- * elements. This class serves as the primary entry point for parsing
142
- * index files and provides access to all compound definitions and
143
- * metadata contained within the index structure.
144
- *
145
- * @public
146
- */
147
47
  export class DoxygenIndexDataModel extends AbstractIndexDoxygenType {
148
- /**
149
- * Constructs a new DoxygenIndexDataModel instance from XML data.
150
- *
151
- * @param xml - The Doxygen XML parser instance for processing XML elements
152
- * @param element - The XML element containing the doxygenindex data
153
- *
154
- * @remarks
155
- * Initialises the Doxygen index data model by parsing the provided XML
156
- * element as a 'doxygenindex' element type. The constructor delegates
157
- * to the parent class for common processing whilst specifying the
158
- * element name for proper XML structure handling.
159
- */
160
48
  constructor(xml, element) {
161
- // console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
162
49
  super(xml, element, 'doxygenindex');
163
50
  }
164
51
  }
165
- // ----------------------------------------------------------------------------
166
52
  //# sourceMappingURL=indexdoxygentype-dm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"indexdoxygentype-dm.js","sourceRoot":"","sources":["../../../../src/doxygen/data-model/index/indexdoxygentype-dm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AAO,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC,CAAA;gBACpE,OAAO,CAAC,KAAK,CACX,SAAS,WAAW,aAAa,EACjC,aAAa,EACb,wBAAwB,EACxB,IAAI,CAAC,WAAW,CAAC,IAAI,CACtB,CAAA;YACH,CAAC;QACH,CAAC;QACD,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;QAC/B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;IAK9B,CAAC;CACF;AAkBD,MAAM,OAAO,qBAAsB,SAAQ,wBAAwB;IAajE,YAAY,GAAqB,EAAE,OAAe;QAEhD,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,cAAc,CAAC,CAAA;IACrC,CAAC;CACF"}
@@ -1,98 +1,13 @@
1
1
  import { DoxygenXmlParser } from '../doxygen-xml-parser.js';
2
2
  import { AbstractDataModelBase } from '../types.js';
3
- /**
4
- * Abstract base class for index member type data models.
5
- *
6
- * @remarks
7
- * Represents member elements found within Doxygen index XML structures,
8
- * corresponding to the MemberType complex type in the XML schema. This
9
- * class handles the parsing of member names, reference identifiers, and
10
- * member kinds from the XML structure. All concrete member data model
11
- * classes should extend this abstract base to ensure consistent parsing
12
- * and data representation.
13
- *
14
- * @public
15
- */
16
3
  export declare abstract class AbstractIndexMemberType extends AbstractDataModelBase {
17
- /**
18
- * The name of the member element.
19
- *
20
- * @remarks
21
- * Extracted from the mandatory 'name' element within the member XML
22
- * structure. Represents the identifier or name of the documented member.
23
- */
24
4
  name: string;
25
- /**
26
- * The reference identifier for the member.
27
- *
28
- * @remarks
29
- * Mandatory attribute that provides a unique identifier for referencing
30
- * this member within the Doxygen documentation structure. Used to link
31
- * index entries to their detailed definitions.
32
- */
33
5
  refid: string;
34
- /**
35
- * The kind classification of the member.
36
- *
37
- * @remarks
38
- * Mandatory attribute specifying the type of member (e.g., function,
39
- * variable, typedef). Corresponds to the MemberKind enumeration in the
40
- * XML schema.
41
- */
42
6
  kind: string;
43
- /**
44
- * Constructs a new AbstractIndexMemberType instance from XML data.
45
- *
46
- * @param xml - The Doxygen XML parser instance for processing XML elements
47
- * @param element - The XML element containing the member data
48
- * @param elementName - The name of the XML element being processed
49
- *
50
- * @remarks
51
- * Parses the provided XML element to extract member information including
52
- * the name element and mandatory attributes (refid and kind). The constructor
53
- * validates that all required data is present and properly formatted
54
- * according to the XML schema specifications.
55
- */
56
7
  constructor(xml: DoxygenXmlParser, element: object, elementName: string);
57
8
  }
58
- /**
59
- * Union type representing the various kinds of members in Doxygen
60
- * documentation.
61
- *
62
- * @remarks
63
- * Corresponds to the MemberKind simple type in the Doxygen XML schema,
64
- * which defines the allowable classifications for documented members.
65
- * Each value represents a specific type of programming construct that
66
- * can be documented, ranging from preprocessor definitions to class
67
- * methods and properties.
68
- *
69
- * @public
70
- */
71
9
  export type IndexMemberKind = 'define' | 'property' | 'event' | 'variable' | 'typedef' | 'enum' | 'enumvalue' | 'function' | 'signal' | 'prototype' | 'friend' | 'dcop' | 'slot';
72
- /**
73
- * Concrete data model class for index member elements.
74
- *
75
- * @remarks
76
- * Represents individual member elements found within Doxygen index XML
77
- * structures. This class extends the abstract base to provide specific
78
- * handling for 'member' elements, which reference documented members
79
- * such as functions, variables, and other programming constructs within
80
- * the indexed documentation.
81
- *
82
- * @public
83
- */
84
10
  export declare class IndexMemberDataModel extends AbstractIndexMemberType {
85
- /**
86
- * Constructs a new IndexMemberDataModel instance from XML data.
87
- *
88
- * @param xml - The Doxygen XML parser instance for processing XML elements
89
- * @param element - The XML element containing the member data
90
- *
91
- * @remarks
92
- * Initialises the member data model by parsing the provided XML element
93
- * as a 'member' element type. The constructor delegates to the parent
94
- * class for common member processing whilst specifying the element name.
95
- */
96
11
  constructor(xml: DoxygenXmlParser, element: object);
97
12
  }
98
13
  //# sourceMappingURL=indexmembertype-dm.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"indexmembertype-dm.d.ts","sourceRoot":"","sources":["../../../../src/doxygen/data-model/index/indexmembertype-dm.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAYnD;;;;;;;;;;;;GAYG;AACH,8BAAsB,uBAAwB,SAAQ,qBAAqB;IACzE;;;;;;OAMG;IACH,IAAI,SAAK;IAET;;;;;;;OAOG;IACH,KAAK,SAAK;IAEV;;;;;;;OAOG;IACH,IAAI,SAAK;IAET;;;;;;;;;;;;OAYG;gBACS,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;CA2DxE;AAsBD;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,eAAe,GACvB,QAAQ,GACR,UAAU,GACV,OAAO,GACP,UAAU,GACV,SAAS,GACT,MAAM,GACN,WAAW,GACX,UAAU,GACV,QAAQ,GACR,WAAW,GACX,QAAQ,GACR,MAAM,GACN,MAAM,CAAA;AAOV;;;;;;;;;;;GAWG;AACH,qBAAa,oBAAqB,SAAQ,uBAAuB;IAC/D;;;;;;;;;;OAUG;gBACS,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM;CAInD"}
1
+ {"version":3,"file":"indexmembertype-dm.d.ts","sourceRoot":"","sources":["../../../../src/doxygen/data-model/index/indexmembertype-dm.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAyBnD,8BAAsB,uBAAwB,SAAQ,qBAAqB;IAQzE,IAAI,SAAK;IAUT,KAAK,SAAK;IAUV,IAAI,SAAK;gBAeG,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;CA2DxE;AAmCD,MAAM,MAAM,eAAe,GACvB,QAAQ,GACR,UAAU,GACV,OAAO,GACP,UAAU,GACV,SAAS,GACT,MAAM,GACN,WAAW,GACX,UAAU,GACV,QAAQ,GACR,WAAW,GACX,QAAQ,GACR,MAAM,GACN,MAAM,CAAA;AAmBV,qBAAa,oBAAqB,SAAQ,uBAAuB;gBAYnD,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM;CAInD"}