@elyx-code/project-logic-tree 0.0.6481 → 0.0.6483
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 +21 -2
- package/dist/index.js +61190 -61134
- package/dist/index.umd.cjs +201 -201
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3870,6 +3870,7 @@ export declare class Execution extends Events {
|
|
|
3870
3870
|
onRemoveFromSkippedListCallback: null | ((entity: TestableEntityState) => void);
|
|
3871
3871
|
onAddEntityCallback: null | ((entity: TestableEntityState) => void);
|
|
3872
3872
|
onRemoveEntityCallback: null | ((entity: TestableEntityState) => void);
|
|
3873
|
+
onAbortExecutionCallback: null | ((entity: TestableEntityState) => void);
|
|
3873
3874
|
constructor(project: ProjectState, entities: TestableEntityState[], entryPoint: TestableEntityState, parentExecution?: Execution | null, parentContext?: IExecutionInstanceParentContext);
|
|
3874
3875
|
get valueResolutionContext(): IValueResolutionContext;
|
|
3875
3876
|
skip(entity: TestableEntityState): void;
|
|
@@ -3904,10 +3905,13 @@ export declare class Execution extends Events {
|
|
|
3904
3905
|
hasExecuted(entity: TestableEntityState): boolean;
|
|
3905
3906
|
hasEntityWithId(id: string): boolean;
|
|
3906
3907
|
onAddToSkippedList(callback: (entity: TestableEntityState) => void): void;
|
|
3908
|
+
onAbortExecution(callback: (entity: TestableEntityState) => void): void;
|
|
3907
3909
|
onAddEntity(callback: (entity: TestableEntityState) => void): void;
|
|
3908
3910
|
onRemoveFromSkippedList(callback: (entity: TestableEntityState) => void): void;
|
|
3909
3911
|
onRemoveEntity(callback: (entity: TestableEntityState) => void): void;
|
|
3910
3912
|
addToExecutingList(entity: TestableEntityState): void;
|
|
3913
|
+
addToScheduledList(entity: TestableEntityState): void;
|
|
3914
|
+
removeFromScheduledList(entity: TestableEntityState): void;
|
|
3911
3915
|
removeFromExecutingList(entity: TestableEntityState): void;
|
|
3912
3916
|
removeFromAlreadyExecutedList(entity: TestableEntityState): void;
|
|
3913
3917
|
removeFromSkippedList(entity: TestableEntityState): void;
|
|
@@ -15363,7 +15367,10 @@ export declare enum SharedEntityErrorCode {
|
|
|
15363
15367
|
InternalCallParentDeclarationEntityInvalidType = "internal-call-parent-declaration-entity-invalid-type",
|
|
15364
15368
|
InternalCallDeclarationNotFoundInParentDatatypeEntity = "internal-call-declaration-not-found-in-parent-datatype-entity",
|
|
15365
15369
|
InternalCallDeclarationIsNotFunctionDeclaration = "internal-call-declaration-is-not-function-declaration",
|
|
15366
|
-
InternalCallDeclarationNotInParentDatatypeEntity = "internal-call-declaration-not-in-parent-datatype-entity"
|
|
15370
|
+
InternalCallDeclarationNotInParentDatatypeEntity = "internal-call-declaration-not-in-parent-datatype-entity",
|
|
15371
|
+
GlobalVariableDeclarationCannotCatchError = "global-variable-declaration-cannot-catch-error",
|
|
15372
|
+
GlobalVariableDeclarationCannotCallOnError = "global-variable-declaration-cannot-call-on-error",
|
|
15373
|
+
GlobalVariableDeclarationCannotBeCalled = "global-variable-declaration-cannot-be-called"
|
|
15367
15374
|
}
|
|
15368
15375
|
|
|
15369
15376
|
export declare abstract class SharedStateFunctionality {
|
|
@@ -15923,6 +15930,17 @@ export declare function validateGenerationUpdate(generatedPayload: Partial<UserM
|
|
|
15923
15930
|
messageAddition: string;
|
|
15924
15931
|
};
|
|
15925
15932
|
|
|
15933
|
+
/**
|
|
15934
|
+
* Check if it is global, if so, it cannot:
|
|
15935
|
+
* - Catch an error
|
|
15936
|
+
* - Be called
|
|
15937
|
+
* - Or call on the error branch (because that is equivalent to an explicit error catch)
|
|
15938
|
+
*
|
|
15939
|
+
* @param self - The variable declaration state to validate
|
|
15940
|
+
* @returns An array of EntityError objects representing validation errors
|
|
15941
|
+
*/
|
|
15942
|
+
declare function validateGlobalVariableDeclaration(self: VariableDeclarationState): EntityError[];
|
|
15943
|
+
|
|
15926
15944
|
declare function validateImplementation(self: PropertyState): EntityError[];
|
|
15927
15945
|
|
|
15928
15946
|
declare function validateListLoop(self: LoopState): EntityError[];
|
|
@@ -16792,7 +16810,8 @@ export declare type VariableDeclarationTypesUnion = IVariableDeclaration | IVari
|
|
|
16792
16810
|
declare namespace variableDeclarationValidation {
|
|
16793
16811
|
export {
|
|
16794
16812
|
validate_5 as validate,
|
|
16795
|
-
validateVariableDeclarationName_2 as validateVariableDeclarationName
|
|
16813
|
+
validateVariableDeclarationName_2 as validateVariableDeclarationName,
|
|
16814
|
+
validateGlobalVariableDeclaration
|
|
16796
16815
|
}
|
|
16797
16816
|
}
|
|
16798
16817
|
export { variableDeclarationValidation }
|