@supernova-studio/pulsar-core 1.0.11 → 1.0.13
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.js +1174 -411
- package/build/browser/pulsar.min.js +5 -5
- package/build/main/engine/configuration/ExportConfiguration.d.ts +1 -1
- package/build/main/engine/configuration/ExportConfiguration.js +4 -4
- package/build/main/engine/configuration/ExportConfiguration.js.map +1 -1
- package/build/main/engine/generation/requests/ExportDataRequest.d.ts +1 -1
- package/build/main/engine/generation/requests/ExportDataResponse.d.ts +1 -1
- package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestBlueprint.d.ts +1 -1
- package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestBlueprint.js +6 -6
- package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestBlueprint.js.map +1 -1
- package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMComponent.d.ts +1 -1
- package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMComponentGroup.d.ts +1 -1
- package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMGeneric.d.ts +1 -1
- package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTheme.d.ts +1 -1
- package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTokenGroup.d.ts +1 -1
- package/build/main/engine/generation/requests/specific/dsm/ExportDataRequestDSMTokenType.d.ts +1 -1
- package/build/main/engine/loaders/BlueprintLoader.d.ts +1 -1
- package/build/main/engine/loaders/BlueprintLoader.js +2 -2
- package/build/main/engine/loaders/BlueprintLoader.js.map +1 -1
- package/build/main/engine/writing/writers/ExportWriterRuleProcessor.d.ts +1 -1
- package/build/main/engine/writing/writers/ExportWriterRuleProcessor.js +4 -4
- package/build/main/engine/writing/writers/ExportWriterRuleProcessor.js.map +1 -1
- package/build/main/pulsar/Pulsar.d.ts +1 -1
- package/build/main/pulsar/PulsarInterface.d.ts +1 -1
- package/build/main/pulsar/PulsarStaticAnalysis.d.ts +4 -1
- package/build/main/pulsar/PulsarStaticAnalysis.js +22 -0
- package/build/main/pulsar/PulsarStaticAnalysis.js.map +1 -1
- package/build/main/pulsar/PulsarStaticAnalysisInterface.d.ts +4 -1
- package/build/main/pulsar/managers/PulsarCIManager.d.ts +1 -1
- package/build/main/pulsar/managers/PulsarCIManager.js +3 -3
- package/build/main/pulsar/managers/PulsarCIManager.js.map +1 -1
- package/build/main/pulsar/managers/PulsarCodeManager.d.ts +1 -1
- package/build/main/pulsar/managers/PulsarCodeManager.js +12 -12
- package/build/main/pulsar/managers/PulsarCodeManager.js.map +1 -1
- package/build/main/tests/casebuilders/dsm.d.ts +1 -1
- package/build/main/tests/casebuilders/dsm.js +5 -5
- package/build/main/tests/casebuilders/dsm.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +193 -53
- package/package.json +2 -2
package/build/browser/pulsar.js
CHANGED
|
@@ -150,7 +150,7 @@ exports.PCExportEngine = PCExportEngine;
|
|
|
150
150
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
151
151
|
exports.PCExportConfiguration = void 0;
|
|
152
152
|
const ExportWriterStore_1 = require("./../writing/writers/memory/ExportWriterStore");
|
|
153
|
-
const
|
|
153
|
+
const main_1 = require("@supernova-studio/pulsar-language/build/main");
|
|
154
154
|
const BlueprintLoader_1 = require("../loaders/BlueprintLoader");
|
|
155
155
|
const Logger_1 = require("@supernova-studio/pulsar-language/build/main/interpreter/loggers/Logger");
|
|
156
156
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
@@ -176,17 +176,17 @@ class PCExportConfiguration {
|
|
|
176
176
|
newExecutionContext() {
|
|
177
177
|
// Create new loaders, emitters, loggers and bridge for execution of every source. Each request has its own separate execution context
|
|
178
178
|
let blueprintLoader = new BlueprintLoader_1.PCBlueprintLoader(this.exporter);
|
|
179
|
-
let blueprintEmitter = new
|
|
179
|
+
let blueprintEmitter = new main_1.PLMemoryBlueprintEmitter(false);
|
|
180
180
|
let logger = new Logger_1.PLLogger();
|
|
181
|
-
let bridge = new
|
|
181
|
+
let bridge = new main_1.DSMBridge(this.dsmBridgeConfig);
|
|
182
182
|
// Retrieve context
|
|
183
|
-
let context = new
|
|
183
|
+
let context = new main_1.DSMExecutionContext(blueprintLoader, blueprintEmitter, logger, bridge, this.sandboxData);
|
|
184
184
|
return context;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
exports.PCExportConfiguration = PCExportConfiguration;
|
|
188
188
|
|
|
189
|
-
},{"../loaders/BlueprintLoader":30,"./../writing/writers/memory/ExportWriterStore":40,"@supernova-studio/pulsar-language":
|
|
189
|
+
},{"../loaders/BlueprintLoader":30,"./../writing/writers/memory/ExportWriterStore":40,"@supernova-studio/pulsar-language/build/main":552,"@supernova-studio/pulsar-language/build/main/interpreter/loggers/Logger":613}],4:[function(require,module,exports){
|
|
190
190
|
"use strict";
|
|
191
191
|
//
|
|
192
192
|
// PCExportDataProducer.ts
|
|
@@ -889,9 +889,9 @@ exports.PCExportDataRequestBlueprint = void 0;
|
|
|
889
889
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
890
890
|
// MARK: - Imports
|
|
891
891
|
const ExportDataRequest_1 = require("../../ExportDataRequest");
|
|
892
|
-
const
|
|
893
|
-
const
|
|
894
|
-
const
|
|
892
|
+
const main_1 = require("@supernova-studio/pulsar-language/build/main");
|
|
893
|
+
const main_2 = require("@supernova-studio/pulsar-language/build/main");
|
|
894
|
+
const main_3 = require("@supernova-studio/pulsar-language/build/main");
|
|
895
895
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
896
896
|
// MARK: - Definitions
|
|
897
897
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
@@ -915,10 +915,10 @@ class PCExportDataRequestBlueprint extends ExportDataRequest_1.PCExportDataReque
|
|
|
915
915
|
this.configuration.logger.logInfo(`Exporting source ${source.id}`, '');
|
|
916
916
|
}
|
|
917
917
|
// Create pulsar source from definition
|
|
918
|
-
let definitionBlueprint =
|
|
918
|
+
let definitionBlueprint = main_1.PLBlueprintFactory.blueprint(source.content, source.id, this.executionContext);
|
|
919
919
|
// Render source
|
|
920
|
-
let interpretingContext = new
|
|
921
|
-
let interpreter = new
|
|
920
|
+
let interpretingContext = new main_2.PLInterpreterContext(context);
|
|
921
|
+
let interpreter = new main_3.PLInterpreter();
|
|
922
922
|
let result = await interpreter.interpret(definitionBlueprint, interpretingContext, this.executionContext);
|
|
923
923
|
// Get emitted content
|
|
924
924
|
let emittedContent = this.executionContext.blueprintEmitter.allEmittedContent();
|
|
@@ -952,7 +952,7 @@ class PCExportDataRequestBlueprint extends ExportDataRequest_1.PCExportDataReque
|
|
|
952
952
|
}
|
|
953
953
|
exports.PCExportDataRequestBlueprint = PCExportDataRequestBlueprint;
|
|
954
954
|
|
|
955
|
-
},{"../../ExportDataRequest":9,"@supernova-studio/pulsar-language":
|
|
955
|
+
},{"../../ExportDataRequest":9,"@supernova-studio/pulsar-language/build/main":552}],15:[function(require,module,exports){
|
|
956
956
|
"use strict";
|
|
957
957
|
//
|
|
958
958
|
// ExportDataRequestDSMComponent.ts
|
|
@@ -1663,7 +1663,7 @@ exports.PCExportItemResponseProducer = PCExportItemResponseProducer;
|
|
|
1663
1663
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1664
1664
|
exports.PCBlueprintLoader = void 0;
|
|
1665
1665
|
const BlueprintLoader_1 = require("@supernova-studio/pulsar-language/build/main/interpreter/loaders/BlueprintLoader");
|
|
1666
|
-
const
|
|
1666
|
+
const main_1 = require("@supernova-studio/pulsar-language/build/main");
|
|
1667
1667
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
1668
1668
|
// MARK: - Class
|
|
1669
1669
|
class PCBlueprintLoader extends BlueprintLoader_1.PLBlueprintLoader {
|
|
@@ -1700,14 +1700,14 @@ class PCBlueprintLoader extends BlueprintLoader_1.PLBlueprintLoader {
|
|
|
1700
1700
|
throw Error(`Undefined source ${sourceId}`);
|
|
1701
1701
|
}
|
|
1702
1702
|
// Create new source, cache it and retrieve
|
|
1703
|
-
let source =
|
|
1703
|
+
let source = main_1.PLBlueprintFactory.blueprint(containedBlueprint.content, sourceId, executionContext, configuration);
|
|
1704
1704
|
this.cache(source, sourceId);
|
|
1705
1705
|
return source;
|
|
1706
1706
|
}
|
|
1707
1707
|
}
|
|
1708
1708
|
exports.PCBlueprintLoader = PCBlueprintLoader;
|
|
1709
1709
|
|
|
1710
|
-
},{"@supernova-studio/pulsar-language":
|
|
1710
|
+
},{"@supernova-studio/pulsar-language/build/main":552,"@supernova-studio/pulsar-language/build/main/interpreter/loaders/BlueprintLoader":611}],31:[function(require,module,exports){
|
|
1711
1711
|
"use strict";
|
|
1712
1712
|
//
|
|
1713
1713
|
// PCExportWriterQueue.ts
|
|
@@ -2036,7 +2036,7 @@ exports.PCExportItemWriter = PCExportItemWriter;
|
|
|
2036
2036
|
//
|
|
2037
2037
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2038
2038
|
exports.PCExportWriterRuleProcessor = void 0;
|
|
2039
|
-
const
|
|
2039
|
+
const main_1 = require("@supernova-studio/pulsar-language/build/main");
|
|
2040
2040
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
2041
2041
|
// MARK: - Class
|
|
2042
2042
|
class PCExportWriterRuleProcessor {
|
|
@@ -2051,9 +2051,9 @@ class PCExportWriterRuleProcessor {
|
|
|
2051
2051
|
return new Promise((resolve, reject) => {
|
|
2052
2052
|
// Process dynamic mapping rule using source engine
|
|
2053
2053
|
let parsingExecutionContext = this.configuration.newExecutionContext();
|
|
2054
|
-
let source =
|
|
2054
|
+
let source = main_1.PLBlueprintFactory.blueprint(dynamicRule, '', parsingExecutionContext);
|
|
2055
2055
|
// Use default source configuration, with execution context providing context loader and access to SN functions
|
|
2056
|
-
let interpreter = new
|
|
2056
|
+
let interpreter = new main_1.PLInterpreter();
|
|
2057
2057
|
// Create replica of current execution context to avoid multi-threading issues
|
|
2058
2058
|
let executionContext = this.configuration.newExecutionContext();
|
|
2059
2059
|
interpreter
|
|
@@ -2084,12 +2084,12 @@ class PCExportWriterRuleProcessor {
|
|
|
2084
2084
|
}
|
|
2085
2085
|
}
|
|
2086
2086
|
interpreterContext(data) {
|
|
2087
|
-
return new
|
|
2087
|
+
return new main_1.PLInterpreterContext(data);
|
|
2088
2088
|
}
|
|
2089
2089
|
}
|
|
2090
2090
|
exports.PCExportWriterRuleProcessor = PCExportWriterRuleProcessor;
|
|
2091
2091
|
|
|
2092
|
-
},{"@supernova-studio/pulsar-language":
|
|
2092
|
+
},{"@supernova-studio/pulsar-language/build/main":552}],39:[function(require,module,exports){
|
|
2093
2093
|
"use strict";
|
|
2094
2094
|
//
|
|
2095
2095
|
// PCExportWriterFileSystemRequest.swift
|
|
@@ -2883,6 +2883,9 @@ var PCEngineExporterState;
|
|
|
2883
2883
|
//
|
|
2884
2884
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2885
2885
|
exports.PCPulsarStaticAnalysis = exports.PCPulsarExporterMode = exports.PCPulsarEngineState = void 0;
|
|
2886
|
+
const main_1 = require("@supernova-studio/pulsar-language/build/main");
|
|
2887
|
+
const BlueprintLoader_1 = require("@supernova-studio/pulsar-language/build/main/interpreter/loaders/BlueprintLoader");
|
|
2888
|
+
const Logger_1 = require("@supernova-studio/pulsar-language/build/main/interpreter/loggers/Logger");
|
|
2886
2889
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
2887
2890
|
// MARK: - Definitions
|
|
2888
2891
|
var PCPulsarEngineState;
|
|
@@ -2905,6 +2908,25 @@ class PCPulsarStaticAnalysis {
|
|
|
2905
2908
|
constructor() { }
|
|
2906
2909
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
2907
2910
|
// MARK: - Code editor
|
|
2911
|
+
/** Run analysis and return errors if found, otherwise empty */
|
|
2912
|
+
analyzeBlueprintCode(code, sourceFileName) {
|
|
2913
|
+
let context = new main_1.DSMExecutionContext(new BlueprintLoader_1.PLBlueprintLoader(), new main_1.PLBlueprintEmitter(), new Logger_1.PLLogger(), new main_1.DSMBridge({
|
|
2914
|
+
accessToken: '',
|
|
2915
|
+
apiUrl: '',
|
|
2916
|
+
designSystemId: '',
|
|
2917
|
+
dsVersionId: '',
|
|
2918
|
+
apiVersion: '0.2'
|
|
2919
|
+
}), null);
|
|
2920
|
+
try {
|
|
2921
|
+
main_1.PLBlueprintFactory.blueprint(code, sourceFileName, context);
|
|
2922
|
+
return [];
|
|
2923
|
+
}
|
|
2924
|
+
catch (error) {
|
|
2925
|
+
// TODO: Analyzer should return array of errors but right now will only return one
|
|
2926
|
+
// though the interface is at least stable and will work when we retrieve more
|
|
2927
|
+
return [error];
|
|
2928
|
+
}
|
|
2929
|
+
}
|
|
2908
2930
|
/** Suggest next characters, words or snippets to be inserted into pulsar code as user types */
|
|
2909
2931
|
suggestNextFromBlueprintCode(code, selectionLocation, selectionLength) {
|
|
2910
2932
|
return this.codeManager.suggestNextFromSourceCode(code, selectionLocation, selectionLength);
|
|
@@ -2920,7 +2942,7 @@ class PCPulsarStaticAnalysis {
|
|
|
2920
2942
|
}
|
|
2921
2943
|
exports.PCPulsarStaticAnalysis = PCPulsarStaticAnalysis;
|
|
2922
2944
|
|
|
2923
|
-
},{}],48:[function(require,module,exports){
|
|
2945
|
+
},{"@supernova-studio/pulsar-language/build/main":552,"@supernova-studio/pulsar-language/build/main/interpreter/loaders/BlueprintLoader":611,"@supernova-studio/pulsar-language/build/main/interpreter/loggers/Logger":613}],48:[function(require,module,exports){
|
|
2924
2946
|
"use strict";
|
|
2925
2947
|
//
|
|
2926
2948
|
// PulsarSourceManager.ts
|
|
@@ -3013,7 +3035,7 @@ const DSMReferenceStore_1 = require("./../../model/dsm/DSMReferenceStore");
|
|
|
3013
3035
|
const Logger_1 = require("./../../tools/Logger");
|
|
3014
3036
|
const ExportConfiguration_1 = require("./../../engine/configuration/ExportConfiguration");
|
|
3015
3037
|
const ExportEngine_1 = require("./../../engine/ExportEngine");
|
|
3016
|
-
const
|
|
3038
|
+
const main_1 = require("@supernova-studio/pulsar-language/build/main");
|
|
3017
3039
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
3018
3040
|
// MARK: - Definitions
|
|
3019
3041
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
@@ -3133,14 +3155,14 @@ class PCPulsarCIManager {
|
|
|
3133
3155
|
};
|
|
3134
3156
|
}
|
|
3135
3157
|
async fetchReferenceStore(dsmBridgeConfig) {
|
|
3136
|
-
let dsmBridge = new
|
|
3158
|
+
let dsmBridge = new main_1.DSMBridge(dsmBridgeConfig);
|
|
3137
3159
|
let result = await dsmBridge.getDSMDataFromEndpoint('bff/structure', null);
|
|
3138
3160
|
// Construct store from the result
|
|
3139
3161
|
let store = new DSMReferenceStore_1.DSMReferenceStore(result);
|
|
3140
3162
|
return store;
|
|
3141
3163
|
}
|
|
3142
3164
|
static async fetchReferenceStoreStatic(dsmBridgeConfig) {
|
|
3143
|
-
let dsmBridge = new
|
|
3165
|
+
let dsmBridge = new main_1.DSMBridge(dsmBridgeConfig);
|
|
3144
3166
|
let result = await dsmBridge.getDSMDataFromEndpoint('bff/structure', null);
|
|
3145
3167
|
// Construct store from the result
|
|
3146
3168
|
let store = new DSMReferenceStore_1.DSMReferenceStore(result);
|
|
@@ -3218,7 +3240,7 @@ class PCPulsarCIManager {
|
|
|
3218
3240
|
}
|
|
3219
3241
|
exports.PCPulsarCIManager = PCPulsarCIManager;
|
|
3220
3242
|
|
|
3221
|
-
},{"../PulsarInterface":46,"./../../engine/ExportEngine":2,"./../../engine/configuration/ExportConfiguration":3,"./../../model/dsm/DSMReferenceStore":41,"./../../tools/Logger":59,"@supernova-studio/pulsar-language":
|
|
3243
|
+
},{"../PulsarInterface":46,"./../../engine/ExportEngine":2,"./../../engine/configuration/ExportConfiguration":3,"./../../model/dsm/DSMReferenceStore":41,"./../../tools/Logger":59,"@supernova-studio/pulsar-language/build/main":552}],50:[function(require,module,exports){
|
|
3222
3244
|
"use strict";
|
|
3223
3245
|
//
|
|
3224
3246
|
// PulsarCodeManager.ts
|
|
@@ -3231,7 +3253,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3231
3253
|
exports.PCPulsarCodeManager = void 0;
|
|
3232
3254
|
const Logger_1 = require("@supernova-studio/pulsar-language/build/main/interpreter/loggers/Logger");
|
|
3233
3255
|
const BlueprintLoader_1 = require("./../../engine/loaders/BlueprintLoader");
|
|
3234
|
-
const
|
|
3256
|
+
const main_1 = require("@supernova-studio/pulsar-language/build/main");
|
|
3235
3257
|
const BlueprintLoader_2 = require("@supernova-studio/pulsar-language/build/main/interpreter/loaders/BlueprintLoader");
|
|
3236
3258
|
const ExporterSource_1 = require("../../model/sources/ExporterSource");
|
|
3237
3259
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
@@ -3244,7 +3266,7 @@ class PCPulsarCodeManager {
|
|
|
3244
3266
|
constructor(exporter) {
|
|
3245
3267
|
this.exporter = exporter;
|
|
3246
3268
|
// Context is not usable for actual execution, but provides data about all types of functions / flows etc. available in the system
|
|
3247
|
-
this.codeExecutionContext = new
|
|
3269
|
+
this.codeExecutionContext = new main_1.DSMExecutionContext(new BlueprintLoader_2.PLBlueprintLoader(), new main_1.PLBlueprintEmitter(), new Logger_1.PLLogger(), new main_1.DSMBridge({
|
|
3248
3270
|
accessToken: '',
|
|
3249
3271
|
apiUrl: '',
|
|
3250
3272
|
designSystemId: '',
|
|
@@ -3267,9 +3289,9 @@ class PCPulsarCodeManager {
|
|
|
3267
3289
|
// Create execution context for the DSM access, with in-memory loaders and emitters
|
|
3268
3290
|
let logger = new Logger_1.PLLogger();
|
|
3269
3291
|
let loader = new BlueprintLoader_1.PCBlueprintLoader(this.exporter);
|
|
3270
|
-
let emitter = new
|
|
3271
|
-
let configuredBridge = new
|
|
3272
|
-
let executionContext = new
|
|
3292
|
+
let emitter = new main_1.PLMemoryBlueprintEmitter(false);
|
|
3293
|
+
let configuredBridge = new main_1.DSMBridge(dsmBridgeConfig);
|
|
3294
|
+
let executionContext = new main_1.DSMExecutionContext(loader, emitter, logger, configuredBridge, null);
|
|
3273
3295
|
// Parse sources using custom context with dsm functionality and execute
|
|
3274
3296
|
let parsedSource = await this.parseSource(source.content, executionContext);
|
|
3275
3297
|
let interpretedResult = await this.interpretSource(parsedSource, contextData, executionContext);
|
|
@@ -3321,20 +3343,20 @@ class PCPulsarCodeManager {
|
|
|
3321
3343
|
}
|
|
3322
3344
|
/** Suggest next characters, words or snippets to be inserted into pulsar code as user types */
|
|
3323
3345
|
suggestNextFromSourceCode(code, selectionLocation, selectionLength) {
|
|
3324
|
-
let suggestionEngine = new
|
|
3325
|
-
suggestionEngine.loadSnippets(new
|
|
3346
|
+
let suggestionEngine = new main_1.PLBlueprintAutocompleteEngine(this.codeExecutionContext);
|
|
3347
|
+
suggestionEngine.loadSnippets(new main_1.PLAutocompleteBlueprintSnippets().snippetPool());
|
|
3326
3348
|
let suggestions = suggestionEngine.suggestNextBasedOnString(code, selectionLocation, selectionLength);
|
|
3327
3349
|
return suggestions;
|
|
3328
3350
|
}
|
|
3329
3351
|
/** Apply autocompletion result to specified pulsar code */
|
|
3330
3352
|
applyAutocompletionResultToCode(code, selectionLocation, selectionLength, apply) {
|
|
3331
|
-
let suggestionEngine = new
|
|
3353
|
+
let suggestionEngine = new main_1.PLBlueprintAutocompleteEngine(this.codeExecutionContext);
|
|
3332
3354
|
let result = suggestionEngine.applySuggestion(apply, code, selectionLocation, selectionLength, 0);
|
|
3333
3355
|
return result;
|
|
3334
3356
|
}
|
|
3335
3357
|
/** Compute highlight tokens for the provided pulsar code */
|
|
3336
3358
|
suggestHighlightFromSourceCode(code) {
|
|
3337
|
-
let suggestionEngine = new
|
|
3359
|
+
let suggestionEngine = new main_1.PLBlueprintHighlightEngine(this.codeExecutionContext);
|
|
3338
3360
|
let result = suggestionEngine.tokenize(code);
|
|
3339
3361
|
return result;
|
|
3340
3362
|
}
|
|
@@ -3388,18 +3410,18 @@ class PCPulsarCodeManager {
|
|
|
3388
3410
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
3389
3411
|
// MARK: - Convenience
|
|
3390
3412
|
async parseSource(declaration, executionContext) {
|
|
3391
|
-
let source =
|
|
3413
|
+
let source = main_1.PLBlueprintFactory.blueprint(declaration, 'test', executionContext, null);
|
|
3392
3414
|
return source;
|
|
3393
3415
|
}
|
|
3394
3416
|
async interpretSource(source, data, executionContext) {
|
|
3395
|
-
let renderingContext = new
|
|
3396
|
-
let interpreter = new
|
|
3417
|
+
let renderingContext = new main_1.PLInterpreterContext(data);
|
|
3418
|
+
let interpreter = new main_1.PLInterpreter();
|
|
3397
3419
|
return interpreter.interpret(source, renderingContext, executionContext);
|
|
3398
3420
|
}
|
|
3399
3421
|
}
|
|
3400
3422
|
exports.PCPulsarCodeManager = PCPulsarCodeManager;
|
|
3401
3423
|
|
|
3402
|
-
},{"../../model/sources/ExporterSource":44,"./../../engine/loaders/BlueprintLoader":30,"@supernova-studio/pulsar-language":
|
|
3424
|
+
},{"../../model/sources/ExporterSource":44,"./../../engine/loaders/BlueprintLoader":30,"@supernova-studio/pulsar-language/build/main":552,"@supernova-studio/pulsar-language/build/main/interpreter/loaders/BlueprintLoader":611,"@supernova-studio/pulsar-language/build/main/interpreter/loggers/Logger":613}],51:[function(require,module,exports){
|
|
3403
3425
|
"use strict";
|
|
3404
3426
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3405
3427
|
exports.PCPulsarExporterManager = void 0;
|
|
@@ -98826,17 +98848,19 @@ class PLBlueprintFactory {
|
|
|
98826
98848
|
let blueprintConfiguration = configuration !== null && configuration !== void 0 ? configuration : BlueprintConfiguration_1.PLBlueprintConfiguration.default();
|
|
98827
98849
|
let blueprintContext = executionContext !== null && executionContext !== void 0 ? executionContext : new ExecutionContext_1.PLExecutionContext();
|
|
98828
98850
|
try {
|
|
98851
|
+
// Prepare symbol table
|
|
98852
|
+
blueprintContext.debugger.symbolTable.setExecutedSource(id);
|
|
98829
98853
|
// Log start
|
|
98830
98854
|
blueprintContext.logger.logSystem(LoggerDefaultMessages_1.PLLoggerDefaultMessages.compilerStart, id);
|
|
98831
|
-
// Convert pure string to token array,
|
|
98832
|
-
let lexicalParser = new LexicalParser_1.LexicalParser(declaration, blueprintConfiguration);
|
|
98855
|
+
// Convert pure string to token array, constructing basic lexical token description of the blueprint
|
|
98856
|
+
let lexicalParser = new LexicalParser_1.LexicalParser(declaration, blueprintConfiguration, blueprintContext.debugger);
|
|
98833
98857
|
let lexicalTokens = lexicalParser.parse();
|
|
98834
98858
|
// console.log(`Obtained lexical buffer ${lexicalTokens.debugDescription()}`)
|
|
98835
98859
|
// Simplify the array of basic tokens to their concrete, validating structure
|
|
98836
|
-
let concreteParser = new ConcreteParser_1.ConcreteParser(lexicalTokens, blueprintConfiguration);
|
|
98860
|
+
let concreteParser = new ConcreteParser_1.ConcreteParser(lexicalTokens, blueprintConfiguration, blueprintContext.debugger);
|
|
98837
98861
|
let concreteTokens = concreteParser.parse();
|
|
98838
98862
|
// console.log(`Obtained concrete buffer ${concreteTokens.debugDescription()}`)
|
|
98839
|
-
// Construct tree of directives
|
|
98863
|
+
// Construct tree of directives, validating syntax
|
|
98840
98864
|
let syntaxParser = new SyntaxParser_1.SyntaxParser(concreteTokens, blueprintContext);
|
|
98841
98865
|
let syntaxTree = syntaxParser.parse();
|
|
98842
98866
|
// console.log(`Obtained syntax tree ${syntaxTree.debugDescription()}`)
|
|
@@ -98856,7 +98880,7 @@ class PLBlueprintFactory {
|
|
|
98856
98880
|
}
|
|
98857
98881
|
exports.PLBlueprintFactory = PLBlueprintFactory;
|
|
98858
98882
|
|
|
98859
|
-
},{"../interpreter/ExecutionContext":
|
|
98883
|
+
},{"../interpreter/ExecutionContext":553,"../parser/Tokenization/Concrete/ConcreteParser":678,"../parser/syntax/SyntaxParser":690,"./../interpreter/loggers/LoggerDefaultMessages":614,"./../parser/Tokenization/Lexical/LexicalParser":681,"./Blueprint":510,"./BlueprintConfiguration":511}],513:[function(require,module,exports){
|
|
98860
98884
|
"use strict";
|
|
98861
98885
|
//
|
|
98862
98886
|
// PLKeywordsFlows.ts
|
|
@@ -99049,6 +99073,246 @@ PLKeywordsTransformers.values = 'values';
|
|
|
99049
99073
|
|
|
99050
99074
|
},{}],516:[function(require,module,exports){
|
|
99051
99075
|
"use strict";
|
|
99076
|
+
//
|
|
99077
|
+
// PLDebugger.ts
|
|
99078
|
+
// Pulsar Language
|
|
99079
|
+
//
|
|
99080
|
+
// Created by Jiri Trecak.
|
|
99081
|
+
// Copyright © 2020 Supernova. All rights reserved.
|
|
99082
|
+
//
|
|
99083
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
99084
|
+
exports.PLDebugger = void 0;
|
|
99085
|
+
const LanguageErrorAnalysis_1 = require("../parser/errors/LanguageErrorAnalysis");
|
|
99086
|
+
const DebuggerErrorBuilder_1 = require("./DebuggerErrorBuilder");
|
|
99087
|
+
const SymbolTable_1 = require("../parser/symbols/SymbolTable");
|
|
99088
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
99089
|
+
// MARK: - PLDebugger Definition
|
|
99090
|
+
class PLDebugger {
|
|
99091
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
99092
|
+
// MARK: - Constructor
|
|
99093
|
+
constructor() {
|
|
99094
|
+
this.symbolTable = new SymbolTable_1.PLSymbolTable('');
|
|
99095
|
+
this.errorBuilder = new DebuggerErrorBuilder_1.PLDebuggerErrorBuilder(this.symbolTable);
|
|
99096
|
+
}
|
|
99097
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
99098
|
+
// MARK: - Error reporting
|
|
99099
|
+
reportError(error) {
|
|
99100
|
+
return this.errorBuilder.error(error, null, []);
|
|
99101
|
+
}
|
|
99102
|
+
reportAnalysisError(error) {
|
|
99103
|
+
return this.errorBuilder.error(error, LanguageErrorAnalysis_1.PLErrorSourceType.analyzer, []);
|
|
99104
|
+
}
|
|
99105
|
+
reportRuntimeError(error) {
|
|
99106
|
+
return this.errorBuilder.error(error, LanguageErrorAnalysis_1.PLErrorSourceType.analyzer, []);
|
|
99107
|
+
}
|
|
99108
|
+
reportAnalysisErrorFromLexicalToken(error, token) {
|
|
99109
|
+
return this.errorBuilder.error(error, LanguageErrorAnalysis_1.PLErrorSourceType.analyzer, [token.debugSymbol]);
|
|
99110
|
+
}
|
|
99111
|
+
reportAnalysisErrorFromLexicalTokens(error, tokens) {
|
|
99112
|
+
let symbols = this.nonEmptyDebugSymbolsFromLexicalTokens(tokens);
|
|
99113
|
+
return this.errorBuilder.error(error, LanguageErrorAnalysis_1.PLErrorSourceType.analyzer, symbols);
|
|
99114
|
+
}
|
|
99115
|
+
reportAnalysisErrorFromConcreteToken(error, token) {
|
|
99116
|
+
return this.errorBuilder.error(error, LanguageErrorAnalysis_1.PLErrorSourceType.analyzer, [token.debugSymbol]);
|
|
99117
|
+
}
|
|
99118
|
+
reportAnalysisErrorFromConcreteTokens(error, tokens) {
|
|
99119
|
+
let symbols = this.nonEmptyDebugSymbolsFromConcreteTokens(tokens);
|
|
99120
|
+
return this.errorBuilder.error(error, LanguageErrorAnalysis_1.PLErrorSourceType.analyzer, symbols);
|
|
99121
|
+
}
|
|
99122
|
+
reportAnalysisErrorFromSyntaxNode(error, syntaxNode) {
|
|
99123
|
+
return this.errorBuilder.error(error, LanguageErrorAnalysis_1.PLErrorSourceType.analyzer, [syntaxNode.debugSymbol]);
|
|
99124
|
+
}
|
|
99125
|
+
reportAnalysisErrorFromSyntaxNodes(error, syntaxNode) {
|
|
99126
|
+
let symbols = this.nonEmptyDebugSymbolsFromSyntaxNodes(syntaxNode);
|
|
99127
|
+
return this.errorBuilder.error(error, LanguageErrorAnalysis_1.PLErrorSourceType.analyzer, symbols);
|
|
99128
|
+
}
|
|
99129
|
+
reportRuntimeErrorFromSyntaxNode(error, syntaxNode) {
|
|
99130
|
+
return this.errorBuilder.error(error, LanguageErrorAnalysis_1.PLErrorSourceType.runtime, [syntaxNode.debugSymbol]);
|
|
99131
|
+
}
|
|
99132
|
+
reportRuntimeErrorFromSyntaxNodes(error, syntaxNode) {
|
|
99133
|
+
let symbols = this.nonEmptyDebugSymbolsFromSyntaxNodes(syntaxNode);
|
|
99134
|
+
return this.errorBuilder.error(error, LanguageErrorAnalysis_1.PLErrorSourceType.runtime, symbols);
|
|
99135
|
+
}
|
|
99136
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
99137
|
+
// MARK: - Convenience
|
|
99138
|
+
nonEmptyDebugSymbolsFromLexicalTokens(tokens) {
|
|
99139
|
+
return tokens.filter(t => t.debugSymbol !== null).map(t => t.debugSymbol);
|
|
99140
|
+
}
|
|
99141
|
+
nonEmptyDebugSymbolsFromConcreteTokens(tokens) {
|
|
99142
|
+
return tokens.filter(t => t.debugSymbol !== null).map(t => t.debugSymbol);
|
|
99143
|
+
}
|
|
99144
|
+
nonEmptyDebugSymbolsFromSyntaxNodes(syntaxNodes) {
|
|
99145
|
+
return syntaxNodes.filter(t => t.debugSymbol !== null).map(t => t.debugSymbol);
|
|
99146
|
+
}
|
|
99147
|
+
}
|
|
99148
|
+
exports.PLDebugger = PLDebugger;
|
|
99149
|
+
|
|
99150
|
+
},{"../parser/errors/LanguageErrorAnalysis":684,"../parser/symbols/SymbolTable":688,"./DebuggerErrorBuilder":517}],517:[function(require,module,exports){
|
|
99151
|
+
"use strict";
|
|
99152
|
+
//
|
|
99153
|
+
// DebuggerErrorBuilder.ts
|
|
99154
|
+
// Pulsar Language
|
|
99155
|
+
//
|
|
99156
|
+
// Created by Jiri Trecak.
|
|
99157
|
+
// Copyright © 2020 Supernova. All rights reserved.
|
|
99158
|
+
//
|
|
99159
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
99160
|
+
exports.PLDebuggerErrorBuilder = void 0;
|
|
99161
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
99162
|
+
// MARK: - Imports
|
|
99163
|
+
const LanguageError_1 = require("../parser/errors/LanguageError");
|
|
99164
|
+
const LanguageErrorAnalysis_1 = require("../parser/errors/LanguageErrorAnalysis");
|
|
99165
|
+
const DebuggerErrors_1 = require("./DebuggerErrors");
|
|
99166
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
99167
|
+
// MARK: - PLDebuggerErrorBuilder Definition
|
|
99168
|
+
class PLDebuggerErrorBuilder {
|
|
99169
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
99170
|
+
// MARK: - Constructor
|
|
99171
|
+
constructor(symbolTable) {
|
|
99172
|
+
this.symbolTable = symbolTable;
|
|
99173
|
+
this.errors = new DebuggerErrors_1.PLDebuggerErrors();
|
|
99174
|
+
}
|
|
99175
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
99176
|
+
// MARK: - Error reporting
|
|
99177
|
+
error(error, source, symbols) {
|
|
99178
|
+
return this.errorOfType(LanguageErrorAnalysis_1.PLErrorSeverityType.error, error, source, symbols);
|
|
99179
|
+
}
|
|
99180
|
+
warning(error, source, symbols) {
|
|
99181
|
+
return this.errorOfType(LanguageErrorAnalysis_1.PLErrorSeverityType.warning, error, source, symbols);
|
|
99182
|
+
}
|
|
99183
|
+
errorOfType(type, error, source, symbolIds) {
|
|
99184
|
+
let symbols = symbolIds.map(s => {
|
|
99185
|
+
let symbol = this.symbolTable.symbolById(s);
|
|
99186
|
+
if (!symbol) {
|
|
99187
|
+
throw 'Unknown symbol in symbolication table requested. This is an engine error, not syntax error.';
|
|
99188
|
+
}
|
|
99189
|
+
return symbol;
|
|
99190
|
+
});
|
|
99191
|
+
let analysis = new LanguageErrorAnalysis_1.PLErrorAnalysis(type, source, this.symbolsToRange(symbols));
|
|
99192
|
+
let errorMessage = this.errors.errorTypeToMessage(error);
|
|
99193
|
+
return new LanguageError_1.PLError(errorMessage, analysis);
|
|
99194
|
+
}
|
|
99195
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
99196
|
+
// MARK: - Convenience
|
|
99197
|
+
symbolsToRange(symbols) {
|
|
99198
|
+
// Range can't be created from no symbols provided
|
|
99199
|
+
if (symbols.length === 0) {
|
|
99200
|
+
return null;
|
|
99201
|
+
}
|
|
99202
|
+
// Will be immediately overriden by first symbol
|
|
99203
|
+
let startLine = -1;
|
|
99204
|
+
let startChar = -1;
|
|
99205
|
+
let endLine = -1;
|
|
99206
|
+
let endChar = -1;
|
|
99207
|
+
// Form proper range from minimum to maximum over multiple lines
|
|
99208
|
+
symbols.forEach(token => {
|
|
99209
|
+
if (startLine > token.startLine || startLine === -1) {
|
|
99210
|
+
startLine = token.startLine;
|
|
99211
|
+
startChar = token.startChar;
|
|
99212
|
+
}
|
|
99213
|
+
if (endLine < token.endLine || endLine === -1) {
|
|
99214
|
+
endLine = token.endLine;
|
|
99215
|
+
token.endChar;
|
|
99216
|
+
}
|
|
99217
|
+
if (token.startLine === startLine && startChar > token.startChar) {
|
|
99218
|
+
startChar = token.startChar;
|
|
99219
|
+
}
|
|
99220
|
+
if (token.endLine === endLine && endChar < token.endChar) {
|
|
99221
|
+
endChar = token.endChar;
|
|
99222
|
+
}
|
|
99223
|
+
});
|
|
99224
|
+
// Return the range
|
|
99225
|
+
return {
|
|
99226
|
+
startLine: startLine,
|
|
99227
|
+
endLine: endLine,
|
|
99228
|
+
startChar: startChar,
|
|
99229
|
+
endChar: endChar
|
|
99230
|
+
};
|
|
99231
|
+
}
|
|
99232
|
+
}
|
|
99233
|
+
exports.PLDebuggerErrorBuilder = PLDebuggerErrorBuilder;
|
|
99234
|
+
|
|
99235
|
+
},{"../parser/errors/LanguageError":683,"../parser/errors/LanguageErrorAnalysis":684,"./DebuggerErrors":518}],518:[function(require,module,exports){
|
|
99236
|
+
"use strict";
|
|
99237
|
+
//
|
|
99238
|
+
// DebuggerErrors.ts
|
|
99239
|
+
// Pulsar Language
|
|
99240
|
+
//
|
|
99241
|
+
// Created by Jiri Trecak.
|
|
99242
|
+
// Copyright © 2021 Supernova. All rights reserved.
|
|
99243
|
+
//
|
|
99244
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
99245
|
+
exports.PLDebuggerErrors = exports.PLParserSyntaxError = exports.PLParserConcreteError = exports.PLParserLexicalError = void 0;
|
|
99246
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
99247
|
+
// MARK: - Imports
|
|
99248
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
99249
|
+
// MARK: - Error Definitions
|
|
99250
|
+
var PLParserLexicalError;
|
|
99251
|
+
(function (PLParserLexicalError) {
|
|
99252
|
+
})(PLParserLexicalError = exports.PLParserLexicalError || (exports.PLParserLexicalError = {}));
|
|
99253
|
+
var PLParserConcreteError;
|
|
99254
|
+
(function (PLParserConcreteError) {
|
|
99255
|
+
PLParserConcreteError["unclosedCommentTag"] = "unclosedCommentTag";
|
|
99256
|
+
PLParserConcreteError["unclosedFlowTag"] = "unclosedFlowTag";
|
|
99257
|
+
PLParserConcreteError["enclosingFlowTagPrecedingFlowDefinition"] = "enclosingFlowTagPrecedingFlowDefinition";
|
|
99258
|
+
PLParserConcreteError["missingOpeningSubstitutionTag"] = "missingOpeningSubstitutionTag";
|
|
99259
|
+
PLParserConcreteError["missingOpeningCommentTag"] = "missingOpeningCommentTag";
|
|
99260
|
+
PLParserConcreteError["missingOpeningFlowTag"] = "missingOpeningFlowTag";
|
|
99261
|
+
PLParserConcreteError["editorPlaceholderFound"] = "editorPlaceholderFound";
|
|
99262
|
+
PLParserConcreteError["unclosedSubstitutionTag"] = "unclosedSubstitutionTag";
|
|
99263
|
+
PLParserConcreteError["invalidSubstitutionStructure"] = "invalidSubstitutionStructure";
|
|
99264
|
+
PLParserConcreteError["invalidFlowStructure"] = "invalidFlowStructure";
|
|
99265
|
+
PLParserConcreteError["textTokenRequired"] = "textTokenRequired";
|
|
99266
|
+
})(PLParserConcreteError = exports.PLParserConcreteError || (exports.PLParserConcreteError = {}));
|
|
99267
|
+
var PLParserSyntaxError;
|
|
99268
|
+
(function (PLParserSyntaxError) {
|
|
99269
|
+
PLParserSyntaxError["missingEnclosingFlowTag"] = "missingEnclosingFlowTag";
|
|
99270
|
+
})(PLParserSyntaxError = exports.PLParserSyntaxError || (exports.PLParserSyntaxError = {}));
|
|
99271
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
99272
|
+
// MARK: - PLDebuggerErrorBuilder Definition
|
|
99273
|
+
class PLDebuggerErrors {
|
|
99274
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
99275
|
+
// MARK: - Constructor
|
|
99276
|
+
constructor() {
|
|
99277
|
+
this.messageTable = this.generateMessageTable();
|
|
99278
|
+
}
|
|
99279
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
99280
|
+
// MARK: - Error Construction
|
|
99281
|
+
errorTypeToMessage(type) {
|
|
99282
|
+
let errorMessage = this.messageTable[type.toString()];
|
|
99283
|
+
if (errorMessage) {
|
|
99284
|
+
return errorMessage;
|
|
99285
|
+
}
|
|
99286
|
+
// If there is no error, retrieve defined tag
|
|
99287
|
+
return type.toString();
|
|
99288
|
+
}
|
|
99289
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
99290
|
+
// MARK: - Table construction
|
|
99291
|
+
generateMessageTable() {
|
|
99292
|
+
return {
|
|
99293
|
+
// Lexical errors
|
|
99294
|
+
// Concrete errors
|
|
99295
|
+
missingOpeningSubstitutionTag: 'Substitution closure }} found, but opening tag {{ is missing before it',
|
|
99296
|
+
missingOpeningCommentTag: 'Comment closure *} found, but opening tag {* is missing before it',
|
|
99297
|
+
missingOpeningFlowTag: 'Flow closuse ]} found, but opening tag {[ is missing before it',
|
|
99298
|
+
editorPlaceholderFound: 'Editor placeholder must be replaced with real value before running the blueprint',
|
|
99299
|
+
flowTextNotAllowedAfterDefinition: 'Flow definition must not have any other definition following it',
|
|
99300
|
+
unclosedFlowTag: 'Found opening flow tag {[, but its closure ]} is missing',
|
|
99301
|
+
enclosingFlowTagPrecedingFlowDefinition: 'Enclosing flow tag ]} can not precede its opening tag. Correct flow definition is {[ ]} or {[ /]}',
|
|
99302
|
+
unclosedSubstitutionTag: 'Found opening substitution tag {{, but tag }} to close it is missing',
|
|
99303
|
+
invalidSubstitutionStructure: 'Substitution tag missing its definition. Substitution must be defined in format of {{ [definition] }}',
|
|
99304
|
+
unclosedCommentTag: 'Found opening comment tag {*, but tag *} to close it is missing',
|
|
99305
|
+
invalidFlowStructure: 'Flow tag missing its definition. Flow must be defined in format of {[ [definition] ]}',
|
|
99306
|
+
textTokenRequired: 'Text definition required in-between tags',
|
|
99307
|
+
// Syntax errors
|
|
99308
|
+
missingEnclosingFlowTag: 'Each opened flow must be closed with {[/]}'
|
|
99309
|
+
};
|
|
99310
|
+
}
|
|
99311
|
+
}
|
|
99312
|
+
exports.PLDebuggerErrors = PLDebuggerErrors;
|
|
99313
|
+
|
|
99314
|
+
},{}],519:[function(require,module,exports){
|
|
99315
|
+
"use strict";
|
|
99052
99316
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
99053
99317
|
// Blueprints and creation
|
|
99054
99318
|
var Blueprint_1 = require("./blueprints/Blueprint");
|
|
@@ -99087,7 +99351,7 @@ Object.defineProperty(exports, "PLBlueprintAutocompleteEngine", { enumerable: tr
|
|
|
99087
99351
|
var BlueprintSnippets_1 = require("./tools/autocomplete/BlueprintSnippets");
|
|
99088
99352
|
Object.defineProperty(exports, "PLAutocompleteBlueprintSnippets", { enumerable: true, get: function () { return BlueprintSnippets_1.PLAutocompleteBlueprintSnippets; } });
|
|
99089
99353
|
|
|
99090
|
-
},{"./blueprints/Blueprint":510,"./blueprints/BlueprintConfiguration":511,"./blueprints/BlueprintFactory":512,"./extensions/dsm/DSMBridge":
|
|
99354
|
+
},{"./blueprints/Blueprint":510,"./blueprints/BlueprintConfiguration":511,"./blueprints/BlueprintFactory":512,"./extensions/dsm/DSMBridge":520,"./extensions/dsm/DSMExecutionContext":521,"./interpreter/ExecutionContext":553,"./interpreter/Interpreter":554,"./interpreter/InterpreterContext":555,"./interpreter/emitters/BlueprintEmitter":556,"./interpreter/emitters/EmittedContent":557,"./interpreter/emitters/MemoryBlueprintEmitter":558,"./interpreter/loaders/MemoryBlueprintLoader":612,"./tools/autocomplete/BlueprintAutocompleteEngine":698,"./tools/autocomplete/BlueprintSnippets":699,"./tools/highlight/BlueprintHighlightEngine":704}],520:[function(require,module,exports){
|
|
99091
99355
|
"use strict";
|
|
99092
99356
|
//
|
|
99093
99357
|
// DSMAuthenticator.ts
|
|
@@ -99227,7 +99491,7 @@ class DSMBridge {
|
|
|
99227
99491
|
}
|
|
99228
99492
|
exports.DSMBridge = DSMBridge;
|
|
99229
99493
|
|
|
99230
|
-
},{"axios":
|
|
99494
|
+
},{"axios":709}],521:[function(require,module,exports){
|
|
99231
99495
|
"use strict";
|
|
99232
99496
|
//
|
|
99233
99497
|
// DSMExecutionContext.ts
|
|
@@ -99334,7 +99598,7 @@ class DSMExecutionContext extends ExecutionContext_1.PLExecutionContext {
|
|
|
99334
99598
|
}
|
|
99335
99599
|
exports.DSMExecutionContext = DSMExecutionContext;
|
|
99336
99600
|
|
|
99337
|
-
},{"./../../interpreter/ExecutionContext":
|
|
99601
|
+
},{"./../../interpreter/ExecutionContext":553,"./../../interpreter/emitters/BlueprintEmitter":556,"./../../interpreter/loaders/BlueprintLoader":611,"./../../interpreter/loggers/Logger":613,"./functions/DSMFunctionAllThemes":523,"./functions/assets/DSMFunctionAllAssets":524,"./functions/assets/DSMFunctionAllBitmapAssets":525,"./functions/assets/DSMFunctionAllFontAssets":526,"./functions/assets/DSMFunctionAssetById":527,"./functions/components/DSMFunctionAllComponents":528,"./functions/components/DSMFunctionComponentById":529,"./functions/dsms/DSMFunctionAllVersions":530,"./functions/dsms/DSMFunctionMetadata":531,"./functions/dsms/DSMFunctionVersionById":532,"./functions/fonts/DSMFunctionFontIsItalic":533,"./functions/fonts/DSMFunctionFontWeight":534,"./functions/groups/DSMFunctionAllComponentGroups":535,"./functions/groups/DSMFunctionAllTokenGroups":536,"./functions/sandbox/DSMFunctionSandboxDataByComponentId":537,"./functions/tokens/DSMFunctionAllColorTokens":538,"./functions/tokens/DSMFunctionAllFontTokens":539,"./functions/tokens/DSMFunctionAllGradientTokens":540,"./functions/tokens/DSMFunctionAllImageTokens":541,"./functions/tokens/DSMFunctionAllMeasureTokens":542,"./functions/tokens/DSMFunctionAllRadiusTokens":543,"./functions/tokens/DSMFunctionAllShadowTokens":544,"./functions/tokens/DSMFunctionAllTokens":545,"./functions/tokens/DSMFunctionAllTypographyTokens":546,"./functions/tokens/DSMFunctionTokenById":547,"./resolver/DSMFunctionResolveTheme":548,"./resolver/DSMFunctionResolveTokens":549}],522:[function(require,module,exports){
|
|
99338
99602
|
"use strict";
|
|
99339
99603
|
//
|
|
99340
99604
|
// DSMKeywordsFunctions.ts
|
|
@@ -99392,7 +99656,7 @@ DSMKeywordsFunctions.sandboxDataByComponentId = 'sandbox.componentDataById';
|
|
|
99392
99656
|
DSMKeywordsFunctions.fontsIsItalic = 'dsm.fonts.isItalic';
|
|
99393
99657
|
DSMKeywordsFunctions.fontsWeight = 'dsm.fonts.weight';
|
|
99394
99658
|
|
|
99395
|
-
},{}],
|
|
99659
|
+
},{}],523:[function(require,module,exports){
|
|
99396
99660
|
"use strict";
|
|
99397
99661
|
//
|
|
99398
99662
|
// DSMFunctionAllTokens.ts
|
|
@@ -99442,7 +99706,7 @@ class DSMFunctionAllThemes extends Function_1.PLFunction {
|
|
|
99442
99706
|
}
|
|
99443
99707
|
exports.DSMFunctionAllThemes = DSMFunctionAllThemes;
|
|
99444
99708
|
|
|
99445
|
-
},{"../../../interpreter/functions/Function":
|
|
99709
|
+
},{"../../../interpreter/functions/Function":582,"../configuration/DSMKeywordsFunctions":522}],524:[function(require,module,exports){
|
|
99446
99710
|
"use strict";
|
|
99447
99711
|
//
|
|
99448
99712
|
// DSMFunctionAllAssets.ts
|
|
@@ -99491,7 +99755,7 @@ class DSMFunctionAllAssets extends Function_1.PLFunction {
|
|
|
99491
99755
|
}
|
|
99492
99756
|
exports.DSMFunctionAllAssets = DSMFunctionAllAssets;
|
|
99493
99757
|
|
|
99494
|
-
},{"../../../../interpreter/functions/Function":
|
|
99758
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],525:[function(require,module,exports){
|
|
99495
99759
|
"use strict";
|
|
99496
99760
|
//
|
|
99497
99761
|
// DSMFunctionAllBitmapAssets.ts
|
|
@@ -99540,7 +99804,7 @@ class DSMFunctionAllBitmapAssets extends Function_1.PLFunction {
|
|
|
99540
99804
|
}
|
|
99541
99805
|
exports.DSMFunctionAllBitmapAssets = DSMFunctionAllBitmapAssets;
|
|
99542
99806
|
|
|
99543
|
-
},{"../../../../interpreter/functions/Function":
|
|
99807
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],526:[function(require,module,exports){
|
|
99544
99808
|
"use strict";
|
|
99545
99809
|
//
|
|
99546
99810
|
// DSMFunctionAllFontAssets.ts
|
|
@@ -99589,7 +99853,7 @@ class DSMFunctionAllFontAssets extends Function_1.PLFunction {
|
|
|
99589
99853
|
}
|
|
99590
99854
|
exports.DSMFunctionAllFontAssets = DSMFunctionAllFontAssets;
|
|
99591
99855
|
|
|
99592
|
-
},{"../../../../interpreter/functions/Function":
|
|
99856
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],527:[function(require,module,exports){
|
|
99593
99857
|
"use strict";
|
|
99594
99858
|
//
|
|
99595
99859
|
// DSMFunctionAssetById.ts
|
|
@@ -99640,7 +99904,7 @@ class DSMFunctionAssetById extends Function_1.PLFunction {
|
|
|
99640
99904
|
}
|
|
99641
99905
|
exports.DSMFunctionAssetById = DSMFunctionAssetById;
|
|
99642
99906
|
|
|
99643
|
-
},{"../../../../interpreter/functions/Function":
|
|
99907
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],528:[function(require,module,exports){
|
|
99644
99908
|
"use strict";
|
|
99645
99909
|
//
|
|
99646
99910
|
// DSMFunctionAllComponents.ts
|
|
@@ -99689,7 +99953,7 @@ class DSMFunctionAllComponents extends Function_1.PLFunction {
|
|
|
99689
99953
|
}
|
|
99690
99954
|
exports.DSMFunctionAllComponents = DSMFunctionAllComponents;
|
|
99691
99955
|
|
|
99692
|
-
},{"../../../../interpreter/functions/Function":
|
|
99956
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],529:[function(require,module,exports){
|
|
99693
99957
|
"use strict";
|
|
99694
99958
|
//
|
|
99695
99959
|
// DSMFunctionComponentById.ts
|
|
@@ -99740,7 +100004,7 @@ class DSMFunctionComponentById extends Function_1.PLFunction {
|
|
|
99740
100004
|
}
|
|
99741
100005
|
exports.DSMFunctionComponentById = DSMFunctionComponentById;
|
|
99742
100006
|
|
|
99743
|
-
},{"../../../../interpreter/functions/Function":
|
|
100007
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],530:[function(require,module,exports){
|
|
99744
100008
|
"use strict";
|
|
99745
100009
|
//
|
|
99746
100010
|
// DSMFunctionAllVersions.ts
|
|
@@ -99789,7 +100053,7 @@ class DSMFunctionAllVersions extends Function_1.PLFunction {
|
|
|
99789
100053
|
}
|
|
99790
100054
|
exports.DSMFunctionAllVersions = DSMFunctionAllVersions;
|
|
99791
100055
|
|
|
99792
|
-
},{"../../../../interpreter/functions/Function":
|
|
100056
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],531:[function(require,module,exports){
|
|
99793
100057
|
"use strict";
|
|
99794
100058
|
//
|
|
99795
100059
|
// DSMFunctionMetadata.ts
|
|
@@ -99838,7 +100102,7 @@ class DSMFunctionMetadata extends Function_1.PLFunction {
|
|
|
99838
100102
|
}
|
|
99839
100103
|
exports.DSMFunctionMetadata = DSMFunctionMetadata;
|
|
99840
100104
|
|
|
99841
|
-
},{"../../../../interpreter/functions/Function":
|
|
100105
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],532:[function(require,module,exports){
|
|
99842
100106
|
"use strict";
|
|
99843
100107
|
//
|
|
99844
100108
|
// DSMFunctionVersionById.ts
|
|
@@ -99889,7 +100153,7 @@ class DSMFunctionVersionById extends Function_1.PLFunction {
|
|
|
99889
100153
|
}
|
|
99890
100154
|
exports.DSMFunctionVersionById = DSMFunctionVersionById;
|
|
99891
100155
|
|
|
99892
|
-
},{"../../../../interpreter/functions/Function":
|
|
100156
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],533:[function(require,module,exports){
|
|
99893
100157
|
"use strict";
|
|
99894
100158
|
//
|
|
99895
100159
|
// DSMFunctionVersionById.ts
|
|
@@ -99948,7 +100212,7 @@ class DSMFunctionFontIsItalic extends Function_1.PLFunction {
|
|
|
99948
100212
|
}
|
|
99949
100213
|
exports.DSMFunctionFontIsItalic = DSMFunctionFontIsItalic;
|
|
99950
100214
|
|
|
99951
|
-
},{"../../../../interpreter/functions/Function":
|
|
100215
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],534:[function(require,module,exports){
|
|
99952
100216
|
"use strict";
|
|
99953
100217
|
//
|
|
99954
100218
|
// DSMFunctionVersionById.ts
|
|
@@ -100021,7 +100285,7 @@ class DSMFunctionFontWeight extends Function_1.PLFunction {
|
|
|
100021
100285
|
}
|
|
100022
100286
|
exports.DSMFunctionFontWeight = DSMFunctionFontWeight;
|
|
100023
100287
|
|
|
100024
|
-
},{"../../../../interpreter/functions/Function":
|
|
100288
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],535:[function(require,module,exports){
|
|
100025
100289
|
"use strict";
|
|
100026
100290
|
//
|
|
100027
100291
|
// DSMFunctionAllComponentGroups.ts
|
|
@@ -100070,7 +100334,7 @@ class DSMFunctionAllComponentGroups extends Function_1.PLFunction {
|
|
|
100070
100334
|
}
|
|
100071
100335
|
exports.DSMFunctionAllComponentGroups = DSMFunctionAllComponentGroups;
|
|
100072
100336
|
|
|
100073
|
-
},{"../../../../interpreter/functions/Function":
|
|
100337
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],536:[function(require,module,exports){
|
|
100074
100338
|
"use strict";
|
|
100075
100339
|
//
|
|
100076
100340
|
// DSMFunctionAllTokenGroups.ts
|
|
@@ -100119,7 +100383,7 @@ class DSMFunctionAllTokenGroups extends Function_1.PLFunction {
|
|
|
100119
100383
|
}
|
|
100120
100384
|
exports.DSMFunctionAllTokenGroups = DSMFunctionAllTokenGroups;
|
|
100121
100385
|
|
|
100122
|
-
},{"../../../../interpreter/functions/Function":
|
|
100386
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],537:[function(require,module,exports){
|
|
100123
100387
|
"use strict";
|
|
100124
100388
|
//
|
|
100125
100389
|
// DSMFunctionComponentById.ts
|
|
@@ -100179,8 +100443,9 @@ class DSMFunctionSandboxDataByComponentId extends Function_1.PLFunction {
|
|
|
100179
100443
|
});
|
|
100180
100444
|
}
|
|
100181
100445
|
prepareTemporarySandboxDataFromResult(result) {
|
|
100446
|
+
var _a, _b, _c;
|
|
100182
100447
|
let temporaryData = {};
|
|
100183
|
-
let codeProperties = result
|
|
100448
|
+
let codeProperties = ((_c = (_b = (_a = result.exportProperties) === null || _a === void 0 ? void 0 : _a.codeInfo) === null || _b === void 0 ? void 0 : _b.properties) !== null && _c !== void 0 ? _c : []);
|
|
100184
100449
|
for (let property of codeProperties) {
|
|
100185
100450
|
let id = property.id;
|
|
100186
100451
|
let type = property.type;
|
|
@@ -100245,7 +100510,7 @@ class DSMFunctionSandboxDataByComponentId extends Function_1.PLFunction {
|
|
|
100245
100510
|
}
|
|
100246
100511
|
exports.DSMFunctionSandboxDataByComponentId = DSMFunctionSandboxDataByComponentId;
|
|
100247
100512
|
|
|
100248
|
-
},{"../../../../interpreter/functions/Function":
|
|
100513
|
+
},{"../../../../interpreter/functions/Function":582,"../../../../tools/documentation/Doc":703,"../../configuration/DSMKeywordsFunctions":522,"../components/DSMFunctionComponentById":529}],538:[function(require,module,exports){
|
|
100249
100514
|
"use strict";
|
|
100250
100515
|
//
|
|
100251
100516
|
// DSMFunctionAllColorTokens.ts
|
|
@@ -100294,7 +100559,7 @@ class DSMFunctionAllColorTokens extends Function_1.PLFunction {
|
|
|
100294
100559
|
}
|
|
100295
100560
|
exports.DSMFunctionAllColorTokens = DSMFunctionAllColorTokens;
|
|
100296
100561
|
|
|
100297
|
-
},{"../../../../interpreter/functions/Function":
|
|
100562
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],539:[function(require,module,exports){
|
|
100298
100563
|
"use strict";
|
|
100299
100564
|
//
|
|
100300
100565
|
// DSMFunctionAllFontTokens.ts
|
|
@@ -100343,7 +100608,7 @@ class DSMFunctionAllFontTokens extends Function_1.PLFunction {
|
|
|
100343
100608
|
}
|
|
100344
100609
|
exports.DSMFunctionAllFontTokens = DSMFunctionAllFontTokens;
|
|
100345
100610
|
|
|
100346
|
-
},{"../../../../interpreter/functions/Function":
|
|
100611
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],540:[function(require,module,exports){
|
|
100347
100612
|
"use strict";
|
|
100348
100613
|
//
|
|
100349
100614
|
// DSMFunctionAllGradientTokens.ts
|
|
@@ -100392,7 +100657,7 @@ class DSMFunctionAllGradientTokens extends Function_1.PLFunction {
|
|
|
100392
100657
|
}
|
|
100393
100658
|
exports.DSMFunctionAllGradientTokens = DSMFunctionAllGradientTokens;
|
|
100394
100659
|
|
|
100395
|
-
},{"../../../../interpreter/functions/Function":
|
|
100660
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],541:[function(require,module,exports){
|
|
100396
100661
|
"use strict";
|
|
100397
100662
|
//
|
|
100398
100663
|
// DSMFunctionAllImageTokens.ts
|
|
@@ -100441,7 +100706,7 @@ class DSMFunctionAllImageTokens extends Function_1.PLFunction {
|
|
|
100441
100706
|
}
|
|
100442
100707
|
exports.DSMFunctionAllImageTokens = DSMFunctionAllImageTokens;
|
|
100443
100708
|
|
|
100444
|
-
},{"../../../../interpreter/functions/Function":
|
|
100709
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],542:[function(require,module,exports){
|
|
100445
100710
|
"use strict";
|
|
100446
100711
|
//
|
|
100447
100712
|
// DSMFunctionAllMeasureTokens.ts
|
|
@@ -100490,7 +100755,7 @@ class DSMFunctionAllMeasureTokens extends Function_1.PLFunction {
|
|
|
100490
100755
|
}
|
|
100491
100756
|
exports.DSMFunctionAllMeasureTokens = DSMFunctionAllMeasureTokens;
|
|
100492
100757
|
|
|
100493
|
-
},{"../../../../interpreter/functions/Function":
|
|
100758
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],543:[function(require,module,exports){
|
|
100494
100759
|
"use strict";
|
|
100495
100760
|
//
|
|
100496
100761
|
// DSMFunctionAllRadiusTokens.ts
|
|
@@ -100539,7 +100804,7 @@ class DSMFunctionAllRadiusTokens extends Function_1.PLFunction {
|
|
|
100539
100804
|
}
|
|
100540
100805
|
exports.DSMFunctionAllRadiusTokens = DSMFunctionAllRadiusTokens;
|
|
100541
100806
|
|
|
100542
|
-
},{"../../../../interpreter/functions/Function":
|
|
100807
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],544:[function(require,module,exports){
|
|
100543
100808
|
"use strict";
|
|
100544
100809
|
//
|
|
100545
100810
|
// DSMFunctionAllShadowTokens.ts
|
|
@@ -100588,7 +100853,7 @@ class DSMFunctionAllShadowTokens extends Function_1.PLFunction {
|
|
|
100588
100853
|
}
|
|
100589
100854
|
exports.DSMFunctionAllShadowTokens = DSMFunctionAllShadowTokens;
|
|
100590
100855
|
|
|
100591
|
-
},{"../../../../interpreter/functions/Function":
|
|
100856
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],545:[function(require,module,exports){
|
|
100592
100857
|
"use strict";
|
|
100593
100858
|
//
|
|
100594
100859
|
// DSMFunctionAllTokens.ts
|
|
@@ -100637,7 +100902,7 @@ class DSMFunctionAllTokens extends Function_1.PLFunction {
|
|
|
100637
100902
|
}
|
|
100638
100903
|
exports.DSMFunctionAllTokens = DSMFunctionAllTokens;
|
|
100639
100904
|
|
|
100640
|
-
},{"../../../../interpreter/functions/Function":
|
|
100905
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],546:[function(require,module,exports){
|
|
100641
100906
|
"use strict";
|
|
100642
100907
|
//
|
|
100643
100908
|
// DSMFunctionAllTypographies.ts
|
|
@@ -100686,7 +100951,7 @@ class DSMFunctionAllTypographyTokens extends Function_1.PLFunction {
|
|
|
100686
100951
|
}
|
|
100687
100952
|
exports.DSMFunctionAllTypographyTokens = DSMFunctionAllTypographyTokens;
|
|
100688
100953
|
|
|
100689
|
-
},{"../../../../interpreter/functions/Function":
|
|
100954
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],547:[function(require,module,exports){
|
|
100690
100955
|
"use strict";
|
|
100691
100956
|
//
|
|
100692
100957
|
// DSMFunctionTokenById.ts
|
|
@@ -100737,7 +101002,7 @@ class DSMFunctionTokenById extends Function_1.PLFunction {
|
|
|
100737
101002
|
}
|
|
100738
101003
|
exports.DSMFunctionTokenById = DSMFunctionTokenById;
|
|
100739
101004
|
|
|
100740
|
-
},{"../../../../interpreter/functions/Function":
|
|
101005
|
+
},{"../../../../interpreter/functions/Function":582,"../../configuration/DSMKeywordsFunctions":522}],548:[function(require,module,exports){
|
|
100741
101006
|
"use strict";
|
|
100742
101007
|
//
|
|
100743
101008
|
// DSMFunctionResolveTheme.ts
|
|
@@ -100783,7 +101048,7 @@ class DSMFunctionResolveTheme extends Function_1.PLFunction {
|
|
|
100783
101048
|
}
|
|
100784
101049
|
exports.DSMFunctionResolveTheme = DSMFunctionResolveTheme;
|
|
100785
101050
|
|
|
100786
|
-
},{"../../../interpreter/functions/Function":
|
|
101051
|
+
},{"../../../interpreter/functions/Function":582,"../configuration/DSMKeywordsFunctions":522,"./DSMResolver":550}],549:[function(require,module,exports){
|
|
100787
101052
|
"use strict";
|
|
100788
101053
|
//
|
|
100789
101054
|
// DSMFunctionResolveTokens.ts
|
|
@@ -100828,7 +101093,7 @@ class DSMFunctionResolveTokens extends Function_1.PLFunction {
|
|
|
100828
101093
|
}
|
|
100829
101094
|
exports.DSMFunctionResolveTokens = DSMFunctionResolveTokens;
|
|
100830
101095
|
|
|
100831
|
-
},{"../../../interpreter/functions/Function":
|
|
101096
|
+
},{"../../../interpreter/functions/Function":582,"../configuration/DSMKeywordsFunctions":522,"./DSMResolver":550}],550:[function(require,module,exports){
|
|
100832
101097
|
"use strict";
|
|
100833
101098
|
//
|
|
100834
101099
|
// DSMResolver.ts
|
|
@@ -101004,7 +101269,7 @@ function resolveTheme(theme, tokens) {
|
|
|
101004
101269
|
}
|
|
101005
101270
|
exports.resolveTheme = resolveTheme;
|
|
101006
101271
|
|
|
101007
|
-
},{"./types":
|
|
101272
|
+
},{"./types":551,"lodash":739}],551:[function(require,module,exports){
|
|
101008
101273
|
"use strict";
|
|
101009
101274
|
//
|
|
101010
101275
|
// types.ts
|
|
@@ -101043,7 +101308,7 @@ var TextDecoration;
|
|
|
101043
101308
|
TextDecoration["Strikethrough"] = "Strikethrough";
|
|
101044
101309
|
})(TextDecoration = exports.TextDecoration || (exports.TextDecoration = {}));
|
|
101045
101310
|
|
|
101046
|
-
},{}],
|
|
101311
|
+
},{}],552:[function(require,module,exports){
|
|
101047
101312
|
"use strict";
|
|
101048
101313
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
101049
101314
|
if (k2 === undefined) k2 = k;
|
|
@@ -101058,7 +101323,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
101058
101323
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
101059
101324
|
__exportStar(require("./exports"), exports);
|
|
101060
101325
|
|
|
101061
|
-
},{"./exports":
|
|
101326
|
+
},{"./exports":519}],553:[function(require,module,exports){
|
|
101062
101327
|
"use strict";
|
|
101063
101328
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
101064
101329
|
exports.PLExecutionContext = void 0;
|
|
@@ -101183,12 +101448,13 @@ const TransformerJoin_1 = require("./transformers/specific/array/TransformerJoin
|
|
|
101183
101448
|
const FunctionEqualsEmpty_1 = require("./functions/specific/compare/FunctionEqualsEmpty");
|
|
101184
101449
|
const TransformerAlwaysRootValue_1 = require("./transformers/specific/map/TransformerAlwaysRootValue");
|
|
101185
101450
|
const TransformerContains_1 = require("./transformers/specific/string/TransformerContains");
|
|
101451
|
+
const Debugger_1 = require("../debugger/Debugger");
|
|
101186
101452
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
101187
101453
|
// MARK: - PLExecutionContext Definition
|
|
101188
101454
|
class PLExecutionContext {
|
|
101189
101455
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
101190
101456
|
// MARK: - Constructor
|
|
101191
|
-
constructor(
|
|
101457
|
+
constructor(load = new BlueprintLoader_1.PLBlueprintLoader(), emit = new BlueprintEmitter_1.PLBlueprintEmitter(), log = new Logger_1.PLLogger(), debug = new Debugger_1.PLDebugger()) {
|
|
101192
101458
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
101193
101459
|
// MARK: - Properties
|
|
101194
101460
|
/// Contains all language functions, callable with @. By default, contains all functions defined in `defaultFunctions`
|
|
@@ -101328,9 +101594,10 @@ class PLExecutionContext {
|
|
|
101328
101594
|
// Network
|
|
101329
101595
|
new FunctionNetworkGetAnonymous_1.PLFunctionNetworkGetAnonymous()
|
|
101330
101596
|
];
|
|
101331
|
-
this.blueprintLoader =
|
|
101332
|
-
this.blueprintEmitter =
|
|
101333
|
-
this.logger =
|
|
101597
|
+
this.blueprintLoader = load;
|
|
101598
|
+
this.blueprintEmitter = emit;
|
|
101599
|
+
this.logger = log;
|
|
101600
|
+
this.debugger = debug;
|
|
101334
101601
|
this.variableContext = new VariableContext_1.PLVariableContext();
|
|
101335
101602
|
this.executedScope = [];
|
|
101336
101603
|
this.executedBlueprint = '';
|
|
@@ -101501,7 +101768,7 @@ class PLExecutionContext {
|
|
|
101501
101768
|
}
|
|
101502
101769
|
exports.PLExecutionContext = PLExecutionContext;
|
|
101503
101770
|
|
|
101504
|
-
},{"./../utils/StringUtils":
|
|
101771
|
+
},{"../debugger/Debugger":516,"./../utils/StringUtils":708,"./emitters/BlueprintEmitter":556,"./flows/specific/code/FlowCodeMerge":563,"./flows/specific/debug/FlowLog":564,"./flows/specific/emit/FlowEmit":565,"./flows/specific/function/FlowImport":566,"./flows/specific/function/FlowReturn":567,"./flows/specific/if/FlowElse":568,"./flows/specific/if/FlowElseIf":569,"./flows/specific/if/FlowIf":570,"./flows/specific/inject/FlowInject":571,"./flows/specific/loops/FlowFor":572,"./flows/specific/loops/FlowMap":573,"./flows/specific/loops/FlowTraverse":574,"./flows/specific/switch/FlowCase":575,"./flows/specific/switch/FlowDefault":576,"./flows/specific/switch/FlowSwitch":577,"./flows/specific/var/FlowGlobal":578,"./flows/specific/var/FlowLet":579,"./flows/specific/var/FlowSet":580,"./flows/specific/var/FlowVar":581,"./functions/specific/blueprints/FunctionCall":584,"./functions/specific/boolean/FunctionAnd":585,"./functions/specific/boolean/FunctionNot":586,"./functions/specific/boolean/FunctionOr":587,"./functions/specific/boolean/FunctionTernary":588,"./functions/specific/compare/FunctionEquals":589,"./functions/specific/compare/FunctionEqualsEmpty":590,"./functions/specific/compare/FunctionEqualsNonNull":591,"./functions/specific/compare/FunctionEqualsNull":592,"./functions/specific/compare/FunctionGreaterThan":593,"./functions/specific/compare/FunctionGreaterThanEquals":594,"./functions/specific/compare/FunctionLessThan":595,"./functions/specific/compare/FunctionLessThanEquals":596,"./functions/specific/init/FunctionNewArray":597,"./functions/specific/init/FunctionNewDate":598,"./functions/specific/init/FunctionNewDictionary":599,"./functions/specific/init/FunctionNewNull":600,"./functions/specific/init/FunctionNewNumber":601,"./functions/specific/init/FunctionNewString":602,"./functions/specific/network/FunctionNetworkGetAnonymous":603,"./functions/specific/random/FunctionRandomNumber":604,"./functions/specific/random/FunctionRandomNumericArray":605,"./functions/specific/random/FunctionRandomString":606,"./functions/specific/random/FunctionRandomStringArray":607,"./functions/specific/support/FunctionArraysToZippedMap":608,"./functions/specific/support/FunctionVarDefined":609,"./functions/specific/support/FunctionVarMutable":610,"./loaders/BlueprintLoader":611,"./loggers/Logger":613,"./transformers/specific/array/TransformerAppend":617,"./transformers/specific/array/TransformerAt":618,"./transformers/specific/array/TransformerConcat":619,"./transformers/specific/array/TransformerEnumerated":620,"./transformers/specific/array/TransformerFirst":621,"./transformers/specific/array/TransformerFrom":622,"./transformers/specific/array/TransformerJoin":623,"./transformers/specific/array/TransformerRandom":624,"./transformers/specific/array/TransformerRange":625,"./transformers/specific/array/TransformerReversed":626,"./transformers/specific/array/TransformerShuffled":627,"./transformers/specific/array/TransformerSorted":628,"./transformers/specific/array/TransformerUntil":629,"./transformers/specific/map/TransformerAdd":630,"./transformers/specific/map/TransformerAlwaysRootValue":631,"./transformers/specific/map/TransformerKeys":632,"./transformers/specific/map/TransformerValue":633,"./transformers/specific/map/TransformerValues":634,"./transformers/specific/numeric/TransformerAbsolute":635,"./transformers/specific/numeric/TransformerAddedBy":636,"./transformers/specific/numeric/TransformerCeiled":637,"./transformers/specific/numeric/TransformerDividedBy":638,"./transformers/specific/numeric/TransformerFloored":639,"./transformers/specific/numeric/TransformerMultipliedBy":640,"./transformers/specific/numeric/TransformerNegative":641,"./transformers/specific/numeric/TransformerPositive":642,"./transformers/specific/numeric/TransformerRounded":643,"./transformers/specific/numeric/TransformerSubtractedBy":644,"./transformers/specific/shared/TransformerCount":645,"./transformers/specific/shared/TransformerFormatDate":646,"./transformers/specific/shared/TransformerIsArray":647,"./transformers/specific/shared/TransformerIsBool":648,"./transformers/specific/shared/TransformerIsDictionary":649,"./transformers/specific/shared/TransformerIsNull":650,"./transformers/specific/shared/TransformerIsNumber":651,"./transformers/specific/shared/TransformerIsString":652,"./transformers/specific/shared/TransformerToString":653,"./transformers/specific/string/TransformerCamelcased":654,"./transformers/specific/string/TransformerCapitalized":655,"./transformers/specific/string/TransformerContains":656,"./transformers/specific/string/TransformerDefault":657,"./transformers/specific/string/TransformerEquals":658,"./transformers/specific/string/TransformerEqualsTernary":659,"./transformers/specific/string/TransformerExtended":660,"./transformers/specific/string/TransformerLowercased":661,"./transformers/specific/string/TransformerPrefixed":662,"./transformers/specific/string/TransformerReplacing":663,"./transformers/specific/string/TransformerSlashDoubleQuotes":664,"./transformers/specific/string/TransformerSlashNewlines":665,"./transformers/specific/string/TransformerSlashSingleQuotes":666,"./transformers/specific/string/TransformerSnakecased":667,"./transformers/specific/string/TransformerSplit":668,"./transformers/specific/string/TransformerSplitExpr":669,"./transformers/specific/string/TransformerSubstring":670,"./transformers/specific/string/TransformerSuffixed":671,"./transformers/specific/string/TransformerTrimmingCharacter":672,"./transformers/specific/string/TransformerTrimmingSpaces":673,"./transformers/specific/string/TransformerUppercased":674,"./variables/VariableContext":676}],554:[function(require,module,exports){
|
|
101505
101772
|
"use strict";
|
|
101506
101773
|
//
|
|
101507
101774
|
// PLInterpreter.ts
|
|
@@ -101848,7 +102115,7 @@ class PLInterpreter {
|
|
|
101848
102115
|
}
|
|
101849
102116
|
exports.PLInterpreter = PLInterpreter;
|
|
101850
102117
|
|
|
101851
|
-
},{"../parser/syntax/nodes/SyntaxNode":
|
|
102118
|
+
},{"../parser/syntax/nodes/SyntaxNode":692,"./../blueprints/BlueprintConfiguration":511,"./flows/Flow":559,"./flows/FlowIterator":560,"./loggers/LoggerDefaultMessages":614,"uuid":743}],555:[function(require,module,exports){
|
|
101852
102119
|
"use strict";
|
|
101853
102120
|
//
|
|
101854
102121
|
// PLInterpreterContext.ts
|
|
@@ -101953,7 +102220,7 @@ class PLInterpreterContext {
|
|
|
101953
102220
|
}
|
|
101954
102221
|
exports.PLInterpreterContext = PLInterpreterContext;
|
|
101955
102222
|
|
|
101956
|
-
},{"lodash/fp":
|
|
102223
|
+
},{"lodash/fp":735}],556:[function(require,module,exports){
|
|
101957
102224
|
"use strict";
|
|
101958
102225
|
//
|
|
101959
102226
|
// PLBlueprintEmitter.ts
|
|
@@ -101982,7 +102249,7 @@ class PLBlueprintEmitter {
|
|
|
101982
102249
|
}
|
|
101983
102250
|
exports.PLBlueprintEmitter = PLBlueprintEmitter;
|
|
101984
102251
|
|
|
101985
|
-
},{}],
|
|
102252
|
+
},{}],557:[function(require,module,exports){
|
|
101986
102253
|
"use strict";
|
|
101987
102254
|
//
|
|
101988
102255
|
// PLEmittedContent.ts
|
|
@@ -102012,7 +102279,7 @@ class PLEmittedContent {
|
|
|
102012
102279
|
}
|
|
102013
102280
|
exports.PLEmittedContent = PLEmittedContent;
|
|
102014
102281
|
|
|
102015
|
-
},{}],
|
|
102282
|
+
},{}],558:[function(require,module,exports){
|
|
102016
102283
|
"use strict";
|
|
102017
102284
|
//
|
|
102018
102285
|
// PLMemoryBlueprintEmitter.ts
|
|
@@ -102066,7 +102333,7 @@ class PLMemoryBlueprintEmitter extends BlueprintEmitter_1.PLBlueprintEmitter {
|
|
|
102066
102333
|
}
|
|
102067
102334
|
exports.PLMemoryBlueprintEmitter = PLMemoryBlueprintEmitter;
|
|
102068
102335
|
|
|
102069
|
-
},{"./BlueprintEmitter":
|
|
102336
|
+
},{"./BlueprintEmitter":556}],559:[function(require,module,exports){
|
|
102070
102337
|
"use strict";
|
|
102071
102338
|
//
|
|
102072
102339
|
// Flow.ts
|
|
@@ -102177,7 +102444,7 @@ class PLFlow {
|
|
|
102177
102444
|
}
|
|
102178
102445
|
exports.PLFlow = PLFlow;
|
|
102179
102446
|
|
|
102180
|
-
},{}],
|
|
102447
|
+
},{}],560:[function(require,module,exports){
|
|
102181
102448
|
"use strict";
|
|
102182
102449
|
//
|
|
102183
102450
|
// FlowIterator.ts
|
|
@@ -102233,7 +102500,7 @@ class FlowIterator {
|
|
|
102233
102500
|
}
|
|
102234
102501
|
exports.FlowIterator = FlowIterator;
|
|
102235
102502
|
|
|
102236
|
-
},{}],
|
|
102503
|
+
},{}],561:[function(require,module,exports){
|
|
102237
102504
|
"use strict";
|
|
102238
102505
|
//
|
|
102239
102506
|
// FlowOutput.ts
|
|
@@ -102287,7 +102554,8 @@ class PLFlowOutput {
|
|
|
102287
102554
|
}
|
|
102288
102555
|
asSource(executionContext) {
|
|
102289
102556
|
try {
|
|
102290
|
-
|
|
102557
|
+
// TODO: Syntax argument should be able to specify its range
|
|
102558
|
+
let substitutionNode = new SyntaxNodeSubstitution_1.SyntaxNodeSubstitution(this.originalBackingProperty, executionContext, []);
|
|
102291
102559
|
return new FlowSource_1.PLFlowSource(substitutionNode);
|
|
102292
102560
|
}
|
|
102293
102561
|
catch (error) {
|
|
@@ -102297,7 +102565,7 @@ class PLFlowOutput {
|
|
|
102297
102565
|
}
|
|
102298
102566
|
exports.PLFlowOutput = PLFlowOutput;
|
|
102299
102567
|
|
|
102300
|
-
},{"../../parser/syntax/nodes/SyntaxNodeSubstitution":
|
|
102568
|
+
},{"../../parser/syntax/nodes/SyntaxNodeSubstitution":695,"../../utils/StringUtils":708,"./FlowSource":562}],562:[function(require,module,exports){
|
|
102301
102569
|
"use strict";
|
|
102302
102570
|
//
|
|
102303
102571
|
// FlowSource.ts
|
|
@@ -102397,7 +102665,7 @@ class PLFlowSource {
|
|
|
102397
102665
|
}
|
|
102398
102666
|
exports.PLFlowSource = PLFlowSource;
|
|
102399
102667
|
|
|
102400
|
-
},{"../transformers/TransformerArgument":
|
|
102668
|
+
},{"../transformers/TransformerArgument":616,"./../../utils/StringUtils":708}],563:[function(require,module,exports){
|
|
102401
102669
|
"use strict";
|
|
102402
102670
|
//
|
|
102403
102671
|
// FlowCodeMerge.ts
|
|
@@ -102475,7 +102743,7 @@ class PLFlowCodeMerge extends Flow_1.PLFlow {
|
|
|
102475
102743
|
}
|
|
102476
102744
|
exports.PLFlowCodeMerge = PLFlowCodeMerge;
|
|
102477
102745
|
|
|
102478
|
-
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":
|
|
102746
|
+
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":559,"./../../FlowIterator":560,"ts-dedent":742}],564:[function(require,module,exports){
|
|
102479
102747
|
"use strict";
|
|
102480
102748
|
//
|
|
102481
102749
|
// FlowLog.ts
|
|
@@ -102574,7 +102842,7 @@ class PLFlowLog extends Flow_1.PLFlow {
|
|
|
102574
102842
|
}
|
|
102575
102843
|
exports.PLFlowLog = PLFlowLog;
|
|
102576
102844
|
|
|
102577
|
-
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":
|
|
102845
|
+
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":559,"./../../FlowIterator":560}],565:[function(require,module,exports){
|
|
102578
102846
|
"use strict";
|
|
102579
102847
|
//
|
|
102580
102848
|
// FlowEmit.ts
|
|
@@ -102679,7 +102947,7 @@ class PLFlowEmit extends Flow_1.PLFlow {
|
|
|
102679
102947
|
}
|
|
102680
102948
|
exports.PLFlowEmit = PLFlowEmit;
|
|
102681
102949
|
|
|
102682
|
-
},{"../../../../configuration/KeywordsFlows":513,"./../../../../utils/StringUtils":
|
|
102950
|
+
},{"../../../../configuration/KeywordsFlows":513,"./../../../../utils/StringUtils":708,"./../../../emitters/EmittedContent":557,"./../../Flow":559,"./../../FlowIterator":560}],566:[function(require,module,exports){
|
|
102683
102951
|
"use strict";
|
|
102684
102952
|
//
|
|
102685
102953
|
// FlowImport.ts
|
|
@@ -102799,7 +103067,7 @@ class PLFlowImport extends Flow_1.PLFlow {
|
|
|
102799
103067
|
}
|
|
102800
103068
|
exports.PLFlowImport = PLFlowImport;
|
|
102801
103069
|
|
|
102802
|
-
},{"./../../../../blueprints/BlueprintConfiguration":511,"./../../../../configuration/KeywordsFlows":513,"./../../../../utils/StringUtils":
|
|
103070
|
+
},{"./../../../../blueprints/BlueprintConfiguration":511,"./../../../../configuration/KeywordsFlows":513,"./../../../../utils/StringUtils":708,"./../../Flow":559,"./../../FlowIterator":560}],567:[function(require,module,exports){
|
|
102803
103071
|
"use strict";
|
|
102804
103072
|
//
|
|
102805
103073
|
// FlowReturn.ts
|
|
@@ -102888,7 +103156,7 @@ class PLFlowReturn extends Flow_1.PLFlow {
|
|
|
102888
103156
|
}
|
|
102889
103157
|
exports.PLFlowReturn = PLFlowReturn;
|
|
102890
103158
|
|
|
102891
|
-
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":
|
|
103159
|
+
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":559,"./../../FlowIterator":560}],568:[function(require,module,exports){
|
|
102892
103160
|
"use strict";
|
|
102893
103161
|
//
|
|
102894
103162
|
// FlowElse.ts
|
|
@@ -102971,7 +103239,7 @@ class PLFlowElse extends Flow_1.PLFlow {
|
|
|
102971
103239
|
}
|
|
102972
103240
|
exports.PLFlowElse = PLFlowElse;
|
|
102973
103241
|
|
|
102974
|
-
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":
|
|
103242
|
+
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":559,"./../../FlowIterator":560}],569:[function(require,module,exports){
|
|
102975
103243
|
"use strict";
|
|
102976
103244
|
//
|
|
102977
103245
|
// FlowElseIf.ts
|
|
@@ -103084,7 +103352,7 @@ class PLFlowElseIf extends Flow_1.PLFlow {
|
|
|
103084
103352
|
}
|
|
103085
103353
|
exports.PLFlowElseIf = PLFlowElseIf;
|
|
103086
103354
|
|
|
103087
|
-
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":
|
|
103355
|
+
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":559,"./../../FlowIterator":560}],570:[function(require,module,exports){
|
|
103088
103356
|
"use strict";
|
|
103089
103357
|
//
|
|
103090
103358
|
// FlowIf.ts
|
|
@@ -103194,7 +103462,7 @@ class PLFlowIf extends Flow_1.PLFlow {
|
|
|
103194
103462
|
}
|
|
103195
103463
|
exports.PLFlowIf = PLFlowIf;
|
|
103196
103464
|
|
|
103197
|
-
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":
|
|
103465
|
+
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":559,"./../../FlowIterator":560}],571:[function(require,module,exports){
|
|
103198
103466
|
"use strict";
|
|
103199
103467
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
103200
103468
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -103342,7 +103610,7 @@ class PLFlowInject extends Flow_1.PLFlow {
|
|
|
103342
103610
|
}
|
|
103343
103611
|
exports.PLFlowInject = PLFlowInject;
|
|
103344
103612
|
|
|
103345
|
-
},{"../../../Interpreter":
|
|
103613
|
+
},{"../../../Interpreter":554,"./../../../../configuration/KeywordsFlows":513,"./../../../../utils/FlowUtils":707,"./../../../../utils/StringUtils":708,"./../../../InterpreterContext":555,"./../../Flow":559,"./../../FlowIterator":560,"lodash":739}],572:[function(require,module,exports){
|
|
103346
103614
|
"use strict";
|
|
103347
103615
|
//
|
|
103348
103616
|
// FlowFor.ts
|
|
@@ -103464,7 +103732,7 @@ class PLFlowFor extends Flow_1.PLFlow {
|
|
|
103464
103732
|
}
|
|
103465
103733
|
exports.PLFlowFor = PLFlowFor;
|
|
103466
103734
|
|
|
103467
|
-
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":
|
|
103735
|
+
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":559,"./../../FlowIterator":560}],573:[function(require,module,exports){
|
|
103468
103736
|
"use strict";
|
|
103469
103737
|
//
|
|
103470
103738
|
// FlowMap.ts
|
|
@@ -103577,7 +103845,7 @@ class PLFlowMap extends Flow_1.PLFlow {
|
|
|
103577
103845
|
}
|
|
103578
103846
|
exports.PLFlowMap = PLFlowMap;
|
|
103579
103847
|
|
|
103580
|
-
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":
|
|
103848
|
+
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":559,"./../../FlowIterator":560}],574:[function(require,module,exports){
|
|
103581
103849
|
"use strict";
|
|
103582
103850
|
//
|
|
103583
103851
|
// FlowTraverse.ts
|
|
@@ -103706,7 +103974,7 @@ class PLFlowTraverse extends Flow_1.PLFlow {
|
|
|
103706
103974
|
}
|
|
103707
103975
|
exports.PLFlowTraverse = PLFlowTraverse;
|
|
103708
103976
|
|
|
103709
|
-
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":
|
|
103977
|
+
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":559,"./../../FlowIterator":560}],575:[function(require,module,exports){
|
|
103710
103978
|
"use strict";
|
|
103711
103979
|
//
|
|
103712
103980
|
// FlowCase.ts
|
|
@@ -103801,7 +104069,7 @@ class PLFlowCase extends Flow_1.PLFlow {
|
|
|
103801
104069
|
}
|
|
103802
104070
|
exports.PLFlowCase = PLFlowCase;
|
|
103803
104071
|
|
|
103804
|
-
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":
|
|
104072
|
+
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":559,"./../../FlowIterator":560}],576:[function(require,module,exports){
|
|
103805
104073
|
"use strict";
|
|
103806
104074
|
//
|
|
103807
104075
|
// FlowDefault.ts
|
|
@@ -103871,7 +104139,7 @@ class PLFlowDefault extends Flow_1.PLFlow {
|
|
|
103871
104139
|
}
|
|
103872
104140
|
exports.PLFlowDefault = PLFlowDefault;
|
|
103873
104141
|
|
|
103874
|
-
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":
|
|
104142
|
+
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":559,"./../../FlowIterator":560}],577:[function(require,module,exports){
|
|
103875
104143
|
"use strict";
|
|
103876
104144
|
//
|
|
103877
104145
|
// FlowSwitch.ts
|
|
@@ -103959,7 +104227,7 @@ class PLFlowSwitch extends Flow_1.PLFlow {
|
|
|
103959
104227
|
}
|
|
103960
104228
|
exports.PLFlowSwitch = PLFlowSwitch;
|
|
103961
104229
|
|
|
103962
|
-
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":
|
|
104230
|
+
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":559,"./../../FlowIterator":560}],578:[function(require,module,exports){
|
|
103963
104231
|
"use strict";
|
|
103964
104232
|
//
|
|
103965
104233
|
// FlowGlobal.ts
|
|
@@ -104050,7 +104318,7 @@ class PLFlowGlobal extends Flow_1.PLFlow {
|
|
|
104050
104318
|
}
|
|
104051
104319
|
exports.PLFlowGlobal = PLFlowGlobal;
|
|
104052
104320
|
|
|
104053
|
-
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":
|
|
104321
|
+
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":559,"./../../FlowIterator":560}],579:[function(require,module,exports){
|
|
104054
104322
|
"use strict";
|
|
104055
104323
|
//
|
|
104056
104324
|
// FlowLet.ts
|
|
@@ -104141,7 +104409,7 @@ class PLFlowLet extends Flow_1.PLFlow {
|
|
|
104141
104409
|
}
|
|
104142
104410
|
exports.PLFlowLet = PLFlowLet;
|
|
104143
104411
|
|
|
104144
|
-
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":
|
|
104412
|
+
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":559,"./../../FlowIterator":560}],580:[function(require,module,exports){
|
|
104145
104413
|
"use strict";
|
|
104146
104414
|
//
|
|
104147
104415
|
// FlowSet.ts
|
|
@@ -104234,7 +104502,7 @@ class PLFlowSet extends Flow_1.PLFlow {
|
|
|
104234
104502
|
}
|
|
104235
104503
|
exports.PLFlowSet = PLFlowSet;
|
|
104236
104504
|
|
|
104237
|
-
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":
|
|
104505
|
+
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":559,"./../../FlowIterator":560}],581:[function(require,module,exports){
|
|
104238
104506
|
"use strict";
|
|
104239
104507
|
//
|
|
104240
104508
|
// FlowVar.ts
|
|
@@ -104325,7 +104593,7 @@ class PLFlowVar extends Flow_1.PLFlow {
|
|
|
104325
104593
|
}
|
|
104326
104594
|
exports.PLFlowVar = PLFlowVar;
|
|
104327
104595
|
|
|
104328
|
-
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":
|
|
104596
|
+
},{"./../../../../configuration/KeywordsFlows":513,"./../../Flow":559,"./../../FlowIterator":560}],582:[function(require,module,exports){
|
|
104329
104597
|
"use strict";
|
|
104330
104598
|
//
|
|
104331
104599
|
// Function.ts
|
|
@@ -104541,7 +104809,7 @@ class PLFunction {
|
|
|
104541
104809
|
}
|
|
104542
104810
|
exports.PLFunction = PLFunction;
|
|
104543
104811
|
|
|
104544
|
-
},{"./../../utils/StringUtils":
|
|
104812
|
+
},{"./../../utils/StringUtils":708,"./FunctionArgument":583}],583:[function(require,module,exports){
|
|
104545
104813
|
"use strict";
|
|
104546
104814
|
//
|
|
104547
104815
|
// FunctionArgument.ts
|
|
@@ -104903,7 +105171,8 @@ class PLFunctionArgument {
|
|
|
104903
105171
|
resolveAsSource(interpreterContext, ec) {
|
|
104904
105172
|
return __awaiter(this, void 0, void 0, function* () {
|
|
104905
105173
|
try {
|
|
104906
|
-
|
|
105174
|
+
// TODO: Syntax argument should be able to specify its range
|
|
105175
|
+
let substitutionNode = new SyntaxNodeSubstitution_1.SyntaxNodeSubstitution(this.backingProperty, ec, []);
|
|
104907
105176
|
let flowSource = new FlowSource_1.PLFlowSource(substitutionNode);
|
|
104908
105177
|
return yield flowSource.asValue(interpreterContext, ec);
|
|
104909
105178
|
}
|
|
@@ -104918,7 +105187,7 @@ function isPlainObj(o) {
|
|
|
104918
105187
|
return typeof o == 'object' && o.constructor == Object;
|
|
104919
105188
|
}
|
|
104920
105189
|
|
|
104921
|
-
},{"../../parser/syntax/nodes/SyntaxNodeSubstitution":
|
|
105190
|
+
},{"../../parser/syntax/nodes/SyntaxNodeSubstitution":695,"../flows/FlowSource":562,"./../../utils/StringUtils":708,"lodash":739}],584:[function(require,module,exports){
|
|
104922
105191
|
"use strict";
|
|
104923
105192
|
//
|
|
104924
105193
|
// FunctionCall.ts
|
|
@@ -104983,7 +105252,7 @@ class PLFunctionCall extends Function_1.PLFunction {
|
|
|
104983
105252
|
}
|
|
104984
105253
|
exports.PLFunctionCall = PLFunctionCall;
|
|
104985
105254
|
|
|
104986
|
-
},{"../../../Interpreter":
|
|
105255
|
+
},{"../../../Interpreter":554,"../../../InterpreterContext":555,"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],585:[function(require,module,exports){
|
|
104987
105256
|
"use strict";
|
|
104988
105257
|
//
|
|
104989
105258
|
// FunctionAnd.ts
|
|
@@ -105036,7 +105305,7 @@ class PLFunctionAnd extends Function_1.PLFunction {
|
|
|
105036
105305
|
}
|
|
105037
105306
|
exports.PLFunctionAnd = PLFunctionAnd;
|
|
105038
105307
|
|
|
105039
|
-
},{"../../Function":
|
|
105308
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],586:[function(require,module,exports){
|
|
105040
105309
|
"use strict";
|
|
105041
105310
|
//
|
|
105042
105311
|
// FunctionNot.ts
|
|
@@ -105084,7 +105353,7 @@ class PLFunctionNot extends Function_1.PLFunction {
|
|
|
105084
105353
|
}
|
|
105085
105354
|
exports.PLFunctionNot = PLFunctionNot;
|
|
105086
105355
|
|
|
105087
|
-
},{"../../Function":
|
|
105356
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],587:[function(require,module,exports){
|
|
105088
105357
|
"use strict";
|
|
105089
105358
|
//
|
|
105090
105359
|
// FunctionOr.ts
|
|
@@ -105137,7 +105406,7 @@ class PLFunctionOr extends Function_1.PLFunction {
|
|
|
105137
105406
|
}
|
|
105138
105407
|
exports.PLFunctionOr = PLFunctionOr;
|
|
105139
105408
|
|
|
105140
|
-
},{"../../Function":
|
|
105409
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],588:[function(require,module,exports){
|
|
105141
105410
|
"use strict";
|
|
105142
105411
|
//
|
|
105143
105412
|
// FunctionTernaryValue.ts
|
|
@@ -105183,7 +105452,7 @@ class PLFunctionTernaryValue extends Function_1.PLFunction {
|
|
|
105183
105452
|
}
|
|
105184
105453
|
exports.PLFunctionTernaryValue = PLFunctionTernaryValue;
|
|
105185
105454
|
|
|
105186
|
-
},{"../../Function":
|
|
105455
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],589:[function(require,module,exports){
|
|
105187
105456
|
"use strict";
|
|
105188
105457
|
//
|
|
105189
105458
|
// FunctionEquals.ts
|
|
@@ -105230,7 +105499,7 @@ class PLFunctionEquals extends Function_1.PLFunction {
|
|
|
105230
105499
|
}
|
|
105231
105500
|
exports.PLFunctionEquals = PLFunctionEquals;
|
|
105232
105501
|
|
|
105233
|
-
},{"../../Function":
|
|
105502
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],590:[function(require,module,exports){
|
|
105234
105503
|
"use strict";
|
|
105235
105504
|
//
|
|
105236
105505
|
// FunctionEqualsNull.ts
|
|
@@ -105279,7 +105548,7 @@ class PLFunctionCompareEmpty extends Function_1.PLFunction {
|
|
|
105279
105548
|
}
|
|
105280
105549
|
exports.PLFunctionCompareEmpty = PLFunctionCompareEmpty;
|
|
105281
105550
|
|
|
105282
|
-
},{"../../../../configuration/KeywordsFunctions":514,"../../Function":
|
|
105551
|
+
},{"../../../../configuration/KeywordsFunctions":514,"../../Function":582}],591:[function(require,module,exports){
|
|
105283
105552
|
"use strict";
|
|
105284
105553
|
//
|
|
105285
105554
|
// FunctionEqualsNonNull.ts
|
|
@@ -105325,7 +105594,7 @@ class PLFunctionEqualsNonNull extends Function_1.PLFunction {
|
|
|
105325
105594
|
}
|
|
105326
105595
|
exports.PLFunctionEqualsNonNull = PLFunctionEqualsNonNull;
|
|
105327
105596
|
|
|
105328
|
-
},{"../../Function":
|
|
105597
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],592:[function(require,module,exports){
|
|
105329
105598
|
"use strict";
|
|
105330
105599
|
//
|
|
105331
105600
|
// FunctionEqualsNull.ts
|
|
@@ -105371,7 +105640,7 @@ class PLFunctionEqualsNull extends Function_1.PLFunction {
|
|
|
105371
105640
|
}
|
|
105372
105641
|
exports.PLFunctionEqualsNull = PLFunctionEqualsNull;
|
|
105373
105642
|
|
|
105374
|
-
},{"../../Function":
|
|
105643
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],593:[function(require,module,exports){
|
|
105375
105644
|
"use strict";
|
|
105376
105645
|
//
|
|
105377
105646
|
// FunctionGreaterThan.ts
|
|
@@ -105418,7 +105687,7 @@ class PLFunctionGreaterThan extends Function_1.PLFunction {
|
|
|
105418
105687
|
}
|
|
105419
105688
|
exports.PLFunctionGreaterThan = PLFunctionGreaterThan;
|
|
105420
105689
|
|
|
105421
|
-
},{"../../Function":
|
|
105690
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],594:[function(require,module,exports){
|
|
105422
105691
|
"use strict";
|
|
105423
105692
|
//
|
|
105424
105693
|
// FunctionGreaterThanEquals.ts
|
|
@@ -105465,7 +105734,7 @@ class PLFunctionGreaterThanEquals extends Function_1.PLFunction {
|
|
|
105465
105734
|
}
|
|
105466
105735
|
exports.PLFunctionGreaterThanEquals = PLFunctionGreaterThanEquals;
|
|
105467
105736
|
|
|
105468
|
-
},{"../../Function":
|
|
105737
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],595:[function(require,module,exports){
|
|
105469
105738
|
"use strict";
|
|
105470
105739
|
//
|
|
105471
105740
|
// FunctionLessThan.ts
|
|
@@ -105512,7 +105781,7 @@ class PLFunctionLessThan extends Function_1.PLFunction {
|
|
|
105512
105781
|
}
|
|
105513
105782
|
exports.PLFunctionLessThan = PLFunctionLessThan;
|
|
105514
105783
|
|
|
105515
|
-
},{"../../Function":
|
|
105784
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],596:[function(require,module,exports){
|
|
105516
105785
|
"use strict";
|
|
105517
105786
|
//
|
|
105518
105787
|
// FunctionLessThanEquals.ts
|
|
@@ -105559,7 +105828,7 @@ class PLFunctionLessThanEquals extends Function_1.PLFunction {
|
|
|
105559
105828
|
}
|
|
105560
105829
|
exports.PLFunctionLessThanEquals = PLFunctionLessThanEquals;
|
|
105561
105830
|
|
|
105562
|
-
},{"../../Function":
|
|
105831
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],597:[function(require,module,exports){
|
|
105563
105832
|
"use strict";
|
|
105564
105833
|
//
|
|
105565
105834
|
// FunctionNewArray.ts
|
|
@@ -105602,7 +105871,7 @@ class PLFunctionNewArray extends Function_1.PLFunction {
|
|
|
105602
105871
|
}
|
|
105603
105872
|
exports.PLFunctionNewArray = PLFunctionNewArray;
|
|
105604
105873
|
|
|
105605
|
-
},{"../../Function":
|
|
105874
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],598:[function(require,module,exports){
|
|
105606
105875
|
"use strict";
|
|
105607
105876
|
//
|
|
105608
105877
|
// FunctionNewDate.ts
|
|
@@ -105650,7 +105919,7 @@ class PLFunctionNewDate extends Function_1.PLFunction {
|
|
|
105650
105919
|
}
|
|
105651
105920
|
exports.PLFunctionNewDate = PLFunctionNewDate;
|
|
105652
105921
|
|
|
105653
|
-
},{"../../Function":
|
|
105922
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514,"moment":741}],599:[function(require,module,exports){
|
|
105654
105923
|
"use strict";
|
|
105655
105924
|
//
|
|
105656
105925
|
// FunctionNewDictionary.ts
|
|
@@ -105693,7 +105962,7 @@ class PLFunctionNewDictionary extends Function_1.PLFunction {
|
|
|
105693
105962
|
}
|
|
105694
105963
|
exports.PLFunctionNewDictionary = PLFunctionNewDictionary;
|
|
105695
105964
|
|
|
105696
|
-
},{"../../Function":
|
|
105965
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],600:[function(require,module,exports){
|
|
105697
105966
|
"use strict";
|
|
105698
105967
|
//
|
|
105699
105968
|
// FunctionNewNull.ts
|
|
@@ -105736,7 +106005,7 @@ class PLFunctionNewNull extends Function_1.PLFunction {
|
|
|
105736
106005
|
}
|
|
105737
106006
|
exports.PLFunctionNewNull = PLFunctionNewNull;
|
|
105738
106007
|
|
|
105739
|
-
},{"../../Function":
|
|
106008
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],601:[function(require,module,exports){
|
|
105740
106009
|
"use strict";
|
|
105741
106010
|
//
|
|
105742
106011
|
// FunctionNewNumber.ts
|
|
@@ -105779,7 +106048,7 @@ class PLFunctionNewNumber extends Function_1.PLFunction {
|
|
|
105779
106048
|
}
|
|
105780
106049
|
exports.PLFunctionNewNumber = PLFunctionNewNumber;
|
|
105781
106050
|
|
|
105782
|
-
},{"../../Function":
|
|
106051
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],602:[function(require,module,exports){
|
|
105783
106052
|
"use strict";
|
|
105784
106053
|
//
|
|
105785
106054
|
// FunctionNewString.ts
|
|
@@ -105822,7 +106091,7 @@ class PLFunctionNewString extends Function_1.PLFunction {
|
|
|
105822
106091
|
}
|
|
105823
106092
|
exports.PLFunctionNewString = PLFunctionNewString;
|
|
105824
106093
|
|
|
105825
|
-
},{"../../Function":
|
|
106094
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],603:[function(require,module,exports){
|
|
105826
106095
|
"use strict";
|
|
105827
106096
|
//
|
|
105828
106097
|
// FunctionNetworkGetAnonymous.ts
|
|
@@ -105889,7 +106158,7 @@ class PLFunctionNetworkGetAnonymous extends Function_1.PLFunction {
|
|
|
105889
106158
|
}
|
|
105890
106159
|
exports.PLFunctionNetworkGetAnonymous = PLFunctionNetworkGetAnonymous;
|
|
105891
106160
|
|
|
105892
|
-
},{"../../../../configuration/KeywordsFunctions":514,"../../Function":
|
|
106161
|
+
},{"../../../../configuration/KeywordsFunctions":514,"../../Function":582,"axios":709}],604:[function(require,module,exports){
|
|
105893
106162
|
"use strict";
|
|
105894
106163
|
//
|
|
105895
106164
|
// FunctionRandomNumber.ts
|
|
@@ -105942,7 +106211,7 @@ class PLFunctionRandomNumber extends Function_1.PLFunction {
|
|
|
105942
106211
|
}
|
|
105943
106212
|
exports.PLFunctionRandomNumber = PLFunctionRandomNumber;
|
|
105944
106213
|
|
|
105945
|
-
},{"../../Function":
|
|
106214
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],605:[function(require,module,exports){
|
|
105946
106215
|
"use strict";
|
|
105947
106216
|
//
|
|
105948
106217
|
// FunctionRandomNumericArray.ts
|
|
@@ -106005,7 +106274,7 @@ class PLFunctionRandomNumericArray extends Function_1.PLFunction {
|
|
|
106005
106274
|
}
|
|
106006
106275
|
exports.PLFunctionRandomNumericArray = PLFunctionRandomNumericArray;
|
|
106007
106276
|
|
|
106008
|
-
},{"../../Function":
|
|
106277
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],606:[function(require,module,exports){
|
|
106009
106278
|
"use strict";
|
|
106010
106279
|
//
|
|
106011
106280
|
// FunctionRandomString.ts
|
|
@@ -106056,7 +106325,7 @@ class PLFunctionRandomString extends Function_1.PLFunction {
|
|
|
106056
106325
|
}
|
|
106057
106326
|
exports.PLFunctionRandomString = PLFunctionRandomString;
|
|
106058
106327
|
|
|
106059
|
-
},{"../../Function":
|
|
106328
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],607:[function(require,module,exports){
|
|
106060
106329
|
"use strict";
|
|
106061
106330
|
//
|
|
106062
106331
|
// FunctionRandomStringArray.ts
|
|
@@ -106113,7 +106382,7 @@ class PLFunctionRandomStringArray extends Function_1.PLFunction {
|
|
|
106113
106382
|
}
|
|
106114
106383
|
exports.PLFunctionRandomStringArray = PLFunctionRandomStringArray;
|
|
106115
106384
|
|
|
106116
|
-
},{"../../Function":
|
|
106385
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],608:[function(require,module,exports){
|
|
106117
106386
|
"use strict";
|
|
106118
106387
|
//
|
|
106119
106388
|
// FunctionArraysToZippedMap.ts
|
|
@@ -106169,7 +106438,7 @@ class PLFunctionArraysToZippedMap extends Function_1.PLFunction {
|
|
|
106169
106438
|
}
|
|
106170
106439
|
exports.PLFunctionArraysToZippedMap = PLFunctionArraysToZippedMap;
|
|
106171
106440
|
|
|
106172
|
-
},{"../../Function":
|
|
106441
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],609:[function(require,module,exports){
|
|
106173
106442
|
"use strict";
|
|
106174
106443
|
//
|
|
106175
106444
|
// FunctionVarDefined.ts
|
|
@@ -106219,7 +106488,7 @@ class PLFunctionVarDefined extends Function_1.PLFunction {
|
|
|
106219
106488
|
}
|
|
106220
106489
|
exports.PLFunctionVarDefined = PLFunctionVarDefined;
|
|
106221
106490
|
|
|
106222
|
-
},{"../../Function":
|
|
106491
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],610:[function(require,module,exports){
|
|
106223
106492
|
"use strict";
|
|
106224
106493
|
//
|
|
106225
106494
|
// FunctionVarMutable.ts
|
|
@@ -106269,7 +106538,7 @@ class PLFunctionVarMutable extends Function_1.PLFunction {
|
|
|
106269
106538
|
}
|
|
106270
106539
|
exports.PLFunctionVarMutable = PLFunctionVarMutable;
|
|
106271
106540
|
|
|
106272
|
-
},{"../../Function":
|
|
106541
|
+
},{"../../Function":582,"./../../../../configuration/KeywordsFunctions":514}],611:[function(require,module,exports){
|
|
106273
106542
|
"use strict";
|
|
106274
106543
|
//
|
|
106275
106544
|
// PLBlueprintLoader.ts
|
|
@@ -106313,7 +106582,7 @@ class PLBlueprintLoader {
|
|
|
106313
106582
|
}
|
|
106314
106583
|
exports.PLBlueprintLoader = PLBlueprintLoader;
|
|
106315
106584
|
|
|
106316
|
-
},{}],
|
|
106585
|
+
},{}],612:[function(require,module,exports){
|
|
106317
106586
|
"use strict";
|
|
106318
106587
|
//
|
|
106319
106588
|
// PLMemoryBlueprintLoader.ts
|
|
@@ -106372,7 +106641,7 @@ class PLMemoryBlueprintLoader extends BlueprintLoader_1.PLBlueprintLoader {
|
|
|
106372
106641
|
}
|
|
106373
106642
|
exports.PLMemoryBlueprintLoader = PLMemoryBlueprintLoader;
|
|
106374
106643
|
|
|
106375
|
-
},{"./../../blueprints/BlueprintFactory":512,"./BlueprintLoader":
|
|
106644
|
+
},{"./../../blueprints/BlueprintFactory":512,"./BlueprintLoader":611}],613:[function(require,module,exports){
|
|
106376
106645
|
"use strict";
|
|
106377
106646
|
//
|
|
106378
106647
|
// PLLogger.ts
|
|
@@ -106471,7 +106740,7 @@ class PLLogger {
|
|
|
106471
106740
|
}
|
|
106472
106741
|
exports.PLLogger = PLLogger;
|
|
106473
106742
|
|
|
106474
|
-
},{}],
|
|
106743
|
+
},{}],614:[function(require,module,exports){
|
|
106475
106744
|
"use strict";
|
|
106476
106745
|
//
|
|
106477
106746
|
// PLLoggerDefaultMessages.ts
|
|
@@ -106513,7 +106782,7 @@ PLLoggerDefaultMessages.interpreterRenderingFailure = {
|
|
|
106513
106782
|
type: Logger_1.PLLogType.info
|
|
106514
106783
|
};
|
|
106515
106784
|
|
|
106516
|
-
},{"./Logger":
|
|
106785
|
+
},{"./Logger":613}],615:[function(require,module,exports){
|
|
106517
106786
|
"use strict";
|
|
106518
106787
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
106519
106788
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -106800,7 +107069,7 @@ class PLTransformer {
|
|
|
106800
107069
|
}
|
|
106801
107070
|
exports.PLTransformer = PLTransformer;
|
|
106802
107071
|
|
|
106803
|
-
},{"./../../utils/StringUtils":
|
|
107072
|
+
},{"./../../utils/StringUtils":708,"./TransformerArgument":616}],616:[function(require,module,exports){
|
|
106804
107073
|
"use strict";
|
|
106805
107074
|
//
|
|
106806
107075
|
// TransformerArgument.ts
|
|
@@ -107166,7 +107435,8 @@ class PLTransformerArgument {
|
|
|
107166
107435
|
resolveAsSource(interpreterContext, ec) {
|
|
107167
107436
|
return __awaiter(this, void 0, void 0, function* () {
|
|
107168
107437
|
try {
|
|
107169
|
-
|
|
107438
|
+
// TODO: Syntax argument should be able to specify its range
|
|
107439
|
+
let substitutionNode = new SyntaxNodeSubstitution_1.SyntaxNodeSubstitution(this.backingProperty, ec, []);
|
|
107170
107440
|
let flowSource = new FlowSource_1.PLFlowSource(substitutionNode);
|
|
107171
107441
|
return yield flowSource.asValue(interpreterContext, ec);
|
|
107172
107442
|
}
|
|
@@ -107178,7 +107448,7 @@ class PLTransformerArgument {
|
|
|
107178
107448
|
}
|
|
107179
107449
|
exports.PLTransformerArgument = PLTransformerArgument;
|
|
107180
107450
|
|
|
107181
|
-
},{"../../parser/syntax/nodes/SyntaxNodeSubstitution":
|
|
107451
|
+
},{"../../parser/syntax/nodes/SyntaxNodeSubstitution":695,"../flows/FlowSource":562,"./../../utils/StringUtils":708}],617:[function(require,module,exports){
|
|
107182
107452
|
"use strict";
|
|
107183
107453
|
//
|
|
107184
107454
|
// TransformerAppend.ts
|
|
@@ -107237,7 +107507,7 @@ class PLTransformerAppend extends Transformer_1.PLTransformer {
|
|
|
107237
107507
|
}
|
|
107238
107508
|
exports.PLTransformerAppend = PLTransformerAppend;
|
|
107239
107509
|
|
|
107240
|
-
},{"../../../../tools/documentation/Doc":
|
|
107510
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703,"lodash/fp":735}],618:[function(require,module,exports){
|
|
107241
107511
|
"use strict";
|
|
107242
107512
|
//
|
|
107243
107513
|
// TransformerAt.ts
|
|
@@ -107297,7 +107567,7 @@ class PLTransformerAt extends Transformer_1.PLTransformer {
|
|
|
107297
107567
|
}
|
|
107298
107568
|
exports.PLTransformerAt = PLTransformerAt;
|
|
107299
107569
|
|
|
107300
|
-
},{"../../../../tools/documentation/Doc":
|
|
107570
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],619:[function(require,module,exports){
|
|
107301
107571
|
"use strict";
|
|
107302
107572
|
//
|
|
107303
107573
|
// TransformerConcat.ts
|
|
@@ -107352,7 +107622,7 @@ class PLTransformerConcat extends Transformer_1.PLTransformer {
|
|
|
107352
107622
|
}
|
|
107353
107623
|
exports.PLTransformerConcat = PLTransformerConcat;
|
|
107354
107624
|
|
|
107355
|
-
},{"../../../../tools/documentation/Doc":
|
|
107625
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],620:[function(require,module,exports){
|
|
107356
107626
|
"use strict";
|
|
107357
107627
|
//
|
|
107358
107628
|
// TransformerEnumerated.ts
|
|
@@ -107411,7 +107681,7 @@ class PLTransformerEnumerated extends Transformer_1.PLTransformer {
|
|
|
107411
107681
|
}
|
|
107412
107682
|
exports.PLTransformerEnumerated = PLTransformerEnumerated;
|
|
107413
107683
|
|
|
107414
|
-
},{"../../../../tools/documentation/Doc":
|
|
107684
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],621:[function(require,module,exports){
|
|
107415
107685
|
"use strict";
|
|
107416
107686
|
//
|
|
107417
107687
|
// TransformerFirst.ts
|
|
@@ -107467,7 +107737,7 @@ class PLTransformerFirst extends Transformer_1.PLTransformer {
|
|
|
107467
107737
|
}
|
|
107468
107738
|
exports.PLTransformerFirst = PLTransformerFirst;
|
|
107469
107739
|
|
|
107470
|
-
},{"../../../../tools/documentation/Doc":
|
|
107740
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],622:[function(require,module,exports){
|
|
107471
107741
|
"use strict";
|
|
107472
107742
|
//
|
|
107473
107743
|
// TransformerFrom.ts
|
|
@@ -107525,7 +107795,7 @@ class PLTransformerFrom extends Transformer_1.PLTransformer {
|
|
|
107525
107795
|
}
|
|
107526
107796
|
exports.PLTransformerFrom = PLTransformerFrom;
|
|
107527
107797
|
|
|
107528
|
-
},{"../../../../tools/documentation/Doc":
|
|
107798
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],623:[function(require,module,exports){
|
|
107529
107799
|
"use strict";
|
|
107530
107800
|
//
|
|
107531
107801
|
// TransformerAppend.ts
|
|
@@ -107578,7 +107848,7 @@ class PLTransformerJoin extends Transformer_1.PLTransformer {
|
|
|
107578
107848
|
}
|
|
107579
107849
|
exports.PLTransformerJoin = PLTransformerJoin;
|
|
107580
107850
|
|
|
107581
|
-
},{"../../../../configuration/KeywordsTranformers":515,"../../../../tools/documentation/Doc":
|
|
107851
|
+
},{"../../../../configuration/KeywordsTranformers":515,"../../../../tools/documentation/Doc":703,"../../Transformer":615}],624:[function(require,module,exports){
|
|
107582
107852
|
"use strict";
|
|
107583
107853
|
//
|
|
107584
107854
|
// TransformerRandom.ts
|
|
@@ -107635,7 +107905,7 @@ class PLTransformerRandom extends Transformer_1.PLTransformer {
|
|
|
107635
107905
|
}
|
|
107636
107906
|
exports.PLTransformerRandom = PLTransformerRandom;
|
|
107637
107907
|
|
|
107638
|
-
},{"../../../../tools/documentation/Doc":
|
|
107908
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],625:[function(require,module,exports){
|
|
107639
107909
|
"use strict";
|
|
107640
107910
|
//
|
|
107641
107911
|
// TransformerRange.ts
|
|
@@ -107704,7 +107974,7 @@ class PLTransformerRange extends Transformer_1.PLTransformer {
|
|
|
107704
107974
|
}
|
|
107705
107975
|
exports.PLTransformerRange = PLTransformerRange;
|
|
107706
107976
|
|
|
107707
|
-
},{"../../../../tools/documentation/Doc":
|
|
107977
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],626:[function(require,module,exports){
|
|
107708
107978
|
"use strict";
|
|
107709
107979
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
107710
107980
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -107761,7 +108031,7 @@ class PLTransformerReversed extends Transformer_1.PLTransformer {
|
|
|
107761
108031
|
}
|
|
107762
108032
|
exports.PLTransformerReversed = PLTransformerReversed;
|
|
107763
108033
|
|
|
107764
|
-
},{"../../../../tools/documentation/Doc":
|
|
108034
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703,"lodash/fp":735}],627:[function(require,module,exports){
|
|
107765
108035
|
"use strict";
|
|
107766
108036
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
107767
108037
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -107835,7 +108105,7 @@ class PLTransformerShuffled extends Transformer_1.PLTransformer {
|
|
|
107835
108105
|
}
|
|
107836
108106
|
exports.PLTransformerShuffled = PLTransformerShuffled;
|
|
107837
108107
|
|
|
107838
|
-
},{"../../../../tools/documentation/Doc":
|
|
108108
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703,"lodash/fp":735}],628:[function(require,module,exports){
|
|
107839
108109
|
"use strict";
|
|
107840
108110
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
107841
108111
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -107892,7 +108162,7 @@ class PLTransformerSorted extends Transformer_1.PLTransformer {
|
|
|
107892
108162
|
}
|
|
107893
108163
|
exports.PLTransformerSorted = PLTransformerSorted;
|
|
107894
108164
|
|
|
107895
|
-
},{"../../../../tools/documentation/Doc":
|
|
108165
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703,"lodash/fp":735}],629:[function(require,module,exports){
|
|
107896
108166
|
"use strict";
|
|
107897
108167
|
//
|
|
107898
108168
|
// TransformerUntil.ts
|
|
@@ -107952,7 +108222,7 @@ class PLTransformerUntil extends Transformer_1.PLTransformer {
|
|
|
107952
108222
|
}
|
|
107953
108223
|
exports.PLTransformerUntil = PLTransformerUntil;
|
|
107954
108224
|
|
|
107955
|
-
},{"../../../../tools/documentation/Doc":
|
|
108225
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],630:[function(require,module,exports){
|
|
107956
108226
|
"use strict";
|
|
107957
108227
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
107958
108228
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -108014,7 +108284,7 @@ class PLTransformerAdd extends Transformer_1.PLTransformer {
|
|
|
108014
108284
|
}
|
|
108015
108285
|
exports.PLTransformerAdd = PLTransformerAdd;
|
|
108016
108286
|
|
|
108017
|
-
},{"../../../../tools/documentation/Doc":
|
|
108287
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703,"lodash/fp":735}],631:[function(require,module,exports){
|
|
108018
108288
|
"use strict";
|
|
108019
108289
|
//
|
|
108020
108290
|
// TransformerValue.ts
|
|
@@ -108069,7 +108339,7 @@ class PLTransformerAlwaysRootValue extends TransformerValue_1.PLTransformerValue
|
|
|
108069
108339
|
}
|
|
108070
108340
|
exports.PLTransformerAlwaysRootValue = PLTransformerAlwaysRootValue;
|
|
108071
108341
|
|
|
108072
|
-
},{"../../../../tools/documentation/Doc":
|
|
108342
|
+
},{"../../../../tools/documentation/Doc":703,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703,"./TransformerValue":633}],632:[function(require,module,exports){
|
|
108073
108343
|
"use strict";
|
|
108074
108344
|
//
|
|
108075
108345
|
// TransformerKeys.ts
|
|
@@ -108126,7 +108396,7 @@ class PLTransformerKeys extends Transformer_1.PLTransformer {
|
|
|
108126
108396
|
}
|
|
108127
108397
|
exports.PLTransformerKeys = PLTransformerKeys;
|
|
108128
108398
|
|
|
108129
|
-
},{"../../../../tools/documentation/Doc":
|
|
108399
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],633:[function(require,module,exports){
|
|
108130
108400
|
"use strict";
|
|
108131
108401
|
//
|
|
108132
108402
|
// TransformerValue.ts
|
|
@@ -108210,7 +108480,7 @@ class PLTransformerValue extends Transformer_1.PLTransformer {
|
|
|
108210
108480
|
}
|
|
108211
108481
|
exports.PLTransformerValue = PLTransformerValue;
|
|
108212
108482
|
|
|
108213
|
-
},{"../../../../tools/documentation/Doc":
|
|
108483
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703,"./../../../../utils/StringUtils":708}],634:[function(require,module,exports){
|
|
108214
108484
|
"use strict";
|
|
108215
108485
|
//
|
|
108216
108486
|
// TransformerValues.ts
|
|
@@ -108267,7 +108537,7 @@ class PLTransformerValues extends Transformer_1.PLTransformer {
|
|
|
108267
108537
|
}
|
|
108268
108538
|
exports.PLTransformerValues = PLTransformerValues;
|
|
108269
108539
|
|
|
108270
|
-
},{"../../../../tools/documentation/Doc":
|
|
108540
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],635:[function(require,module,exports){
|
|
108271
108541
|
"use strict";
|
|
108272
108542
|
//
|
|
108273
108543
|
// TransformerAbsolute.ts
|
|
@@ -108320,7 +108590,7 @@ class PLTransformerAbsolute extends Transformer_1.PLTransformer {
|
|
|
108320
108590
|
}
|
|
108321
108591
|
exports.PLTransformerAbsolute = PLTransformerAbsolute;
|
|
108322
108592
|
|
|
108323
|
-
},{"../../../../tools/documentation/Doc":
|
|
108593
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],636:[function(require,module,exports){
|
|
108324
108594
|
"use strict";
|
|
108325
108595
|
//
|
|
108326
108596
|
// TransformerAddedBy.ts
|
|
@@ -108375,7 +108645,7 @@ class PLTransformerAddedBy extends Transformer_1.PLTransformer {
|
|
|
108375
108645
|
}
|
|
108376
108646
|
exports.PLTransformerAddedBy = PLTransformerAddedBy;
|
|
108377
108647
|
|
|
108378
|
-
},{"../../../../tools/documentation/Doc":
|
|
108648
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],637:[function(require,module,exports){
|
|
108379
108649
|
"use strict";
|
|
108380
108650
|
//
|
|
108381
108651
|
// TransformerCeiled.ts
|
|
@@ -108428,7 +108698,7 @@ class PLTransformerCeiled extends Transformer_1.PLTransformer {
|
|
|
108428
108698
|
}
|
|
108429
108699
|
exports.PLTransformerCeiled = PLTransformerCeiled;
|
|
108430
108700
|
|
|
108431
|
-
},{"../../../../tools/documentation/Doc":
|
|
108701
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],638:[function(require,module,exports){
|
|
108432
108702
|
"use strict";
|
|
108433
108703
|
//
|
|
108434
108704
|
// TransformerDividedBy.ts
|
|
@@ -108487,7 +108757,7 @@ class PLTransformerDividedBy extends Transformer_1.PLTransformer {
|
|
|
108487
108757
|
}
|
|
108488
108758
|
exports.PLTransformerDividedBy = PLTransformerDividedBy;
|
|
108489
108759
|
|
|
108490
|
-
},{"../../../../tools/documentation/Doc":
|
|
108760
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],639:[function(require,module,exports){
|
|
108491
108761
|
"use strict";
|
|
108492
108762
|
//
|
|
108493
108763
|
// TransformerFloored.ts
|
|
@@ -108539,7 +108809,7 @@ class PLTransformerFloored extends Transformer_1.PLTransformer {
|
|
|
108539
108809
|
}
|
|
108540
108810
|
exports.PLTransformerFloored = PLTransformerFloored;
|
|
108541
108811
|
|
|
108542
|
-
},{"../../../../tools/documentation/Doc":
|
|
108812
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],640:[function(require,module,exports){
|
|
108543
108813
|
"use strict";
|
|
108544
108814
|
//
|
|
108545
108815
|
// TransformerMultipliedBy.ts
|
|
@@ -108594,7 +108864,7 @@ class PLTransformerMultipledBy extends Transformer_1.PLTransformer {
|
|
|
108594
108864
|
}
|
|
108595
108865
|
exports.PLTransformerMultipledBy = PLTransformerMultipledBy;
|
|
108596
108866
|
|
|
108597
|
-
},{"../../../../tools/documentation/Doc":
|
|
108867
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],641:[function(require,module,exports){
|
|
108598
108868
|
"use strict";
|
|
108599
108869
|
//
|
|
108600
108870
|
// TransformerNegative.ts
|
|
@@ -108650,7 +108920,7 @@ class PLTransformerNegative extends Transformer_1.PLTransformer {
|
|
|
108650
108920
|
}
|
|
108651
108921
|
exports.PLTransformerNegative = PLTransformerNegative;
|
|
108652
108922
|
|
|
108653
|
-
},{"../../../../tools/documentation/Doc":
|
|
108923
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],642:[function(require,module,exports){
|
|
108654
108924
|
"use strict";
|
|
108655
108925
|
//
|
|
108656
108926
|
// TransformerPositive.ts
|
|
@@ -108706,7 +108976,7 @@ class PLTransformerPositive extends Transformer_1.PLTransformer {
|
|
|
108706
108976
|
}
|
|
108707
108977
|
exports.PLTransformerPositive = PLTransformerPositive;
|
|
108708
108978
|
|
|
108709
|
-
},{"../../../../tools/documentation/Doc":
|
|
108979
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],643:[function(require,module,exports){
|
|
108710
108980
|
"use strict";
|
|
108711
108981
|
//
|
|
108712
108982
|
// TransformerRounded.ts
|
|
@@ -108767,7 +109037,7 @@ class PLTransformerRounded extends Transformer_1.PLTransformer {
|
|
|
108767
109037
|
}
|
|
108768
109038
|
exports.PLTransformerRounded = PLTransformerRounded;
|
|
108769
109039
|
|
|
108770
|
-
},{"../../../../tools/documentation/Doc":
|
|
109040
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],644:[function(require,module,exports){
|
|
108771
109041
|
"use strict";
|
|
108772
109042
|
//
|
|
108773
109043
|
// TransformerSubtractedBy.ts
|
|
@@ -108822,7 +109092,7 @@ class PLTransformerSubtractedBy extends Transformer_1.PLTransformer {
|
|
|
108822
109092
|
}
|
|
108823
109093
|
exports.PLTransformerSubtractedBy = PLTransformerSubtractedBy;
|
|
108824
109094
|
|
|
108825
|
-
},{"../../../../tools/documentation/Doc":
|
|
109095
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],645:[function(require,module,exports){
|
|
108826
109096
|
"use strict";
|
|
108827
109097
|
//
|
|
108828
109098
|
// TransformerCount.ts
|
|
@@ -108884,7 +109154,7 @@ class PLTransformerCount extends Transformer_1.PLTransformer {
|
|
|
108884
109154
|
}
|
|
108885
109155
|
exports.PLTransformerCount = PLTransformerCount;
|
|
108886
109156
|
|
|
108887
|
-
},{"../../../../tools/documentation/Doc":
|
|
109157
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],646:[function(require,module,exports){
|
|
108888
109158
|
"use strict";
|
|
108889
109159
|
//
|
|
108890
109160
|
// TransformerFormatDate.ts
|
|
@@ -108958,7 +109228,7 @@ class PLTransformerFormatDate extends Transformer_1.PLTransformer {
|
|
|
108958
109228
|
}
|
|
108959
109229
|
exports.PLTransformerFormatDate = PLTransformerFormatDate;
|
|
108960
109230
|
|
|
108961
|
-
},{"../../../../tools/documentation/Doc":
|
|
109231
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703,"moment":741}],647:[function(require,module,exports){
|
|
108962
109232
|
"use strict";
|
|
108963
109233
|
//
|
|
108964
109234
|
// TransformerIsArray.ts
|
|
@@ -109030,7 +109300,7 @@ class PLTransformerIsArray extends Transformer_1.PLTransformer {
|
|
|
109030
109300
|
}
|
|
109031
109301
|
exports.PLTransformerIsArray = PLTransformerIsArray;
|
|
109032
109302
|
|
|
109033
|
-
},{"../../../../tools/documentation/Doc":
|
|
109303
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],648:[function(require,module,exports){
|
|
109034
109304
|
"use strict";
|
|
109035
109305
|
//
|
|
109036
109306
|
// TransformerIsBool.ts
|
|
@@ -109102,7 +109372,7 @@ class PLTransformerIsBool extends Transformer_1.PLTransformer {
|
|
|
109102
109372
|
}
|
|
109103
109373
|
exports.PLTransformerIsBool = PLTransformerIsBool;
|
|
109104
109374
|
|
|
109105
|
-
},{"../../../../tools/documentation/Doc":
|
|
109375
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],649:[function(require,module,exports){
|
|
109106
109376
|
"use strict";
|
|
109107
109377
|
//
|
|
109108
109378
|
// TransformerIsDictionary.ts
|
|
@@ -109174,7 +109444,7 @@ class PLTransformerIsDictionary extends Transformer_1.PLTransformer {
|
|
|
109174
109444
|
}
|
|
109175
109445
|
exports.PLTransformerIsDictionary = PLTransformerIsDictionary;
|
|
109176
109446
|
|
|
109177
|
-
},{"../../../../tools/documentation/Doc":
|
|
109447
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],650:[function(require,module,exports){
|
|
109178
109448
|
"use strict";
|
|
109179
109449
|
//
|
|
109180
109450
|
// TransformerIsNull.ts
|
|
@@ -109251,7 +109521,7 @@ class PLTransformerIsNull extends Transformer_1.PLTransformer {
|
|
|
109251
109521
|
}
|
|
109252
109522
|
exports.PLTransformerIsNull = PLTransformerIsNull;
|
|
109253
109523
|
|
|
109254
|
-
},{"../../../../tools/documentation/Doc":
|
|
109524
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],651:[function(require,module,exports){
|
|
109255
109525
|
"use strict";
|
|
109256
109526
|
//
|
|
109257
109527
|
// TransformerIsNumber.ts
|
|
@@ -109323,7 +109593,7 @@ class PLTransformerIsNumber extends Transformer_1.PLTransformer {
|
|
|
109323
109593
|
}
|
|
109324
109594
|
exports.PLTransformerIsNumber = PLTransformerIsNumber;
|
|
109325
109595
|
|
|
109326
|
-
},{"../../../../tools/documentation/Doc":
|
|
109596
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],652:[function(require,module,exports){
|
|
109327
109597
|
"use strict";
|
|
109328
109598
|
//
|
|
109329
109599
|
// TransformerIsString.ts
|
|
@@ -109395,7 +109665,7 @@ class PLTransformerIsString extends Transformer_1.PLTransformer {
|
|
|
109395
109665
|
}
|
|
109396
109666
|
exports.PLTransformerIsString = PLTransformerIsString;
|
|
109397
109667
|
|
|
109398
|
-
},{"../../../../tools/documentation/Doc":
|
|
109668
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],653:[function(require,module,exports){
|
|
109399
109669
|
"use strict";
|
|
109400
109670
|
//
|
|
109401
109671
|
// TransformerToString.ts
|
|
@@ -109468,7 +109738,7 @@ class PLTransformerToString extends Transformer_1.PLTransformer {
|
|
|
109468
109738
|
}
|
|
109469
109739
|
exports.PLTransformerToString = PLTransformerToString;
|
|
109470
109740
|
|
|
109471
|
-
},{"../../../../tools/documentation/Doc":
|
|
109741
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],654:[function(require,module,exports){
|
|
109472
109742
|
"use strict";
|
|
109473
109743
|
//
|
|
109474
109744
|
// TransformerCamelcased.ts
|
|
@@ -109526,7 +109796,7 @@ class PLTransformerCamelcased extends Transformer_1.PLTransformer {
|
|
|
109526
109796
|
}
|
|
109527
109797
|
exports.PLTransformerCamelcased = PLTransformerCamelcased;
|
|
109528
109798
|
|
|
109529
|
-
},{"../../../../tools/documentation/Doc":
|
|
109799
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703,"lodash":739}],655:[function(require,module,exports){
|
|
109530
109800
|
"use strict";
|
|
109531
109801
|
//
|
|
109532
109802
|
// TransformerCapitalized.ts
|
|
@@ -109583,7 +109853,7 @@ class PLTransformerCapitalized extends Transformer_1.PLTransformer {
|
|
|
109583
109853
|
}
|
|
109584
109854
|
exports.PLTransformerCapitalized = PLTransformerCapitalized;
|
|
109585
109855
|
|
|
109586
|
-
},{"../../../../tools/documentation/Doc":
|
|
109856
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703,"lodash":739}],656:[function(require,module,exports){
|
|
109587
109857
|
"use strict";
|
|
109588
109858
|
//
|
|
109589
109859
|
// TransformerCapitalized.ts
|
|
@@ -109638,7 +109908,7 @@ class PLTransformerContains extends Transformer_1.PLTransformer {
|
|
|
109638
109908
|
}
|
|
109639
109909
|
exports.PLTransformerContains = PLTransformerContains;
|
|
109640
109910
|
|
|
109641
|
-
},{"../../../../tools/documentation/Doc":
|
|
109911
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],657:[function(require,module,exports){
|
|
109642
109912
|
"use strict";
|
|
109643
109913
|
//
|
|
109644
109914
|
// TransformerDefault.ts
|
|
@@ -109703,7 +109973,7 @@ class PLTransformerDefault extends Transformer_1.PLTransformer {
|
|
|
109703
109973
|
}
|
|
109704
109974
|
exports.PLTransformerDefault = PLTransformerDefault;
|
|
109705
109975
|
|
|
109706
|
-
},{"../../../../tools/documentation/Doc":
|
|
109976
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],658:[function(require,module,exports){
|
|
109707
109977
|
"use strict";
|
|
109708
109978
|
//
|
|
109709
109979
|
// TransformerEquals.ts
|
|
@@ -109758,7 +110028,7 @@ class PLTransformerEquals extends Transformer_1.PLTransformer {
|
|
|
109758
110028
|
}
|
|
109759
110029
|
exports.PLTransformerEquals = PLTransformerEquals;
|
|
109760
110030
|
|
|
109761
|
-
},{"../../../../tools/documentation/Doc":
|
|
110031
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],659:[function(require,module,exports){
|
|
109762
110032
|
"use strict";
|
|
109763
110033
|
//
|
|
109764
110034
|
// TransformerEqualsTernary.ts
|
|
@@ -109819,7 +110089,7 @@ class PLTransformerEqualsTernary extends Transformer_1.PLTransformer {
|
|
|
109819
110089
|
}
|
|
109820
110090
|
exports.PLTransformerEqualsTernary = PLTransformerEqualsTernary;
|
|
109821
110091
|
|
|
109822
|
-
},{"../../../../tools/documentation/Doc":
|
|
110092
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],660:[function(require,module,exports){
|
|
109823
110093
|
"use strict";
|
|
109824
110094
|
//
|
|
109825
110095
|
// TransformerExtended.ts
|
|
@@ -109878,7 +110148,7 @@ class PLTransformerExtended extends Transformer_1.PLTransformer {
|
|
|
109878
110148
|
}
|
|
109879
110149
|
exports.PLTransformerExtended = PLTransformerExtended;
|
|
109880
110150
|
|
|
109881
|
-
},{"../../../../tools/documentation/Doc":
|
|
110151
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],661:[function(require,module,exports){
|
|
109882
110152
|
"use strict";
|
|
109883
110153
|
//
|
|
109884
110154
|
// TransformerLowercased.ts
|
|
@@ -109934,7 +110204,7 @@ class PLTransformerLowercased extends Transformer_1.PLTransformer {
|
|
|
109934
110204
|
}
|
|
109935
110205
|
exports.PLTransformerLowercased = PLTransformerLowercased;
|
|
109936
110206
|
|
|
109937
|
-
},{"../../../../tools/documentation/Doc":
|
|
110207
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703,"lodash":739}],662:[function(require,module,exports){
|
|
109938
110208
|
"use strict";
|
|
109939
110209
|
//
|
|
109940
110210
|
// TransformerPrefixed.ts
|
|
@@ -109989,7 +110259,7 @@ class PLTransformerPrefixed extends Transformer_1.PLTransformer {
|
|
|
109989
110259
|
}
|
|
109990
110260
|
exports.PLTransformerPrefixed = PLTransformerPrefixed;
|
|
109991
110261
|
|
|
109992
|
-
},{"../../../../tools/documentation/Doc":
|
|
110262
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],663:[function(require,module,exports){
|
|
109993
110263
|
"use strict";
|
|
109994
110264
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
109995
110265
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -110049,7 +110319,7 @@ class PLTransformerReplacing extends Transformer_1.PLTransformer {
|
|
|
110049
110319
|
}
|
|
110050
110320
|
exports.PLTransformerReplacing = PLTransformerReplacing;
|
|
110051
110321
|
|
|
110052
|
-
},{"../../../../tools/documentation/Doc":
|
|
110322
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703,"./../../../../utils/StringUtils":708}],664:[function(require,module,exports){
|
|
110053
110323
|
"use strict";
|
|
110054
110324
|
//
|
|
110055
110325
|
// TransformerSlashDoubleQuotes.ts
|
|
@@ -110103,7 +110373,7 @@ class PLTransformerSlashDoubleQuotes extends Transformer_1.PLTransformer {
|
|
|
110103
110373
|
}
|
|
110104
110374
|
exports.PLTransformerSlashDoubleQuotes = PLTransformerSlashDoubleQuotes;
|
|
110105
110375
|
|
|
110106
|
-
},{"../../../../tools/documentation/Doc":
|
|
110376
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703,"./../../../../utils/StringUtils":708}],665:[function(require,module,exports){
|
|
110107
110377
|
"use strict";
|
|
110108
110378
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
110109
110379
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -110157,7 +110427,7 @@ class PLTransformerSlashNewlines extends Transformer_1.PLTransformer {
|
|
|
110157
110427
|
}
|
|
110158
110428
|
exports.PLTransformerSlashNewlines = PLTransformerSlashNewlines;
|
|
110159
110429
|
|
|
110160
|
-
},{"../../../../tools/documentation/Doc":
|
|
110430
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703,"./../../../../utils/StringUtils":708}],666:[function(require,module,exports){
|
|
110161
110431
|
"use strict";
|
|
110162
110432
|
//
|
|
110163
110433
|
// TransformerSlashSingleQuotes.ts
|
|
@@ -110210,7 +110480,7 @@ class PLTransformerSlashSingleQuotes extends Transformer_1.PLTransformer {
|
|
|
110210
110480
|
}
|
|
110211
110481
|
exports.PLTransformerSlashSingleQuotes = PLTransformerSlashSingleQuotes;
|
|
110212
110482
|
|
|
110213
|
-
},{"../../../../tools/documentation/Doc":
|
|
110483
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],667:[function(require,module,exports){
|
|
110214
110484
|
"use strict";
|
|
110215
110485
|
//
|
|
110216
110486
|
// TransformerSnakecased.ts
|
|
@@ -110266,7 +110536,7 @@ class PLTransformerSnakecased extends Transformer_1.PLTransformer {
|
|
|
110266
110536
|
}
|
|
110267
110537
|
exports.PLTransformerSnakecased = PLTransformerSnakecased;
|
|
110268
110538
|
|
|
110269
|
-
},{"../../../../tools/documentation/Doc":
|
|
110539
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703,"lodash":739}],668:[function(require,module,exports){
|
|
110270
110540
|
"use strict";
|
|
110271
110541
|
//
|
|
110272
110542
|
// TransformerSplit.ts
|
|
@@ -110321,7 +110591,7 @@ class PLTransformerSplit extends Transformer_1.PLTransformer {
|
|
|
110321
110591
|
}
|
|
110322
110592
|
exports.PLTransformerSplit = PLTransformerSplit;
|
|
110323
110593
|
|
|
110324
|
-
},{"../../../../tools/documentation/Doc":
|
|
110594
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],669:[function(require,module,exports){
|
|
110325
110595
|
"use strict";
|
|
110326
110596
|
//
|
|
110327
110597
|
// TransformerSplitExpr.ts
|
|
@@ -110381,7 +110651,7 @@ class PLTransformerSplitExpr extends Transformer_1.PLTransformer {
|
|
|
110381
110651
|
}
|
|
110382
110652
|
exports.PLTransformerSplitExpr = PLTransformerSplitExpr;
|
|
110383
110653
|
|
|
110384
|
-
},{"../../../../tools/documentation/Doc":
|
|
110654
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],670:[function(require,module,exports){
|
|
110385
110655
|
"use strict";
|
|
110386
110656
|
//
|
|
110387
110657
|
// TransformerSubstring.ts
|
|
@@ -110445,7 +110715,7 @@ class PLTransformerSubstring extends Transformer_1.PLTransformer {
|
|
|
110445
110715
|
}
|
|
110446
110716
|
exports.PLTransformerSubstring = PLTransformerSubstring;
|
|
110447
110717
|
|
|
110448
|
-
},{"../../../../tools/documentation/Doc":
|
|
110718
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],671:[function(require,module,exports){
|
|
110449
110719
|
"use strict";
|
|
110450
110720
|
//
|
|
110451
110721
|
// TransformerSuffixed.ts
|
|
@@ -110500,7 +110770,7 @@ class PLTransformerSuffixed extends Transformer_1.PLTransformer {
|
|
|
110500
110770
|
}
|
|
110501
110771
|
exports.PLTransformerSuffixed = PLTransformerSuffixed;
|
|
110502
110772
|
|
|
110503
|
-
},{"../../../../tools/documentation/Doc":
|
|
110773
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],672:[function(require,module,exports){
|
|
110504
110774
|
"use strict";
|
|
110505
110775
|
//
|
|
110506
110776
|
// TransformerTrimmingCharacter.ts
|
|
@@ -110567,7 +110837,7 @@ class PLTransformerTrimmingCharacter extends Transformer_1.PLTransformer {
|
|
|
110567
110837
|
}
|
|
110568
110838
|
exports.PLTransformerTrimmingCharacter = PLTransformerTrimmingCharacter;
|
|
110569
110839
|
|
|
110570
|
-
},{"../../../../configuration/KeywordsTranformers":515,"../../../../tools/documentation/Doc":
|
|
110840
|
+
},{"../../../../configuration/KeywordsTranformers":515,"../../../../tools/documentation/Doc":703,"../../Transformer":615}],673:[function(require,module,exports){
|
|
110571
110841
|
"use strict";
|
|
110572
110842
|
//
|
|
110573
110843
|
// TransformerTrimmingSpaces.ts
|
|
@@ -110620,7 +110890,7 @@ class PLTransformerTrimmingSpaces extends Transformer_1.PLTransformer {
|
|
|
110620
110890
|
}
|
|
110621
110891
|
exports.PLTransformerTrimmingSpaces = PLTransformerTrimmingSpaces;
|
|
110622
110892
|
|
|
110623
|
-
},{"../../../../tools/documentation/Doc":
|
|
110893
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703}],674:[function(require,module,exports){
|
|
110624
110894
|
"use strict";
|
|
110625
110895
|
//
|
|
110626
110896
|
// TransformerUppercased.ts
|
|
@@ -110676,7 +110946,7 @@ class PLTransformerUppercased extends Transformer_1.PLTransformer {
|
|
|
110676
110946
|
}
|
|
110677
110947
|
exports.PLTransformerUppercased = PLTransformerUppercased;
|
|
110678
110948
|
|
|
110679
|
-
},{"../../../../tools/documentation/Doc":
|
|
110949
|
+
},{"../../../../tools/documentation/Doc":703,"../../Transformer":615,"./../../../../configuration/KeywordsTranformers":515,"./../../../../tools/documentation/Doc":703,"lodash":739}],675:[function(require,module,exports){
|
|
110680
110950
|
"use strict";
|
|
110681
110951
|
//
|
|
110682
110952
|
// Variable.ts
|
|
@@ -110750,7 +111020,7 @@ class PLVariable {
|
|
|
110750
111020
|
}
|
|
110751
111021
|
exports.PLVariable = PLVariable;
|
|
110752
111022
|
|
|
110753
|
-
},{"lodash":
|
|
111023
|
+
},{"lodash":739}],676:[function(require,module,exports){
|
|
110754
111024
|
"use strict";
|
|
110755
111025
|
//
|
|
110756
111026
|
// PLVariableContext.ts
|
|
@@ -110829,7 +111099,7 @@ class PLVariableContext {
|
|
|
110829
111099
|
}
|
|
110830
111100
|
exports.PLVariableContext = PLVariableContext;
|
|
110831
111101
|
|
|
110832
|
-
},{"./Variable":
|
|
111102
|
+
},{"./Variable":675,"lodash":739}],677:[function(require,module,exports){
|
|
110833
111103
|
"use strict";
|
|
110834
111104
|
//
|
|
110835
111105
|
// ConcreteBuffer.ts
|
|
@@ -110897,7 +111167,9 @@ class ConcreteBuffer {
|
|
|
110897
111167
|
type: token.type,
|
|
110898
111168
|
associatedValue: token.associatedValue,
|
|
110899
111169
|
lineOffset: token.lineOffset,
|
|
110900
|
-
firstLineDirective: token.firstLineDirective
|
|
111170
|
+
firstLineDirective: token.firstLineDirective,
|
|
111171
|
+
lts: token.lts,
|
|
111172
|
+
debugSymbol: token.debugSymbol
|
|
110901
111173
|
};
|
|
110902
111174
|
copiedTokens.push(copiedToken);
|
|
110903
111175
|
});
|
|
@@ -110938,7 +111210,7 @@ class ConcreteBuffer {
|
|
|
110938
111210
|
}
|
|
110939
111211
|
exports.ConcreteBuffer = ConcreteBuffer;
|
|
110940
111212
|
|
|
110941
|
-
},{}],
|
|
111213
|
+
},{}],678:[function(require,module,exports){
|
|
110942
111214
|
"use strict";
|
|
110943
111215
|
//
|
|
110944
111216
|
// ConcreteParser.ts
|
|
@@ -110953,14 +111225,16 @@ const ConcreteBuffer_1 = require("./ConcreteBuffer");
|
|
|
110953
111225
|
const ConcreteToken_1 = require("./ConcreteToken");
|
|
110954
111226
|
const StringUtils_1 = require("./../../../utils/StringUtils");
|
|
110955
111227
|
const LexicalToken_1 = require("./../Lexical/LexicalToken");
|
|
111228
|
+
const DebuggerErrors_1 = require("../../../debugger/DebuggerErrors");
|
|
110956
111229
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
110957
111230
|
// MARK: - LexicalToken Parser Definition
|
|
110958
111231
|
class ConcreteParser {
|
|
110959
111232
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
110960
111233
|
// MARK: - Constructor
|
|
110961
|
-
constructor(tokens, configuration) {
|
|
111234
|
+
constructor(tokens, configuration, debug) {
|
|
110962
111235
|
this.tokens = tokens;
|
|
110963
111236
|
this.configuration = configuration;
|
|
111237
|
+
this.debugger = debug;
|
|
110964
111238
|
}
|
|
110965
111239
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
110966
111240
|
// MARK: - Parsing
|
|
@@ -110996,30 +111270,31 @@ class ConcreteParser {
|
|
|
110996
111270
|
type: ConcreteToken_1.ConcreteTokenType.text,
|
|
110997
111271
|
associatedValue: '\n',
|
|
110998
111272
|
lineOffset: 0,
|
|
110999
|
-
firstLineDirective: false
|
|
111273
|
+
firstLineDirective: false,
|
|
111274
|
+
lts: [token],
|
|
111275
|
+
debugSymbol: null
|
|
111000
111276
|
},
|
|
111001
111277
|
size: 1
|
|
111002
111278
|
};
|
|
111003
111279
|
lineOffset = 0;
|
|
111004
111280
|
break;
|
|
111005
111281
|
case LexicalToken_1.LexicalTokenType.openingSubstitution:
|
|
111006
|
-
extracted = this.extractSubstitutionToken(lexicalBuffer.tokens);
|
|
111282
|
+
extracted = this.extractSubstitutionToken(lexicalBuffer.tokens, token);
|
|
111007
111283
|
// Substitution always means flow on the same line won't be the initial directive
|
|
111008
111284
|
isFirstLineDirective = false;
|
|
111009
111285
|
break;
|
|
111010
111286
|
case LexicalToken_1.LexicalTokenType.openingComment:
|
|
111011
111287
|
// In case of comment, discard everything and don't create token, only remove tokens
|
|
111288
|
+
// Comment tokens don't participate in syntax table
|
|
111012
111289
|
lexicalBuffer.removeFirstFew(this.extractCommentToken(lexicalBuffer.tokens));
|
|
111013
111290
|
break;
|
|
111014
111291
|
case LexicalToken_1.LexicalTokenType.openingFlow:
|
|
111015
111292
|
// Parse the flow
|
|
111016
|
-
extracted = this.extractFlow(lexicalBuffer.tokens, lineOffset, isFirstLineDirective);
|
|
111293
|
+
extracted = this.extractFlow(lexicalBuffer.tokens, lineOffset, isFirstLineDirective, token);
|
|
111017
111294
|
if (extracted.token.type === ConcreteToken_1.ConcreteTokenType.flowEnd) {
|
|
111018
111295
|
openedFlows -= 1;
|
|
111019
111296
|
if (openedFlows < 0) {
|
|
111020
|
-
|
|
111021
|
-
// throw PulsarLangErrors.SyntaxError.enclosingFlowTagPrecedingFlowDefinition
|
|
111022
|
-
throw Error('enclosingFlowTagPrecedingFlowDefinition');
|
|
111297
|
+
throw this.debugger.reportAnalysisErrorFromLexicalToken(DebuggerErrors_1.PLParserConcreteError.enclosingFlowTagPrecedingFlowDefinition, token);
|
|
111023
111298
|
}
|
|
111024
111299
|
}
|
|
111025
111300
|
else {
|
|
@@ -111033,9 +111308,8 @@ class ConcreteParser {
|
|
|
111033
111308
|
concreteBuffer.removeLast();
|
|
111034
111309
|
}
|
|
111035
111310
|
else {
|
|
111036
|
-
//
|
|
111037
|
-
// throw
|
|
111038
|
-
// throw Error("flowTextNotAllowedAfterDefinition")
|
|
111311
|
+
// Option: Enable when it should not be possible to put anything after flow tag
|
|
111312
|
+
// throw this.debugger.reportAnalysisErrorFromLexicalToken(PLParserConcreteError.flowTextNotAllowedAfterDefinition, token)
|
|
111039
111313
|
}
|
|
111040
111314
|
}
|
|
111041
111315
|
}
|
|
@@ -111048,35 +111322,24 @@ class ConcreteParser {
|
|
|
111048
111322
|
}
|
|
111049
111323
|
break;
|
|
111050
111324
|
case LexicalToken_1.LexicalTokenType.enclosingSubstitution:
|
|
111051
|
-
|
|
111052
|
-
// throw PulsarLangErrors.SyntaxError.missingOpeningSubstitutionTag
|
|
111053
|
-
throw Error('missingOpeningSubstitutionTag');
|
|
111325
|
+
throw this.debugger.reportAnalysisErrorFromLexicalToken(DebuggerErrors_1.PLParserConcreteError.missingOpeningSubstitutionTag, token);
|
|
111054
111326
|
case LexicalToken_1.LexicalTokenType.enclosingComment:
|
|
111055
|
-
|
|
111056
|
-
// throw PulsarLangErrors.SyntaxError.missingOpeningSubstitutionTag
|
|
111057
|
-
throw Error('missingOpeningCommentTag');
|
|
111327
|
+
throw this.debugger.reportAnalysisErrorFromLexicalToken(DebuggerErrors_1.PLParserConcreteError.missingOpeningCommentTag, token);
|
|
111058
111328
|
case LexicalToken_1.LexicalTokenType.enclosingFlow:
|
|
111059
|
-
|
|
111060
|
-
// throw PulsarLangErrors.SyntaxError.missingOpeningSubstitutionTag
|
|
111061
|
-
throw Error('missingOpeningFlowTag');
|
|
111329
|
+
throw this.debugger.reportAnalysisErrorFromLexicalToken(DebuggerErrors_1.PLParserConcreteError.missingOpeningFlowTag, token);
|
|
111062
111330
|
case LexicalToken_1.LexicalTokenType.flowEnd:
|
|
111063
|
-
|
|
111064
|
-
// throw PulsarLangErrors.SyntaxError.missingOpeningSubstitutionTag
|
|
111065
|
-
throw Error('missingOpeningFlowTag');
|
|
111331
|
+
throw this.debugger.reportAnalysisErrorFromLexicalToken(DebuggerErrors_1.PLParserConcreteError.missingOpeningFlowTag, token);
|
|
111066
111332
|
case LexicalToken_1.LexicalTokenType.openingEditorPlaceholder:
|
|
111067
|
-
|
|
111068
|
-
// throw PulsarLangErrors.SyntaxError.missingOpeningSubstitutionTag
|
|
111069
|
-
throw Error('editorPlaceholderFound');
|
|
111333
|
+
throw this.debugger.reportAnalysisErrorFromLexicalToken(DebuggerErrors_1.PLParserConcreteError.editorPlaceholderFound, token);
|
|
111070
111334
|
case LexicalToken_1.LexicalTokenType.enclosingEditorPlaceholder:
|
|
111071
|
-
|
|
111072
|
-
// throw PulsarLangErrors.SyntaxError.missingOpeningSubstitutionTag
|
|
111073
|
-
throw Error('editorPlaceholderFound');
|
|
111335
|
+
throw this.debugger.reportAnalysisErrorFromLexicalToken(DebuggerErrors_1.PLParserConcreteError.editorPlaceholderFound, token);
|
|
111074
111336
|
}
|
|
111075
111337
|
// Remove the extracted tokens and add concrete one instead
|
|
111076
111338
|
if (extracted !== null) {
|
|
111077
111339
|
// print("extracted \(lineOffset)")
|
|
111078
111340
|
let extractedTokens = lexicalBuffer.removeFirstFew(Math.max(extracted.size - 1, 0)); // Only remove n-1 tokens because one was already removed by iterating over buffer
|
|
111079
111341
|
concreteBuffer.addToken(extracted.token);
|
|
111342
|
+
this.debugger.symbolTable.emitSymbolFromConcreteToken(extracted.token);
|
|
111080
111343
|
// For newline, fix lineOffset and reset directive pool
|
|
111081
111344
|
let lastToken = extractedTokens[extractedTokens.length - 1];
|
|
111082
111345
|
if (lastToken) {
|
|
@@ -111109,7 +111372,9 @@ class ConcreteParser {
|
|
|
111109
111372
|
// MARK: - Token Extraction
|
|
111110
111373
|
extractTextToken(tokens, prefix) {
|
|
111111
111374
|
let complexString = prefix;
|
|
111375
|
+
var lts = new Array();
|
|
111112
111376
|
for (let [index, token] of tokens.entries()) {
|
|
111377
|
+
lts.push(token);
|
|
111113
111378
|
switch (token.type) {
|
|
111114
111379
|
case LexicalToken_1.LexicalTokenType.plainText:
|
|
111115
111380
|
complexString += token.associatedValue;
|
|
@@ -111122,7 +111387,9 @@ class ConcreteParser {
|
|
|
111122
111387
|
type: ConcreteToken_1.ConcreteTokenType.text,
|
|
111123
111388
|
associatedValue: complexString,
|
|
111124
111389
|
lineOffset: 0,
|
|
111125
|
-
firstLineDirective: false
|
|
111390
|
+
firstLineDirective: false,
|
|
111391
|
+
lts: lts,
|
|
111392
|
+
debugSymbol: null
|
|
111126
111393
|
},
|
|
111127
111394
|
size: index + 2
|
|
111128
111395
|
};
|
|
@@ -111133,7 +111400,9 @@ class ConcreteParser {
|
|
|
111133
111400
|
type: ConcreteToken_1.ConcreteTokenType.text,
|
|
111134
111401
|
associatedValue: complexString,
|
|
111135
111402
|
lineOffset: 0,
|
|
111136
|
-
firstLineDirective: false
|
|
111403
|
+
firstLineDirective: false,
|
|
111404
|
+
lts: lts,
|
|
111405
|
+
debugSymbol: null
|
|
111137
111406
|
},
|
|
111138
111407
|
size: index + 1
|
|
111139
111408
|
};
|
|
@@ -111144,17 +111413,20 @@ class ConcreteParser {
|
|
|
111144
111413
|
type: ConcreteToken_1.ConcreteTokenType.text,
|
|
111145
111414
|
associatedValue: complexString,
|
|
111146
111415
|
lineOffset: 0,
|
|
111147
|
-
firstLineDirective: false
|
|
111416
|
+
firstLineDirective: false,
|
|
111417
|
+
lts: lts,
|
|
111418
|
+
debugSymbol: null
|
|
111148
111419
|
},
|
|
111149
111420
|
size: tokens.length
|
|
111150
111421
|
};
|
|
111151
111422
|
}
|
|
111152
|
-
extractSubstitutionToken(tokens) {
|
|
111423
|
+
extractSubstitutionToken(tokens, openingToken) {
|
|
111153
111424
|
// Expect 2 tokens
|
|
111154
111425
|
if (tokens.length < 2) {
|
|
111155
|
-
|
|
111156
|
-
|
|
111157
|
-
|
|
111426
|
+
throw this.debugger.reportAnalysisErrorFromLexicalTokens(DebuggerErrors_1.PLParserConcreteError.unclosedSubstitutionTag, [
|
|
111427
|
+
openingToken,
|
|
111428
|
+
...tokens
|
|
111429
|
+
]);
|
|
111158
111430
|
}
|
|
111159
111431
|
// Expect definition and enclosure
|
|
111160
111432
|
if (this.isText(tokens[0]) && tokens[1].type === LexicalToken_1.LexicalTokenType.enclosingSubstitution) {
|
|
@@ -111163,14 +111435,18 @@ class ConcreteParser {
|
|
|
111163
111435
|
type: ConcreteToken_1.ConcreteTokenType.substitution,
|
|
111164
111436
|
associatedValue: this.textFrom(tokens[0]),
|
|
111165
111437
|
lineOffset: 0,
|
|
111166
|
-
firstLineDirective: false
|
|
111438
|
+
firstLineDirective: false,
|
|
111439
|
+
lts: [openingToken, tokens[0], tokens[1]],
|
|
111440
|
+
debugSymbol: null
|
|
111167
111441
|
},
|
|
111168
111442
|
size: 3
|
|
111169
111443
|
};
|
|
111170
111444
|
}
|
|
111171
|
-
//
|
|
111172
|
-
|
|
111173
|
-
|
|
111445
|
+
// Structure is incorrect
|
|
111446
|
+
throw this.debugger.reportAnalysisErrorFromLexicalTokens(DebuggerErrors_1.PLParserConcreteError.invalidSubstitutionStructure, [
|
|
111447
|
+
...tokens,
|
|
111448
|
+
openingToken
|
|
111449
|
+
]);
|
|
111174
111450
|
}
|
|
111175
111451
|
extractCommentToken(tokens) {
|
|
111176
111452
|
for (let [index, token] of tokens.entries()) {
|
|
@@ -111178,16 +111454,16 @@ class ConcreteParser {
|
|
|
111178
111454
|
return index + 1;
|
|
111179
111455
|
}
|
|
111180
111456
|
}
|
|
111181
|
-
//
|
|
111182
|
-
|
|
111183
|
-
throw Error('unclosedCommentTag');
|
|
111457
|
+
// Structure is incorrect
|
|
111458
|
+
throw this.debugger.reportAnalysisErrorFromLexicalTokens(DebuggerErrors_1.PLParserConcreteError.unclosedCommentTag, tokens);
|
|
111184
111459
|
}
|
|
111185
|
-
extractFlow(tokens, lineOffset, isFirstLineDirective) {
|
|
111460
|
+
extractFlow(tokens, lineOffset, isFirstLineDirective, openingToken) {
|
|
111186
111461
|
// Expect 2 tokens
|
|
111187
111462
|
if (tokens.length < 2) {
|
|
111188
|
-
|
|
111189
|
-
|
|
111190
|
-
|
|
111463
|
+
throw this.debugger.reportAnalysisErrorFromLexicalTokens(DebuggerErrors_1.PLParserConcreteError.unclosedFlowTag, [
|
|
111464
|
+
openingToken,
|
|
111465
|
+
...tokens
|
|
111466
|
+
]);
|
|
111191
111467
|
}
|
|
111192
111468
|
// Expect definition and enclosure. Create either flow directive or flow end based on the token found inside
|
|
111193
111469
|
if (this.isText(tokens[0]) && tokens[1].type === LexicalToken_1.LexicalTokenType.enclosingFlow) {
|
|
@@ -111196,7 +111472,9 @@ class ConcreteParser {
|
|
|
111196
111472
|
type: ConcreteToken_1.ConcreteTokenType.flow,
|
|
111197
111473
|
associatedValue: this.textFrom(tokens[0]),
|
|
111198
111474
|
lineOffset: lineOffset,
|
|
111199
|
-
firstLineDirective: isFirstLineDirective
|
|
111475
|
+
firstLineDirective: isFirstLineDirective,
|
|
111476
|
+
lts: [openingToken, tokens[0], tokens[1]],
|
|
111477
|
+
debugSymbol: null
|
|
111200
111478
|
},
|
|
111201
111479
|
size: 3
|
|
111202
111480
|
};
|
|
@@ -111207,14 +111485,18 @@ class ConcreteParser {
|
|
|
111207
111485
|
type: ConcreteToken_1.ConcreteTokenType.flowEnd,
|
|
111208
111486
|
associatedValue: null,
|
|
111209
111487
|
lineOffset: 0,
|
|
111210
|
-
firstLineDirective: false
|
|
111488
|
+
firstLineDirective: false,
|
|
111489
|
+
lts: [openingToken, tokens[0], tokens[1]],
|
|
111490
|
+
debugSymbol: null
|
|
111211
111491
|
},
|
|
111212
111492
|
size: 3
|
|
111213
111493
|
};
|
|
111214
111494
|
}
|
|
111215
|
-
//
|
|
111216
|
-
|
|
111217
|
-
|
|
111495
|
+
// Flow is incorrect, because it doesn't contain correct pieces
|
|
111496
|
+
throw this.debugger.reportAnalysisErrorFromLexicalTokens(DebuggerErrors_1.PLParserConcreteError.invalidFlowStructure, [
|
|
111497
|
+
openingToken,
|
|
111498
|
+
...tokens
|
|
111499
|
+
]);
|
|
111218
111500
|
}
|
|
111219
111501
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
111220
111502
|
// MARK: - Convenience
|
|
@@ -111229,13 +111511,13 @@ class ConcreteParser {
|
|
|
111229
111511
|
case LexicalToken_1.LexicalTokenType.plainText:
|
|
111230
111512
|
return token.associatedValue;
|
|
111231
111513
|
default:
|
|
111232
|
-
throw Error("Can't extract text from non-text token of type (token))");
|
|
111514
|
+
throw Error("Internal: Can't extract text from non-text token of type (token))");
|
|
111233
111515
|
}
|
|
111234
111516
|
}
|
|
111235
111517
|
}
|
|
111236
111518
|
exports.ConcreteParser = ConcreteParser;
|
|
111237
111519
|
|
|
111238
|
-
},{"./../../../utils/StringUtils":
|
|
111520
|
+
},{"../../../debugger/DebuggerErrors":518,"./../../../utils/StringUtils":708,"./../Lexical/LexicalToken":682,"./ConcreteBuffer":677,"./ConcreteToken":679}],679:[function(require,module,exports){
|
|
111239
111521
|
"use strict";
|
|
111240
111522
|
//
|
|
111241
111523
|
// ConcreteToken.ts
|
|
@@ -111245,7 +111527,7 @@ exports.ConcreteParser = ConcreteParser;
|
|
|
111245
111527
|
// Copyright © 2020 Supernova. All rights reserved.
|
|
111246
111528
|
//
|
|
111247
111529
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
111248
|
-
exports.ConcreteTokenType = void 0;
|
|
111530
|
+
exports.ConcreteToken = exports.ConcreteTokenType = void 0;
|
|
111249
111531
|
var ConcreteTokenType;
|
|
111250
111532
|
(function (ConcreteTokenType) {
|
|
111251
111533
|
ConcreteTokenType["text"] = "text";
|
|
@@ -111253,8 +111535,11 @@ var ConcreteTokenType;
|
|
|
111253
111535
|
ConcreteTokenType["flow"] = "flow";
|
|
111254
111536
|
ConcreteTokenType["flowEnd"] = "flowEnd";
|
|
111255
111537
|
})(ConcreteTokenType = exports.ConcreteTokenType || (exports.ConcreteTokenType = {}));
|
|
111538
|
+
class ConcreteToken {
|
|
111539
|
+
}
|
|
111540
|
+
exports.ConcreteToken = ConcreteToken;
|
|
111256
111541
|
|
|
111257
|
-
},{}],
|
|
111542
|
+
},{}],680:[function(require,module,exports){
|
|
111258
111543
|
"use strict";
|
|
111259
111544
|
//
|
|
111260
111545
|
// LexicalBuffer.ts
|
|
@@ -111272,6 +111557,7 @@ class LexicalBuffer {
|
|
|
111272
111557
|
// MARK: - Constructor
|
|
111273
111558
|
constructor(tokens) {
|
|
111274
111559
|
this.tokens = tokens;
|
|
111560
|
+
this.lastId = tokens.length;
|
|
111275
111561
|
}
|
|
111276
111562
|
isEmpty() {
|
|
111277
111563
|
return this.tokens.length === 0;
|
|
@@ -111283,6 +111569,7 @@ class LexicalBuffer {
|
|
|
111283
111569
|
// MARK: - Manipulation
|
|
111284
111570
|
addToken(token) {
|
|
111285
111571
|
this.tokens.push(token);
|
|
111572
|
+
this.lastId += 1;
|
|
111286
111573
|
}
|
|
111287
111574
|
addTokens(tokens) {
|
|
111288
111575
|
tokens.forEach(token => {
|
|
@@ -111322,12 +111609,23 @@ class LexicalBuffer {
|
|
|
111322
111609
|
this.tokens.forEach(token => {
|
|
111323
111610
|
let copiedToken = {
|
|
111324
111611
|
type: token.type,
|
|
111325
|
-
associatedValue: token.associatedValue
|
|
111612
|
+
associatedValue: token.associatedValue,
|
|
111613
|
+
startChar: token.startChar,
|
|
111614
|
+
startLine: token.startLine,
|
|
111615
|
+
endChar: token.endChar,
|
|
111616
|
+
endLine: token.endLine,
|
|
111617
|
+
virtual: token.virtual,
|
|
111618
|
+
debugSymbol: token.debugSymbol
|
|
111326
111619
|
};
|
|
111327
111620
|
copiedTokens.push(copiedToken);
|
|
111328
111621
|
});
|
|
111329
111622
|
return new LexicalBuffer(copiedTokens);
|
|
111330
111623
|
}
|
|
111624
|
+
shallowCopyOmittingVirtualTokens() {
|
|
111625
|
+
let copy = this.shallowCopy();
|
|
111626
|
+
copy.tokens = copy.tokens.filter(token => !token.virtual);
|
|
111627
|
+
return copy;
|
|
111628
|
+
}
|
|
111331
111629
|
first() {
|
|
111332
111630
|
if (this.tokens.length === 0) {
|
|
111333
111631
|
return null;
|
|
@@ -111346,6 +111644,10 @@ class LexicalBuffer {
|
|
|
111346
111644
|
}
|
|
111347
111645
|
return null;
|
|
111348
111646
|
}
|
|
111647
|
+
sequentialIdentifier() {
|
|
111648
|
+
// Form unique identifier for each lexical token in form of l-#
|
|
111649
|
+
return `l-${this.size() + 1}`;
|
|
111650
|
+
}
|
|
111349
111651
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
111350
111652
|
// MARK: - Debug
|
|
111351
111653
|
debugDescription() {
|
|
@@ -111363,7 +111665,7 @@ class LexicalBuffer {
|
|
|
111363
111665
|
}
|
|
111364
111666
|
exports.LexicalBuffer = LexicalBuffer;
|
|
111365
111667
|
|
|
111366
|
-
},{}],
|
|
111668
|
+
},{}],681:[function(require,module,exports){
|
|
111367
111669
|
"use strict";
|
|
111368
111670
|
//
|
|
111369
111671
|
// LexicalParser.ts
|
|
@@ -111378,20 +111680,23 @@ exports.LexicalParser = void 0;
|
|
|
111378
111680
|
// MARK: - Imports
|
|
111379
111681
|
const LexicalBuffer_1 = require("./LexicalBuffer");
|
|
111380
111682
|
const LexicalToken_1 = require("./LexicalToken");
|
|
111683
|
+
const SymbolBuffer_1 = require("../../symbols/SymbolBuffer");
|
|
111381
111684
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
111382
111685
|
// MARK: - LexicalParser Definition
|
|
111383
111686
|
class LexicalParser {
|
|
111384
111687
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
111385
111688
|
// MARK: - Constructor
|
|
111386
|
-
constructor(definition, configuration) {
|
|
111689
|
+
constructor(definition, configuration, debug) {
|
|
111387
111690
|
this.definition = definition;
|
|
111388
111691
|
this.configuration = configuration;
|
|
111692
|
+
this.debugger = debug;
|
|
111389
111693
|
}
|
|
111390
111694
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
111391
111695
|
// MARK: - Parsing
|
|
111392
111696
|
parse() {
|
|
111393
111697
|
// Create token storage
|
|
111394
111698
|
let buffer = new LexicalBuffer_1.LexicalBuffer([]);
|
|
111699
|
+
let symbolBuffer = new SymbolBuffer_1.SymbolBuffer();
|
|
111395
111700
|
// Split the lines first
|
|
111396
111701
|
let pieces = this.definition.split('\n');
|
|
111397
111702
|
// Iterate on eachh line, splitting it into control tags and plain texts
|
|
@@ -111401,6 +111706,8 @@ class LexicalParser {
|
|
|
111401
111706
|
// Test each char separately
|
|
111402
111707
|
let scalars = piece.split('');
|
|
111403
111708
|
for (let [index, scalar] of scalars.entries()) {
|
|
111709
|
+
// Move buffer one characte forward
|
|
111710
|
+
symbolBuffer.seekNextChar();
|
|
111404
111711
|
// In case we have previously found opening tag, skip the next char
|
|
111405
111712
|
if (skipNext) {
|
|
111406
111713
|
skipNext = false;
|
|
@@ -111422,7 +111729,7 @@ class LexicalParser {
|
|
|
111422
111729
|
if (!lookaheadToken) {
|
|
111423
111730
|
continue;
|
|
111424
111731
|
}
|
|
111425
|
-
let controlToken = this.openingToken(lookaheadToken);
|
|
111732
|
+
let controlToken = this.openingToken(lookaheadToken, symbolBuffer.line, symbolBuffer.char);
|
|
111426
111733
|
if (controlToken) {
|
|
111427
111734
|
// Found the token, construct the control block and text token with the content before that
|
|
111428
111735
|
if (index > 0) {
|
|
@@ -111432,12 +111739,20 @@ class LexicalParser {
|
|
|
111432
111739
|
let substring = piece.substr(startIndex, endIndex - startIndex + 1);
|
|
111433
111740
|
let textToken = {
|
|
111434
111741
|
type: LexicalToken_1.LexicalTokenType.plainText,
|
|
111435
|
-
associatedValue: substring
|
|
111742
|
+
associatedValue: substring,
|
|
111743
|
+
startLine: symbolBuffer.line,
|
|
111744
|
+
startChar: symbolBuffer.char - substring.length,
|
|
111745
|
+
endLine: symbolBuffer.line,
|
|
111746
|
+
endChar: symbolBuffer.char - 1,
|
|
111747
|
+
virtual: false,
|
|
111748
|
+
debugSymbol: null
|
|
111436
111749
|
};
|
|
111437
111750
|
buffer.addToken(textToken);
|
|
111751
|
+
this.debugger.symbolTable.emitSymbolFromLexicalToken(textToken);
|
|
111438
111752
|
}
|
|
111439
111753
|
}
|
|
111440
111754
|
buffer.addToken(controlToken);
|
|
111755
|
+
this.debugger.symbolTable.emitSymbolFromLexicalToken(controlToken);
|
|
111441
111756
|
skipNext = true;
|
|
111442
111757
|
startIndex = index + 2;
|
|
111443
111758
|
}
|
|
@@ -111448,28 +111763,36 @@ class LexicalParser {
|
|
|
111448
111763
|
if (!previousToken) {
|
|
111449
111764
|
continue;
|
|
111450
111765
|
}
|
|
111451
|
-
let controlToken = this.enclosingToken(previousToken);
|
|
111766
|
+
let controlToken = this.enclosingToken(previousToken, symbolBuffer.line, symbolBuffer.char);
|
|
111452
111767
|
if (controlToken) {
|
|
111453
111768
|
let suffixTokens = null;
|
|
111454
111769
|
// Found the token, construct the control block
|
|
111455
111770
|
if (index - 2 > startIndex) {
|
|
111456
111771
|
// Handle text between control tags
|
|
111457
111772
|
let text = piece.substr(startIndex, index - startIndex - 1);
|
|
111773
|
+
let flowEndAdded = false;
|
|
111458
111774
|
if (controlToken.type === LexicalToken_1.LexicalTokenType.enclosingFlow) {
|
|
111459
111775
|
// Test for shorthand closure of flows where we are not using second control tag, ie {[ definition /]}
|
|
111460
111776
|
if (text.endsWith(this.configuration.flowEnd)) {
|
|
111461
111777
|
// If it is, remove the flowEnd character from resulting text and instead add suffix token
|
|
111462
|
-
suffixTokens = this.enclosingFlowTagCombination();
|
|
111778
|
+
suffixTokens = this.enclosingFlowTagCombination(symbolBuffer.line, symbolBuffer.char);
|
|
111463
111779
|
text = text.substr(0, text.length - 1);
|
|
111780
|
+
flowEndAdded = true;
|
|
111464
111781
|
}
|
|
111465
111782
|
}
|
|
111466
111783
|
if (text.length > 0) {
|
|
111467
111784
|
let textToken = {
|
|
111468
111785
|
type: LexicalToken_1.LexicalTokenType.plainText,
|
|
111469
|
-
associatedValue: text
|
|
111786
|
+
associatedValue: text,
|
|
111787
|
+
startLine: symbolBuffer.line,
|
|
111788
|
+
startChar: symbolBuffer.char - 2 - text.length + (flowEndAdded ? 0 : 1),
|
|
111789
|
+
endLine: symbolBuffer.line,
|
|
111790
|
+
endChar: symbolBuffer.char - 3 + (flowEndAdded ? 0 : 1),
|
|
111791
|
+
virtual: false,
|
|
111792
|
+
debugSymbol: null
|
|
111470
111793
|
};
|
|
111471
|
-
// (`text token 1: ${JSON.stringify(textToken)}`)
|
|
111472
111794
|
buffer.addToken(textToken);
|
|
111795
|
+
this.debugger.symbolTable.emitSymbolFromLexicalToken(textToken);
|
|
111473
111796
|
}
|
|
111474
111797
|
}
|
|
111475
111798
|
else if (index - 1 > startIndex) {
|
|
@@ -111479,24 +111802,42 @@ class LexicalParser {
|
|
|
111479
111802
|
if (possibleEnd === this.configuration.flowEnd) {
|
|
111480
111803
|
let flowEndToken = {
|
|
111481
111804
|
type: LexicalToken_1.LexicalTokenType.flowEnd,
|
|
111482
|
-
associatedValue: null
|
|
111805
|
+
associatedValue: null,
|
|
111806
|
+
startLine: symbolBuffer.line,
|
|
111807
|
+
startChar: symbolBuffer.char,
|
|
111808
|
+
endLine: symbolBuffer.line,
|
|
111809
|
+
endChar: symbolBuffer.char,
|
|
111810
|
+
virtual: false,
|
|
111811
|
+
debugSymbol: null
|
|
111483
111812
|
};
|
|
111484
111813
|
buffer.addToken(flowEndToken);
|
|
111814
|
+
this.debugger.symbolTable.emitSymbolFromLexicalToken(flowEndToken);
|
|
111485
111815
|
}
|
|
111486
111816
|
else {
|
|
111487
111817
|
let textToken = {
|
|
111488
111818
|
type: LexicalToken_1.LexicalTokenType.plainText,
|
|
111489
|
-
associatedValue: possibleEnd
|
|
111819
|
+
associatedValue: possibleEnd,
|
|
111820
|
+
startLine: symbolBuffer.line,
|
|
111821
|
+
startChar: symbolBuffer.char,
|
|
111822
|
+
endLine: symbolBuffer.line,
|
|
111823
|
+
endChar: symbolBuffer.char,
|
|
111824
|
+
virtual: false,
|
|
111825
|
+
debugSymbol: null
|
|
111490
111826
|
};
|
|
111491
111827
|
buffer.addToken(textToken);
|
|
111828
|
+
this.debugger.symbolTable.emitSymbolFromLexicalToken(textToken);
|
|
111492
111829
|
}
|
|
111493
111830
|
}
|
|
111494
111831
|
// Add control token
|
|
111495
111832
|
buffer.addToken(controlToken);
|
|
111833
|
+
this.debugger.symbolTable.emitSymbolFromLexicalToken(controlToken);
|
|
111496
111834
|
startIndex = index + 1;
|
|
111497
111835
|
// Add any token added by parsing but not originally present
|
|
111498
111836
|
if (suffixTokens) {
|
|
111499
|
-
|
|
111837
|
+
suffixTokens.forEach(t => {
|
|
111838
|
+
buffer.addToken(t);
|
|
111839
|
+
this.debugger.symbolTable.emitSymbolFromLexicalToken(t);
|
|
111840
|
+
});
|
|
111500
111841
|
}
|
|
111501
111842
|
}
|
|
111502
111843
|
}
|
|
@@ -111506,16 +111847,31 @@ class LexicalParser {
|
|
|
111506
111847
|
let substring = piece.substr(startIndex, piece.length - startIndex);
|
|
111507
111848
|
let textToken = {
|
|
111508
111849
|
type: LexicalToken_1.LexicalTokenType.plainText,
|
|
111509
|
-
associatedValue: substring
|
|
111850
|
+
associatedValue: substring,
|
|
111851
|
+
startLine: symbolBuffer.line,
|
|
111852
|
+
startChar: symbolBuffer.char - substring.length,
|
|
111853
|
+
endLine: symbolBuffer.line,
|
|
111854
|
+
endChar: symbolBuffer.char,
|
|
111855
|
+
virtual: false,
|
|
111856
|
+
debugSymbol: null
|
|
111510
111857
|
};
|
|
111511
111858
|
buffer.addToken(textToken);
|
|
111859
|
+
this.debugger.symbolTable.emitSymbolFromLexicalToken(textToken);
|
|
111512
111860
|
}
|
|
111513
111861
|
// Add newline token
|
|
111514
111862
|
let newlineToken = {
|
|
111515
111863
|
type: LexicalToken_1.LexicalTokenType.newline,
|
|
111516
|
-
associatedValue: null
|
|
111864
|
+
associatedValue: null,
|
|
111865
|
+
startLine: symbolBuffer.line,
|
|
111866
|
+
startChar: symbolBuffer.char + 1,
|
|
111867
|
+
endLine: symbolBuffer.line,
|
|
111868
|
+
endChar: symbolBuffer.char + 1,
|
|
111869
|
+
virtual: false,
|
|
111870
|
+
debugSymbol: null
|
|
111517
111871
|
};
|
|
111518
111872
|
buffer.addToken(newlineToken);
|
|
111873
|
+
this.debugger.symbolTable.emitSymbolFromLexicalToken(newlineToken);
|
|
111874
|
+
symbolBuffer.seekNextLine();
|
|
111519
111875
|
});
|
|
111520
111876
|
// Remove extraneous last token added from the iterators
|
|
111521
111877
|
buffer.removeLast();
|
|
@@ -111523,78 +111879,104 @@ class LexicalParser {
|
|
|
111523
111879
|
}
|
|
111524
111880
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
111525
111881
|
// MARK: - Convenience
|
|
111526
|
-
enclosingFlowTagCombination() {
|
|
111882
|
+
enclosingFlowTagCombination(line, character) {
|
|
111527
111883
|
return [
|
|
111528
111884
|
{
|
|
111529
111885
|
type: LexicalToken_1.LexicalTokenType.openingFlow,
|
|
111530
|
-
associatedValue: null
|
|
111886
|
+
associatedValue: null,
|
|
111887
|
+
startChar: character,
|
|
111888
|
+
endChar: character + 1,
|
|
111889
|
+
startLine: line,
|
|
111890
|
+
endLine: line,
|
|
111891
|
+
virtual: true,
|
|
111892
|
+
debugSymbol: null
|
|
111531
111893
|
},
|
|
111532
111894
|
{
|
|
111533
111895
|
type: LexicalToken_1.LexicalTokenType.flowEnd,
|
|
111534
|
-
associatedValue: null
|
|
111896
|
+
associatedValue: null,
|
|
111897
|
+
startChar: character + 2,
|
|
111898
|
+
endChar: character + 2,
|
|
111899
|
+
startLine: line,
|
|
111900
|
+
endLine: line,
|
|
111901
|
+
virtual: true,
|
|
111902
|
+
debugSymbol: null
|
|
111535
111903
|
},
|
|
111536
111904
|
{
|
|
111537
111905
|
type: LexicalToken_1.LexicalTokenType.enclosingFlow,
|
|
111538
|
-
associatedValue: null
|
|
111906
|
+
associatedValue: null,
|
|
111907
|
+
startChar: character + 3,
|
|
111908
|
+
endChar: character + 4,
|
|
111909
|
+
startLine: line,
|
|
111910
|
+
endLine: line,
|
|
111911
|
+
virtual: true,
|
|
111912
|
+
debugSymbol: null
|
|
111539
111913
|
}
|
|
111540
111914
|
];
|
|
111541
111915
|
}
|
|
111542
|
-
openingToken(from) {
|
|
111916
|
+
openingToken(from, line, character) {
|
|
111917
|
+
let type;
|
|
111543
111918
|
switch (from) {
|
|
111544
111919
|
case this.configuration.openingSubstitutionIdentifier:
|
|
111545
|
-
|
|
111546
|
-
|
|
111547
|
-
associatedValue: null
|
|
111548
|
-
};
|
|
111920
|
+
type = LexicalToken_1.LexicalTokenType.openingSubstitution;
|
|
111921
|
+
break;
|
|
111549
111922
|
case this.configuration.openingFlowIdentifier:
|
|
111550
|
-
|
|
111551
|
-
|
|
111552
|
-
associatedValue: null
|
|
111553
|
-
};
|
|
111923
|
+
type = LexicalToken_1.LexicalTokenType.openingFlow;
|
|
111924
|
+
break;
|
|
111554
111925
|
case this.configuration.openingCommentIdentifier:
|
|
111555
|
-
|
|
111556
|
-
|
|
111557
|
-
associatedValue: null
|
|
111558
|
-
};
|
|
111926
|
+
type = LexicalToken_1.LexicalTokenType.openingComment;
|
|
111927
|
+
break;
|
|
111559
111928
|
case this.configuration.openingEditorPlaceholderIdentifier:
|
|
111560
|
-
|
|
111561
|
-
|
|
111562
|
-
|
|
111563
|
-
|
|
111564
|
-
|
|
111565
|
-
|
|
111929
|
+
type = LexicalToken_1.LexicalTokenType.openingEditorPlaceholder;
|
|
111930
|
+
break;
|
|
111931
|
+
}
|
|
111932
|
+
if (type) {
|
|
111933
|
+
return {
|
|
111934
|
+
type: type,
|
|
111935
|
+
associatedValue: null,
|
|
111936
|
+
startChar: character,
|
|
111937
|
+
endChar: character + 1,
|
|
111938
|
+
startLine: line,
|
|
111939
|
+
endLine: line,
|
|
111940
|
+
virtual: false,
|
|
111941
|
+
debugSymbol: null
|
|
111942
|
+
};
|
|
111566
111943
|
}
|
|
111944
|
+
return null;
|
|
111567
111945
|
}
|
|
111568
|
-
enclosingToken(from) {
|
|
111946
|
+
enclosingToken(from, line, character) {
|
|
111947
|
+
let type;
|
|
111569
111948
|
switch (from) {
|
|
111570
111949
|
case this.configuration.closingSubstitutionIdentifier:
|
|
111571
|
-
|
|
111572
|
-
|
|
111573
|
-
associatedValue: null
|
|
111574
|
-
};
|
|
111950
|
+
type = LexicalToken_1.LexicalTokenType.enclosingSubstitution;
|
|
111951
|
+
break;
|
|
111575
111952
|
case this.configuration.closingFlowIdentifier:
|
|
111576
|
-
|
|
111577
|
-
|
|
111578
|
-
associatedValue: null
|
|
111579
|
-
};
|
|
111953
|
+
type = LexicalToken_1.LexicalTokenType.enclosingFlow;
|
|
111954
|
+
break;
|
|
111580
111955
|
case this.configuration.closingCommentIdentifier:
|
|
111581
|
-
|
|
111582
|
-
|
|
111583
|
-
associatedValue: null
|
|
111584
|
-
};
|
|
111956
|
+
type = LexicalToken_1.LexicalTokenType.enclosingComment;
|
|
111957
|
+
break;
|
|
111585
111958
|
case this.configuration.closingEditorPlaceholderIdentifier:
|
|
111586
|
-
|
|
111587
|
-
|
|
111588
|
-
associatedValue: null
|
|
111589
|
-
};
|
|
111590
|
-
default:
|
|
111591
|
-
return null;
|
|
111959
|
+
type = LexicalToken_1.LexicalTokenType.enclosingEditorPlaceholder;
|
|
111960
|
+
break;
|
|
111592
111961
|
}
|
|
111962
|
+
if (type) {
|
|
111963
|
+
return {
|
|
111964
|
+
type: type,
|
|
111965
|
+
associatedValue: null,
|
|
111966
|
+
startChar: character - 1,
|
|
111967
|
+
endChar: character,
|
|
111968
|
+
startLine: line,
|
|
111969
|
+
endLine: line,
|
|
111970
|
+
virtual: false,
|
|
111971
|
+
debugSymbol: null
|
|
111972
|
+
};
|
|
111973
|
+
}
|
|
111974
|
+
return null;
|
|
111593
111975
|
}
|
|
111594
111976
|
}
|
|
111595
111977
|
exports.LexicalParser = LexicalParser;
|
|
111596
111978
|
|
|
111597
|
-
},{"./LexicalBuffer":
|
|
111979
|
+
},{"../../symbols/SymbolBuffer":686,"./LexicalBuffer":680,"./LexicalToken":682}],682:[function(require,module,exports){
|
|
111598
111980
|
"use strict";
|
|
111599
111981
|
//
|
|
111600
111982
|
// LexicalToken.ts
|
|
@@ -111604,7 +111986,7 @@ exports.LexicalParser = LexicalParser;
|
|
|
111604
111986
|
// Copyright © 2020 Supernova. All rights reserved.
|
|
111605
111987
|
//
|
|
111606
111988
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
111607
|
-
exports.LexicalTokenType = void 0;
|
|
111989
|
+
exports.LexicalToken = exports.LexicalTokenType = void 0;
|
|
111608
111990
|
var LexicalTokenType;
|
|
111609
111991
|
(function (LexicalTokenType) {
|
|
111610
111992
|
LexicalTokenType["openingSubstitution"] = "openingSubstitution";
|
|
@@ -111619,8 +112001,377 @@ var LexicalTokenType;
|
|
|
111619
112001
|
LexicalTokenType["plainText"] = "plainText";
|
|
111620
112002
|
LexicalTokenType["newline"] = "newline";
|
|
111621
112003
|
})(LexicalTokenType = exports.LexicalTokenType || (exports.LexicalTokenType = {}));
|
|
112004
|
+
class LexicalToken {
|
|
112005
|
+
}
|
|
112006
|
+
exports.LexicalToken = LexicalToken;
|
|
111622
112007
|
|
|
111623
|
-
},{}],
|
|
112008
|
+
},{}],683:[function(require,module,exports){
|
|
112009
|
+
"use strict";
|
|
112010
|
+
//
|
|
112011
|
+
// LanguageError.ts
|
|
112012
|
+
// Pulsar Language
|
|
112013
|
+
//
|
|
112014
|
+
// Created by Jiri Trecak.
|
|
112015
|
+
// Copyright © 2021 Supernova. All rights reserved.
|
|
112016
|
+
//
|
|
112017
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
112018
|
+
exports.PLError = void 0;
|
|
112019
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112020
|
+
// MARK: - Custom Error
|
|
112021
|
+
class PLError extends Error {
|
|
112022
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112023
|
+
// MARK: - Constructor
|
|
112024
|
+
constructor(message, analysis) {
|
|
112025
|
+
// Restore prototype chain so the error correctly works for class and superclass
|
|
112026
|
+
super(message);
|
|
112027
|
+
const actualProto = new.target.prototype;
|
|
112028
|
+
Object.setPrototypeOf(this, actualProto);
|
|
112029
|
+
// Store properties into now-linked project
|
|
112030
|
+
this.analysis = analysis !== null && analysis !== void 0 ? analysis : null;
|
|
112031
|
+
}
|
|
112032
|
+
}
|
|
112033
|
+
exports.PLError = PLError;
|
|
112034
|
+
|
|
112035
|
+
},{}],684:[function(require,module,exports){
|
|
112036
|
+
"use strict";
|
|
112037
|
+
//
|
|
112038
|
+
// LanguageErrorAnalysis.ts
|
|
112039
|
+
// Pulsar Language
|
|
112040
|
+
//
|
|
112041
|
+
// Created by Jiri Trecak.
|
|
112042
|
+
// Copyright © 2021 Supernova. All rights reserved.
|
|
112043
|
+
//
|
|
112044
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
112045
|
+
exports.PLErrorAnalysis = exports.PLErrorSourceType = exports.PLErrorSeverityType = void 0;
|
|
112046
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112047
|
+
// MARK: - Imports
|
|
112048
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112049
|
+
// MARK: - Definitions
|
|
112050
|
+
var PLErrorSeverityType;
|
|
112051
|
+
(function (PLErrorSeverityType) {
|
|
112052
|
+
PLErrorSeverityType[PLErrorSeverityType["warning"] = 0] = "warning";
|
|
112053
|
+
PLErrorSeverityType[PLErrorSeverityType["error"] = 1] = "error";
|
|
112054
|
+
})(PLErrorSeverityType = exports.PLErrorSeverityType || (exports.PLErrorSeverityType = {}));
|
|
112055
|
+
var PLErrorSourceType;
|
|
112056
|
+
(function (PLErrorSourceType) {
|
|
112057
|
+
PLErrorSourceType[PLErrorSourceType["analyzer"] = 0] = "analyzer";
|
|
112058
|
+
PLErrorSourceType[PLErrorSourceType["runtime"] = 1] = "runtime";
|
|
112059
|
+
})(PLErrorSourceType = exports.PLErrorSourceType || (exports.PLErrorSourceType = {}));
|
|
112060
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112061
|
+
// MARK: - Error Analysis Container
|
|
112062
|
+
class PLErrorAnalysis {
|
|
112063
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112064
|
+
// MARK: - Constructor
|
|
112065
|
+
constructor(severity, source, range) {
|
|
112066
|
+
this.severity = severity;
|
|
112067
|
+
this.source = source;
|
|
112068
|
+
this.range = range;
|
|
112069
|
+
}
|
|
112070
|
+
}
|
|
112071
|
+
exports.PLErrorAnalysis = PLErrorAnalysis;
|
|
112072
|
+
|
|
112073
|
+
},{}],685:[function(require,module,exports){
|
|
112074
|
+
"use strict";
|
|
112075
|
+
//
|
|
112076
|
+
// Symbol.ts
|
|
112077
|
+
// Pulsar Language
|
|
112078
|
+
//
|
|
112079
|
+
// Created by Jiri Trecak.
|
|
112080
|
+
// Copyright © 2021 Supernova. All rights reserved.
|
|
112081
|
+
//
|
|
112082
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
112083
|
+
exports.Symbol = void 0;
|
|
112084
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112085
|
+
// MARK: - Symbol Table Definition
|
|
112086
|
+
class Symbol {
|
|
112087
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112088
|
+
// MARK: - Constructor
|
|
112089
|
+
constructor(model) {
|
|
112090
|
+
Object.assign(this, model);
|
|
112091
|
+
}
|
|
112092
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112093
|
+
// MARK: - Convenience
|
|
112094
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112095
|
+
// MARK: - Symbol creation
|
|
112096
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112097
|
+
// MARK: - Symbol lookup
|
|
112098
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112099
|
+
// MARK: - Symbol representation
|
|
112100
|
+
/** Retrieve symbol data without identifier */
|
|
112101
|
+
anonymizedSymbolData() {
|
|
112102
|
+
return {
|
|
112103
|
+
source: this.source,
|
|
112104
|
+
startLine: this.startLine,
|
|
112105
|
+
startChar: this.startChar,
|
|
112106
|
+
endLine: this.endLine,
|
|
112107
|
+
endChar: this.endChar,
|
|
112108
|
+
type: this.type
|
|
112109
|
+
};
|
|
112110
|
+
}
|
|
112111
|
+
}
|
|
112112
|
+
exports.Symbol = Symbol;
|
|
112113
|
+
|
|
112114
|
+
},{}],686:[function(require,module,exports){
|
|
112115
|
+
"use strict";
|
|
112116
|
+
//
|
|
112117
|
+
// SymbolBuffer.ts
|
|
112118
|
+
// Pulsar Language
|
|
112119
|
+
//
|
|
112120
|
+
// Created by Jiri Trecak.
|
|
112121
|
+
// Copyright © 2021 Supernova. All rights reserved.
|
|
112122
|
+
//
|
|
112123
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
112124
|
+
exports.SymbolBuffer = void 0;
|
|
112125
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112126
|
+
// MARK: - Imports
|
|
112127
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112128
|
+
// MARK: - Symbol Buffer Definition
|
|
112129
|
+
class SymbolBuffer {
|
|
112130
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112131
|
+
// MARK: - Constructor
|
|
112132
|
+
constructor() {
|
|
112133
|
+
this.line = 0;
|
|
112134
|
+
this.char = -1;
|
|
112135
|
+
this.seekFirstMode = true;
|
|
112136
|
+
}
|
|
112137
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112138
|
+
// MARK: - Buffer manipulation
|
|
112139
|
+
/** Modify seeking buffer with singular character */
|
|
112140
|
+
seekUsingCharacter(char) {
|
|
112141
|
+
if (char.length !== 1) {
|
|
112142
|
+
throw 'Seek must only happen on individual characters';
|
|
112143
|
+
}
|
|
112144
|
+
if (char === '\n') {
|
|
112145
|
+
this.seekNextLine();
|
|
112146
|
+
}
|
|
112147
|
+
else {
|
|
112148
|
+
this.seekNextChar();
|
|
112149
|
+
}
|
|
112150
|
+
}
|
|
112151
|
+
/** Modify seeking buffer with sequence of characters. Can be both regular and special (newlines) characters and modifies buffer accordingly */
|
|
112152
|
+
seekUsingMultipleCharacters(chars) {
|
|
112153
|
+
for (let char of chars) {
|
|
112154
|
+
this.seekUsingCharacter(char);
|
|
112155
|
+
}
|
|
112156
|
+
}
|
|
112157
|
+
/** Modify counters by regular character */
|
|
112158
|
+
seekNextChar() {
|
|
112159
|
+
this.char += 1;
|
|
112160
|
+
}
|
|
112161
|
+
/** Modify counters by newline character */
|
|
112162
|
+
seekNextLine() {
|
|
112163
|
+
this.line += 1;
|
|
112164
|
+
this.char = this.seekFirstMode ? -1 : 0;
|
|
112165
|
+
}
|
|
112166
|
+
/** Set behavior of counter. When enabled, counter will start from -1, expecting seek to happen before first data read. Defaults to true */
|
|
112167
|
+
setSeekHappensFirst(seekFirst) {
|
|
112168
|
+
this.seekFirstMode = seekFirst;
|
|
112169
|
+
}
|
|
112170
|
+
}
|
|
112171
|
+
exports.SymbolBuffer = SymbolBuffer;
|
|
112172
|
+
|
|
112173
|
+
},{}],687:[function(require,module,exports){
|
|
112174
|
+
"use strict";
|
|
112175
|
+
//
|
|
112176
|
+
// SymbolFactory.ts
|
|
112177
|
+
// Pulsar Language
|
|
112178
|
+
//
|
|
112179
|
+
// Created by Jiri Trecak.
|
|
112180
|
+
// Copyright © 2021 Supernova. All rights reserved.
|
|
112181
|
+
//
|
|
112182
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
112183
|
+
exports.SymbolFactory = void 0;
|
|
112184
|
+
const lodash_1 = require("lodash");
|
|
112185
|
+
const Symbol_1 = require("./Symbol");
|
|
112186
|
+
const SymbolType_1 = require("./SymbolType");
|
|
112187
|
+
const uuid_1 = require("uuid");
|
|
112188
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112189
|
+
// MARK: - Imports
|
|
112190
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112191
|
+
// MARK: - Symbol Factory Definition
|
|
112192
|
+
class SymbolFactory {
|
|
112193
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112194
|
+
// MARK: - Constructor
|
|
112195
|
+
constructor(source) {
|
|
112196
|
+
this.evaluatedSource = source;
|
|
112197
|
+
}
|
|
112198
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112199
|
+
// MARK: - Factory configuration
|
|
112200
|
+
setSource(source) {
|
|
112201
|
+
this.evaluatedSource = source;
|
|
112202
|
+
}
|
|
112203
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112204
|
+
// MARK: - Convenience symbol constructors
|
|
112205
|
+
symbol(type, source, startLine, startChar, endLine, endChar) {
|
|
112206
|
+
return new Symbol_1.Symbol({
|
|
112207
|
+
type: type,
|
|
112208
|
+
source: source,
|
|
112209
|
+
startLine: startLine,
|
|
112210
|
+
startChar: startChar,
|
|
112211
|
+
endLine: endLine,
|
|
112212
|
+
endChar: endChar,
|
|
112213
|
+
identifier: uuid_1.v4()
|
|
112214
|
+
});
|
|
112215
|
+
}
|
|
112216
|
+
lexicalSymbolFromToken(token) {
|
|
112217
|
+
return this.symbol(SymbolType_1.SymbolType.lexicalToken, this.evaluatedSource, token.startLine, token.startChar, token.endLine, token.endChar);
|
|
112218
|
+
}
|
|
112219
|
+
concreteSymbolFromToken(token) {
|
|
112220
|
+
let range = this.computeSymbolRangeFromLexicalTokens(token.lts);
|
|
112221
|
+
return this.symbol(SymbolType_1.SymbolType.concreteToken, this.evaluatedSource, range.startLine, range.startChar, range.endLine, range.endChar);
|
|
112222
|
+
}
|
|
112223
|
+
syntaxSymbolFromNode(token) {
|
|
112224
|
+
let range = this.computeSymbolRangeFromConcreteTokens(token.backingTokens);
|
|
112225
|
+
return this.symbol(SymbolType_1.SymbolType.syntaxToken, this.evaluatedSource, range.startLine, range.startChar, range.endLine, range.endChar);
|
|
112226
|
+
}
|
|
112227
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112228
|
+
// MARK: - Range computing
|
|
112229
|
+
/** Compute symbol range from array of given lexical tokens. Will find beginning and end line and char or return -1 if no tokens were given */
|
|
112230
|
+
computeSymbolRangeFromLexicalTokens(tokens) {
|
|
112231
|
+
// We are assuming tokens form continued, closed range
|
|
112232
|
+
let startLine = -1;
|
|
112233
|
+
let startChar = -1;
|
|
112234
|
+
let endLine = -1;
|
|
112235
|
+
let endChar = -1;
|
|
112236
|
+
// Form proper range from minimum to maximum over multiple lines
|
|
112237
|
+
tokens.forEach(token => {
|
|
112238
|
+
if (startLine > token.startLine || startLine === -1) {
|
|
112239
|
+
startLine = token.startLine;
|
|
112240
|
+
startChar = token.startChar;
|
|
112241
|
+
}
|
|
112242
|
+
if (endLine < token.endLine || endLine === -1) {
|
|
112243
|
+
endLine = token.endLine;
|
|
112244
|
+
token.endChar;
|
|
112245
|
+
}
|
|
112246
|
+
if (token.startLine === startLine && startChar > token.startChar) {
|
|
112247
|
+
startChar = token.startChar;
|
|
112248
|
+
}
|
|
112249
|
+
if (token.endLine === endLine && endChar < token.endChar) {
|
|
112250
|
+
endChar = token.endChar;
|
|
112251
|
+
}
|
|
112252
|
+
});
|
|
112253
|
+
// Return the range
|
|
112254
|
+
return {
|
|
112255
|
+
startLine: startLine,
|
|
112256
|
+
endLine: endLine,
|
|
112257
|
+
startChar: startChar,
|
|
112258
|
+
endChar: endChar
|
|
112259
|
+
};
|
|
112260
|
+
}
|
|
112261
|
+
/** Compute symbol range from array of given concrete tokens. Will find beginning and end line and char or return -1 if no tokens were given */
|
|
112262
|
+
computeSymbolRangeFromConcreteTokens(tokens) {
|
|
112263
|
+
// Concrete tokens are backed by lexical tokens which can be used to trace their exact location
|
|
112264
|
+
let lexicalTokens = lodash_1.flatten(tokens.map(t => t.lts));
|
|
112265
|
+
return this.computeSymbolRangeFromLexicalTokens(lexicalTokens);
|
|
112266
|
+
}
|
|
112267
|
+
}
|
|
112268
|
+
exports.SymbolFactory = SymbolFactory;
|
|
112269
|
+
|
|
112270
|
+
},{"./Symbol":685,"./SymbolType":689,"lodash":739,"uuid":743}],688:[function(require,module,exports){
|
|
112271
|
+
"use strict";
|
|
112272
|
+
//
|
|
112273
|
+
// SymbolTable.ts
|
|
112274
|
+
// Pulsar Language
|
|
112275
|
+
//
|
|
112276
|
+
// Created by Jiri Trecak.
|
|
112277
|
+
// Copyright © 2021 Supernova. All rights reserved.
|
|
112278
|
+
//
|
|
112279
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
112280
|
+
exports.PLSymbolTable = void 0;
|
|
112281
|
+
const SymbolFactory_1 = require("./SymbolFactory");
|
|
112282
|
+
const SymbolType_1 = require("./SymbolType");
|
|
112283
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112284
|
+
// MARK: - Imports
|
|
112285
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112286
|
+
// MARK: - Symbol Table Definition
|
|
112287
|
+
class PLSymbolTable {
|
|
112288
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112289
|
+
// MARK: - Constructor
|
|
112290
|
+
constructor(source) {
|
|
112291
|
+
this.symbols = new Map();
|
|
112292
|
+
this.symbolFactory = new SymbolFactory_1.SymbolFactory(source);
|
|
112293
|
+
}
|
|
112294
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112295
|
+
// MARK: - Symbol creation
|
|
112296
|
+
emitSymbolFromLexicalToken(token) {
|
|
112297
|
+
let symbol = this.symbolFactory.lexicalSymbolFromToken(token);
|
|
112298
|
+
token.debugSymbol = symbol.identifier;
|
|
112299
|
+
return this.storeSymbol(symbol);
|
|
112300
|
+
}
|
|
112301
|
+
emitSymbolFromConcreteToken(token) {
|
|
112302
|
+
let symbol = this.symbolFactory.concreteSymbolFromToken(token);
|
|
112303
|
+
token.debugSymbol = symbol.identifier;
|
|
112304
|
+
return this.storeSymbol(symbol);
|
|
112305
|
+
}
|
|
112306
|
+
emitSymbolFromSyntaxNode(node) {
|
|
112307
|
+
let symbol = this.symbolFactory.syntaxSymbolFromNode(node);
|
|
112308
|
+
node.debugSymbol = symbol.identifier;
|
|
112309
|
+
return this.storeSymbol(symbol);
|
|
112310
|
+
}
|
|
112311
|
+
storeSymbol(symbol) {
|
|
112312
|
+
this.symbols.set(symbol.identifier, symbol);
|
|
112313
|
+
return symbol;
|
|
112314
|
+
}
|
|
112315
|
+
setExecutedSource(source) {
|
|
112316
|
+
this.symbolFactory.setSource(source);
|
|
112317
|
+
}
|
|
112318
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112319
|
+
// MARK: - Symbol lookup
|
|
112320
|
+
lexicalPhaseSymbols() {
|
|
112321
|
+
return Array.from(this.symbols.values()).filter(symbol => symbol.type === SymbolType_1.SymbolType.lexicalToken);
|
|
112322
|
+
}
|
|
112323
|
+
lexicalPhaseSymbolsSortedByLocation() {
|
|
112324
|
+
return this.symbolArraySortedByLocation(this.lexicalPhaseSymbols());
|
|
112325
|
+
}
|
|
112326
|
+
concretePhaseSymbols() {
|
|
112327
|
+
return Array.from(this.symbols.values()).filter(symbol => symbol.type === SymbolType_1.SymbolType.concreteToken);
|
|
112328
|
+
}
|
|
112329
|
+
concretePhaseSymbolSortedByLocation() {
|
|
112330
|
+
return this.symbolArraySortedByLocation(this.concretePhaseSymbols());
|
|
112331
|
+
}
|
|
112332
|
+
syntaxPhaseSymbols() {
|
|
112333
|
+
return Array.from(this.symbols.values()).filter(symbol => symbol.type === SymbolType_1.SymbolType.syntaxToken);
|
|
112334
|
+
}
|
|
112335
|
+
syntaxPhaseSymbolSortedByLocation() {
|
|
112336
|
+
return this.symbolArraySortedByLocation(this.syntaxPhaseSymbols());
|
|
112337
|
+
}
|
|
112338
|
+
symbolById(symbolId) {
|
|
112339
|
+
return this.symbols.get(symbolId);
|
|
112340
|
+
}
|
|
112341
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112342
|
+
// MARK: - Convenience
|
|
112343
|
+
symbolArraySortedByLocation(symbols) {
|
|
112344
|
+
symbols.sort((a, b) => {
|
|
112345
|
+
return a.startLine !== b.startLine ? a.startLine - b.startLine : a.startChar - b.startChar;
|
|
112346
|
+
});
|
|
112347
|
+
return symbols;
|
|
112348
|
+
}
|
|
112349
|
+
}
|
|
112350
|
+
exports.PLSymbolTable = PLSymbolTable;
|
|
112351
|
+
|
|
112352
|
+
},{"./SymbolFactory":687,"./SymbolType":689}],689:[function(require,module,exports){
|
|
112353
|
+
"use strict";
|
|
112354
|
+
//
|
|
112355
|
+
// SymbolType.ts
|
|
112356
|
+
// Pulsar Language
|
|
112357
|
+
//
|
|
112358
|
+
// Created by Jiri Trecak.
|
|
112359
|
+
// Copyright © 2021 Supernova. All rights reserved.
|
|
112360
|
+
//
|
|
112361
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
112362
|
+
exports.SymbolType = void 0;
|
|
112363
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112364
|
+
// MARK: - Imports
|
|
112365
|
+
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112366
|
+
// MARK: - Symbol Type Definiton
|
|
112367
|
+
var SymbolType;
|
|
112368
|
+
(function (SymbolType) {
|
|
112369
|
+
SymbolType["lexicalToken"] = "lt";
|
|
112370
|
+
SymbolType["concreteToken"] = "ct";
|
|
112371
|
+
SymbolType["syntaxToken"] = "st";
|
|
112372
|
+
})(SymbolType = exports.SymbolType || (exports.SymbolType = {}));
|
|
112373
|
+
|
|
112374
|
+
},{}],690:[function(require,module,exports){
|
|
111624
112375
|
"use strict";
|
|
111625
112376
|
//
|
|
111626
112377
|
// SyntaxParser.ts
|
|
@@ -111637,6 +112388,7 @@ const SyntaxTree_1 = require("./SyntaxTree");
|
|
|
111637
112388
|
const SyntaxNodeFlow_1 = require("./nodes/SyntaxNodeFlow");
|
|
111638
112389
|
const SyntaxNodeText_1 = require("./nodes/SyntaxNodeText");
|
|
111639
112390
|
const SyntaxNodeSubstitution_1 = require("./nodes/SyntaxNodeSubstitution");
|
|
112391
|
+
const DebuggerErrors_1 = require("../../debugger/DebuggerErrors");
|
|
111640
112392
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
111641
112393
|
// MARK: - Syntax Parser Definition
|
|
111642
112394
|
class SyntaxParser {
|
|
@@ -111673,18 +112425,18 @@ class SyntaxParser {
|
|
|
111673
112425
|
switch (token.type) {
|
|
111674
112426
|
case ConcreteToken_1.ConcreteTokenType.text:
|
|
111675
112427
|
// Create simple text node
|
|
111676
|
-
parsedNode = new SyntaxNodeText_1.SyntaxNodeText(token.associatedValue);
|
|
112428
|
+
parsedNode = new SyntaxNodeText_1.SyntaxNodeText(token.associatedValue, [token]);
|
|
111677
112429
|
break;
|
|
111678
112430
|
case ConcreteToken_1.ConcreteTokenType.substitution:
|
|
111679
112431
|
// Create simple substitution node
|
|
111680
|
-
parsedNode = new SyntaxNodeSubstitution_1.SyntaxNodeSubstitution(token.associatedValue, this.executionContext);
|
|
112432
|
+
parsedNode = new SyntaxNodeSubstitution_1.SyntaxNodeSubstitution(token.associatedValue, this.executionContext, [token]);
|
|
111681
112433
|
break;
|
|
111682
112434
|
case ConcreteToken_1.ConcreteTokenType.flow:
|
|
111683
112435
|
// Two situations are handled simultaneously:
|
|
111684
112436
|
// - Simple flows with beginning and end
|
|
111685
112437
|
// - Chained flows with beginning and end that can contain multiple flow definitions in succession
|
|
111686
112438
|
// Create the flow which contains all tokens until the next flow that chains to it or flow end which interrupts the chain immediately
|
|
111687
|
-
let currentFlowNode = new SyntaxNodeFlow_1.SyntaxNodeFlow(token.associatedValue, token.lineOffset, token.firstLineDirective, null, this.executionContext);
|
|
112439
|
+
let currentFlowNode = new SyntaxNodeFlow_1.SyntaxNodeFlow(token.associatedValue, token.lineOffset, token.firstLineDirective, null, this.executionContext, [token]);
|
|
111688
112440
|
// Link this node to parent node, so proper identifier chain
|
|
111689
112441
|
let lastChainableFlowNode = this.openedFlowNodes.length > 0 ? this.openedFlowNodes[this.openedFlowNodes.length - 1] : null;
|
|
111690
112442
|
currentFlowNode.setParent(lastChainableFlowNode);
|
|
@@ -111735,6 +112487,10 @@ class SyntaxParser {
|
|
|
111735
112487
|
if (parsedNode !== null && parsedNode.nodeType === SyntaxNode_1.NodeType.flow) {
|
|
111736
112488
|
this.openedFlowNodes.push(parsedNode);
|
|
111737
112489
|
}
|
|
112490
|
+
// Emit symbols for valid notes if debugger is present
|
|
112491
|
+
if (parsedNode !== null) {
|
|
112492
|
+
this.executionContext.debugger.symbolTable.emitSymbolFromSyntaxNode(parsedNode);
|
|
112493
|
+
}
|
|
111738
112494
|
}
|
|
111739
112495
|
catch (error) {
|
|
111740
112496
|
throw error;
|
|
@@ -111743,9 +112499,7 @@ class SyntaxParser {
|
|
|
111743
112499
|
}
|
|
111744
112500
|
// Unclosed flow
|
|
111745
112501
|
if (this.openedFlowNodes.length > 0) {
|
|
111746
|
-
|
|
111747
|
-
// throw PulsarLangErrors.SyntaxError.missingEnclosingFlowTag
|
|
111748
|
-
throw Error('missingEnclosingFlowTag');
|
|
112502
|
+
throw this.executionContext.debugger.reportAnalysisErrorFromSyntaxNode(DebuggerErrors_1.PLParserSyntaxError.missingEnclosingFlowTag, this.openedFlowNodes[0]);
|
|
111749
112503
|
}
|
|
111750
112504
|
return syntaxTree;
|
|
111751
112505
|
}
|
|
@@ -111755,7 +112509,7 @@ class SyntaxParser {
|
|
|
111755
112509
|
}
|
|
111756
112510
|
exports.SyntaxParser = SyntaxParser;
|
|
111757
112511
|
|
|
111758
|
-
},{"./../Tokenization/Concrete/ConcreteToken":
|
|
112512
|
+
},{"../../debugger/DebuggerErrors":518,"./../Tokenization/Concrete/ConcreteToken":679,"./SyntaxTree":691,"./nodes/SyntaxNode":692,"./nodes/SyntaxNodeFlow":693,"./nodes/SyntaxNodeSubstitution":695,"./nodes/SyntaxNodeText":696}],691:[function(require,module,exports){
|
|
111759
112513
|
"use strict";
|
|
111760
112514
|
//
|
|
111761
112515
|
// SyntaxTree.ts
|
|
@@ -111775,7 +112529,7 @@ class SyntaxTree {
|
|
|
111775
112529
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
111776
112530
|
// MARK: - Init
|
|
111777
112531
|
constructor(rootNode) {
|
|
111778
|
-
this.rootNode = rootNode !== null && rootNode !== void 0 ? rootNode : new SyntaxNodeGroup_1.SyntaxNodeGroup([]);
|
|
112532
|
+
this.rootNode = rootNode !== null && rootNode !== void 0 ? rootNode : new SyntaxNodeGroup_1.SyntaxNodeGroup([], 0, []);
|
|
111779
112533
|
}
|
|
111780
112534
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
111781
112535
|
// MARK: - Debug
|
|
@@ -111793,7 +112547,7 @@ class SyntaxTree {
|
|
|
111793
112547
|
}
|
|
111794
112548
|
exports.SyntaxTree = SyntaxTree;
|
|
111795
112549
|
|
|
111796
|
-
},{"./nodes/SyntaxNodeGroup":
|
|
112550
|
+
},{"./nodes/SyntaxNodeGroup":694}],692:[function(require,module,exports){
|
|
111797
112551
|
"use strict";
|
|
111798
112552
|
//
|
|
111799
112553
|
// SyntaxNode.ts
|
|
@@ -111819,7 +112573,7 @@ class SyntaxNode {
|
|
|
111819
112573
|
}
|
|
111820
112574
|
exports.SyntaxNode = SyntaxNode;
|
|
111821
112575
|
|
|
111822
|
-
},{}],
|
|
112576
|
+
},{}],693:[function(require,module,exports){
|
|
111823
112577
|
"use strict";
|
|
111824
112578
|
//
|
|
111825
112579
|
// SyntaxNodeFlow.ts
|
|
@@ -111852,14 +112606,16 @@ const SyntaxNodeSubstitution_1 = require("./SyntaxNodeSubstitution");
|
|
|
111852
112606
|
class SyntaxNodeFlow {
|
|
111853
112607
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
111854
112608
|
// MARK: - Constructor
|
|
111855
|
-
constructor(directive, lineOffset, firstLineDirective, flowGroup = null, executionContext) {
|
|
112609
|
+
constructor(directive, lineOffset, firstLineDirective, flowGroup = null, executionContext, from) {
|
|
111856
112610
|
var _a;
|
|
111857
112611
|
this.previousChainFlow = null;
|
|
111858
112612
|
this.nextChainFlow = null;
|
|
111859
112613
|
this.parent = null;
|
|
111860
|
-
this.directive = directive;
|
|
111861
112614
|
this.nodeType = SyntaxNode_1.NodeType.flow;
|
|
111862
|
-
this.
|
|
112615
|
+
this.backingTokens = from;
|
|
112616
|
+
this.debugSymbol = null;
|
|
112617
|
+
this.directive = directive;
|
|
112618
|
+
this.flowGroup = flowGroup !== null && flowGroup !== void 0 ? flowGroup : new SyntaxNodeGroup_1.SyntaxNodeGroup([], 0, []);
|
|
111863
112619
|
this.flowIdentifier = uuid_1.v4();
|
|
111864
112620
|
this.lineOffset = lineOffset;
|
|
111865
112621
|
this.firstLineDirective = firstLineDirective;
|
|
@@ -111960,7 +112716,8 @@ class SyntaxNodeFlow {
|
|
|
111960
112716
|
parseSource = false;
|
|
111961
112717
|
}
|
|
111962
112718
|
if (parseSource) {
|
|
111963
|
-
|
|
112719
|
+
// TODO: Emit additional symbol information to symbol table to make the errors more preccise
|
|
112720
|
+
let substitutionNode = new SyntaxNodeSubstitution_1.SyntaxNodeSubstitution(components[index], executionContext, this.backingTokens);
|
|
111964
112721
|
let source = new FlowSource_1.PLFlowSource(substitutionNode);
|
|
111965
112722
|
sources.set(formatPiece.definition, source);
|
|
111966
112723
|
}
|
|
@@ -112028,7 +112785,7 @@ class SyntaxNodeFlow {
|
|
|
112028
112785
|
}
|
|
112029
112786
|
exports.SyntaxNodeFlow = SyntaxNodeFlow;
|
|
112030
112787
|
|
|
112031
|
-
},{"../../../interpreter/flows/FlowSource":
|
|
112788
|
+
},{"../../../interpreter/flows/FlowSource":562,"./../../../interpreter/flows/Flow":559,"./../../../interpreter/flows/FlowOutput":561,"./../../../utils/StringUtils":708,"./SyntaxNode":692,"./SyntaxNodeGroup":694,"./SyntaxNodeSubstitution":695,"uuid":743}],694:[function(require,module,exports){
|
|
112032
112789
|
"use strict";
|
|
112033
112790
|
//
|
|
112034
112791
|
// SyntaxNodeComplex.ts
|
|
@@ -112054,10 +112811,12 @@ const SyntaxNode_1 = require("./SyntaxNode");
|
|
|
112054
112811
|
class SyntaxNodeGroup {
|
|
112055
112812
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112056
112813
|
// MARK: - Mutations
|
|
112057
|
-
constructor(nodes, depth = 0) {
|
|
112814
|
+
constructor(nodes, depth = 0, from) {
|
|
112815
|
+
this.nodeType = SyntaxNode_1.NodeType.group;
|
|
112816
|
+
this.backingTokens = from;
|
|
112817
|
+
this.debugSymbol = null;
|
|
112058
112818
|
this.nodes = nodes;
|
|
112059
112819
|
this.depth = depth;
|
|
112060
|
-
this.nodeType = SyntaxNode_1.NodeType.group;
|
|
112061
112820
|
}
|
|
112062
112821
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112063
112822
|
// MARK: - Mutations
|
|
@@ -112118,7 +112877,7 @@ class SyntaxNodeGroup {
|
|
|
112118
112877
|
}
|
|
112119
112878
|
exports.SyntaxNodeGroup = SyntaxNodeGroup;
|
|
112120
112879
|
|
|
112121
|
-
},{"./SyntaxNode":
|
|
112880
|
+
},{"./SyntaxNode":692}],695:[function(require,module,exports){
|
|
112122
112881
|
"use strict";
|
|
112123
112882
|
//
|
|
112124
112883
|
// SyntaxNodeSubstitution.ts
|
|
@@ -112147,9 +112906,11 @@ const StringUtils_1 = require("./../../../utils/StringUtils");
|
|
|
112147
112906
|
class SyntaxNodeSubstitution {
|
|
112148
112907
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112149
112908
|
// MARK: - Constructor
|
|
112150
|
-
constructor(directive, executionContext) {
|
|
112151
|
-
this.directive = directive;
|
|
112909
|
+
constructor(directive, executionContext, from) {
|
|
112152
112910
|
this.nodeType = SyntaxNode_1.NodeType.substitution;
|
|
112911
|
+
this.backingTokens = from;
|
|
112912
|
+
this.debugSymbol = null;
|
|
112913
|
+
this.directive = directive;
|
|
112153
112914
|
// The substitution definition is as follows: [value].[:optional transformer(..)].[:optional transformer(..)]..
|
|
112154
112915
|
// Some examples (for data of: [name: "Anna"]:
|
|
112155
112916
|
// - plain substitution: {{ name }} -> "Anna"
|
|
@@ -112351,7 +113112,7 @@ class SyntaxNodeSubstitution {
|
|
|
112351
113112
|
}
|
|
112352
113113
|
exports.SyntaxNodeSubstitution = SyntaxNodeSubstitution;
|
|
112353
113114
|
|
|
112354
|
-
},{"./../../../utils/StringUtils":
|
|
113115
|
+
},{"./../../../utils/StringUtils":708,"./SyntaxNode":692}],696:[function(require,module,exports){
|
|
112355
113116
|
"use strict";
|
|
112356
113117
|
//
|
|
112357
113118
|
// SyntaxNodeText.ts
|
|
@@ -112379,8 +113140,10 @@ const SyntaxNode_1 = require("./SyntaxNode");
|
|
|
112379
113140
|
class SyntaxNodeText {
|
|
112380
113141
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
112381
113142
|
// MARK: - Constructor
|
|
112382
|
-
constructor(text) {
|
|
113143
|
+
constructor(text, from) {
|
|
112383
113144
|
this.nodeType = SyntaxNode_1.NodeType.text;
|
|
113145
|
+
this.backingTokens = from;
|
|
113146
|
+
this.debugSymbol = null;
|
|
112384
113147
|
this.text = text;
|
|
112385
113148
|
}
|
|
112386
113149
|
// --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
|
|
@@ -112403,7 +113166,7 @@ class SyntaxNodeText {
|
|
|
112403
113166
|
}
|
|
112404
113167
|
exports.SyntaxNodeText = SyntaxNodeText;
|
|
112405
113168
|
|
|
112406
|
-
},{"./SyntaxNode":
|
|
113169
|
+
},{"./SyntaxNode":692}],697:[function(require,module,exports){
|
|
112407
113170
|
"use strict";
|
|
112408
113171
|
//
|
|
112409
113172
|
// PLAutocompleteEngine.ts
|
|
@@ -112459,7 +113222,7 @@ class PLAutocompleteEngine {
|
|
|
112459
113222
|
}
|
|
112460
113223
|
exports.PLAutocompleteEngine = PLAutocompleteEngine;
|
|
112461
113224
|
|
|
112462
|
-
},{}],
|
|
113225
|
+
},{}],698:[function(require,module,exports){
|
|
112463
113226
|
"use strict";
|
|
112464
113227
|
//
|
|
112465
113228
|
// PLBlueprintAutocompleteEngine.ts
|
|
@@ -112893,7 +113656,7 @@ class PLBlueprintAutocompleteEngine extends AutocompleteEngine_1.PLAutocompleteE
|
|
|
112893
113656
|
}
|
|
112894
113657
|
exports.PLBlueprintAutocompleteEngine = PLBlueprintAutocompleteEngine;
|
|
112895
113658
|
|
|
112896
|
-
},{"../documentation/Doc":
|
|
113659
|
+
},{"../documentation/Doc":703,"./../documentation/DeclarationBuilder":702,"./AutocompleteEngine":697}],699:[function(require,module,exports){
|
|
112897
113660
|
"use strict";
|
|
112898
113661
|
//
|
|
112899
113662
|
// PLBlueprintSnippets.ts
|
|
@@ -112933,7 +113696,7 @@ class PLAutocompleteBlueprintSnippets {
|
|
|
112933
113696
|
}
|
|
112934
113697
|
exports.PLAutocompleteBlueprintSnippets = PLAutocompleteBlueprintSnippets;
|
|
112935
113698
|
|
|
112936
|
-
},{"./PlaceholderDisabledSnippetPool":
|
|
113699
|
+
},{"./PlaceholderDisabledSnippetPool":700,"./PlaceholderEnabledSnippetPool":701}],700:[function(require,module,exports){
|
|
112937
113700
|
"use strict";
|
|
112938
113701
|
//
|
|
112939
113702
|
// PLPlaceholderDisabledSnippetPool.ts
|
|
@@ -113417,7 +114180,7 @@ class PLPlaceholderDisabledSnippetPool {
|
|
|
113417
114180
|
}
|
|
113418
114181
|
exports.PLPlaceholderDisabledSnippetPool = PLPlaceholderDisabledSnippetPool;
|
|
113419
114182
|
|
|
113420
|
-
},{"ts-dedent":
|
|
114183
|
+
},{"ts-dedent":742}],701:[function(require,module,exports){
|
|
113421
114184
|
"use strict";
|
|
113422
114185
|
//
|
|
113423
114186
|
// PLPlaceholderEnabledSnippetPool.ts
|
|
@@ -113901,7 +114664,7 @@ class PLPlaceholderEnabledSnippetPool {
|
|
|
113901
114664
|
}
|
|
113902
114665
|
exports.PLPlaceholderEnabledSnippetPool = PLPlaceholderEnabledSnippetPool;
|
|
113903
114666
|
|
|
113904
|
-
},{"ts-dedent":
|
|
114667
|
+
},{"ts-dedent":742}],702:[function(require,module,exports){
|
|
113905
114668
|
"use strict";
|
|
113906
114669
|
//
|
|
113907
114670
|
// PLDeclarationBuilder.ts
|
|
@@ -113976,7 +114739,7 @@ class PLDeclarationBuilder {
|
|
|
113976
114739
|
}
|
|
113977
114740
|
exports.PLDeclarationBuilder = PLDeclarationBuilder;
|
|
113978
114741
|
|
|
113979
|
-
},{}],
|
|
114742
|
+
},{}],703:[function(require,module,exports){
|
|
113980
114743
|
"use strict";
|
|
113981
114744
|
//
|
|
113982
114745
|
// PLDoc.ts
|
|
@@ -114027,7 +114790,7 @@ class PLDoc {
|
|
|
114027
114790
|
}
|
|
114028
114791
|
exports.PLDoc = PLDoc;
|
|
114029
114792
|
|
|
114030
|
-
},{}],
|
|
114793
|
+
},{}],704:[function(require,module,exports){
|
|
114031
114794
|
"use strict";
|
|
114032
114795
|
//
|
|
114033
114796
|
// PLBlueprintHighlightEngine.ts
|
|
@@ -114371,7 +115134,7 @@ class PLBlueprintHighlightEngine extends HighlightEngine_1.PLHighlightEngine {
|
|
|
114371
115134
|
let tokens = [];
|
|
114372
115135
|
try {
|
|
114373
115136
|
// Interpret root node (root group node of syntax tree)
|
|
114374
|
-
let node = new SyntaxNodeFlow_1.SyntaxNodeFlow(definition, 0, true, null, this.executionContext);
|
|
115137
|
+
let node = new SyntaxNodeFlow_1.SyntaxNodeFlow(definition, 0, true, null, this.executionContext, []);
|
|
114375
115138
|
// Highlight sources
|
|
114376
115139
|
for (let [_, source] of node.sources) {
|
|
114377
115140
|
if (StringUtils_1.StringUtils.isSurroundedWithDoubleQuotes(source.directive())) {
|
|
@@ -114410,7 +115173,7 @@ class PLBlueprintHighlightEngine extends HighlightEngine_1.PLHighlightEngine {
|
|
|
114410
115173
|
tokenizeSubstitution(definition, initialSeekIndex) {
|
|
114411
115174
|
try {
|
|
114412
115175
|
// Interpret root node (root group node of syntax tree)
|
|
114413
|
-
let node = new SyntaxNodeSubstitution_1.SyntaxNodeSubstitution(definition, this.executionContext);
|
|
115176
|
+
let node = new SyntaxNodeSubstitution_1.SyntaxNodeSubstitution(definition, this.executionContext, []);
|
|
114414
115177
|
return this.highlightSubstitution(node, definition, initialSeekIndex);
|
|
114415
115178
|
}
|
|
114416
115179
|
catch (_a) {
|
|
@@ -114457,7 +115220,7 @@ class PLBlueprintHighlightEngine extends HighlightEngine_1.PLHighlightEngine {
|
|
|
114457
115220
|
}
|
|
114458
115221
|
exports.PLBlueprintHighlightEngine = PLBlueprintHighlightEngine;
|
|
114459
115222
|
|
|
114460
|
-
},{"./../../parser/syntax/nodes/SyntaxNodeFlow":
|
|
115223
|
+
},{"./../../parser/syntax/nodes/SyntaxNodeFlow":693,"./../../parser/syntax/nodes/SyntaxNodeSubstitution":695,"./../../utils/StringUtils":708,"./BlueprintHighlightEngineState":705,"./HighlightEngine":706}],705:[function(require,module,exports){
|
|
114461
115224
|
"use strict";
|
|
114462
115225
|
//
|
|
114463
115226
|
// BlueprintHighlightEngineState.ts
|
|
@@ -114620,7 +115383,7 @@ class PLBlueprintHighlightEngineState {
|
|
|
114620
115383
|
}
|
|
114621
115384
|
exports.PLBlueprintHighlightEngineState = PLBlueprintHighlightEngineState;
|
|
114622
115385
|
|
|
114623
|
-
},{}],
|
|
115386
|
+
},{}],706:[function(require,module,exports){
|
|
114624
115387
|
"use strict";
|
|
114625
115388
|
//
|
|
114626
115389
|
// PLHighlightEngine.ts
|
|
@@ -114720,7 +115483,7 @@ class PLHighlightEngine {
|
|
|
114720
115483
|
}
|
|
114721
115484
|
exports.PLHighlightEngine = PLHighlightEngine;
|
|
114722
115485
|
|
|
114723
|
-
},{}],
|
|
115486
|
+
},{}],707:[function(require,module,exports){
|
|
114724
115487
|
"use strict";
|
|
114725
115488
|
//
|
|
114726
115489
|
// FlowHelpers.ts
|
|
@@ -114765,7 +115528,7 @@ class FlowUtils {
|
|
|
114765
115528
|
}
|
|
114766
115529
|
exports.FlowUtils = FlowUtils;
|
|
114767
115530
|
|
|
114768
|
-
},{}],
|
|
115531
|
+
},{}],708:[function(require,module,exports){
|
|
114769
115532
|
"use strict";
|
|
114770
115533
|
//
|
|
114771
115534
|
// StringUtils.ts
|
|
@@ -115251,9 +116014,9 @@ class StringUtils {
|
|
|
115251
116014
|
}
|
|
115252
116015
|
exports.StringUtils = StringUtils;
|
|
115253
116016
|
|
|
115254
|
-
},{}],
|
|
116017
|
+
},{}],709:[function(require,module,exports){
|
|
115255
116018
|
module.exports = require('./lib/axios');
|
|
115256
|
-
},{"./lib/axios":
|
|
116019
|
+
},{"./lib/axios":711}],710:[function(require,module,exports){
|
|
115257
116020
|
'use strict';
|
|
115258
116021
|
|
|
115259
116022
|
var utils = require('./../utils');
|
|
@@ -115441,7 +116204,7 @@ module.exports = function xhrAdapter(config) {
|
|
|
115441
116204
|
});
|
|
115442
116205
|
};
|
|
115443
116206
|
|
|
115444
|
-
},{"../core/buildFullPath":
|
|
116207
|
+
},{"../core/buildFullPath":717,"../core/createError":718,"./../core/settle":722,"./../helpers/buildURL":726,"./../helpers/cookies":728,"./../helpers/isURLSameOrigin":730,"./../helpers/parseHeaders":732,"./../utils":734}],711:[function(require,module,exports){
|
|
115445
116208
|
'use strict';
|
|
115446
116209
|
|
|
115447
116210
|
var utils = require('./utils');
|
|
@@ -115496,7 +116259,7 @@ module.exports = axios;
|
|
|
115496
116259
|
// Allow use of default import syntax in TypeScript
|
|
115497
116260
|
module.exports.default = axios;
|
|
115498
116261
|
|
|
115499
|
-
},{"./cancel/Cancel":
|
|
116262
|
+
},{"./cancel/Cancel":712,"./cancel/CancelToken":713,"./cancel/isCancel":714,"./core/Axios":715,"./core/mergeConfig":721,"./defaults":724,"./helpers/bind":725,"./helpers/spread":733,"./utils":734}],712:[function(require,module,exports){
|
|
115500
116263
|
'use strict';
|
|
115501
116264
|
|
|
115502
116265
|
/**
|
|
@@ -115517,7 +116280,7 @@ Cancel.prototype.__CANCEL__ = true;
|
|
|
115517
116280
|
|
|
115518
116281
|
module.exports = Cancel;
|
|
115519
116282
|
|
|
115520
|
-
},{}],
|
|
116283
|
+
},{}],713:[function(require,module,exports){
|
|
115521
116284
|
'use strict';
|
|
115522
116285
|
|
|
115523
116286
|
var Cancel = require('./Cancel');
|
|
@@ -115576,14 +116339,14 @@ CancelToken.source = function source() {
|
|
|
115576
116339
|
|
|
115577
116340
|
module.exports = CancelToken;
|
|
115578
116341
|
|
|
115579
|
-
},{"./Cancel":
|
|
116342
|
+
},{"./Cancel":712}],714:[function(require,module,exports){
|
|
115580
116343
|
'use strict';
|
|
115581
116344
|
|
|
115582
116345
|
module.exports = function isCancel(value) {
|
|
115583
116346
|
return !!(value && value.__CANCEL__);
|
|
115584
116347
|
};
|
|
115585
116348
|
|
|
115586
|
-
},{}],
|
|
116349
|
+
},{}],715:[function(require,module,exports){
|
|
115587
116350
|
'use strict';
|
|
115588
116351
|
|
|
115589
116352
|
var utils = require('./../utils');
|
|
@@ -115679,7 +116442,7 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
|
|
|
115679
116442
|
|
|
115680
116443
|
module.exports = Axios;
|
|
115681
116444
|
|
|
115682
|
-
},{"../helpers/buildURL":
|
|
116445
|
+
},{"../helpers/buildURL":726,"./../utils":734,"./InterceptorManager":716,"./dispatchRequest":719,"./mergeConfig":721}],716:[function(require,module,exports){
|
|
115683
116446
|
'use strict';
|
|
115684
116447
|
|
|
115685
116448
|
var utils = require('./../utils');
|
|
@@ -115733,7 +116496,7 @@ InterceptorManager.prototype.forEach = function forEach(fn) {
|
|
|
115733
116496
|
|
|
115734
116497
|
module.exports = InterceptorManager;
|
|
115735
116498
|
|
|
115736
|
-
},{"./../utils":
|
|
116499
|
+
},{"./../utils":734}],717:[function(require,module,exports){
|
|
115737
116500
|
'use strict';
|
|
115738
116501
|
|
|
115739
116502
|
var isAbsoluteURL = require('../helpers/isAbsoluteURL');
|
|
@@ -115755,7 +116518,7 @@ module.exports = function buildFullPath(baseURL, requestedURL) {
|
|
|
115755
116518
|
return requestedURL;
|
|
115756
116519
|
};
|
|
115757
116520
|
|
|
115758
|
-
},{"../helpers/combineURLs":
|
|
116521
|
+
},{"../helpers/combineURLs":727,"../helpers/isAbsoluteURL":729}],718:[function(require,module,exports){
|
|
115759
116522
|
'use strict';
|
|
115760
116523
|
|
|
115761
116524
|
var enhanceError = require('./enhanceError');
|
|
@@ -115775,7 +116538,7 @@ module.exports = function createError(message, config, code, request, response)
|
|
|
115775
116538
|
return enhanceError(error, config, code, request, response);
|
|
115776
116539
|
};
|
|
115777
116540
|
|
|
115778
|
-
},{"./enhanceError":
|
|
116541
|
+
},{"./enhanceError":720}],719:[function(require,module,exports){
|
|
115779
116542
|
'use strict';
|
|
115780
116543
|
|
|
115781
116544
|
var utils = require('./../utils');
|
|
@@ -115856,7 +116619,7 @@ module.exports = function dispatchRequest(config) {
|
|
|
115856
116619
|
});
|
|
115857
116620
|
};
|
|
115858
116621
|
|
|
115859
|
-
},{"../cancel/isCancel":
|
|
116622
|
+
},{"../cancel/isCancel":714,"../defaults":724,"./../utils":734,"./transformData":723}],720:[function(require,module,exports){
|
|
115860
116623
|
'use strict';
|
|
115861
116624
|
|
|
115862
116625
|
/**
|
|
@@ -115900,7 +116663,7 @@ module.exports = function enhanceError(error, config, code, request, response) {
|
|
|
115900
116663
|
return error;
|
|
115901
116664
|
};
|
|
115902
116665
|
|
|
115903
|
-
},{}],
|
|
116666
|
+
},{}],721:[function(require,module,exports){
|
|
115904
116667
|
'use strict';
|
|
115905
116668
|
|
|
115906
116669
|
var utils = require('../utils');
|
|
@@ -115989,7 +116752,7 @@ module.exports = function mergeConfig(config1, config2) {
|
|
|
115989
116752
|
return config;
|
|
115990
116753
|
};
|
|
115991
116754
|
|
|
115992
|
-
},{"../utils":
|
|
116755
|
+
},{"../utils":734}],722:[function(require,module,exports){
|
|
115993
116756
|
'use strict';
|
|
115994
116757
|
|
|
115995
116758
|
var createError = require('./createError');
|
|
@@ -116016,7 +116779,7 @@ module.exports = function settle(resolve, reject, response) {
|
|
|
116016
116779
|
}
|
|
116017
116780
|
};
|
|
116018
116781
|
|
|
116019
|
-
},{"./createError":
|
|
116782
|
+
},{"./createError":718}],723:[function(require,module,exports){
|
|
116020
116783
|
'use strict';
|
|
116021
116784
|
|
|
116022
116785
|
var utils = require('./../utils');
|
|
@@ -116038,7 +116801,7 @@ module.exports = function transformData(data, headers, fns) {
|
|
|
116038
116801
|
return data;
|
|
116039
116802
|
};
|
|
116040
116803
|
|
|
116041
|
-
},{"./../utils":
|
|
116804
|
+
},{"./../utils":734}],724:[function(require,module,exports){
|
|
116042
116805
|
(function (process){(function (){
|
|
116043
116806
|
'use strict';
|
|
116044
116807
|
|
|
@@ -116140,7 +116903,7 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
|
|
|
116140
116903
|
module.exports = defaults;
|
|
116141
116904
|
|
|
116142
116905
|
}).call(this)}).call(this,require('_process'))
|
|
116143
|
-
},{"./adapters/http":
|
|
116906
|
+
},{"./adapters/http":710,"./adapters/xhr":710,"./helpers/normalizeHeaderName":731,"./utils":734,"_process":381}],725:[function(require,module,exports){
|
|
116144
116907
|
'use strict';
|
|
116145
116908
|
|
|
116146
116909
|
module.exports = function bind(fn, thisArg) {
|
|
@@ -116153,7 +116916,7 @@ module.exports = function bind(fn, thisArg) {
|
|
|
116153
116916
|
};
|
|
116154
116917
|
};
|
|
116155
116918
|
|
|
116156
|
-
},{}],
|
|
116919
|
+
},{}],726:[function(require,module,exports){
|
|
116157
116920
|
'use strict';
|
|
116158
116921
|
|
|
116159
116922
|
var utils = require('./../utils');
|
|
@@ -116225,7 +116988,7 @@ module.exports = function buildURL(url, params, paramsSerializer) {
|
|
|
116225
116988
|
return url;
|
|
116226
116989
|
};
|
|
116227
116990
|
|
|
116228
|
-
},{"./../utils":
|
|
116991
|
+
},{"./../utils":734}],727:[function(require,module,exports){
|
|
116229
116992
|
'use strict';
|
|
116230
116993
|
|
|
116231
116994
|
/**
|
|
@@ -116241,7 +117004,7 @@ module.exports = function combineURLs(baseURL, relativeURL) {
|
|
|
116241
117004
|
: baseURL;
|
|
116242
117005
|
};
|
|
116243
117006
|
|
|
116244
|
-
},{}],
|
|
117007
|
+
},{}],728:[function(require,module,exports){
|
|
116245
117008
|
'use strict';
|
|
116246
117009
|
|
|
116247
117010
|
var utils = require('./../utils');
|
|
@@ -116296,7 +117059,7 @@ module.exports = (
|
|
|
116296
117059
|
})()
|
|
116297
117060
|
);
|
|
116298
117061
|
|
|
116299
|
-
},{"./../utils":
|
|
117062
|
+
},{"./../utils":734}],729:[function(require,module,exports){
|
|
116300
117063
|
'use strict';
|
|
116301
117064
|
|
|
116302
117065
|
/**
|
|
@@ -116312,7 +117075,7 @@ module.exports = function isAbsoluteURL(url) {
|
|
|
116312
117075
|
return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
|
|
116313
117076
|
};
|
|
116314
117077
|
|
|
116315
|
-
},{}],
|
|
117078
|
+
},{}],730:[function(require,module,exports){
|
|
116316
117079
|
'use strict';
|
|
116317
117080
|
|
|
116318
117081
|
var utils = require('./../utils');
|
|
@@ -116382,7 +117145,7 @@ module.exports = (
|
|
|
116382
117145
|
})()
|
|
116383
117146
|
);
|
|
116384
117147
|
|
|
116385
|
-
},{"./../utils":
|
|
117148
|
+
},{"./../utils":734}],731:[function(require,module,exports){
|
|
116386
117149
|
'use strict';
|
|
116387
117150
|
|
|
116388
117151
|
var utils = require('../utils');
|
|
@@ -116396,7 +117159,7 @@ module.exports = function normalizeHeaderName(headers, normalizedName) {
|
|
|
116396
117159
|
});
|
|
116397
117160
|
};
|
|
116398
117161
|
|
|
116399
|
-
},{"../utils":
|
|
117162
|
+
},{"../utils":734}],732:[function(require,module,exports){
|
|
116400
117163
|
'use strict';
|
|
116401
117164
|
|
|
116402
117165
|
var utils = require('./../utils');
|
|
@@ -116451,7 +117214,7 @@ module.exports = function parseHeaders(headers) {
|
|
|
116451
117214
|
return parsed;
|
|
116452
117215
|
};
|
|
116453
117216
|
|
|
116454
|
-
},{"./../utils":
|
|
117217
|
+
},{"./../utils":734}],733:[function(require,module,exports){
|
|
116455
117218
|
'use strict';
|
|
116456
117219
|
|
|
116457
117220
|
/**
|
|
@@ -116480,7 +117243,7 @@ module.exports = function spread(callback) {
|
|
|
116480
117243
|
};
|
|
116481
117244
|
};
|
|
116482
117245
|
|
|
116483
|
-
},{}],
|
|
117246
|
+
},{}],734:[function(require,module,exports){
|
|
116484
117247
|
'use strict';
|
|
116485
117248
|
|
|
116486
117249
|
var bind = require('./helpers/bind');
|
|
@@ -116833,11 +117596,11 @@ module.exports = {
|
|
|
116833
117596
|
stripBOM: stripBOM
|
|
116834
117597
|
};
|
|
116835
117598
|
|
|
116836
|
-
},{"./helpers/bind":
|
|
117599
|
+
},{"./helpers/bind":725}],735:[function(require,module,exports){
|
|
116837
117600
|
var _ = require('./lodash.min').runInContext();
|
|
116838
117601
|
module.exports = require('./fp/_baseConvert')(_, _);
|
|
116839
117602
|
|
|
116840
|
-
},{"./fp/_baseConvert":
|
|
117603
|
+
},{"./fp/_baseConvert":736,"./lodash.min":740}],736:[function(require,module,exports){
|
|
116841
117604
|
var mapping = require('./_mapping'),
|
|
116842
117605
|
fallbackHolder = require('./placeholder');
|
|
116843
117606
|
|
|
@@ -117408,7 +118171,7 @@ function baseConvert(util, name, func, options) {
|
|
|
117408
118171
|
|
|
117409
118172
|
module.exports = baseConvert;
|
|
117410
118173
|
|
|
117411
|
-
},{"./_mapping":
|
|
118174
|
+
},{"./_mapping":737,"./placeholder":738}],737:[function(require,module,exports){
|
|
117412
118175
|
/** Used to map aliases to their real names. */
|
|
117413
118176
|
exports.aliasToReal = {
|
|
117414
118177
|
|
|
@@ -117768,7 +118531,7 @@ exports.skipRearg = {
|
|
|
117768
118531
|
'zipObjectDeep': true
|
|
117769
118532
|
};
|
|
117770
118533
|
|
|
117771
|
-
},{}],
|
|
118534
|
+
},{}],738:[function(require,module,exports){
|
|
117772
118535
|
/**
|
|
117773
118536
|
* The default argument placeholder value for methods.
|
|
117774
118537
|
*
|
|
@@ -117776,7 +118539,7 @@ exports.skipRearg = {
|
|
|
117776
118539
|
*/
|
|
117777
118540
|
module.exports = {};
|
|
117778
118541
|
|
|
117779
|
-
},{}],
|
|
118542
|
+
},{}],739:[function(require,module,exports){
|
|
117780
118543
|
(function (global){(function (){
|
|
117781
118544
|
/**
|
|
117782
118545
|
* @license
|
|
@@ -134941,7 +135704,7 @@ module.exports = {};
|
|
|
134941
135704
|
}.call(this));
|
|
134942
135705
|
|
|
134943
135706
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
134944
|
-
},{}],
|
|
135707
|
+
},{}],740:[function(require,module,exports){
|
|
134945
135708
|
(function (global){(function (){
|
|
134946
135709
|
/**
|
|
134947
135710
|
* @license
|
|
@@ -135083,7 +135846,7 @@ u&&(q.prototype[t]=function(){var t=this.__wrapped__,o=e?[1]:arguments,f=t insta
|
|
|
135083
135846
|
var t=hl[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);q.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(yh(u)?u:[],n)}return this[r](function(r){return t.apply(yh(r)?r:[],n)})}}),ee(Bt.prototype,function(n,t){var r=q[t];if(r){var e=r.name+"";yl.call(is,e)||(is[e]=[]),is[e].push({name:t,func:r})}}),is[Ju(Y,hn).name]=[{name:"wrapper",func:Y}],Bt.prototype.clone=Gt,Bt.prototype.reverse=Ht,Bt.prototype.value=Jt,q.prototype.at=Js,
|
|
135084
135847
|
q.prototype.chain=Xo,q.prototype.commit=nf,q.prototype.next=tf,q.prototype.plant=ef,q.prototype.reverse=uf,q.prototype.toJSON=q.prototype.valueOf=q.prototype.value=of,q.prototype.first=q.prototype.head,Ll&&(q.prototype[Ll]=rf),q},ge=ve();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(Xr._=ge,define(function(){return ge})):te?((te.exports=ge)._=ge,ne._=ge):Xr._=ge}).call(this);
|
|
135085
135848
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
135086
|
-
},{}],
|
|
135849
|
+
},{}],741:[function(require,module,exports){
|
|
135087
135850
|
//! moment.js
|
|
135088
135851
|
//! version : 2.29.1
|
|
135089
135852
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
@@ -140755,7 +141518,7 @@ q.prototype.chain=Xo,q.prototype.commit=nf,q.prototype.next=tf,q.prototype.plant
|
|
|
140755
141518
|
|
|
140756
141519
|
})));
|
|
140757
141520
|
|
|
140758
|
-
},{}],
|
|
141521
|
+
},{}],742:[function(require,module,exports){
|
|
140759
141522
|
"use strict";
|
|
140760
141523
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
140761
141524
|
exports.dedent = void 0;
|
|
@@ -140787,7 +141550,7 @@ function dedent(templ) {
|
|
|
140787
141550
|
exports.dedent = dedent;
|
|
140788
141551
|
exports.default = dedent;
|
|
140789
141552
|
|
|
140790
|
-
},{}],
|
|
141553
|
+
},{}],743:[function(require,module,exports){
|
|
140791
141554
|
"use strict";
|
|
140792
141555
|
|
|
140793
141556
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -140867,7 +141630,7 @@ var _stringify = _interopRequireDefault(require("./stringify.js"));
|
|
|
140867
141630
|
var _parse = _interopRequireDefault(require("./parse.js"));
|
|
140868
141631
|
|
|
140869
141632
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
140870
|
-
},{"./nil.js":
|
|
141633
|
+
},{"./nil.js":745,"./parse.js":746,"./stringify.js":750,"./v1.js":751,"./v3.js":752,"./v4.js":754,"./v5.js":755,"./validate.js":756,"./version.js":757}],744:[function(require,module,exports){
|
|
140871
141634
|
"use strict";
|
|
140872
141635
|
|
|
140873
141636
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -141091,7 +141854,7 @@ function md5ii(a, b, c, d, x, s, t) {
|
|
|
141091
141854
|
|
|
141092
141855
|
var _default = md5;
|
|
141093
141856
|
exports.default = _default;
|
|
141094
|
-
},{}],
|
|
141857
|
+
},{}],745:[function(require,module,exports){
|
|
141095
141858
|
"use strict";
|
|
141096
141859
|
|
|
141097
141860
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -141100,7 +141863,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
141100
141863
|
exports.default = void 0;
|
|
141101
141864
|
var _default = '00000000-0000-0000-0000-000000000000';
|
|
141102
141865
|
exports.default = _default;
|
|
141103
|
-
},{}],
|
|
141866
|
+
},{}],746:[function(require,module,exports){
|
|
141104
141867
|
"use strict";
|
|
141105
141868
|
|
|
141106
141869
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -141146,7 +141909,7 @@ function parse(uuid) {
|
|
|
141146
141909
|
|
|
141147
141910
|
var _default = parse;
|
|
141148
141911
|
exports.default = _default;
|
|
141149
|
-
},{"./validate.js":
|
|
141912
|
+
},{"./validate.js":756}],747:[function(require,module,exports){
|
|
141150
141913
|
"use strict";
|
|
141151
141914
|
|
|
141152
141915
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -141155,7 +141918,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
141155
141918
|
exports.default = void 0;
|
|
141156
141919
|
var _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
|
|
141157
141920
|
exports.default = _default;
|
|
141158
|
-
},{}],
|
|
141921
|
+
},{}],748:[function(require,module,exports){
|
|
141159
141922
|
"use strict";
|
|
141160
141923
|
|
|
141161
141924
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -141182,7 +141945,7 @@ function rng() {
|
|
|
141182
141945
|
|
|
141183
141946
|
return getRandomValues(rnds8);
|
|
141184
141947
|
}
|
|
141185
|
-
},{}],
|
|
141948
|
+
},{}],749:[function(require,module,exports){
|
|
141186
141949
|
"use strict";
|
|
141187
141950
|
|
|
141188
141951
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -141287,7 +142050,7 @@ function sha1(bytes) {
|
|
|
141287
142050
|
|
|
141288
142051
|
var _default = sha1;
|
|
141289
142052
|
exports.default = _default;
|
|
141290
|
-
},{}],
|
|
142053
|
+
},{}],750:[function(require,module,exports){
|
|
141291
142054
|
"use strict";
|
|
141292
142055
|
|
|
141293
142056
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -141327,7 +142090,7 @@ function stringify(arr, offset = 0) {
|
|
|
141327
142090
|
|
|
141328
142091
|
var _default = stringify;
|
|
141329
142092
|
exports.default = _default;
|
|
141330
|
-
},{"./validate.js":
|
|
142093
|
+
},{"./validate.js":756}],751:[function(require,module,exports){
|
|
141331
142094
|
"use strict";
|
|
141332
142095
|
|
|
141333
142096
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -141435,7 +142198,7 @@ function v1(options, buf, offset) {
|
|
|
141435
142198
|
|
|
141436
142199
|
var _default = v1;
|
|
141437
142200
|
exports.default = _default;
|
|
141438
|
-
},{"./rng.js":
|
|
142201
|
+
},{"./rng.js":748,"./stringify.js":750}],752:[function(require,module,exports){
|
|
141439
142202
|
"use strict";
|
|
141440
142203
|
|
|
141441
142204
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -141452,7 +142215,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
141452
142215
|
const v3 = (0, _v.default)('v3', 0x30, _md.default);
|
|
141453
142216
|
var _default = v3;
|
|
141454
142217
|
exports.default = _default;
|
|
141455
|
-
},{"./md5.js":
|
|
142218
|
+
},{"./md5.js":744,"./v35.js":753}],753:[function(require,module,exports){
|
|
141456
142219
|
"use strict";
|
|
141457
142220
|
|
|
141458
142221
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -141531,7 +142294,7 @@ function _default(name, version, hashfunc) {
|
|
|
141531
142294
|
generateUUID.URL = URL;
|
|
141532
142295
|
return generateUUID;
|
|
141533
142296
|
}
|
|
141534
|
-
},{"./parse.js":
|
|
142297
|
+
},{"./parse.js":746,"./stringify.js":750}],754:[function(require,module,exports){
|
|
141535
142298
|
"use strict";
|
|
141536
142299
|
|
|
141537
142300
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -141569,7 +142332,7 @@ function v4(options, buf, offset) {
|
|
|
141569
142332
|
|
|
141570
142333
|
var _default = v4;
|
|
141571
142334
|
exports.default = _default;
|
|
141572
|
-
},{"./rng.js":
|
|
142335
|
+
},{"./rng.js":748,"./stringify.js":750}],755:[function(require,module,exports){
|
|
141573
142336
|
"use strict";
|
|
141574
142337
|
|
|
141575
142338
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -141586,7 +142349,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
141586
142349
|
const v5 = (0, _v.default)('v5', 0x50, _sha.default);
|
|
141587
142350
|
var _default = v5;
|
|
141588
142351
|
exports.default = _default;
|
|
141589
|
-
},{"./sha1.js":
|
|
142352
|
+
},{"./sha1.js":749,"./v35.js":753}],756:[function(require,module,exports){
|
|
141590
142353
|
"use strict";
|
|
141591
142354
|
|
|
141592
142355
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -141604,7 +142367,7 @@ function validate(uuid) {
|
|
|
141604
142367
|
|
|
141605
142368
|
var _default = validate;
|
|
141606
142369
|
exports.default = _default;
|
|
141607
|
-
},{"./regex.js":
|
|
142370
|
+
},{"./regex.js":747}],757:[function(require,module,exports){
|
|
141608
142371
|
"use strict";
|
|
141609
142372
|
|
|
141610
142373
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -141626,4 +142389,4 @@ function version(uuid) {
|
|
|
141626
142389
|
|
|
141627
142390
|
var _default = version;
|
|
141628
142391
|
exports.default = _default;
|
|
141629
|
-
},{"./validate.js":
|
|
142392
|
+
},{"./validate.js":756}]},{},[1]);
|