ts2famix 1.0.12 → 1.0.14
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 +23 -23
- package/README.md +109 -109
- package/dist/analyze.js +107 -0
- package/dist/analyze_functions/processAccesses.js +55 -0
- package/dist/analyze_functions/processFiles.js +554 -0
- package/dist/analyze_functions/processImportClauses.js +70 -0
- package/dist/analyze_functions/processInheritances.js +73 -0
- package/dist/analyze_functions/processInvocations.js +49 -0
- package/dist/famix2puml.js +125 -0
- package/dist/famix_functions/famix_functions.js +520 -0
- package/dist/famix_functions/famix_functions_associations.js +213 -0
- package/dist/famix_functions/famix_functions_index.js +62 -0
- package/dist/famix_functions/famix_functions_types.js +114 -0
- package/dist/fqn.js +126 -0
- package/dist/lib/famix/src/famix_JSON_exporter.js +54 -0
- package/dist/lib/famix/src/famix_base_element.js +13 -0
- package/dist/lib/famix/src/famix_repository.js +187 -0
- package/dist/lib/famix/src/index.js +30 -0
- package/dist/lib/famix/src/model/famix/access.js +39 -0
- package/dist/lib/famix/src/model/famix/accessor.js +16 -0
- package/dist/lib/famix/src/model/famix/alias.js +32 -0
- package/dist/lib/famix/src/model/famix/association.js +36 -0
- package/dist/lib/famix/src/model/famix/behavioral_entity.js +81 -0
- package/dist/lib/famix/src/model/famix/c_source_language.js +16 -0
- package/dist/lib/famix/src/model/famix/class.js +70 -0
- package/dist/lib/famix/src/model/famix/comment.js +38 -0
- package/dist/lib/famix/src/model/famix/container_entity.js +125 -0
- package/dist/lib/famix/src/model/famix/custom_source_language.js +23 -0
- package/dist/lib/famix/src/model/famix/decorator.js +31 -0
- package/dist/lib/famix/src/model/famix/entity.js +16 -0
- package/dist/lib/famix/src/model/famix/enum.js +30 -0
- package/dist/lib/famix/src/model/famix/enum_value.js +24 -0
- package/dist/lib/famix/src/model/famix/function.js +16 -0
- package/dist/lib/famix/src/model/famix/implicit_variable.js +16 -0
- package/dist/lib/famix/src/model/famix/import_clause.js +39 -0
- package/dist/lib/famix/src/model/famix/index.js +87 -0
- package/dist/lib/famix/src/model/famix/indexed_file_anchor.js +37 -0
- package/dist/lib/famix/src/model/famix/inheritance.js +32 -0
- package/dist/lib/famix/src/model/famix/interface.js +63 -0
- package/dist/lib/famix/src/model/famix/invocation.js +53 -0
- package/dist/lib/famix/src/model/famix/method.js +66 -0
- package/dist/lib/famix/src/model/famix/module.js +30 -0
- package/dist/lib/famix/src/model/famix/named_entity.js +77 -0
- package/dist/lib/famix/src/model/famix/namespace.js +24 -0
- package/dist/lib/famix/src/model/famix/parameter.js +24 -0
- package/dist/lib/famix/src/model/famix/parameterizable_class.js +30 -0
- package/dist/lib/famix/src/model/famix/parameterizable_interface.js +30 -0
- package/dist/lib/famix/src/model/famix/parameterized_type.js +36 -0
- package/dist/lib/famix/src/model/famix/primitive_type.js +16 -0
- package/dist/lib/famix/src/model/famix/property.js +44 -0
- package/dist/lib/famix/src/model/famix/reference.js +32 -0
- package/dist/lib/famix/src/model/famix/scoping_entity.js +30 -0
- package/dist/lib/famix/src/model/famix/script_entity.js +30 -0
- package/dist/lib/famix/src/model/famix/source_anchor.js +26 -0
- package/dist/lib/famix/src/model/famix/source_language.js +30 -0
- package/dist/lib/famix/src/model/famix/sourced_entity.js +55 -0
- package/dist/lib/famix/src/model/famix/structural_entity.js +38 -0
- package/dist/lib/famix/src/model/famix/text_anchor.js +37 -0
- package/dist/lib/famix/src/model/famix/type.js +71 -0
- package/dist/lib/famix/src/model/famix/type_parameter.js +24 -0
- package/dist/lib/famix/src/model/famix/variable.js +23 -0
- package/dist/lib/ts-complex/cyclomatic-service.js +83 -0
- package/dist/ts2famix-cli.js +63 -0
- package/dist/ts2famix-tsconfig.js +53 -0
- package/jest.config-old.ts +199 -199
- package/package.json +47 -47
- package/src/analyze.ts +94 -94
- package/src/analyze_functions/processAccesses.ts +57 -57
- package/src/analyze_functions/processFiles.ts +669 -669
- package/src/analyze_functions/processImportClauses.ts +77 -77
- package/src/analyze_functions/processInheritances.ts +84 -84
- package/src/analyze_functions/processInvocations.ts +51 -51
- package/src/famix2puml.ts +119 -119
- package/src/famix_functions/famix_functions.ts +559 -559
- package/src/famix_functions/famix_functions_associations.ts +215 -215
- package/src/famix_functions/famix_functions_index.ts +44 -44
- package/src/famix_functions/famix_functions_types.ts +105 -105
- package/src/generate_uml.sh +16 -16
- package/src/lib/famix/License.md +22 -22
- package/src/lib/famix/package-lock.json +301 -301
- package/src/lib/famix/package.json +27 -27
- package/src/lib/famix/readme.md +4 -4
- package/src/lib/famix/src/famix_JSON_exporter.ts +56 -56
- package/src/lib/famix/src/famix_base_element.ts +18 -18
- package/src/lib/famix/src/famix_repository.ts +199 -199
- package/src/lib/famix/src/index.ts +8 -8
- package/src/lib/famix/src/model/famix/access.ts +53 -53
- package/src/lib/famix/src/model/famix/accessor.ts +15 -15
- package/src/lib/famix/src/model/famix/alias.ts +41 -41
- package/src/lib/famix/src/model/famix/association.ts +44 -44
- package/src/lib/famix/src/model/famix/behavioral_entity.ts +107 -107
- package/src/lib/famix/src/model/famix/c_source_language.ts +15 -15
- package/src/lib/famix/src/model/famix/class.ts +86 -86
- package/src/lib/famix/src/model/famix/comment.ts +50 -50
- package/src/lib/famix/src/model/famix/container_entity.ts +165 -165
- package/src/lib/famix/src/model/famix/custom_source_language.ts +27 -27
- package/src/lib/famix/src/model/famix/decorator.ts +39 -39
- package/src/lib/famix/src/model/famix/entity.ts +15 -15
- package/src/lib/famix/src/model/famix/enum.ts +31 -31
- package/src/lib/famix/src/model/famix/enum_value.ts +29 -29
- package/src/lib/famix/src/model/famix/function.ts +15 -15
- package/src/lib/famix/src/model/famix/implicit_variable.ts +15 -15
- package/src/lib/famix/src/model/famix/import_clause.ts +53 -53
- package/src/lib/famix/src/model/famix/index.ts +42 -42
- package/src/lib/famix/src/model/famix/indexed_file_anchor.ts +49 -49
- package/src/lib/famix/src/model/famix/inheritance.ts +42 -42
- package/src/lib/famix/src/model/famix/interface.ts +75 -75
- package/src/lib/famix/src/model/famix/invocation.ts +68 -68
- package/src/lib/famix/src/model/famix/method.ts +96 -96
- package/src/lib/famix/src/model/famix/module.ts +31 -31
- package/src/lib/famix/src/model/famix/named_entity.ts +98 -98
- package/src/lib/famix/src/model/famix/namespace.ts +28 -28
- package/src/lib/famix/src/model/famix/parameter.ts +29 -29
- package/src/lib/famix/src/model/famix/parameterizable_class.ts +31 -31
- package/src/lib/famix/src/model/famix/parameterizable_interface.ts +31 -31
- package/src/lib/famix/src/model/famix/parameterized_type.ts +40 -40
- package/src/lib/famix/src/model/famix/primitive_type.ts +15 -15
- package/src/lib/famix/src/model/famix/property.ts +54 -54
- package/src/lib/famix/src/model/famix/reference.ts +42 -42
- package/src/lib/famix/src/model/famix/scoping_entity.ts +31 -31
- package/src/lib/famix/src/model/famix/script_entity.ts +38 -38
- package/src/lib/famix/src/model/famix/source_anchor.ts +31 -31
- package/src/lib/famix/src/model/famix/source_language.ts +31 -31
- package/src/lib/famix/src/model/famix/sourced_entity.ts +70 -70
- package/src/lib/famix/src/model/famix/structural_entity.ts +44 -44
- package/src/lib/famix/src/model/famix/text_anchor.ts +49 -49
- package/src/lib/famix/src/model/famix/type.ts +88 -88
- package/src/lib/famix/src/model/famix/type_parameter.ts +33 -33
- package/src/lib/famix/src/model/famix/variable.ts +28 -28
- package/src/lib/famix/tsconfig.json +26 -26
- package/src/lib/famix/tslint.json +14 -14
- package/src/lib/ts-complex/cyclomatic-service.ts +85 -85
- package/src/ts2famix-cli.ts +39 -39
- package/tsconfig.json +69 -69
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CustomSourceLanguage = void 0;
|
|
4
|
+
const famix_JSON_exporter_1 = require("../../famix_JSON_exporter");
|
|
5
|
+
const source_language_1 = require("./source_language");
|
|
6
|
+
class CustomSourceLanguage extends source_language_1.SourceLanguage {
|
|
7
|
+
getLanguageName() {
|
|
8
|
+
return this.languageName;
|
|
9
|
+
}
|
|
10
|
+
setLanguageName(languageName) {
|
|
11
|
+
this.languageName = languageName;
|
|
12
|
+
}
|
|
13
|
+
getJSON() {
|
|
14
|
+
const mse = new famix_JSON_exporter_1.FamixJSONExporter("CustomSourceLanguage", this);
|
|
15
|
+
this.addPropertiesToExporter(mse);
|
|
16
|
+
return mse.getJSON();
|
|
17
|
+
}
|
|
18
|
+
addPropertiesToExporter(exporter) {
|
|
19
|
+
super.addPropertiesToExporter(exporter);
|
|
20
|
+
exporter.addProperty("languageName", this.getLanguageName());
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.CustomSourceLanguage = CustomSourceLanguage;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Decorator = void 0;
|
|
4
|
+
const famix_JSON_exporter_1 = require("../../famix_JSON_exporter");
|
|
5
|
+
const named_entity_1 = require("./named_entity");
|
|
6
|
+
class Decorator extends named_entity_1.NamedEntity {
|
|
7
|
+
getDecoratorExpression() {
|
|
8
|
+
return this.decoratorExpression;
|
|
9
|
+
}
|
|
10
|
+
setDecoratorExpression(decoratorExpression) {
|
|
11
|
+
this.decoratorExpression = decoratorExpression;
|
|
12
|
+
}
|
|
13
|
+
getDecoratedEntity() {
|
|
14
|
+
return this.decoratedEntity;
|
|
15
|
+
}
|
|
16
|
+
setDecoratedEntity(decoratedEntity) {
|
|
17
|
+
this.decoratedEntity = decoratedEntity;
|
|
18
|
+
decoratedEntity.addDecorator(this);
|
|
19
|
+
}
|
|
20
|
+
getJSON() {
|
|
21
|
+
const mse = new famix_JSON_exporter_1.FamixJSONExporter("Decorator", this);
|
|
22
|
+
this.addPropertiesToExporter(mse);
|
|
23
|
+
return mse.getJSON();
|
|
24
|
+
}
|
|
25
|
+
addPropertiesToExporter(exporter) {
|
|
26
|
+
super.addPropertiesToExporter(exporter);
|
|
27
|
+
exporter.addProperty("decoratorExpression", this.getDecoratorExpression());
|
|
28
|
+
exporter.addProperty("decoratedEntity", this.getDecoratedEntity());
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.Decorator = Decorator;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Entity = void 0;
|
|
4
|
+
const famix_JSON_exporter_1 = require("../../famix_JSON_exporter");
|
|
5
|
+
const famix_base_element_1 = require("../../famix_base_element");
|
|
6
|
+
class Entity extends famix_base_element_1.FamixBaseElement {
|
|
7
|
+
getJSON() {
|
|
8
|
+
const mse = new famix_JSON_exporter_1.FamixJSONExporter("Entity", this);
|
|
9
|
+
this.addPropertiesToExporter(mse);
|
|
10
|
+
return mse.getJSON();
|
|
11
|
+
}
|
|
12
|
+
addPropertiesToExporter(exporter) {
|
|
13
|
+
super.addPropertiesToExporter(exporter);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.Entity = Entity;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Enum = void 0;
|
|
4
|
+
const famix_JSON_exporter_1 = require("../../famix_JSON_exporter");
|
|
5
|
+
const type_1 = require("./type");
|
|
6
|
+
class Enum extends type_1.Type {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.values = new Set();
|
|
10
|
+
}
|
|
11
|
+
getValues() {
|
|
12
|
+
return this.values;
|
|
13
|
+
}
|
|
14
|
+
addValue(value) {
|
|
15
|
+
if (!this.values.has(value)) {
|
|
16
|
+
this.values.add(value);
|
|
17
|
+
value.setParentEntity(this);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
getJSON() {
|
|
21
|
+
const mse = new famix_JSON_exporter_1.FamixJSONExporter("Enum", this);
|
|
22
|
+
this.addPropertiesToExporter(mse);
|
|
23
|
+
return mse.getJSON();
|
|
24
|
+
}
|
|
25
|
+
addPropertiesToExporter(exporter) {
|
|
26
|
+
super.addPropertiesToExporter(exporter);
|
|
27
|
+
exporter.addProperty("values", this.getValues());
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.Enum = Enum;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EnumValue = void 0;
|
|
4
|
+
const famix_JSON_exporter_1 = require("../../famix_JSON_exporter");
|
|
5
|
+
const structural_entity_1 = require("./structural_entity");
|
|
6
|
+
class EnumValue extends structural_entity_1.StructuralEntity {
|
|
7
|
+
getParentEntity() {
|
|
8
|
+
return this.parentEntity;
|
|
9
|
+
}
|
|
10
|
+
setParentEntity(parentEntity) {
|
|
11
|
+
this.parentEntity = parentEntity;
|
|
12
|
+
parentEntity.addValue(this);
|
|
13
|
+
}
|
|
14
|
+
getJSON() {
|
|
15
|
+
const mse = new famix_JSON_exporter_1.FamixJSONExporter("EnumValue", this);
|
|
16
|
+
this.addPropertiesToExporter(mse);
|
|
17
|
+
return mse.getJSON();
|
|
18
|
+
}
|
|
19
|
+
addPropertiesToExporter(exporter) {
|
|
20
|
+
super.addPropertiesToExporter(exporter);
|
|
21
|
+
exporter.addProperty("parentEntity", this.getParentEntity());
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.EnumValue = EnumValue;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Function = void 0;
|
|
4
|
+
const famix_JSON_exporter_1 = require("../../famix_JSON_exporter");
|
|
5
|
+
const behavioral_entity_1 = require("./behavioral_entity");
|
|
6
|
+
class Function extends behavioral_entity_1.BehavioralEntity {
|
|
7
|
+
getJSON() {
|
|
8
|
+
const mse = new famix_JSON_exporter_1.FamixJSONExporter("Function", this);
|
|
9
|
+
this.addPropertiesToExporter(mse);
|
|
10
|
+
return mse.getJSON();
|
|
11
|
+
}
|
|
12
|
+
addPropertiesToExporter(exporter) {
|
|
13
|
+
super.addPropertiesToExporter(exporter);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.Function = Function;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ImplicitVariable = void 0;
|
|
4
|
+
const famix_JSON_exporter_1 = require("../../famix_JSON_exporter");
|
|
5
|
+
const variable_1 = require("./variable");
|
|
6
|
+
class ImplicitVariable extends variable_1.Variable {
|
|
7
|
+
getJSON() {
|
|
8
|
+
const mse = new famix_JSON_exporter_1.FamixJSONExporter("ImplicitVariable", this);
|
|
9
|
+
this.addPropertiesToExporter(mse);
|
|
10
|
+
return mse.getJSON();
|
|
11
|
+
}
|
|
12
|
+
addPropertiesToExporter(exporter) {
|
|
13
|
+
super.addPropertiesToExporter(exporter);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.ImplicitVariable = ImplicitVariable;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ImportClause = void 0;
|
|
4
|
+
const famix_JSON_exporter_1 = require("../../famix_JSON_exporter");
|
|
5
|
+
const association_1 = require("./association");
|
|
6
|
+
class ImportClause extends association_1.Association {
|
|
7
|
+
getImporter() {
|
|
8
|
+
return this.importer;
|
|
9
|
+
}
|
|
10
|
+
setImporter(importer) {
|
|
11
|
+
this.importer = importer;
|
|
12
|
+
importer.addImportClause(this);
|
|
13
|
+
}
|
|
14
|
+
getImportedEntity() {
|
|
15
|
+
return this.importedEntity;
|
|
16
|
+
}
|
|
17
|
+
setImportedEntity(importedEntity) {
|
|
18
|
+
this.importedEntity = importedEntity;
|
|
19
|
+
importedEntity.addImport(this);
|
|
20
|
+
}
|
|
21
|
+
getModuleSpecifier() {
|
|
22
|
+
return this.moduleSpecifier;
|
|
23
|
+
}
|
|
24
|
+
setModuleSpecifier(moduleSpecifier) {
|
|
25
|
+
this.moduleSpecifier = moduleSpecifier;
|
|
26
|
+
}
|
|
27
|
+
getJSON() {
|
|
28
|
+
const mse = new famix_JSON_exporter_1.FamixJSONExporter("ImportClause", this);
|
|
29
|
+
this.addPropertiesToExporter(mse);
|
|
30
|
+
return mse.getJSON();
|
|
31
|
+
}
|
|
32
|
+
addPropertiesToExporter(exporter) {
|
|
33
|
+
super.addPropertiesToExporter(exporter);
|
|
34
|
+
exporter.addProperty("importer", this.getImporter());
|
|
35
|
+
exporter.addProperty("importedEntity", this.getImportedEntity());
|
|
36
|
+
exporter.addProperty("moduleSpecifier", this.getModuleSpecifier());
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.ImportClause = ImportClause;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Variable = exports.Type = exports.TextAnchor = exports.StructuralEntity = exports.SourcedEntity = exports.SourceLanguage = exports.SourceAnchor = exports.ScriptEntity = exports.ScopingEntity = exports.Reference = exports.PrimitiveType = exports.ParameterizedType = exports.ParameterizableInterface = exports.ParameterizableClass = exports.Parameter = exports.TypeParameter = exports.Namespace = exports.NamedEntity = exports.Module = exports.Method = exports.Invocation = exports.Interface = exports.Inheritance = exports.IndexedFileAnchor = exports.ImportClause = exports.ImplicitVariable = exports.Function = exports.Property = exports.Enum = exports.EnumValue = exports.Entity = exports.Decorator = exports.CustomSourceLanguage = exports.ContainerEntity = exports.Comment = exports.Class = exports.CSourceLanguage = exports.BehavioralEntity = exports.Association = exports.Alias = exports.Accessor = exports.Access = void 0;
|
|
4
|
+
var access_1 = require("./access");
|
|
5
|
+
Object.defineProperty(exports, "Access", { enumerable: true, get: function () { return access_1.Access; } });
|
|
6
|
+
var accessor_1 = require("./accessor");
|
|
7
|
+
Object.defineProperty(exports, "Accessor", { enumerable: true, get: function () { return accessor_1.Accessor; } });
|
|
8
|
+
var alias_1 = require("./alias");
|
|
9
|
+
Object.defineProperty(exports, "Alias", { enumerable: true, get: function () { return alias_1.Alias; } });
|
|
10
|
+
var association_1 = require("./association");
|
|
11
|
+
Object.defineProperty(exports, "Association", { enumerable: true, get: function () { return association_1.Association; } });
|
|
12
|
+
var behavioral_entity_1 = require("./behavioral_entity");
|
|
13
|
+
Object.defineProperty(exports, "BehavioralEntity", { enumerable: true, get: function () { return behavioral_entity_1.BehavioralEntity; } });
|
|
14
|
+
var c_source_language_1 = require("./c_source_language");
|
|
15
|
+
Object.defineProperty(exports, "CSourceLanguage", { enumerable: true, get: function () { return c_source_language_1.CSourceLanguage; } });
|
|
16
|
+
var class_1 = require("./class");
|
|
17
|
+
Object.defineProperty(exports, "Class", { enumerable: true, get: function () { return class_1.Class; } });
|
|
18
|
+
var comment_1 = require("./comment");
|
|
19
|
+
Object.defineProperty(exports, "Comment", { enumerable: true, get: function () { return comment_1.Comment; } });
|
|
20
|
+
var container_entity_1 = require("./container_entity");
|
|
21
|
+
Object.defineProperty(exports, "ContainerEntity", { enumerable: true, get: function () { return container_entity_1.ContainerEntity; } });
|
|
22
|
+
var custom_source_language_1 = require("./custom_source_language");
|
|
23
|
+
Object.defineProperty(exports, "CustomSourceLanguage", { enumerable: true, get: function () { return custom_source_language_1.CustomSourceLanguage; } });
|
|
24
|
+
var decorator_1 = require("./decorator");
|
|
25
|
+
Object.defineProperty(exports, "Decorator", { enumerable: true, get: function () { return decorator_1.Decorator; } });
|
|
26
|
+
var entity_1 = require("./entity");
|
|
27
|
+
Object.defineProperty(exports, "Entity", { enumerable: true, get: function () { return entity_1.Entity; } });
|
|
28
|
+
var enum_value_1 = require("./enum_value");
|
|
29
|
+
Object.defineProperty(exports, "EnumValue", { enumerable: true, get: function () { return enum_value_1.EnumValue; } });
|
|
30
|
+
var enum_1 = require("./enum");
|
|
31
|
+
Object.defineProperty(exports, "Enum", { enumerable: true, get: function () { return enum_1.Enum; } });
|
|
32
|
+
var property_1 = require("./property");
|
|
33
|
+
Object.defineProperty(exports, "Property", { enumerable: true, get: function () { return property_1.Property; } });
|
|
34
|
+
var function_1 = require("./function");
|
|
35
|
+
Object.defineProperty(exports, "Function", { enumerable: true, get: function () { return function_1.Function; } });
|
|
36
|
+
var implicit_variable_1 = require("./implicit_variable");
|
|
37
|
+
Object.defineProperty(exports, "ImplicitVariable", { enumerable: true, get: function () { return implicit_variable_1.ImplicitVariable; } });
|
|
38
|
+
var import_clause_1 = require("./import_clause");
|
|
39
|
+
Object.defineProperty(exports, "ImportClause", { enumerable: true, get: function () { return import_clause_1.ImportClause; } });
|
|
40
|
+
var indexed_file_anchor_1 = require("./indexed_file_anchor");
|
|
41
|
+
Object.defineProperty(exports, "IndexedFileAnchor", { enumerable: true, get: function () { return indexed_file_anchor_1.IndexedFileAnchor; } });
|
|
42
|
+
var inheritance_1 = require("./inheritance");
|
|
43
|
+
Object.defineProperty(exports, "Inheritance", { enumerable: true, get: function () { return inheritance_1.Inheritance; } });
|
|
44
|
+
var interface_1 = require("./interface");
|
|
45
|
+
Object.defineProperty(exports, "Interface", { enumerable: true, get: function () { return interface_1.Interface; } });
|
|
46
|
+
var invocation_1 = require("./invocation");
|
|
47
|
+
Object.defineProperty(exports, "Invocation", { enumerable: true, get: function () { return invocation_1.Invocation; } });
|
|
48
|
+
var method_1 = require("./method");
|
|
49
|
+
Object.defineProperty(exports, "Method", { enumerable: true, get: function () { return method_1.Method; } });
|
|
50
|
+
var module_1 = require("./module");
|
|
51
|
+
Object.defineProperty(exports, "Module", { enumerable: true, get: function () { return module_1.Module; } });
|
|
52
|
+
var named_entity_1 = require("./named_entity");
|
|
53
|
+
Object.defineProperty(exports, "NamedEntity", { enumerable: true, get: function () { return named_entity_1.NamedEntity; } });
|
|
54
|
+
var namespace_1 = require("./namespace");
|
|
55
|
+
Object.defineProperty(exports, "Namespace", { enumerable: true, get: function () { return namespace_1.Namespace; } });
|
|
56
|
+
var type_parameter_1 = require("./type_parameter");
|
|
57
|
+
Object.defineProperty(exports, "TypeParameter", { enumerable: true, get: function () { return type_parameter_1.TypeParameter; } });
|
|
58
|
+
var parameter_1 = require("./parameter");
|
|
59
|
+
Object.defineProperty(exports, "Parameter", { enumerable: true, get: function () { return parameter_1.Parameter; } });
|
|
60
|
+
var parameterizable_class_1 = require("./parameterizable_class");
|
|
61
|
+
Object.defineProperty(exports, "ParameterizableClass", { enumerable: true, get: function () { return parameterizable_class_1.ParameterizableClass; } });
|
|
62
|
+
var parameterizable_interface_1 = require("./parameterizable_interface");
|
|
63
|
+
Object.defineProperty(exports, "ParameterizableInterface", { enumerable: true, get: function () { return parameterizable_interface_1.ParameterizableInterface; } });
|
|
64
|
+
var parameterized_type_1 = require("./parameterized_type");
|
|
65
|
+
Object.defineProperty(exports, "ParameterizedType", { enumerable: true, get: function () { return parameterized_type_1.ParameterizedType; } });
|
|
66
|
+
var primitive_type_1 = require("./primitive_type");
|
|
67
|
+
Object.defineProperty(exports, "PrimitiveType", { enumerable: true, get: function () { return primitive_type_1.PrimitiveType; } });
|
|
68
|
+
var reference_1 = require("./reference");
|
|
69
|
+
Object.defineProperty(exports, "Reference", { enumerable: true, get: function () { return reference_1.Reference; } });
|
|
70
|
+
var scoping_entity_1 = require("./scoping_entity");
|
|
71
|
+
Object.defineProperty(exports, "ScopingEntity", { enumerable: true, get: function () { return scoping_entity_1.ScopingEntity; } });
|
|
72
|
+
var script_entity_1 = require("./script_entity");
|
|
73
|
+
Object.defineProperty(exports, "ScriptEntity", { enumerable: true, get: function () { return script_entity_1.ScriptEntity; } });
|
|
74
|
+
var source_anchor_1 = require("./source_anchor");
|
|
75
|
+
Object.defineProperty(exports, "SourceAnchor", { enumerable: true, get: function () { return source_anchor_1.SourceAnchor; } });
|
|
76
|
+
var source_language_1 = require("./source_language");
|
|
77
|
+
Object.defineProperty(exports, "SourceLanguage", { enumerable: true, get: function () { return source_language_1.SourceLanguage; } });
|
|
78
|
+
var sourced_entity_1 = require("./sourced_entity");
|
|
79
|
+
Object.defineProperty(exports, "SourcedEntity", { enumerable: true, get: function () { return sourced_entity_1.SourcedEntity; } });
|
|
80
|
+
var structural_entity_1 = require("./structural_entity");
|
|
81
|
+
Object.defineProperty(exports, "StructuralEntity", { enumerable: true, get: function () { return structural_entity_1.StructuralEntity; } });
|
|
82
|
+
var text_anchor_1 = require("./text_anchor");
|
|
83
|
+
Object.defineProperty(exports, "TextAnchor", { enumerable: true, get: function () { return text_anchor_1.TextAnchor; } });
|
|
84
|
+
var type_1 = require("./type");
|
|
85
|
+
Object.defineProperty(exports, "Type", { enumerable: true, get: function () { return type_1.Type; } });
|
|
86
|
+
var variable_1 = require("./variable");
|
|
87
|
+
Object.defineProperty(exports, "Variable", { enumerable: true, get: function () { return variable_1.Variable; } });
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IndexedFileAnchor = void 0;
|
|
4
|
+
const famix_JSON_exporter_1 = require("../../famix_JSON_exporter");
|
|
5
|
+
const source_anchor_1 = require("./source_anchor");
|
|
6
|
+
class IndexedFileAnchor extends source_anchor_1.SourceAnchor {
|
|
7
|
+
getStartPos() {
|
|
8
|
+
return this.startPos;
|
|
9
|
+
}
|
|
10
|
+
setStartPos(startPos) {
|
|
11
|
+
this.startPos = startPos;
|
|
12
|
+
}
|
|
13
|
+
getEndPos() {
|
|
14
|
+
return this.endPos;
|
|
15
|
+
}
|
|
16
|
+
setEndPos(endPos) {
|
|
17
|
+
this.endPos = endPos;
|
|
18
|
+
}
|
|
19
|
+
getFileName() {
|
|
20
|
+
return this.fileName;
|
|
21
|
+
}
|
|
22
|
+
setFileName(fileName) {
|
|
23
|
+
this.fileName = fileName;
|
|
24
|
+
}
|
|
25
|
+
getJSON() {
|
|
26
|
+
const mse = new famix_JSON_exporter_1.FamixJSONExporter("IndexedFileAnchor", this);
|
|
27
|
+
this.addPropertiesToExporter(mse);
|
|
28
|
+
return mse.getJSON();
|
|
29
|
+
}
|
|
30
|
+
addPropertiesToExporter(exporter) {
|
|
31
|
+
super.addPropertiesToExporter(exporter);
|
|
32
|
+
exporter.addProperty("startPos", this.getStartPos());
|
|
33
|
+
exporter.addProperty("endPos", this.getEndPos());
|
|
34
|
+
exporter.addProperty("fileName", this.getFileName());
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.IndexedFileAnchor = IndexedFileAnchor;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Inheritance = void 0;
|
|
4
|
+
const famix_JSON_exporter_1 = require("../../famix_JSON_exporter");
|
|
5
|
+
const association_1 = require("./association");
|
|
6
|
+
class Inheritance extends association_1.Association {
|
|
7
|
+
getSuperclass() {
|
|
8
|
+
return this.superclass;
|
|
9
|
+
}
|
|
10
|
+
setSuperclass(superclass) {
|
|
11
|
+
this.superclass = superclass;
|
|
12
|
+
superclass.addSubInheritance(this);
|
|
13
|
+
}
|
|
14
|
+
getSubclass() {
|
|
15
|
+
return this.subclass;
|
|
16
|
+
}
|
|
17
|
+
setSubclass(subclass) {
|
|
18
|
+
this.subclass = subclass;
|
|
19
|
+
subclass.addSuperInheritance(this);
|
|
20
|
+
}
|
|
21
|
+
getJSON() {
|
|
22
|
+
const mse = new famix_JSON_exporter_1.FamixJSONExporter("Inheritance", this);
|
|
23
|
+
this.addPropertiesToExporter(mse);
|
|
24
|
+
return mse.getJSON();
|
|
25
|
+
}
|
|
26
|
+
addPropertiesToExporter(exporter) {
|
|
27
|
+
super.addPropertiesToExporter(exporter);
|
|
28
|
+
exporter.addProperty("superclass", this.getSuperclass());
|
|
29
|
+
exporter.addProperty("subclass", this.getSubclass());
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.Inheritance = Inheritance;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Interface = void 0;
|
|
4
|
+
const famix_JSON_exporter_1 = require("../../famix_JSON_exporter");
|
|
5
|
+
const type_1 = require("./type");
|
|
6
|
+
class Interface extends type_1.Type {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.properties = new Set();
|
|
10
|
+
this.methods = new Set();
|
|
11
|
+
this.superInheritances = new Set();
|
|
12
|
+
this.subInheritances = new Set();
|
|
13
|
+
}
|
|
14
|
+
getProperties() {
|
|
15
|
+
return this.properties;
|
|
16
|
+
}
|
|
17
|
+
addProperty(property) {
|
|
18
|
+
if (!this.properties.has(property)) {
|
|
19
|
+
this.properties.add(property);
|
|
20
|
+
property.setParentEntity(this);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
getMethods() {
|
|
24
|
+
return this.methods;
|
|
25
|
+
}
|
|
26
|
+
addMethod(method) {
|
|
27
|
+
if (!this.methods.has(method)) {
|
|
28
|
+
this.methods.add(method);
|
|
29
|
+
method.setParentEntity(this);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
getSuperInheritances() {
|
|
33
|
+
return this.superInheritances;
|
|
34
|
+
}
|
|
35
|
+
addSuperInheritance(superInheritance) {
|
|
36
|
+
if (!this.superInheritances.has(superInheritance)) {
|
|
37
|
+
this.superInheritances.add(superInheritance);
|
|
38
|
+
superInheritance.setSubclass(this);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
getSubInheritances() {
|
|
42
|
+
return this.subInheritances;
|
|
43
|
+
}
|
|
44
|
+
addSubInheritance(subInheritance) {
|
|
45
|
+
if (!this.subInheritances.has(subInheritance)) {
|
|
46
|
+
this.subInheritances.add(subInheritance);
|
|
47
|
+
subInheritance.setSuperclass(this);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
getJSON() {
|
|
51
|
+
const mse = new famix_JSON_exporter_1.FamixJSONExporter("Interface", this);
|
|
52
|
+
this.addPropertiesToExporter(mse);
|
|
53
|
+
return mse.getJSON();
|
|
54
|
+
}
|
|
55
|
+
addPropertiesToExporter(exporter) {
|
|
56
|
+
super.addPropertiesToExporter(exporter);
|
|
57
|
+
exporter.addProperty("properties", this.getProperties());
|
|
58
|
+
exporter.addProperty("methods", this.getMethods());
|
|
59
|
+
exporter.addProperty("superInheritances", this.getSuperInheritances());
|
|
60
|
+
exporter.addProperty("subInheritances", this.getSubInheritances());
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.Interface = Interface;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Invocation = void 0;
|
|
4
|
+
const famix_JSON_exporter_1 = require("../../famix_JSON_exporter");
|
|
5
|
+
const association_1 = require("./association");
|
|
6
|
+
class Invocation extends association_1.Association {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.candidates = new Set();
|
|
10
|
+
}
|
|
11
|
+
getCandidates() {
|
|
12
|
+
return this.candidates;
|
|
13
|
+
}
|
|
14
|
+
addCandidate(candidate) {
|
|
15
|
+
if (!this.candidates.has(candidate)) {
|
|
16
|
+
this.candidates.add(candidate);
|
|
17
|
+
candidate.addIncomingInvocation(this);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
getReceiver() {
|
|
21
|
+
return this.receiver;
|
|
22
|
+
}
|
|
23
|
+
setReceiver(receiver) {
|
|
24
|
+
this.receiver = receiver;
|
|
25
|
+
receiver.addReceivedInvocation(this);
|
|
26
|
+
}
|
|
27
|
+
getSender() {
|
|
28
|
+
return this.sender;
|
|
29
|
+
}
|
|
30
|
+
setSender(sender) {
|
|
31
|
+
this.sender = sender;
|
|
32
|
+
sender.addOutgoingInvocation(this);
|
|
33
|
+
}
|
|
34
|
+
getSignature() {
|
|
35
|
+
return this.signature;
|
|
36
|
+
}
|
|
37
|
+
setSignature(signature) {
|
|
38
|
+
this.signature = signature;
|
|
39
|
+
}
|
|
40
|
+
getJSON() {
|
|
41
|
+
const mse = new famix_JSON_exporter_1.FamixJSONExporter("Invocation", this);
|
|
42
|
+
this.addPropertiesToExporter(mse);
|
|
43
|
+
return mse.getJSON();
|
|
44
|
+
}
|
|
45
|
+
addPropertiesToExporter(exporter) {
|
|
46
|
+
super.addPropertiesToExporter(exporter);
|
|
47
|
+
exporter.addProperty("candidates", this.getCandidates());
|
|
48
|
+
exporter.addProperty("receiver", this.getReceiver());
|
|
49
|
+
exporter.addProperty("sender", this.getSender());
|
|
50
|
+
exporter.addProperty("signature", this.getSignature());
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.Invocation = Invocation;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Method = void 0;
|
|
4
|
+
const famix_JSON_exporter_1 = require("../../famix_JSON_exporter");
|
|
5
|
+
const behavioral_entity_1 = require("./behavioral_entity");
|
|
6
|
+
class Method extends behavioral_entity_1.BehavioralEntity {
|
|
7
|
+
getParentEntity() {
|
|
8
|
+
return this.parentEntity;
|
|
9
|
+
}
|
|
10
|
+
setParentEntity(parentEntity) {
|
|
11
|
+
this.parentEntity = parentEntity;
|
|
12
|
+
parentEntity.addMethod(this);
|
|
13
|
+
}
|
|
14
|
+
getKind() {
|
|
15
|
+
return this.kind;
|
|
16
|
+
}
|
|
17
|
+
setKind(kind) {
|
|
18
|
+
this.kind = kind;
|
|
19
|
+
}
|
|
20
|
+
getIsAbstract() {
|
|
21
|
+
return this.isAbstract;
|
|
22
|
+
}
|
|
23
|
+
setIsAbstract(isAbstract) {
|
|
24
|
+
this.isAbstract = isAbstract;
|
|
25
|
+
}
|
|
26
|
+
getIsClassSide() {
|
|
27
|
+
return this.isClassSide;
|
|
28
|
+
}
|
|
29
|
+
setIsClassSide(isClassSide) {
|
|
30
|
+
this.isClassSide = isClassSide;
|
|
31
|
+
}
|
|
32
|
+
getIsPrivate() {
|
|
33
|
+
return this.isPrivate;
|
|
34
|
+
}
|
|
35
|
+
setIsPrivate(isPrivate) {
|
|
36
|
+
this.isPrivate = isPrivate;
|
|
37
|
+
}
|
|
38
|
+
getIsPublic() {
|
|
39
|
+
return this.isPublic;
|
|
40
|
+
}
|
|
41
|
+
setIsPublic(isPublic) {
|
|
42
|
+
this.isPublic = isPublic;
|
|
43
|
+
}
|
|
44
|
+
getIsProtected() {
|
|
45
|
+
return this.isProtected;
|
|
46
|
+
}
|
|
47
|
+
setIsProtected(isProtected) {
|
|
48
|
+
this.isProtected = isProtected;
|
|
49
|
+
}
|
|
50
|
+
getJSON() {
|
|
51
|
+
const mse = new famix_JSON_exporter_1.FamixJSONExporter("Method", this);
|
|
52
|
+
this.addPropertiesToExporter(mse);
|
|
53
|
+
return mse.getJSON();
|
|
54
|
+
}
|
|
55
|
+
addPropertiesToExporter(exporter) {
|
|
56
|
+
super.addPropertiesToExporter(exporter);
|
|
57
|
+
exporter.addProperty("parentEntity", this.getParentEntity());
|
|
58
|
+
exporter.addProperty("kind", this.getKind());
|
|
59
|
+
exporter.addProperty("isAbstract", this.getIsAbstract());
|
|
60
|
+
exporter.addProperty("isClassSide", this.getIsClassSide());
|
|
61
|
+
exporter.addProperty("isPrivate", this.getIsPrivate());
|
|
62
|
+
exporter.addProperty("isPublic", this.getIsPublic());
|
|
63
|
+
exporter.addProperty("isProtected", this.getIsProtected());
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.Method = Method;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Module = void 0;
|
|
4
|
+
const famix_JSON_exporter_1 = require("../../famix_JSON_exporter");
|
|
5
|
+
const script_entity_1 = require("./script_entity");
|
|
6
|
+
class Module extends script_entity_1.ScriptEntity {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.importClauses = new Set();
|
|
10
|
+
}
|
|
11
|
+
getImportClauses() {
|
|
12
|
+
return this.importClauses;
|
|
13
|
+
}
|
|
14
|
+
addImportClause(importClause) {
|
|
15
|
+
if (!this.importClauses.has(importClause)) {
|
|
16
|
+
this.importClauses.add(importClause);
|
|
17
|
+
importClause.setImporter(this);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
getJSON() {
|
|
21
|
+
const mse = new famix_JSON_exporter_1.FamixJSONExporter("Module", this);
|
|
22
|
+
this.addPropertiesToExporter(mse);
|
|
23
|
+
return mse.getJSON();
|
|
24
|
+
}
|
|
25
|
+
addPropertiesToExporter(exporter) {
|
|
26
|
+
super.addPropertiesToExporter(exporter);
|
|
27
|
+
exporter.addProperty("importClauses", this.getImportClauses());
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.Module = Module;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NamedEntity = void 0;
|
|
4
|
+
const famix_JSON_exporter_1 = require("../../famix_JSON_exporter");
|
|
5
|
+
const sourced_entity_1 = require("./sourced_entity");
|
|
6
|
+
class NamedEntity extends sourced_entity_1.SourcedEntity {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.receivedInvocations = new Set();
|
|
10
|
+
this.imports = new Set();
|
|
11
|
+
this.aliases = new Set();
|
|
12
|
+
this.decorators = new Set();
|
|
13
|
+
}
|
|
14
|
+
getFullyQualifiedName() {
|
|
15
|
+
return this.fullyQualifiedName;
|
|
16
|
+
}
|
|
17
|
+
setFullyQualifiedName(fullyQualifiedName) {
|
|
18
|
+
this.fullyQualifiedName = fullyQualifiedName;
|
|
19
|
+
}
|
|
20
|
+
getReceivedInvocations() {
|
|
21
|
+
return this.receivedInvocations;
|
|
22
|
+
}
|
|
23
|
+
addReceivedInvocation(receivedInvocation) {
|
|
24
|
+
if (!this.receivedInvocations.has(receivedInvocation)) {
|
|
25
|
+
this.receivedInvocations.add(receivedInvocation);
|
|
26
|
+
receivedInvocation.setReceiver(this);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
getImports() {
|
|
30
|
+
return this.imports;
|
|
31
|
+
}
|
|
32
|
+
addImport(anImport) {
|
|
33
|
+
if (!this.imports.has(anImport)) {
|
|
34
|
+
this.imports.add(anImport);
|
|
35
|
+
anImport.setImportedEntity(this);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
getName() {
|
|
39
|
+
return this.name;
|
|
40
|
+
}
|
|
41
|
+
setName(name) {
|
|
42
|
+
this.name = name;
|
|
43
|
+
}
|
|
44
|
+
getAliases() {
|
|
45
|
+
return this.aliases;
|
|
46
|
+
}
|
|
47
|
+
addAlias(alias) {
|
|
48
|
+
if (!this.aliases.has(alias)) {
|
|
49
|
+
this.aliases.add(alias);
|
|
50
|
+
alias.setParentEntity(this);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
getDecorators() {
|
|
54
|
+
return this.decorators;
|
|
55
|
+
}
|
|
56
|
+
addDecorator(decorator) {
|
|
57
|
+
if (!this.decorators.has(decorator)) {
|
|
58
|
+
this.decorators.add(decorator);
|
|
59
|
+
decorator.setDecoratedEntity(this);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
getJSON() {
|
|
63
|
+
const mse = new famix_JSON_exporter_1.FamixJSONExporter("NamedEntity", this);
|
|
64
|
+
this.addPropertiesToExporter(mse);
|
|
65
|
+
return mse.getJSON();
|
|
66
|
+
}
|
|
67
|
+
addPropertiesToExporter(exporter) {
|
|
68
|
+
super.addPropertiesToExporter(exporter);
|
|
69
|
+
exporter.addProperty("fullyQualifiedName", this.getFullyQualifiedName());
|
|
70
|
+
exporter.addProperty("receivedInvocations", this.getReceivedInvocations());
|
|
71
|
+
exporter.addProperty("imports", this.getImports());
|
|
72
|
+
exporter.addProperty("name", this.getName());
|
|
73
|
+
exporter.addProperty("aliases", this.getAliases());
|
|
74
|
+
exporter.addProperty("decorators", this.getDecorators());
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.NamedEntity = NamedEntity;
|