@xpack/doxygen2docusaurus 1.0.2 → 2.0.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/README.md +3 -4
- package/dist/cli/main.d.ts +6 -0
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +29 -2
- package/dist/cli/main.js.map +1 -1
- package/dist/docusaurus/cli-options.d.ts +268 -39
- package/dist/docusaurus/cli-options.d.ts.map +1 -1
- package/dist/docusaurus/cli-options.js +267 -53
- package/dist/docusaurus/cli-options.js.map +1 -1
- package/dist/docusaurus/generator.d.ts +179 -4
- package/dist/docusaurus/generator.d.ts.map +1 -1
- package/dist/docusaurus/generator.js +215 -45
- package/dist/docusaurus/generator.js.map +1 -1
- package/dist/docusaurus/renderers/descriptiontype.d.ts +417 -0
- package/dist/docusaurus/renderers/descriptiontype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/descriptiontype.js +417 -0
- package/dist/docusaurus/renderers/descriptiontype.js.map +1 -1
- package/dist/docusaurus/renderers/docinternalstype.d.ts +132 -0
- package/dist/docusaurus/renderers/docinternalstype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/docinternalstype.js +132 -0
- package/dist/docusaurus/renderers/docinternalstype.js.map +1 -1
- package/dist/docusaurus/renderers/doclisttype.d.ts +22 -0
- package/dist/docusaurus/renderers/doclisttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/doclisttype.js +22 -2
- package/dist/docusaurus/renderers/doclisttype.js.map +1 -1
- package/dist/docusaurus/renderers/doctabletype.d.ts +88 -0
- package/dist/docusaurus/renderers/doctabletype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/doctabletype.js +88 -0
- package/dist/docusaurus/renderers/doctabletype.js.map +1 -1
- package/dist/docusaurus/renderers/doctitletype.d.ts +22 -0
- package/dist/docusaurus/renderers/doctitletype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/doctitletype.js +22 -0
- package/dist/docusaurus/renderers/doctitletype.js.map +1 -1
- package/dist/docusaurus/renderers/docvariablelisttype.d.ts +44 -0
- package/dist/docusaurus/renderers/docvariablelisttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/docvariablelisttype.js +44 -0
- package/dist/docusaurus/renderers/docvariablelisttype.js.map +1 -1
- package/dist/docusaurus/renderers/docxrefsecttype.d.ts +22 -0
- package/dist/docusaurus/renderers/docxrefsecttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/docxrefsecttype.js +22 -0
- package/dist/docusaurus/renderers/docxrefsecttype.js.map +1 -1
- package/dist/docusaurus/renderers/element-renderer-base.d.ts +74 -0
- package/dist/docusaurus/renderers/element-renderer-base.d.ts.map +1 -1
- package/dist/docusaurus/renderers/element-renderer-base.js +52 -0
- package/dist/docusaurus/renderers/element-renderer-base.js.map +1 -1
- package/dist/docusaurus/renderers/inctype.d.ts +23 -0
- package/dist/docusaurus/renderers/inctype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/inctype.js +23 -0
- package/dist/docusaurus/renderers/inctype.js.map +1 -1
- package/dist/docusaurus/renderers/linkedtexttype.d.ts +22 -0
- package/dist/docusaurus/renderers/linkedtexttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/linkedtexttype.js +22 -0
- package/dist/docusaurus/renderers/linkedtexttype.js.map +1 -1
- package/dist/docusaurus/renderers/listingtype.d.ts +52 -0
- package/dist/docusaurus/renderers/listingtype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/listingtype.js +66 -2
- package/dist/docusaurus/renderers/listingtype.js.map +1 -1
- package/dist/docusaurus/renderers/paramtype.d.ts +22 -0
- package/dist/docusaurus/renderers/paramtype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/paramtype.js +22 -0
- package/dist/docusaurus/renderers/paramtype.js.map +1 -1
- package/dist/docusaurus/renderers/referencetype.d.ts +23 -0
- package/dist/docusaurus/renderers/referencetype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/referencetype.js +23 -2
- package/dist/docusaurus/renderers/referencetype.js.map +1 -1
- package/dist/docusaurus/renderers/reftexttype.d.ts +22 -0
- package/dist/docusaurus/renderers/reftexttype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/reftexttype.js +22 -0
- package/dist/docusaurus/renderers/reftexttype.js.map +1 -1
- package/dist/docusaurus/renderers/reftype.d.ts +22 -0
- package/dist/docusaurus/renderers/reftype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/reftype.js +22 -0
- package/dist/docusaurus/renderers/reftype.js.map +1 -1
- package/dist/docusaurus/renderers/renderers.d.ts +151 -0
- package/dist/docusaurus/renderers/renderers.d.ts.map +1 -1
- package/dist/docusaurus/renderers/renderers.js +151 -0
- package/dist/docusaurus/renderers/renderers.js.map +1 -1
- package/dist/docusaurus/renderers/substringtype.d.ts +22 -0
- package/dist/docusaurus/renderers/substringtype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/substringtype.js +22 -0
- package/dist/docusaurus/renderers/substringtype.js.map +1 -1
- package/dist/docusaurus/renderers/tableofcontentstype.d.ts +22 -0
- package/dist/docusaurus/renderers/tableofcontentstype.d.ts.map +1 -1
- package/dist/docusaurus/renderers/tableofcontentstype.js +22 -0
- package/dist/docusaurus/renderers/tableofcontentstype.js.map +1 -1
- package/dist/docusaurus/types.d.ts +114 -8
- package/dist/docusaurus/types.d.ts.map +1 -1
- package/dist/docusaurus/types.js.map +1 -1
- package/dist/docusaurus/utils.d.ts +214 -0
- package/dist/docusaurus/utils.d.ts.map +1 -1
- package/dist/docusaurus/utils.js +214 -0
- package/dist/docusaurus/utils.js.map +1 -1
- package/dist/docusaurus/view-model/classes-vm.d.ts +139 -2
- package/dist/docusaurus/view-model/classes-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/classes-vm.js +147 -6
- package/dist/docusaurus/view-model/classes-vm.js.map +1 -1
- package/dist/docusaurus/view-model/collection-base.d.ts +122 -2
- package/dist/docusaurus/view-model/collection-base.d.ts.map +1 -1
- package/dist/docusaurus/view-model/collection-base.js +78 -0
- package/dist/docusaurus/view-model/collection-base.js.map +1 -1
- package/dist/docusaurus/view-model/compound-base-vm.d.ts +134 -19
- package/dist/docusaurus/view-model/compound-base-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/compound-base-vm.js +122 -26
- package/dist/docusaurus/view-model/compound-base-vm.js.map +1 -1
- package/dist/docusaurus/view-model/description-anchors.d.ts +58 -0
- package/dist/docusaurus/view-model/description-anchors.d.ts.map +1 -1
- package/dist/docusaurus/view-model/description-anchors.js +58 -0
- package/dist/docusaurus/view-model/description-anchors.js.map +1 -1
- package/dist/docusaurus/view-model/files-and-folders-vm.d.ts +249 -2
- package/dist/docusaurus/view-model/files-and-folders-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/files-and-folders-vm.js +250 -4
- package/dist/docusaurus/view-model/files-and-folders-vm.js.map +1 -1
- package/dist/docusaurus/view-model/groups-vm.d.ts +150 -2
- package/dist/docusaurus/view-model/groups-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/groups-vm.js +153 -5
- package/dist/docusaurus/view-model/groups-vm.js.map +1 -1
- package/dist/docusaurus/view-model/members-vm.d.ts +552 -0
- package/dist/docusaurus/view-model/members-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/members-vm.js +552 -4
- package/dist/docusaurus/view-model/members-vm.js.map +1 -1
- package/dist/docusaurus/view-model/namespaces-vm.d.ts +201 -2
- package/dist/docusaurus/view-model/namespaces-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/namespaces-vm.js +202 -4
- package/dist/docusaurus/view-model/namespaces-vm.js.map +1 -1
- package/dist/docusaurus/view-model/options.d.ts +43 -0
- package/dist/docusaurus/view-model/options.d.ts.map +1 -1
- package/dist/docusaurus/view-model/options.js +43 -0
- package/dist/docusaurus/view-model/options.js.map +1 -1
- package/dist/docusaurus/view-model/pages-vm.d.ts +117 -2
- package/dist/docusaurus/view-model/pages-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/pages-vm.js +119 -4
- package/dist/docusaurus/view-model/pages-vm.js.map +1 -1
- package/dist/docusaurus/view-model/tree-entries-vm.d.ts +135 -15
- package/dist/docusaurus/view-model/tree-entries-vm.d.ts.map +1 -1
- package/dist/docusaurus/view-model/tree-entries-vm.js +136 -16
- package/dist/docusaurus/view-model/tree-entries-vm.js.map +1 -1
- package/dist/docusaurus/view-model/view-model.d.ts +119 -0
- package/dist/docusaurus/view-model/view-model.d.ts.map +1 -1
- package/dist/docusaurus/view-model/view-model.js +119 -0
- package/dist/docusaurus/view-model/view-model.js.map +1 -1
- package/dist/docusaurus/workspace.d.ts +106 -0
- package/dist/docusaurus/workspace.d.ts.map +1 -1
- package/dist/docusaurus/workspace.js +107 -1
- package/dist/docusaurus/workspace.js.map +1 -1
- package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts +485 -0
- package/dist/doxygen/data-model/compounds/compounddef-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/compounddef-dm.js +485 -0
- package/dist/doxygen/data-model/compounds/compounddef-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/compoundreftype-dm.d.ts +120 -0
- package/dist/doxygen/data-model/compounds/compoundreftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/compoundreftype-dm.js +98 -0
- package/dist/doxygen/data-model/compounds/compoundreftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/descriptiontype-dm.d.ts +2705 -0
- package/dist/doxygen/data-model/compounds/descriptiontype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/descriptiontype-dm.js +2677 -47
- package/dist/doxygen/data-model/compounds/descriptiontype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.d.ts +165 -0
- package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.js +165 -0
- package/dist/doxygen/data-model/compounds/docvarlistentrytype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/doxygentype-dm.d.ts +70 -0
- package/dist/doxygen/data-model/compounds/doxygentype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/doxygentype-dm.js +70 -0
- package/dist/doxygen/data-model/compounds/doxygentype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/enumvaluetype-dm.d.ts +78 -0
- package/dist/doxygen/data-model/compounds/enumvaluetype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/enumvaluetype-dm.js +78 -0
- package/dist/doxygen/data-model/compounds/enumvaluetype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/inctype-dm.d.ts +107 -0
- package/dist/doxygen/data-model/compounds/inctype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/inctype-dm.js +107 -0
- package/dist/doxygen/data-model/compounds/inctype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/linkedtexttype-dm.d.ts +123 -0
- package/dist/doxygen/data-model/compounds/linkedtexttype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/linkedtexttype-dm.js +123 -0
- package/dist/doxygen/data-model/compounds/linkedtexttype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.d.ts +70 -0
- package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.js +70 -1
- package/dist/doxygen/data-model/compounds/listofallmemberstype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/locationtype-dm.d.ts +156 -0
- package/dist/doxygen/data-model/compounds/locationtype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/locationtype-dm.js +156 -5
- package/dist/doxygen/data-model/compounds/locationtype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/memberdeftype-dm.d.ts +433 -0
- package/dist/doxygen/data-model/compounds/memberdeftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/memberdeftype-dm.js +417 -6
- package/dist/doxygen/data-model/compounds/memberdeftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/memberreftype-dm.d.ts +135 -0
- package/dist/doxygen/data-model/compounds/memberreftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/memberreftype-dm.js +136 -4
- package/dist/doxygen/data-model/compounds/memberreftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/membertype-dm.d.ts +95 -0
- package/dist/doxygen/data-model/compounds/membertype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/membertype-dm.js +76 -4
- package/dist/doxygen/data-model/compounds/membertype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/paramtype-dm.d.ts +158 -0
- package/dist/doxygen/data-model/compounds/paramtype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/paramtype-dm.js +158 -1
- package/dist/doxygen/data-model/compounds/paramtype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/referencetype-dm.d.ts +130 -0
- package/dist/doxygen/data-model/compounds/referencetype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/referencetype-dm.js +130 -2
- package/dist/doxygen/data-model/compounds/referencetype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/reftexttype-dm.d.ts +120 -0
- package/dist/doxygen/data-model/compounds/reftexttype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/reftexttype-dm.js +106 -3
- package/dist/doxygen/data-model/compounds/reftexttype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/reftype-dm.d.ts +247 -0
- package/dist/doxygen/data-model/compounds/reftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/reftype-dm.js +247 -3
- package/dist/doxygen/data-model/compounds/reftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/reimplementtype-dm.d.ts +99 -0
- package/dist/doxygen/data-model/compounds/reimplementtype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/reimplementtype-dm.js +99 -2
- package/dist/doxygen/data-model/compounds/reimplementtype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/sectiondeftype-dm.d.ts +159 -0
- package/dist/doxygen/data-model/compounds/sectiondeftype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/sectiondeftype-dm.js +159 -3
- package/dist/doxygen/data-model/compounds/sectiondeftype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.d.ts +255 -0
- package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.js +255 -6
- package/dist/doxygen/data-model/compounds/tableofcontentstype-dm.js.map +1 -1
- package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.d.ts +60 -0
- package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.js +60 -1
- package/dist/doxygen/data-model/compounds/templateparamlisttype-dm.js.map +1 -1
- package/dist/doxygen/data-model/data-model.d.ts +86 -2
- package/dist/doxygen/data-model/data-model.d.ts.map +1 -1
- package/dist/doxygen/data-model/data-model.js +86 -4
- package/dist/doxygen/data-model/data-model.js.map +1 -1
- package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.d.ts +109 -0
- package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.js +84 -2
- package/dist/doxygen/data-model/doxyfile/doxyfileoptiontype-dm.js.map +1 -1
- package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.d.ts +81 -0
- package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.js +81 -3
- package/dist/doxygen/data-model/doxyfile/doxyfiletype-dm.js.map +1 -1
- package/dist/doxygen/data-model/doxygen-xml-parser.d.ts +24 -7
- package/dist/doxygen/data-model/doxygen-xml-parser.d.ts.map +1 -1
- package/dist/doxygen/data-model/doxygen-xml-parser.js +24 -22
- package/dist/doxygen/data-model/doxygen-xml-parser.js.map +1 -1
- package/dist/doxygen/data-model/index/indexcompoundtype-dm.d.ts +92 -0
- package/dist/doxygen/data-model/index/indexcompoundtype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/index/indexcompoundtype-dm.js +79 -2
- package/dist/doxygen/data-model/index/indexcompoundtype-dm.js.map +1 -1
- package/dist/doxygen/data-model/index/indexdoxygentype-dm.d.ts +76 -0
- package/dist/doxygen/data-model/index/indexdoxygentype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/index/indexdoxygentype-dm.js +76 -3
- package/dist/doxygen/data-model/index/indexdoxygentype-dm.js.map +1 -1
- package/dist/doxygen/data-model/index/indexmembertype-dm.d.ts +79 -0
- package/dist/doxygen/data-model/index/indexmembertype-dm.d.ts.map +1 -1
- package/dist/doxygen/data-model/index/indexmembertype-dm.js +66 -2
- package/dist/doxygen/data-model/index/indexmembertype-dm.js.map +1 -1
- package/dist/doxygen/data-model/types.d.ts +96 -1
- package/dist/doxygen/data-model/types.d.ts.map +1 -1
- package/dist/doxygen/data-model/types.js +37 -0
- package/dist/doxygen/data-model/types.js.map +1 -1
- package/dist/doxygen2docusaurus.d.ts +4774 -0
- package/dist/tsdoc-metadata.json +11 -0
- package/package.json +11 -7
- /package/{template → templates}/css/custom.css +0 -0
- /package/{template → templates}/img/README.md +0 -0
- /package/{template → templates}/img/document-svgrepo-com.svg +0 -0
- /package/{template → templates}/img/folder-svgrepo-com.svg +0 -0
|
@@ -3,21 +3,99 @@ import { AbstractDataModelBase } from '../types.js';
|
|
|
3
3
|
import { BriefDescriptionDataModel, DetailedDescriptionDataModel } from './descriptiontype-dm.js';
|
|
4
4
|
import { InitializerDataModel } from './linkedtexttype-dm.js';
|
|
5
5
|
/**
|
|
6
|
+
* Abstract base class for enumeration value data models.
|
|
7
|
+
*
|
|
8
|
+
* @remarks
|
|
9
|
+
* Represents individual values within enumeration types as parsed from
|
|
10
|
+
* Doxygen XML. Contains the value name, optional initialiser expression,
|
|
11
|
+
* and documentation descriptions with protection level information.
|
|
12
|
+
*
|
|
6
13
|
* @public
|
|
7
14
|
*/
|
|
8
15
|
export declare abstract class AbstractEnumValueType extends AbstractDataModelBase {
|
|
16
|
+
/**
|
|
17
|
+
* The name of the enumeration value.
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* Simple identifier for the enumeration constant as it appears
|
|
21
|
+
* in the source code.
|
|
22
|
+
*/
|
|
9
23
|
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* Optional initialiser expression for the enumeration value.
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
* Contains the explicit value assignment expression when the
|
|
29
|
+
* enumeration value is explicitly initialised in the source code.
|
|
30
|
+
*/
|
|
10
31
|
initializer?: InitializerDataModel | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Brief description of the enumeration value.
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* Short documentation comment providing a concise explanation
|
|
37
|
+
* of the enumeration value's purpose or meaning.
|
|
38
|
+
*/
|
|
11
39
|
briefDescription?: BriefDescriptionDataModel | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Detailed description of the enumeration value.
|
|
42
|
+
*
|
|
43
|
+
* @remarks
|
|
44
|
+
* Comprehensive documentation comment providing full details
|
|
45
|
+
* about the enumeration value's purpose, usage, and behaviour.
|
|
46
|
+
*/
|
|
12
47
|
detailedDescription?: DetailedDescriptionDataModel | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Unique identifier for the enumeration value.
|
|
50
|
+
*
|
|
51
|
+
* @remarks
|
|
52
|
+
* Doxygen-generated identifier used for cross-referencing
|
|
53
|
+
* and creating links to this enumeration value.
|
|
54
|
+
*/
|
|
13
55
|
id: string;
|
|
56
|
+
/**
|
|
57
|
+
* Protection level of the enumeration value.
|
|
58
|
+
*
|
|
59
|
+
* @remarks
|
|
60
|
+
* Indicates the visibility scope such as 'public', 'private',
|
|
61
|
+
* or 'protected' based on Doxygen's protection kind enumeration.
|
|
62
|
+
*/
|
|
14
63
|
prot: string;
|
|
64
|
+
/**
|
|
65
|
+
* Creates a new enumeration value data model.
|
|
66
|
+
*
|
|
67
|
+
* @remarks
|
|
68
|
+
* Parses the XML element representing an enumeration value and
|
|
69
|
+
* extracts all relevant information including name, initialiser,
|
|
70
|
+
* descriptions, and attributes.
|
|
71
|
+
*
|
|
72
|
+
* @param xml - The XML parser instance
|
|
73
|
+
* @param element - The XML element to parse
|
|
74
|
+
* @param elementName - The name of the XML element
|
|
75
|
+
*/
|
|
15
76
|
constructor(xml: DoxygenXmlParser, element: object, elementName: string);
|
|
16
77
|
}
|
|
17
78
|
/**
|
|
79
|
+
* Concrete implementation of enumeration value data model.
|
|
80
|
+
*
|
|
81
|
+
* @remarks
|
|
82
|
+
* Represents a single enumeration value as parsed from Doxygen XML
|
|
83
|
+
* output. Inherits all functionality from the abstract base class
|
|
84
|
+
* and provides the specific element name for parsing.
|
|
85
|
+
*
|
|
18
86
|
* @public
|
|
19
87
|
*/
|
|
20
88
|
export declare class EnumValueDataModel extends AbstractEnumValueType {
|
|
89
|
+
/**
|
|
90
|
+
* Creates a new enumeration value data model from XML.
|
|
91
|
+
*
|
|
92
|
+
* @remarks
|
|
93
|
+
* Parses the XML element representing an enumeration value using
|
|
94
|
+
* the inherited parsing logic with the 'enumvalue' element name.
|
|
95
|
+
*
|
|
96
|
+
* @param xml - The XML parser instance
|
|
97
|
+
* @param element - The XML element to parse
|
|
98
|
+
*/
|
|
21
99
|
constructor(xml: DoxygenXmlParser, element: object);
|
|
22
100
|
}
|
|
23
101
|
//# sourceMappingURL=enumvaluetype-dm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enumvaluetype-dm.d.ts","sourceRoot":"","sources":["../../../../src/doxygen/data-model/compounds/enumvaluetype-dm.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AACnD,OAAO,EACL,yBAAyB,EACzB,4BAA4B,EAC7B,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAe7D
|
|
1
|
+
{"version":3,"file":"enumvaluetype-dm.d.ts","sourceRoot":"","sources":["../../../../src/doxygen/data-model/compounds/enumvaluetype-dm.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AACnD,OAAO,EACL,yBAAyB,EACzB,4BAA4B,EAC7B,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAe7D;;;;;;;;;GASG;AACH,8BAAsB,qBAAsB,SAAQ,qBAAqB;IAEvE;;;;;;OAMG;IACH,IAAI,SAAK;IAGT;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAA;IAE9C;;;;;;OAMG;IACH,gBAAgB,CAAC,EAAE,yBAAyB,GAAG,SAAS,CAAA;IAExD;;;;;;OAMG;IACH,mBAAmB,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAA;IAG9D;;;;;;OAMG;IACH,EAAE,SAAK;IAEP;;;;;;OAMG;IACH,IAAI,SAAK;IAET;;;;;;;;;;;OAWG;gBACS,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;CAmExE;AAMD;;;;;;;;;GASG;AACH,qBAAa,kBAAmB,SAAQ,qBAAqB;IAC3D;;;;;;;;;OASG;gBACS,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM;CAInD"}
|
|
@@ -26,18 +26,79 @@ import { InitializerDataModel } from './linkedtexttype-dm.js';
|
|
|
26
26
|
// <xsd:attribute name="prot" type="DoxProtectionKind" />
|
|
27
27
|
// </xsd:complexType>
|
|
28
28
|
/**
|
|
29
|
+
* Abstract base class for enumeration value data models.
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
* Represents individual values within enumeration types as parsed from
|
|
33
|
+
* Doxygen XML. Contains the value name, optional initialiser expression,
|
|
34
|
+
* and documentation descriptions with protection level information.
|
|
35
|
+
*
|
|
29
36
|
* @public
|
|
30
37
|
*/
|
|
31
38
|
export class AbstractEnumValueType extends AbstractDataModelBase {
|
|
32
39
|
// Mandatory elements.
|
|
40
|
+
/**
|
|
41
|
+
* The name of the enumeration value.
|
|
42
|
+
*
|
|
43
|
+
* @remarks
|
|
44
|
+
* Simple identifier for the enumeration constant as it appears
|
|
45
|
+
* in the source code.
|
|
46
|
+
*/
|
|
33
47
|
name = '';
|
|
34
48
|
// Optional elements.
|
|
49
|
+
/**
|
|
50
|
+
* Optional initialiser expression for the enumeration value.
|
|
51
|
+
*
|
|
52
|
+
* @remarks
|
|
53
|
+
* Contains the explicit value assignment expression when the
|
|
54
|
+
* enumeration value is explicitly initialised in the source code.
|
|
55
|
+
*/
|
|
35
56
|
initializer;
|
|
57
|
+
/**
|
|
58
|
+
* Brief description of the enumeration value.
|
|
59
|
+
*
|
|
60
|
+
* @remarks
|
|
61
|
+
* Short documentation comment providing a concise explanation
|
|
62
|
+
* of the enumeration value's purpose or meaning.
|
|
63
|
+
*/
|
|
36
64
|
briefDescription;
|
|
65
|
+
/**
|
|
66
|
+
* Detailed description of the enumeration value.
|
|
67
|
+
*
|
|
68
|
+
* @remarks
|
|
69
|
+
* Comprehensive documentation comment providing full details
|
|
70
|
+
* about the enumeration value's purpose, usage, and behaviour.
|
|
71
|
+
*/
|
|
37
72
|
detailedDescription;
|
|
38
73
|
// Mandatory attributes.
|
|
74
|
+
/**
|
|
75
|
+
* Unique identifier for the enumeration value.
|
|
76
|
+
*
|
|
77
|
+
* @remarks
|
|
78
|
+
* Doxygen-generated identifier used for cross-referencing
|
|
79
|
+
* and creating links to this enumeration value.
|
|
80
|
+
*/
|
|
39
81
|
id = '';
|
|
82
|
+
/**
|
|
83
|
+
* Protection level of the enumeration value.
|
|
84
|
+
*
|
|
85
|
+
* @remarks
|
|
86
|
+
* Indicates the visibility scope such as 'public', 'private',
|
|
87
|
+
* or 'protected' based on Doxygen's protection kind enumeration.
|
|
88
|
+
*/
|
|
40
89
|
prot = ''; // DoxProtectionKind
|
|
90
|
+
/**
|
|
91
|
+
* Creates a new enumeration value data model.
|
|
92
|
+
*
|
|
93
|
+
* @remarks
|
|
94
|
+
* Parses the XML element representing an enumeration value and
|
|
95
|
+
* extracts all relevant information including name, initialiser,
|
|
96
|
+
* descriptions, and attributes.
|
|
97
|
+
*
|
|
98
|
+
* @param xml - The XML parser instance
|
|
99
|
+
* @param element - The XML element to parse
|
|
100
|
+
* @param elementName - The name of the XML element
|
|
101
|
+
*/
|
|
41
102
|
constructor(xml, element, elementName) {
|
|
42
103
|
super(elementName);
|
|
43
104
|
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
@@ -92,9 +153,26 @@ export class AbstractEnumValueType extends AbstractDataModelBase {
|
|
|
92
153
|
// ----------------------------------------------------------------------------
|
|
93
154
|
// <xsd:element name="enumvalue" type="enumvalueType" minOccurs="0" maxOccurs="unbounded" />
|
|
94
155
|
/**
|
|
156
|
+
* Concrete implementation of enumeration value data model.
|
|
157
|
+
*
|
|
158
|
+
* @remarks
|
|
159
|
+
* Represents a single enumeration value as parsed from Doxygen XML
|
|
160
|
+
* output. Inherits all functionality from the abstract base class
|
|
161
|
+
* and provides the specific element name for parsing.
|
|
162
|
+
*
|
|
95
163
|
* @public
|
|
96
164
|
*/
|
|
97
165
|
export class EnumValueDataModel extends AbstractEnumValueType {
|
|
166
|
+
/**
|
|
167
|
+
* Creates a new enumeration value data model from XML.
|
|
168
|
+
*
|
|
169
|
+
* @remarks
|
|
170
|
+
* Parses the XML element representing an enumeration value using
|
|
171
|
+
* the inherited parsing logic with the 'enumvalue' element name.
|
|
172
|
+
*
|
|
173
|
+
* @param xml - The XML parser instance
|
|
174
|
+
* @param element - The XML element to parse
|
|
175
|
+
*/
|
|
98
176
|
constructor(xml, element) {
|
|
99
177
|
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
100
178
|
super(xml, element, 'enumvalue');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enumvaluetype-dm.js","sourceRoot":"","sources":["../../../../src/doxygen/data-model/compounds/enumvaluetype-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,qBAAqB,EAAE,MAAM,aAAa,CAAA;AACnD,OAAO,EACL,yBAAyB,EACzB,4BAA4B,GAC7B,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAE7D,+EAA+E;AAE/E,yCAAyC;AACzC,mBAAmB;AACnB,oDAAoD;AACpD,6EAA6E;AAC7E,mFAAmF;AACnF,sFAAsF;AACtF,oBAAoB;AACpB,kDAAkD;AAClD,2DAA2D;AAC3D,qBAAqB;AAErB
|
|
1
|
+
{"version":3,"file":"enumvaluetype-dm.js","sourceRoot":"","sources":["../../../../src/doxygen/data-model/compounds/enumvaluetype-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,qBAAqB,EAAE,MAAM,aAAa,CAAA;AACnD,OAAO,EACL,yBAAyB,EACzB,4BAA4B,GAC7B,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAE,oBAAoB,EA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BAAuB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAA;YAC5D,CAAC;iBAAM,CAAC;gBACN,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC,CAAA;gBACpE,OAAO,CAAC,KAAK,CACX,GAAG,WAAW,aAAa,EAC3B,aAAa,EACb,wBAAwB,EACxB,IAAI,CAAC,WAAW,CAAC,IAAI,CACtB,CAAA;YACH,CAAC;QACH,CAAC;QAED,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;QAC1B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;QAE5B,2EAA2E;QAE3E,kEAAkE;IACpE,CAAC;CACF;AAED,+EAA+E;AAE/E,gGAAgG;AAEhG;;;;;;;;;GASG;AACH,MAAM,OAAO,kBAAmB,SAAQ,qBAAqB;IAC3D;;;;;;;;;OASG;IACH,YAAY,GAAqB,EAAE,OAAe;QAChD,kFAAkF;QAClF,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,WAAW,CAAC,CAAA;IAClC,CAAC;CACF;AAED,+EAA+E"}
|
|
@@ -1,24 +1,131 @@
|
|
|
1
1
|
import { DoxygenXmlParser } from '../doxygen-xml-parser.js';
|
|
2
2
|
import { AbstractDataModelBase } from '../types.js';
|
|
3
3
|
/**
|
|
4
|
+
* Abstract base class for include-type elements within documentation.
|
|
5
|
+
*
|
|
6
|
+
* @remarks
|
|
7
|
+
* Implements processing for include-type elements that represent file inclusion
|
|
8
|
+
* relationships within source code documentation. This class handles the XML
|
|
9
|
+
* Schema definition for incType elements, which contain textual content
|
|
10
|
+
* representing file paths or names along with attributes that specify inclusion
|
|
11
|
+
* behaviour and reference relationships.
|
|
12
|
+
*
|
|
13
|
+
* The implementation processes both local and system includes, distinguishing
|
|
14
|
+
* between quoted includes ("filename") and angle-bracket includes (<filename>)
|
|
15
|
+
* through the local attribute. Optional reference identifiers enable
|
|
16
|
+
* cross-referencing to the included file's documentation.
|
|
17
|
+
*
|
|
4
18
|
* @public
|
|
5
19
|
*/
|
|
6
20
|
export declare abstract class AbstractIncType extends AbstractDataModelBase {
|
|
21
|
+
/**
|
|
22
|
+
* The textual content representing the file path or name being included.
|
|
23
|
+
*
|
|
24
|
+
* @remarks
|
|
25
|
+
* Contains the file path or filename as specified in the include directive.
|
|
26
|
+
* This text content represents the actual filename that appears within
|
|
27
|
+
* the include statement in the source code, providing the reference to
|
|
28
|
+
* the included file within the documentation structure.
|
|
29
|
+
*/
|
|
7
30
|
text: string;
|
|
31
|
+
/**
|
|
32
|
+
* Indicates whether the include uses local or system include syntax.
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* Determines the include syntax style: when true, indicates a local include
|
|
36
|
+
* using quotation marks ("filename"), when false, indicates a system include
|
|
37
|
+
* using angle brackets (<filename>). This distinction affects how the
|
|
38
|
+
* preprocessor searches for the included file.
|
|
39
|
+
*/
|
|
8
40
|
local: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Optional reference identifier for cross-linking to the included file.
|
|
43
|
+
*
|
|
44
|
+
* @remarks
|
|
45
|
+
* Contains the reference identifier that links to the documentation of
|
|
46
|
+
* the included file. This enables navigation from include statements to
|
|
47
|
+
* the actual file documentation within the generated documentation system.
|
|
48
|
+
*/
|
|
9
49
|
refId?: string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Constructs an AbstractIncType instance from XML element data.
|
|
52
|
+
*
|
|
53
|
+
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
54
|
+
* @param element - The XML element object containing the include data
|
|
55
|
+
* @param elementName - The name of the XML element being processed
|
|
56
|
+
*
|
|
57
|
+
* @remarks
|
|
58
|
+
* This constructor processes include-type elements by extracting the
|
|
59
|
+
* textual content representing the filename and processing attributes
|
|
60
|
+
* that specify inclusion behaviour. The parser validates the presence
|
|
61
|
+
* of required content and attributes whilst maintaining compliance with
|
|
62
|
+
* the XML Schema definition for include elements.
|
|
63
|
+
*
|
|
64
|
+
* The implementation distinguishes between local and system includes
|
|
65
|
+
* through the local attribute and optionally associates reference
|
|
66
|
+
* identifiers for cross-linking to included file documentation.
|
|
67
|
+
*/
|
|
10
68
|
constructor(xml: DoxygenXmlParser, element: object, elementName: string);
|
|
11
69
|
}
|
|
12
70
|
/**
|
|
71
|
+
* Data model for includes elements within documentation content.
|
|
72
|
+
*
|
|
73
|
+
* @remarks
|
|
74
|
+
* Represents includes elements that document files included by the current
|
|
75
|
+
* source file. This implementation processes Doxygen's includes elements,
|
|
76
|
+
* which contain information about files that are included through preprocessor
|
|
77
|
+
* directives such as #include statements within the documented source code.
|
|
78
|
+
*
|
|
79
|
+
* The includes relationship indicates a dependency where the current file
|
|
80
|
+
* incorporates content from the referenced file during compilation.
|
|
81
|
+
*
|
|
13
82
|
* @public
|
|
14
83
|
*/
|
|
15
84
|
export declare class IncludesDataModel extends AbstractIncType {
|
|
85
|
+
/**
|
|
86
|
+
* Constructs an IncludesDataModel from XML element data.
|
|
87
|
+
*
|
|
88
|
+
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
89
|
+
* @param element - The XML element object containing the includes data
|
|
90
|
+
*
|
|
91
|
+
* @remarks
|
|
92
|
+
* This constructor delegates to the parent AbstractIncType to handle
|
|
93
|
+
* include processing whilst identifying the element as 'includes' for
|
|
94
|
+
* proper XML schema compliance and include relationship documentation.
|
|
95
|
+
* The processed data represents files that are included by the current
|
|
96
|
+
* source file through preprocessor directives.
|
|
97
|
+
*/
|
|
16
98
|
constructor(xml: DoxygenXmlParser, element: object);
|
|
17
99
|
}
|
|
18
100
|
/**
|
|
101
|
+
* Data model for includedby elements within documentation content.
|
|
102
|
+
*
|
|
103
|
+
* @remarks
|
|
104
|
+
* Represents includedby elements that document files which include the
|
|
105
|
+
* current source file. This implementation processes Doxygen's includedby
|
|
106
|
+
* elements, which contain information about files that incorporate the
|
|
107
|
+
* current file through preprocessor directives, establishing reverse
|
|
108
|
+
* inclusion relationships within the documentation system.
|
|
109
|
+
*
|
|
110
|
+
* The includedby relationship indicates a dependency where other files
|
|
111
|
+
* incorporate content from the current file during compilation.
|
|
112
|
+
*
|
|
19
113
|
* @public
|
|
20
114
|
*/
|
|
21
115
|
export declare class IncludedByDataModel extends AbstractIncType {
|
|
116
|
+
/**
|
|
117
|
+
* Constructs an IncludedByDataModel from XML element data.
|
|
118
|
+
*
|
|
119
|
+
* @param xml - The Doxygen XML parser instance for processing XML content
|
|
120
|
+
* @param element - The XML element object containing the includedby data
|
|
121
|
+
*
|
|
122
|
+
* @remarks
|
|
123
|
+
* This constructor delegates to the parent AbstractIncType to handle
|
|
124
|
+
* include processing whilst identifying the element as 'includedby' for
|
|
125
|
+
* proper XML schema compliance and reverse include relationship handling.
|
|
126
|
+
* The processed data represents files that include the current source file
|
|
127
|
+
* through preprocessor directives, establishing dependency relationships.
|
|
128
|
+
*/
|
|
22
129
|
constructor(xml: DoxygenXmlParser, element: object);
|
|
23
130
|
}
|
|
24
131
|
//# sourceMappingURL=inctype-dm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inctype-dm.d.ts","sourceRoot":"","sources":["../../../../src/doxygen/data-model/compounds/inctype-dm.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAanD
|
|
1
|
+
{"version":3,"file":"inctype-dm.d.ts","sourceRoot":"","sources":["../../../../src/doxygen/data-model/compounds/inctype-dm.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAanD;;;;;;;;;;;;;;;;GAgBG;AACH,8BAAsB,eAAgB,SAAQ,qBAAqB;IACjE;;;;;;;;OAQG;IAEH,IAAI,SAAK;IAET;;;;;;;;OAQG;IAEH,KAAK,UAAQ;IAEb;;;;;;;OAOG;IAEH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAE1B;;;;;;;;;;;;;;;;;OAiBG;gBACS,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;CAuCxE;AAOD;;;;;;;;;;;;;GAaG;AACH,qBAAa,iBAAkB,SAAQ,eAAe;IACpD;;;;;;;;;;;;OAYG;gBACS,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM;CAInD;AAED;;;;;;;;;;;;;;GAcG;AACH,qBAAa,mBAAoB,SAAQ,eAAe;IACtD;;;;;;;;;;;;OAYG;gBACS,GAAG,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM;CAInD"}
|
|
@@ -22,15 +22,73 @@ import { AbstractDataModelBase } from '../types.js';
|
|
|
22
22
|
// </xsd:simpleContent>
|
|
23
23
|
// </xsd:complexType>
|
|
24
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
|
+
*
|
|
25
39
|
* @public
|
|
26
40
|
*/
|
|
27
41
|
export class AbstractIncType extends AbstractDataModelBase {
|
|
42
|
+
/**
|
|
43
|
+
* The textual content representing the file path or name being included.
|
|
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
|
+
*/
|
|
28
51
|
// Mandatory elements.
|
|
29
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
|
+
*/
|
|
30
62
|
// Mandatory attributes.
|
|
31
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
|
+
*/
|
|
32
72
|
// Optional attributes.
|
|
33
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
|
+
*/
|
|
34
92
|
constructor(xml, element, elementName) {
|
|
35
93
|
super(elementName);
|
|
36
94
|
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))ect(element))ect(element))
|
|
@@ -63,18 +121,67 @@ export class AbstractIncType extends AbstractDataModelBase {
|
|
|
63
121
|
// <xsd:element name="includes" type="incType" minOccurs="0" maxOccurs="unbounded" />
|
|
64
122
|
// <xsd:element name="includedby" type="incType" minOccurs="0" maxOccurs="unbounded" />
|
|
65
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
|
+
*
|
|
66
135
|
* @public
|
|
67
136
|
*/
|
|
68
137
|
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
|
+
*/
|
|
69
151
|
constructor(xml, element) {
|
|
70
152
|
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
71
153
|
super(xml, element, 'includes');
|
|
72
154
|
}
|
|
73
155
|
}
|
|
74
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
|
+
*
|
|
75
169
|
* @public
|
|
76
170
|
*/
|
|
77
171
|
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
|
+
*/
|
|
78
185
|
constructor(xml, element) {
|
|
79
186
|
// console.log(elementName, util.inspect(element, { compact: false, depth: 999 }))
|
|
80
187
|
super(xml, element, 'includedby');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inctype-dm.js","sourceRoot":"","sources":["../../../../src/doxygen/data-model/compounds/inctype-dm.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,+EAA+E;AAE/E,OAAO,MAAM,MAAM,aAAa,CAAA;AAChC,OAAO,IAAI,MAAM,WAAW,CAAA;AAG5B,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAEnD,+EAA+E;AAE/E,mCAAmC;AACnC,wBAAwB;AACxB,wCAAwC;AACxC,wEAAwE;AACxE,sDAAs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