@elyx-code/project-logic-tree 0.0.6987 → 0.0.6989
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.cjs +290 -290
- package/dist/index.d.ts +18 -1
- package/dist/index.js +40232 -39905
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -12970,7 +12970,8 @@ export declare enum BaseValueDescriptorIds {
|
|
|
12970
12970
|
DefaultValueOverridesConstantVariable = "default-value-overrides-constant-variable",
|
|
12971
12971
|
CalledBeforeDeclaration = "called-before-declaration",
|
|
12972
12972
|
CalledInParallelBranchToDeclaration = "called-in-parallel-branch-to-declaration",
|
|
12973
|
-
HigherScopeThanDeclaration = "higher-scope-than-declaration"
|
|
12973
|
+
HigherScopeThanDeclaration = "higher-scope-than-declaration",
|
|
12974
|
+
ParentScopeRequiresReturnCurrentCatchesErrorWithNoCalls = "parent-scope-requires-return-current-catches-error-with-no-calls"
|
|
12974
12975
|
}
|
|
12975
12976
|
|
|
12976
12977
|
export declare type EntityPayloadUnion = BuiltInBaseEntityPayloadUnion | ProjectPayloadUnion | InstalledProjectPayloadUnion | DefinitionEntityPayloadUnion | FunctionDeclarationPayloadUnion | GlobalEventPayloadUnion | VariableDeclarationPayloadUnion | VariableInstancePayloadUnion | InputMapPayloadUnion | OutputMapPayloadUnion | ConditionPayloadUnion | OperationPayloadUnion | FunctionCallPayloadUnion | ArgumentDeclarationPayloadUnion | PrimitiveEntityPayloadUnion | DataTypePayloadUnion | PropertyPayloadUnion | ActionDescriptorPayloadUnion | ReturnStatementPayloadUnion | ContinueStatementPayloadUnion | BreakStatementPayloadUnion | LoopPayloadUnion | SearchPayloadUnion | ValueDescriptorPayloadUnion | InternalCallPayloadUnion | LiteralValuePayloadUnion;
|
|
@@ -31672,6 +31673,16 @@ export declare enum BaseValueDescriptorIds {
|
|
|
31672
31673
|
}[];
|
|
31673
31674
|
};
|
|
31674
31675
|
|
|
31676
|
+
/**
|
|
31677
|
+
* Validates the error handling of the callable entity
|
|
31678
|
+
* If a parent scope should return, then the current entity can't catch and not call another entity
|
|
31679
|
+
* Because that means there is a branch without a return
|
|
31680
|
+
*
|
|
31681
|
+
* @param {PassThroughCallableEntityState} self
|
|
31682
|
+
* @returns {EntityError[]}
|
|
31683
|
+
*/
|
|
31684
|
+
export declare function validateErrorHandling(self: PassThroughCallableEntityState): EntityError[];
|
|
31685
|
+
|
|
31675
31686
|
export declare function validateFunctionCallDeclaration(functionDeclarationId: EntityId, project: ProjectState): {
|
|
31676
31687
|
errors: EntityGenerationError[];
|
|
31677
31688
|
explanations: {
|
|
@@ -31754,6 +31765,12 @@ export declare enum BaseValueDescriptorIds {
|
|
|
31754
31765
|
|
|
31755
31766
|
export declare function validatePropertyName(entity: PropertyState | IPropertyGenerationTarget | IPropertyShallowTransfer | IPropertyTransfer, project: ProjectState): EntityGenerationError[];
|
|
31756
31767
|
|
|
31768
|
+
/**
|
|
31769
|
+
* Validates whether the callable entity is reachable from the project's closest entry point
|
|
31770
|
+
*
|
|
31771
|
+
* @param {PassThroughCallableEntityState} self
|
|
31772
|
+
* @returns {EntityError[]}
|
|
31773
|
+
*/
|
|
31757
31774
|
export declare function validateReachability(self: PassThroughCallableEntityState): EntityError[];
|
|
31758
31775
|
|
|
31759
31776
|
export declare function validateReadsValueInActionPayload(readsValue: EntityId, project: ProjectState): {
|