@supernova-studio/pulsar-core 2.0.15 → 2.0.18
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/main/core/src/engine/configuration/ExportConfiguration.d.ts +2 -3
- package/build/main/core/src/engine/generation/requests/ExportDataRequest.d.ts +1 -1
- package/build/main/core/src/engine/generation/requests/ExportDataResponse.d.ts +1 -1
- package/build/main/core/src/engine/generation/requests/specific/dsm/ExportDataRequestAsset.d.ts +1 -1
- package/build/main/core/src/engine/generation/requests/specific/dsm/ExportDataRequestBlueprint.d.ts +1 -2
- package/build/main/core/src/engine/generation/requests/specific/dsm/ExportDataRequestBundledResource.d.ts +1 -1
- package/build/main/core/src/engine/generation/requests/specific/dsm/ExportDataRequestDSMComponent.d.ts +1 -1
- package/build/main/core/src/engine/generation/requests/specific/dsm/ExportDataRequestDSMComponentGroup.d.ts +1 -1
- package/build/main/core/src/engine/generation/requests/specific/dsm/ExportDataRequestDSMDocumentationPage.d.ts +1 -1
- package/build/main/core/src/engine/generation/requests/specific/dsm/ExportDataRequestDSMGeneric.d.ts +1 -1
- package/build/main/core/src/engine/generation/requests/specific/dsm/ExportDataRequestDSMTheme.d.ts +1 -1
- package/build/main/core/src/engine/generation/requests/specific/dsm/ExportDataRequestDSMTokenGroup.d.ts +1 -1
- package/build/main/core/src/engine/generation/requests/specific/dsm/ExportDataRequestDSMTokenType.d.ts +1 -1
- package/build/main/core/src/engine/loaders/BlueprintLoader.d.ts +2 -2
- package/build/main/core/src/engine/writing/writers/ExportWriterRuleProcessor.d.ts +1 -1
- package/build/main/core/src/exports.d.ts +0 -1
- package/build/main/core/src/pulsar/Pulsar.d.ts +2 -2
- package/build/main/core/src/pulsar/PulsarInterface.d.ts +2 -2
- package/build/main/core/src/pulsar/PulsarStaticAnalysis.d.ts +1 -3
- package/build/main/core/src/pulsar/PulsarStaticAnalysisInterface.d.ts +2 -3
- package/build/main/core/src/pulsar/managers/PulsarCIManager.d.ts +1 -1
- package/build/main/core/src/pulsar/managers/PulsarCodeManager.d.ts +1 -2
- package/build/main/core/src/tests/casebuilders/dsm.d.ts +1 -1
- package/build/main/core/src/tools/Logger.d.ts +1 -1
- package/build/main/core/src/tools/LoggerDefaultMessages.d.ts +1 -1
- package/build/main/pulsar-core.js +2 -272
- package/package.json +3 -2
- package/LICENSE +0 -21
- package/build/main/language/src/blueprints/Blueprint.d.ts +0 -9
- package/build/main/language/src/blueprints/BlueprintConfiguration.d.ts +0 -17
- package/build/main/language/src/blueprints/BlueprintFactory.d.ts +0 -9
- package/build/main/language/src/configuration/KeywordsFlows.d.ts +0 -23
- package/build/main/language/src/configuration/KeywordsFunctions.d.ts +0 -12
- package/build/main/language/src/configuration/KeywordsTranformers.d.ts +0 -63
- package/build/main/language/src/debugger/Debugger.d.ts +0 -27
- package/build/main/language/src/debugger/DebuggerErrorBuilder.d.ts +0 -14
- package/build/main/language/src/debugger/DebuggerErrors.d.ts +0 -41
- package/build/main/language/src/exports.d.ts +0 -17
- package/build/main/language/src/extensions/dsm/DSMBridge.d.ts +0 -38
- package/build/main/language/src/extensions/dsm/DSMDataCore.d.ts +0 -135
- package/build/main/language/src/extensions/dsm/DSMExecutionContext.d.ts +0 -23
- package/build/main/language/src/extensions/dsm/configuration/DSMKeywordsFunctions.d.ts +0 -52
- package/build/main/language/src/extensions/dsm/functions/assets/DSMFunctionAllAssets.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/assets/DSMFunctionAssetById.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/assets/DSMFunctionAssetsByGroupId.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/brands/DSMFunctionAllBrands.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/brands/DSMFunctionCurrentBrand.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/components/DSMFunctionAllComponents.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/components/DSMFunctionComponentById.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/configuration/DSMFunctionConfiguration.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/configuration/DSMFunctionPackageConfiguration.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/design_components/DSMFunctionAllDesignComponents.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/design_components/DSMFunctionDesignComponentById.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/design_system/DSMFunctionCurrentDesignSystem.d.ts +0 -32
- package/build/main/language/src/extensions/dsm/functions/design_system/DSMFunctionCurrentDesignSystemSwitcher.d.ts +0 -19
- package/build/main/language/src/extensions/dsm/functions/design_system/DSMFunctionDesignSystemById.d.ts +0 -14
- package/build/main/language/src/extensions/dsm/functions/design_system_version/DSMFunctionAllDesignSystemVersions.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/design_system_version/DSMFunctionCurrentDesignSystemVersion.d.ts +0 -28
- package/build/main/language/src/extensions/dsm/functions/documentation/DSMFunctionDocsAllGroups.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/documentation/DSMFunctionDocsAllPages.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/documentation/DSMFunctionDocsConfiguration.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/documentation/DSMFunctionDocsDomain.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/documentation/DSMFunctionDocsGroupById.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/documentation/DSMFunctionDocsPageById.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/documentation/DSMFunctionDocsPageToMarkdown.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/documentation/DSMFunctionDocsRootGroup.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/fonts/DSMFunctionFontIsBold.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/fonts/DSMFunctionFontIsItalic.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/fonts/DSMFunctionFontIsRegular.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/fonts/DSMFunctionFontWeight.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/groups/assets/DSMFunctionAllAssetGroups.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/groups/assets/DSMFunctionAssetGroupById.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/groups/assets/DSMFunctionAssetGroupContainingAssetId.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/groups/assets/DSMFunctionAssetGroupTree.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/groups/tokens/DSMFunctionAllTokenGroupTrees.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/groups/tokens/DSMFunctionAllTokenGroups.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/groups/tokens/DSMFunctionTokenGroupById.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/groups/tokens/DSMFunctionTokenGroupContainingTokenId.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/groups/tokens/DSMFunctionTokenGroupTreeByType.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/groups/tokens/DSMFunctionTokenGroupsByType.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/kvs/DSMFunctionKVSData.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/themes/DSMFunctionAllThemes.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/themes/DSMFunctionCurrentTheme.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/themes/DSMFunctionThemeById.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/tokens/DSMFunctionAllTokens.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/tokens/DSMFunctionAllTokensByApplyingThemes.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/tokens/DSMFunctionTokenById.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/tokens/DSMFunctionTokensByApplyingThemes.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/tokens/DSMFunctionTokensByGroupId.d.ts +0 -10
- package/build/main/language/src/extensions/dsm/functions/tokens/DSMFunctionTokensByType.d.ts +0 -10
- package/build/main/language/src/index.d.ts +0 -1
- package/build/main/language/src/interpreter/ExecutionContext.d.ts +0 -56
- package/build/main/language/src/interpreter/Interpreter.d.ts +0 -33
- package/build/main/language/src/interpreter/InterpreterContext.d.ts +0 -9
- package/build/main/language/src/interpreter/emitters/BlueprintEmitter.d.ts +0 -5
- package/build/main/language/src/interpreter/emitters/EmittedContent.d.ts +0 -6
- package/build/main/language/src/interpreter/emitters/MemoryBlueprintEmitter.d.ts +0 -11
- package/build/main/language/src/interpreter/flows/Flow.d.ts +0 -37
- package/build/main/language/src/interpreter/flows/FlowIterator.d.ts +0 -25
- package/build/main/language/src/interpreter/flows/FlowOutput.d.ts +0 -9
- package/build/main/language/src/interpreter/flows/FlowSource.d.ts +0 -10
- package/build/main/language/src/interpreter/flows/specific/code/FlowCodeMerge.d.ts +0 -16
- package/build/main/language/src/interpreter/flows/specific/debug/FlowLog.d.ts +0 -18
- package/build/main/language/src/interpreter/flows/specific/emit/FlowEmit.d.ts +0 -16
- package/build/main/language/src/interpreter/flows/specific/function/FlowImport.d.ts +0 -16
- package/build/main/language/src/interpreter/flows/specific/function/FlowReturn.d.ts +0 -16
- package/build/main/language/src/interpreter/flows/specific/if/FlowElse.d.ts +0 -19
- package/build/main/language/src/interpreter/flows/specific/if/FlowElseIf.d.ts +0 -20
- package/build/main/language/src/interpreter/flows/specific/if/FlowIf.d.ts +0 -19
- package/build/main/language/src/interpreter/flows/specific/inject/FlowInject.d.ts +0 -16
- package/build/main/language/src/interpreter/flows/specific/loops/FlowFor.d.ts +0 -17
- package/build/main/language/src/interpreter/flows/specific/loops/FlowMap.d.ts +0 -17
- package/build/main/language/src/interpreter/flows/specific/loops/FlowTraverse.d.ts +0 -18
- package/build/main/language/src/interpreter/flows/specific/loops/FlowTraverseChildren.d.ts +0 -6
- package/build/main/language/src/interpreter/flows/specific/switch/FlowCase.d.ts +0 -17
- package/build/main/language/src/interpreter/flows/specific/switch/FlowDefault.d.ts +0 -16
- package/build/main/language/src/interpreter/flows/specific/switch/FlowSwitch.d.ts +0 -17
- package/build/main/language/src/interpreter/flows/specific/var/FlowConst.d.ts +0 -16
- package/build/main/language/src/interpreter/flows/specific/var/FlowGlobal.d.ts +0 -16
- package/build/main/language/src/interpreter/flows/specific/var/FlowLet.d.ts +0 -16
- package/build/main/language/src/interpreter/flows/specific/var/FlowSet.d.ts +0 -16
- package/build/main/language/src/interpreter/functions/Function.d.ts +0 -31
- package/build/main/language/src/interpreter/functions/specific/blueprints/FunctionCall.d.ts +0 -9
- package/build/main/language/src/interpreter/functions/specific/network/FunctionNetworkGetAnonymous.d.ts +0 -11
- package/build/main/language/src/interpreter/functions/specific/random/FunctionRandomInt.d.ts +0 -9
- package/build/main/language/src/interpreter/functions/specific/random/FunctionRandomString.d.ts +0 -9
- package/build/main/language/src/interpreter/functions/specific/support/FunctionArraysToZippedMap.d.ts +0 -9
- package/build/main/language/src/interpreter/functions/specific/support/FunctionVarDefined.d.ts +0 -9
- package/build/main/language/src/interpreter/functions/specific/support/FunctionVarMutable.d.ts +0 -9
- package/build/main/language/src/interpreter/javascript/JSContext.d.ts +0 -18
- package/build/main/language/src/interpreter/javascript/JSContextBridge.d.ts +0 -16
- package/build/main/language/src/interpreter/javascript/JSFunction.d.ts +0 -20
- package/build/main/language/src/interpreter/javascript/JSTransformer.d.ts +0 -30
- package/build/main/language/src/interpreter/loaders/BlueprintLoader.d.ts +0 -12
- package/build/main/language/src/interpreter/loaders/MemoryBlueprintLoader.d.ts +0 -10
- package/build/main/language/src/interpreter/loggers/Logger.d.ts +0 -47
- package/build/main/language/src/interpreter/loggers/LoggerDefaultMessages.d.ts +0 -14
- package/build/main/language/src/interpreter/transformers/Transformer.d.ts +0 -28
- package/build/main/language/src/interpreter/transformers/specific/array/TransformerAppend.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/array/TransformerConcat.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/array/TransformerEnumerated.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/array/TransformerFirst.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/array/TransformerFrom.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/array/TransformerJoin.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/array/TransformerLast.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/array/TransformerRandom.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/array/TransformerRange.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/array/TransformerReversed.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/array/TransformerShuffled.d.ts +0 -11
- package/build/main/language/src/interpreter/transformers/specific/array/TransformerSorted.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/array/TransformerUntil.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/map/TransformerAdd.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/map/TransformerKeys.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/map/TransformerValues.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/numeric/TransformerAbsolute.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/numeric/TransformerCeiled.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/numeric/TransformerFloored.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/numeric/TransformerNegative.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/numeric/TransformerPositive.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/numeric/TransformerRounded.d.ts +0 -11
- package/build/main/language/src/interpreter/transformers/specific/shared/TransformerCount.d.ts +0 -12
- package/build/main/language/src/interpreter/transformers/specific/shared/TransformerEquals.d.ts +0 -14
- package/build/main/language/src/interpreter/transformers/specific/shared/TransformerFormatDate.d.ts +0 -13
- package/build/main/language/src/interpreter/transformers/specific/shared/TransformerIsArray.d.ts +0 -14
- package/build/main/language/src/interpreter/transformers/specific/shared/TransformerIsBool.d.ts +0 -14
- package/build/main/language/src/interpreter/transformers/specific/shared/TransformerIsNumber.d.ts +0 -14
- package/build/main/language/src/interpreter/transformers/specific/shared/TransformerIsObject.d.ts +0 -14
- package/build/main/language/src/interpreter/transformers/specific/shared/TransformerIsString.d.ts +0 -14
- package/build/main/language/src/interpreter/transformers/specific/shared/TransformerToString.d.ts +0 -14
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerCamelcased.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerCapitalized.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerContains.d.ts +0 -11
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerDefault.d.ts +0 -11
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerEndsWith.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerExtended.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerLowercased.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerPrefixed.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerReplacing.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerSlashDoubleQuotes.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerSlashNewlines.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerSlashSingleQuotes.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerSnakecased.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerSplit.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerSplitExpr.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerSplitNewlines.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerStartsWith.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerSubstring.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerSuffixed.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerTrimmingCharacter.d.ts +0 -11
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerTrimmingSpaces.d.ts +0 -10
- package/build/main/language/src/interpreter/transformers/specific/string/TransformerUppercased.d.ts +0 -10
- package/build/main/language/src/interpreter/variables/Variable.d.ts +0 -22
- package/build/main/language/src/interpreter/variables/VariableContext.d.ts +0 -14
- package/build/main/language/src/parser/Tokenization/Concrete/ConcreteBuffer.d.ts +0 -19
- package/build/main/language/src/parser/Tokenization/Concrete/ConcreteParser.d.ts +0 -25
- package/build/main/language/src/parser/Tokenization/Concrete/ConcreteToken.d.ts +0 -21
- package/build/main/language/src/parser/Tokenization/Lexical/LexicalBuffer.d.ts +0 -22
- package/build/main/language/src/parser/Tokenization/Lexical/LexicalParser.d.ts +0 -14
- package/build/main/language/src/parser/Tokenization/Lexical/LexicalToken.d.ts +0 -24
- package/build/main/language/src/parser/errors/LanguageError.d.ts +0 -5
- package/build/main/language/src/parser/errors/LanguageErrorAnalysis.d.ts +0 -26
- package/build/main/language/src/parser/errors/LoggerErrorUtility.d.ts +0 -8
- package/build/main/language/src/parser/symbols/Symbol.d.ts +0 -29
- package/build/main/language/src/parser/symbols/SymbolBuffer.d.ts +0 -16
- package/build/main/language/src/parser/symbols/SymbolFactory.d.ts +0 -27
- package/build/main/language/src/parser/symbols/SymbolTable.d.ts +0 -22
- package/build/main/language/src/parser/symbols/SymbolType.d.ts +0 -5
- package/build/main/language/src/parser/syntax/SyntaxParser.d.ts +0 -13
- package/build/main/language/src/parser/syntax/SyntaxTree.d.ts +0 -8
- package/build/main/language/src/parser/syntax/nodes/SyntaxNode.d.ts +0 -13
- package/build/main/language/src/parser/syntax/nodes/SyntaxNodeFlow.d.ts +0 -34
- package/build/main/language/src/parser/syntax/nodes/SyntaxNodeGroup.d.ts +0 -17
- package/build/main/language/src/parser/syntax/nodes/SyntaxNodeText.d.ts +0 -16
- package/build/main/language/src/parser/syntax/nodes/substitution/SyntaxNodeSubstitution.d.ts +0 -24
- package/build/main/language/src/parser/syntax/nodes/substitution/SyntaxNodeSubstitutionAnalyzer.d.ts +0 -21
- package/build/main/language/src/parser/syntax/nodes/substitution/interpreters/SyntaxNodeSubstitutionAsyncInterpreter.d.ts +0 -27
- package/build/main/language/src/parser/syntax/nodes/substitution/interpreters/SyntaxNodeSubstitutionInterpreter.d.ts +0 -10
- package/build/main/language/src/parser/syntax/nodes/substitution/interpreters/SyntaxNodeSubstitutionSyncInterpreter.d.ts +0 -25
- package/build/main/language/src/tools/autocomplete/AutocompleteEngine.d.ts +0 -31
- package/build/main/language/src/tools/autocomplete/BlueprintAutocompleteEngine.d.ts +0 -40
- package/build/main/language/src/tools/autocomplete/BlueprintSnippets.d.ts +0 -16
- package/build/main/language/src/tools/autocomplete/PlaceholderDisabledSnippetPool.d.ts +0 -34
- package/build/main/language/src/tools/autocomplete/PlaceholderEnabledSnippetPool.d.ts +0 -35
- package/build/main/language/src/tools/documentation/DeclarationBuilder.d.ts +0 -8
- package/build/main/language/src/tools/documentation/Doc.d.ts +0 -30
- package/build/main/language/src/tools/documentation/Documentable.d.ts +0 -4
- package/build/main/language/src/tools/highlight/BlueprintHighlightEngine.d.ts +0 -51
- package/build/main/language/src/tools/highlight/BlueprintHighlightEngineState.d.ts +0 -41
- package/build/main/language/src/tools/highlight/HighlightEngine.d.ts +0 -44
- package/build/main/language/src/utils/FlowUtils.d.ts +0 -5
- package/build/main/language/src/utils/StringUtils.d.ts +0 -72
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { SyntaxNode } from '../syntax/nodes/SyntaxNode';
|
|
2
|
-
import { ConcreteToken } from '../Tokenization/Concrete/ConcreteToken';
|
|
3
|
-
import { LexicalToken } from '../Tokenization/Lexical/LexicalToken';
|
|
4
|
-
import { Symbol } from './Symbol';
|
|
5
|
-
export declare class PLSymbolTable {
|
|
6
|
-
private symbolFactory;
|
|
7
|
-
readonly symbols: Map<string, Symbol>;
|
|
8
|
-
constructor(source: string);
|
|
9
|
-
emitSymbolFromLexicalToken(token: LexicalToken): Symbol;
|
|
10
|
-
emitSymbolFromConcreteToken(token: ConcreteToken): Symbol;
|
|
11
|
-
emitSymbolFromSyntaxNode(node: SyntaxNode): Symbol;
|
|
12
|
-
private storeSymbol;
|
|
13
|
-
setExecutedSource(source: string): void;
|
|
14
|
-
lexicalPhaseSymbols(): Array<Symbol>;
|
|
15
|
-
lexicalPhaseSymbolsSortedByLocation(): Array<Symbol>;
|
|
16
|
-
concretePhaseSymbols(): Array<Symbol>;
|
|
17
|
-
concretePhaseSymbolSortedByLocation(): Array<Symbol>;
|
|
18
|
-
syntaxPhaseSymbols(): Array<Symbol>;
|
|
19
|
-
syntaxPhaseSymbolSortedByLocation(): Array<Symbol>;
|
|
20
|
-
symbolById(symbolId: string): Symbol | null;
|
|
21
|
-
symbolArraySortedByLocation(symbols: Array<Symbol>): Array<Symbol>;
|
|
22
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PLExecutionContext } from '../../interpreter/ExecutionContext';
|
|
2
|
-
import { ConcreteBuffer } from '../Tokenization/Concrete/ConcreteBuffer';
|
|
3
|
-
import { SyntaxNodeFlow } from './nodes/SyntaxNodeFlow';
|
|
4
|
-
import { SyntaxTree } from './SyntaxTree';
|
|
5
|
-
export declare class SyntaxParser {
|
|
6
|
-
readonly tokens: ConcreteBuffer;
|
|
7
|
-
executionContext: PLExecutionContext;
|
|
8
|
-
openedFlowNodes: Array<SyntaxNodeFlow>;
|
|
9
|
-
constructor(tokens: ConcreteBuffer, executionContext: PLExecutionContext);
|
|
10
|
-
parse(): SyntaxTree;
|
|
11
|
-
parseTokens(tokens: ConcreteBuffer): SyntaxTree;
|
|
12
|
-
lastOpenedChainNode(): SyntaxNodeFlow | null;
|
|
13
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PLExecutionContext } from '../../interpreter/ExecutionContext';
|
|
2
|
-
import { SyntaxNodeGroup } from './nodes/SyntaxNodeGroup';
|
|
3
|
-
export declare class SyntaxTree {
|
|
4
|
-
rootNode: SyntaxNodeGroup;
|
|
5
|
-
constructor(executionContext: PLExecutionContext, rootNode?: SyntaxNodeGroup);
|
|
6
|
-
debugDescription(): string;
|
|
7
|
-
equals(obj: SyntaxTree): boolean;
|
|
8
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ConcreteToken } from '../../Tokenization/Concrete/ConcreteToken';
|
|
2
|
-
export declare enum NodeType {
|
|
3
|
-
text = 0,
|
|
4
|
-
flow = 1,
|
|
5
|
-
substitution = 2,
|
|
6
|
-
group = 3
|
|
7
|
-
}
|
|
8
|
-
export declare abstract class SyntaxNode {
|
|
9
|
-
nodeType: NodeType;
|
|
10
|
-
backingTokens: Array<ConcreteToken>;
|
|
11
|
-
debugSymbol: string | null;
|
|
12
|
-
abstract debugDescription(): string;
|
|
13
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { PLExecutionContext } from '../../../interpreter/ExecutionContext';
|
|
2
|
-
import { PLFlow } from '../../../interpreter/flows/Flow';
|
|
3
|
-
import { PLFlowSource } from '../../../interpreter/flows/FlowSource';
|
|
4
|
-
import { ConcreteToken } from '../../Tokenization/Concrete/ConcreteToken';
|
|
5
|
-
import { PLFlowOutput } from './../../../interpreter/flows/FlowOutput';
|
|
6
|
-
import { PLInterpreterContext } from './../../../interpreter/InterpreterContext';
|
|
7
|
-
import { NodeType, SyntaxNode } from './SyntaxNode';
|
|
8
|
-
import { SyntaxNodeGroup } from './SyntaxNodeGroup';
|
|
9
|
-
export declare class SyntaxNodeFlow implements SyntaxNode {
|
|
10
|
-
nodeType: NodeType;
|
|
11
|
-
backingTokens: Array<ConcreteToken>;
|
|
12
|
-
debugSymbol: string | null;
|
|
13
|
-
flowGroup: SyntaxNodeGroup;
|
|
14
|
-
flowIdentifier: string;
|
|
15
|
-
directive: string;
|
|
16
|
-
flow: PLFlow;
|
|
17
|
-
lineOffset: number;
|
|
18
|
-
firstLineDirective: boolean;
|
|
19
|
-
outputs: Map<string, PLFlowOutput>;
|
|
20
|
-
sources: Map<string, PLFlowSource>;
|
|
21
|
-
keywords: Map<string, boolean>;
|
|
22
|
-
previousChainFlow?: SyntaxNodeFlow;
|
|
23
|
-
nextChainFlow?: SyntaxNodeFlow;
|
|
24
|
-
parent?: SyntaxNodeFlow;
|
|
25
|
-
constructor(directive: string, lineOffset: number, firstLineDirective: boolean, flowGroup: SyntaxNodeGroup | null, executionContext: PLExecutionContext, from: Array<ConcreteToken>);
|
|
26
|
-
setLinksToFlow(node: SyntaxNodeFlow): void;
|
|
27
|
-
unlinkPreviousChainedFlow(): void;
|
|
28
|
-
unlinkNextChainedFlow(): void;
|
|
29
|
-
setParent(node: SyntaxNodeFlow | null): void;
|
|
30
|
-
flowStackIdentifier(): Array<string>;
|
|
31
|
-
debugDescription(): string;
|
|
32
|
-
equals(obj: SyntaxNodeFlow): boolean;
|
|
33
|
-
interpret(_context: PLInterpreterContext, _executionContext: PLExecutionContext): Promise<string>;
|
|
34
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { SyntaxNode } from './SyntaxNode';
|
|
2
|
-
import { NodeType } from './SyntaxNode';
|
|
3
|
-
import { PLExecutionContext } from '../../../interpreter/ExecutionContext';
|
|
4
|
-
import { PLInterpreterContext } from './../../../interpreter/InterpreterContext';
|
|
5
|
-
import { ConcreteToken } from '../../Tokenization/Concrete/ConcreteToken';
|
|
6
|
-
export declare class SyntaxNodeGroup implements SyntaxNode {
|
|
7
|
-
nodeType: NodeType;
|
|
8
|
-
debugSymbol: string | null;
|
|
9
|
-
backingTokens: Array<ConcreteToken>;
|
|
10
|
-
nodes: Array<SyntaxNode>;
|
|
11
|
-
depth: number;
|
|
12
|
-
constructor(nodes: Array<SyntaxNode>, depth: number, executionContext: PLExecutionContext, from: Array<ConcreteToken>);
|
|
13
|
-
add(node: SyntaxNode): void;
|
|
14
|
-
debugDescription(): string;
|
|
15
|
-
equals(obj: SyntaxNodeGroup): boolean;
|
|
16
|
-
interpret(_context: PLInterpreterContext, _executionContext: PLExecutionContext): Promise<string>;
|
|
17
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { SyntaxNode } from './SyntaxNode';
|
|
2
|
-
import { NodeType } from './SyntaxNode';
|
|
3
|
-
import { PLExecutionContext } from '../../../interpreter/ExecutionContext';
|
|
4
|
-
import { PLInterpreterContext } from './../../../interpreter/InterpreterContext';
|
|
5
|
-
import { ConcreteToken } from '../../Tokenization/Concrete/ConcreteToken';
|
|
6
|
-
export declare class SyntaxNodeText implements SyntaxNode {
|
|
7
|
-
nodeType: NodeType;
|
|
8
|
-
backingTokens: Array<ConcreteToken>;
|
|
9
|
-
debugSymbol: string | null;
|
|
10
|
-
text: string;
|
|
11
|
-
constructor(text: string, executionContext: PLExecutionContext, from: Array<ConcreteToken>);
|
|
12
|
-
debugDescription(): string;
|
|
13
|
-
equals(obj: SyntaxNodeText): boolean;
|
|
14
|
-
interpret(_context: PLInterpreterContext, _executionContext: PLExecutionContext): Promise<string>;
|
|
15
|
-
interpretSync(_context: PLInterpreterContext, _executionContext: PLExecutionContext): string;
|
|
16
|
-
}
|
package/build/main/language/src/parser/syntax/nodes/substitution/SyntaxNodeSubstitution.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { NodeType, SyntaxNode } from '../SyntaxNode';
|
|
2
|
-
import { PLFunction } from '../../../../interpreter/functions/Function';
|
|
3
|
-
import { PLExecutionContext } from '../../../../interpreter/ExecutionContext';
|
|
4
|
-
import { ConcreteToken } from '../../../Tokenization/Concrete/ConcreteToken';
|
|
5
|
-
import jsep from 'jsep';
|
|
6
|
-
import { SyntaxNodeSubstitutionExecutionMode } from './SyntaxNodeSubstitutionAnalyzer';
|
|
7
|
-
import { SyntaxNodeSubstitutionInterpreter } from './interpreters/SyntaxNodeSubstitutionInterpreter';
|
|
8
|
-
export declare class SyntaxNodeSubstitution implements SyntaxNode {
|
|
9
|
-
nodeType: NodeType;
|
|
10
|
-
backingTokens: Array<ConcreteToken>;
|
|
11
|
-
debugSymbol: string | null;
|
|
12
|
-
customDataSource: {
|
|
13
|
-
function: PLFunction;
|
|
14
|
-
directive: string;
|
|
15
|
-
} | null;
|
|
16
|
-
directive: string;
|
|
17
|
-
isVirtual: boolean;
|
|
18
|
-
rootExpression: jsep.Expression;
|
|
19
|
-
preferredExecutionMode: SyntaxNodeSubstitutionExecutionMode;
|
|
20
|
-
interpreter: SyntaxNodeSubstitutionInterpreter;
|
|
21
|
-
constructor(directive: string, executionContext: PLExecutionContext, from: Array<ConcreteToken>, isVirtual: boolean);
|
|
22
|
-
debugDescription(): string;
|
|
23
|
-
equals(obj: SyntaxNodeSubstitution): boolean;
|
|
24
|
-
}
|
package/build/main/language/src/parser/syntax/nodes/substitution/SyntaxNodeSubstitutionAnalyzer.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { PLExecutionContext } from "../../../../interpreter/ExecutionContext";
|
|
2
|
-
import jsep from "jsep";
|
|
3
|
-
import { ObjectExpression } from '@jsep-plugin/object';
|
|
4
|
-
import { SyntaxNodeSubstitution } from "./SyntaxNodeSubstitution";
|
|
5
|
-
export declare enum SyntaxNodeSubstitutionExecutionMode {
|
|
6
|
-
sync = 0,
|
|
7
|
-
async = 1
|
|
8
|
-
}
|
|
9
|
-
export declare class SyntaxNodeSubstitutionAnalyzer {
|
|
10
|
-
executionContext: PLExecutionContext;
|
|
11
|
-
constructor(executionContext: PLExecutionContext);
|
|
12
|
-
analyzePreferredExecutionMode(node: SyntaxNodeSubstitution): SyntaxNodeSubstitutionExecutionMode;
|
|
13
|
-
needsAsyncExpression(expression: jsep.Expression): boolean;
|
|
14
|
-
needsAsyncCallExpression(expression: jsep.CallExpression): boolean;
|
|
15
|
-
needsAsyncCallMemberExpression(callee: jsep.MemberExpression): boolean;
|
|
16
|
-
needsAsyncArrayExpression(expression: jsep.ArrayExpression): boolean;
|
|
17
|
-
needsAsyncBinaryExpression(expression: jsep.BinaryExpression): boolean;
|
|
18
|
-
needsAsyncConditionalExpression(expression: jsep.ConditionalExpression): boolean;
|
|
19
|
-
needsAsyncMemberExpression(expression: jsep.MemberExpression): boolean;
|
|
20
|
-
needsAsyncObjectExpression(expression: ObjectExpression): boolean;
|
|
21
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { PLExecutionContext } from '../../../../../interpreter/ExecutionContext';
|
|
2
|
-
import { PLInterpreterContext } from '../../../../../interpreter/InterpreterContext';
|
|
3
|
-
import jsep from 'jsep';
|
|
4
|
-
import { ObjectExpression } from '@jsep-plugin/object';
|
|
5
|
-
import { SyntaxNodeSubstitution } from '../SyntaxNodeSubstitution';
|
|
6
|
-
import { SyntaxNodeSubstitutionInterpreter } from './SyntaxNodeSubstitutionInterpreter';
|
|
7
|
-
export declare class SyntaxNodeSubstitutionAsyncInterpreter extends SyntaxNodeSubstitutionInterpreter {
|
|
8
|
-
expressionResolutionLookup: Object;
|
|
9
|
-
node: SyntaxNodeSubstitution;
|
|
10
|
-
constructor(node: SyntaxNodeSubstitution);
|
|
11
|
-
interpretAsync(context: PLInterpreterContext, executionContext: PLExecutionContext): Promise<any>;
|
|
12
|
-
resolveExpression(expression: jsep.Expression, context: PLInterpreterContext, executionContext: PLExecutionContext): Promise<any>;
|
|
13
|
-
processIdentifier(expression: jsep.Identifier, context: PLInterpreterContext, executionContext: PLExecutionContext): any;
|
|
14
|
-
processLiteralExpression(expression: jsep.Literal, context: PLInterpreterContext, executionContext: PLExecutionContext): string | boolean | number;
|
|
15
|
-
processUnaryExpression(expression: jsep.UnaryExpression, context: PLInterpreterContext, executionContext: PLExecutionContext): Promise<any>;
|
|
16
|
-
processBinaryExpression(expression: jsep.BinaryExpression, context: PLInterpreterContext, executionContext: PLExecutionContext): Promise<any>;
|
|
17
|
-
validateBooleanBinaryOp(leftValue: any, rightValue: any, operator: string): void;
|
|
18
|
-
validateNumericBinaryOp(leftValue: any, rightValue: any, operator: string): void;
|
|
19
|
-
processArrayExpression(expression: jsep.ArrayExpression, context: PLInterpreterContext, executionContext: PLExecutionContext): Promise<Array<any>>;
|
|
20
|
-
processConditionalExpression(expression: jsep.ConditionalExpression, context: PLInterpreterContext, executionContext: PLExecutionContext): Promise<any>;
|
|
21
|
-
processThisExpression(expression: jsep.ThisExpression, context: PLInterpreterContext, executionContext: PLExecutionContext): any;
|
|
22
|
-
processMemberExpression(expression: jsep.MemberExpression, context: PLInterpreterContext, executionContext: PLExecutionContext): Promise<any>;
|
|
23
|
-
processCallExpression(expression: jsep.CallExpression, context: PLInterpreterContext, executionContext: PLExecutionContext): Promise<any>;
|
|
24
|
-
processCallMemberExpression(callee: jsep.MemberExpression, args: Array<any>, context: PLInterpreterContext, executionContext: PLExecutionContext): Promise<any>;
|
|
25
|
-
processCompoundExpression(expression: jsep.Compound, context: PLInterpreterContext, executionContext: PLExecutionContext): any;
|
|
26
|
-
processObjectExpression(expression: ObjectExpression, context: PLInterpreterContext, executionContext: PLExecutionContext): Promise<any>;
|
|
27
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PLExecutionContext } from "../../../../../interpreter/ExecutionContext";
|
|
2
|
-
import { PLInterpreterContext } from "../../../../../interpreter/InterpreterContext";
|
|
3
|
-
import { SyntaxNodeSubstitution } from "../SyntaxNodeSubstitution";
|
|
4
|
-
export declare class SyntaxNodeSubstitutionInterpreter {
|
|
5
|
-
expressionResolutionLookup: Object;
|
|
6
|
-
node: SyntaxNodeSubstitution;
|
|
7
|
-
constructor(node: SyntaxNodeSubstitution);
|
|
8
|
-
interpretSync(context: PLInterpreterContext, executionContext: PLExecutionContext): any;
|
|
9
|
-
interpretAsync(context: PLInterpreterContext, executionContext: PLExecutionContext): Promise<any>;
|
|
10
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { PLExecutionContext } from '../../../../../interpreter/ExecutionContext';
|
|
2
|
-
import { PLInterpreterContext } from '../../../../../interpreter/InterpreterContext';
|
|
3
|
-
import jsep from 'jsep';
|
|
4
|
-
import { ObjectExpression } from '@jsep-plugin/object';
|
|
5
|
-
import { SyntaxNodeSubstitutionInterpreter } from './SyntaxNodeSubstitutionInterpreter';
|
|
6
|
-
import { SyntaxNodeSubstitution } from '../SyntaxNodeSubstitution';
|
|
7
|
-
export declare class SyntaxNodeSubstitutionSyncInterpreter extends SyntaxNodeSubstitutionInterpreter {
|
|
8
|
-
constructor(node: SyntaxNodeSubstitution);
|
|
9
|
-
interpretSync(context: PLInterpreterContext, executionContext: PLExecutionContext): any;
|
|
10
|
-
resolveExpression(expression: jsep.Expression, context: PLInterpreterContext, executionContext: PLExecutionContext): any;
|
|
11
|
-
processIdentifier(expression: jsep.Identifier, context: PLInterpreterContext, executionContext: PLExecutionContext): any;
|
|
12
|
-
processLiteralExpression(expression: jsep.Literal, context: PLInterpreterContext, executionContext: PLExecutionContext): string | boolean | number;
|
|
13
|
-
processUnaryExpression(expression: jsep.UnaryExpression, context: PLInterpreterContext, executionContext: PLExecutionContext): any;
|
|
14
|
-
processBinaryExpression(expression: jsep.BinaryExpression, context: PLInterpreterContext, executionContext: PLExecutionContext): any;
|
|
15
|
-
validateBooleanBinaryOp(leftValue: any, rightValue: any, operator: string): void;
|
|
16
|
-
validateNumericBinaryOp(leftValue: any, rightValue: any, operator: string): void;
|
|
17
|
-
processArrayExpression(expression: jsep.ArrayExpression, context: PLInterpreterContext, executionContext: PLExecutionContext): Array<any>;
|
|
18
|
-
processConditionalExpression(expression: jsep.ConditionalExpression, context: PLInterpreterContext, executionContext: PLExecutionContext): any;
|
|
19
|
-
processThisExpression(expression: jsep.ThisExpression, context: PLInterpreterContext, executionContext: PLExecutionContext): any;
|
|
20
|
-
processMemberExpression(expression: jsep.MemberExpression, context: PLInterpreterContext, executionContext: PLExecutionContext): any;
|
|
21
|
-
processCallExpression(expression: jsep.CallExpression, context: PLInterpreterContext, executionContext: PLExecutionContext): any;
|
|
22
|
-
processCallMemberExpression(callee: jsep.MemberExpression, args: Array<any>, context: PLInterpreterContext, executionContext: PLExecutionContext): any;
|
|
23
|
-
processCompoundExpression(expression: jsep.Compound, context: PLInterpreterContext, executionContext: PLExecutionContext): any;
|
|
24
|
-
processObjectExpression(expression: ObjectExpression, context: PLInterpreterContext, executionContext: PLExecutionContext): any;
|
|
25
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { PLDoc } from './../documentation/Doc';
|
|
2
|
-
export declare enum PLAutocompleteEngineSuggestionType {
|
|
3
|
-
method = "method",
|
|
4
|
-
transformer = "transformer",
|
|
5
|
-
snippet = "snippet",
|
|
6
|
-
variable = "variable"
|
|
7
|
-
}
|
|
8
|
-
export declare type PLAutocompleteEngineSuggestion = {
|
|
9
|
-
type: PLAutocompleteEngineSuggestionType;
|
|
10
|
-
inputString: string;
|
|
11
|
-
documentationObject: PLDoc;
|
|
12
|
-
suggestionString: string;
|
|
13
|
-
declarationString: string | null;
|
|
14
|
-
ranges: Array<{
|
|
15
|
-
location: number;
|
|
16
|
-
length: number;
|
|
17
|
-
}>;
|
|
18
|
-
weight: number;
|
|
19
|
-
caretLocation: number | null;
|
|
20
|
-
};
|
|
21
|
-
export declare type PLAutocompleteEngineApplicationResult = {
|
|
22
|
-
resultingString: string;
|
|
23
|
-
proposedSelectionLocation: number;
|
|
24
|
-
proposedSelectionLength: number;
|
|
25
|
-
};
|
|
26
|
-
export declare class PLAutocompleteEngine {
|
|
27
|
-
constructor();
|
|
28
|
-
suggestNextBasedOnString(_string: String, _selectionLocation: number, _selectionLength: number): Array<PLAutocompleteEngineSuggestion>;
|
|
29
|
-
suggestedStringUntilSelection(string: String, selectionLocation: number, _selectionLength: number): string;
|
|
30
|
-
applySuggestion(suggestion: PLAutocompleteEngineSuggestion, string: String, selectionLocation: number, _selectionLength: number, _decoderAddition: number): PLAutocompleteEngineApplicationResult;
|
|
31
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { PLAutocompleteEngine, PLAutocompleteEngineSuggestion } from './AutocompleteEngine';
|
|
2
|
-
import { PLAutocompleteBlueprintSnippet } from './BlueprintSnippets';
|
|
3
|
-
import { PLExecutionContext } from './../../interpreter/ExecutionContext';
|
|
4
|
-
export declare enum PLBlueprintAutocompleteEngineControlCharacter {
|
|
5
|
-
substitutionOpen = "{{",
|
|
6
|
-
substitutionClose = "}}",
|
|
7
|
-
flowOpening = "{[",
|
|
8
|
-
flowClosing = "/]}",
|
|
9
|
-
commentOpen = "/*",
|
|
10
|
-
commentClose = "*/",
|
|
11
|
-
quote = "\"",
|
|
12
|
-
none = "none"
|
|
13
|
-
}
|
|
14
|
-
export declare class PLBlueprintAutocompleteEngine extends PLAutocompleteEngine {
|
|
15
|
-
executionContext: PLExecutionContext;
|
|
16
|
-
snippets: Array<PLAutocompleteBlueprintSnippet>;
|
|
17
|
-
includePlaceholders: boolean;
|
|
18
|
-
constructor(executionContext: PLExecutionContext, includePlaceholders?: boolean);
|
|
19
|
-
update(executionContext: PLExecutionContext): void;
|
|
20
|
-
loadSnippets(snippets: Array<PLAutocompleteBlueprintSnippet>): void;
|
|
21
|
-
suggestNextBasedOnString(string: string, selectionLocation: number, selectionLength: number): Array<PLAutocompleteEngineSuggestion>;
|
|
22
|
-
private suggestionsForString;
|
|
23
|
-
private variableSuggestionsContainingKeyword;
|
|
24
|
-
private transformerSuggestionsContainingKeyword;
|
|
25
|
-
private snippetSuggestionsContainingKeyword;
|
|
26
|
-
private functionSuggestionsContainingKeyword;
|
|
27
|
-
private convertFunctionToSuggestion;
|
|
28
|
-
private convertTransformerToSuggestion;
|
|
29
|
-
private convertVariableToSuggestion;
|
|
30
|
-
private convertSnippetToSuggestion;
|
|
31
|
-
private sortedSuggestions;
|
|
32
|
-
private rangesOfSubsequence;
|
|
33
|
-
private compactRanges;
|
|
34
|
-
private longestRangeOfRanges;
|
|
35
|
-
private seekLastControlCharacterOfString;
|
|
36
|
-
private allControlCharacters;
|
|
37
|
-
private lastPartOfStringContains;
|
|
38
|
-
private lastWordOfString;
|
|
39
|
-
private lastLineOfString;
|
|
40
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare type PLAutocompleteBlueprintSnippet = {
|
|
2
|
-
/** Snippet invocation keyword */
|
|
3
|
-
keyword: string;
|
|
4
|
-
/** Snippet content to be inserted into the code */
|
|
5
|
-
content: string;
|
|
6
|
-
/** Snippet description */
|
|
7
|
-
description: string | null;
|
|
8
|
-
/** Suggestion string that will be used to replace user input if use commits the action */
|
|
9
|
-
caretPosition: number | null;
|
|
10
|
-
/** Priority */
|
|
11
|
-
priority: number;
|
|
12
|
-
};
|
|
13
|
-
export declare class PLAutocompleteBlueprintSnippets {
|
|
14
|
-
constructor();
|
|
15
|
-
snippetPool(includingEditorPlaceholder?: boolean): Array<PLAutocompleteBlueprintSnippet>;
|
|
16
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { PLAutocompleteBlueprintSnippet } from './BlueprintSnippets';
|
|
2
|
-
export declare class PLPlaceholderDisabledSnippetPool {
|
|
3
|
-
constructor();
|
|
4
|
-
allSnippets(): Array<PLAutocompleteBlueprintSnippet>;
|
|
5
|
-
commentSnippet(): PLAutocompleteBlueprintSnippet;
|
|
6
|
-
commentMultilineSnippet(): PLAutocompleteBlueprintSnippet;
|
|
7
|
-
flowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
8
|
-
flowEndSnippet(): PLAutocompleteBlueprintSnippet;
|
|
9
|
-
flowNoBodySnippet(): PLAutocompleteBlueprintSnippet;
|
|
10
|
-
substitutionSnippet(): PLAutocompleteBlueprintSnippet;
|
|
11
|
-
logFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
12
|
-
varFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
13
|
-
letFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
14
|
-
setFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
15
|
-
globalFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
16
|
-
importFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
17
|
-
returnFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
18
|
-
emitFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
19
|
-
injectFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
20
|
-
codeMergeFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
21
|
-
mapFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
22
|
-
mapElseFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
23
|
-
forFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
24
|
-
forElseFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
25
|
-
traverseFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
26
|
-
switchFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
27
|
-
switchDefaultFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
28
|
-
caseFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
29
|
-
defaultFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
30
|
-
ifFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
31
|
-
ifElseFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
32
|
-
ifElseIfElseFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
33
|
-
elseSnippet(): PLAutocompleteBlueprintSnippet;
|
|
34
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { PLAutocompleteBlueprintSnippet } from './BlueprintSnippets';
|
|
2
|
-
export declare class PLPlaceholderEnabledSnippetPool {
|
|
3
|
-
constructor();
|
|
4
|
-
allSnippets(): Array<PLAutocompleteBlueprintSnippet>;
|
|
5
|
-
commentSnippet(): PLAutocompleteBlueprintSnippet;
|
|
6
|
-
commentMultilineSnippet(): PLAutocompleteBlueprintSnippet;
|
|
7
|
-
flowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
8
|
-
flowEndSnippet(): PLAutocompleteBlueprintSnippet;
|
|
9
|
-
flowNoBodySnippet(): PLAutocompleteBlueprintSnippet;
|
|
10
|
-
substitutionSnippet(): PLAutocompleteBlueprintSnippet;
|
|
11
|
-
logFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
12
|
-
letFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
13
|
-
constFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
14
|
-
setFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
15
|
-
globalFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
16
|
-
importFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
17
|
-
returnFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
18
|
-
emitFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
19
|
-
injectFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
20
|
-
codeMergeFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
21
|
-
mapFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
22
|
-
mapElseFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
23
|
-
forFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
24
|
-
forElseFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
25
|
-
traverseFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
26
|
-
traverseChildrenFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
27
|
-
switchFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
28
|
-
switchDefaultFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
29
|
-
caseFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
30
|
-
defaultFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
31
|
-
ifFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
32
|
-
ifElseFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
33
|
-
ifElseIfElseFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
34
|
-
elseFlowSnippet(): PLAutocompleteBlueprintSnippet;
|
|
35
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PLFunction } from '../../interpreter/functions/Function';
|
|
2
|
-
import { PLTransformer } from '../../interpreter/transformers/Transformer';
|
|
3
|
-
export declare class PLDeclarationBuilder {
|
|
4
|
-
static snippetDeclarationForFunction(func: PLFunction, includePlaceholders: boolean): string;
|
|
5
|
-
static snippetDeclarationForTransformer(transformer: PLTransformer, includePlaceholders: boolean): string;
|
|
6
|
-
static documentationDeclarationForFunction(func: PLFunction): string;
|
|
7
|
-
static documentationDeclarationForTransformer(transformer: PLTransformer): string;
|
|
8
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { PLFunction } from './../../interpreter/functions/Function';
|
|
2
|
-
import { PLTransformer } from '../../interpreter/transformers/Transformer';
|
|
3
|
-
export declare type DocDataType = string;
|
|
4
|
-
export declare enum DocDataTypePredefinedType {
|
|
5
|
-
number = "Number",
|
|
6
|
-
bool = "Bool",
|
|
7
|
-
string = "string",
|
|
8
|
-
int = "Int",
|
|
9
|
-
double = "Double",
|
|
10
|
-
float = "Float",
|
|
11
|
-
array = "Array",
|
|
12
|
-
dict = "Dictionary",
|
|
13
|
-
any = "Any"
|
|
14
|
-
}
|
|
15
|
-
export interface DocArgument {
|
|
16
|
-
name: string;
|
|
17
|
-
description: string;
|
|
18
|
-
dataType: DocDataType;
|
|
19
|
-
}
|
|
20
|
-
export declare class PLDoc {
|
|
21
|
-
name: string;
|
|
22
|
-
description: string;
|
|
23
|
-
returnType: string | null;
|
|
24
|
-
link: string | null;
|
|
25
|
-
arguments: Array<DocArgument>;
|
|
26
|
-
constructor(name: string, link: string | null, text: string, dataType: string | null, args: Array<DocArgument> | null);
|
|
27
|
-
static functionDoc(func: PLFunction, text: string, dataType: DocDataType | DocDataTypePredefinedType, args: Array<DocArgument>, link: string | null): PLDoc;
|
|
28
|
-
static transfomerDoc(transformer: PLTransformer, text: string, dataType: DocDataType | DocDataTypePredefinedType, args: Array<DocArgument>, link: string | null): PLDoc;
|
|
29
|
-
static arg(name: string, text: string, dataType: DocDataType | DocDataTypePredefinedType): DocArgument;
|
|
30
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { PLHighlightEngine, PLHighlightEngineToken } from './HighlightEngine';
|
|
2
|
-
import { PLFlow } from './../../interpreter/flows/Flow';
|
|
3
|
-
import { PLTransformer } from './../../interpreter/transformers/Transformer';
|
|
4
|
-
import { PLFunction } from './../../interpreter/functions/Function';
|
|
5
|
-
import { PLExecutionContext } from './../../interpreter/ExecutionContext';
|
|
6
|
-
import { PLBlueprintHighlightEngineState } from './BlueprintHighlightEngineState';
|
|
7
|
-
import { SyntaxNodeSubstitution } from '../../parser/syntax/nodes/substitution/SyntaxNodeSubstitution';
|
|
8
|
-
export declare class PLBlueprintHighlightEngine extends PLHighlightEngine {
|
|
9
|
-
blueprintFlowOpeningTag: string;
|
|
10
|
-
blueprintFlowClosingTag: string;
|
|
11
|
-
blueprintFlowClosingEndingTag: string;
|
|
12
|
-
blueprintFlowOpeningSubstitution: string;
|
|
13
|
-
blueprintFlowClosingSubstitution: string;
|
|
14
|
-
blueprintCommentOpening: string;
|
|
15
|
-
blueprintCommentClosing: string;
|
|
16
|
-
blueprintSnippetOpening: string;
|
|
17
|
-
blueprintSnippetClosing: string;
|
|
18
|
-
blueprintFunctions: Map<string, PLFunction>;
|
|
19
|
-
blueprintTransformers: Map<string, PLTransformer>;
|
|
20
|
-
blueprintFlows: Map<string, PLFlow>;
|
|
21
|
-
executionContext: PLExecutionContext;
|
|
22
|
-
constructor(executionContext: PLExecutionContext);
|
|
23
|
-
tokenize(string: string): Array<PLHighlightEngineToken>;
|
|
24
|
-
tokenizeControlTokens(string: string): Array<PLHighlightEngineToken>;
|
|
25
|
-
tokenizeNoncontrolTokens(string: string): Array<PLHighlightEngineToken>;
|
|
26
|
-
tokenizeUntilCommentEnd(state: PLBlueprintHighlightEngineState, string: string): {
|
|
27
|
-
remaining: string;
|
|
28
|
-
tokens: Array<PLHighlightEngineToken>;
|
|
29
|
-
};
|
|
30
|
-
tokenizeUntilSnippetEnd(state: PLBlueprintHighlightEngineState, string: string): {
|
|
31
|
-
remaining: string;
|
|
32
|
-
tokens: Array<PLHighlightEngineToken>;
|
|
33
|
-
};
|
|
34
|
-
tokenizeUntilSubstitutionEndOrNewline(state: PLBlueprintHighlightEngineState, string: string): {
|
|
35
|
-
remaining: string;
|
|
36
|
-
tokens: Array<PLHighlightEngineToken>;
|
|
37
|
-
};
|
|
38
|
-
tokenizeUntilFlowEndOrNewline(state: PLBlueprintHighlightEngineState, string: string): {
|
|
39
|
-
remaining: string;
|
|
40
|
-
tokens: Array<PLHighlightEngineToken>;
|
|
41
|
-
};
|
|
42
|
-
tokenizeUntilAnyNonControlOpeningTag(state: PLBlueprintHighlightEngineState, string: string): string;
|
|
43
|
-
tokenizeUntilAnyControlOpeningTag(state: PLBlueprintHighlightEngineState, string: string): {
|
|
44
|
-
remaining: string;
|
|
45
|
-
tokens: Array<PLHighlightEngineToken>;
|
|
46
|
-
};
|
|
47
|
-
tokenizeFlow(definition: string, initialSeekIndex: number): Array<PLHighlightEngineToken>;
|
|
48
|
-
tokenizeSubstitution(definition: string, initialSeekIndex: number): Array<PLHighlightEngineToken>;
|
|
49
|
-
highlightSubstitution(_node: SyntaxNodeSubstitution, _definition: string, _initialSeekIndex: number): Array<PLHighlightEngineToken>;
|
|
50
|
-
updateKeywords(executionContext: PLExecutionContext): void;
|
|
51
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export declare class PLBlueprintHighlightEngineState {
|
|
2
|
-
seekedIndex: number;
|
|
3
|
-
followsDot: boolean;
|
|
4
|
-
followsFunction: boolean;
|
|
5
|
-
followsFlowOpening: boolean;
|
|
6
|
-
followsSubstitutionOpening: boolean;
|
|
7
|
-
commentOpened: boolean;
|
|
8
|
-
snippetOpened: boolean;
|
|
9
|
-
bufferStart: number;
|
|
10
|
-
buffer: string;
|
|
11
|
-
fullString: string;
|
|
12
|
-
lineSeparator: string;
|
|
13
|
-
wordSeparator: string;
|
|
14
|
-
constructor(fullString: string);
|
|
15
|
-
resetAfterNewline(): void;
|
|
16
|
-
resetAfterSpace(): void;
|
|
17
|
-
resetAfterSubstitutionOpeningTag(): void;
|
|
18
|
-
resetAfterSubstitutionClosingTag(): void;
|
|
19
|
-
resetAfterFlowOpeningTag(): void;
|
|
20
|
-
resetAfterBracket(): void;
|
|
21
|
-
resetAfterFlowClosingTag(): void;
|
|
22
|
-
openComment(): void;
|
|
23
|
-
resetAfterClosingComment(): void;
|
|
24
|
-
openSnippet(): void;
|
|
25
|
-
resetAfterClosingSnippet(): void;
|
|
26
|
-
addToBuffer(character: string): void;
|
|
27
|
-
isBufferedNewline(): boolean;
|
|
28
|
-
isLastCharacterWordSeparator(): boolean;
|
|
29
|
-
isLastCharacterLineSeparator(): boolean;
|
|
30
|
-
isLastCharacterOpeningBracket(): boolean;
|
|
31
|
-
isLastCharacterClosingBracket(): boolean;
|
|
32
|
-
isLastCharacterQuote(): boolean;
|
|
33
|
-
isLastCharacterFunctionMark(): boolean;
|
|
34
|
-
lastBufferPart(size: number): string | null;
|
|
35
|
-
lastBufferPartIfEquals(equals: string): {
|
|
36
|
-
equals: boolean;
|
|
37
|
-
startIndex: number;
|
|
38
|
-
size: number;
|
|
39
|
-
} | null;
|
|
40
|
-
textAtPosition(position: number, length: number): string;
|
|
41
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export declare enum PLHighlightEngineTokenType {
|
|
2
|
-
keyword = "keyword",
|
|
3
|
-
openingBracket = "openingBracket",
|
|
4
|
-
closingBracket = "closingBracket",
|
|
5
|
-
customDelimiter1 = "cd1",
|
|
6
|
-
customDelimiter2 = "cd2",
|
|
7
|
-
stringKey = "stringKey",
|
|
8
|
-
stringConstant = "stringConstant",
|
|
9
|
-
numericConstant = "numericConstant",
|
|
10
|
-
comment = "comment",
|
|
11
|
-
function = "function",
|
|
12
|
-
method = "method",
|
|
13
|
-
variable = "variable",
|
|
14
|
-
plainText = "plainText",
|
|
15
|
-
dynamicSnippet = "dynamicSnippet"
|
|
16
|
-
}
|
|
17
|
-
export declare type PLHighlightEngineStyleFont = {
|
|
18
|
-
family: string;
|
|
19
|
-
weight: number;
|
|
20
|
-
size: number;
|
|
21
|
-
};
|
|
22
|
-
export declare type PLHighlightEngineToken = {
|
|
23
|
-
type: PLHighlightEngineTokenType;
|
|
24
|
-
position: number;
|
|
25
|
-
count: number;
|
|
26
|
-
text: string;
|
|
27
|
-
};
|
|
28
|
-
export declare type PLHighlightEngineStyle = {
|
|
29
|
-
font: PLHighlightEngineStyleFont;
|
|
30
|
-
color: string;
|
|
31
|
-
type: PLHighlightEngineTokenType;
|
|
32
|
-
};
|
|
33
|
-
export declare class PLHighlightEngine {
|
|
34
|
-
styles: Map<PLHighlightEngineTokenType, PLHighlightEngineStyle>;
|
|
35
|
-
baseFont: PLHighlightEngineStyleFont;
|
|
36
|
-
baseColor: string;
|
|
37
|
-
constructor();
|
|
38
|
-
private setupDefaultStyles;
|
|
39
|
-
tokenize(_string: string): Array<PLHighlightEngineToken>;
|
|
40
|
-
tokenAtPosition(position: number, count: number | null, text: string, type: PLHighlightEngineTokenType): PLHighlightEngineToken;
|
|
41
|
-
setStyles(styles: Array<PLHighlightEngineStyle>): void;
|
|
42
|
-
setStyle(style: PLHighlightEngineStyle): void;
|
|
43
|
-
setStyleUsingDefinition(font: PLHighlightEngineStyleFont, color: string, type: PLHighlightEngineTokenType): void;
|
|
44
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare class FlowUtils {
|
|
2
|
-
static offsetLines(content: string, by: number, character: string): string;
|
|
3
|
-
static offsetLinesIgnoreFirst(content: string, by: number, character: string): string;
|
|
4
|
-
static offsetLinesCanIgnoreFirstline(content: string, shouldIgnoreFirstLine: boolean, userOffset: number, nodeOffset: number, character: string): string;
|
|
5
|
-
}
|