ts2famix 2.1.0-beta.2 → 3.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.
- package/.eslintrc.json +24 -24
- package/LICENSE +24 -24
- package/README.md +78 -78
- package/dist/analyze.js +3 -3
- package/dist/analyze_functions/process_functions.js +92 -62
- package/dist/famix_functions/EntityDictionary.js +674 -599
- package/dist/famix_functions/helpers_creation.js +18 -12
- package/dist/fqn.js +351 -18
- package/dist/lib/famix/famix_JSON_exporter.js +1 -1
- package/dist/lib/famix/famix_base_element.js +1 -1
- package/dist/lib/famix/famix_repository.js +14 -5
- package/dist/lib/famix/index.js +1 -1
- package/dist/lib/famix/model/famix/access.js +1 -1
- package/dist/lib/famix/model/famix/accessor.js +1 -1
- package/dist/lib/famix/model/famix/alias.js +1 -1
- package/dist/lib/famix/model/famix/arrow_function.js +1 -1
- package/dist/lib/famix/model/famix/behavioral_entity.js +1 -1
- package/dist/lib/famix/model/famix/class.js +1 -1
- package/dist/lib/famix/model/famix/comment.js +1 -1
- package/dist/lib/famix/model/famix/concretisation.js +1 -1
- package/dist/lib/famix/model/famix/container_entity.js +1 -1
- package/dist/lib/famix/model/famix/decorator.js +1 -1
- package/dist/lib/famix/model/famix/entity.js +1 -1
- package/dist/lib/famix/model/famix/enum.js +1 -1
- package/dist/lib/famix/model/famix/enum_value.js +1 -1
- package/dist/lib/famix/model/famix/function.js +1 -1
- package/dist/lib/famix/model/famix/import_clause.js +1 -1
- package/dist/lib/famix/model/famix/index.js +1 -1
- package/dist/lib/famix/model/famix/indexed_file_anchor.js +1 -1
- package/dist/lib/famix/model/famix/inheritance.js +1 -1
- package/dist/lib/famix/model/famix/interface.js +1 -1
- package/dist/lib/famix/model/famix/invocation.js +1 -1
- package/dist/lib/famix/model/famix/method.js +1 -1
- package/dist/lib/famix/model/famix/module.js +2 -2
- package/dist/lib/famix/model/famix/named_entity.js +1 -1
- package/dist/lib/famix/model/famix/parameter.js +1 -1
- package/dist/lib/famix/model/famix/parameter_concretisation.js +1 -1
- package/dist/lib/famix/model/famix/parameter_type.js +1 -1
- package/dist/lib/famix/model/famix/parametric_arrow_function.js +1 -1
- package/dist/lib/famix/model/famix/parametric_class.js +1 -1
- package/dist/lib/famix/model/famix/parametric_function.js +1 -1
- package/dist/lib/famix/model/famix/parametric_interface.js +1 -1
- package/dist/lib/famix/model/famix/parametric_method.js +1 -1
- package/dist/lib/famix/model/famix/primitive_type.js +1 -1
- package/dist/lib/famix/model/famix/property.js +1 -1
- package/dist/lib/famix/model/famix/reference.js +1 -1
- package/dist/lib/famix/model/famix/scoping_entity.js +1 -1
- package/dist/lib/famix/model/famix/script_entity.js +1 -1
- package/dist/lib/famix/model/famix/source_anchor.js +1 -1
- package/dist/lib/famix/model/famix/source_language.js +1 -1
- package/dist/lib/famix/model/famix/sourced_entity.js +1 -1
- package/dist/lib/famix/model/famix/structural_entity.js +1 -1
- package/dist/lib/famix/model/famix/type.js +1 -1
- package/dist/lib/famix/model/famix/variable.js +1 -1
- package/dist/lib/ts-complex/cyclomatic-service.js +1 -1
- package/dist/refactorer/refactor-getter-setter.js +1 -1
- package/dist/ts2famix-cli-wrapper.js +1 -1
- package/dist/ts2famix-cli.js +3 -1
- package/doc-uml/famix-typescript-model.puml +619 -607
- package/doc-uml/famix-typescript-model.svg +1 -1
- package/eslint.config.mjs +28 -28
- package/jest.config.json +1 -1
- package/package.json +70 -70
- package/src/analyze.ts +120 -120
- package/src/analyze_functions/process_functions.ts +1069 -1040
- package/src/famix_functions/EntityDictionary.ts +2061 -2016
- package/src/famix_functions/helpers_creation.ts +143 -135
- package/src/fqn.ts +416 -50
- package/src/generate_uml.sh +20 -20
- package/src/lib/famix/License.md +22 -22
- package/src/lib/famix/famix_JSON_exporter.ts +56 -56
- package/src/lib/famix/famix_base_element.ts +22 -22
- package/src/lib/famix/famix_repository.ts +288 -278
- package/src/lib/famix/index.ts +8 -8
- package/src/lib/famix/model/famix/access.ts +50 -50
- package/src/lib/famix/model/famix/accessor.ts +15 -15
- package/src/lib/famix/model/famix/alias.ts +39 -39
- package/src/lib/famix/model/famix/arrow_function.ts +15 -15
- package/src/lib/famix/model/famix/behavioral_entity.ts +97 -97
- package/src/lib/famix/model/famix/class.ts +85 -85
- package/src/lib/famix/model/famix/comment.ts +47 -47
- package/src/lib/famix/model/famix/concretisation.ts +40 -40
- package/src/lib/famix/model/famix/container_entity.ts +160 -160
- package/src/lib/famix/model/famix/decorator.ts +37 -37
- package/src/lib/famix/model/famix/entity.ts +15 -15
- package/src/lib/famix/model/famix/enum.ts +30 -30
- package/src/lib/famix/model/famix/enum_value.ts +28 -28
- package/src/lib/famix/model/famix/function.ts +15 -15
- package/src/lib/famix/model/famix/import_clause.ts +51 -51
- package/src/lib/famix/model/famix/index.ts +41 -41
- package/src/lib/famix/model/famix/indexed_file_anchor.ts +46 -46
- package/src/lib/famix/model/famix/inheritance.ts +40 -40
- package/src/lib/famix/model/famix/interface.ts +75 -75
- package/src/lib/famix/model/famix/invocation.ts +65 -65
- package/src/lib/famix/model/famix/method.ts +89 -89
- package/src/lib/famix/model/famix/module.ts +71 -71
- package/src/lib/famix/model/famix/named_entity.ts +95 -95
- package/src/lib/famix/model/famix/parameter.ts +28 -28
- package/src/lib/famix/model/famix/parameter_concretisation.ts +51 -51
- package/src/lib/famix/model/famix/parameter_type.ts +58 -58
- package/src/lib/famix/model/famix/parametric_arrow_function.ts +32 -32
- package/src/lib/famix/model/famix/parametric_class.ts +49 -49
- package/src/lib/famix/model/famix/parametric_function.ts +32 -32
- package/src/lib/famix/model/famix/parametric_interface.ts +49 -49
- package/src/lib/famix/model/famix/parametric_method.ts +32 -32
- package/src/lib/famix/model/famix/primitive_type.ts +15 -15
- package/src/lib/famix/model/famix/property.ts +94 -94
- package/src/lib/famix/model/famix/reference.ts +40 -40
- package/src/lib/famix/model/famix/scoping_entity.ts +35 -35
- package/src/lib/famix/model/famix/script_entity.ts +34 -34
- package/src/lib/famix/model/famix/source_anchor.ts +30 -30
- package/src/lib/famix/model/famix/source_language.ts +35 -35
- package/src/lib/famix/model/famix/sourced_entity.ts +70 -70
- package/src/lib/famix/model/famix/structural_entity.ts +43 -43
- package/src/lib/famix/model/famix/type.ts +87 -87
- package/src/lib/famix/model/famix/variable.ts +27 -27
- package/src/lib/famix/package.json +28 -28
- package/src/lib/ts-complex/cyclomatic-service.ts +83 -83
- package/src/refactorer/refactor-getter-setter.ts +140 -140
- package/src/ts2famix-cli-wrapper.ts +21 -21
- package/src/ts2famix-cli.ts +62 -60
- package/tsconfig.check-tests.json +14 -14
- package/tsconfig.json +73 -72
- package/.vscode/settings.json +0 -4
- package/TODO +0 -1
- package/arwea-fix.json +0 -1
- package/bogus.ts +0 -3
- package/class-diagram.puml +0 -792
- package/debug.txt +0 -13332
- package/debuglog.txt +0 -12073
- package/dist/famix2puml.js +0 -126
- package/dist/getClasses-arrow-body.js +0 -43
- package/dist/lib/famix/src/famix_JSON_exporter.js +0 -55
- package/dist/lib/famix/src/famix_base_element.js +0 -18
- package/dist/lib/famix/src/famix_repository.js +0 -224
- package/dist/lib/famix/src/index.js +0 -31
- package/dist/lib/famix/src/model/famix/access.js +0 -40
- package/dist/lib/famix/src/model/famix/accessor.js +0 -17
- package/dist/lib/famix/src/model/famix/alias.js +0 -33
- package/dist/lib/famix/src/model/famix/arrowFunction.js +0 -17
- package/dist/lib/famix/src/model/famix/arrow_function.js +0 -17
- package/dist/lib/famix/src/model/famix/behavioral_entity.js +0 -79
- package/dist/lib/famix/src/model/famix/class.js +0 -71
- package/dist/lib/famix/src/model/famix/comment.js +0 -39
- package/dist/lib/famix/src/model/famix/concretisation.js +0 -31
- package/dist/lib/famix/src/model/famix/container_entity.js +0 -126
- package/dist/lib/famix/src/model/famix/decorator.js +0 -32
- package/dist/lib/famix/src/model/famix/entity.js +0 -17
- package/dist/lib/famix/src/model/famix/enum.js +0 -31
- package/dist/lib/famix/src/model/famix/enum_value.js +0 -25
- package/dist/lib/famix/src/model/famix/function.js +0 -17
- package/dist/lib/famix/src/model/famix/implicit_variable.js +0 -17
- package/dist/lib/famix/src/model/famix/import_clause.js +0 -41
- package/dist/lib/famix/src/model/famix/index.js +0 -86
- package/dist/lib/famix/src/model/famix/indexed_file_anchor.js +0 -38
- package/dist/lib/famix/src/model/famix/inheritance.js +0 -33
- package/dist/lib/famix/src/model/famix/interface.js +0 -64
- package/dist/lib/famix/src/model/famix/invocation.js +0 -54
- package/dist/lib/famix/src/model/famix/method.js +0 -67
- package/dist/lib/famix/src/model/famix/module.js +0 -60
- package/dist/lib/famix/src/model/famix/named_entity.js +0 -78
- package/dist/lib/famix/src/model/famix/parameter.js +0 -25
- package/dist/lib/famix/src/model/famix/parameterConcretisation.js +0 -44
- package/dist/lib/famix/src/model/famix/parameter_concretisation.js +0 -44
- package/dist/lib/famix/src/model/famix/parameter_type.js +0 -45
- package/dist/lib/famix/src/model/famix/parametricArrowFunction.js +0 -29
- package/dist/lib/famix/src/model/famix/parametric_arrow_function.js +0 -31
- package/dist/lib/famix/src/model/famix/parametric_class.js +0 -44
- package/dist/lib/famix/src/model/famix/parametric_function.js +0 -31
- package/dist/lib/famix/src/model/famix/parametric_interface.js +0 -44
- package/dist/lib/famix/src/model/famix/parametric_method.js +0 -31
- package/dist/lib/famix/src/model/famix/primitive_type.js +0 -17
- package/dist/lib/famix/src/model/famix/property.js +0 -73
- package/dist/lib/famix/src/model/famix/reference.js +0 -33
- package/dist/lib/famix/src/model/famix/scoping_entity.js +0 -36
- package/dist/lib/famix/src/model/famix/script_entity.js +0 -29
- package/dist/lib/famix/src/model/famix/source_anchor.js +0 -27
- package/dist/lib/famix/src/model/famix/source_language.js +0 -35
- package/dist/lib/famix/src/model/famix/sourced_entity.js +0 -60
- package/dist/lib/famix/src/model/famix/structural_entity.js +0 -39
- package/dist/lib/famix/src/model/famix/text_anchor.js +0 -38
- package/dist/lib/famix/src/model/famix/type.js +0 -73
- package/dist/lib/famix/src/model/famix/variable.js +0 -24
- package/fqn-model.json +0 -1
- package/iterateGenericTypes.ts +0 -69
- package/out/class-diagram/class-diagram.svg +0 -1
- package/sample.json +0 -1
- package/sample.ts +0 -1
- package/stats.txt +0 -3091
- package/tabby-debug-output.txt +0 -19433
- package/ts2famix.log +0 -22656
- package/validate-references.js +0 -103
|
@@ -1,608 +1,620 @@
|
|
|
1
|
-
@startuml
|
|
2
|
-
class FamixJSONExporter {
|
|
3
|
-
-element: FamixBaseElement
|
|
4
|
-
-bufferArray: any
|
|
5
|
-
-FamixPrefix: string
|
|
6
|
-
+addProperty(name: string, prop: unknown): void
|
|
7
|
-
+getJSON(): string
|
|
8
|
-
}
|
|
9
|
-
class Entity extends FamixBaseElement {
|
|
10
|
-
+getJSON(): string
|
|
11
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
12
|
-
}
|
|
13
|
-
class SourceLanguage extends Entity {
|
|
14
|
-
-_sourcedEntities: Set<SourcedEntity>
|
|
15
|
-
+name: string
|
|
16
|
-
+addSourcedEntity(sourcedEntity: SourcedEntity): void
|
|
17
|
-
+getJSON(): string
|
|
18
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
19
|
-
+sourcedEntities: Set<SourcedEntity>
|
|
20
|
-
}
|
|
21
|
-
class Comment extends SourcedEntity {
|
|
22
|
-
-_isJSDoc: boolean
|
|
23
|
-
-_container: SourcedEntity
|
|
24
|
-
-_content: string
|
|
25
|
-
+getJSON(): string
|
|
26
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
27
|
-
+isJSDoc: boolean
|
|
28
|
-
+isJSDoc: boolean
|
|
29
|
-
+container: SourcedEntity
|
|
30
|
-
+container: SourcedEntity
|
|
31
|
-
+content: string
|
|
32
|
-
+content: string
|
|
33
|
-
}
|
|
34
|
-
class SourceAnchor extends Entity {
|
|
35
|
-
-_element: SourcedEntity
|
|
36
|
-
+getJSON(): string
|
|
37
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
38
|
-
+element: SourcedEntity
|
|
39
|
-
+element: SourcedEntity
|
|
40
|
-
}
|
|
41
|
-
class SourcedEntity extends Entity {
|
|
42
|
-
-_isStub: boolean
|
|
43
|
-
-_sourceAnchor: SourceAnchor
|
|
44
|
-
-_comments: Set<Comment>
|
|
45
|
-
+addComment(comment: Comment): void
|
|
46
|
-
-_declaredSourceLanguage: SourceLanguage
|
|
47
|
-
+getJSON(): string
|
|
48
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
49
|
-
+isStub: boolean
|
|
50
|
-
+isStub: boolean
|
|
51
|
-
+sourceAnchor: SourceAnchor
|
|
52
|
-
+sourceAnchor: SourceAnchor
|
|
53
|
-
+comments: Set<Comment>
|
|
54
|
-
+declaredSourceLanguage: SourceLanguage
|
|
55
|
-
+declaredSourceLanguage: SourceLanguage
|
|
56
|
-
}
|
|
57
|
-
class ScopingEntity extends ContainerEntity {
|
|
58
|
-
-_modules: Set<Module>
|
|
59
|
-
+addModule(childModule: Module): void
|
|
60
|
-
+getJSON(): string
|
|
61
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
62
|
-
+modules: Set<Module>
|
|
63
|
-
}
|
|
64
|
-
class ScriptEntity extends ScopingEntity {
|
|
65
|
-
-_numberOfLinesOfText: number
|
|
66
|
-
-_numberOfCharacters: number
|
|
67
|
-
+getJSON(): string
|
|
68
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
69
|
-
+numberOfLinesOfText: number
|
|
70
|
-
+numberOfLinesOfText: number
|
|
71
|
-
+numberOfCharacters: number
|
|
72
|
-
+numberOfCharacters: number
|
|
73
|
-
}
|
|
74
|
-
class Module extends ScriptEntity {
|
|
75
|
-
+isAmbient: boolean
|
|
76
|
-
+isAmbient: boolean
|
|
77
|
-
-_isAmbient: boolean
|
|
78
|
-
+isNamespace: boolean
|
|
79
|
-
+isNamespace: boolean
|
|
80
|
-
-_isNamespace: boolean
|
|
81
|
-
+isModule: boolean
|
|
82
|
-
+isModule: boolean
|
|
83
|
-
-_isModule: boolean
|
|
84
|
-
-_parentScope: ScopingEntity
|
|
85
|
-
-_outgoingImports: Set<ImportClause>
|
|
86
|
-
+addOutgoingImport(importClause: ImportClause): void
|
|
87
|
-
+getJSON(): string
|
|
88
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
89
|
-
+parentScope: ScopingEntity
|
|
90
|
-
+parentScope: ScopingEntity
|
|
91
|
-
+outgoingImports: Set<ImportClause>
|
|
92
|
-
}
|
|
93
|
-
class ImportClause extends Entity {
|
|
94
|
-
-_importingEntity: Module
|
|
95
|
-
-_importedEntity: NamedEntity
|
|
96
|
-
-_moduleSpecifier: string
|
|
97
|
-
+getJSON(): string
|
|
98
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
99
|
-
+importingEntity: Module
|
|
100
|
-
+importingEntity: Module
|
|
101
|
-
+importedEntity: NamedEntity
|
|
102
|
-
+importedEntity: NamedEntity
|
|
103
|
-
+moduleSpecifier: string
|
|
104
|
-
+moduleSpecifier: string
|
|
105
|
-
}
|
|
106
|
-
class Alias extends NamedEntity {
|
|
107
|
-
-_parentEntity: NamedEntity
|
|
108
|
-
-_aliasedEntity: Type
|
|
109
|
-
+getJSON(): string
|
|
110
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
111
|
-
+parentEntity: NamedEntity
|
|
112
|
-
+parentEntity: NamedEntity
|
|
113
|
-
+aliasedEntity: Type
|
|
114
|
-
+aliasedEntity: Type
|
|
115
|
-
}
|
|
116
|
-
class Decorator extends NamedEntity {
|
|
117
|
-
-_decoratorExpression: string
|
|
118
|
-
-_decoratedEntity: NamedEntity
|
|
119
|
-
+getJSON(): string
|
|
120
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
121
|
-
+decoratorExpression: string
|
|
122
|
-
+decoratorExpression: string
|
|
123
|
-
+decoratedEntity: NamedEntity
|
|
124
|
-
+decoratedEntity: NamedEntity
|
|
125
|
-
}
|
|
126
|
-
class NamedEntity extends SourcedEntity {
|
|
127
|
-
-_fullyQualifiedName: string
|
|
128
|
-
-_receivedInvocations: Set<Invocation>
|
|
129
|
-
+addReceivedInvocation(receivedInvocation: Invocation): void
|
|
130
|
-
-_incomingImports: Set<ImportClause>
|
|
131
|
-
+addIncomingImport(anImport: ImportClause): void
|
|
132
|
-
-_name: string
|
|
133
|
-
-_aliases: Set<Alias>
|
|
134
|
-
+addAlias(alias: Alias): void
|
|
135
|
-
-_decorators: Set<Decorator>
|
|
136
|
-
+addDecorator(decorator: Decorator): void
|
|
137
|
-
+getJSON(): string
|
|
138
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
139
|
-
+fullyQualifiedName: string
|
|
140
|
-
+fullyQualifiedName: string
|
|
141
|
-
+receivedInvocations: Set<Invocation>
|
|
142
|
-
+incomingImports: Set<ImportClause>
|
|
143
|
-
+name: string
|
|
144
|
-
+name: string
|
|
145
|
-
+aliases: Set<Alias>
|
|
146
|
-
+decorators: Set<Decorator>
|
|
147
|
-
}
|
|
148
|
-
class Parameter extends StructuralEntity {
|
|
149
|
-
-_parentEntity: BehavioralEntity
|
|
150
|
-
+getJSON(): string
|
|
151
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
152
|
-
+parentEntity: BehavioralEntity
|
|
153
|
-
+parentEntity: BehavioralEntity
|
|
154
|
-
}
|
|
155
|
-
class Property extends StructuralEntity {
|
|
156
|
-
-_isClassSide: boolean
|
|
157
|
-
+readOnly: boolean
|
|
158
|
-
+readOnly: boolean
|
|
159
|
-
-_readOnly: boolean
|
|
160
|
-
-_parentEntity: Class | Interface
|
|
161
|
-
+isDefinitelyAssigned: boolean
|
|
162
|
-
+isDefinitelyAssigned: boolean
|
|
163
|
-
+isOptional: boolean
|
|
164
|
-
+isOptional: boolean
|
|
165
|
-
+isJavaScriptPrivate: boolean
|
|
166
|
-
+isJavaScriptPrivate: boolean
|
|
167
|
-
-_isDefinitelyAssigned: boolean
|
|
168
|
-
-_isOptional: boolean
|
|
169
|
-
-_isJavaScriptPrivate: boolean
|
|
170
|
-
+visibility: VisibilityTypes
|
|
171
|
-
+visibility: VisibilityTypes
|
|
172
|
-
-_visibility: VisibilityTypes
|
|
173
|
-
+getJSON(): string
|
|
174
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
175
|
-
+isClassSide: boolean
|
|
176
|
-
+isClassSide: boolean
|
|
177
|
-
+parentEntity: Class | Interface
|
|
178
|
-
+parentEntity: Class | Interface
|
|
179
|
-
}
|
|
180
|
-
class Inheritance extends Entity {
|
|
181
|
-
-_superclass: Class | Interface
|
|
182
|
-
-_subclass: Class | Interface
|
|
183
|
-
+getJSON(): string
|
|
184
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
185
|
-
+superclass: Class | Interface
|
|
186
|
-
+superclass: Class | Interface
|
|
187
|
-
+subclass: Class | Interface
|
|
188
|
-
+subclass: Class | Interface
|
|
189
|
-
}
|
|
190
|
-
class Class extends Type {
|
|
191
|
-
-_isAbstract: boolean
|
|
192
|
-
-_properties: Set<Property>
|
|
193
|
-
+addProperty(property: Property): void
|
|
194
|
-
-_methods: Set<Method>
|
|
195
|
-
+addMethod(method: Method): void
|
|
196
|
-
-_superInheritances: Set<Inheritance>
|
|
197
|
-
+addSuperInheritance(superInheritance: Inheritance): void
|
|
198
|
-
-_subInheritances: Set<Inheritance>
|
|
199
|
-
+addSubInheritance(subInheritance: Inheritance): void
|
|
200
|
-
+getJSON(): string
|
|
201
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
202
|
-
+isAbstract: boolean
|
|
203
|
-
+isAbstract: boolean
|
|
204
|
-
+properties: Set<Property>
|
|
205
|
-
+methods: Set<Method>
|
|
206
|
-
+superInheritances: Set<Inheritance>
|
|
207
|
-
+subInheritances: Set<Inheritance>
|
|
208
|
-
}
|
|
209
|
-
class Method extends BehavioralEntity {
|
|
210
|
-
-_parentEntity: Class | Interface
|
|
211
|
-
-_kind: string
|
|
212
|
-
-_isAbstract: boolean
|
|
213
|
-
-_isClassSide: boolean
|
|
214
|
-
-_isPrivate: boolean
|
|
215
|
-
-_isPublic: boolean
|
|
216
|
-
-_isProtected: boolean
|
|
217
|
-
+getJSON(): string
|
|
218
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
219
|
-
+parentEntity: Class | Interface
|
|
220
|
-
+parentEntity: Class | Interface
|
|
221
|
-
+kind: string
|
|
222
|
-
+kind: string
|
|
223
|
-
+isAbstract: boolean
|
|
224
|
-
+isAbstract: boolean
|
|
225
|
-
+isClassSide: boolean
|
|
226
|
-
+isClassSide: boolean
|
|
227
|
-
+isPrivate: boolean
|
|
228
|
-
+isPrivate: boolean
|
|
229
|
-
+isPublic: boolean
|
|
230
|
-
+isPublic: boolean
|
|
231
|
-
+isProtected: boolean
|
|
232
|
-
+isProtected: boolean
|
|
233
|
-
}
|
|
234
|
-
class Interface extends Type {
|
|
235
|
-
-_properties: Set<Property>
|
|
236
|
-
+addProperty(property: Property): void
|
|
237
|
-
-_methods: Set<Method>
|
|
238
|
-
+addMethod(method: Method): void
|
|
239
|
-
-_superInheritances: Set<Inheritance>
|
|
240
|
-
+addSuperInheritance(superInheritance: Inheritance): void
|
|
241
|
-
-_subInheritances: Set<Inheritance>
|
|
242
|
-
+addSubInheritance(subInheritance: Inheritance): void
|
|
243
|
-
+getJSON(): string
|
|
244
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
245
|
-
+properties: Set<Property>
|
|
246
|
-
+methods: Set<Method>
|
|
247
|
-
+superInheritances: Set<Inheritance>
|
|
248
|
-
+subInheritances: Set<Inheritance>
|
|
249
|
-
}
|
|
250
|
-
class PrimitiveType extends Type {
|
|
251
|
-
+getJSON(): string
|
|
252
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
253
|
-
}
|
|
254
|
-
class ParametricClass extends Class {
|
|
255
|
-
-_genericParameters: Set<ParameterType>
|
|
256
|
-
+addGenericParameter(genericParameter: ParameterType): void
|
|
257
|
-
+clearGenericParameters(): void
|
|
258
|
-
-_concreteParameters: Set<Class | Interface | PrimitiveType>
|
|
259
|
-
+addConcreteParameter(concreteParameter: Class | Interface | PrimitiveType): void
|
|
260
|
-
+getJSON(): string
|
|
261
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
262
|
-
+genericParameters: Set<ParameterType>
|
|
263
|
-
+concreteParameters: Set<Class | Interface | PrimitiveType>
|
|
264
|
-
}
|
|
265
|
-
class ParametricInterface extends Interface {
|
|
266
|
-
-_genericParameters: Set<ParameterType>
|
|
267
|
-
+addGenericParameter(genericParameter: ParameterType): void
|
|
268
|
-
+clearGenericParameters(): void
|
|
269
|
-
-_concreteParameters: Set<Class | Interface | PrimitiveType>
|
|
270
|
-
+addConcreteParameter(concreteParameter: Class | Interface | PrimitiveType): void
|
|
271
|
-
+getJSON(): string
|
|
272
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
273
|
-
+genericParameters: Set<ParameterType>
|
|
274
|
-
+concreteParameters: Set<Class | Interface | PrimitiveType>
|
|
275
|
-
}
|
|
276
|
-
class Function extends BehavioralEntity {
|
|
277
|
-
+getJSON(): string
|
|
278
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
279
|
-
}
|
|
280
|
-
class Accessor extends Method {
|
|
281
|
-
+getJSON(): string
|
|
282
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
283
|
-
}
|
|
284
|
-
class ParametricMethod extends Method {
|
|
285
|
-
-_concreteParameters: Set<Class | Interface | PrimitiveType>
|
|
286
|
-
+addConcreteParameter(concreteParameter: Class | Interface | PrimitiveType): void
|
|
287
|
-
+getJSON(): string
|
|
288
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
289
|
-
+concreteParameters: Set<Class | Interface | PrimitiveType>
|
|
290
|
-
}
|
|
291
|
-
class ParametricFunction extends Function {
|
|
292
|
-
-_concreteParameters: Set<Class | Interface | PrimitiveType>
|
|
293
|
-
+addConcreteParameter(concreteParameter: Class | Interface | PrimitiveType): void
|
|
294
|
-
+getJSON(): string
|
|
295
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
296
|
-
+concreteParameters: Set<Class | Interface | PrimitiveType>
|
|
297
|
-
}
|
|
298
|
-
class ArrowFunction extends BehavioralEntity {
|
|
299
|
-
+getJSON(): string
|
|
300
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
301
|
-
}
|
|
302
|
-
class ParametricArrowFunction extends ArrowFunction {
|
|
303
|
-
-_concreteParameters: Set<Class | Interface | PrimitiveType>
|
|
304
|
-
+addConcreteParameter(concreteParameter: Class | Interface | PrimitiveType): void
|
|
305
|
-
+getJSON(): string
|
|
306
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
307
|
-
+concreteParameters: Set<Class | Interface | PrimitiveType>
|
|
308
|
-
}
|
|
309
|
-
class ParameterType extends Type {
|
|
310
|
-
-_parentGeneric: Method | ParametricArrowFunction | ArrowFunction | ParametricClass | ParametricInterface | ParametricMethod | Accessor | FamixFunction | ParametricFunction
|
|
311
|
-
-_baseType: Type
|
|
312
|
-
-_arguments: Set<Type>
|
|
313
|
-
+addArgument(argument: Type): void
|
|
314
|
-
+getJSON(): string
|
|
315
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
316
|
-
+parentGeneric: Method | ParametricArrowFunction | ArrowFunction | ParametricClass | ParametricInterface | ParametricMethod | Accessor | FamixFunction | ParametricFunction
|
|
317
|
-
+parentGeneric: Method | ParametricArrowFunction | ArrowFunction | ParametricClass | ParametricInterface | ParametricMethod | Accessor | FamixFunction | ParametricFunction
|
|
318
|
-
+baseType: Type
|
|
319
|
-
+baseType: Type
|
|
320
|
-
+arguments: Set<Type>
|
|
321
|
-
}
|
|
322
|
-
class BehavioralEntity extends ContainerEntity {
|
|
323
|
-
-_signature: string
|
|
324
|
-
-_parameters: Set<Parameter>
|
|
325
|
-
+addParameter(parameter: Parameter): void
|
|
326
|
-
-_numberOfParameters: number
|
|
327
|
-
-_incomingInvocations: Set<Invocation>
|
|
328
|
-
+addIncomingInvocation(incomingInvocation: Invocation): void
|
|
329
|
-
-_declaredType: Type
|
|
330
|
-
-_genericParameters: Set<ParameterType>
|
|
331
|
-
+addGenericParameter(genericParameter: ParameterType): void
|
|
332
|
-
+clearGenericParameters(): void
|
|
333
|
-
+getJSON(): string
|
|
334
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
335
|
-
+signature: string
|
|
336
|
-
+signature: string
|
|
337
|
-
+parameters: Set<Parameter>
|
|
338
|
-
+numberOfParameters: number
|
|
339
|
-
+numberOfParameters: number
|
|
340
|
-
+incomingInvocations: Set<Invocation>
|
|
341
|
-
+declaredType: Type
|
|
342
|
-
+declaredType: Type
|
|
343
|
-
+genericParameters: Set<ParameterType>
|
|
344
|
-
}
|
|
345
|
-
class Invocation extends Entity {
|
|
346
|
-
-_candidates: Set<BehavioralEntity>
|
|
347
|
-
+addCandidate(candidate: BehavioralEntity): void
|
|
348
|
-
-_receiver: NamedEntity
|
|
349
|
-
-_sender: ContainerEntity
|
|
350
|
-
-_signature: string
|
|
351
|
-
+getJSON(): string
|
|
352
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
353
|
-
+candidates: Set<BehavioralEntity>
|
|
354
|
-
+receiver: NamedEntity
|
|
355
|
-
+receiver: NamedEntity
|
|
356
|
-
+sender: ContainerEntity
|
|
357
|
-
+sender: ContainerEntity
|
|
358
|
-
+signature: string
|
|
359
|
-
+signature: string
|
|
360
|
-
}
|
|
361
|
-
class Reference extends Entity {
|
|
362
|
-
-_source: ContainerEntity
|
|
363
|
-
-_target: Type
|
|
364
|
-
+getJSON(): string
|
|
365
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
366
|
-
+source: ContainerEntity
|
|
367
|
-
+source: ContainerEntity
|
|
368
|
-
+target: Type
|
|
369
|
-
+target: Type
|
|
370
|
-
}
|
|
371
|
-
class Variable extends StructuralEntity {
|
|
372
|
-
-_parentContainerEntity: ContainerEntity
|
|
373
|
-
+getJSON(): string
|
|
374
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
375
|
-
+parentContainerEntity: ContainerEntity
|
|
376
|
-
+parentContainerEntity: ContainerEntity
|
|
377
|
-
}
|
|
378
|
-
class ContainerEntity extends NamedEntity {
|
|
379
|
-
-_parentContainerEntity: ContainerEntity
|
|
380
|
-
-_childrenContainerEntities: Set<ContainerEntity>
|
|
381
|
-
+addChildContainerEntity(childContainerEntity: ContainerEntity): void
|
|
382
|
-
-_cyclomaticComplexity: number
|
|
383
|
-
-_numberOfStatements: number
|
|
384
|
-
-_outgoingReferences: Set<Reference>
|
|
385
|
-
+addOutgoingReference(outgoingReference: Reference): void
|
|
386
|
-
-_numberOfLinesOfCode: number
|
|
387
|
-
-_outgoingInvocations: Set<Invocation>
|
|
388
|
-
+addOutgoingInvocation(outgoingInvocation: Invocation): void
|
|
389
|
-
-_accesses: Set<Access>
|
|
390
|
-
+addAccess(access: Access): void
|
|
391
|
-
-childrenTypes: Set<Type>
|
|
392
|
-
+addType(childType: Type): void
|
|
393
|
-
-childrenFunctions: Set<FamixFunctionEntity>
|
|
394
|
-
+addFunction(childFunction: FamixFunctionEntity): void
|
|
395
|
-
-_variables: Set<Variable>
|
|
396
|
-
+addVariable(variable: Variable): void
|
|
397
|
-
+getJSON(): string
|
|
398
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
399
|
-
+parentContainerEntity: ContainerEntity
|
|
400
|
-
+parentContainerEntity: ContainerEntity
|
|
401
|
-
+childrenContainerEntities: Set<ContainerEntity>
|
|
402
|
-
+cyclomaticComplexity: number
|
|
403
|
-
+cyclomaticComplexity: number
|
|
404
|
-
+numberOfStatements: number
|
|
405
|
-
+numberOfStatements: number
|
|
406
|
-
+outgoingReferences: Set<Reference>
|
|
407
|
-
+numberOfLinesOfCode: number
|
|
408
|
-
+numberOfLinesOfCode: number
|
|
409
|
-
+outgoingInvocations: Set<Invocation>
|
|
410
|
-
+accesses: Set<Access>
|
|
411
|
-
+types: Set<Type>
|
|
412
|
-
+functions: Set<FamixFunctionEntity>
|
|
413
|
-
+variables: Set<Variable>
|
|
414
|
-
}
|
|
415
|
-
class Type extends ContainerEntity {
|
|
416
|
-
-_container: ContainerEntity
|
|
417
|
-
-_typeAliases: Set<Alias>
|
|
418
|
-
+addTypeAlias(typeAlias: Alias): void
|
|
419
|
-
-_structuresWithDeclaredType: Set<StructuralEntity>
|
|
420
|
-
+addStructureWithDeclaredType(structureWithDeclaredType: StructuralEntity): void
|
|
421
|
-
-_behavioralEntitiesWithDeclaredType: Set<BehavioralEntity>
|
|
422
|
-
+addBehavioralEntityWithDeclaredType(behavioralEntityWithDeclaredType: BehavioralEntity): void
|
|
423
|
-
-_incomingReferences: Set<Reference>
|
|
424
|
-
+addIncomingReference(incomingReference: Reference): void
|
|
425
|
-
+getJSON(): string
|
|
426
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
427
|
-
+container: ContainerEntity
|
|
428
|
-
+container: ContainerEntity
|
|
429
|
-
+typeAliases: Set<Alias>
|
|
430
|
-
+structuresWithDeclaredType: Set<StructuralEntity>
|
|
431
|
-
+behavioralEntitiesWithDeclaredType: Set<BehavioralEntity>
|
|
432
|
-
+incomingReferences: Set<Reference>
|
|
433
|
-
}
|
|
434
|
-
class StructuralEntity extends NamedEntity {
|
|
435
|
-
-_incomingAccesses: Set<Access>
|
|
436
|
-
+addIncomingAccess(incomingAccess: Access): void
|
|
437
|
-
-_declaredType: Type
|
|
438
|
-
+getJSON(): string
|
|
439
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
440
|
-
+incomingAccesses: Set<Access>
|
|
441
|
-
+declaredType: Type
|
|
442
|
-
+declaredType: Type
|
|
443
|
-
}
|
|
444
|
-
class Access extends Entity {
|
|
445
|
-
-_accessor: ContainerEntity
|
|
446
|
-
-_variable: StructuralEntity
|
|
447
|
-
-_isWrite: boolean
|
|
448
|
-
+getJSON(): string
|
|
449
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
450
|
-
+accessor: ContainerEntity
|
|
451
|
-
+accessor: ContainerEntity
|
|
452
|
-
+variable: StructuralEntity
|
|
453
|
-
+variable: StructuralEntity
|
|
454
|
-
+isWrite: boolean
|
|
455
|
-
+isWrite: boolean
|
|
456
|
-
}
|
|
457
|
-
class Concretisation extends Entity {
|
|
458
|
-
-_genericEntity: ParametricClass | ParametricInterface | ParametricMethod | ParametricFunction
|
|
459
|
-
-_concreteEntity: ParametricClass | ParametricInterface | ParametricMethod | ParametricFunction
|
|
460
|
-
+getJSON(): string
|
|
461
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
462
|
-
+genericEntity: ParametricClass | ParametricInterface | ParametricMethod | ParametricFunction
|
|
463
|
-
+genericEntity: ParametricClass | ParametricInterface | ParametricMethod | ParametricFunction
|
|
464
|
-
+concreteEntity: ParametricClass | ParametricInterface | ParametricMethod | ParametricFunction
|
|
465
|
-
+concreteEntity: ParametricClass | ParametricInterface | ParametricMethod | ParametricFunction
|
|
466
|
-
}
|
|
467
|
-
class Enum extends Type {
|
|
468
|
-
-_values: Set<EnumValue>
|
|
469
|
-
+addValue(value: EnumValue): void
|
|
470
|
-
+getJSON(): string
|
|
471
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
472
|
-
+values: Set<EnumValue>
|
|
473
|
-
}
|
|
474
|
-
class EnumValue extends StructuralEntity {
|
|
475
|
-
-_parentEntity: Enum
|
|
476
|
-
+getJSON(): string
|
|
477
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
478
|
-
+parentEntity: Enum
|
|
479
|
-
+parentEntity: Enum
|
|
480
|
-
}
|
|
481
|
-
class IndexedFileAnchor extends SourceAnchor {
|
|
482
|
-
-_startPos: number
|
|
483
|
-
-_endPos: number
|
|
484
|
-
-_fileName: string
|
|
485
|
-
+getJSON(): string
|
|
486
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
487
|
-
+startPos: number
|
|
488
|
-
+startPos: number
|
|
489
|
-
+endPos: number
|
|
490
|
-
+endPos: number
|
|
491
|
-
+fileName: string
|
|
492
|
-
+fileName: string
|
|
493
|
-
}
|
|
494
|
-
class ParameterConcretisation extends Entity {
|
|
495
|
-
-_genericParameter: ParameterType
|
|
496
|
-
-_concreteParameter: PrimitiveType
|
|
497
|
-
-_concretisations: Set<Concretisation>
|
|
498
|
-
+addConcretisation(concretisation: Concretisation): void
|
|
499
|
-
+getJSON(): string
|
|
500
|
-
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
501
|
-
+genericParameter: ParameterType
|
|
502
|
-
+genericParameter: ParameterType
|
|
503
|
-
+concreteParameter: PrimitiveType
|
|
504
|
-
+concreteParameter: PrimitiveType
|
|
505
|
-
+concretisations: Set<Concretisation>
|
|
506
|
-
}
|
|
507
|
-
interface SearchParameters {
|
|
508
|
-
+searchArray: string[]
|
|
509
|
-
+targetArray: string[]
|
|
510
|
-
+start?: number | undefined
|
|
511
|
-
}
|
|
512
|
-
class EntityDictionary {
|
|
513
|
-
+famixRep: FamixRepository
|
|
514
|
-
-fmxAliasMap: Map<string, Famix.Alias>
|
|
515
|
-
-fmxClassMap: Map<string, Famix.Class | Famix.ParametricClass>
|
|
516
|
-
-fmxInterfaceMap: Map<string, Famix.Interface | Famix.ParametricInterface>
|
|
517
|
-
-fmxModuleMap: Map<
|
|
518
|
-
-fmxFileMap: Map<string, Famix.Module | Famix.ScriptEntity>
|
|
519
|
-
-fmxTypeMap: Map<
|
|
520
|
-
-
|
|
521
|
-
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
+
|
|
530
|
-
+
|
|
531
|
-
+
|
|
532
|
-
+
|
|
533
|
-
+
|
|
534
|
-
+
|
|
535
|
-
+
|
|
536
|
-
+
|
|
537
|
-
+
|
|
538
|
-
+
|
|
539
|
-
+
|
|
540
|
-
+
|
|
541
|
-
+
|
|
542
|
-
+
|
|
543
|
-
+
|
|
544
|
-
+
|
|
545
|
-
+
|
|
546
|
-
+
|
|
547
|
-
+
|
|
548
|
-
+
|
|
549
|
-
+
|
|
550
|
-
+
|
|
551
|
-
+
|
|
552
|
-
+
|
|
553
|
-
+
|
|
554
|
-
+
|
|
555
|
-
+
|
|
556
|
-
+
|
|
557
|
-
+
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
-
|
|
571
|
-
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
+
|
|
583
|
-
+
|
|
584
|
-
+
|
|
585
|
-
+
|
|
586
|
-
+
|
|
587
|
-
+
|
|
588
|
-
+
|
|
589
|
-
+
|
|
590
|
-
+
|
|
591
|
-
+
|
|
592
|
-
+
|
|
593
|
-
+
|
|
594
|
-
+
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
+
|
|
599
|
-
|
|
600
|
-
+
|
|
601
|
-
+
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
+
|
|
605
|
-
|
|
606
|
-
+
|
|
607
|
-
}
|
|
1
|
+
@startuml
|
|
2
|
+
class FamixJSONExporter {
|
|
3
|
+
-element: FamixBaseElement
|
|
4
|
+
-bufferArray: any
|
|
5
|
+
-FamixPrefix: string
|
|
6
|
+
+addProperty(name: string, prop: unknown): void
|
|
7
|
+
+getJSON(): string
|
|
8
|
+
}
|
|
9
|
+
class Entity extends FamixBaseElement {
|
|
10
|
+
+getJSON(): string
|
|
11
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
12
|
+
}
|
|
13
|
+
class SourceLanguage extends Entity {
|
|
14
|
+
-_sourcedEntities: Set<SourcedEntity>
|
|
15
|
+
+name: string
|
|
16
|
+
+addSourcedEntity(sourcedEntity: SourcedEntity): void
|
|
17
|
+
+getJSON(): string
|
|
18
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
19
|
+
+sourcedEntities: Set<SourcedEntity>
|
|
20
|
+
}
|
|
21
|
+
class Comment extends SourcedEntity {
|
|
22
|
+
-_isJSDoc: boolean
|
|
23
|
+
-_container: SourcedEntity
|
|
24
|
+
-_content: string
|
|
25
|
+
+getJSON(): string
|
|
26
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
27
|
+
+isJSDoc: boolean
|
|
28
|
+
+isJSDoc: boolean
|
|
29
|
+
+container: SourcedEntity
|
|
30
|
+
+container: SourcedEntity
|
|
31
|
+
+content: string
|
|
32
|
+
+content: string
|
|
33
|
+
}
|
|
34
|
+
class SourceAnchor extends Entity {
|
|
35
|
+
-_element: SourcedEntity
|
|
36
|
+
+getJSON(): string
|
|
37
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
38
|
+
+element: SourcedEntity
|
|
39
|
+
+element: SourcedEntity
|
|
40
|
+
}
|
|
41
|
+
class SourcedEntity extends Entity {
|
|
42
|
+
-_isStub: boolean
|
|
43
|
+
-_sourceAnchor: SourceAnchor
|
|
44
|
+
-_comments: Set<Comment>
|
|
45
|
+
+addComment(comment: Comment): void
|
|
46
|
+
-_declaredSourceLanguage: SourceLanguage
|
|
47
|
+
+getJSON(): string
|
|
48
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
49
|
+
+isStub: boolean
|
|
50
|
+
+isStub: boolean
|
|
51
|
+
+sourceAnchor: SourceAnchor
|
|
52
|
+
+sourceAnchor: SourceAnchor
|
|
53
|
+
+comments: Set<Comment>
|
|
54
|
+
+declaredSourceLanguage: SourceLanguage
|
|
55
|
+
+declaredSourceLanguage: SourceLanguage
|
|
56
|
+
}
|
|
57
|
+
class ScopingEntity extends ContainerEntity {
|
|
58
|
+
-_modules: Set<Module>
|
|
59
|
+
+addModule(childModule: Module): void
|
|
60
|
+
+getJSON(): string
|
|
61
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
62
|
+
+modules: Set<Module>
|
|
63
|
+
}
|
|
64
|
+
class ScriptEntity extends ScopingEntity {
|
|
65
|
+
-_numberOfLinesOfText: number
|
|
66
|
+
-_numberOfCharacters: number
|
|
67
|
+
+getJSON(): string
|
|
68
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
69
|
+
+numberOfLinesOfText: number
|
|
70
|
+
+numberOfLinesOfText: number
|
|
71
|
+
+numberOfCharacters: number
|
|
72
|
+
+numberOfCharacters: number
|
|
73
|
+
}
|
|
74
|
+
class Module extends ScriptEntity {
|
|
75
|
+
+isAmbient: boolean
|
|
76
|
+
+isAmbient: boolean
|
|
77
|
+
-_isAmbient: boolean
|
|
78
|
+
+isNamespace: boolean
|
|
79
|
+
+isNamespace: boolean
|
|
80
|
+
-_isNamespace: boolean
|
|
81
|
+
+isModule: boolean
|
|
82
|
+
+isModule: boolean
|
|
83
|
+
-_isModule: boolean
|
|
84
|
+
-_parentScope: ScopingEntity
|
|
85
|
+
-_outgoingImports: Set<ImportClause>
|
|
86
|
+
+addOutgoingImport(importClause: ImportClause): void
|
|
87
|
+
+getJSON(): string
|
|
88
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
89
|
+
+parentScope: ScopingEntity
|
|
90
|
+
+parentScope: ScopingEntity
|
|
91
|
+
+outgoingImports: Set<ImportClause>
|
|
92
|
+
}
|
|
93
|
+
class ImportClause extends Entity {
|
|
94
|
+
-_importingEntity: Module
|
|
95
|
+
-_importedEntity: NamedEntity
|
|
96
|
+
-_moduleSpecifier: string
|
|
97
|
+
+getJSON(): string
|
|
98
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
99
|
+
+importingEntity: Module
|
|
100
|
+
+importingEntity: Module
|
|
101
|
+
+importedEntity: NamedEntity
|
|
102
|
+
+importedEntity: NamedEntity
|
|
103
|
+
+moduleSpecifier: string
|
|
104
|
+
+moduleSpecifier: string
|
|
105
|
+
}
|
|
106
|
+
class Alias extends NamedEntity {
|
|
107
|
+
-_parentEntity: NamedEntity
|
|
108
|
+
-_aliasedEntity: Type
|
|
109
|
+
+getJSON(): string
|
|
110
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
111
|
+
+parentEntity: NamedEntity
|
|
112
|
+
+parentEntity: NamedEntity
|
|
113
|
+
+aliasedEntity: Type
|
|
114
|
+
+aliasedEntity: Type
|
|
115
|
+
}
|
|
116
|
+
class Decorator extends NamedEntity {
|
|
117
|
+
-_decoratorExpression: string
|
|
118
|
+
-_decoratedEntity: NamedEntity
|
|
119
|
+
+getJSON(): string
|
|
120
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
121
|
+
+decoratorExpression: string
|
|
122
|
+
+decoratorExpression: string
|
|
123
|
+
+decoratedEntity: NamedEntity
|
|
124
|
+
+decoratedEntity: NamedEntity
|
|
125
|
+
}
|
|
126
|
+
class NamedEntity extends SourcedEntity {
|
|
127
|
+
-_fullyQualifiedName: string
|
|
128
|
+
-_receivedInvocations: Set<Invocation>
|
|
129
|
+
+addReceivedInvocation(receivedInvocation: Invocation): void
|
|
130
|
+
-_incomingImports: Set<ImportClause>
|
|
131
|
+
+addIncomingImport(anImport: ImportClause): void
|
|
132
|
+
-_name: string
|
|
133
|
+
-_aliases: Set<Alias>
|
|
134
|
+
+addAlias(alias: Alias): void
|
|
135
|
+
-_decorators: Set<Decorator>
|
|
136
|
+
+addDecorator(decorator: Decorator): void
|
|
137
|
+
+getJSON(): string
|
|
138
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
139
|
+
+fullyQualifiedName: string
|
|
140
|
+
+fullyQualifiedName: string
|
|
141
|
+
+receivedInvocations: Set<Invocation>
|
|
142
|
+
+incomingImports: Set<ImportClause>
|
|
143
|
+
+name: string
|
|
144
|
+
+name: string
|
|
145
|
+
+aliases: Set<Alias>
|
|
146
|
+
+decorators: Set<Decorator>
|
|
147
|
+
}
|
|
148
|
+
class Parameter extends StructuralEntity {
|
|
149
|
+
-_parentEntity: BehavioralEntity
|
|
150
|
+
+getJSON(): string
|
|
151
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
152
|
+
+parentEntity: BehavioralEntity
|
|
153
|
+
+parentEntity: BehavioralEntity
|
|
154
|
+
}
|
|
155
|
+
class Property extends StructuralEntity {
|
|
156
|
+
-_isClassSide: boolean
|
|
157
|
+
+readOnly: boolean
|
|
158
|
+
+readOnly: boolean
|
|
159
|
+
-_readOnly: boolean
|
|
160
|
+
-_parentEntity: Class | Interface
|
|
161
|
+
+isDefinitelyAssigned: boolean
|
|
162
|
+
+isDefinitelyAssigned: boolean
|
|
163
|
+
+isOptional: boolean
|
|
164
|
+
+isOptional: boolean
|
|
165
|
+
+isJavaScriptPrivate: boolean
|
|
166
|
+
+isJavaScriptPrivate: boolean
|
|
167
|
+
-_isDefinitelyAssigned: boolean
|
|
168
|
+
-_isOptional: boolean
|
|
169
|
+
-_isJavaScriptPrivate: boolean
|
|
170
|
+
+visibility: VisibilityTypes
|
|
171
|
+
+visibility: VisibilityTypes
|
|
172
|
+
-_visibility: VisibilityTypes
|
|
173
|
+
+getJSON(): string
|
|
174
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
175
|
+
+isClassSide: boolean
|
|
176
|
+
+isClassSide: boolean
|
|
177
|
+
+parentEntity: Class | Interface
|
|
178
|
+
+parentEntity: Class | Interface
|
|
179
|
+
}
|
|
180
|
+
class Inheritance extends Entity {
|
|
181
|
+
-_superclass: Class | Interface
|
|
182
|
+
-_subclass: Class | Interface
|
|
183
|
+
+getJSON(): string
|
|
184
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
185
|
+
+superclass: Class | Interface
|
|
186
|
+
+superclass: Class | Interface
|
|
187
|
+
+subclass: Class | Interface
|
|
188
|
+
+subclass: Class | Interface
|
|
189
|
+
}
|
|
190
|
+
class Class extends Type {
|
|
191
|
+
-_isAbstract: boolean
|
|
192
|
+
-_properties: Set<Property>
|
|
193
|
+
+addProperty(property: Property): void
|
|
194
|
+
-_methods: Set<Method>
|
|
195
|
+
+addMethod(method: Method): void
|
|
196
|
+
-_superInheritances: Set<Inheritance>
|
|
197
|
+
+addSuperInheritance(superInheritance: Inheritance): void
|
|
198
|
+
-_subInheritances: Set<Inheritance>
|
|
199
|
+
+addSubInheritance(subInheritance: Inheritance): void
|
|
200
|
+
+getJSON(): string
|
|
201
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
202
|
+
+isAbstract: boolean
|
|
203
|
+
+isAbstract: boolean
|
|
204
|
+
+properties: Set<Property>
|
|
205
|
+
+methods: Set<Method>
|
|
206
|
+
+superInheritances: Set<Inheritance>
|
|
207
|
+
+subInheritances: Set<Inheritance>
|
|
208
|
+
}
|
|
209
|
+
class Method extends BehavioralEntity {
|
|
210
|
+
-_parentEntity: Class | Interface
|
|
211
|
+
-_kind: string
|
|
212
|
+
-_isAbstract: boolean
|
|
213
|
+
-_isClassSide: boolean
|
|
214
|
+
-_isPrivate: boolean
|
|
215
|
+
-_isPublic: boolean
|
|
216
|
+
-_isProtected: boolean
|
|
217
|
+
+getJSON(): string
|
|
218
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
219
|
+
+parentEntity: Class | Interface
|
|
220
|
+
+parentEntity: Class | Interface
|
|
221
|
+
+kind: string
|
|
222
|
+
+kind: string
|
|
223
|
+
+isAbstract: boolean
|
|
224
|
+
+isAbstract: boolean
|
|
225
|
+
+isClassSide: boolean
|
|
226
|
+
+isClassSide: boolean
|
|
227
|
+
+isPrivate: boolean
|
|
228
|
+
+isPrivate: boolean
|
|
229
|
+
+isPublic: boolean
|
|
230
|
+
+isPublic: boolean
|
|
231
|
+
+isProtected: boolean
|
|
232
|
+
+isProtected: boolean
|
|
233
|
+
}
|
|
234
|
+
class Interface extends Type {
|
|
235
|
+
-_properties: Set<Property>
|
|
236
|
+
+addProperty(property: Property): void
|
|
237
|
+
-_methods: Set<Method>
|
|
238
|
+
+addMethod(method: Method): void
|
|
239
|
+
-_superInheritances: Set<Inheritance>
|
|
240
|
+
+addSuperInheritance(superInheritance: Inheritance): void
|
|
241
|
+
-_subInheritances: Set<Inheritance>
|
|
242
|
+
+addSubInheritance(subInheritance: Inheritance): void
|
|
243
|
+
+getJSON(): string
|
|
244
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
245
|
+
+properties: Set<Property>
|
|
246
|
+
+methods: Set<Method>
|
|
247
|
+
+superInheritances: Set<Inheritance>
|
|
248
|
+
+subInheritances: Set<Inheritance>
|
|
249
|
+
}
|
|
250
|
+
class PrimitiveType extends Type {
|
|
251
|
+
+getJSON(): string
|
|
252
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
253
|
+
}
|
|
254
|
+
class ParametricClass extends Class {
|
|
255
|
+
-_genericParameters: Set<ParameterType>
|
|
256
|
+
+addGenericParameter(genericParameter: ParameterType): void
|
|
257
|
+
+clearGenericParameters(): void
|
|
258
|
+
-_concreteParameters: Set<Class | Interface | PrimitiveType>
|
|
259
|
+
+addConcreteParameter(concreteParameter: Class | Interface | PrimitiveType): void
|
|
260
|
+
+getJSON(): string
|
|
261
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
262
|
+
+genericParameters: Set<ParameterType>
|
|
263
|
+
+concreteParameters: Set<Class | Interface | PrimitiveType>
|
|
264
|
+
}
|
|
265
|
+
class ParametricInterface extends Interface {
|
|
266
|
+
-_genericParameters: Set<ParameterType>
|
|
267
|
+
+addGenericParameter(genericParameter: ParameterType): void
|
|
268
|
+
+clearGenericParameters(): void
|
|
269
|
+
-_concreteParameters: Set<Class | Interface | PrimitiveType>
|
|
270
|
+
+addConcreteParameter(concreteParameter: Class | Interface | PrimitiveType): void
|
|
271
|
+
+getJSON(): string
|
|
272
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
273
|
+
+genericParameters: Set<ParameterType>
|
|
274
|
+
+concreteParameters: Set<Class | Interface | PrimitiveType>
|
|
275
|
+
}
|
|
276
|
+
class Function extends BehavioralEntity {
|
|
277
|
+
+getJSON(): string
|
|
278
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
279
|
+
}
|
|
280
|
+
class Accessor extends Method {
|
|
281
|
+
+getJSON(): string
|
|
282
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
283
|
+
}
|
|
284
|
+
class ParametricMethod extends Method {
|
|
285
|
+
-_concreteParameters: Set<Class | Interface | PrimitiveType>
|
|
286
|
+
+addConcreteParameter(concreteParameter: Class | Interface | PrimitiveType): void
|
|
287
|
+
+getJSON(): string
|
|
288
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
289
|
+
+concreteParameters: Set<Class | Interface | PrimitiveType>
|
|
290
|
+
}
|
|
291
|
+
class ParametricFunction extends Function {
|
|
292
|
+
-_concreteParameters: Set<Class | Interface | PrimitiveType>
|
|
293
|
+
+addConcreteParameter(concreteParameter: Class | Interface | PrimitiveType): void
|
|
294
|
+
+getJSON(): string
|
|
295
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
296
|
+
+concreteParameters: Set<Class | Interface | PrimitiveType>
|
|
297
|
+
}
|
|
298
|
+
class ArrowFunction extends BehavioralEntity {
|
|
299
|
+
+getJSON(): string
|
|
300
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
301
|
+
}
|
|
302
|
+
class ParametricArrowFunction extends ArrowFunction {
|
|
303
|
+
-_concreteParameters: Set<Class | Interface | PrimitiveType>
|
|
304
|
+
+addConcreteParameter(concreteParameter: Class | Interface | PrimitiveType): void
|
|
305
|
+
+getJSON(): string
|
|
306
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
307
|
+
+concreteParameters: Set<Class | Interface | PrimitiveType>
|
|
308
|
+
}
|
|
309
|
+
class ParameterType extends Type {
|
|
310
|
+
-_parentGeneric: Method | ParametricArrowFunction | ArrowFunction | ParametricClass | ParametricInterface | ParametricMethod | Accessor | FamixFunction | ParametricFunction
|
|
311
|
+
-_baseType: Type
|
|
312
|
+
-_arguments: Set<Type>
|
|
313
|
+
+addArgument(argument: Type): void
|
|
314
|
+
+getJSON(): string
|
|
315
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
316
|
+
+parentGeneric: Method | ParametricArrowFunction | ArrowFunction | ParametricClass | ParametricInterface | ParametricMethod | Accessor | FamixFunction | ParametricFunction
|
|
317
|
+
+parentGeneric: Method | ParametricArrowFunction | ArrowFunction | ParametricClass | ParametricInterface | ParametricMethod | Accessor | FamixFunction | ParametricFunction
|
|
318
|
+
+baseType: Type
|
|
319
|
+
+baseType: Type
|
|
320
|
+
+arguments: Set<Type>
|
|
321
|
+
}
|
|
322
|
+
class BehavioralEntity extends ContainerEntity {
|
|
323
|
+
-_signature: string
|
|
324
|
+
-_parameters: Set<Parameter>
|
|
325
|
+
+addParameter(parameter: Parameter): void
|
|
326
|
+
-_numberOfParameters: number
|
|
327
|
+
-_incomingInvocations: Set<Invocation>
|
|
328
|
+
+addIncomingInvocation(incomingInvocation: Invocation): void
|
|
329
|
+
-_declaredType: Type
|
|
330
|
+
-_genericParameters: Set<ParameterType>
|
|
331
|
+
+addGenericParameter(genericParameter: ParameterType): void
|
|
332
|
+
+clearGenericParameters(): void
|
|
333
|
+
+getJSON(): string
|
|
334
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
335
|
+
+signature: string
|
|
336
|
+
+signature: string
|
|
337
|
+
+parameters: Set<Parameter>
|
|
338
|
+
+numberOfParameters: number
|
|
339
|
+
+numberOfParameters: number
|
|
340
|
+
+incomingInvocations: Set<Invocation>
|
|
341
|
+
+declaredType: Type
|
|
342
|
+
+declaredType: Type
|
|
343
|
+
+genericParameters: Set<ParameterType>
|
|
344
|
+
}
|
|
345
|
+
class Invocation extends Entity {
|
|
346
|
+
-_candidates: Set<BehavioralEntity>
|
|
347
|
+
+addCandidate(candidate: BehavioralEntity): void
|
|
348
|
+
-_receiver: NamedEntity
|
|
349
|
+
-_sender: ContainerEntity
|
|
350
|
+
-_signature: string
|
|
351
|
+
+getJSON(): string
|
|
352
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
353
|
+
+candidates: Set<BehavioralEntity>
|
|
354
|
+
+receiver: NamedEntity
|
|
355
|
+
+receiver: NamedEntity
|
|
356
|
+
+sender: ContainerEntity
|
|
357
|
+
+sender: ContainerEntity
|
|
358
|
+
+signature: string
|
|
359
|
+
+signature: string
|
|
360
|
+
}
|
|
361
|
+
class Reference extends Entity {
|
|
362
|
+
-_source: ContainerEntity
|
|
363
|
+
-_target: Type
|
|
364
|
+
+getJSON(): string
|
|
365
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
366
|
+
+source: ContainerEntity
|
|
367
|
+
+source: ContainerEntity
|
|
368
|
+
+target: Type
|
|
369
|
+
+target: Type
|
|
370
|
+
}
|
|
371
|
+
class Variable extends StructuralEntity {
|
|
372
|
+
-_parentContainerEntity: ContainerEntity
|
|
373
|
+
+getJSON(): string
|
|
374
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
375
|
+
+parentContainerEntity: ContainerEntity
|
|
376
|
+
+parentContainerEntity: ContainerEntity
|
|
377
|
+
}
|
|
378
|
+
class ContainerEntity extends NamedEntity {
|
|
379
|
+
-_parentContainerEntity: ContainerEntity
|
|
380
|
+
-_childrenContainerEntities: Set<ContainerEntity>
|
|
381
|
+
+addChildContainerEntity(childContainerEntity: ContainerEntity): void
|
|
382
|
+
-_cyclomaticComplexity: number
|
|
383
|
+
-_numberOfStatements: number
|
|
384
|
+
-_outgoingReferences: Set<Reference>
|
|
385
|
+
+addOutgoingReference(outgoingReference: Reference): void
|
|
386
|
+
-_numberOfLinesOfCode: number
|
|
387
|
+
-_outgoingInvocations: Set<Invocation>
|
|
388
|
+
+addOutgoingInvocation(outgoingInvocation: Invocation): void
|
|
389
|
+
-_accesses: Set<Access>
|
|
390
|
+
+addAccess(access: Access): void
|
|
391
|
+
-childrenTypes: Set<Type>
|
|
392
|
+
+addType(childType: Type): void
|
|
393
|
+
-childrenFunctions: Set<FamixFunctionEntity>
|
|
394
|
+
+addFunction(childFunction: FamixFunctionEntity): void
|
|
395
|
+
-_variables: Set<Variable>
|
|
396
|
+
+addVariable(variable: Variable): void
|
|
397
|
+
+getJSON(): string
|
|
398
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
399
|
+
+parentContainerEntity: ContainerEntity
|
|
400
|
+
+parentContainerEntity: ContainerEntity
|
|
401
|
+
+childrenContainerEntities: Set<ContainerEntity>
|
|
402
|
+
+cyclomaticComplexity: number
|
|
403
|
+
+cyclomaticComplexity: number
|
|
404
|
+
+numberOfStatements: number
|
|
405
|
+
+numberOfStatements: number
|
|
406
|
+
+outgoingReferences: Set<Reference>
|
|
407
|
+
+numberOfLinesOfCode: number
|
|
408
|
+
+numberOfLinesOfCode: number
|
|
409
|
+
+outgoingInvocations: Set<Invocation>
|
|
410
|
+
+accesses: Set<Access>
|
|
411
|
+
+types: Set<Type>
|
|
412
|
+
+functions: Set<FamixFunctionEntity>
|
|
413
|
+
+variables: Set<Variable>
|
|
414
|
+
}
|
|
415
|
+
class Type extends ContainerEntity {
|
|
416
|
+
-_container: ContainerEntity
|
|
417
|
+
-_typeAliases: Set<Alias>
|
|
418
|
+
+addTypeAlias(typeAlias: Alias): void
|
|
419
|
+
-_structuresWithDeclaredType: Set<StructuralEntity>
|
|
420
|
+
+addStructureWithDeclaredType(structureWithDeclaredType: StructuralEntity): void
|
|
421
|
+
-_behavioralEntitiesWithDeclaredType: Set<BehavioralEntity>
|
|
422
|
+
+addBehavioralEntityWithDeclaredType(behavioralEntityWithDeclaredType: BehavioralEntity): void
|
|
423
|
+
-_incomingReferences: Set<Reference>
|
|
424
|
+
+addIncomingReference(incomingReference: Reference): void
|
|
425
|
+
+getJSON(): string
|
|
426
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
427
|
+
+container: ContainerEntity
|
|
428
|
+
+container: ContainerEntity
|
|
429
|
+
+typeAliases: Set<Alias>
|
|
430
|
+
+structuresWithDeclaredType: Set<StructuralEntity>
|
|
431
|
+
+behavioralEntitiesWithDeclaredType: Set<BehavioralEntity>
|
|
432
|
+
+incomingReferences: Set<Reference>
|
|
433
|
+
}
|
|
434
|
+
class StructuralEntity extends NamedEntity {
|
|
435
|
+
-_incomingAccesses: Set<Access>
|
|
436
|
+
+addIncomingAccess(incomingAccess: Access): void
|
|
437
|
+
-_declaredType: Type
|
|
438
|
+
+getJSON(): string
|
|
439
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
440
|
+
+incomingAccesses: Set<Access>
|
|
441
|
+
+declaredType: Type
|
|
442
|
+
+declaredType: Type
|
|
443
|
+
}
|
|
444
|
+
class Access extends Entity {
|
|
445
|
+
-_accessor: ContainerEntity
|
|
446
|
+
-_variable: StructuralEntity
|
|
447
|
+
-_isWrite: boolean
|
|
448
|
+
+getJSON(): string
|
|
449
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
450
|
+
+accessor: ContainerEntity
|
|
451
|
+
+accessor: ContainerEntity
|
|
452
|
+
+variable: StructuralEntity
|
|
453
|
+
+variable: StructuralEntity
|
|
454
|
+
+isWrite: boolean
|
|
455
|
+
+isWrite: boolean
|
|
456
|
+
}
|
|
457
|
+
class Concretisation extends Entity {
|
|
458
|
+
-_genericEntity: ParametricClass | ParametricInterface | ParametricMethod | ParametricFunction
|
|
459
|
+
-_concreteEntity: ParametricClass | ParametricInterface | ParametricMethod | ParametricFunction
|
|
460
|
+
+getJSON(): string
|
|
461
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
462
|
+
+genericEntity: ParametricClass | ParametricInterface | ParametricMethod | ParametricFunction
|
|
463
|
+
+genericEntity: ParametricClass | ParametricInterface | ParametricMethod | ParametricFunction
|
|
464
|
+
+concreteEntity: ParametricClass | ParametricInterface | ParametricMethod | ParametricFunction
|
|
465
|
+
+concreteEntity: ParametricClass | ParametricInterface | ParametricMethod | ParametricFunction
|
|
466
|
+
}
|
|
467
|
+
class Enum extends Type {
|
|
468
|
+
-_values: Set<EnumValue>
|
|
469
|
+
+addValue(value: EnumValue): void
|
|
470
|
+
+getJSON(): string
|
|
471
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
472
|
+
+values: Set<EnumValue>
|
|
473
|
+
}
|
|
474
|
+
class EnumValue extends StructuralEntity {
|
|
475
|
+
-_parentEntity: Enum
|
|
476
|
+
+getJSON(): string
|
|
477
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
478
|
+
+parentEntity: Enum
|
|
479
|
+
+parentEntity: Enum
|
|
480
|
+
}
|
|
481
|
+
class IndexedFileAnchor extends SourceAnchor {
|
|
482
|
+
-_startPos: number
|
|
483
|
+
-_endPos: number
|
|
484
|
+
-_fileName: string
|
|
485
|
+
+getJSON(): string
|
|
486
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
487
|
+
+startPos: number
|
|
488
|
+
+startPos: number
|
|
489
|
+
+endPos: number
|
|
490
|
+
+endPos: number
|
|
491
|
+
+fileName: string
|
|
492
|
+
+fileName: string
|
|
493
|
+
}
|
|
494
|
+
class ParameterConcretisation extends Entity {
|
|
495
|
+
-_genericParameter: ParameterType
|
|
496
|
+
-_concreteParameter: PrimitiveType
|
|
497
|
+
-_concretisations: Set<Concretisation>
|
|
498
|
+
+addConcretisation(concretisation: Concretisation): void
|
|
499
|
+
+getJSON(): string
|
|
500
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
501
|
+
+genericParameter: ParameterType
|
|
502
|
+
+genericParameter: ParameterType
|
|
503
|
+
+concreteParameter: PrimitiveType
|
|
504
|
+
+concreteParameter: PrimitiveType
|
|
505
|
+
+concretisations: Set<Concretisation>
|
|
506
|
+
}
|
|
507
|
+
interface SearchParameters {
|
|
508
|
+
+searchArray: string[]
|
|
509
|
+
+targetArray: string[]
|
|
510
|
+
+start?: number | undefined
|
|
511
|
+
}
|
|
512
|
+
class EntityDictionary {
|
|
513
|
+
+famixRep: FamixRepository
|
|
514
|
+
-fmxAliasMap: Map<string, Famix.Alias>
|
|
515
|
+
-fmxClassMap: Map<string, Famix.Class | Famix.ParametricClass>
|
|
516
|
+
-fmxInterfaceMap: Map<string, Famix.Interface | Famix.ParametricInterface>
|
|
517
|
+
-fmxModuleMap: Map<ModuleDeclaration, Famix.Module>
|
|
518
|
+
-fmxFileMap: Map<string, Famix.Module | Famix.ScriptEntity>
|
|
519
|
+
-fmxTypeMap: Map<TSMorphTypeDeclaration, Famix.Type | Famix.ParameterType>
|
|
520
|
+
-fmxPrimitiveTypeMap: Map<string, Famix.PrimitiveType>
|
|
521
|
+
-fmxFunctionAndMethodMap: Map<string, Famix.Method | Famix.ParametricMethod | Famix.Function | Famix.ParametricFunction>
|
|
522
|
+
-fmxArrowFunctionMap: Map<string, Famix.ArrowFunction>
|
|
523
|
+
-fmxParameterMap: Map<ParameterDeclaration, Famix.Parameter>
|
|
524
|
+
-fmxVariableMap: Map<VariableDeclaration, Famix.Variable>
|
|
525
|
+
-fmxImportClauseMap: Map<ImportEqualsDeclaration | ImportDeclaration, Famix.ImportClause>
|
|
526
|
+
-fmxEnumMap: Map<EnumDeclaration, Famix.Enum>
|
|
527
|
+
-fmxInheritanceMap: Map<string, Famix.Inheritance>
|
|
528
|
+
-UNKNOWN_VALUE: string
|
|
529
|
+
+fmxElementObjectMap: Map<Famix.Entity, TSMorphObjectType>
|
|
530
|
+
+tsMorphElementObjectMap: Map<TSMorphObjectType, Famix.Entity>
|
|
531
|
+
+addSourceAnchor(fmx: Famix.SourcedEntity, node: TSMorphObjectType): Famix.IndexedFileAnchor
|
|
532
|
+
+makeFamixIndexFileAnchor(sourceElement: TSMorphObjectType, famixElement: Famix.SourcedEntity): void
|
|
533
|
+
+createOrGetFamixFile(f: SourceFile, isModule: boolean): Famix.Module | Famix.ScriptEntity
|
|
534
|
+
+createOrGetFamixModule(moduleDeclaration: ModuleDeclaration): Famix.Module
|
|
535
|
+
+createFamixAlias(typeAliasDeclaration: TypeAliasDeclaration): Famix.Alias
|
|
536
|
+
+createOrGetFamixClass(cls: ClassDeclaration): Famix.Class | Famix.ParametricClass
|
|
537
|
+
+createOrGetFamixInterface(inter: InterfaceDeclaration): Famix.Interface | Famix.ParametricInterface
|
|
538
|
+
+createOrGetFamixConcreteElement(concreteElement: ParametricVariantType, concreteElementDeclaration: ConcreteElementTSMorphType, concreteArguments: TypeNode<ts.TypeNode>[]): ParametricVariantType
|
|
539
|
+
+createFamixProperty(property: PropertyDeclaration | PropertySignature): Famix.Property
|
|
540
|
+
+createOrGetFamixMethod(method: ConstructorDeclaration | MethodSignature | GetAccessorDeclaration | SetAccessorDeclaration | MethodDeclaration, currentCC: { [key: string]: number; }): Famix.Method | Famix.ParametricMethod | Famix.Accessor
|
|
541
|
+
+createOrGetFamixFunction(func: FunctionExpression | FunctionDeclaration, currentCC: { [key: string]: number; }): Famix.Function | Famix.ParametricFunction
|
|
542
|
+
+createOrGetFamixParameter(param: ParameterDeclaration): Famix.Parameter
|
|
543
|
+
+createFamixParameterType(tp: TypeParameterDeclaration): Famix.ParameterType
|
|
544
|
+
+createOrGetFamixVariable(variable: VariableDeclaration): Famix.Variable
|
|
545
|
+
+createOrGetFamixEnum(enumEntity: EnumDeclaration): Famix.Enum
|
|
546
|
+
+createFamixEnumValue(enumMember: EnumMember): Famix.EnumValue
|
|
547
|
+
+createOrGetFamixDecorator(decorator: Decorator, decoratedEntity: PropertyDeclaration | GetAccessorDeclaration | SetAccessorDeclaration | ParameterDeclaration | ClassDeclaration | MethodDeclaration): Famix.Decorator
|
|
548
|
+
+createFamixComment(comment: CommentRange, fmxScope: Famix.NamedEntity, isJSDoc: boolean): Famix.Comment
|
|
549
|
+
+createOrGetFamixType(typeNameArg: string, tsMorphType: Type<ts.Type> | undefined, element: TSMorphTypeDeclaration): Famix.Type
|
|
550
|
+
+createOrGetFamixParametricType(typeName: string, element: TSMorphParametricType): Famix.Type
|
|
551
|
+
+createOrGetFamixPrimitiveType(typeName: string): Famix.PrimitiveType
|
|
552
|
+
+createFamixAccess(node: Identifier, id: number): void
|
|
553
|
+
+createFamixInvocation(nodeReferringToInvocable: Identifier, invocable: InvocableType, id: number): void
|
|
554
|
+
+createOrGetFamixInheritance(baseClassOrInterface: ClassDeclaration | InterfaceDeclaration, inheritedClassOrInterface: ClassDeclaration | InterfaceDeclaration | ExpressionWithTypeArguments): void
|
|
555
|
+
+createOrGetFamixClassStub(unresolvedInheritedClass: ExpressionWithTypeArguments): Famix.Class
|
|
556
|
+
+createOrGetFamixInterfaceStub(unresolvedInheritedInterface: ExpressionWithTypeArguments): Famix.Interface
|
|
557
|
+
+createFamixImportClause(importedEntity: Famix.NamedEntity, importingEntity: Famix.Module): void
|
|
558
|
+
+oldCreateOrGetFamixImportClause(importClauseInfo: { importDeclaration?: ImportEqualsDeclaration | ImportDeclaration | undefined; importerSourceFile: SourceFile; moduleSpecifierFilePath: string; importElement: ImportSpecifier | Identifier; isInExports: boolean; isDefaultExport: boolean; }): void
|
|
559
|
+
+createOrGetFamixArrowFunction(arrowExpression: Expression<ts.Expression>, currentCC: { [key: string]: number; }): Famix.ParametricArrowFunction | Famix.ArrowFunction
|
|
560
|
+
+createFamixConcretisation(conEntity: Famix.ParametricClass | Famix.ParametricInterface | Famix.ParametricMethod | Famix.ParametricFunction, genEntity: Famix.ParametricClass | Famix.ParametricInterface | Famix.ParametricMethod | Famix.ParametricFunction): Famix.Concretisation
|
|
561
|
+
+createFamixParameterConcretisation(concretisation: Famix.Concretisation): Famix.ParameterConcretisation | undefined
|
|
562
|
+
+createFamixConcretisationClassOrInterfaceSpecialisation(element: ClassDeclaration | InterfaceDeclaration): void
|
|
563
|
+
+createFamixConcretisationGenericInstantiation(cls: ClassDeclaration): void
|
|
564
|
+
+createFamixConcretisationFunctionInstantiation(element: FunctionDeclaration | MethodDeclaration): void
|
|
565
|
+
+createFamixConcretisationInterfaceClass(cls: ClassDeclaration): void
|
|
566
|
+
+createFamixConcretisationTypeInstanciation(element: ClassDeclaration | InterfaceDeclaration): void
|
|
567
|
+
+convertToRelativePath(absolutePath: string, absolutePathProject: string): string
|
|
568
|
+
}
|
|
569
|
+
class FamixRepository {
|
|
570
|
+
-elements: Set<FamixBaseElement>
|
|
571
|
+
-famixClasses: Set<Class>
|
|
572
|
+
-famixInterfaces: Set<Interface>
|
|
573
|
+
-famixModules: Set<Module>
|
|
574
|
+
-famixMethods: Set<Method>
|
|
575
|
+
-famixVariables: Set<Variable>
|
|
576
|
+
-famixFunctions: Set<FamixFunctionEntity>
|
|
577
|
+
-famixFiles: Set<Module | ScriptEntity>
|
|
578
|
+
-idCounter: number
|
|
579
|
+
-absolutePath: string
|
|
580
|
+
-fmxElementObjectMap: Map<Famix.Entity, TSMorphObjectType>
|
|
581
|
+
-tsMorphObjectMap: Map<TSMorphObjectType, Famix.Entity>
|
|
582
|
+
+setFmxElementObjectMap(fmxElementObjectMap: Map<Famix.Entity, TSMorphObjectType>): void
|
|
583
|
+
+getFmxElementObjectMap(): Map<Famix.Entity, TSMorphObjectType>
|
|
584
|
+
+getAbsolutePath(): string
|
|
585
|
+
+setAbsolutePath(path: string): void
|
|
586
|
+
+getFamixEntityById(id: number): FamixBaseElement | undefined
|
|
587
|
+
+getFamixEntityByFullyQualifiedName(fullyQualifiedName: string): FamixBaseElement | undefined
|
|
588
|
+
+getFamixAccessByAccessorAndVariable(accessor: Famix.ContainerEntity, variable: Famix.StructuralEntity): Famix.Access | undefined
|
|
589
|
+
+export(arg0: { format: string; }): string
|
|
590
|
+
+_getAllEntities(): Set<FamixBaseElement>
|
|
591
|
+
+_getAllEntitiesWithType(theType: string): Set<FamixBaseElement>
|
|
592
|
+
+_getFamixClass(fullyQualifiedName: string): Class | undefined
|
|
593
|
+
+_getFamixInterface(fullyQualifiedName: string): Interface | undefined
|
|
594
|
+
+_getFamixMethod(fullyQualifiedName: string): Method | undefined
|
|
595
|
+
+_getFamixFunction(fullyQualifiedName: string): FamixFunctionEntity | undefined
|
|
596
|
+
+_getFamixVariable(fullyQualifiedName: string): Variable | undefined
|
|
597
|
+
+_getFamixModule(fullyQualifiedName: string): Module | undefined
|
|
598
|
+
+_getFamixModules(): Set<Module>
|
|
599
|
+
+_getFamixFile(fullyQualifiedName: string): Module | ScriptEntity | undefined
|
|
600
|
+
+_getFamixFiles(): Set<Module | ScriptEntity>
|
|
601
|
+
+_methodNamesAsSetFromClass(className: string): Set<string>
|
|
602
|
+
+_methodParentsAsSetFromClass(className: string): Set<Type>
|
|
603
|
+
+_initMapFromModel(model: string): Map<number, unknown>
|
|
604
|
+
+addElement(element: FamixBaseElement): void
|
|
605
|
+
-validateFQNs(): void
|
|
606
|
+
+getJSON(): string
|
|
607
|
+
}
|
|
608
|
+
class Importer {
|
|
609
|
+
-project: Project
|
|
610
|
+
+famixRepFromPaths(paths: string[]): FamixRepository
|
|
611
|
+
-processEntities(project: Project): void
|
|
612
|
+
+famixRepFromSource(filename: string, source: string): FamixRepository
|
|
613
|
+
+famixRepFromProject(project: Project): FamixRepository
|
|
614
|
+
}
|
|
615
|
+
abstract class FamixBaseElement {
|
|
616
|
+
+id: number
|
|
617
|
+
+{abstract} getJSON(): string
|
|
618
|
+
+addPropertiesToExporter(exporter: FamixJSONExporter): void
|
|
619
|
+
}
|
|
608
620
|
@enduml
|