@elyx-code/project-logic-tree 0.0.6196 → 0.0.6197
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.js +18641 -17718
- package/dist/index.umd.cjs +247 -247
- package/dist/tree/state/action-descriptor/action-descriptor.d.ts +4 -4
- package/dist/tree/state/argument-declaration/argument-declaration.d.ts +2 -2
- package/dist/tree/state/base.d.ts +12 -12
- package/dist/tree/state/break-statement/break-statement.d.ts +6 -6
- package/dist/tree/state/condition/condition.d.ts +9 -9
- package/dist/tree/state/continue-statement/continue-statement.d.ts +6 -6
- package/dist/tree/state/function-call/function-call.d.ts +13 -13
- package/dist/tree/state/function-declaration/function-declaration.d.ts +3 -3
- package/dist/tree/state/global-event/global-event.d.ts +3 -3
- package/dist/tree/state/input-map/input-map.d.ts +2 -2
- package/dist/tree/state/internal-call/internal-call.d.ts +13 -13
- package/dist/tree/state/loop/loop.d.ts +13 -13
- package/dist/tree/state/operation/operation.d.ts +13 -13
- package/dist/tree/state/output-map/output-map.d.ts +2 -2
- package/dist/tree/state/return-declaration/return-declaration.d.ts +2 -2
- package/dist/tree/state/return-statement/return-statement.d.ts +6 -6
- package/dist/tree/state/search/search.d.ts +14 -14
- package/dist/tree/state/variable-declaration/variable-declaration.d.ts +15 -15
- package/dist/tree/state/variable-instance/variable-instance.d.ts +15 -15
- package/dist/tree/utils/index.d.ts +3 -2
- package/package.json +1 -1
|
@@ -139,9 +139,9 @@ export declare class ActionDescriptorState extends VersionedState implements IAc
|
|
|
139
139
|
getErrors(): EntityError[];
|
|
140
140
|
getShallowErrors(): EntityError[];
|
|
141
141
|
clone(changeSet?: ChangeSet | null, parent?: DefinitionEntityState | PrimitiveEntityState | BuiltInBaseEntityState | DataTypeState | null, newId?: string | null, subscribe?: boolean): ActionDescriptorState;
|
|
142
|
-
addInput(argument: ValueDescriptorState): ActionDescriptorState;
|
|
143
|
-
removeInput(argument: ValueDescriptorState): ActionDescriptorState;
|
|
144
|
-
addOutput(output: ValueDescriptorState): ActionDescriptorState;
|
|
145
|
-
removeOutput(output: ValueDescriptorState): ActionDescriptorState;
|
|
142
|
+
addInput(argument: ValueDescriptorState, changeSet?: ChangeSet | null): ActionDescriptorState;
|
|
143
|
+
removeInput(argument: ValueDescriptorState, changeSet?: ChangeSet | null): ActionDescriptorState;
|
|
144
|
+
addOutput(output: ValueDescriptorState, changeSet?: ChangeSet | null): ActionDescriptorState;
|
|
145
|
+
removeOutput(output: ValueDescriptorState, changeSet?: ChangeSet | null): ActionDescriptorState;
|
|
146
146
|
}
|
|
147
147
|
export type ActionDescriptorPayloadUnion = ActionDescriptorState | ActionDescriptorTypesUnion;
|
|
@@ -81,8 +81,8 @@ export declare class ArgumentDeclarationState extends VersionedState implements
|
|
|
81
81
|
hydrateAncestors(): IChangeSet<ArgumentDeclarationState>;
|
|
82
82
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<ArgumentDeclarationState>;
|
|
83
83
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<ArgumentDeclarationState>;
|
|
84
|
-
addValueReader(entity: ValueReadingEntityState): ArgumentDeclarationState;
|
|
85
|
-
removeValueReader(valueReader: ValueReadingEntityState): ArgumentDeclarationState;
|
|
84
|
+
addValueReader(entity: ValueReadingEntityState, changeSet?: ChangeSet | null): ArgumentDeclarationState;
|
|
85
|
+
removeValueReader(valueReader: ValueReadingEntityState, changeSet?: ChangeSet | null): ArgumentDeclarationState;
|
|
86
86
|
setParent(parent: EntryPointEntityState, changeSet?: ChangeSet | null): ArgumentDeclarationState;
|
|
87
87
|
setImplements(implementsEntity: ValueDescriptorState | null, changeSet?: ChangeSet | null): ArgumentDeclarationState;
|
|
88
88
|
initChildren(changeSet?: ChangeSet | null): ArgumentDeclarationState;
|
|
@@ -123,33 +123,33 @@ export declare abstract class CallableEntityClass {
|
|
|
123
123
|
abstract calledBySuccess: CallerEntityState[];
|
|
124
124
|
abstract calledByError: CallerEntityState[];
|
|
125
125
|
abstract calledByEntry: CallerEntityState[];
|
|
126
|
-
abstract addSuccessCaller(caller: PassThroughCallableEntityClass): CallableEntityClass;
|
|
127
|
-
abstract addErrorCaller(caller: PassThroughCallableEntityClass): CallableEntityClass;
|
|
128
|
-
abstract addEntryCaller(caller: EntryPointEntityClass): CallableEntityClass;
|
|
129
|
-
abstract removeCaller(caller: CallerEntityState): CallableEntityClass;
|
|
126
|
+
abstract addSuccessCaller(caller: PassThroughCallableEntityClass, changeSet: ChangeSet | null, recalculateScope?: boolean): CallableEntityClass;
|
|
127
|
+
abstract addErrorCaller(caller: PassThroughCallableEntityClass, changeSet: ChangeSet | null, recalculateScope?: boolean): CallableEntityClass;
|
|
128
|
+
abstract addEntryCaller(caller: EntryPointEntityClass, changeSet: ChangeSet | null, recalculateScope?: boolean): CallableEntityClass;
|
|
129
|
+
abstract removeCaller(caller: CallerEntityState, changeSet: ChangeSet | null, recalculateScope?: boolean): CallableEntityClass;
|
|
130
130
|
}
|
|
131
131
|
export declare abstract class CallerEntityClass {
|
|
132
|
-
abstract removeCall(call: CallableEntityState): CallerEntityClass;
|
|
132
|
+
abstract removeCall(call: CallableEntityState, changeSet: ChangeSet | null, recalculateScope?: boolean): CallerEntityClass;
|
|
133
133
|
}
|
|
134
134
|
export declare abstract class EntryPointEntityClass extends CallerEntityClass {
|
|
135
135
|
abstract calls: CallableEntityState[];
|
|
136
|
-
abstract addCall(call: CallableEntityState): CallerEntityClass;
|
|
136
|
+
abstract addCall(call: CallableEntityState, changeSet: ChangeSet | null): CallerEntityClass;
|
|
137
137
|
}
|
|
138
138
|
export declare abstract class PassThroughCallableEntityClass extends CallerEntityClass {
|
|
139
139
|
abstract successCalls: CallableEntityState[];
|
|
140
140
|
abstract errorCalls: CallableEntityState[];
|
|
141
|
-
abstract addSuccessCall(call: CallableEntityState): CallerEntityClass;
|
|
142
|
-
abstract addErrorCall(call: CallableEntityState): CallerEntityClass;
|
|
143
|
-
abstract removeInput(input: InputMapState): PassThroughCallableEntityClass;
|
|
144
|
-
abstract addInput(input: InputMapState): PassThroughCallableEntityClass;
|
|
141
|
+
abstract addSuccessCall(call: CallableEntityState, changeSet: ChangeSet | null): CallerEntityClass;
|
|
142
|
+
abstract addErrorCall(call: CallableEntityState, changeSet: ChangeSet | null): CallerEntityClass;
|
|
143
|
+
abstract removeInput(input: InputMapState, changeSet: ChangeSet | null): PassThroughCallableEntityClass;
|
|
144
|
+
abstract addInput(input: InputMapState, changeSet: ChangeSet | null): PassThroughCallableEntityClass;
|
|
145
145
|
}
|
|
146
146
|
export declare abstract class EntityWithValueClass {
|
|
147
147
|
abstract getDefaultValue(): LiteralValueState | null;
|
|
148
148
|
}
|
|
149
149
|
export declare abstract class ValueReadingEntityClass {
|
|
150
150
|
abstract readsValue: ValueWritingEntityState | null;
|
|
151
|
-
abstract setValueWriter(writer: ValueWritingEntityState): ValueReadingEntityState;
|
|
152
|
-
abstract removeValueWriter(): ValueReadingEntityState;
|
|
151
|
+
abstract setValueWriter(writer: ValueWritingEntityState, changeSet: ChangeSet | null): ValueReadingEntityState;
|
|
152
|
+
abstract removeValueWriter(changeSet: ChangeSet | null): ValueReadingEntityState;
|
|
153
153
|
static initReadsValue(entity: ValueReadingEntityState): ValueWritingEntityState | null;
|
|
154
154
|
static hydrateReadsValue(entity: ValueReadingEntityState): ValueWritingEntityState | null;
|
|
155
155
|
}
|
|
@@ -78,12 +78,12 @@ export declare class BreakStatementState extends VersionedState implements IBrea
|
|
|
78
78
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<BreakStatementState>;
|
|
79
79
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<BreakStatementState>;
|
|
80
80
|
get calledBy(): CallerEntityState[];
|
|
81
|
-
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): BreakStatementState;
|
|
82
|
-
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): BreakStatementState;
|
|
83
|
-
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null): BreakStatementState;
|
|
84
|
-
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null): BreakStatementState;
|
|
85
|
-
addOutputDeclaration(output: ReturnDeclarationState): BreakStatementState;
|
|
86
|
-
removeOutputDeclaration(output: ReturnDeclarationState): BreakStatementState;
|
|
81
|
+
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): BreakStatementState;
|
|
82
|
+
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): BreakStatementState;
|
|
83
|
+
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): BreakStatementState;
|
|
84
|
+
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): BreakStatementState;
|
|
85
|
+
addOutputDeclaration(output: ReturnDeclarationState, changeSet?: ChangeSet | null): BreakStatementState;
|
|
86
|
+
removeOutputDeclaration(output: ReturnDeclarationState, changeSet?: ChangeSet | null): BreakStatementState;
|
|
87
87
|
setParent(parent: LoopState, changeSet?: ChangeSet | null): BreakStatementState;
|
|
88
88
|
initChildren(changeSet?: ChangeSet | null): BreakStatementState;
|
|
89
89
|
subscribe(): BreakStatementState;
|
|
@@ -80,17 +80,17 @@ export declare class ConditionState extends VersionedState implements ICondition
|
|
|
80
80
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<ConditionState>;
|
|
81
81
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<ConditionState>;
|
|
82
82
|
get calledBy(): CallerEntityState[];
|
|
83
|
-
removeInput(input: ActionInputMapState): ConditionState;
|
|
84
|
-
addInput(input: ActionInputMapState): ConditionState;
|
|
83
|
+
removeInput(input: ActionInputMapState, changeSet?: ChangeSet | null): ConditionState;
|
|
84
|
+
addInput(input: ActionInputMapState, changeSet?: ChangeSet | null): ConditionState;
|
|
85
85
|
addOutput(_: ActionOutputMapState): ConditionState;
|
|
86
86
|
removeOutput(_: ActionOutputMapState): ConditionState;
|
|
87
|
-
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): ConditionState;
|
|
88
|
-
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): ConditionState;
|
|
89
|
-
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null): ConditionState;
|
|
90
|
-
addErrorCall(call: CallableEntityState): ConditionState;
|
|
91
|
-
addSuccessCall(call: CallableEntityState): ConditionState;
|
|
92
|
-
removeCall(call: CallableEntityState): ConditionState;
|
|
93
|
-
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null): ConditionState;
|
|
87
|
+
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): ConditionState;
|
|
88
|
+
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): ConditionState;
|
|
89
|
+
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): ConditionState;
|
|
90
|
+
addErrorCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): ConditionState;
|
|
91
|
+
addSuccessCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): ConditionState;
|
|
92
|
+
removeCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): ConditionState;
|
|
93
|
+
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): ConditionState;
|
|
94
94
|
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): ConditionState;
|
|
95
95
|
setDeclaration(declaration: ActionDescriptorState): ConditionState;
|
|
96
96
|
initChildren(changeSet?: ChangeSet | null): ConditionState;
|
|
@@ -78,12 +78,12 @@ export declare class ContinueStatementState extends VersionedState implements IC
|
|
|
78
78
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<ContinueStatementState>;
|
|
79
79
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<ContinueStatementState>;
|
|
80
80
|
get calledBy(): CallerEntityState[];
|
|
81
|
-
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): ContinueStatementState;
|
|
82
|
-
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): ContinueStatementState;
|
|
83
|
-
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null): ContinueStatementState;
|
|
84
|
-
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null): ContinueStatementState;
|
|
85
|
-
addOutputDeclaration(output: ReturnDeclarationState): ContinueStatementState;
|
|
86
|
-
removeOutputDeclaration(output: ReturnDeclarationState): ContinueStatementState;
|
|
81
|
+
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): ContinueStatementState;
|
|
82
|
+
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): ContinueStatementState;
|
|
83
|
+
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): ContinueStatementState;
|
|
84
|
+
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): ContinueStatementState;
|
|
85
|
+
addOutputDeclaration(output: ReturnDeclarationState, changeSet?: ChangeSet | null): ContinueStatementState;
|
|
86
|
+
removeOutputDeclaration(output: ReturnDeclarationState, changeSet?: ChangeSet | null): ContinueStatementState;
|
|
87
87
|
setParent(parent: LoopState, changeSet?: ChangeSet | null): ContinueStatementState;
|
|
88
88
|
initChildren(changeSet?: ChangeSet | null): ContinueStatementState;
|
|
89
89
|
subscribe(): ContinueStatementState;
|
|
@@ -84,19 +84,19 @@ export declare class FunctionCallState extends VersionedState implements IFuncti
|
|
|
84
84
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<FunctionCallState>;
|
|
85
85
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<FunctionCallState>;
|
|
86
86
|
get calledBy(): CallerEntityState[];
|
|
87
|
-
removeInput(input: ActionInputMapState): FunctionCallState;
|
|
88
|
-
addInput(input: ActionInputMapState): FunctionCallState;
|
|
89
|
-
addOutput(output: ActionOutputMapState): FunctionCallState;
|
|
90
|
-
removeOutput(output: ActionOutputMapState): FunctionCallState;
|
|
91
|
-
addValueReader(entity: ValueReadingEntityState): FunctionCallState;
|
|
92
|
-
removeValueReader(valueReader: ValueReadingEntityState): FunctionCallState;
|
|
93
|
-
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): FunctionCallState;
|
|
94
|
-
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): FunctionCallState;
|
|
95
|
-
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null): FunctionCallState;
|
|
96
|
-
addErrorCall(call: CallableEntityState): FunctionCallState;
|
|
97
|
-
addSuccessCall(call: CallableEntityState): FunctionCallState;
|
|
98
|
-
removeCall(call: CallableEntityState): FunctionCallState;
|
|
99
|
-
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null): FunctionCallState;
|
|
87
|
+
removeInput(input: ActionInputMapState, changeSet?: ChangeSet | null): FunctionCallState;
|
|
88
|
+
addInput(input: ActionInputMapState, changeSet?: ChangeSet | null): FunctionCallState;
|
|
89
|
+
addOutput(output: ActionOutputMapState, changeSet?: ChangeSet | null): FunctionCallState;
|
|
90
|
+
removeOutput(output: ActionOutputMapState, changeSet?: ChangeSet | null): FunctionCallState;
|
|
91
|
+
addValueReader(entity: ValueReadingEntityState, changeSet?: ChangeSet | null): FunctionCallState;
|
|
92
|
+
removeValueReader(valueReader: ValueReadingEntityState, changeSet?: ChangeSet | null): FunctionCallState;
|
|
93
|
+
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): FunctionCallState;
|
|
94
|
+
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): FunctionCallState;
|
|
95
|
+
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): FunctionCallState;
|
|
96
|
+
addErrorCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): FunctionCallState;
|
|
97
|
+
addSuccessCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): FunctionCallState;
|
|
98
|
+
removeCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): FunctionCallState;
|
|
99
|
+
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): FunctionCallState;
|
|
100
100
|
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): FunctionCallState;
|
|
101
101
|
setDeclaration(declaration: FunctionDeclarationState): FunctionCallState;
|
|
102
102
|
initChildren(changeSet?: ChangeSet | null): FunctionCallState;
|
|
@@ -95,11 +95,11 @@ export declare class FunctionDeclarationState extends VersionedState implements
|
|
|
95
95
|
replaceDetachedChild(existingChild: CanvasEntityState, newChild: CanvasEntityState): FunctionDeclarationState;
|
|
96
96
|
subscribeDetachedChild(child: CanvasEntityState): FunctionDeclarationState;
|
|
97
97
|
addInputDeclaration(input: ArgumentDeclarationState, changeSet?: ChangeSet | null): FunctionDeclarationState;
|
|
98
|
-
removeInputDeclaration(input: ArgumentDeclarationState): FunctionDeclarationState;
|
|
98
|
+
removeInputDeclaration(input: ArgumentDeclarationState, changeSet?: ChangeSet | null): FunctionDeclarationState;
|
|
99
99
|
setParent(parent: ProjectState | InstalledProjectState | DefinitionEntityState | LoopState | BuiltInBaseEntityState | PrimitiveEntityState, changeSet?: ChangeSet | null): FunctionDeclarationState;
|
|
100
100
|
setImplements(implementsEntity: ActionDescriptorState | null, changeSet?: ChangeSet | null): FunctionDeclarationState;
|
|
101
|
-
addCall(entity: CallableEntityState): FunctionDeclarationState;
|
|
102
|
-
removeCall(entity: CallableEntityState): FunctionDeclarationState;
|
|
101
|
+
addCall(entity: CallableEntityState, changeSet?: ChangeSet | null): FunctionDeclarationState;
|
|
102
|
+
removeCall(entity: CallableEntityState, changeSet?: ChangeSet | null): FunctionDeclarationState;
|
|
103
103
|
initChildren(changeSet?: ChangeSet | null): FunctionDeclarationState;
|
|
104
104
|
subscribe(): FunctionDeclarationState;
|
|
105
105
|
unsubscribe(): FunctionDeclarationState;
|
|
@@ -83,10 +83,10 @@ export declare class GlobalEventState extends VersionedState implements IGlobalE
|
|
|
83
83
|
subscribeDetachedChild(child: CanvasEntityState): GlobalEventState;
|
|
84
84
|
setParent(parent: ProjectState | InstalledProjectState, changeSet?: ChangeSet | null): GlobalEventState;
|
|
85
85
|
setImplements(implementsEntity: ActionDescriptorState, changeSet?: ChangeSet | null): GlobalEventState;
|
|
86
|
-
addCall(entity: CallableEntityState): GlobalEventState;
|
|
87
|
-
removeCall(entity: CallableEntityState): GlobalEventState;
|
|
86
|
+
addCall(entity: CallableEntityState, changeSet?: ChangeSet | null): GlobalEventState;
|
|
87
|
+
removeCall(entity: CallableEntityState, changeSet?: ChangeSet | null): GlobalEventState;
|
|
88
88
|
addInputDeclaration(input: ArgumentDeclarationState, changeSet?: ChangeSet | null): GlobalEventState;
|
|
89
|
-
removeInputDeclaration(input: ArgumentDeclarationState): GlobalEventState;
|
|
89
|
+
removeInputDeclaration(input: ArgumentDeclarationState, changeSet?: ChangeSet | null): GlobalEventState;
|
|
90
90
|
initChildren(changeSet?: ChangeSet | null): GlobalEventState;
|
|
91
91
|
subscribe(): GlobalEventState;
|
|
92
92
|
unsubscribe(): GlobalEventState;
|
|
@@ -94,8 +94,8 @@ export declare class InputMapState extends VersionedState implements IInputMap,
|
|
|
94
94
|
removeDataType(): InputMapState;
|
|
95
95
|
setDeclaration(declaration: ArgumentDeclarationState | PropertyState | ValueDescriptorState | null): InputMapState;
|
|
96
96
|
initChildren(changeSet?: ChangeSet | null): InputMapState;
|
|
97
|
-
setValueWriter(valueWriter: ValueWritingEntityState): InputMapState;
|
|
98
|
-
removeValueWriter(): InputMapState;
|
|
97
|
+
setValueWriter(valueWriter: ValueWritingEntityState | null, changeSet?: ChangeSet | null): InputMapState;
|
|
98
|
+
removeValueWriter(changeSet?: ChangeSet | null): InputMapState;
|
|
99
99
|
subscribe(): InputMapState;
|
|
100
100
|
unsubscribe(): InputMapState;
|
|
101
101
|
metaSync(data: Partial<IInputMap_meta | IInputMap | IInputMapTransfer | IInputMapShallowTransfer>, changeSet?: ChangeSet | null): InputMapState;
|
|
@@ -83,19 +83,19 @@ export declare class InternalCallState extends VersionedState implements IIntern
|
|
|
83
83
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<InternalCallState>;
|
|
84
84
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<InternalCallState>;
|
|
85
85
|
get calledBy(): CallerEntityState[];
|
|
86
|
-
removeInput(input: ActionInputMapState): InternalCallState;
|
|
87
|
-
addInput(input: ActionInputMapState): InternalCallState;
|
|
88
|
-
addOutput(output: ActionOutputMapState): InternalCallState;
|
|
89
|
-
removeOutput(output: ActionOutputMapState): InternalCallState;
|
|
90
|
-
addValueReader(entity: ValueReadingEntityState): InternalCallState;
|
|
91
|
-
removeValueReader(valueReader: ValueReadingEntityState): InternalCallState;
|
|
92
|
-
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): InternalCallState;
|
|
93
|
-
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): InternalCallState;
|
|
94
|
-
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null): InternalCallState;
|
|
95
|
-
addErrorCall(call: CallableEntityState): InternalCallState;
|
|
96
|
-
addSuccessCall(call: CallableEntityState): InternalCallState;
|
|
97
|
-
removeCall(call: CallableEntityState): InternalCallState;
|
|
98
|
-
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null): InternalCallState;
|
|
86
|
+
removeInput(input: ActionInputMapState, changeSet?: ChangeSet | null): InternalCallState;
|
|
87
|
+
addInput(input: ActionInputMapState, changeSet?: ChangeSet | null): InternalCallState;
|
|
88
|
+
addOutput(output: ActionOutputMapState, changeSet?: ChangeSet | null): InternalCallState;
|
|
89
|
+
removeOutput(output: ActionOutputMapState, changeSet?: ChangeSet | null): InternalCallState;
|
|
90
|
+
addValueReader(entity: ValueReadingEntityState, changeSet?: ChangeSet | null): InternalCallState;
|
|
91
|
+
removeValueReader(valueReader: ValueReadingEntityState, changeSet?: ChangeSet | null): InternalCallState;
|
|
92
|
+
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): InternalCallState;
|
|
93
|
+
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): InternalCallState;
|
|
94
|
+
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): InternalCallState;
|
|
95
|
+
addErrorCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): InternalCallState;
|
|
96
|
+
addSuccessCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): InternalCallState;
|
|
97
|
+
removeCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): InternalCallState;
|
|
98
|
+
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): InternalCallState;
|
|
99
99
|
setParent(parent: VariableState, changeSet?: ChangeSet | null): InternalCallState;
|
|
100
100
|
setDeclaration(declaration: FunctionDeclarationState): InternalCallState;
|
|
101
101
|
initChildren(changeSet?: ChangeSet | null): InternalCallState;
|
|
@@ -106,20 +106,20 @@ export declare class LoopState extends VersionedState implements ILoop, BaseStat
|
|
|
106
106
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<LoopState>;
|
|
107
107
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<LoopState>;
|
|
108
108
|
get calledBy(): CallerEntityState[];
|
|
109
|
-
removeInput(input: ActionInputMapState): LoopState;
|
|
110
|
-
addInput(input: ActionInputMapState): LoopState;
|
|
111
|
-
addOutputDeclaration(outputDeclaration: ValueDescriptorState): LoopState;
|
|
112
|
-
removeOutputDeclaration(outputDeclaration: ValueDescriptorState): LoopState;
|
|
113
|
-
addOutput(output: ActionOutputMapState): LoopState;
|
|
114
|
-
removeOutput(output: ActionOutputMapState): LoopState;
|
|
109
|
+
removeInput(input: ActionInputMapState, changeSet?: ChangeSet | null): LoopState;
|
|
110
|
+
addInput(input: ActionInputMapState, changeSet?: ChangeSet | null): LoopState;
|
|
111
|
+
addOutputDeclaration(outputDeclaration: ValueDescriptorState, changeSet?: ChangeSet | null): LoopState;
|
|
112
|
+
removeOutputDeclaration(outputDeclaration: ValueDescriptorState, changeSet?: ChangeSet | null): LoopState;
|
|
113
|
+
addOutput(output: ActionOutputMapState, changeSet?: ChangeSet | null): LoopState;
|
|
114
|
+
removeOutput(output: ActionOutputMapState, changeSet?: ChangeSet | null): LoopState;
|
|
115
115
|
setBody(body: FunctionDeclarationState): LoopState;
|
|
116
|
-
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): LoopState;
|
|
117
|
-
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): LoopState;
|
|
118
|
-
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null): LoopState;
|
|
119
|
-
addErrorCall(call: CallableEntityState): LoopState;
|
|
120
|
-
addSuccessCall(call: CallableEntityState): LoopState;
|
|
121
|
-
removeCall(call: CallableEntityState): LoopState;
|
|
122
|
-
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null): LoopState;
|
|
116
|
+
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): LoopState;
|
|
117
|
+
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): LoopState;
|
|
118
|
+
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): LoopState;
|
|
119
|
+
addErrorCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): LoopState;
|
|
120
|
+
addSuccessCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): LoopState;
|
|
121
|
+
removeCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): LoopState;
|
|
122
|
+
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): LoopState;
|
|
123
123
|
replaceDetachedChild(existingChild: CanvasEntityState, newChild: CanvasEntityState): LoopState;
|
|
124
124
|
subscribeDetachedChild(child: CanvasEntityState): LoopState;
|
|
125
125
|
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): LoopState;
|
|
@@ -83,19 +83,19 @@ export declare class OperationState extends VersionedState implements IOperation
|
|
|
83
83
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<OperationState>;
|
|
84
84
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<OperationState>;
|
|
85
85
|
get calledBy(): CallerEntityState[];
|
|
86
|
-
removeInput(input: ActionInputMapState): OperationState;
|
|
87
|
-
addInput(input: ActionInputMapState): OperationState;
|
|
88
|
-
addOutput(output: ActionOutputMapState): OperationState;
|
|
89
|
-
removeOutput(output: ActionOutputMapState): OperationState;
|
|
90
|
-
addValueReader(entity: ValueReadingEntityState): OperationState;
|
|
91
|
-
removeValueReader(valueReader: ValueReadingEntityState): OperationState;
|
|
92
|
-
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): OperationState;
|
|
93
|
-
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): OperationState;
|
|
94
|
-
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null): OperationState;
|
|
95
|
-
addErrorCall(call: CallableEntityState): OperationState;
|
|
96
|
-
addSuccessCall(call: CallableEntityState): OperationState;
|
|
97
|
-
removeCall(call: CallableEntityState): OperationState;
|
|
98
|
-
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null): OperationState;
|
|
86
|
+
removeInput(input: ActionInputMapState, changeSet?: ChangeSet | null): OperationState;
|
|
87
|
+
addInput(input: ActionInputMapState, changeSet?: ChangeSet | null): OperationState;
|
|
88
|
+
addOutput(output: ActionOutputMapState, changeSet?: ChangeSet | null): OperationState;
|
|
89
|
+
removeOutput(output: ActionOutputMapState, changeSet?: ChangeSet | null): OperationState;
|
|
90
|
+
addValueReader(entity: ValueReadingEntityState, changeSet?: ChangeSet | null): OperationState;
|
|
91
|
+
removeValueReader(valueReader: ValueReadingEntityState, changeSet?: ChangeSet | null): OperationState;
|
|
92
|
+
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): OperationState;
|
|
93
|
+
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): OperationState;
|
|
94
|
+
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): OperationState;
|
|
95
|
+
addErrorCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): OperationState;
|
|
96
|
+
addSuccessCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): OperationState;
|
|
97
|
+
removeCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): OperationState;
|
|
98
|
+
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): OperationState;
|
|
99
99
|
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): OperationState;
|
|
100
100
|
setDeclaration(declaration: ActionDescriptorState): OperationState;
|
|
101
101
|
initChildren(changeSet?: ChangeSet | null): OperationState;
|
|
@@ -82,8 +82,8 @@ export declare class OutputMapState extends VersionedState implements IOutputMap
|
|
|
82
82
|
hydrateAncestors(): IChangeSet<OutputMapState>;
|
|
83
83
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<OutputMapState>;
|
|
84
84
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<OutputMapState>;
|
|
85
|
-
addValueReader(entity: ValueReadingEntityState): OutputMapState;
|
|
86
|
-
removeValueReader(valueReader: ValueReadingEntityState): OutputMapState;
|
|
85
|
+
addValueReader(entity: ValueReadingEntityState, changeSet?: ChangeSet | null): OutputMapState;
|
|
86
|
+
removeValueReader(valueReader: ValueReadingEntityState, changeSet?: ChangeSet | null): OutputMapState;
|
|
87
87
|
setParent(parent: PassThroughCallableEntityWithOutputsState, changeSet?: ChangeSet | null): OutputMapState;
|
|
88
88
|
setDataType(dataType: DataTypeState): OutputMapState;
|
|
89
89
|
removeDataType(): OutputMapState;
|
|
@@ -89,8 +89,8 @@ export declare class ReturnDeclarationState extends VersionedState implements IR
|
|
|
89
89
|
setParent(parent: ReturnStatementState | BreakStatementState | ContinueStatementState, changeSet?: ChangeSet | null): ReturnDeclarationState;
|
|
90
90
|
setImplements(implementsEntity: ValueDescriptorState | null, changeSet?: ChangeSet | null): ReturnDeclarationState;
|
|
91
91
|
initChildren(changeSet?: ChangeSet | null): ReturnDeclarationState;
|
|
92
|
-
setValueWriter(valueWriter: ValueWritingEntityState): ReturnDeclarationState;
|
|
93
|
-
removeValueWriter(): ReturnDeclarationState;
|
|
92
|
+
setValueWriter(valueWriter: ValueWritingEntityState | null, changeSet?: ChangeSet | null): ReturnDeclarationState;
|
|
93
|
+
removeValueWriter(changeSet?: ChangeSet | null): ReturnDeclarationState;
|
|
94
94
|
subscribe(): ReturnDeclarationState;
|
|
95
95
|
unsubscribe(): ReturnDeclarationState;
|
|
96
96
|
metaSync(data: Partial<IReturnDeclaration_meta | IReturnDeclaration | IReturnDeclarationTransfer | IReturnDeclarationShallowTransfer>, changeSet?: ChangeSet | null): ReturnDeclarationState;
|
|
@@ -77,12 +77,12 @@ export declare class ReturnStatementState extends VersionedState implements IRet
|
|
|
77
77
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<ReturnStatementState>;
|
|
78
78
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<ReturnStatementState>;
|
|
79
79
|
get calledBy(): CallerEntityState[];
|
|
80
|
-
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): ReturnStatementState;
|
|
81
|
-
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): ReturnStatementState;
|
|
82
|
-
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null): ReturnStatementState;
|
|
83
|
-
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null): ReturnStatementState;
|
|
84
|
-
addOutputDeclaration(output: ReturnDeclarationState): ReturnStatementState;
|
|
85
|
-
removeOutputDeclaration(output: ReturnDeclarationState): ReturnStatementState;
|
|
80
|
+
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): ReturnStatementState;
|
|
81
|
+
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): ReturnStatementState;
|
|
82
|
+
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): ReturnStatementState;
|
|
83
|
+
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): ReturnStatementState;
|
|
84
|
+
addOutputDeclaration(output: ReturnDeclarationState, changeSet?: ChangeSet | null): ReturnStatementState;
|
|
85
|
+
removeOutputDeclaration(output: ReturnDeclarationState, changeSet?: ChangeSet | null): ReturnStatementState;
|
|
86
86
|
setParent(parent: EntityWithLogicScopeState, changeSet?: ChangeSet | null): ReturnStatementState;
|
|
87
87
|
initChildren(changeSet?: ChangeSet | null): ReturnStatementState;
|
|
88
88
|
subscribe(): ReturnStatementState;
|
|
@@ -87,21 +87,21 @@ export declare class SearchState extends VersionedState implements ISearch, Base
|
|
|
87
87
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<SearchState>;
|
|
88
88
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<SearchState>;
|
|
89
89
|
get calledBy(): CallerEntityState[];
|
|
90
|
-
removeInput(input: ActionInputMapState): SearchState;
|
|
91
|
-
addInput(input: ActionInputMapState): SearchState;
|
|
90
|
+
removeInput(input: ActionInputMapState, changeSet?: ChangeSet | null): SearchState;
|
|
91
|
+
addInput(input: ActionInputMapState, changeSet?: ChangeSet | null): SearchState;
|
|
92
92
|
addInputDeclaration(inputDeclaration: ValueDescriptorState, changeSet?: ChangeSet | null): SearchState;
|
|
93
|
-
removeInputDeclaration(inputDeclaration: ValueDescriptorState): SearchState;
|
|
94
|
-
addOutputDeclaration(outputDeclaration: ValueDescriptorState): SearchState;
|
|
95
|
-
removeOutputDeclaration(outputDeclaration: ValueDescriptorState): SearchState;
|
|
96
|
-
addOutput(output: ActionOutputMapState): SearchState;
|
|
97
|
-
removeOutput(output: ActionOutputMapState): SearchState;
|
|
98
|
-
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): SearchState;
|
|
99
|
-
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): SearchState;
|
|
100
|
-
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null): SearchState;
|
|
101
|
-
addErrorCall(call: CallableEntityState): SearchState;
|
|
102
|
-
addSuccessCall(call: CallableEntityState): SearchState;
|
|
103
|
-
removeCall(call: CallableEntityState): SearchState;
|
|
104
|
-
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null): SearchState;
|
|
93
|
+
removeInputDeclaration(inputDeclaration: ValueDescriptorState, changeSet?: ChangeSet | null): SearchState;
|
|
94
|
+
addOutputDeclaration(outputDeclaration: ValueDescriptorState, changeSet?: ChangeSet | null): SearchState;
|
|
95
|
+
removeOutputDeclaration(outputDeclaration: ValueDescriptorState, changeSet?: ChangeSet | null): SearchState;
|
|
96
|
+
addOutput(output: ActionOutputMapState, changeSet?: ChangeSet | null): SearchState;
|
|
97
|
+
removeOutput(output: ActionOutputMapState, changeSet?: ChangeSet | null): SearchState;
|
|
98
|
+
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): SearchState;
|
|
99
|
+
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): SearchState;
|
|
100
|
+
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): SearchState;
|
|
101
|
+
addErrorCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): SearchState;
|
|
102
|
+
addSuccessCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): SearchState;
|
|
103
|
+
removeCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): SearchState;
|
|
104
|
+
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): SearchState;
|
|
105
105
|
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): SearchState;
|
|
106
106
|
initChildren(changeSet?: ChangeSet | null): SearchState;
|
|
107
107
|
subscribe(): SearchState;
|
|
@@ -101,23 +101,23 @@ export declare class VariableDeclarationState extends VersionedState implements
|
|
|
101
101
|
get unusedOutputs(): VariableOutputMapState[];
|
|
102
102
|
get usedInternalCalls(): InternalCallState[];
|
|
103
103
|
get unusedInternalCalls(): InternalCallState[];
|
|
104
|
-
removeInput(input: VariableInputMapState): VariableDeclarationState;
|
|
105
|
-
addInput(input: VariableInputMapState): VariableDeclarationState;
|
|
106
|
-
addOutput(output: VariableOutputMapState): VariableDeclarationState;
|
|
107
|
-
removeOutput(output: VariableOutputMapState): VariableDeclarationState;
|
|
108
|
-
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
109
|
-
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
110
|
-
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
111
|
-
addErrorCall(call: CallableEntityState): VariableDeclarationState;
|
|
112
|
-
addSuccessCall(call: CallableEntityState): VariableDeclarationState;
|
|
113
|
-
removeCall(call: CallableEntityState): VariableDeclarationState;
|
|
114
|
-
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
115
|
-
addValueReader(entity: ValueReadingEntityState): VariableDeclarationState;
|
|
116
|
-
removeValueReader(valueReader: ValueReadingEntityState): VariableDeclarationState;
|
|
104
|
+
removeInput(input: VariableInputMapState, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
105
|
+
addInput(input: VariableInputMapState, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
106
|
+
addOutput(output: VariableOutputMapState, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
107
|
+
removeOutput(output: VariableOutputMapState, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
108
|
+
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableDeclarationState;
|
|
109
|
+
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableDeclarationState;
|
|
110
|
+
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableDeclarationState;
|
|
111
|
+
addErrorCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableDeclarationState;
|
|
112
|
+
addSuccessCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableDeclarationState;
|
|
113
|
+
removeCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableDeclarationState;
|
|
114
|
+
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableDeclarationState;
|
|
115
|
+
addValueReader(entity: ValueReadingEntityState, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
116
|
+
removeValueReader(valueReader: ValueReadingEntityState, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
117
117
|
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
118
118
|
initChildren(changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
119
|
-
setValueWriter(valueWriter: ValueWritingEntityState): VariableDeclarationState;
|
|
120
|
-
removeValueWriter(): VariableDeclarationState;
|
|
119
|
+
setValueWriter(valueWriter: ValueWritingEntityState | null, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
120
|
+
removeValueWriter(changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
121
121
|
subscribe(): VariableDeclarationState;
|
|
122
122
|
unsubscribe(): VariableDeclarationState;
|
|
123
123
|
getMasterInputWithValueWritterFromAllInstances(input: VariableInputMapState): VariableInputMapState;
|
|
@@ -97,23 +97,23 @@ export declare class VariableInstanceState extends VersionedState implements IVa
|
|
|
97
97
|
get unusedOutputs(): VariableOutputMapState[];
|
|
98
98
|
get usedInternalCalls(): InternalCallState[];
|
|
99
99
|
get unusedInternalCalls(): InternalCallState[];
|
|
100
|
-
removeInput(input: VariableInputMapState): VariableInstanceState;
|
|
101
|
-
addInput(input: VariableInputMapState): VariableInstanceState;
|
|
102
|
-
addOutput(output: VariableOutputMapState): VariableInstanceState;
|
|
103
|
-
removeOutput(output: VariableOutputMapState): VariableInstanceState;
|
|
104
|
-
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
105
|
-
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
106
|
-
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
107
|
-
addErrorCall(call: CallableEntityState): VariableInstanceState;
|
|
108
|
-
addSuccessCall(call: CallableEntityState): VariableInstanceState;
|
|
109
|
-
removeCall(call: CallableEntityState): VariableInstanceState;
|
|
110
|
-
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
111
|
-
addValueReader(entity: ValueReadingEntityState): VariableInstanceState;
|
|
100
|
+
removeInput(input: VariableInputMapState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
101
|
+
addInput(input: VariableInputMapState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
102
|
+
addOutput(output: VariableOutputMapState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
103
|
+
removeOutput(output: VariableOutputMapState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
104
|
+
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableInstanceState;
|
|
105
|
+
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableInstanceState;
|
|
106
|
+
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableInstanceState;
|
|
107
|
+
addErrorCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableInstanceState;
|
|
108
|
+
addSuccessCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableInstanceState;
|
|
109
|
+
removeCall(call: CallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableInstanceState;
|
|
110
|
+
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): VariableInstanceState;
|
|
111
|
+
addValueReader(entity: ValueReadingEntityState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
112
112
|
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
113
113
|
initChildren(changeSet?: ChangeSet | null): VariableInstanceState;
|
|
114
|
-
setValueWriter(valueWriter: ValueWritingEntityState): VariableInstanceState;
|
|
115
|
-
removeValueWriter(): VariableInstanceState;
|
|
116
|
-
removeValueReader(valueReader: ValueReadingEntityState): VariableInstanceState;
|
|
114
|
+
setValueWriter(valueWriter: ValueWritingEntityState | null, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
115
|
+
removeValueWriter(changeSet?: ChangeSet | null): VariableInstanceState;
|
|
116
|
+
removeValueReader(valueReader: ValueReadingEntityState, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
117
117
|
subscribe(): VariableInstanceState;
|
|
118
118
|
unsubscribe(): VariableInstanceState;
|
|
119
119
|
metaSync(data: Partial<IVariableInstance_meta | IVariableInstance | IVariableInstanceTransfer | IVariableInstanceShallowTransfer>, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseEntityNames, ElementGenerationTarget, ElementShallowTransfer, ElementTransfer, EntityType, Element, IGenericReference, EntityId,
|
|
1
|
+
import { BaseEntityNames, ElementGenerationTarget, ElementShallowTransfer, ElementTransfer, EntityType, Element, IGenericReference, EntityId, ValueReadingEntity, IActionDescriptor, IActionDescriptorTransfer, IArgumentDeclaration, IArgumentDeclarationTransfer, DraggableElement, Reference, IBreakStatement, IBreakStatementTransfer, IBuiltInBaseEntity, IBuiltInBaseEntityTransfer, ICondition, IConditionTransfer, IContinueStatement, IContinueStatementTransfer, CallableEntity, CallableEntityTransfer, CallerEntity, CallerEntityTransfer, IDefinitionEntity, IDefinitionEntityTransfer, IDataType, IDataTypeTransfer, IFunctionCall, IFunctionCallTransfer, IFunctionDeclaration, IFunctionDeclarationTransfer, IGlobalEvent, IGlobalEventTransfer, IInputMap, IInputMapTransfer, IInstalledProject, IInstalledProjectTransfer, IInternalCall, IInternalCallTransfer, ILiteralValue, ILiteralValueTransfer, ILoop, ILoopTransfer, IOperation, IOperationTransfer, IOutputMap, IOutputMapTransfer, IPrimitiveEntity, IPrimitiveEntityTransfer, IProject, IProjectTransfer, IProperty, IPropertyTransfer, IReturnDeclaration, IReturnDeclarationTransfer, IReturnStatement, IReturnStatementTransfer, ISearch, ISearchTransfer, IValueDescriptor, IValueDescriptorTransfer, IVariableDeclarationTransfer, IVariableDeclaration, IVariableInstance, IVariableInstanceTransfer, DraggableElementTransfer, ValueReadingEntityTransfer, IActionDescriptorShallowTransfer, IDataTypeShallowTransfer, IDefinitionEntityShallowTransfer, IFunctionDeclarationShallowTransfer, IInstalledProjectShallowTransfer, ILoopShallowTransfer, IOperationShallowTransfer, ILiteralValueShallowTransfer, IPrimitiveEntityShallowTransfer, IProjectShallowTransfer, IPropertyShallowTransfer, IReturnDeclarationShallowTransfer, IReturnStatementShallowTransfer, ISearchShallowTransfer, IValueDescriptorShallowTransfer, IVariableDeclarationShallowTransfer, IVariableInstanceShallowTransfer, IFunctionCallShallowTransfer, IGlobalEventShallowTransfer, IInputMapShallowTransfer, IInternalCallShallowTransfer, CallableEntityShallowTransfer, IOutputMapShallowTransfer, IConditionShallowTransfer, IContinueStatementShallowTransfer, IBreakStatementShallowTransfer, IArgumentDeclarationShallowTransfer, IBuiltInBaseEntityShallowTransfer, DraggableElementShallowTransfer } from '../../definitions';
|
|
2
2
|
import { DraggableCallableEntityState, CanvasEntityState, EntityState, EntityWithLogicScopeState, EntryPointEntityState, DraggableExecutableEntityState, DraggablePassThroughCallableEntityState, ValueReadingEntityState, ValueWritingEntityState, EntityWithValueState, VariableState, BuiltInBaseEntityState, TerminationState, InstalledProjectState, ExecutableEntityState, ValueDescriptorState, CallableEntityState, CallerEntityState, PassThroughCallableEntityState, PrimitiveEntityState, InternalCallState, IChangeSet, IRecordChangeSet, ChangeSet } from '../state';
|
|
3
3
|
import { FunctionCallState } from '../state/function-call';
|
|
4
4
|
import { InputMapState } from '../state/input-map';
|
|
@@ -30,6 +30,8 @@ export declare function flattenCanvasAncestorsUntil(entity: CanvasEntityState, u
|
|
|
30
30
|
list: CanvasEntityState[];
|
|
31
31
|
last: CanvasEntityState | null;
|
|
32
32
|
};
|
|
33
|
+
export declare function calculateNewParentBasedOnCallers(self: CallableEntityState): EntityWithLogicScopeState | ProjectState;
|
|
34
|
+
export declare function applyNewScope(self: CallableEntityState, changeSet: ChangeSet | null): void;
|
|
33
35
|
export declare function getCommonChildren(entityA: CanvasEntityState, entityB: CanvasEntityState, seenEntities?: Set<EntityId>): CanvasEntityState[];
|
|
34
36
|
export declare function checkIsBranchDependentButNotDirectlyOnBranch(branchA: CanvasEntityState, branchB: CanvasEntityState): boolean;
|
|
35
37
|
export declare function checkIsBranchDependentOnBranch(branchA: CanvasEntityState, branchB: CanvasEntityState): boolean;
|
|
@@ -255,7 +257,6 @@ export declare function getHighestScope(scopeOwnerA: EntityWithLogicScopeState,
|
|
|
255
257
|
export declare function getDeepestScope(scopeOwners: EntityWithLogicScopeState[]): EntityWithLogicScopeState | null;
|
|
256
258
|
export declare function toEntityState(entity: string | EntityState | IGenericReference | Element | ElementTransfer | ElementShallowTransfer | ElementGenerationTarget, project: ProjectState): EntityState | null;
|
|
257
259
|
export declare function getBuiltInEntityOwner(entity: EntityState): EntityState | null;
|
|
258
|
-
export declare function updateValueReader(data: Partial<ValueReadingEntityTypesUnion>, self: ValueReadingEntityState): ValueReadingEntityState;
|
|
259
260
|
export declare function checkIsCallableEntityReachable(entity: CallableEntityState): {
|
|
260
261
|
reachable: boolean;
|
|
261
262
|
entryPoint: EntryPointEntityState;
|
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.6197",
|
|
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",
|