@elyx-code/project-logic-tree 0.0.6554 → 0.0.6556
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/index.d.ts +27 -6
- package/dist/index.js +1260 -1192
- package/dist/index.umd.cjs +114 -114
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -644,6 +644,7 @@ export declare class BreakStatementState extends UserManagedVersionedState imple
|
|
|
644
644
|
initialized: boolean;
|
|
645
645
|
startedInitialization: boolean;
|
|
646
646
|
suggestion: boolean;
|
|
647
|
+
readonly _codeNativeValueValidation: ValueValidationCallback | null;
|
|
647
648
|
constructor(initialData: IBreakStatement | IBreakStatementTransfer, parentProjectState: ProjectState);
|
|
648
649
|
static repository: IEditableEntityPersistanceRepository;
|
|
649
650
|
static type: EntityType.BreakStatement;
|
|
@@ -668,6 +669,7 @@ export declare class BreakStatementState extends UserManagedVersionedState imple
|
|
|
668
669
|
errors: EntityGenerationError[];
|
|
669
670
|
modifiedData: IBreakStatementGenerationTarget;
|
|
670
671
|
};
|
|
672
|
+
get codeNativeValueValidation(): ValueValidationCallback | null;
|
|
671
673
|
validateGeneratedUpdate(data: Partial<IBreakStatementGenerationTarget>): {
|
|
672
674
|
errors: EntityGenerationError[];
|
|
673
675
|
modifiedData: Partial<IBreakStatementGenerationTarget>;
|
|
@@ -3734,7 +3736,7 @@ export declare enum ChangeSetEntityChangeType {
|
|
|
3734
3736
|
export declare class ChangeSetEvent implements IChangeSetEvent {
|
|
3735
3737
|
id: string;
|
|
3736
3738
|
action: StateMutationAction;
|
|
3737
|
-
errorReason:
|
|
3739
|
+
errorReason: StateMutationErrorCode | null;
|
|
3738
3740
|
owner: UserManagedEntityState | null;
|
|
3739
3741
|
counterpart: UserManagedEntityState | PrimitiveEntityState | BuiltInBaseEntityState | null;
|
|
3740
3742
|
rootAction: boolean;
|
|
@@ -4092,6 +4094,7 @@ export declare class ContinueStatementState extends UserManagedVersionedState im
|
|
|
4092
4094
|
initialized: boolean;
|
|
4093
4095
|
startedInitialization: boolean;
|
|
4094
4096
|
suggestion: boolean;
|
|
4097
|
+
readonly _codeNativeValueValidation: ValueValidationCallback | null;
|
|
4095
4098
|
constructor(initialData: IContinueStatement | IContinueStatementTransfer, parentProjectState: ProjectState);
|
|
4096
4099
|
static repository: IEditableEntityPersistanceRepository;
|
|
4097
4100
|
static type: EntityType.ContinueStatement;
|
|
@@ -4116,6 +4119,7 @@ export declare class ContinueStatementState extends UserManagedVersionedState im
|
|
|
4116
4119
|
errors: EntityGenerationError[];
|
|
4117
4120
|
modifiedData: IContinueStatementGenerationTarget;
|
|
4118
4121
|
};
|
|
4122
|
+
get codeNativeValueValidation(): ValueValidationCallback | null;
|
|
4119
4123
|
validateGeneratedUpdate(data: Partial<IContinueStatementGenerationTarget>): {
|
|
4120
4124
|
errors: EntityGenerationError[];
|
|
4121
4125
|
modifiedData: Partial<IContinueStatementGenerationTarget>;
|
|
@@ -13177,7 +13181,7 @@ export declare interface IChangeSet<TSelf extends {
|
|
|
13177
13181
|
export declare interface IChangeSetEvent {
|
|
13178
13182
|
id: string;
|
|
13179
13183
|
action: StateMutationAction;
|
|
13180
|
-
errorReason:
|
|
13184
|
+
errorReason: StateMutationErrorCode | EntityErrorCode | SharedEntityErrorCode | EntityGenerationErrorCode | null;
|
|
13181
13185
|
owner: UserManagedEntityState | null;
|
|
13182
13186
|
counterpart: UserManagedEntityState | PrimitiveEntityState | BuiltInBaseEntityState | null;
|
|
13183
13187
|
rootAction: boolean;
|
|
@@ -13186,7 +13190,7 @@ export declare interface IChangeSetEvent {
|
|
|
13186
13190
|
export declare interface IChangeSetEventCreationPayload {
|
|
13187
13191
|
id: string;
|
|
13188
13192
|
action: StateMutationAction;
|
|
13189
|
-
errorReason?:
|
|
13193
|
+
errorReason?: StateMutationErrorCode;
|
|
13190
13194
|
owner?: UserManagedEntityState;
|
|
13191
13195
|
counterpart?: UserManagedEntityState | PrimitiveEntityState | BuiltInBaseEntityState;
|
|
13192
13196
|
rootAction?: boolean;
|
|
@@ -14083,8 +14087,14 @@ export declare function inferContinueStatementDataType(entity: ContinueStatement
|
|
|
14083
14087
|
|
|
14084
14088
|
export declare function inferDataType(entity: EntityWithValueState | PropertyState | ValueDescriptorState | TerminationEntityState, changeSet?: ChangeSet | null): DataTypeState | null;
|
|
14085
14089
|
|
|
14090
|
+
export declare function inferFunctionCallDataType(entity: FunctionCallState, _changeSet?: ChangeSet | null): DataTypeState | null;
|
|
14091
|
+
|
|
14086
14092
|
export declare function inferInputMapDataType(entity: InputMapState, changeSet?: ChangeSet | null): DataTypeState | null;
|
|
14087
14093
|
|
|
14094
|
+
export declare function inferInternalCallDataType(entity: InternalCallState, _changeSet?: ChangeSet | null): DataTypeState | null;
|
|
14095
|
+
|
|
14096
|
+
export declare function inferLoopDataType(entity: LoopState, _changeSet?: ChangeSet | null): DataTypeState | null;
|
|
14097
|
+
|
|
14088
14098
|
export declare function inferOutputMapDataType(entity: OutputMapState, _changeSet?: ChangeSet | null): DataTypeState | null;
|
|
14089
14099
|
|
|
14090
14100
|
export declare function inferPropertyDataType(entity: PropertyState, _changeSet?: ChangeSet | null): DataTypeState | null;
|
|
@@ -18395,6 +18405,7 @@ export declare class ReturnStatementState extends UserManagedVersionedState impl
|
|
|
18395
18405
|
initialized: boolean;
|
|
18396
18406
|
startedInitialization: boolean;
|
|
18397
18407
|
suggestion: boolean;
|
|
18408
|
+
readonly _codeNativeValueValidation: ValueValidationCallback | null;
|
|
18398
18409
|
constructor(initialData: IReturnStatement | IReturnStatementTransfer, parentProjectState: ProjectState);
|
|
18399
18410
|
static repository: IEditableEntityPersistanceRepository;
|
|
18400
18411
|
static type: EntityType.ReturnStatement;
|
|
@@ -18419,6 +18430,7 @@ export declare class ReturnStatementState extends UserManagedVersionedState impl
|
|
|
18419
18430
|
errors: EntityGenerationError[];
|
|
18420
18431
|
modifiedData: IReturnStatementGenerationTarget;
|
|
18421
18432
|
};
|
|
18433
|
+
get codeNativeValueValidation(): ValueValidationCallback | null;
|
|
18422
18434
|
validateGeneratedUpdate(data: Partial<IReturnStatementGenerationTarget>): {
|
|
18423
18435
|
errors: EntityGenerationError[];
|
|
18424
18436
|
modifiedData: Partial<IReturnStatementGenerationTarget>;
|
|
@@ -19377,13 +19389,22 @@ export declare enum StateMutationAction {
|
|
|
19377
19389
|
RemoveAbstractMethod = "remove-abstract-method",
|
|
19378
19390
|
SetValueAsTypeSingle = "set-value-as-type-single",
|
|
19379
19391
|
SetValueAsTypeList = "set-value-as-type-list",
|
|
19380
|
-
SetValueAsType = "set-value-as-type"
|
|
19392
|
+
SetValueAsType = "set-value-as-type",
|
|
19393
|
+
RemoveErrorCatching = "remove-error-catching",
|
|
19394
|
+
RemoveAllErrorCallers = "remove-all-error-callers",
|
|
19395
|
+
RemoveAllSuccessCallers = "remove-all-success-callers",
|
|
19396
|
+
RemoveAllCallers = "remove-all-callers",
|
|
19397
|
+
RemoveAllErrorCalls = "remove-all-error-calls"
|
|
19381
19398
|
}
|
|
19382
19399
|
|
|
19383
|
-
export declare enum
|
|
19400
|
+
export declare enum StateMutationErrorCode {
|
|
19384
19401
|
ActionOwnerEntityNotEditable = "action-owner-entity-not-editable",
|
|
19385
19402
|
ActionCounterpartEntityNotEditable = "action-counterpart-entity-not-editable",
|
|
19386
|
-
ActionOwnerEntityNonDeletable = "action-owner-entity-non-deletable"
|
|
19403
|
+
ActionOwnerEntityNonDeletable = "action-owner-entity-non-deletable",
|
|
19404
|
+
GlobalVariableDeclarationCannnotCatchError = "global-variable-declaration-cannot-catch-error",
|
|
19405
|
+
GlobalVariableDeclarationCannotReadValue = "global-variable-declaration-cannot-read-value",
|
|
19406
|
+
GlobalVariableDeclarationCannotBeCalled = "global-variable-declaration-cannot-be-called",
|
|
19407
|
+
GlobalVariableDeclarationCannotCallFromError = "global-variable-declaration-cannot-call-from-error"
|
|
19387
19408
|
}
|
|
19388
19409
|
|
|
19389
19410
|
export declare const STATIC_PROPERTY_HEIGHT = 49;
|