@elyx-code/project-logic-tree 0.0.6183 → 0.0.6185
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.
|
@@ -18,6 +18,7 @@ import { VersionedState } from '../version';
|
|
|
18
18
|
import { ChangeSet, IChangeSet } from '../change-set';
|
|
19
19
|
import { InstalledProjectState } from '../installed-project';
|
|
20
20
|
import { FunctionDeclarationState } from '../function-declaration';
|
|
21
|
+
import { GlobalEventState } from '../global-event';
|
|
21
22
|
|
|
22
23
|
export declare enum ExecutionTerminationType {
|
|
23
24
|
Success = "success",
|
|
@@ -123,10 +124,11 @@ export declare class ActionDescriptorState extends VersionedState implements IAc
|
|
|
123
124
|
toGenerationTarget(): IActionDescriptorGenerationTarget;
|
|
124
125
|
toFlatGenerationTarget(seenEntities?: Set<EntityId>): ElementGenerationTarget[];
|
|
125
126
|
asFunctionDeclarationTransfer(newEntityId: string, changeSet?: ChangeSet | null): IFunctionDeclarationTransfer;
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
127
|
+
implementAsGlobalEvent(changeSet?: ChangeSet | null, parent?: ProjectState, newEntityId?: EntityId): GlobalEventState;
|
|
128
|
+
implementAsFunctionDeclaration(changeSet?: ChangeSet | null, parent?: ProjectState | InstalledProjectState | DefinitionEntityState | LoopState | BuiltInBaseEntityState | PrimitiveEntityState, newEntityId?: EntityId): FunctionDeclarationState;
|
|
129
|
+
implementAsLoop(changeSet?: ChangeSet | null, parent?: EntityWithLogicScopeState, newEntityId?: EntityId): LoopState;
|
|
130
|
+
implementAsOperation(changeSet?: ChangeSet | null, parent?: EntityWithLogicScopeState, newEntityId?: string): OperationState;
|
|
131
|
+
implementAsCondition(changeSet?: ChangeSet | null, parent?: EntityWithLogicScopeState, newEntityId?: EntityId): ConditionState;
|
|
130
132
|
clearErrors(): ActionDescriptorState;
|
|
131
133
|
validate(): {
|
|
132
134
|
success: boolean;
|
|
@@ -134,8 +134,8 @@ export declare class FunctionDeclarationState extends VersionedState implements
|
|
|
134
134
|
clone(changeSet?: ChangeSet | null, parent?: InstalledProjectState | ProjectState | DefinitionEntityState | LoopState | null, newId?: string | null, subscribe?: boolean, cloneBody?: boolean): FunctionDeclarationState;
|
|
135
135
|
getVariableInstances(): VariableInstanceState[];
|
|
136
136
|
getArgument(id: EntityId): ArgumentDeclarationState | null;
|
|
137
|
-
createCall(parent?: EntityWithLogicScopeState | ProjectState, overrides?: Partial<IFunctionCallTransfer>): FunctionCallState;
|
|
138
|
-
createInternalCall(parent: VariableState, overrides?: Partial<IInternalCallTransfer>): InternalCallState;
|
|
137
|
+
createCall(changeSet?: ChangeSet | null, parent?: EntityWithLogicScopeState | ProjectState, overrides?: Partial<IFunctionCallTransfer>): FunctionCallState;
|
|
138
|
+
createInternalCall(changeSet: (ChangeSet | null) | undefined, parent: VariableState, overrides?: Partial<IInternalCallTransfer>): InternalCallState;
|
|
139
139
|
addReturnStatement(statement: ReturnStatementState): FunctionDeclarationState;
|
|
140
140
|
removeReturnStatement(statement: ReturnStatementState): FunctionDeclarationState;
|
|
141
141
|
getUniqueReturnDeclarations(): ReturnDeclarationState[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elyx-code/project-logic-tree",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6185",
|
|
4
4
|
"author": "Sergio Herrero",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "An installable module which contains the type definitions and ephemeral state management for a projects' logic tree data structure",
|