@supernova-studio/pulsar-core 1.0.41 → 1.0.43
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/build/browser/pulsar-core-dev.js +39 -107
- package/build/browser/pulsar-core-dev.js.map +1 -1
- package/build/browser/pulsar-core.js +2 -2
- package/build/browser/pulsar-core.js.map +1 -1
- package/build/main/pulsar-core.js +39 -107
- package/build/main/pulsar-core.js.map +1 -1
- package/build/typings/core/src/browser-bundle.d.ts +1 -0
- package/build/typings/core/src/engine/ExportEngine.d.ts +17 -0
- package/build/typings/core/src/engine/configuration/ExportConfiguration.d.ts +18 -0
- package/build/typings/core/src/engine/generation/ExportDataProducer.d.ts +15 -0
- package/build/typings/core/src/engine/generation/queue/ExportDataQueue.d.ts +16 -0
- package/build/typings/core/src/engine/generation/queue/ExportDataQueueOperation.d.ts +6 -0
- package/build/typings/core/src/engine/generation/requests/ExportDataEmittedResponseProducer.d.ts +7 -0
- package/build/typings/core/src/engine/generation/requests/ExportDataPrimaryResponseProducer.d.ts +7 -0
- package/build/typings/core/src/engine/generation/requests/ExportDataRequest.d.ts +19 -0
- package/build/typings/core/src/engine/generation/requests/ExportDataRequestDataStore.d.ts +16 -0
- package/build/typings/core/src/engine/generation/requests/ExportDataRequestNameStore.d.ts +22 -0
- package/build/typings/core/src/engine/generation/requests/ExportDataRequestProducer.d.ts +16 -0
- package/build/typings/core/src/engine/generation/requests/ExportDataResponse.d.ts +13 -0
- package/build/typings/core/src/engine/generation/requests/specific/dsm/ExportDataRequestBlueprint.d.ts +14 -0
- package/build/typings/core/src/engine/generation/requests/specific/dsm/ExportDataRequestDSMComponent.d.ts +13 -0
- package/build/typings/core/src/engine/generation/requests/specific/dsm/ExportDataRequestDSMComponentGroup.d.ts +13 -0
- package/build/typings/core/src/engine/generation/requests/specific/dsm/ExportDataRequestDSMGeneric.d.ts +11 -0
- package/build/typings/core/src/engine/generation/requests/specific/dsm/ExportDataRequestDSMTheme.d.ts +13 -0
- package/build/typings/core/src/engine/generation/requests/specific/dsm/ExportDataRequestDSMTokenGroup.d.ts +13 -0
- package/build/typings/core/src/engine/generation/requests/specific/dsm/ExportDataRequestDSMTokenType.d.ts +13 -0
- package/build/typings/core/src/engine/items/ExportItemProducer.d.ts +14 -0
- package/build/typings/core/src/engine/items/construction/ExportItem.d.ts +8 -0
- package/build/typings/core/src/engine/items/construction/ExportItemBuilder.d.ts +9 -0
- package/build/typings/core/src/engine/items/queue/ExportItemQueue.d.ts +16 -0
- package/build/typings/core/src/engine/items/queue/ExportItemQueueOperation.d.ts +6 -0
- package/build/typings/core/src/engine/items/requests/ExportItemRequest.d.ts +16 -0
- package/build/typings/core/src/engine/items/requests/ExportItemRequestProducer.d.ts +8 -0
- package/build/typings/core/src/engine/items/requests/ExportItemResponse.d.ts +9 -0
- package/build/typings/core/src/engine/items/requests/ExportItemResponseProducer.d.ts +7 -0
- package/build/typings/core/src/engine/loaders/BlueprintLoader.d.ts +9 -0
- package/build/typings/core/src/engine/writing/queue/ExportWriterQueue.d.ts +16 -0
- package/build/typings/core/src/engine/writing/queue/ExportWriterQueueOperation.d.ts +6 -0
- package/build/typings/core/src/engine/writing/requests/ExportWriterRequest.d.ts +14 -0
- package/build/typings/core/src/engine/writing/requests/ExportWriterRequestProducer.d.ts +8 -0
- package/build/typings/core/src/engine/writing/requests/ExportWriterResponse.d.ts +9 -0
- package/build/typings/core/src/engine/writing/requests/ExportWriterResponseProducer.d.ts +7 -0
- package/build/typings/core/src/engine/writing/writers/ExportItemWriter.d.ts +14 -0
- package/build/typings/core/src/engine/writing/writers/ExportWriterRuleProcessor.d.ts +9 -0
- package/build/typings/core/src/engine/writing/writers/memory/ExportWriterMemory.d.ts +4 -0
- package/build/typings/core/src/engine/writing/writers/memory/ExportWriterMemoryRequest.d.ts +5 -0
- package/build/typings/core/src/engine/writing/writers/memory/ExportWriterStore.d.ts +5 -0
- package/build/typings/core/src/exports.d.ts +8 -0
- package/build/typings/core/src/index.d.ts +1 -0
- package/build/typings/core/src/model/dsm/DSMReferenceStore.d.ts +28 -0
- package/build/typings/core/src/model/exporters/Exporter.d.ts +53 -0
- package/build/typings/core/src/model/maps/ExporterMapBlueprint.d.ts +12 -0
- package/build/typings/core/src/model/sources/ExporterSource.d.ts +26 -0
- package/build/typings/core/src/pulsar/Pulsar.d.ts +107 -0
- package/build/typings/core/src/pulsar/PulsarInterface.d.ts +152 -0
- package/build/typings/core/src/pulsar/PulsarStaticAnalysis.d.ts +26 -0
- package/build/typings/core/src/pulsar/PulsarStaticAnalysisInterface.d.ts +13 -0
- package/build/typings/core/src/pulsar/managers/PulsarBlueprintManager.d.ts +16 -0
- package/build/typings/core/src/pulsar/managers/PulsarCIManager.d.ts +26 -0
- package/build/typings/core/src/pulsar/managers/PulsarCodeManager.d.ts +25 -0
- package/build/typings/core/src/pulsar/managers/PulsarConfigurationManager.d.ts +17 -0
- package/build/typings/core/src/pulsar/managers/PulsarExporterManager.d.ts +25 -0
- package/build/typings/core/src/pulsar/managers/generators/PulsarExporterConfigFileGenerator.d.ts +12 -0
- package/build/typings/core/src/pulsar/managers/generators/PulsarExporterJSONGenerator.d.ts +8 -0
- package/build/typings/core/src/pulsar/managers/generators/PulsarExporterSourceFileGenerator.d.ts +9 -0
- package/build/typings/core/src/pulsar/managers/generators/PulsarExporterZIPGenerator.d.ts +7 -0
- package/build/typings/core/src/pulsar/managers/generators/PulsarFileGenerator.d.ts +20 -0
- package/build/typings/core/src/pulsar/managers/loaders/PulsarBaseLoader.d.ts +5 -0
- package/build/typings/core/src/pulsar/managers/loaders/local/PulsarFSLoader.d.ts +11 -0
- package/build/typings/core/src/pulsar/managers/loaders/memory/PulsarExporterJSONLoader.d.ts +9 -0
- package/build/typings/core/src/pulsar/managers/loaders/memory/PulsarExporterMemoryLoader.d.ts +11 -0
- package/build/typings/core/src/pulsar/managers/loaders/remote/PulsarExporterGitHubLoader.d.ts +12 -0
- package/build/typings/core/src/pulsar/managers/loaders/remote/PulsarExporterZIPLoader.d.ts +12 -0
- package/build/typings/core/src/pulsar/managers/validators/PulsarExporterConfigFileValidator.d.ts +7 -0
- package/build/typings/core/src/tools/Logger.d.ts +3 -0
- package/build/typings/core/src/tools/LoggerDefaultMessages.d.ts +9 -0
- package/build/typings/language/src/blueprints/Blueprint.d.ts +9 -0
- package/build/typings/language/src/blueprints/BlueprintConfiguration.d.ts +17 -0
- package/build/typings/language/src/blueprints/BlueprintFactory.d.ts +6 -0
- package/build/typings/language/src/configuration/KeywordsFlows.d.ts +21 -0
- package/build/typings/language/src/configuration/KeywordsFunctions.d.ts +32 -0
- package/build/typings/language/src/configuration/KeywordsTranformers.d.ts +60 -0
- package/build/typings/language/src/debugger/Debugger.d.ts +26 -0
- package/build/typings/language/src/debugger/DebuggerErrorBuilder.d.ts +14 -0
- package/build/typings/language/src/debugger/DebuggerErrors.d.ts +24 -0
- package/build/typings/language/src/exports.d.ts +17 -0
- package/build/typings/language/src/extensions/dsm/DSMBridge.d.ts +23 -0
- package/build/typings/language/src/extensions/dsm/DSMExecutionContext.d.ts +16 -0
- package/build/typings/language/src/extensions/dsm/configuration/DSMKeywordsFunctions.d.ts +30 -0
- package/build/typings/language/src/extensions/dsm/functions/DSMFunctionAllThemes.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/assets/DSMFunctionAllAssets.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/assets/DSMFunctionAllBitmapAssets.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/assets/DSMFunctionAllFontAssets.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/assets/DSMFunctionAssetById.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/components/DSMFunctionAllComponents.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/components/DSMFunctionComponentById.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/dsms/DSMFunctionAllVersions.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/dsms/DSMFunctionMetadata.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/dsms/DSMFunctionVersionById.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/fonts/DSMFunctionFontIsItalic.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/fonts/DSMFunctionFontWeight.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/groups/DSMFunctionAllComponentGroups.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/groups/DSMFunctionAllTokenGroups.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/sandbox/DSMFunctionSandboxDataByComponentId.d.ts +15 -0
- package/build/typings/language/src/extensions/dsm/functions/tokens/DSMFunctionAllColorTokens.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/tokens/DSMFunctionAllFontTokens.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/tokens/DSMFunctionAllGradientTokens.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/tokens/DSMFunctionAllImageTokens.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/tokens/DSMFunctionAllMeasureTokens.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/tokens/DSMFunctionAllRadiusTokens.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/tokens/DSMFunctionAllShadowTokens.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/tokens/DSMFunctionAllTokens.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/tokens/DSMFunctionAllTypographyTokens.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/functions/tokens/DSMFunctionTokenById.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/resolver/DSMFunctionResolveTheme.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/resolver/DSMFunctionResolveTokens.d.ts +9 -0
- package/build/typings/language/src/extensions/dsm/resolver/DSMResolver.d.ts +14 -0
- package/build/typings/language/src/extensions/dsm/resolver/types.d.ts +121 -0
- package/build/typings/language/src/index.d.ts +1 -0
- package/build/typings/language/src/interpreter/ExecutionContext.d.ts +46 -0
- package/build/typings/language/src/interpreter/Interpreter.d.ts +30 -0
- package/build/typings/language/src/interpreter/InterpreterContext.d.ts +11 -0
- package/build/typings/language/src/interpreter/emitters/BlueprintEmitter.d.ts +5 -0
- package/build/typings/language/src/interpreter/emitters/EmittedContent.d.ts +6 -0
- package/build/typings/language/src/interpreter/emitters/MemoryBlueprintEmitter.d.ts +11 -0
- package/build/typings/language/src/interpreter/flows/Flow.d.ts +37 -0
- package/build/typings/language/src/interpreter/flows/FlowIterator.d.ts +25 -0
- package/build/typings/language/src/interpreter/flows/FlowOutput.d.ts +12 -0
- package/build/typings/language/src/interpreter/flows/FlowSource.d.ts +10 -0
- package/build/typings/language/src/interpreter/flows/specific/code/FlowCodeMerge.d.ts +16 -0
- package/build/typings/language/src/interpreter/flows/specific/debug/FlowLog.d.ts +17 -0
- package/build/typings/language/src/interpreter/flows/specific/emit/FlowEmit.d.ts +16 -0
- package/build/typings/language/src/interpreter/flows/specific/function/FlowImport.d.ts +16 -0
- package/build/typings/language/src/interpreter/flows/specific/function/FlowReturn.d.ts +16 -0
- package/build/typings/language/src/interpreter/flows/specific/if/FlowElse.d.ts +19 -0
- package/build/typings/language/src/interpreter/flows/specific/if/FlowElseIf.d.ts +20 -0
- package/build/typings/language/src/interpreter/flows/specific/if/FlowIf.d.ts +19 -0
- package/build/typings/language/src/interpreter/flows/specific/inject/FlowInject.d.ts +18 -0
- package/build/typings/language/src/interpreter/flows/specific/loops/FlowFor.d.ts +17 -0
- package/build/typings/language/src/interpreter/flows/specific/loops/FlowMap.d.ts +17 -0
- package/build/typings/language/src/interpreter/flows/specific/loops/FlowTraverse.d.ts +17 -0
- package/build/typings/language/src/interpreter/flows/specific/switch/FlowCase.d.ts +17 -0
- package/build/typings/language/src/interpreter/flows/specific/switch/FlowDefault.d.ts +16 -0
- package/build/typings/language/src/interpreter/flows/specific/switch/FlowSwitch.d.ts +17 -0
- package/build/typings/language/src/interpreter/flows/specific/var/FlowGlobal.d.ts +16 -0
- package/build/typings/language/src/interpreter/flows/specific/var/FlowLet.d.ts +16 -0
- package/build/typings/language/src/interpreter/flows/specific/var/FlowSet.d.ts +16 -0
- package/build/typings/language/src/interpreter/flows/specific/var/FlowVar.d.ts +16 -0
- package/build/typings/language/src/interpreter/functions/Function.d.ts +28 -0
- package/build/typings/language/src/interpreter/functions/FunctionArgument.d.ts +16 -0
- package/build/typings/language/src/interpreter/functions/specific/blueprints/FunctionCall.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/boolean/FunctionAnd.d.ts +10 -0
- package/build/typings/language/src/interpreter/functions/specific/boolean/FunctionNot.d.ts +10 -0
- package/build/typings/language/src/interpreter/functions/specific/boolean/FunctionOr.d.ts +10 -0
- package/build/typings/language/src/interpreter/functions/specific/boolean/FunctionTernary.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/compare/FunctionEquals.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/compare/FunctionEqualsEmpty.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/compare/FunctionEqualsNonNull.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/compare/FunctionEqualsNull.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/compare/FunctionGreaterThan.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/compare/FunctionGreaterThanEquals.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/compare/FunctionLessThan.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/compare/FunctionLessThanEquals.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/init/FunctionNewArray.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/init/FunctionNewDate.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/init/FunctionNewDictionary.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/init/FunctionNewNull.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/init/FunctionNewNumber.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/init/FunctionNewString.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/network/FunctionNetworkGetAnonymous.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/random/FunctionRandomNumber.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/random/FunctionRandomNumericArray.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/random/FunctionRandomString.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/random/FunctionRandomStringArray.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/support/FunctionArraysToZippedMap.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/support/FunctionVarDefined.d.ts +9 -0
- package/build/typings/language/src/interpreter/functions/specific/support/FunctionVarMutable.d.ts +9 -0
- package/build/typings/language/src/interpreter/loaders/BlueprintLoader.d.ts +12 -0
- package/build/typings/language/src/interpreter/loaders/MemoryBlueprintLoader.d.ts +10 -0
- package/build/typings/language/src/interpreter/loggers/Logger.d.ts +27 -0
- package/build/typings/language/src/interpreter/loggers/LoggerDefaultMessages.d.ts +13 -0
- package/build/typings/language/src/interpreter/transformers/Transformer.d.ts +30 -0
- package/build/typings/language/src/interpreter/transformers/TransformerArgument.d.ts +16 -0
- package/build/typings/language/src/interpreter/transformers/specific/array/TransformerAppend.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/array/TransformerAt.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/array/TransformerConcat.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/array/TransformerEnumerated.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/array/TransformerFirst.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/array/TransformerFrom.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/array/TransformerJoin.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/array/TransformerRandom.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/array/TransformerRange.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/array/TransformerReversed.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/array/TransformerShuffled.d.ts +12 -0
- package/build/typings/language/src/interpreter/transformers/specific/array/TransformerSorted.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/array/TransformerUntil.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/map/TransformerAdd.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/map/TransformerAlwaysRootValue.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/map/TransformerKeys.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/map/TransformerValue.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/map/TransformerValues.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/numeric/TransformerAbsolute.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/numeric/TransformerAddedBy.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/numeric/TransformerCeiled.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/numeric/TransformerDividedBy.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/numeric/TransformerFloored.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/numeric/TransformerMultipliedBy.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/numeric/TransformerNegative.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/numeric/TransformerPositive.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/numeric/TransformerRounded.d.ts +12 -0
- package/build/typings/language/src/interpreter/transformers/specific/numeric/TransformerSubtractedBy.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/shared/TransformerCount.d.ts +13 -0
- package/build/typings/language/src/interpreter/transformers/specific/shared/TransformerFormatDate.d.ts +13 -0
- package/build/typings/language/src/interpreter/transformers/specific/shared/TransformerIsArray.d.ts +15 -0
- package/build/typings/language/src/interpreter/transformers/specific/shared/TransformerIsBool.d.ts +15 -0
- package/build/typings/language/src/interpreter/transformers/specific/shared/TransformerIsDictionary.d.ts +15 -0
- package/build/typings/language/src/interpreter/transformers/specific/shared/TransformerIsNull.d.ts +16 -0
- package/build/typings/language/src/interpreter/transformers/specific/shared/TransformerIsNumber.d.ts +15 -0
- package/build/typings/language/src/interpreter/transformers/specific/shared/TransformerIsString.d.ts +15 -0
- package/build/typings/language/src/interpreter/transformers/specific/shared/TransformerToString.d.ts +15 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerCamelcased.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerCapitalized.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerContains.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerDefault.d.ts +12 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerEquals.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerEqualsTernary.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerExtended.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerLowercased.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerPrefixed.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerReplacing.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerSlashDoubleQuotes.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerSlashNewlines.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerSlashSingleQuotes.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerSnakecased.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerSplit.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerSplitExpr.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerSubstring.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerSuffixed.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerTrimmingCharacter.d.ts +12 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerTrimmingSpaces.d.ts +11 -0
- package/build/typings/language/src/interpreter/transformers/specific/string/TransformerUppercased.d.ts +11 -0
- package/build/typings/language/src/interpreter/variables/Variable.d.ts +19 -0
- package/build/typings/language/src/interpreter/variables/VariableContext.d.ts +10 -0
- package/build/typings/language/src/parser/Tokenization/Concrete/ConcreteBuffer.d.ts +19 -0
- package/build/typings/language/src/parser/Tokenization/Concrete/ConcreteParser.d.ts +25 -0
- package/build/typings/language/src/parser/Tokenization/Concrete/ConcreteToken.d.ts +21 -0
- package/build/typings/language/src/parser/Tokenization/Lexical/LexicalBuffer.d.ts +22 -0
- package/build/typings/language/src/parser/Tokenization/Lexical/LexicalParser.d.ts +14 -0
- package/build/typings/language/src/parser/Tokenization/Lexical/LexicalToken.d.ts +24 -0
- package/build/typings/language/src/parser/errors/LanguageError.d.ts +5 -0
- package/build/typings/language/src/parser/errors/LanguageErrorAnalysis.d.ts +25 -0
- package/build/typings/language/src/parser/symbols/Symbol.d.ts +29 -0
- package/build/typings/language/src/parser/symbols/SymbolBuffer.d.ts +16 -0
- package/build/typings/language/src/parser/symbols/SymbolFactory.d.ts +27 -0
- package/build/typings/language/src/parser/symbols/SymbolTable.d.ts +22 -0
- package/build/typings/language/src/parser/symbols/SymbolType.d.ts +5 -0
- package/build/typings/language/src/parser/syntax/SyntaxParser.d.ts +13 -0
- package/build/typings/language/src/parser/syntax/SyntaxTree.d.ts +7 -0
- package/build/typings/language/src/parser/syntax/nodes/SyntaxNode.d.ts +16 -0
- package/build/typings/language/src/parser/syntax/nodes/SyntaxNodeFlow.d.ts +34 -0
- package/build/typings/language/src/parser/syntax/nodes/SyntaxNodeGroup.d.ts +17 -0
- package/build/typings/language/src/parser/syntax/nodes/SyntaxNodeSubstitution.d.ts +26 -0
- package/build/typings/language/src/parser/syntax/nodes/SyntaxNodeText.d.ts +15 -0
- package/build/typings/language/src/tools/autocomplete/AutocompleteEngine.d.ts +31 -0
- package/build/typings/language/src/tools/autocomplete/BlueprintAutocompleteEngine.d.ts +40 -0
- package/build/typings/language/src/tools/autocomplete/BlueprintSnippets.d.ts +16 -0
- package/build/typings/language/src/tools/autocomplete/PlaceholderDisabledSnippetPool.d.ts +33 -0
- package/build/typings/language/src/tools/autocomplete/PlaceholderEnabledSnippetPool.d.ts +33 -0
- package/build/typings/language/src/tools/documentation/DeclarationBuilder.d.ts +8 -0
- package/build/typings/language/src/tools/documentation/Doc.d.ts +30 -0
- package/build/typings/language/src/tools/documentation/Documentable.d.ts +4 -0
- package/build/typings/language/src/tools/highlight/BlueprintHighlightEngine.d.ts +51 -0
- package/build/typings/language/src/tools/highlight/BlueprintHighlightEngineState.d.ts +41 -0
- package/build/typings/language/src/tools/highlight/HighlightEngine.d.ts +44 -0
- package/build/typings/language/src/utils/FlowUtils.d.ts +5 -0
- package/build/typings/language/src/utils/StringUtils.d.ts +72 -0
- package/package.json +11 -4
- package/supernova-studio-pulsar-core-1.0.41.tgz +0 -0
- package/build/typings/core/tsconfig.typings.tsbuildinfo +0 -5035
- package/tsconfig.typings.json +0 -19
- package/webpack.config.browser.dev.js +0 -52
- package/webpack.config.browser.js +0 -52
- package/webpack.config.main.js +0 -45
package/build/typings/language/src/extensions/dsm/functions/tokens/DSMFunctionAllShadowTokens.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DSMExecutionContext } from "../../DSMExecutionContext";
|
|
2
|
+
import { PLInterpreterContext } from "../../../../interpreter/InterpreterContext";
|
|
3
|
+
import { PLFunctionArgument } from "../../../../interpreter/functions/FunctionArgument";
|
|
4
|
+
import { PLFunction } from "../../../../interpreter/functions/Function";
|
|
5
|
+
export declare class DSMFunctionAllShadowTokens extends PLFunction {
|
|
6
|
+
numberOfArguments(): number;
|
|
7
|
+
keyword(): string;
|
|
8
|
+
provideValueUsingArguments(_args: Array<PLFunctionArgument>, _context: PLInterpreterContext, executionContext: DSMExecutionContext): Promise<any | null>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DSMExecutionContext } from "../../DSMExecutionContext";
|
|
2
|
+
import { PLInterpreterContext } from "../../../../interpreter/InterpreterContext";
|
|
3
|
+
import { PLFunctionArgument } from "../../../../interpreter/functions/FunctionArgument";
|
|
4
|
+
import { PLFunction } from "../../../../interpreter/functions/Function";
|
|
5
|
+
export declare class DSMFunctionAllTokens extends PLFunction {
|
|
6
|
+
numberOfArguments(): number;
|
|
7
|
+
keyword(): string;
|
|
8
|
+
provideValueUsingArguments(_args: Array<PLFunctionArgument>, _context: PLInterpreterContext, executionContext: DSMExecutionContext): Promise<any | null>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DSMExecutionContext } from "../../DSMExecutionContext";
|
|
2
|
+
import { PLInterpreterContext } from "../../../../interpreter/InterpreterContext";
|
|
3
|
+
import { PLFunctionArgument } from "../../../../interpreter/functions/FunctionArgument";
|
|
4
|
+
import { PLFunction } from "../../../../interpreter/functions/Function";
|
|
5
|
+
export declare class DSMFunctionAllTypographyTokens extends PLFunction {
|
|
6
|
+
numberOfArguments(): number;
|
|
7
|
+
keyword(): string;
|
|
8
|
+
provideValueUsingArguments(_args: Array<PLFunctionArgument>, _context: PLInterpreterContext, executionContext: DSMExecutionContext): Promise<any | null>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DSMExecutionContext } from "../../DSMExecutionContext";
|
|
2
|
+
import { PLInterpreterContext } from "../../../../interpreter/InterpreterContext";
|
|
3
|
+
import { PLFunctionArgument } from "../../../../interpreter/functions/FunctionArgument";
|
|
4
|
+
import { PLFunction } from "../../../../interpreter/functions/Function";
|
|
5
|
+
export declare class DSMFunctionTokenById extends PLFunction {
|
|
6
|
+
numberOfArguments(): number;
|
|
7
|
+
keyword(): string;
|
|
8
|
+
provideValueUsingArguments(args: Array<PLFunctionArgument>, context: PLInterpreterContext, executionContext: DSMExecutionContext): Promise<any | null>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DSMExecutionContext } from "../DSMExecutionContext";
|
|
2
|
+
import { PLInterpreterContext } from "../../../interpreter/InterpreterContext";
|
|
3
|
+
import { PLFunctionArgument } from "../../../interpreter/functions/FunctionArgument";
|
|
4
|
+
import { PLFunction } from "../../../interpreter/functions/Function";
|
|
5
|
+
export declare class DSMFunctionResolveTheme extends PLFunction {
|
|
6
|
+
numberOfArguments(): number;
|
|
7
|
+
keyword(): string;
|
|
8
|
+
provideValueUsingArguments(args: Array<PLFunctionArgument>, context: PLInterpreterContext, executionContext: DSMExecutionContext): Promise<any | null>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DSMExecutionContext } from "../DSMExecutionContext";
|
|
2
|
+
import { PLInterpreterContext } from "../../../interpreter/InterpreterContext";
|
|
3
|
+
import { PLFunctionArgument } from "../../../interpreter/functions/FunctionArgument";
|
|
4
|
+
import { PLFunction } from "../../../interpreter/functions/Function";
|
|
5
|
+
export declare class DSMFunctionResolveTokens extends PLFunction {
|
|
6
|
+
numberOfArguments(): number;
|
|
7
|
+
keyword(): string;
|
|
8
|
+
provideValueUsingArguments(args: Array<PLFunctionArgument>, context: PLInterpreterContext, executionContext: DSMExecutionContext): Promise<any | null>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { RawBorderValue, RawGradientValue, RawRadiusValue, RawShadowValue, ResolvedBorderValue, ResolvedGradientValue, ResolvedRadiusValue, ResolvedShadowValue, ResolvedTypographyValue, ResolvedToken, Theme, Token, TokenType, RawTypographyValue } from "./types";
|
|
2
|
+
export declare function resolveToken(token: Token, tokens: Token[]): ResolvedToken;
|
|
3
|
+
export declare function resolveGradientValue(value: RawGradientValue, tokens: Token[]): ResolvedGradientValue;
|
|
4
|
+
export declare function resolveBorderValue(value: RawBorderValue, tokens: Token[]): ResolvedBorderValue;
|
|
5
|
+
export declare function resolveRadiusValue(value: RawRadiusValue, tokens: Token[]): ResolvedRadiusValue;
|
|
6
|
+
export declare function resolveShadowValue(value: RawShadowValue, tokens: Token[]): ResolvedShadowValue;
|
|
7
|
+
export declare function resolveTypographyValue(value: RawTypographyValue, tokens: Token[]): ResolvedTypographyValue;
|
|
8
|
+
export declare function resolveTokenValue(type: TokenType, value: any, tokens: Token[]): any;
|
|
9
|
+
export declare function shouldBeUnreachable(param: never): void;
|
|
10
|
+
export declare function resolveTokens(tokens: Token[]): ResolvedToken[];
|
|
11
|
+
export declare function resolveTheme(theme: Theme, tokens: ResolvedToken[]): {
|
|
12
|
+
overridenTokens: ResolvedToken[];
|
|
13
|
+
allTokens: ResolvedToken[];
|
|
14
|
+
};
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
export declare enum TokenType {
|
|
2
|
+
Color = "Color",
|
|
3
|
+
Border = "Border",
|
|
4
|
+
Font = "Font",
|
|
5
|
+
Gradient = "Gradient",
|
|
6
|
+
Shadow = "Shadow",
|
|
7
|
+
Radius = "Radius",
|
|
8
|
+
Measure = "Measure",
|
|
9
|
+
Image = "Image",
|
|
10
|
+
Text = "Text",
|
|
11
|
+
Opacity = "Opacity",
|
|
12
|
+
Typography = "Typography"
|
|
13
|
+
}
|
|
14
|
+
export declare enum TextCase {
|
|
15
|
+
Original = "Original",
|
|
16
|
+
Upper = "Upper",
|
|
17
|
+
Lower = "Lower",
|
|
18
|
+
Camel = "Camel"
|
|
19
|
+
}
|
|
20
|
+
export declare enum TextDecoration {
|
|
21
|
+
None = "None",
|
|
22
|
+
Underline = "Underline",
|
|
23
|
+
Strikethrough = "Strikethrough"
|
|
24
|
+
}
|
|
25
|
+
export declare type ColorValue = string;
|
|
26
|
+
export declare type MeasureValue = {
|
|
27
|
+
unit: string;
|
|
28
|
+
measure: number;
|
|
29
|
+
};
|
|
30
|
+
export declare type FontValue = {
|
|
31
|
+
family: string;
|
|
32
|
+
subfamily: string;
|
|
33
|
+
};
|
|
34
|
+
export declare type Token<V = any> = {
|
|
35
|
+
meta?: ItemMeta;
|
|
36
|
+
id?: string;
|
|
37
|
+
persistentId?: string;
|
|
38
|
+
type?: TokenType;
|
|
39
|
+
data: TokenData<V>;
|
|
40
|
+
};
|
|
41
|
+
export declare type ResolvedToken<V = any> = {
|
|
42
|
+
type: TokenType;
|
|
43
|
+
meta?: ItemMeta;
|
|
44
|
+
value: V;
|
|
45
|
+
aliasTo?: Token;
|
|
46
|
+
source: Token;
|
|
47
|
+
};
|
|
48
|
+
export declare type ThemeOverride = {
|
|
49
|
+
tokenPersistentId: string;
|
|
50
|
+
type: TokenType;
|
|
51
|
+
data: TokenData;
|
|
52
|
+
};
|
|
53
|
+
export declare type Theme = {
|
|
54
|
+
id: string;
|
|
55
|
+
persistentId: string;
|
|
56
|
+
meta: ItemMeta;
|
|
57
|
+
overrides: ThemeOverride[];
|
|
58
|
+
};
|
|
59
|
+
declare type TokenData<V = any> = {
|
|
60
|
+
aliasTo?: string;
|
|
61
|
+
value?: V;
|
|
62
|
+
};
|
|
63
|
+
declare type ItemMeta = {
|
|
64
|
+
meta?: {
|
|
65
|
+
name: string;
|
|
66
|
+
description: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
export declare type GradientStop<COLOR> = {
|
|
70
|
+
position: number;
|
|
71
|
+
color: COLOR;
|
|
72
|
+
};
|
|
73
|
+
export declare type GradientValue<COLOR> = {
|
|
74
|
+
type: string;
|
|
75
|
+
from: any;
|
|
76
|
+
to: any;
|
|
77
|
+
stops: GradientStop<COLOR>[];
|
|
78
|
+
};
|
|
79
|
+
export declare type BorderValue<COLOR, MEASURE> = {
|
|
80
|
+
isEnabled: boolean;
|
|
81
|
+
position: string;
|
|
82
|
+
color: COLOR;
|
|
83
|
+
width: MEASURE;
|
|
84
|
+
};
|
|
85
|
+
export declare type RadiusValue<MEASURE> = {
|
|
86
|
+
radius?: MEASURE;
|
|
87
|
+
topLeft?: MEASURE;
|
|
88
|
+
topRight?: MEASURE;
|
|
89
|
+
bottomRight?: MEASURE;
|
|
90
|
+
bottomLeft?: MEASURE;
|
|
91
|
+
};
|
|
92
|
+
export declare type ShadowValue<COLOR, MEASURE> = {
|
|
93
|
+
isEnabled: boolean;
|
|
94
|
+
color: COLOR;
|
|
95
|
+
x: MEASURE;
|
|
96
|
+
y: MEASURE;
|
|
97
|
+
radius: MEASURE;
|
|
98
|
+
spread: MEASURE;
|
|
99
|
+
opacity: number;
|
|
100
|
+
};
|
|
101
|
+
export declare type TypographyValue<FONT, MEASURE> = {
|
|
102
|
+
font: FONT;
|
|
103
|
+
fontSize: MEASURE;
|
|
104
|
+
textCase: TextCase;
|
|
105
|
+
textDecoration: TextDecoration;
|
|
106
|
+
letterSpacing: MEASURE;
|
|
107
|
+
lineHeight: MEASURE;
|
|
108
|
+
paragraphIndent: MEASURE;
|
|
109
|
+
paragraphSpacing: MEASURE;
|
|
110
|
+
};
|
|
111
|
+
export declare type RawGradientValue = GradientValue<TokenData>;
|
|
112
|
+
export declare type RawBorderValue = BorderValue<TokenData, TokenData>;
|
|
113
|
+
export declare type RawRadiusValue = RadiusValue<TokenData>;
|
|
114
|
+
export declare type RawShadowValue = ShadowValue<TokenData, TokenData>;
|
|
115
|
+
export declare type RawTypographyValue = TypographyValue<TokenData, TokenData>;
|
|
116
|
+
export declare type ResolvedGradientValue = GradientValue<ResolvedToken<ColorValue>>;
|
|
117
|
+
export declare type ResolvedBorderValue = BorderValue<ResolvedToken<ColorValue>, ResolvedToken<MeasureValue>>;
|
|
118
|
+
export declare type ResolvedShadowValue = ShadowValue<ResolvedToken<ColorValue>, ResolvedToken<MeasureValue>>;
|
|
119
|
+
export declare type ResolvedRadiusValue = RadiusValue<ResolvedToken<MeasureValue>>;
|
|
120
|
+
export declare type ResolvedTypographyValue = TypographyValue<ResolvedToken<FontValue>, ResolvedToken<MeasureValue>>;
|
|
121
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./exports";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { PLBlueprintEmitter } from "./emitters/BlueprintEmitter";
|
|
2
|
+
import { PLBlueprintLoader } from "./loaders/BlueprintLoader";
|
|
3
|
+
import { PLFlow } from "./flows/Flow";
|
|
4
|
+
import { SyntaxNodeFlow } from "../parser/syntax/nodes/SyntaxNodeFlow";
|
|
5
|
+
import { PLFunction } from "./functions/Function";
|
|
6
|
+
import { PLTransformer } from "./transformers/Transformer";
|
|
7
|
+
import { PLLogger } from "./loggers/Logger";
|
|
8
|
+
import { PLVariableContext } from "./variables/VariableContext";
|
|
9
|
+
import { PLDebugger } from "../debugger/Debugger";
|
|
10
|
+
export declare class PLExecutionContext {
|
|
11
|
+
functions: Map<string, PLFunction>;
|
|
12
|
+
transformers: Map<string, PLTransformer>;
|
|
13
|
+
flows: Map<string, PLFlow>;
|
|
14
|
+
blueprintLoader: PLBlueprintLoader;
|
|
15
|
+
blueprintEmitter: PLBlueprintEmitter;
|
|
16
|
+
variableContext: PLVariableContext;
|
|
17
|
+
logger: PLLogger;
|
|
18
|
+
debugger: PLDebugger;
|
|
19
|
+
executedScope: Array<string>;
|
|
20
|
+
executedBlueprint: string;
|
|
21
|
+
defaultTransformers: Array<PLTransformer>;
|
|
22
|
+
defaultFlows: Array<PLFlow>;
|
|
23
|
+
defaultFunctions: Array<PLFunction>;
|
|
24
|
+
constructor(load?: PLBlueprintLoader, emit?: PLBlueprintEmitter, log?: PLLogger, debug?: PLDebugger);
|
|
25
|
+
provideCustomFunctions(): Array<PLFunction>;
|
|
26
|
+
provideCustomTransformers(): Array<PLTransformer>;
|
|
27
|
+
provideCustomFlows(): Array<PLFlow>;
|
|
28
|
+
registerDefaultFunctions(): void;
|
|
29
|
+
registerDefaultTransformers(): void;
|
|
30
|
+
registerDefaultFlows(): void;
|
|
31
|
+
registerFunction(fn: PLFunction): void;
|
|
32
|
+
registerTransformer(transformer: PLTransformer): void;
|
|
33
|
+
registerFlow(flow: PLFlow): void;
|
|
34
|
+
flow(key: string): PLFlow | null;
|
|
35
|
+
valueTransformer(): PLTransformer;
|
|
36
|
+
valueAlwaysRootTransformer(): PLTransformer;
|
|
37
|
+
transformer(key: string): PLTransformer | null;
|
|
38
|
+
function(key: string): PLFunction | null;
|
|
39
|
+
availableFlows(): Map<string, PLFlow>;
|
|
40
|
+
availableTransformers(): Map<string, PLTransformer>;
|
|
41
|
+
availableFunctions(): Map<string, PLFunction>;
|
|
42
|
+
setExecutedScopeForNode(node: SyntaxNodeFlow): void;
|
|
43
|
+
setExecutedScopeUsingScope(scope: Array<string>): void;
|
|
44
|
+
setExecutedBlueprint(id: string): void;
|
|
45
|
+
getFunctionReturnStack(): Map<string, any>[];
|
|
46
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PLInterpreterContext } from "./InterpreterContext";
|
|
2
|
+
import { PLBlueprintConfiguration } from "../blueprints/BlueprintConfiguration";
|
|
3
|
+
import { PLBlueprint } from "../blueprints/Blueprint";
|
|
4
|
+
import { PLExecutionContext } from "./ExecutionContext";
|
|
5
|
+
import { SyntaxNodeText } from "../parser/syntax/nodes/SyntaxNodeText";
|
|
6
|
+
import { SyntaxNodeSubstitution } from "../parser/syntax/nodes/SyntaxNodeSubstitution";
|
|
7
|
+
import { SyntaxNodeFlow } from "../parser/syntax/nodes/SyntaxNodeFlow";
|
|
8
|
+
import { FlowIteratorBodyResult } from "./flows/FlowIterator";
|
|
9
|
+
import { SyntaxNodeGroup } from "../parser/syntax/nodes/SyntaxNodeGroup";
|
|
10
|
+
export declare class PLInterpreter {
|
|
11
|
+
blueprintConfiguration: PLBlueprintConfiguration;
|
|
12
|
+
currentlyInterpretingScope: Array<string>;
|
|
13
|
+
currentlyInterpretingBlueprint: PLBlueprint;
|
|
14
|
+
constructor(blueprintConfiguration?: PLBlueprintConfiguration | null);
|
|
15
|
+
interpret(blueprint: PLBlueprint, context: PLInterpreterContext, executionContext: PLExecutionContext): Promise<string>;
|
|
16
|
+
interpretGroupNode(groupNode: SyntaxNodeGroup, context: PLInterpreterContext, executionContext: PLExecutionContext): Promise<string>;
|
|
17
|
+
interpretTextNode(node: SyntaxNodeText, context: PLInterpreterContext, executionContext: PLExecutionContext): Promise<string>;
|
|
18
|
+
interpretSubstitutionNode(node: SyntaxNodeSubstitution, context: PLInterpreterContext, executionContext: PLExecutionContext): Promise<string>;
|
|
19
|
+
interpretFlowNode(node: SyntaxNodeFlow, context: PLInterpreterContext, rootContext: PLInterpreterContext, executionContext: PLExecutionContext): Promise<FlowIteratorBodyResult>;
|
|
20
|
+
processFlowBody(node: SyntaxNodeFlow, context: PLInterpreterContext, executionContext: PLExecutionContext): Promise<FlowIteratorBodyResult>;
|
|
21
|
+
processCustomExecutor(node: SyntaxNodeFlow, body: FlowIteratorBodyResult, context: PLInterpreterContext, executionContext: PLExecutionContext): Promise<FlowIteratorBodyResult>;
|
|
22
|
+
processContextAdjustmentIfNeeded(node: SyntaxNodeFlow, body: FlowIteratorBodyResult, context: PLInterpreterContext, executionContext: PLExecutionContext): PLInterpreterContext;
|
|
23
|
+
processVariableAdjustmentIfNeeded(node: SyntaxNodeFlow, scope: Array<string>, body: FlowIteratorBodyResult, context: PLInterpreterContext, executionContext: PLExecutionContext): Promise<PLExecutionContext>;
|
|
24
|
+
createNewExecutingScope(_executingContext: PLExecutionContext): Array<string>;
|
|
25
|
+
setExecutingScope(executionContext: PLExecutionContext, blueprint: PLBlueprint): void;
|
|
26
|
+
modifyExecutingScopeWithIncoming(node: SyntaxNodeFlow, executingContext: PLExecutionContext): Array<string>;
|
|
27
|
+
modifyExecutingScopeWithLeaving(node: SyntaxNodeFlow, executingContext: PLExecutionContext): Array<string>;
|
|
28
|
+
modifyExecutingScopeWithIncomingIteratorOf(_node: SyntaxNodeFlow, executingContext: PLExecutionContext): Array<string>;
|
|
29
|
+
modifyExecutingScopeWithLeavingIteratorOf(node: SyntaxNodeFlow, executingContext: PLExecutionContext): Array<string>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FlowAdjustment } from "./flows/FlowIterator";
|
|
2
|
+
export declare class PLInterpreterContext {
|
|
3
|
+
data: Map<string, any>;
|
|
4
|
+
constructor(data: Map<string, any>, additions?: Map<string, any> | null);
|
|
5
|
+
stringValueForKey(key: string, context: Map<string, any> | null): string | null;
|
|
6
|
+
stringValueForKeyComponents(components: Array<string>, context: Map<string, any> | null): string | null;
|
|
7
|
+
anyValueForKey(key: string, context: Map<string, any> | null): any | null;
|
|
8
|
+
anyValueForKeyComponents(components: Array<string>, context: Map<string, any> | null): any | null;
|
|
9
|
+
recreateContextWithAdjustments(adjustments: FlowAdjustment): PLInterpreterContext;
|
|
10
|
+
modifyContextWithAdjustments(adjustments: FlowAdjustment): PLInterpreterContext;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PLBlueprintEmitter } from "./BlueprintEmitter";
|
|
2
|
+
import { PLEmittedContent } from "./EmittedContent";
|
|
3
|
+
export declare class PLMemoryBlueprintEmitter extends PLBlueprintEmitter {
|
|
4
|
+
storage: Map<string, PLEmittedContent>;
|
|
5
|
+
isOverrideAllowed: boolean;
|
|
6
|
+
constructor(allowOverrides?: boolean);
|
|
7
|
+
emittedContentForFilename(filename: string): PLEmittedContent | null;
|
|
8
|
+
allEmittedContent(): Array<PLEmittedContent>;
|
|
9
|
+
clearEmittedFiles(): void;
|
|
10
|
+
emit(content: PLEmittedContent): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { PLBlueprintConfiguration } from "../../blueprints/BlueprintConfiguration";
|
|
2
|
+
import { PLInterpreterContext } from "../InterpreterContext";
|
|
3
|
+
import { PLExecutionContext } from "../ExecutionContext";
|
|
4
|
+
import { PLFlowSource } from "./FlowSource";
|
|
5
|
+
import { FlowIterator, FlowIteratorBodyResult, FlowAdjustment } from "./FlowIterator";
|
|
6
|
+
import { PLFlowOutput } from "./FlowOutput";
|
|
7
|
+
export declare enum PLFlowExecutionType {
|
|
8
|
+
defaultBody = 0,
|
|
9
|
+
customBody = 1,
|
|
10
|
+
customWithoutBody = 2
|
|
11
|
+
}
|
|
12
|
+
export declare enum PLFlowFormatType {
|
|
13
|
+
keyword = 0,
|
|
14
|
+
source = 1,
|
|
15
|
+
output = 2
|
|
16
|
+
}
|
|
17
|
+
export declare enum PLFlowFormatRequirement {
|
|
18
|
+
required = 0,
|
|
19
|
+
optional = 1
|
|
20
|
+
}
|
|
21
|
+
export interface PLFlowFormat {
|
|
22
|
+
type: PLFlowFormatType;
|
|
23
|
+
requirement: PLFlowFormatRequirement;
|
|
24
|
+
definition: string;
|
|
25
|
+
}
|
|
26
|
+
export declare class PLFlow {
|
|
27
|
+
flowFormat(): Array<PLFlowFormat>;
|
|
28
|
+
keyword(): string;
|
|
29
|
+
chainableFlows(): Array<string> | null;
|
|
30
|
+
canFormChainRoot(): boolean;
|
|
31
|
+
executionType(): PLFlowExecutionType;
|
|
32
|
+
constructor();
|
|
33
|
+
createBodyIterator(_currentContext: PLInterpreterContext, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<FlowIterator>;
|
|
34
|
+
createFlowExecutor(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _configuration: PLBlueprintConfiguration, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>, _lineOffset: number, _firstLineDirective: boolean): Promise<string | null>;
|
|
35
|
+
adjustInterpretingContext(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): FlowAdjustment | null;
|
|
36
|
+
adjustExecutingContext(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _flowIdentifier: Array<string>, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<unknown>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface FlowIteratorBodyResult {
|
|
2
|
+
result: string | null;
|
|
3
|
+
iterator: FlowIterator;
|
|
4
|
+
skippedBody: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare enum FlowIteratorType {
|
|
7
|
+
skip = 0,
|
|
8
|
+
singular = 1,
|
|
9
|
+
iterative = 2,
|
|
10
|
+
followthrough = 3
|
|
11
|
+
}
|
|
12
|
+
export declare type FlowAdjustment = Map<string, any>;
|
|
13
|
+
export declare class FlowIterator implements IterableIterator<FlowAdjustment> {
|
|
14
|
+
type: FlowIteratorType;
|
|
15
|
+
adjustments: Array<FlowAdjustment>;
|
|
16
|
+
followingContextEnhancement: FlowAdjustment | null;
|
|
17
|
+
constructor(adjustments: Array<FlowAdjustment>, type: FlowIteratorType, contextEnhancement: FlowAdjustment | null);
|
|
18
|
+
static followThroughExecution(followingContextEnhancement: FlowAdjustment | null): FlowIterator;
|
|
19
|
+
static noExecution(): FlowIterator;
|
|
20
|
+
static singleExecution(adjustment: FlowAdjustment): FlowIterator;
|
|
21
|
+
static iterativeExecution(adjustments: Array<FlowAdjustment>): FlowIterator;
|
|
22
|
+
private counter;
|
|
23
|
+
next(): IteratorResult<FlowAdjustment>;
|
|
24
|
+
[Symbol.iterator](): IterableIterator<FlowAdjustment>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PLExecutionContext } from "../ExecutionContext";
|
|
2
|
+
import { PLFlowSource } from "./FlowSource";
|
|
3
|
+
export declare class PLFlowOutput {
|
|
4
|
+
originalBackingProperty: string;
|
|
5
|
+
backingProperty: string;
|
|
6
|
+
containedQuotes: boolean;
|
|
7
|
+
constructor(argument: string);
|
|
8
|
+
asString(): string;
|
|
9
|
+
asNumber(): number | null;
|
|
10
|
+
asBool(): boolean | null;
|
|
11
|
+
asSource(executionContext: PLExecutionContext): PLFlowSource;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PLInterpreterContext } from "../InterpreterContext";
|
|
2
|
+
import { PLExecutionContext } from "../ExecutionContext";
|
|
3
|
+
import { SyntaxNodeSubstitution } from "../../parser/syntax/nodes/SyntaxNodeSubstitution";
|
|
4
|
+
export declare class PLFlowSource {
|
|
5
|
+
backingProperty: SyntaxNodeSubstitution;
|
|
6
|
+
constructor(source: SyntaxNodeSubstitution);
|
|
7
|
+
asValue(context: PLInterpreterContext, executionContext: PLExecutionContext): Promise<any | null>;
|
|
8
|
+
asString(): string;
|
|
9
|
+
directive(): string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PLFlowOutput } from "../../FlowOutput";
|
|
2
|
+
import { PLInterpreterContext } from "../../../InterpreterContext";
|
|
3
|
+
import { FlowIterator } from "../../FlowIterator";
|
|
4
|
+
import { PLFlow, PLFlowFormat, PLFlowExecutionType } from "../../Flow";
|
|
5
|
+
import { PLExecutionContext } from "../../../ExecutionContext";
|
|
6
|
+
import { PLFlowSource } from "../../FlowSource";
|
|
7
|
+
import { PLBlueprintConfiguration } from "../../../../blueprints/BlueprintConfiguration";
|
|
8
|
+
import { FlowIteratorBodyResult, FlowAdjustment } from "../../FlowIterator";
|
|
9
|
+
export declare class PLFlowCodeMerge extends PLFlow {
|
|
10
|
+
flowFormat(): Array<PLFlowFormat>;
|
|
11
|
+
executionType(): PLFlowExecutionType;
|
|
12
|
+
createBodyIterator(_currentContext: PLInterpreterContext, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<FlowIterator>;
|
|
13
|
+
createFlowExecutor(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _configuration: PLBlueprintConfiguration, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>, lineOffset: number, _firstLineDirective: boolean): Promise<string | null>;
|
|
14
|
+
adjustInterpretingContext(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): FlowAdjustment | null;
|
|
15
|
+
adjustExecutingContext(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _flowIdentifier: Array<string>, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<void>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PLFlowOutput } from "../../FlowOutput";
|
|
2
|
+
import { PLInterpreterContext } from "../../../InterpreterContext";
|
|
3
|
+
import { FlowIterator } from "../../FlowIterator";
|
|
4
|
+
import { PLFlow, PLFlowFormat, PLFlowExecutionType } from "../../Flow";
|
|
5
|
+
import { PLExecutionContext } from "../../../ExecutionContext";
|
|
6
|
+
import { PLFlowSource } from "../../FlowSource";
|
|
7
|
+
import { PLBlueprintConfiguration } from "../../../../blueprints/BlueprintConfiguration";
|
|
8
|
+
import { FlowIteratorBodyResult, FlowAdjustment } from "../../FlowIterator";
|
|
9
|
+
export declare class PLFlowLog extends PLFlow {
|
|
10
|
+
flowFormat(): Array<PLFlowFormat>;
|
|
11
|
+
executionType(): PLFlowExecutionType;
|
|
12
|
+
createBodyIterator(_currentContext: PLInterpreterContext, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<FlowIterator>;
|
|
13
|
+
createFlowExecutor(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _configuration: PLBlueprintConfiguration, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>, _lineOffset: number, _firstLineDirective: boolean): Promise<string | null>;
|
|
14
|
+
adjustInterpretingContext(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): FlowAdjustment | null;
|
|
15
|
+
adjustExecutingContext(dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, executionContext: PLExecutionContext, _flowIdentifier: Array<string>, _outputs: Map<string, PLFlowOutput>, sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<void>;
|
|
16
|
+
convertToString(variable: any | null): string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PLFlowOutput } from "../../FlowOutput";
|
|
2
|
+
import { PLInterpreterContext } from "../../../InterpreterContext";
|
|
3
|
+
import { FlowIterator } from "../../FlowIterator";
|
|
4
|
+
import { PLFlow, PLFlowFormat, PLFlowExecutionType } from "../../Flow";
|
|
5
|
+
import { PLExecutionContext } from "../../../ExecutionContext";
|
|
6
|
+
import { PLFlowSource } from "../../FlowSource";
|
|
7
|
+
import { PLBlueprintConfiguration } from "../../../../blueprints/BlueprintConfiguration";
|
|
8
|
+
import { FlowIteratorBodyResult, FlowAdjustment } from "../../FlowIterator";
|
|
9
|
+
export declare class PLFlowEmit extends PLFlow {
|
|
10
|
+
flowFormat(): Array<PLFlowFormat>;
|
|
11
|
+
executionType(): PLFlowExecutionType;
|
|
12
|
+
createBodyIterator(_currentContext: PLInterpreterContext, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<FlowIterator>;
|
|
13
|
+
createFlowExecutor(dataContext: PLInterpreterContext, body: FlowIteratorBodyResult, executionContext: PLExecutionContext, _configuration: PLBlueprintConfiguration, _outputs: Map<string, PLFlowOutput>, sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>, _lineOffset: number, _firstLineDirective: boolean): Promise<string | null>;
|
|
14
|
+
adjustInterpretingContext(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): FlowAdjustment | null;
|
|
15
|
+
adjustExecutingContext(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _flowIdentifier: Array<string>, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<void>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PLFlowOutput } from "../../FlowOutput";
|
|
2
|
+
import { PLInterpreterContext } from "../../../InterpreterContext";
|
|
3
|
+
import { FlowIterator } from "../../FlowIterator";
|
|
4
|
+
import { PLFlow, PLFlowFormat, PLFlowExecutionType } from "../../Flow";
|
|
5
|
+
import { PLExecutionContext } from "../../../ExecutionContext";
|
|
6
|
+
import { PLFlowSource } from "../../FlowSource";
|
|
7
|
+
import { PLBlueprintConfiguration } from "../../../../blueprints/BlueprintConfiguration";
|
|
8
|
+
import { FlowIteratorBodyResult, FlowAdjustment } from "../../FlowIterator";
|
|
9
|
+
export declare class PLFlowImport extends PLFlow {
|
|
10
|
+
flowFormat(): Array<PLFlowFormat>;
|
|
11
|
+
executionType(): PLFlowExecutionType;
|
|
12
|
+
createBodyIterator(_currentContext: PLInterpreterContext, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<FlowIterator>;
|
|
13
|
+
createFlowExecutor(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _configuration: PLBlueprintConfiguration, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>, _lineOffset: number, _firstLineDirective: boolean): Promise<string | null>;
|
|
14
|
+
adjustInterpretingContext(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): FlowAdjustment | null;
|
|
15
|
+
adjustExecutingContext(dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, executionContext: PLExecutionContext, flowIdentifier: Array<string>, outputs: Map<string, PLFlowOutput>, sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<void>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PLFlowOutput } from "../../FlowOutput";
|
|
2
|
+
import { PLInterpreterContext } from "../../../InterpreterContext";
|
|
3
|
+
import { FlowIterator } from "../../FlowIterator";
|
|
4
|
+
import { PLFlow, PLFlowFormat, PLFlowExecutionType } from "../../Flow";
|
|
5
|
+
import { PLExecutionContext } from "../../../ExecutionContext";
|
|
6
|
+
import { PLFlowSource } from "../../FlowSource";
|
|
7
|
+
import { PLBlueprintConfiguration } from "../../../../blueprints/BlueprintConfiguration";
|
|
8
|
+
import { FlowIteratorBodyResult, FlowAdjustment } from "../../FlowIterator";
|
|
9
|
+
export declare class PLFlowReturn extends PLFlow {
|
|
10
|
+
flowFormat(): Array<PLFlowFormat>;
|
|
11
|
+
executionType(): PLFlowExecutionType;
|
|
12
|
+
createBodyIterator(_currentContext: PLInterpreterContext, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<FlowIterator>;
|
|
13
|
+
createFlowExecutor(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _configuration: PLBlueprintConfiguration, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>, _lineOffset: number, _firstLineDirective: boolean): Promise<string | null>;
|
|
14
|
+
adjustInterpretingContext(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): FlowAdjustment | null;
|
|
15
|
+
adjustExecutingContext(dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, executionContext: PLExecutionContext, _flowIdentifier: Array<string>, _outputs: Map<string, PLFlowOutput>, sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<void>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PLFlowOutput } from "../../FlowOutput";
|
|
2
|
+
import { PLInterpreterContext } from "../../../InterpreterContext";
|
|
3
|
+
import { FlowIterator } from "../../FlowIterator";
|
|
4
|
+
import { PLFlow, PLFlowFormat, PLFlowExecutionType } from "../../Flow";
|
|
5
|
+
import { PLExecutionContext } from "../../../ExecutionContext";
|
|
6
|
+
import { PLFlowSource } from "../../FlowSource";
|
|
7
|
+
import { PLBlueprintConfiguration } from "../../../../blueprints/BlueprintConfiguration";
|
|
8
|
+
import { FlowIteratorBodyResult, FlowAdjustment } from "../../FlowIterator";
|
|
9
|
+
export declare class PLFlowElse extends PLFlow {
|
|
10
|
+
flowFormat(): Array<PLFlowFormat>;
|
|
11
|
+
canFormChainRoot(): boolean;
|
|
12
|
+
executionType(): PLFlowExecutionType;
|
|
13
|
+
createBodyIterator(_currentContext: PLInterpreterContext, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<FlowIterator>;
|
|
14
|
+
resolveAsTrue(): Promise<FlowIterator>;
|
|
15
|
+
resolveAsFalse(): Promise<FlowIterator>;
|
|
16
|
+
createFlowExecutor(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _configuration: PLBlueprintConfiguration, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>, _lineOffset: number, _firstLineDirective: boolean): Promise<string | null>;
|
|
17
|
+
adjustInterpretingContext(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): FlowAdjustment | null;
|
|
18
|
+
adjustExecutingContext(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _flowIdentifier: Array<string>, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<void>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PLFlowOutput } from "../../FlowOutput";
|
|
2
|
+
import { PLInterpreterContext } from "../../../InterpreterContext";
|
|
3
|
+
import { FlowIterator } from "../../FlowIterator";
|
|
4
|
+
import { PLFlow, PLFlowFormat, PLFlowExecutionType } from "../../Flow";
|
|
5
|
+
import { PLExecutionContext } from "../../../ExecutionContext";
|
|
6
|
+
import { PLFlowSource } from "../../FlowSource";
|
|
7
|
+
import { PLBlueprintConfiguration } from "../../../../blueprints/BlueprintConfiguration";
|
|
8
|
+
import { FlowIteratorBodyResult, FlowAdjustment } from "../../FlowIterator";
|
|
9
|
+
export declare class PLFlowElseIf extends PLFlow {
|
|
10
|
+
flowFormat(): Array<PLFlowFormat>;
|
|
11
|
+
chainableFlows(): Array<string> | null;
|
|
12
|
+
canFormChainRoot(): boolean;
|
|
13
|
+
executionType(): PLFlowExecutionType;
|
|
14
|
+
createBodyIterator(_currentContext: PLInterpreterContext, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<FlowIterator>;
|
|
15
|
+
resolveAsTrue(): Promise<FlowIterator>;
|
|
16
|
+
resolveAsFalse(): Promise<FlowIterator>;
|
|
17
|
+
createFlowExecutor(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _configuration: PLBlueprintConfiguration, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>, _lineOffset: number, _firstLineDirective: boolean): Promise<string | null>;
|
|
18
|
+
adjustInterpretingContext(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): FlowAdjustment | null;
|
|
19
|
+
adjustExecutingContext(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _flowIdentifier: Array<string>, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<void>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PLFlowOutput } from "../../FlowOutput";
|
|
2
|
+
import { PLInterpreterContext } from "../../../InterpreterContext";
|
|
3
|
+
import { FlowIterator } from "../../FlowIterator";
|
|
4
|
+
import { PLFlow, PLFlowFormat, PLFlowExecutionType } from "../../Flow";
|
|
5
|
+
import { PLExecutionContext } from "../../../ExecutionContext";
|
|
6
|
+
import { PLFlowSource } from "../../FlowSource";
|
|
7
|
+
import { PLBlueprintConfiguration } from "../../../../blueprints/BlueprintConfiguration";
|
|
8
|
+
import { FlowIteratorBodyResult, FlowAdjustment } from "../../FlowIterator";
|
|
9
|
+
export declare class PLFlowIf extends PLFlow {
|
|
10
|
+
flowFormat(): Array<PLFlowFormat>;
|
|
11
|
+
chainableFlows(): Array<string> | null;
|
|
12
|
+
executionType(): PLFlowExecutionType;
|
|
13
|
+
createBodyIterator(_currentContext: PLInterpreterContext, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<FlowIterator>;
|
|
14
|
+
resolveAsTrue(): Promise<FlowIterator>;
|
|
15
|
+
resolveAsFalse(): Promise<FlowIterator>;
|
|
16
|
+
createFlowExecutor(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _configuration: PLBlueprintConfiguration, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>, _lineOffset: number, _firstLineDirective: boolean): Promise<string | null>;
|
|
17
|
+
adjustInterpretingContext(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): FlowAdjustment | null;
|
|
18
|
+
adjustExecutingContext(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _flowIdentifier: Array<string>, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<void>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PLFlowOutput } from "../../FlowOutput";
|
|
2
|
+
import { PLInterpreterContext } from "../../../InterpreterContext";
|
|
3
|
+
import { FlowIterator } from "../../FlowIterator";
|
|
4
|
+
import { PLFlow, PLFlowFormat, PLFlowExecutionType } from "../../Flow";
|
|
5
|
+
import { PLExecutionContext } from "../../../ExecutionContext";
|
|
6
|
+
import { PLFlowSource } from "../../FlowSource";
|
|
7
|
+
import { PLBlueprintConfiguration } from "../../../../blueprints/BlueprintConfiguration";
|
|
8
|
+
import { FlowIteratorBodyResult, FlowAdjustment } from "../../FlowIterator";
|
|
9
|
+
import { PLBlueprint } from "../../../../blueprints/Blueprint";
|
|
10
|
+
export declare class PLFlowInject extends PLFlow {
|
|
11
|
+
flowFormat(): Array<PLFlowFormat>;
|
|
12
|
+
executionType(): PLFlowExecutionType;
|
|
13
|
+
cachedBlueprints: Map<string, PLBlueprint>;
|
|
14
|
+
createBodyIterator(_currentContext: PLInterpreterContext, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<FlowIterator>;
|
|
15
|
+
createFlowExecutor(dataContext: PLInterpreterContext, body: FlowIteratorBodyResult, executionContext: PLExecutionContext, configuration: PLBlueprintConfiguration, outputs: Map<string, PLFlowOutput>, sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>, lineOffset: number, firstLineDirective: boolean): Promise<string | null>;
|
|
16
|
+
adjustInterpretingContext(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): FlowAdjustment | null;
|
|
17
|
+
adjustExecutingContext(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _flowIdentifier: Array<string>, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<void>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PLFlowOutput } from "../../FlowOutput";
|
|
2
|
+
import { PLInterpreterContext } from "../../../InterpreterContext";
|
|
3
|
+
import { FlowIterator } from "../../FlowIterator";
|
|
4
|
+
import { PLFlow, PLFlowFormat, PLFlowExecutionType } from "../../Flow";
|
|
5
|
+
import { PLExecutionContext } from "../../../ExecutionContext";
|
|
6
|
+
import { PLFlowSource } from "../../FlowSource";
|
|
7
|
+
import { PLBlueprintConfiguration } from "../../../../blueprints/BlueprintConfiguration";
|
|
8
|
+
import { FlowIteratorBodyResult, FlowAdjustment } from "../../FlowIterator";
|
|
9
|
+
export declare class PLFlowFor extends PLFlow {
|
|
10
|
+
flowFormat(): Array<PLFlowFormat>;
|
|
11
|
+
chainableFlows(): Array<string> | null;
|
|
12
|
+
executionType(): PLFlowExecutionType;
|
|
13
|
+
createBodyIterator(currentContext: PLInterpreterContext, executionContext: PLExecutionContext, outputs: Map<string, PLFlowOutput>, sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<FlowIterator>;
|
|
14
|
+
createFlowExecutor(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _configuration: PLBlueprintConfiguration, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>, _lineOffset: number, _firstLineDirective: boolean): Promise<string | null>;
|
|
15
|
+
adjustInterpretingContext(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): FlowAdjustment | null;
|
|
16
|
+
adjustExecutingContext(_dataContext: PLInterpreterContext, _body: FlowIteratorBodyResult, _executionContext: PLExecutionContext, _flowIdentifier: Array<string>, _outputs: Map<string, PLFlowOutput>, _sources: Map<string, PLFlowSource>, _keywords: Map<string, boolean>): Promise<void>;
|
|
17
|
+
}
|