ts2famix 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -0
- package/README.md +29 -60
- package/dist/analyze.js +1 -1
- package/dist/analyze_functions/process_functions.js +49 -43
- package/dist/famix_functions/EntityDictionary.js +309 -182
- package/dist/famix_functions/helpers_creation.js +36 -5
- package/dist/fqn.js +76 -114
- package/dist/lib/famix/famix_JSON_exporter.js +55 -0
- package/dist/lib/famix/famix_base_element.js +18 -0
- package/dist/lib/famix/famix_repository.js +224 -0
- package/dist/lib/famix/{src/index.js → index.js} +1 -1
- package/dist/lib/famix/model/famix/access.js +40 -0
- package/dist/lib/famix/model/famix/accessor.js +17 -0
- package/dist/lib/famix/model/famix/alias.js +33 -0
- package/dist/lib/famix/model/famix/arrow_function.js +17 -0
- package/dist/lib/famix/model/famix/behavioral_entity.js +79 -0
- package/dist/lib/famix/model/famix/class.js +71 -0
- package/dist/lib/famix/model/famix/comment.js +39 -0
- package/dist/lib/famix/model/famix/concretisation.js +31 -0
- package/dist/lib/famix/model/famix/container_entity.js +126 -0
- package/dist/lib/famix/model/famix/decorator.js +32 -0
- package/dist/lib/famix/model/famix/entity.js +17 -0
- package/dist/lib/famix/model/famix/enum.js +31 -0
- package/dist/lib/famix/model/famix/enum_value.js +25 -0
- package/dist/lib/famix/model/famix/function.js +17 -0
- package/dist/lib/famix/model/famix/import_clause.js +41 -0
- package/dist/lib/famix/{src/model → model}/famix/index.js +6 -10
- package/dist/lib/famix/model/famix/indexed_file_anchor.js +38 -0
- package/dist/lib/famix/model/famix/inheritance.js +33 -0
- package/dist/lib/famix/model/famix/interface.js +64 -0
- package/dist/lib/famix/model/famix/invocation.js +54 -0
- package/dist/lib/famix/model/famix/method.js +67 -0
- package/dist/lib/famix/model/famix/module.js +60 -0
- package/dist/lib/famix/model/famix/named_entity.js +78 -0
- package/dist/lib/famix/model/famix/parameter.js +25 -0
- package/dist/lib/famix/model/famix/parameter_concretisation.js +44 -0
- package/dist/lib/famix/model/famix/parameter_type.js +45 -0
- package/dist/lib/famix/model/famix/parametric_arrow_function.js +31 -0
- package/dist/lib/famix/model/famix/parametric_class.js +44 -0
- package/dist/lib/famix/model/famix/parametric_function.js +31 -0
- package/dist/lib/famix/model/famix/parametric_interface.js +44 -0
- package/dist/lib/famix/model/famix/parametric_method.js +31 -0
- package/dist/lib/famix/model/famix/primitive_type.js +17 -0
- package/dist/lib/famix/model/famix/property.js +73 -0
- package/dist/lib/famix/model/famix/reference.js +33 -0
- package/dist/lib/famix/model/famix/scoping_entity.js +36 -0
- package/dist/lib/famix/model/famix/script_entity.js +29 -0
- package/dist/lib/famix/model/famix/source_anchor.js +27 -0
- package/dist/lib/famix/model/famix/source_language.js +35 -0
- package/dist/lib/famix/model/famix/sourced_entity.js +60 -0
- package/dist/lib/famix/model/famix/structural_entity.js +39 -0
- package/dist/lib/famix/model/famix/type.js +73 -0
- package/dist/lib/famix/model/famix/variable.js +24 -0
- package/dist/lib/ts-complex/cyclomatic-service.js +2 -2
- package/dist/refactorer/refactor-getter-setter.js +142 -0
- package/dist/ts2famix-cli-wrapper.js +29 -3
- package/dist/ts2famix-cli.js +1 -1
- package/doc-uml/famix-typescript-model.puml +390 -341
- package/doc-uml/famix-typescript-model.svg +1 -1
- package/package.json +8 -7
- package/src/analyze.ts +2 -2
- package/src/analyze_functions/process_functions.ts +49 -44
- package/src/famix_functions/EntityDictionary.ts +345 -216
- package/src/famix_functions/helpers_creation.ts +36 -4
- package/src/fqn.ts +76 -125
- package/src/lib/famix/famix_JSON_exporter.ts +56 -0
- package/src/lib/famix/famix_base_element.ts +22 -0
- package/src/lib/famix/famix_repository.ts +243 -0
- package/src/lib/famix/model/famix/access.ts +50 -0
- package/src/lib/famix/model/famix/alias.ts +39 -0
- package/src/lib/famix/model/famix/behavioral_entity.ts +97 -0
- package/src/lib/famix/model/famix/class.ts +85 -0
- package/src/lib/famix/model/famix/comment.ts +47 -0
- package/src/lib/famix/model/famix/concretisation.ts +40 -0
- package/src/lib/famix/model/famix/container_entity.ts +160 -0
- package/src/lib/famix/model/famix/decorator.ts +37 -0
- package/src/lib/famix/model/famix/enum.ts +30 -0
- package/src/lib/famix/model/famix/enum_value.ts +28 -0
- package/src/lib/famix/model/famix/import_clause.ts +51 -0
- package/src/lib/famix/{src/model → model}/famix/index.ts +2 -4
- package/src/lib/famix/model/famix/indexed_file_anchor.ts +46 -0
- package/src/lib/famix/model/famix/inheritance.ts +40 -0
- package/src/lib/famix/model/famix/interface.ts +75 -0
- package/src/lib/famix/model/famix/invocation.ts +65 -0
- package/src/lib/famix/model/famix/method.ts +89 -0
- package/src/lib/famix/model/famix/module.ts +71 -0
- package/src/lib/famix/model/famix/named_entity.ts +95 -0
- package/src/lib/famix/{src/model → model}/famix/parameter.ts +11 -12
- package/src/lib/famix/model/famix/parameter_concretisation.ts +51 -0
- package/src/lib/famix/model/famix/parameter_type.ts +58 -0
- package/src/lib/famix/model/famix/parametric_arrow_function.ts +32 -0
- package/src/lib/famix/model/famix/parametric_class.ts +49 -0
- package/src/lib/famix/model/famix/parametric_function.ts +32 -0
- package/src/lib/famix/model/famix/parametric_interface.ts +49 -0
- package/src/lib/famix/model/famix/parametric_method.ts +32 -0
- package/src/lib/famix/model/famix/primitive_type.ts +15 -0
- package/src/lib/famix/model/famix/property.ts +94 -0
- package/src/lib/famix/model/famix/reference.ts +40 -0
- package/src/lib/famix/model/famix/scoping_entity.ts +35 -0
- package/src/lib/famix/model/famix/script_entity.ts +34 -0
- package/src/lib/famix/model/famix/source_anchor.ts +30 -0
- package/src/lib/famix/model/famix/source_language.ts +35 -0
- package/src/lib/famix/model/famix/sourced_entity.ts +70 -0
- package/src/lib/famix/model/famix/structural_entity.ts +43 -0
- package/src/lib/famix/model/famix/type.ts +87 -0
- package/src/lib/famix/model/famix/variable.ts +27 -0
- package/src/lib/famix/package.json +1 -1
- package/src/lib/ts-complex/cyclomatic-service.ts +10 -10
- package/src/refactorer/refactor-getter-setter.ts +140 -0
- package/src/ts2famix-cli-wrapper.ts +6 -2
- package/src/ts2famix-cli.ts +1 -1
- package/tsconfig.check-tests.json +14 -0
- package/tsconfig.json +70 -68
- package/dist/famix2puml.js +0 -126
- 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 -223
- 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/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/indexed_file_anchor.js +0 -52
- 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 -84
- 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_type.js +0 -45
- 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 -126
- package/dist/lib/famix/src/model/famix/reference.js +0 -33
- package/dist/lib/famix/src/model/famix/scoping_entity.js +0 -37
- 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/jest.config-old.ts +0 -199
- package/src/famix2puml.ts +0 -119
- package/src/lib/famix/package-lock.json +0 -301
- package/src/lib/famix/readme.md +0 -5
- package/src/lib/famix/src/famix_JSON_exporter.ts +0 -56
- package/src/lib/famix/src/famix_base_element.ts +0 -22
- package/src/lib/famix/src/famix_repository.ts +0 -243
- package/src/lib/famix/src/model/famix/access.ts +0 -53
- package/src/lib/famix/src/model/famix/alias.ts +0 -41
- package/src/lib/famix/src/model/famix/behavioral_entity.ts +0 -100
- package/src/lib/famix/src/model/famix/class.ts +0 -86
- package/src/lib/famix/src/model/famix/comment.ts +0 -50
- package/src/lib/famix/src/model/famix/concretisation.ts +0 -42
- package/src/lib/famix/src/model/famix/container_entity.ts +0 -165
- package/src/lib/famix/src/model/famix/decorator.ts +0 -39
- package/src/lib/famix/src/model/famix/enum.ts +0 -31
- package/src/lib/famix/src/model/famix/enum_value.ts +0 -29
- package/src/lib/famix/src/model/famix/implicit_variable.ts +0 -15
- package/src/lib/famix/src/model/famix/import_clause.ts +0 -54
- package/src/lib/famix/src/model/famix/indexed_file_anchor.ts +0 -71
- package/src/lib/famix/src/model/famix/inheritance.ts +0 -41
- package/src/lib/famix/src/model/famix/interface.ts +0 -75
- package/src/lib/famix/src/model/famix/invocation.ts +0 -68
- package/src/lib/famix/src/model/famix/method.ts +0 -96
- package/src/lib/famix/src/model/famix/module.ts +0 -97
- package/src/lib/famix/src/model/famix/named_entity.ts +0 -98
- package/src/lib/famix/src/model/famix/parameterConcretisation.ts +0 -54
- package/src/lib/famix/src/model/famix/parameter_type.ts +0 -60
- package/src/lib/famix/src/model/famix/parametric_arrow_function.ts +0 -32
- package/src/lib/famix/src/model/famix/parametric_class.ts +0 -49
- package/src/lib/famix/src/model/famix/parametric_function.ts +0 -32
- package/src/lib/famix/src/model/famix/parametric_interface.ts +0 -49
- package/src/lib/famix/src/model/famix/parametric_method.ts +0 -32
- package/src/lib/famix/src/model/famix/primitive_type.ts +0 -15
- package/src/lib/famix/src/model/famix/property.ts +0 -152
- package/src/lib/famix/src/model/famix/reference.ts +0 -42
- package/src/lib/famix/src/model/famix/scoping_entity.ts +0 -36
- package/src/lib/famix/src/model/famix/script_entity.ts +0 -36
- package/src/lib/famix/src/model/famix/source_anchor.ts +0 -31
- package/src/lib/famix/src/model/famix/source_language.ts +0 -36
- package/src/lib/famix/src/model/famix/sourced_entity.ts +0 -73
- package/src/lib/famix/src/model/famix/structural_entity.ts +0 -44
- package/src/lib/famix/src/model/famix/text_anchor.ts +0 -49
- package/src/lib/famix/src/model/famix/type.ts +0 -89
- package/src/lib/famix/src/model/famix/variable.ts +0 -28
- package/src/lib/famix/tsconfig.json +0 -27
- package/src/lib/famix/tslint.json +0 -15
- /package/src/lib/famix/{src/index.ts → index.ts} +0 -0
- /package/src/lib/famix/{src/model → model}/famix/accessor.ts +0 -0
- /package/src/lib/famix/{src/model/famix/arrowFunction.ts → model/famix/arrow_function.ts} +0 -0
- /package/src/lib/famix/{src/model → model}/famix/entity.ts +0 -0
- /package/src/lib/famix/{src/model → model}/famix/function.ts +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { FamixJSONExporter } from "../../famix_JSON_exporter";
|
|
2
|
+
import { StructuralEntity } from "./structural_entity";
|
|
3
|
+
import { ContainerEntity } from "./container_entity";
|
|
4
|
+
import { Entity } from "./entity";
|
|
5
|
+
|
|
6
|
+
export class Access extends Entity {
|
|
7
|
+
|
|
8
|
+
private _accessor!: ContainerEntity;
|
|
9
|
+
private _variable!: StructuralEntity;
|
|
10
|
+
private _isWrite!: boolean;
|
|
11
|
+
|
|
12
|
+
public getJSON(): string {
|
|
13
|
+
const json: FamixJSONExporter = new FamixJSONExporter("Access", this);
|
|
14
|
+
this.addPropertiesToExporter(json);
|
|
15
|
+
return json.getJSON();
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
public addPropertiesToExporter(exporter: FamixJSONExporter): void {
|
|
19
|
+
super.addPropertiesToExporter(exporter);
|
|
20
|
+
exporter.addProperty("accessor", this.accessor);
|
|
21
|
+
exporter.addProperty("variable", this.variable);
|
|
22
|
+
exporter.addProperty("isWrite", this.isWrite);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
get accessor(): ContainerEntity {
|
|
26
|
+
return this._accessor;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
set accessor(accessor: ContainerEntity) {
|
|
30
|
+
this._accessor = accessor;
|
|
31
|
+
accessor.addAccess(this);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
get variable(): StructuralEntity {
|
|
35
|
+
return this._variable;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
set variable(variable: StructuralEntity) {
|
|
39
|
+
this._variable = variable;
|
|
40
|
+
variable.addIncomingAccess(this);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
get isWrite(): boolean {
|
|
44
|
+
return this._isWrite;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
set isWrite(isWrite: boolean) {
|
|
48
|
+
this._isWrite = isWrite;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { FamixJSONExporter } from "../../famix_JSON_exporter";
|
|
2
|
+
import { NamedEntity } from "./named_entity";
|
|
3
|
+
import { Type } from "./type";
|
|
4
|
+
|
|
5
|
+
export class Alias extends NamedEntity {
|
|
6
|
+
|
|
7
|
+
private _parentEntity!: NamedEntity;
|
|
8
|
+
private _aliasedEntity!: Type;
|
|
9
|
+
|
|
10
|
+
public getJSON(): string {
|
|
11
|
+
const json: FamixJSONExporter = new FamixJSONExporter("Alias", this);
|
|
12
|
+
this.addPropertiesToExporter(json);
|
|
13
|
+
return json.getJSON();
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
public addPropertiesToExporter(exporter: FamixJSONExporter): void {
|
|
17
|
+
super.addPropertiesToExporter(exporter);
|
|
18
|
+
exporter.addProperty("parentType", this.parentEntity);
|
|
19
|
+
exporter.addProperty("aliasedEntity", this.aliasedEntity);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
get parentEntity(): NamedEntity {
|
|
23
|
+
return this._parentEntity;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
set parentEntity(parentEntity: NamedEntity) {
|
|
27
|
+
this._parentEntity = parentEntity;
|
|
28
|
+
parentEntity.addAlias(this);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
get aliasedEntity(): Type {
|
|
32
|
+
return this._aliasedEntity;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
set aliasedEntity(aliasedEntity: Type) {
|
|
36
|
+
this._aliasedEntity = aliasedEntity;
|
|
37
|
+
aliasedEntity.addTypeAlias(this);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { FamixJSONExporter } from "../../famix_JSON_exporter";
|
|
2
|
+
import { Type } from "./type";
|
|
3
|
+
import { ContainerEntity } from "./container_entity";
|
|
4
|
+
import { Parameter } from "./parameter";
|
|
5
|
+
import { Invocation } from "./invocation";
|
|
6
|
+
import { ParameterType } from "./parameter_type";
|
|
7
|
+
|
|
8
|
+
export class BehavioralEntity extends ContainerEntity {
|
|
9
|
+
|
|
10
|
+
private _signature!: string;
|
|
11
|
+
private _parameters: Set<Parameter> = new Set();
|
|
12
|
+
|
|
13
|
+
public addParameter(parameter: Parameter): void {
|
|
14
|
+
if (!this._parameters.has(parameter)) {
|
|
15
|
+
this._parameters.add(parameter);
|
|
16
|
+
parameter.parentEntity = this;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
private _numberOfParameters!: number;
|
|
21
|
+
private _incomingInvocations: Set<Invocation> = new Set();
|
|
22
|
+
|
|
23
|
+
public addIncomingInvocation(incomingInvocation: Invocation): void {
|
|
24
|
+
if (!this._incomingInvocations.has(incomingInvocation)) {
|
|
25
|
+
this._incomingInvocations.add(incomingInvocation);
|
|
26
|
+
incomingInvocation.addCandidate(this);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
private _declaredType!: Type;
|
|
31
|
+
private _genericParameters: Set<ParameterType> = new Set();
|
|
32
|
+
|
|
33
|
+
public addGenericParameter(genericParameter: ParameterType): void {
|
|
34
|
+
if (!this._genericParameters.has(genericParameter)) {
|
|
35
|
+
this._genericParameters.add(genericParameter);
|
|
36
|
+
genericParameter.parentGeneric = this;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
clearGenericParameters(): void {
|
|
41
|
+
this._genericParameters.clear();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
public getJSON(): string {
|
|
45
|
+
const json: FamixJSONExporter = new FamixJSONExporter("BehavioralEntity", this);
|
|
46
|
+
this.addPropertiesToExporter(json);
|
|
47
|
+
return json.getJSON();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public addPropertiesToExporter(exporter: FamixJSONExporter): void {
|
|
51
|
+
super.addPropertiesToExporter(exporter);
|
|
52
|
+
exporter.addProperty("signature", this.signature);
|
|
53
|
+
exporter.addProperty("parameters", this.parameters);
|
|
54
|
+
exporter.addProperty("numberOfParameters", this.numberOfParameters);
|
|
55
|
+
exporter.addProperty("incomingInvocations", this.incomingInvocations);
|
|
56
|
+
exporter.addProperty("declaredType", this.declaredType);
|
|
57
|
+
/* don't add the property here, since it doesn't apply to all subclasses */
|
|
58
|
+
// exporter.addProperty("genericParameters", this.getGenericParameters());
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
get signature(): string {
|
|
62
|
+
return this._signature;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
set signature(signature: string) {
|
|
66
|
+
this._signature = signature;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
get parameters(): Set<Parameter> {
|
|
70
|
+
return this._parameters;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
get numberOfParameters(): number {
|
|
74
|
+
return this._numberOfParameters;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
set numberOfParameters(numberOfParameters: number) {
|
|
78
|
+
this._numberOfParameters = numberOfParameters;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
get incomingInvocations(): Set<Invocation> {
|
|
82
|
+
return this._incomingInvocations;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
get declaredType(): Type {
|
|
86
|
+
return this._declaredType;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
set declaredType(declaredType: Type) {
|
|
90
|
+
this._declaredType = declaredType;
|
|
91
|
+
declaredType.addBehavioralEntityWithDeclaredType(this);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
get genericParameters(): Set<ParameterType> {
|
|
95
|
+
return this._genericParameters;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { FamixJSONExporter } from "../../famix_JSON_exporter";
|
|
2
|
+
import { Type } from "./type";
|
|
3
|
+
import { Method } from "./method";
|
|
4
|
+
import { Property } from "./property";
|
|
5
|
+
import { Inheritance } from "./inheritance";
|
|
6
|
+
|
|
7
|
+
export class Class extends Type {
|
|
8
|
+
|
|
9
|
+
private _isAbstract!: boolean;
|
|
10
|
+
private _properties: Set<Property> = new Set();
|
|
11
|
+
|
|
12
|
+
public addProperty(property: Property): void {
|
|
13
|
+
if (!this._properties.has(property)) {
|
|
14
|
+
this._properties.add(property);
|
|
15
|
+
property.parentEntity = this;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
private _methods: Set<Method> = new Set();
|
|
20
|
+
|
|
21
|
+
public addMethod(method: Method): void {
|
|
22
|
+
if (!this._methods.has(method)) {
|
|
23
|
+
this._methods.add(method);
|
|
24
|
+
method.parentEntity = this;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
private _superInheritances: Set<Inheritance> = new Set();
|
|
29
|
+
|
|
30
|
+
public addSuperInheritance(superInheritance: Inheritance): void {
|
|
31
|
+
if (!this._superInheritances.has(superInheritance)) {
|
|
32
|
+
this._superInheritances.add(superInheritance);
|
|
33
|
+
superInheritance.subclass = this;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
private _subInheritances: Set<Inheritance> = new Set();
|
|
38
|
+
|
|
39
|
+
public addSubInheritance(subInheritance: Inheritance): void {
|
|
40
|
+
if (!this._subInheritances.has(subInheritance)) {
|
|
41
|
+
this._subInheritances.add(subInheritance);
|
|
42
|
+
subInheritance.superclass = this;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
public getJSON(): string {
|
|
48
|
+
const json: FamixJSONExporter = new FamixJSONExporter("Class", this);
|
|
49
|
+
this.addPropertiesToExporter(json);
|
|
50
|
+
return json.getJSON();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public addPropertiesToExporter(exporter: FamixJSONExporter): void {
|
|
54
|
+
super.addPropertiesToExporter(exporter);
|
|
55
|
+
exporter.addProperty("isAbstract", this.isAbstract);
|
|
56
|
+
exporter.addProperty("attributes", this.properties); // Moose (10) codes them as attributes
|
|
57
|
+
exporter.addProperty("methods", this.methods);
|
|
58
|
+
exporter.addProperty("superInheritances", this.superInheritances);
|
|
59
|
+
exporter.addProperty("subInheritances", this.subInheritances);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
get isAbstract(): boolean {
|
|
63
|
+
return this._isAbstract;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
set isAbstract(isAbstract: boolean) {
|
|
67
|
+
this._isAbstract = isAbstract;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
get properties(): Set<Property> {
|
|
71
|
+
return this._properties;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
get methods(): Set<Method> {
|
|
75
|
+
return this._methods;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
get superInheritances(): Set<Inheritance> {
|
|
79
|
+
return this._superInheritances;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
get subInheritances(): Set<Inheritance> {
|
|
83
|
+
return this._subInheritances;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { FamixJSONExporter } from "../../famix_JSON_exporter";
|
|
2
|
+
import { SourcedEntity } from "./sourced_entity";
|
|
3
|
+
|
|
4
|
+
export class Comment extends SourcedEntity {
|
|
5
|
+
|
|
6
|
+
private _isJSDoc!: boolean;
|
|
7
|
+
private _container!: SourcedEntity;
|
|
8
|
+
private _content!: string;
|
|
9
|
+
|
|
10
|
+
public getJSON(): string {
|
|
11
|
+
const json: FamixJSONExporter = new FamixJSONExporter("Comment", this);
|
|
12
|
+
this.addPropertiesToExporter(json);
|
|
13
|
+
return json.getJSON();
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
public addPropertiesToExporter(exporter: FamixJSONExporter): void {
|
|
17
|
+
super.addPropertiesToExporter(exporter);
|
|
18
|
+
exporter.addProperty("isJSDoc", this.isJSDoc);
|
|
19
|
+
exporter.addProperty("commentedEntity", this.container);
|
|
20
|
+
exporter.addProperty("content", this.content);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
get isJSDoc(): boolean {
|
|
24
|
+
return this._isJSDoc;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
set isJSDoc(isJSDoc: boolean) {
|
|
28
|
+
this._isJSDoc = isJSDoc;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
get container(): SourcedEntity {
|
|
32
|
+
return this._container;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
set container(container: SourcedEntity) {
|
|
36
|
+
this._container = container;
|
|
37
|
+
container.addComment(this);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
get content(): string {
|
|
41
|
+
return this._content;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
set content(content: string) {
|
|
45
|
+
this._content = content;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { FamixJSONExporter } from "../../famix_JSON_exporter";
|
|
2
|
+
import { Entity } from "./entity";
|
|
3
|
+
import { ParametricClass } from "./parametric_class";
|
|
4
|
+
import { ParametricFunction } from "./parametric_function";
|
|
5
|
+
import { ParametricInterface } from "./parametric_interface";
|
|
6
|
+
import { ParametricMethod } from "./parametric_method";
|
|
7
|
+
|
|
8
|
+
export class Concretisation extends Entity {
|
|
9
|
+
|
|
10
|
+
private _genericEntity!: ParametricClass | ParametricInterface | ParametricFunction | ParametricMethod;
|
|
11
|
+
private _concreteEntity!: ParametricClass | ParametricInterface | ParametricFunction | ParametricMethod; // is this correct?
|
|
12
|
+
|
|
13
|
+
public getJSON(): string {
|
|
14
|
+
const json: FamixJSONExporter = new FamixJSONExporter("Concretisation", this);
|
|
15
|
+
this.addPropertiesToExporter(json);
|
|
16
|
+
return json.getJSON();
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
public addPropertiesToExporter(exporter: FamixJSONExporter): void {
|
|
20
|
+
super.addPropertiesToExporter(exporter);
|
|
21
|
+
exporter.addProperty("genericEntity", this.genericEntity);
|
|
22
|
+
exporter.addProperty("concreteEntity", this.concreteEntity);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
get genericEntity() {
|
|
26
|
+
return this._genericEntity;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
set genericEntity(genericEntity: ParametricClass | ParametricInterface | ParametricFunction | ParametricMethod) {
|
|
30
|
+
this._genericEntity = genericEntity;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
get concreteEntity() {
|
|
34
|
+
return this._concreteEntity;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
set concreteEntity(concreteEntity: ParametricClass | ParametricInterface | ParametricFunction | ParametricMethod) {
|
|
38
|
+
this._concreteEntity = concreteEntity;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { FamixJSONExporter } from "../../famix_JSON_exporter";
|
|
2
|
+
import { Type } from "./type";
|
|
3
|
+
import { Invocation } from "./invocation";
|
|
4
|
+
import { NamedEntity } from "./named_entity";
|
|
5
|
+
import { Reference } from "./reference";
|
|
6
|
+
import { Access } from "./access";
|
|
7
|
+
import { Function as FamixFunctionEntity } from "./function";
|
|
8
|
+
import { Variable } from "./variable";
|
|
9
|
+
|
|
10
|
+
export class ContainerEntity extends NamedEntity {
|
|
11
|
+
|
|
12
|
+
private _parentContainerEntity!: ContainerEntity;
|
|
13
|
+
private _childrenContainerEntities: Set<ContainerEntity> = new Set();
|
|
14
|
+
|
|
15
|
+
public addChildContainerEntity(childContainerEntity: ContainerEntity): void {
|
|
16
|
+
if (!this._childrenContainerEntities.has(childContainerEntity)) {
|
|
17
|
+
this._childrenContainerEntities.add(childContainerEntity);
|
|
18
|
+
childContainerEntity.parentContainerEntity = this;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
private _cyclomaticComplexity!: number;
|
|
23
|
+
private _numberOfStatements!: number;
|
|
24
|
+
private _outgoingReferences: Set<Reference> = new Set();
|
|
25
|
+
|
|
26
|
+
public addOutgoingReference(outgoingReference: Reference): void {
|
|
27
|
+
if (!this._outgoingReferences.has(outgoingReference)) {
|
|
28
|
+
this._outgoingReferences.add(outgoingReference);
|
|
29
|
+
outgoingReference.source = this;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
private _numberOfLinesOfCode!: number;
|
|
34
|
+
private _outgoingInvocations: Set<Invocation> = new Set();
|
|
35
|
+
|
|
36
|
+
public addOutgoingInvocation(outgoingInvocation: Invocation): void {
|
|
37
|
+
if (!this._outgoingInvocations.has(outgoingInvocation)) {
|
|
38
|
+
this._outgoingInvocations.add(outgoingInvocation);
|
|
39
|
+
outgoingInvocation.sender = this;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
private _accesses: Set<Access> = new Set();
|
|
44
|
+
|
|
45
|
+
public addAccess(access: Access): void {
|
|
46
|
+
if (!this._accesses.has(access)) {
|
|
47
|
+
this._accesses.add(access);
|
|
48
|
+
access.accessor = this;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
private childrenTypes: Set<Type> = new Set();
|
|
53
|
+
|
|
54
|
+
public addType(childType: Type): void {
|
|
55
|
+
if (!this.childrenTypes.has(childType)) {
|
|
56
|
+
this.childrenTypes.add(childType);
|
|
57
|
+
childType.parentContainerEntity = this;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
private childrenFunctions: Set<FamixFunctionEntity> = new Set();
|
|
62
|
+
|
|
63
|
+
public addFunction(childFunction: FamixFunctionEntity): void {
|
|
64
|
+
if (!this.childrenFunctions.has(childFunction)) {
|
|
65
|
+
this.childrenFunctions.add(childFunction);
|
|
66
|
+
childFunction.parentContainerEntity = this;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
private _variables: Set<Variable> = new Set();
|
|
71
|
+
|
|
72
|
+
public addVariable(variable: Variable): void {
|
|
73
|
+
if (!this._variables.has(variable)) {
|
|
74
|
+
this._variables.add(variable);
|
|
75
|
+
variable.parentContainerEntity = this;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
public getJSON(): string {
|
|
80
|
+
const json: FamixJSONExporter = new FamixJSONExporter("ContainerEntity", this);
|
|
81
|
+
this.addPropertiesToExporter(json);
|
|
82
|
+
return json.getJSON();
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
public addPropertiesToExporter(exporter: FamixJSONExporter): void {
|
|
86
|
+
super.addPropertiesToExporter(exporter);
|
|
87
|
+
// exporter.addProperty("parentBehaviouralEntity", this.getParentContainerEntity());
|
|
88
|
+
// exporter.addProperty("childrenContainerEntities", this.getChildrenContainerEntities());
|
|
89
|
+
exporter.addProperty("cyclomaticComplexity", this.cyclomaticComplexity);
|
|
90
|
+
exporter.addProperty("numberOfStatements", this.numberOfStatements);
|
|
91
|
+
// exporter.addProperty("outgoingReferences", this.getOutgoingReferences()); /* derived ?*/
|
|
92
|
+
exporter.addProperty("numberOfLinesOfCode", this.numberOfLinesOfCode);
|
|
93
|
+
// exporter.addProperty("outgoingInvocations", this.getOutgoingInvocations()); /* derived ?*/
|
|
94
|
+
// exporter.addProperty("accesses", this.getAccesses()); /* derived ?*/
|
|
95
|
+
exporter.addProperty("types", this.types);
|
|
96
|
+
exporter.addProperty("functions", this.functions);
|
|
97
|
+
exporter.addProperty("localVariables", this.variables);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
get parentContainerEntity() {
|
|
101
|
+
return this._parentContainerEntity;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
set parentContainerEntity(parentContainerEntity: ContainerEntity) {
|
|
105
|
+
this._parentContainerEntity = parentContainerEntity;
|
|
106
|
+
parentContainerEntity.addChildContainerEntity(this);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
get childrenContainerEntities(): Set<ContainerEntity> {
|
|
110
|
+
return this._childrenContainerEntities;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
get cyclomaticComplexity(): number {
|
|
114
|
+
return this._cyclomaticComplexity;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
set cyclomaticComplexity(cyclomaticComplexity: number) {
|
|
118
|
+
this._cyclomaticComplexity = cyclomaticComplexity;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
get numberOfStatements(): number {
|
|
122
|
+
return this._numberOfStatements;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
set numberOfStatements(numberOfStatements: number) {
|
|
126
|
+
this._numberOfStatements = numberOfStatements;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
get outgoingReferences() {
|
|
130
|
+
return this._outgoingReferences;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
get numberOfLinesOfCode(): number {
|
|
134
|
+
return this._numberOfLinesOfCode;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
set numberOfLinesOfCode(numberOfLinesOfCode: number) {
|
|
138
|
+
this._numberOfLinesOfCode = numberOfLinesOfCode;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
get outgoingInvocations() {
|
|
142
|
+
return this._outgoingInvocations;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
get accesses() {
|
|
146
|
+
return this._accesses;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
get types() {
|
|
150
|
+
return this.childrenTypes;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
get functions() {
|
|
154
|
+
return this.childrenFunctions;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
get variables() {
|
|
158
|
+
return this._variables;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { FamixJSONExporter } from "../../famix_JSON_exporter";
|
|
2
|
+
import { NamedEntity } from "./named_entity";
|
|
3
|
+
|
|
4
|
+
export class Decorator extends NamedEntity {
|
|
5
|
+
|
|
6
|
+
private _decoratorExpression!: string;
|
|
7
|
+
private _decoratedEntity!: NamedEntity;
|
|
8
|
+
|
|
9
|
+
public getJSON(): string {
|
|
10
|
+
const json: FamixJSONExporter = new FamixJSONExporter("Decorator", this);
|
|
11
|
+
this.addPropertiesToExporter(json);
|
|
12
|
+
return json.getJSON();
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
public addPropertiesToExporter(exporter: FamixJSONExporter): void {
|
|
16
|
+
super.addPropertiesToExporter(exporter);
|
|
17
|
+
exporter.addProperty("expression", this.decoratorExpression);
|
|
18
|
+
exporter.addProperty("decoratedEntity", this.decoratedEntity);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
get decoratorExpression(): string {
|
|
22
|
+
return this._decoratorExpression;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
set decoratorExpression(decoratorExpression: string) {
|
|
26
|
+
this._decoratorExpression = decoratorExpression;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
get decoratedEntity(): NamedEntity {
|
|
30
|
+
return this._decoratedEntity;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
set decoratedEntity(decoratedEntity: NamedEntity) {
|
|
34
|
+
this._decoratedEntity = decoratedEntity;
|
|
35
|
+
decoratedEntity.addDecorator(this);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FamixJSONExporter } from "../../famix_JSON_exporter";
|
|
2
|
+
import { Type } from "./type";
|
|
3
|
+
import { EnumValue } from "./enum_value";
|
|
4
|
+
|
|
5
|
+
export class Enum extends Type {
|
|
6
|
+
|
|
7
|
+
private _values: Set<EnumValue> = new Set();
|
|
8
|
+
|
|
9
|
+
public addValue(value: EnumValue): void {
|
|
10
|
+
if (!this._values.has(value)) {
|
|
11
|
+
this._values.add(value);
|
|
12
|
+
value.parentEntity = this;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
public getJSON(): string {
|
|
17
|
+
const json: FamixJSONExporter = new FamixJSONExporter("Enum", this);
|
|
18
|
+
this.addPropertiesToExporter(json);
|
|
19
|
+
return json.getJSON();
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
public addPropertiesToExporter(exporter: FamixJSONExporter): void {
|
|
23
|
+
super.addPropertiesToExporter(exporter);
|
|
24
|
+
exporter.addProperty("enumValues", this.values);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
get values() {
|
|
28
|
+
return this._values;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { FamixJSONExporter } from "../../famix_JSON_exporter";
|
|
2
|
+
import { StructuralEntity } from "./structural_entity";
|
|
3
|
+
import { Enum } from "./enum";
|
|
4
|
+
|
|
5
|
+
export class EnumValue extends StructuralEntity {
|
|
6
|
+
|
|
7
|
+
private _parentEntity!: Enum;
|
|
8
|
+
|
|
9
|
+
public getJSON(): string {
|
|
10
|
+
const json: FamixJSONExporter = new FamixJSONExporter("EnumValue", this);
|
|
11
|
+
this.addPropertiesToExporter(json);
|
|
12
|
+
return json.getJSON();
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
public addPropertiesToExporter(exporter: FamixJSONExporter): void {
|
|
16
|
+
super.addPropertiesToExporter(exporter);
|
|
17
|
+
exporter.addProperty("parentEnum", this.parentEntity);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
get parentEntity(): Enum {
|
|
21
|
+
return this._parentEntity;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
set parentEntity(parentEntity: Enum) {
|
|
25
|
+
this._parentEntity = parentEntity;
|
|
26
|
+
parentEntity.addValue(this);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { FamixJSONExporter } from "../../famix_JSON_exporter";
|
|
2
|
+
import { Entity } from "./entity";
|
|
3
|
+
import { Module } from "./module";
|
|
4
|
+
import { NamedEntity } from "./named_entity";
|
|
5
|
+
|
|
6
|
+
export class ImportClause extends Entity {
|
|
7
|
+
|
|
8
|
+
private _importingEntity!: Module;
|
|
9
|
+
private _importedEntity!: NamedEntity;
|
|
10
|
+
private _moduleSpecifier!: string;
|
|
11
|
+
|
|
12
|
+
public getJSON(): string {
|
|
13
|
+
const json: FamixJSONExporter = new FamixJSONExporter("ImportClause", this);
|
|
14
|
+
this.addPropertiesToExporter(json);
|
|
15
|
+
return json.getJSON();
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
public addPropertiesToExporter(exporter: FamixJSONExporter): void {
|
|
19
|
+
super.addPropertiesToExporter(exporter);
|
|
20
|
+
exporter.addProperty("importingEntity", this.importingEntity);
|
|
21
|
+
exporter.addProperty("importedEntity", this.importedEntity);
|
|
22
|
+
// unknown property below
|
|
23
|
+
// exporter.addProperty("moduleSpecifier", this.getModuleSpecifier());
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
get importingEntity(): Module {
|
|
27
|
+
return this._importingEntity;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
set importingEntity(importer: Module) {
|
|
31
|
+
this._importingEntity = importer;
|
|
32
|
+
importer.addOutgoingImport(this); // opposite
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
get importedEntity(): NamedEntity {
|
|
36
|
+
return this._importedEntity;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
set importedEntity(importedEntity: NamedEntity) {
|
|
40
|
+
this._importedEntity = importedEntity;
|
|
41
|
+
importedEntity.addIncomingImport(this); // incomingImports in Famix TImportable/TImport
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
get moduleSpecifier(): string {
|
|
45
|
+
return this._moduleSpecifier;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
set moduleSpecifier(moduleSpecifier: string) {
|
|
49
|
+
this._moduleSpecifier = moduleSpecifier;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -12,7 +12,6 @@ export { EnumValue } from "./enum_value";
|
|
|
12
12
|
export { Enum } from "./enum";
|
|
13
13
|
export { Property } from "./property";
|
|
14
14
|
export { Function } from "./function";
|
|
15
|
-
export { ImplicitVariable } from "./implicit_variable";
|
|
16
15
|
export { ImportClause } from "./import_clause";
|
|
17
16
|
export { IndexedFileAnchor } from "./indexed_file_anchor";
|
|
18
17
|
export { Inheritance } from "./inheritance";
|
|
@@ -33,11 +32,10 @@ export { SourceAnchor } from "./source_anchor";
|
|
|
33
32
|
export { SourceLanguage } from "./source_language";
|
|
34
33
|
export { SourcedEntity } from "./sourced_entity";
|
|
35
34
|
export { StructuralEntity } from "./structural_entity";
|
|
36
|
-
export { TextAnchor } from "./text_anchor";
|
|
37
35
|
export { Type } from "./type";
|
|
38
36
|
export { Variable } from "./variable";
|
|
39
37
|
export { ParametricFunction } from "./parametric_function";
|
|
40
38
|
export { ParametricMethod } from "./parametric_method";
|
|
41
|
-
export { ArrowFunction } from "./
|
|
39
|
+
export { ArrowFunction } from "./arrow_function";
|
|
42
40
|
export { ParametricArrowFunction } from "./parametric_arrow_function";
|
|
43
|
-
export { ParameterConcretisation } from "./
|
|
41
|
+
export { ParameterConcretisation } from "./parameter_concretisation";
|