ts2famix 1.0.11 → 1.0.12
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/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 -661
- 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 -555
- 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 -100
- 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
- package/dist/analyze.js +0 -102
- package/dist/analyze_functions/processAccesses.js +0 -47
- package/dist/analyze_functions/processFiles.js +0 -540
- package/dist/analyze_functions/processImportClauses.js +0 -70
- package/dist/analyze_functions/processInheritances.js +0 -73
- package/dist/analyze_functions/processInvocations.js +0 -49
- package/dist/famix2puml.js +0 -125
- package/dist/famix_functions/famix_functions.js +0 -513
- package/dist/famix_functions/famix_functions_associations.js +0 -205
- package/dist/famix_functions/famix_functions_index.js +0 -62
- package/dist/famix_functions/famix_functions_types.js +0 -110
- package/dist/fqn.js +0 -126
- package/dist/fqp_implementation.js +0 -73
- package/dist/lib/famix/src/famix_JSON_exporter.js +0 -54
- package/dist/lib/famix/src/famix_base_element.js +0 -13
- package/dist/lib/famix/src/famix_repository.js +0 -187
- package/dist/lib/famix/src/index.js +0 -30
- package/dist/lib/famix/src/model/famix/access.js +0 -39
- package/dist/lib/famix/src/model/famix/accessor.js +0 -16
- package/dist/lib/famix/src/model/famix/alias.js +0 -32
- package/dist/lib/famix/src/model/famix/association.js +0 -36
- package/dist/lib/famix/src/model/famix/behavioral_entity.js +0 -81
- package/dist/lib/famix/src/model/famix/c_source_language.js +0 -16
- package/dist/lib/famix/src/model/famix/class.js +0 -70
- package/dist/lib/famix/src/model/famix/comment.js +0 -38
- package/dist/lib/famix/src/model/famix/container_entity.js +0 -125
- package/dist/lib/famix/src/model/famix/custom_source_language.js +0 -23
- package/dist/lib/famix/src/model/famix/decorator.js +0 -31
- package/dist/lib/famix/src/model/famix/entity.js +0 -16
- package/dist/lib/famix/src/model/famix/enum.js +0 -30
- package/dist/lib/famix/src/model/famix/enum_value.js +0 -24
- package/dist/lib/famix/src/model/famix/function.js +0 -16
- package/dist/lib/famix/src/model/famix/implicit_variable.js +0 -16
- package/dist/lib/famix/src/model/famix/import_clause.js +0 -39
- package/dist/lib/famix/src/model/famix/index.js +0 -87
- package/dist/lib/famix/src/model/famix/indexed_file_anchor.js +0 -37
- package/dist/lib/famix/src/model/famix/inheritance.js +0 -32
- package/dist/lib/famix/src/model/famix/interface.js +0 -63
- package/dist/lib/famix/src/model/famix/invocation.js +0 -53
- package/dist/lib/famix/src/model/famix/method.js +0 -66
- package/dist/lib/famix/src/model/famix/module.js +0 -30
- package/dist/lib/famix/src/model/famix/named_entity.js +0 -77
- package/dist/lib/famix/src/model/famix/namespace.js +0 -24
- package/dist/lib/famix/src/model/famix/parameter.js +0 -24
- package/dist/lib/famix/src/model/famix/parameterizable_class.js +0 -30
- package/dist/lib/famix/src/model/famix/parameterizable_interface.js +0 -30
- package/dist/lib/famix/src/model/famix/parameterized_type.js +0 -36
- package/dist/lib/famix/src/model/famix/primitive_type.js +0 -16
- package/dist/lib/famix/src/model/famix/property.js +0 -44
- package/dist/lib/famix/src/model/famix/reference.js +0 -32
- package/dist/lib/famix/src/model/famix/scoping_entity.js +0 -30
- package/dist/lib/famix/src/model/famix/script_entity.js +0 -30
- package/dist/lib/famix/src/model/famix/source_anchor.js +0 -26
- package/dist/lib/famix/src/model/famix/source_language.js +0 -30
- package/dist/lib/famix/src/model/famix/sourced_entity.js +0 -55
- package/dist/lib/famix/src/model/famix/structural_entity.js +0 -38
- package/dist/lib/famix/src/model/famix/text_anchor.js +0 -37
- package/dist/lib/famix/src/model/famix/type.js +0 -71
- package/dist/lib/famix/src/model/famix/type_parameter.js +0 -24
- package/dist/lib/famix/src/model/famix/variable.js +0 -23
- package/dist/lib/ts-complex/cyclomatic-service.js +0 -83
- package/dist/ts2famix-cli.js +0 -63
- package/dist/ts2famix-tsconfig.js +0 -53
- package/metrics.ts +0 -23
- package/output.debug.txt +0 -1351
- package/src/fqp_implementation.ts +0 -66
|
@@ -1,100 +1,105 @@
|
|
|
1
|
-
import { ConstructorDeclaration, FunctionDeclaration, MethodDeclaration, MethodSignature, PropertyDeclaration, PropertySignature, VariableDeclaration, ParameterDeclaration, GetAccessorDeclaration, SetAccessorDeclaration, EnumMember, TypeAliasDeclaration, Node, SyntaxKind, FunctionExpression } from "ts-morph";
|
|
2
|
-
import * as Famix from "../lib/famix/src/model/famix";
|
|
3
|
-
import { FamixRepository } from "../lib/famix/src/famix_repository";
|
|
4
|
-
import { FQNFunctions } from "../fqn";
|
|
5
|
-
import { FamixFunctionsIndex } from "./famix_functions_index";
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* This class is used to build a Famix model for the types
|
|
9
|
-
*/
|
|
10
|
-
export class FamixFunctionsTypes {
|
|
11
|
-
|
|
12
|
-
private famixRep: FamixRepository; // The Famix repository
|
|
13
|
-
private FQNFunctions = new FQNFunctions(); // The fully qualified name functions
|
|
14
|
-
private
|
|
15
|
-
private famixFunctionsIndex: FamixFunctionsIndex; // FamixFunctionsIndex object, it contains all the functions needed to create Famix index file anchors
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Initializes the FamixFunctionsIndex object
|
|
19
|
-
* @param famixRep The Famix repository
|
|
20
|
-
*/
|
|
21
|
-
constructor(famixRep: FamixRepository) {
|
|
22
|
-
this.famixRep = famixRep;
|
|
23
|
-
this.famixFunctionsIndex = new FamixFunctionsIndex(famixRep);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Creates or gets a Famix type
|
|
28
|
-
* @param typeName A type name
|
|
29
|
-
* @param element A ts-morph element
|
|
30
|
-
* @returns The Famix model of the type
|
|
31
|
-
*/
|
|
32
|
-
public createOrGetFamixType(typeName: string, element: TypeAliasDeclaration | PropertyDeclaration | PropertySignature | MethodDeclaration | ConstructorDeclaration | MethodSignature | GetAccessorDeclaration | SetAccessorDeclaration | FunctionDeclaration | FunctionExpression | ParameterDeclaration | VariableDeclaration | EnumMember): Famix.Type | Famix.PrimitiveType | Famix.ParameterizedType {
|
|
33
|
-
let fmxType: Famix.Type | Famix.PrimitiveType | Famix.ParameterizedType;
|
|
34
|
-
let isPrimitiveType = false;
|
|
35
|
-
let isParameterizedType = false;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
const
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
const
|
|
63
|
-
(
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
1
|
+
import { ConstructorDeclaration, FunctionDeclaration, MethodDeclaration, MethodSignature, PropertyDeclaration, PropertySignature, VariableDeclaration, ParameterDeclaration, GetAccessorDeclaration, SetAccessorDeclaration, EnumMember, TypeAliasDeclaration, Node, SyntaxKind, FunctionExpression } from "ts-morph";
|
|
2
|
+
import * as Famix from "../lib/famix/src/model/famix";
|
|
3
|
+
import { FamixRepository } from "../lib/famix/src/famix_repository";
|
|
4
|
+
import { FQNFunctions } from "../fqn";
|
|
5
|
+
import { FamixFunctionsIndex } from "./famix_functions_index";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* This class is used to build a Famix model for the types
|
|
9
|
+
*/
|
|
10
|
+
export class FamixFunctionsTypes {
|
|
11
|
+
|
|
12
|
+
private famixRep: FamixRepository; // The Famix repository
|
|
13
|
+
private FQNFunctions = new FQNFunctions(); // The fully qualified name functions
|
|
14
|
+
private fmxTypeMap = new Map<string, Famix.Type | Famix.PrimitiveType | Famix.ParameterizedType>(); // Maps the type names to their Famix model
|
|
15
|
+
private famixFunctionsIndex: FamixFunctionsIndex; // FamixFunctionsIndex object, it contains all the functions needed to create Famix index file anchors
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Initializes the FamixFunctionsIndex object
|
|
19
|
+
* @param famixRep The Famix repository
|
|
20
|
+
*/
|
|
21
|
+
constructor(famixRep: FamixRepository) {
|
|
22
|
+
this.famixRep = famixRep;
|
|
23
|
+
this.famixFunctionsIndex = new FamixFunctionsIndex(famixRep);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Creates or gets a Famix type
|
|
28
|
+
* @param typeName A type name
|
|
29
|
+
* @param element A ts-morph element
|
|
30
|
+
* @returns The Famix model of the type
|
|
31
|
+
*/
|
|
32
|
+
public createOrGetFamixType(typeName: string, element: TypeAliasDeclaration | PropertyDeclaration | PropertySignature | MethodDeclaration | ConstructorDeclaration | MethodSignature | GetAccessorDeclaration | SetAccessorDeclaration | FunctionDeclaration | FunctionExpression | ParameterDeclaration | VariableDeclaration | EnumMember): Famix.Type | Famix.PrimitiveType | Famix.ParameterizedType {
|
|
33
|
+
let fmxType: Famix.Type | Famix.PrimitiveType | Famix.ParameterizedType;
|
|
34
|
+
let isPrimitiveType = false;
|
|
35
|
+
let isParameterizedType = false;
|
|
36
|
+
|
|
37
|
+
console.info("Creating (or getting) type: " + typeName + "' of element: " + element.getText() + " of kind: " + element.getKindName());
|
|
38
|
+
|
|
39
|
+
const typeAncestor = this.findTypeAncestor(element);
|
|
40
|
+
const ancestorFullyQualifiedName = this.FQNFunctions.getFQN(typeAncestor);
|
|
41
|
+
const ancestor = this.getFamixEntityByFullyQualifiedName(ancestorFullyQualifiedName) as Famix.ContainerEntity;
|
|
42
|
+
if (!ancestor) {
|
|
43
|
+
throw new Error(`Ancestor ${ancestorFullyQualifiedName} not found.`);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
if (typeName === "number" || typeName === "string" || typeName === "boolean" || typeName === "bigint" || typeName === "symbol" || typeName === "undefined" || typeName === "null") {
|
|
47
|
+
isPrimitiveType = true;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
if(!isPrimitiveType && typeName.includes("<") && typeName.includes(">") && !(typeName.includes("=>"))) {
|
|
51
|
+
isParameterizedType = true;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
if (!this.fmxTypeMap.has(typeName)) {
|
|
55
|
+
if (isPrimitiveType) {
|
|
56
|
+
fmxType = new Famix.PrimitiveType(this.famixRep);
|
|
57
|
+
fmxType.setIsStub(true);
|
|
58
|
+
}
|
|
59
|
+
else if (isParameterizedType) {
|
|
60
|
+
fmxType = new Famix.ParameterizedType(this.famixRep);
|
|
61
|
+
const parameterTypeNames = typeName.substring(typeName.indexOf("<") + 1, typeName.indexOf(">")).split(",").map(s => s.trim());
|
|
62
|
+
const baseTypeName = typeName.substring(0, typeName.indexOf("<")).trim();
|
|
63
|
+
parameterTypeNames.forEach(parameterTypeName => {
|
|
64
|
+
const fmxParameterType = this.createOrGetFamixType(parameterTypeName, element);
|
|
65
|
+
(fmxType as Famix.ParameterizedType).addArgument(fmxParameterType);
|
|
66
|
+
});
|
|
67
|
+
const fmxBaseType = this.createOrGetFamixType(baseTypeName, element);
|
|
68
|
+
(fmxType as Famix.ParameterizedType).setBaseType(fmxBaseType);
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
fmxType = new Famix.Type(this.famixRep);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
fmxType.setName(typeName);
|
|
75
|
+
fmxType.setContainer(ancestor);
|
|
76
|
+
|
|
77
|
+
this.famixFunctionsIndex.makeFamixIndexFileAnchor(null, fmxType);
|
|
78
|
+
|
|
79
|
+
this.fmxTypeMap.set(typeName, fmxType);
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
fmxType = this.fmxTypeMap.get(typeName);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return fmxType;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Gets a Famix entity by fully qualified name
|
|
90
|
+
* @param fullyQualifiedName A fully qualified name
|
|
91
|
+
* @returns The Famix entity corresponding to the fully qualified name
|
|
92
|
+
*/
|
|
93
|
+
private getFamixEntityByFullyQualifiedName(fullyQualifiedName: string): Famix.Entity {
|
|
94
|
+
return this.famixRep.getFamixEntityByFullyQualifiedName(fullyQualifiedName) as Famix.Entity;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Finds the ancestor of a ts-morph element
|
|
99
|
+
* @param element A ts-morph element
|
|
100
|
+
* @returns The ancestor of the ts-morph element
|
|
101
|
+
*/
|
|
102
|
+
private findTypeAncestor(element: TypeAliasDeclaration | PropertyDeclaration | PropertySignature | MethodDeclaration | ConstructorDeclaration | MethodSignature | GetAccessorDeclaration | SetAccessorDeclaration | FunctionDeclaration | FunctionExpression | ParameterDeclaration | VariableDeclaration | EnumMember): Node {
|
|
103
|
+
return element.getAncestors().find(a => a.getKind() === SyntaxKind.MethodDeclaration || a.getKind() === SyntaxKind.Constructor || a.getKind() === SyntaxKind.MethodSignature || a.getKind() === SyntaxKind.FunctionDeclaration || a.getKind() === SyntaxKind.FunctionExpression || a.getKind() === SyntaxKind.ModuleDeclaration || a.getKind() === SyntaxKind.SourceFile || a.getKindName() === "GetAccessor" || a.getKindName() === "SetAccessor" || a.getKind() === SyntaxKind.ClassDeclaration || a.getKind() === SyntaxKind.InterfaceDeclaration);
|
|
104
|
+
}
|
|
105
|
+
}
|
package/src/generate_uml.sh
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
# Gets latest plantuml
|
|
2
|
-
rm -f plantuml.jar
|
|
3
|
-
wget --no-verbose https://downloads.sourceforge.net/project/plantuml/plantuml.jar
|
|
4
|
-
# Builds metamodel plantuml from TypeScript sources
|
|
5
|
-
npx tplant -i src/lib/famix/**/*.ts -o doc-metamodel/famix-typescript-model.puml
|
|
6
|
-
sed -i 's/@startuml/& metamodel/' doc-metamodel/famix-typescript-model.puml
|
|
7
|
-
# Converts plantuml source to SVG image
|
|
8
|
-
java -jar plantuml.jar -v -tsvg doc-metamodel/famix-typescript-model.puml
|
|
9
|
-
mv doc-metamodel/metamodel.svg doc-metamodel/metamodel-full.svg
|
|
10
|
-
# Inserts include line to customize the file
|
|
11
|
-
sed -i '/@startuml metamodel/a !include skins.include.puml' doc-metamodel/famix-typescript-model.puml
|
|
12
|
-
# Converts plantuml source to SVG image
|
|
13
|
-
java -jar plantuml.jar -v -tsvg doc-metamodel/famix-typescript-model.puml
|
|
14
|
-
# Moves artifacts
|
|
15
|
-
rm -f doc-uml/*
|
|
16
|
-
mv doc-metamodel/*.svg doc-uml
|
|
1
|
+
# Gets latest plantuml
|
|
2
|
+
rm -f plantuml.jar
|
|
3
|
+
wget --no-verbose https://downloads.sourceforge.net/project/plantuml/plantuml.jar
|
|
4
|
+
# Builds metamodel plantuml from TypeScript sources
|
|
5
|
+
npx tplant -i src/lib/famix/**/*.ts -o doc-metamodel/famix-typescript-model.puml
|
|
6
|
+
sed -i 's/@startuml/& metamodel/' doc-metamodel/famix-typescript-model.puml
|
|
7
|
+
# Converts plantuml source to SVG image
|
|
8
|
+
java -jar plantuml.jar -v -tsvg doc-metamodel/famix-typescript-model.puml
|
|
9
|
+
mv doc-metamodel/metamodel.svg doc-metamodel/metamodel-full.svg
|
|
10
|
+
# Inserts include line to customize the file
|
|
11
|
+
sed -i '/@startuml metamodel/a !include skins.include.puml' doc-metamodel/famix-typescript-model.puml
|
|
12
|
+
# Converts plantuml source to SVG image
|
|
13
|
+
java -jar plantuml.jar -v -tsvg doc-metamodel/famix-typescript-model.puml
|
|
14
|
+
# Moves artifacts
|
|
15
|
+
rm -f doc-uml/*
|
|
16
|
+
mv doc-metamodel/*.svg doc-uml
|
package/src/lib/famix/License.md
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
Portions of the code in the famix directory:
|
|
2
|
-
|
|
3
|
-
MIT License
|
|
4
|
-
|
|
5
|
-
Copyright (c) 2019 Pascal Erni
|
|
6
|
-
|
|
7
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
-
in the Software without restriction, including without limitation the rights
|
|
10
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
-
furnished to do so, subject to the following conditions:
|
|
13
|
-
|
|
14
|
-
The above copyright notice and this permission notice shall be included in all
|
|
15
|
-
copies or substantial portions of the Software.
|
|
16
|
-
|
|
17
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
Portions of the code in the famix directory:
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2019 Pascal Erni
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
|
15
|
+
copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
23
|
SOFTWARE.
|