@noyrax/documentation-system-plugin 1.0.4-beta.3 → 1.0.4-beta.5
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/out/cache/ast-cache.js +69 -0
- package/out/cache/ast-cache.js.map +1 -0
- package/out/cache/dependencies-cache.js +73 -0
- package/out/cache/dependencies-cache.js.map +1 -0
- package/out/cache/output-cache.js +69 -0
- package/out/cache/output-cache.js.map +1 -0
- package/out/cache/signature-cache.js +60 -0
- package/out/cache/signature-cache.js.map +1 -0
- package/out/cli/generate-cli.js +345 -0
- package/out/cli/generate-cli.js.map +1 -0
- package/out/cli/scan-cli.js +157 -0
- package/out/cli/scan-cli.js.map +1 -0
- package/out/cli/validate-cli.js +258 -0
- package/out/cli/validate-cli.js.map +1 -0
- package/out/core/async.js +38 -0
- package/out/core/async.js.map +1 -0
- package/out/core/consolidation.js +230 -0
- package/out/core/consolidation.js.map +1 -0
- package/out/core/git.js +48 -0
- package/out/core/git.js.map +1 -0
- package/out/core/language-detection.js +29 -0
- package/out/core/language-detection.js.map +1 -0
- package/out/core/scanner.js +180 -0
- package/out/core/scanner.js.map +1 -0
- package/out/core/signature-formatter.js +162 -0
- package/out/core/signature-formatter.js.map +1 -0
- package/out/core/symbol-classifier.js +96 -0
- package/out/core/symbol-classifier.js.map +1 -0
- package/out/core/symbols.js +24 -0
- package/out/core/symbols.js.map +1 -0
- package/out/drift/index.js +28 -0
- package/out/drift/index.js.map +1 -0
- package/out/extension.js +984 -0
- package/out/extension.js.map +1 -0
- package/out/generator/adr-linker.js +216 -0
- package/out/generator/adr-linker.js.map +1 -0
- package/out/generator/change-report.js +124 -0
- package/out/generator/change-report.js.map +1 -0
- package/out/generator/dependency-graph.js +98 -0
- package/out/generator/dependency-graph.js.map +1 -0
- package/out/generator/index.js +117 -0
- package/out/generator/index.js.map +1 -0
- package/out/generator/module-doc.js +438 -0
- package/out/generator/module-doc.js.map +1 -0
- package/out/generator/system-metadata.js +202 -0
- package/out/generator/system-metadata.js.map +1 -0
- package/out/index/index.js +161 -0
- package/out/index/index.js.map +1 -0
- package/out/logging/index.js +24 -0
- package/out/logging/index.js.map +1 -0
- package/out/parsers/dependencies.js +126 -0
- package/out/parsers/dependencies.js.map +1 -0
- package/out/parsers/json-yaml.js +121 -0
- package/out/parsers/json-yaml.js.map +1 -0
- package/out/parsers/python.js +160 -0
- package/out/parsers/python.js.map +1 -0
- package/out/parsers/ts-js.js +598 -0
- package/out/parsers/ts-js.js.map +1 -0
- package/out/parsers/types.js +3 -0
- package/out/parsers/types.js.map +1 -0
- package/out/ui/commands-provider.js +91 -0
- package/out/ui/commands-provider.js.map +1 -0
- package/out/ui/status-bar.js +85 -0
- package/out/ui/status-bar.js.map +1 -0
- package/out/validator/index.js +185 -0
- package/out/validator/index.js.map +1 -0
- package/out/validator/signature-matching.js +261 -0
- package/out/validator/signature-matching.js.map +1 -0
- package/out/validator/status.js +38 -0
- package/out/validator/status.js.map +1 -0
- package/package.json +9 -1
- package/.vscodeignore +0 -41
- package/MCP_SERVER_SETUP.md +0 -371
- package/assets/icon.svg +0 -27
- package/docs/LINKEDIN_ANTWORT_SEQUENZDIAGRAMME.md +0 -190
- package/docs/SEQUENZDIAGRAMM_BEWEIS.md +0 -469
- package/docs/SEQUENZDIAGRAMM_VALIDATE_FLOW.md +0 -282
- package/docs/adr/001-signatur-abweichung-fix.md +0 -54
- package/docs/adr/002-file-specific-validation-1.0.1.md +0 -45
- package/docs/adr/003-documentation-generation-bugs.md +0 -134
- package/docs/adr/004-validator-signature-matching-fix.md +0 -121
- package/docs/adr/005-validator-generic-simplification-tightening.md +0 -35
- package/docs/adr/006-parser-variable-type-extraction.md +0 -33
- package/docs/adr/007-ts-parser-load-libs-for-accurate-types.md +0 -31
- package/docs/adr/008-dependencies-cache-phase1.md +0 -133
- package/docs/adr/009-consolidation-union-logic-phase1-2.md +0 -147
- package/docs/adr/010-extension-union-integration-phase1-3-and-phase2.md +0 -179
- package/docs/adr/011-module-doc-change-tracking-phase3.md +0 -190
- package/docs/adr/012-git-deletions-change-report-phase4.md +0 -235
- package/docs/adr/013-system-functionality-fixes.md +0 -279
- package/docs/adr/014-rules-migration-und-mcp-integration.md +0 -113
- package/docs/adr/015-global-agent-package.md +0 -158
- package/docs/adr/016-produktisierung-docguard.md +0 -193
- package/docs/adr/017-signature-matching-optional-fields.md +0 -128
- package/docs/adr/018-rebranding-docguard-to-noyrax.md +0 -109
- package/docs/adr/019-system-schwachstellen-analyse-und-fixes.md +0 -204
- package/docs/adr/020-api-doc-tiefe-und-signatureformatter.md +0 -74
- package/docs/adr/021-semantic-api-docs-and-symbol-classifier.md +0 -125
- package/docs/adr/022-semantic-class-and-constants-rendering.md +0 -82
- package/docs/adr/023-adr-verknuepfung-modul-doku.md +0 -54
- package/docs/adr/024-cursor-rules-mehrdimensionaler-raum.md +0 -230
- package/docs/adr/025-mcp-tools-scan-validate-cli-bridge.md +0 -202
- package/docs/adr/026-reality-driven-development-system.md +0 -173
- package/docs/adr/027-scanner-excludes-and-union-logic-fix.md +0 -189
- package/docs/adr/028-src-coverage-union-resync.md +0 -124
- package/docs/adr/029-parser-flow-kopplung-und-sync-drift-modi.md +0 -102
- package/docs/adr/030-dependency-import-symbol-names-preservation.md +0 -123
- package/docs/adr/031-generate-cli-vollstaendige-dokumentation.md +0 -99
- package/docs/adr/032-windows-optimized-verification-scripts.md +0 -165
- package/docs/adr/036-enhanced-dependency-metadata.md +0 -190
- package/docs/adr/TEMPLATE.md +0 -76
- package/docs/index/symbols.jsonl +0 -78
- package/docs/modules/action__action.yml.md +0 -50
- package/docs/modules/documentation.config.schema.json.md +0 -37
- package/docs/modules/mcp__package.json.md +0 -130
- package/docs/modules/mcp__src__resources__docs.ts.md +0 -94
- package/docs/modules/mcp__src__server.ts.md +0 -15
- package/docs/modules/mcp__src__tools__drift.ts.md +0 -114
- package/docs/modules/mcp__src__tools__impact.ts.md +0 -130
- package/docs/modules/mcp__src__tools__scan.ts.md +0 -75
- package/docs/modules/mcp__src__tools__validate.ts.md +0 -116
- package/docs/modules/mcp__src__tools__verify-adrs.ts.md +0 -106
- package/docs/modules/mcp__tsconfig.json.md +0 -22
- package/docs/modules/package.json.md +0 -130
- package/docs/modules/packages__doc-system-agent__examples__basic-project__package.json.md +0 -43
- package/docs/modules/packages__doc-system-agent__examples__basic-project__src__calculator.ts.md +0 -81
- package/docs/modules/packages__doc-system-agent__package.json.md +0 -154
- package/docs/modules/packages__doc-system-agent__src__cli__index.ts.md +0 -8
- package/docs/modules/packages__doc-system-agent__src__cli__init.ts.md +0 -93
- package/docs/modules/packages__doc-system-agent__src__cli__update.ts.md +0 -113
- package/docs/modules/packages__doc-system-agent__src__constants.ts.md +0 -29
- package/docs/modules/packages__doc-system-agent__src__index.ts.md +0 -234
- package/docs/modules/packages__doc-system-agent__src__mcp__resources__docs.ts.md +0 -94
- package/docs/modules/packages__doc-system-agent__src__mcp__server.ts.md +0 -17
- package/docs/modules/packages__doc-system-agent__src__mcp__tools__drift.ts.md +0 -38
- package/docs/modules/packages__doc-system-agent__src__mcp__tools__impact.ts.md +0 -75
- package/docs/modules/packages__doc-system-agent__src__mcp__tools__scan.ts.md +0 -23
- package/docs/modules/packages__doc-system-agent__src__mcp__tools__validate.ts.md +0 -23
- package/docs/modules/packages__doc-system-agent__src__mcp__tools__verify-adrs.ts.md +0 -106
- package/docs/modules/packages__doc-system-agent__src__mcp__types.ts.md +0 -355
- package/docs/modules/packages__doc-system-agent__tsconfig.json.md +0 -22
- package/docs/modules/scripts__verify-adrs.js.md +0 -97
- package/docs/modules/scripts__verify-architecture.js.md +0 -93
- package/docs/modules/scripts__verify-imports.js.md +0 -114
- package/docs/modules/src____tests____setup.ts.md +0 -8
- package/docs/modules/src____tests____signature-formatter.test.ts.md +0 -16
- package/docs/modules/src____tests____snapshot-doc-generation.test.ts.md +0 -8
- package/docs/modules/src____tests____symbol-classifier.test.ts.md +0 -16
- package/docs/modules/src__cache__ast-cache.ts.md +0 -91
- package/docs/modules/src__cache__dependencies-cache.ts.md +0 -89
- package/docs/modules/src__cache__output-cache.ts.md +0 -91
- package/docs/modules/src__cache__signature-cache.ts.md +0 -76
- package/docs/modules/src__cli__generate-cli.ts.md +0 -130
- package/docs/modules/src__cli__scan-cli.ts.md +0 -99
- package/docs/modules/src__cli__validate-cli.ts.md +0 -144
- package/docs/modules/src__core__async.ts.md +0 -18
- package/docs/modules/src__core__consolidation.ts.md +0 -157
- package/docs/modules/src__core__git.ts.md +0 -35
- package/docs/modules/src__core__language-detection.ts.md +0 -31
- package/docs/modules/src__core__scanner.ts.md +0 -100
- package/docs/modules/src__core__signature-formatter.ts.md +0 -232
- package/docs/modules/src__core__symbol-classifier.ts.md +0 -178
- package/docs/modules/src__core__symbols.ts.md +0 -31
- package/docs/modules/src__drift__index.ts.md +0 -53
- package/docs/modules/src__extension.ts.md +0 -418
- package/docs/modules/src__generator__adr-linker.ts.md +0 -154
- package/docs/modules/src__generator__change-report.ts.md +0 -85
- package/docs/modules/src__generator__dependency-graph.ts.md +0 -63
- package/docs/modules/src__generator__index.ts.md +0 -40
- package/docs/modules/src__generator__module-doc.ts.md +0 -242
- package/docs/modules/src__index__index.ts.md +0 -159
- package/docs/modules/src__logging__index.ts.md +0 -87
- package/docs/modules/src__parsers__dependencies.ts.md +0 -69
- package/docs/modules/src__parsers__json-yaml.ts.md +0 -96
- package/docs/modules/src__parsers__python.ts.md +0 -73
- package/docs/modules/src__parsers__ts-js.ts.md +0 -48
- package/docs/modules/src__parsers__types.ts.md +0 -117
- package/docs/modules/src__ui__commands-provider.ts.md +0 -70
- package/docs/modules/src__ui__status-bar.ts.md +0 -79
- package/docs/modules/src__validator__index.ts.md +0 -211
- package/docs/modules/src__validator__signature-matching.ts.md +0 -209
- package/docs/modules/src__validator__status.ts.md +0 -72
- package/docs/modules/test-mcp-resources.js.md +0 -27
- package/docs/modules/tsconfig.json.md +0 -22
- package/docs/system/CHANGE_REPORT.md +0 -26
- package/docs/system/DEPENDENCIES.md +0 -403
- package/docs/system/DEPENDENCY_GRAPH.md +0 -336
- package/docs/system/NAVIGATION_SPACE_ANALYSIS.md +0 -244
- package/docs/system/NPX_CACHE_FIX.md +0 -85
- package/docs/system/NPX_LOCAL_USAGE.md +0 -66
- package/docs/system/PLUGIN_ECOSYSTEM_STATUS.md +0 -465
- package/docs/system/PLUGIN_UPDATE_GUIDE.md +0 -212
- package/docs/system/RULES_UPDATE_GUIDE.md +0 -182
- package/docs/system/SYSTEM_ANALYSIS.md +0 -947
- package/docs/system/SYSTEM_METADATA.json +0 -37
- package/documentation.config.schema.json +0 -77
- package/publish.ps1 +0 -21
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
# Modul: src/core/signature-formatter.ts
|
|
2
|
-
|
|
3
|
-
## Relevante ADRs
|
|
4
|
-
|
|
5
|
-
- [ADR-019: System-Schwachstellen-Analyse und proaktive Fixes](../adr/019-system-schwachstellen-analyse-und-fixes.md)
|
|
6
|
-
- [ADR-020: API-Doku-Tiefe & zentrale Signatur-Formatierung](../adr/020-api-doc-tiefe-und-signatureformatter.md)
|
|
7
|
-
- [ADR-023: ADR-Verknüpfung mit Modul-Dokumentation](../adr/023-adr-verknuepfung-modul-doku.md)
|
|
8
|
-
|
|
9
|
-
<!-- change: symbol-added name="SignatureFormatter.formatFunctionOrMethod" kind="method" -->
|
|
10
|
-
### class: SignatureFormatter
|
|
11
|
-
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
12
|
-
Signatur: `class SignatureFormatter`
|
|
13
|
-
```ts
|
|
14
|
-
class SignatureFormatter
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
Diese Klasse bündelt 11 Methoden. Die detaillierten Signaturen sind in den nachfolgenden `method:`-Abschnitten dokumentiert.
|
|
18
|
-
|
|
19
|
-
<!-- change: symbol-added name="SignatureFormatter.formatFunctionParameter" kind="method" -->
|
|
20
|
-
### interface: CompareResult
|
|
21
|
-
Rolle: domain-model (Sichtbarkeit: public, Priorität: high)
|
|
22
|
-
Signatur: `interface CompareResult {
|
|
23
|
-
match: boolean;
|
|
24
|
-
reason: 'exact' | 'optional-fields' | 'generic-simplification' | 'mismatch';
|
|
25
|
-
}`
|
|
26
|
-
```ts
|
|
27
|
-
interface CompareResult {
|
|
28
|
-
match: boolean;
|
|
29
|
-
reason: 'exact' | 'optional-fields' | 'generic-simplification' | 'mismatch';
|
|
30
|
-
}
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
Eigenschaften:
|
|
34
|
-
|
|
35
|
-
| Name | Typ | Optional |
|
|
36
|
-
|------|-----|----------|
|
|
37
|
-
| `match` | `boolean` | nein |
|
|
38
|
-
| `reason` | `'exact' | 'optional-fields' | 'generic-simplification' | 'mismatch'` | nein |
|
|
39
|
-
|
|
40
|
-
<!-- change: symbol-added name="SignatureFormatter.formatInterface" kind="method" -->
|
|
41
|
-
### interface: CompareOptions
|
|
42
|
-
Rolle: config (Sichtbarkeit: public, Priorität: normal)
|
|
43
|
-
Signatur: `interface CompareOptions {
|
|
44
|
-
tolerateOptionalFields?: boolean;
|
|
45
|
-
tolerateGenericSimplification?: boolean;
|
|
46
|
-
}`
|
|
47
|
-
```ts
|
|
48
|
-
interface CompareOptions {
|
|
49
|
-
tolerateOptionalFields?: boolean;
|
|
50
|
-
tolerateGenericSimplification?: boolean;
|
|
51
|
-
}
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
Eigenschaften:
|
|
55
|
-
|
|
56
|
-
| Name | Typ | Optional |
|
|
57
|
-
|------|-----|----------|
|
|
58
|
-
| `tolerateGenericSimplification` | `boolean` | ja |
|
|
59
|
-
| `tolerateOptionalFields` | `boolean` | ja |
|
|
60
|
-
|
|
61
|
-
<!-- change: symbol-added name="SignatureFormatter.formatInterfaceProperty" kind="method" -->
|
|
62
|
-
### method: SignatureFormatter.compare
|
|
63
|
-
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
64
|
-
Signatur: `compare(expected: string, documented: string, options: CompareOptions = …): CompareResult`
|
|
65
|
-
```ts
|
|
66
|
-
compare(expected: string, documented: string, options: CompareOptions = …): CompareResult
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
Parameter:
|
|
70
|
-
|
|
71
|
-
| Name | Typ | Optional | Default |
|
|
72
|
-
|------|-----|----------|---------|
|
|
73
|
-
| `documented` | `string` | nein | nein |
|
|
74
|
-
| `expected` | `string` | nein | nein |
|
|
75
|
-
| `options` | `CompareOptions` | nein | ja |
|
|
76
|
-
|
|
77
|
-
Rückgabewert: `CompareResult`
|
|
78
|
-
|
|
79
|
-
<!-- change: symbol-added name="SignatureFormatter.formatVariable" kind="method" -->
|
|
80
|
-
### method: SignatureFormatter.formatForDoc
|
|
81
|
-
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
82
|
-
Signatur: `formatForDoc(symbol: ParsedSymbol): string`
|
|
83
|
-
```ts
|
|
84
|
-
formatForDoc(symbol: ParsedSymbol): string
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
Parameter:
|
|
88
|
-
|
|
89
|
-
| Name | Typ | Optional | Default |
|
|
90
|
-
|------|-----|----------|---------|
|
|
91
|
-
| `symbol` | `ParsedSymbol` | nein | nein |
|
|
92
|
-
|
|
93
|
-
Rückgabewert: `string`
|
|
94
|
-
|
|
95
|
-
<!-- change: symbol-added name="SignatureFormatter.isGenericTypeSimplification" kind="method" -->
|
|
96
|
-
### method: SignatureFormatter.normalize
|
|
97
|
-
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
98
|
-
Signatur: `normalize(signature: string): string`
|
|
99
|
-
```ts
|
|
100
|
-
normalize(signature: string): string
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
Parameter:
|
|
104
|
-
|
|
105
|
-
| Name | Typ | Optional | Default |
|
|
106
|
-
|------|-----|----------|---------|
|
|
107
|
-
| `signature` | `string` | nein | nein |
|
|
108
|
-
|
|
109
|
-
Rückgabewert: `string`
|
|
110
|
-
|
|
111
|
-
<!-- change: symbol-added name="SignatureFormatter.isOptionalFieldCompatible" kind="method" -->
|
|
112
|
-
### method: SignatureFormatter.normalizeSignature
|
|
113
|
-
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
114
|
-
Signatur: `normalizeSignature(sig: SymbolSignature): string`
|
|
115
|
-
```ts
|
|
116
|
-
normalizeSignature(sig: SymbolSignature): string
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
Parameter:
|
|
120
|
-
|
|
121
|
-
| Name | Typ | Optional | Default |
|
|
122
|
-
|------|-----|----------|---------|
|
|
123
|
-
| `sig` | `SymbolSignature` | nein | nein |
|
|
124
|
-
|
|
125
|
-
Rückgabewert: `string`
|
|
126
|
-
|
|
127
|
-
### method: SignatureFormatter.formatFunctionOrMethod
|
|
128
|
-
Rolle: other (Sichtbarkeit: internal, Priorität: low)
|
|
129
|
-
Signatur: `formatFunctionOrMethod(symbol: ParsedSymbol): string`
|
|
130
|
-
```ts
|
|
131
|
-
formatFunctionOrMethod(symbol: ParsedSymbol): string
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
Parameter:
|
|
135
|
-
|
|
136
|
-
| Name | Typ | Optional | Default |
|
|
137
|
-
|------|-----|----------|---------|
|
|
138
|
-
| `symbol` | `ParsedSymbol` | nein | nein |
|
|
139
|
-
|
|
140
|
-
Rückgabewert: `string`
|
|
141
|
-
|
|
142
|
-
### method: SignatureFormatter.formatFunctionParameter
|
|
143
|
-
Rolle: other (Sichtbarkeit: internal, Priorität: low)
|
|
144
|
-
Signatur: `formatFunctionParameter(p: { name: string; optional?: boolean; type?: string; hasDefault?: boolean }): string`
|
|
145
|
-
```ts
|
|
146
|
-
formatFunctionParameter(p: { name: string; optional?: boolean; type?: string; hasDefault?: boolean }): string
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
Parameter:
|
|
150
|
-
|
|
151
|
-
| Name | Typ | Optional | Default |
|
|
152
|
-
|------|-----|----------|---------|
|
|
153
|
-
| `p` | `{ name: string; optional?: boolean; type?: string; hasDefault?: boolean }` | nein | nein |
|
|
154
|
-
|
|
155
|
-
Rückgabewert: `string`
|
|
156
|
-
|
|
157
|
-
### method: SignatureFormatter.formatInterface
|
|
158
|
-
Rolle: other (Sichtbarkeit: internal, Priorität: low)
|
|
159
|
-
Signatur: `formatInterface(symbol: ParsedSymbol): string`
|
|
160
|
-
```ts
|
|
161
|
-
formatInterface(symbol: ParsedSymbol): string
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
Parameter:
|
|
165
|
-
|
|
166
|
-
| Name | Typ | Optional | Default |
|
|
167
|
-
|------|-----|----------|---------|
|
|
168
|
-
| `symbol` | `ParsedSymbol` | nein | nein |
|
|
169
|
-
|
|
170
|
-
Rückgabewert: `string`
|
|
171
|
-
|
|
172
|
-
### method: SignatureFormatter.formatInterfaceProperty
|
|
173
|
-
Rolle: other (Sichtbarkeit: internal, Priorität: low)
|
|
174
|
-
Signatur: `formatInterfaceProperty(p: { name: string; optional?: boolean; type?: string }): string`
|
|
175
|
-
```ts
|
|
176
|
-
formatInterfaceProperty(p: { name: string; optional?: boolean; type?: string }): string
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
Parameter:
|
|
180
|
-
|
|
181
|
-
| Name | Typ | Optional | Default |
|
|
182
|
-
|------|-----|----------|---------|
|
|
183
|
-
| `p` | `{ name: string; optional?: boolean; type?: string }` | nein | nein |
|
|
184
|
-
|
|
185
|
-
Rückgabewert: `string`
|
|
186
|
-
|
|
187
|
-
### method: SignatureFormatter.formatVariable
|
|
188
|
-
Rolle: other (Sichtbarkeit: internal, Priorität: low)
|
|
189
|
-
Signatur: `formatVariable(symbol: ParsedSymbol): string`
|
|
190
|
-
```ts
|
|
191
|
-
formatVariable(symbol: ParsedSymbol): string
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
Parameter:
|
|
195
|
-
|
|
196
|
-
| Name | Typ | Optional | Default |
|
|
197
|
-
|------|-----|----------|---------|
|
|
198
|
-
| `symbol` | `ParsedSymbol` | nein | nein |
|
|
199
|
-
|
|
200
|
-
Rückgabewert: `string`
|
|
201
|
-
|
|
202
|
-
### method: SignatureFormatter.isGenericTypeSimplification
|
|
203
|
-
Rolle: other (Sichtbarkeit: internal, Priorität: low)
|
|
204
|
-
Signatur: `isGenericTypeSimplification(expected: string, documented: string): boolean`
|
|
205
|
-
```ts
|
|
206
|
-
isGenericTypeSimplification(expected: string, documented: string): boolean
|
|
207
|
-
```
|
|
208
|
-
|
|
209
|
-
Parameter:
|
|
210
|
-
|
|
211
|
-
| Name | Typ | Optional | Default |
|
|
212
|
-
|------|-----|----------|---------|
|
|
213
|
-
| `documented` | `string` | nein | nein |
|
|
214
|
-
| `expected` | `string` | nein | nein |
|
|
215
|
-
|
|
216
|
-
Rückgabewert: `boolean`
|
|
217
|
-
|
|
218
|
-
### method: SignatureFormatter.isOptionalFieldCompatible
|
|
219
|
-
Rolle: other (Sichtbarkeit: internal, Priorität: low)
|
|
220
|
-
Signatur: `isOptionalFieldCompatible(expected: string, documented: string): boolean`
|
|
221
|
-
```ts
|
|
222
|
-
isOptionalFieldCompatible(expected: string, documented: string): boolean
|
|
223
|
-
```
|
|
224
|
-
|
|
225
|
-
Parameter:
|
|
226
|
-
|
|
227
|
-
| Name | Typ | Optional | Default |
|
|
228
|
-
|------|-----|----------|---------|
|
|
229
|
-
| `documented` | `string` | nein | nein |
|
|
230
|
-
| `expected` | `string` | nein | nein |
|
|
231
|
-
|
|
232
|
-
Rückgabewert: `boolean`
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
# Modul: src/core/symbol-classifier.ts
|
|
2
|
-
|
|
3
|
-
## Relevante ADRs
|
|
4
|
-
|
|
5
|
-
- [ADR-021: Semantische API-Doku-Tiefe & SymbolClassifier](../adr/021-semantic-api-docs-and-symbol-classifier.md)
|
|
6
|
-
|
|
7
|
-
<!-- change: symbol-added name="hasAnySuffix" kind="function" -->
|
|
8
|
-
### interface: SymbolClassification
|
|
9
|
-
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
10
|
-
Signatur: `interface SymbolClassification {
|
|
11
|
-
visibility: SymbolVisibility;
|
|
12
|
-
role: SymbolRole;
|
|
13
|
-
priority: SymbolPriority;
|
|
14
|
-
}`
|
|
15
|
-
```ts
|
|
16
|
-
interface SymbolClassification {
|
|
17
|
-
visibility: SymbolVisibility;
|
|
18
|
-
role: SymbolRole;
|
|
19
|
-
priority: SymbolPriority;
|
|
20
|
-
}
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Eigenschaften:
|
|
24
|
-
|
|
25
|
-
| Name | Typ | Optional |
|
|
26
|
-
|------|-----|----------|
|
|
27
|
-
| `priority` | `SymbolPriority` | nein |
|
|
28
|
-
| `role` | `SymbolRole` | nein |
|
|
29
|
-
| `visibility` | `SymbolVisibility` | nein |
|
|
30
|
-
|
|
31
|
-
<!-- change: symbol-added name="normalizePath" kind="function" -->
|
|
32
|
-
### function: classifyPriority
|
|
33
|
-
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
34
|
-
Signatur: `classifyPriority(role: SymbolRole, visibility: SymbolVisibility): SymbolPriority`
|
|
35
|
-
```ts
|
|
36
|
-
classifyPriority(role: SymbolRole, visibility: SymbolVisibility): SymbolPriority
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
Parameter:
|
|
40
|
-
|
|
41
|
-
| Name | Typ | Optional | Default |
|
|
42
|
-
|------|-----|----------|---------|
|
|
43
|
-
| `role` | `SymbolRole` | nein | nein |
|
|
44
|
-
| `visibility` | `SymbolVisibility` | nein | nein |
|
|
45
|
-
|
|
46
|
-
Rückgabewert: `SymbolPriority`
|
|
47
|
-
|
|
48
|
-
<!-- change: symbol-added name="SymbolPriority" kind="type" -->
|
|
49
|
-
### function: classifyRole
|
|
50
|
-
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
51
|
-
Signatur: `classifyRole(symbol: ParsedSymbol): SymbolRole`
|
|
52
|
-
```ts
|
|
53
|
-
classifyRole(symbol: ParsedSymbol): SymbolRole
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
Parameter:
|
|
57
|
-
|
|
58
|
-
| Name | Typ | Optional | Default |
|
|
59
|
-
|------|-----|----------|---------|
|
|
60
|
-
| `symbol` | `ParsedSymbol` | nein | nein |
|
|
61
|
-
|
|
62
|
-
Rückgabewert: `SymbolRole`
|
|
63
|
-
|
|
64
|
-
<!-- change: symbol-added name="SymbolRole" kind="type" -->
|
|
65
|
-
### function: classifySymbol
|
|
66
|
-
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
67
|
-
Signatur: `classifySymbol(symbol: ParsedSymbol): SymbolClassification`
|
|
68
|
-
```ts
|
|
69
|
-
classifySymbol(symbol: ParsedSymbol): SymbolClassification
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
Parameter:
|
|
73
|
-
|
|
74
|
-
| Name | Typ | Optional | Default |
|
|
75
|
-
|------|-----|----------|---------|
|
|
76
|
-
| `symbol` | `ParsedSymbol` | nein | nein |
|
|
77
|
-
|
|
78
|
-
Rückgabewert: `SymbolClassification`
|
|
79
|
-
|
|
80
|
-
<!-- change: symbol-added name="SymbolVisibility" kind="type" -->
|
|
81
|
-
### function: classifyVisibility
|
|
82
|
-
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
83
|
-
Signatur: `classifyVisibility(symbol: ParsedSymbol): SymbolVisibility`
|
|
84
|
-
```ts
|
|
85
|
-
classifyVisibility(symbol: ParsedSymbol): SymbolVisibility
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
Parameter:
|
|
89
|
-
|
|
90
|
-
| Name | Typ | Optional | Default |
|
|
91
|
-
|------|-----|----------|---------|
|
|
92
|
-
| `symbol` | `ParsedSymbol` | nein | nein |
|
|
93
|
-
|
|
94
|
-
Rückgabewert: `SymbolVisibility`
|
|
95
|
-
|
|
96
|
-
### function: filePathIncludes
|
|
97
|
-
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
98
|
-
Signatur: `filePathIncludes(path: string, segments: string[]): boolean`
|
|
99
|
-
```ts
|
|
100
|
-
filePathIncludes(path: string, segments: string[]): boolean
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
Parameter:
|
|
104
|
-
|
|
105
|
-
| Name | Typ | Optional | Default |
|
|
106
|
-
|------|-----|----------|---------|
|
|
107
|
-
| `path` | `string` | nein | nein |
|
|
108
|
-
| `segments` | `string[]` | nein | nein |
|
|
109
|
-
|
|
110
|
-
Rückgabewert: `boolean`
|
|
111
|
-
|
|
112
|
-
### function: hasAnySubstring
|
|
113
|
-
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
114
|
-
Signatur: `hasAnySubstring(name: string, parts: string[]): boolean`
|
|
115
|
-
```ts
|
|
116
|
-
hasAnySubstring(name: string, parts: string[]): boolean
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
Parameter:
|
|
120
|
-
|
|
121
|
-
| Name | Typ | Optional | Default |
|
|
122
|
-
|------|-----|----------|---------|
|
|
123
|
-
| `name` | `string` | nein | nein |
|
|
124
|
-
| `parts` | `string[]` | nein | nein |
|
|
125
|
-
|
|
126
|
-
Rückgabewert: `boolean`
|
|
127
|
-
|
|
128
|
-
### function: hasAnySuffix
|
|
129
|
-
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
130
|
-
Signatur: `hasAnySuffix(name: string, suffixes: string[]): boolean`
|
|
131
|
-
```ts
|
|
132
|
-
hasAnySuffix(name: string, suffixes: string[]): boolean
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
Parameter:
|
|
136
|
-
|
|
137
|
-
| Name | Typ | Optional | Default |
|
|
138
|
-
|------|-----|----------|---------|
|
|
139
|
-
| `name` | `string` | nein | nein |
|
|
140
|
-
| `suffixes` | `string[]` | nein | nein |
|
|
141
|
-
|
|
142
|
-
Rückgabewert: `boolean`
|
|
143
|
-
|
|
144
|
-
### function: normalizePath
|
|
145
|
-
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
146
|
-
Signatur: `normalizePath(p: string): string`
|
|
147
|
-
```ts
|
|
148
|
-
normalizePath(p: string): string
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
Parameter:
|
|
152
|
-
|
|
153
|
-
| Name | Typ | Optional | Default |
|
|
154
|
-
|------|-----|----------|---------|
|
|
155
|
-
| `p` | `string` | nein | nein |
|
|
156
|
-
|
|
157
|
-
Rückgabewert: `string`
|
|
158
|
-
|
|
159
|
-
### type: SymbolPriority
|
|
160
|
-
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
161
|
-
Signatur: `type SymbolPriority`
|
|
162
|
-
```ts
|
|
163
|
-
type SymbolPriority
|
|
164
|
-
```
|
|
165
|
-
|
|
166
|
-
### type: SymbolRole
|
|
167
|
-
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
168
|
-
Signatur: `type SymbolRole`
|
|
169
|
-
```ts
|
|
170
|
-
type SymbolRole
|
|
171
|
-
```
|
|
172
|
-
|
|
173
|
-
### type: SymbolVisibility
|
|
174
|
-
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
175
|
-
Signatur: `type SymbolVisibility`
|
|
176
|
-
```ts
|
|
177
|
-
type SymbolVisibility
|
|
178
|
-
```
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# Modul: src/core/symbols.ts
|
|
2
|
-
|
|
3
|
-
### function: computeSignatureHash
|
|
4
|
-
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
5
|
-
Signatur: `computeSignatureHash(symbol: ParsedSymbol): string`
|
|
6
|
-
```ts
|
|
7
|
-
computeSignatureHash(symbol: ParsedSymbol): string
|
|
8
|
-
```
|
|
9
|
-
|
|
10
|
-
Parameter:
|
|
11
|
-
|
|
12
|
-
| Name | Typ | Optional | Default |
|
|
13
|
-
|------|-----|----------|---------|
|
|
14
|
-
| `symbol` | `ParsedSymbol` | nein | nein |
|
|
15
|
-
|
|
16
|
-
Rückgabewert: `string`
|
|
17
|
-
|
|
18
|
-
### function: makeStableSymbolId
|
|
19
|
-
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
20
|
-
Signatur: `makeStableSymbolId(symbol: ParsedSymbol): string`
|
|
21
|
-
```ts
|
|
22
|
-
makeStableSymbolId(symbol: ParsedSymbol): string
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
Parameter:
|
|
26
|
-
|
|
27
|
-
| Name | Typ | Optional | Default |
|
|
28
|
-
|------|-----|----------|---------|
|
|
29
|
-
| `symbol` | `ParsedSymbol` | nein | nein |
|
|
30
|
-
|
|
31
|
-
Rückgabewert: `string`
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# Modul: src/drift/index.ts
|
|
2
|
-
|
|
3
|
-
## Relevante ADRs
|
|
4
|
-
|
|
5
|
-
- [ADR-029: Parser-Flow-Kopplung und Sync/Drift-Modi für die Validierung](../adr/029-parser-flow-kopplung-und-sync-drift-modi.md)
|
|
6
|
-
|
|
7
|
-
### interface: DriftResult
|
|
8
|
-
Rolle: domain-model (Sichtbarkeit: public, Priorität: high)
|
|
9
|
-
Signatur: `interface DriftResult {
|
|
10
|
-
staleSymbols: string[];
|
|
11
|
-
}`
|
|
12
|
-
```ts
|
|
13
|
-
interface DriftResult {
|
|
14
|
-
staleSymbols: string[];
|
|
15
|
-
}
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
Eigenschaften:
|
|
19
|
-
|
|
20
|
-
| Name | Typ | Optional |
|
|
21
|
-
|------|-----|----------|
|
|
22
|
-
| `staleSymbols` | `string[]` | nein |
|
|
23
|
-
|
|
24
|
-
### function: detectDrift
|
|
25
|
-
Rolle: other (Sichtbarkeit: public, Priorität: normal)
|
|
26
|
-
Signatur: `detectDrift(previous: SignatureCacheData | null, current: CacheEntry[]): DriftResult`
|
|
27
|
-
```ts
|
|
28
|
-
detectDrift(previous: SignatureCacheData | null, current: CacheEntry[]): DriftResult
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
Parameter:
|
|
32
|
-
|
|
33
|
-
| Name | Typ | Optional | Default |
|
|
34
|
-
|------|-----|----------|---------|
|
|
35
|
-
| `current` | `CacheEntry[]` | nein | nein |
|
|
36
|
-
| `previous` | `SignatureCacheData | null` | nein | nein |
|
|
37
|
-
|
|
38
|
-
Rückgabewert: `DriftResult`
|
|
39
|
-
|
|
40
|
-
### function: computeCacheEntries
|
|
41
|
-
Rolle: infra (Sichtbarkeit: public, Priorität: low)
|
|
42
|
-
Signatur: `computeCacheEntries(symbols: ParsedSymbol[]): CacheEntry[]`
|
|
43
|
-
```ts
|
|
44
|
-
computeCacheEntries(symbols: ParsedSymbol[]): CacheEntry[]
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
Parameter:
|
|
48
|
-
|
|
49
|
-
| Name | Typ | Optional | Default |
|
|
50
|
-
|------|-----|----------|---------|
|
|
51
|
-
| `symbols` | `ParsedSymbol[]` | nein | nein |
|
|
52
|
-
|
|
53
|
-
Rückgabewert: `CacheEntry[]`
|