@elyx-code/project-logic-tree 0.0.6264 → 0.0.6265
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/dist/definitions/types/function.d.ts +7 -3
- package/dist/definitions/types/property.d.ts +5 -1
- package/dist/index.js +4352 -4101
- package/dist/index.umd.cjs +61 -61
- package/dist/tree/state/definition-entity/definition-entity.d.ts +1 -0
- package/dist/tree/state/function-declaration/function-declaration.d.ts +4 -1
- package/dist/tree/state/property/property.d.ts +4 -1
- package/package.json +1 -1
|
@@ -84,27 +84,31 @@ export interface IFunctionDeclarationTransfer extends IFunctionDeclaration_meta,
|
|
|
84
84
|
inputs: (IArgumentDeclaration | IArgumentDeclarationTransfer)[];
|
|
85
85
|
calls: (CallableEntity | CallableEntityTransfer)[];
|
|
86
86
|
implements: IActionDescriptor | IActionDescriptorTransfer | null;
|
|
87
|
+
extends: IFunctionDeclaration | IFunctionDeclarationTransfer | null;
|
|
87
88
|
parent: IProject | IProjectReference | IInstalledProject | IInstalledProjectReference | IDefinitionEntity | IDefinitionEntityReference | ILoop | ILoopReference | IBuiltInBaseEntity | IBuiltInBaseEntityReference | IPrimitiveEntity | IPrimitiveEntityReference;
|
|
88
89
|
}
|
|
89
90
|
export interface IFunctionDeclarationGenerationTarget extends IChildEntityGenerationTarget {
|
|
90
91
|
id: EntityId;
|
|
91
92
|
type: EntityType.FunctionDeclaration;
|
|
92
93
|
name: string;
|
|
93
|
-
description
|
|
94
|
-
private
|
|
95
|
-
implements
|
|
94
|
+
description?: string;
|
|
95
|
+
private?: boolean;
|
|
96
|
+
implements?: EntityId;
|
|
97
|
+
extends?: EntityId;
|
|
96
98
|
parent?: EntityId;
|
|
97
99
|
}
|
|
98
100
|
export interface IFunctionDeclarationShallowTransfer extends IFunctionDeclaration_meta, IChildEntityShallowTransfer {
|
|
99
101
|
inputs: IArgumentDeclarationReference[];
|
|
100
102
|
calls: CallableEntityReference[];
|
|
101
103
|
implements: IActionDescriptorReference | null;
|
|
104
|
+
extends: IFunctionDeclarationReference | null;
|
|
102
105
|
parent: IProjectReference | IInstalledProjectReference | IDefinitionEntityReference | ILoopReference | IBuiltInBaseEntityReference | IPrimitiveEntityReference;
|
|
103
106
|
}
|
|
104
107
|
export interface IFunctionDeclaration extends IFunctionDeclarationTransfer, IChildEntity {
|
|
105
108
|
inputs: IArgumentDeclaration[];
|
|
106
109
|
calls: CallableEntity[];
|
|
107
110
|
implements: IActionDescriptor | null;
|
|
111
|
+
extends: IFunctionDeclaration | null;
|
|
108
112
|
parent: IProject | IInstalledProject | IDefinitionEntity | ILoop | IBuiltInBaseEntity | IPrimitiveEntity;
|
|
109
113
|
}
|
|
110
114
|
export type FunctionCallTypesUnion = IFunctionCall | IFunctionCallTransfer | IFunctionCallShallowTransfer | IFunctionCallGenerationTarget;
|
|
@@ -18,6 +18,7 @@ export interface IPropertyTransfer extends IProperty_meta, IBaseVariableTransfer
|
|
|
18
18
|
type: EntityType.Property;
|
|
19
19
|
constant: boolean;
|
|
20
20
|
implements: IProperty | IPropertyTransfer | null;
|
|
21
|
+
extends: IProperty | IPropertyTransfer | null;
|
|
21
22
|
defaultValue: ILiteralValue | ILiteralValueTransfer | null;
|
|
22
23
|
parent: IDefinitionEntity | IDefinitionEntityReference | IBuiltInBaseEntity | IBuiltInBaseEntityReference | IPrimitiveEntity | IPrimitiveEntityReference;
|
|
23
24
|
}
|
|
@@ -27,19 +28,22 @@ export interface IPropertyGenerationTarget extends IProperty_base, IBaseVariable
|
|
|
27
28
|
abstract?: boolean;
|
|
28
29
|
static?: boolean;
|
|
29
30
|
required?: boolean;
|
|
30
|
-
implements
|
|
31
|
+
implements?: EntityId;
|
|
32
|
+
extends?: EntityId;
|
|
31
33
|
parent: EntityId;
|
|
32
34
|
}
|
|
33
35
|
export interface IPropertyShallowTransfer extends IProperty_meta, IBaseVariableShallowTransfer {
|
|
34
36
|
type: EntityType.Property;
|
|
35
37
|
constant: boolean;
|
|
36
38
|
implements: IPropertyReference | null;
|
|
39
|
+
extends: IPropertyReference | null;
|
|
37
40
|
parent: IDefinitionEntityReference | IBuiltInBaseEntityReference | IPrimitiveEntityReference;
|
|
38
41
|
}
|
|
39
42
|
export interface IProperty extends IPropertyTransfer, IChildEntity {
|
|
40
43
|
defaultValue: ILiteralValue | null;
|
|
41
44
|
dataType: IDataType | null;
|
|
42
45
|
implements: IProperty | null;
|
|
46
|
+
extends: IProperty | null;
|
|
43
47
|
parent: IDefinitionEntity | IBuiltInBaseEntity | IPrimitiveEntity;
|
|
44
48
|
}
|
|
45
49
|
export type PropertyTypesUnion = IProperty | IPropertyTransfer | IPropertyShallowTransfer | IPropertyGenerationTarget;
|