notebook 7.4.2__py3-none-any.whl → 7.5.0a0__py3-none-any.whl
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.
Potentially problematic release.
This version of notebook might be problematic. Click here for more details.
- notebook/_version.py +1 -1
- notebook/app.py +1 -1
- notebook/static/131.2d7644b406b0d9c7c44a.js +1421 -0
- notebook/static/131.2d7644b406b0d9c7c44a.js.map +1 -0
- notebook/static/{132.db5d3c22f078a7818fd1.js → 132.691a95a70c9fe7c1cc8f.js} +3 -3
- notebook/static/{132.db5d3c22f078a7818fd1.js.map → 132.691a95a70c9fe7c1cc8f.js.map} +1 -1
- notebook/static/{1650.3a6b263c6a1d9657528d.js → 1650.b2bf74f5a7cda92e3c47.js} +4 -4
- notebook/static/{1650.3a6b263c6a1d9657528d.js.map → 1650.b2bf74f5a7cda92e3c47.js.map} +1 -1
- notebook/static/{1684.fd08e2bcbbfdab7f4613.js → 1684.84aef14d83b41275e33f.js} +5 -5
- notebook/static/{1684.fd08e2bcbbfdab7f4613.js.map → 1684.84aef14d83b41275e33f.js.map} +1 -1
- notebook/static/{1715.fd1bcb796c0a9a9fa28d.js → 1715.31ca8e6a27554059ae6d.js} +4 -4
- notebook/static/{1715.fd1bcb796c0a9a9fa28d.js.map → 1715.31ca8e6a27554059ae6d.js.map} +1 -1
- notebook/static/{2228.5897a4ab53c9c224da5d.js → 2228.e21c6943709bcbca9f11.js} +2 -2
- notebook/static/{2228.5897a4ab53c9c224da5d.js.map → 2228.e21c6943709bcbca9f11.js.map} +1 -1
- notebook/static/{7328.eee17040775379f2ebf7.js → 2634.57bfa6d5c5ae1e42dd9f.js} +2 -2
- notebook/static/{7328.eee17040775379f2ebf7.js.map → 2634.57bfa6d5c5ae1e42dd9f.js.map} +1 -1
- notebook/static/{2913.bb0dfcafeee2f97377fc.js → 2913.274b19d8f201991f4a69.js} +3 -3
- notebook/static/{2913.bb0dfcafeee2f97377fc.js.map → 2913.274b19d8f201991f4a69.js.map} +1 -1
- notebook/static/{3146.255a8679aedb1427878a.js → 3146.696d2e174781e130c374.js} +3 -3
- notebook/static/{3146.255a8679aedb1427878a.js.map → 3146.696d2e174781e130c374.js.map} +1 -1
- notebook/static/{3197.679087d3d6e90032272a.js → 3197.8a84a7c958622566cb33.js} +37 -36
- notebook/static/3197.8a84a7c958622566cb33.js.map +1 -0
- notebook/static/{3619.2e4bf80097f9890aef49.js → 3619.94f58ca9f340882ec9c0.js} +2 -2
- notebook/static/{3619.2e4bf80097f9890aef49.js.map → 3619.94f58ca9f340882ec9c0.js.map} +1 -1
- notebook/static/{3768.ed31c6101d464610b011.js → 3768.3e9bd8411c9d7a4f6852.js} +19 -19
- notebook/static/{7302.c66e4aebda9a8718f63a.js.map → 3768.3e9bd8411c9d7a4f6852.js.map} +1 -1
- notebook/static/{4324.fa653693694bd924557b.js → 4324.45d34a932e3f27ce8b2a.js} +308 -308
- notebook/static/4324.45d34a932e3f27ce8b2a.js.map +1 -0
- notebook/static/{4382.55f6fbec80dc2cbc38c6.js → 4382.dc6ea85d32495ccfe078.js} +3 -3
- notebook/static/{4382.55f6fbec80dc2cbc38c6.js.map → 4382.dc6ea85d32495ccfe078.js.map} +1 -1
- notebook/static/{4406.c435ee1d9e07c37b46e4.js → 4406.ef5d96031cc78e1fd755.js} +4 -4
- notebook/static/{4406.c435ee1d9e07c37b46e4.js.map → 4406.ef5d96031cc78e1fd755.js.map} +1 -1
- notebook/static/{4645.621dcf760b2636ab6a32.js → 4645.a07af6b2ee3dae0c8672.js} +5 -5
- notebook/static/{4645.621dcf760b2636ab6a32.js.map → 4645.a07af6b2ee3dae0c8672.js.map} +1 -1
- notebook/static/{4837.d93fa1362a1755054b7e.js → 4837.22eaa3eee463019de513.js} +3 -3
- notebook/static/{4837.d93fa1362a1755054b7e.js.map → 4837.22eaa3eee463019de513.js.map} +1 -1
- notebook/static/{4926.07f857be253dfe2d9b64.js → 4926.21f2bcadbb0c72c87992.js} +4 -4
- notebook/static/{4926.07f857be253dfe2d9b64.js.map → 4926.21f2bcadbb0c72c87992.js.map} +1 -1
- notebook/static/{5135.68030d482ad6e7d2705f.js → 5135.b04715b9a20abf2d857f.js} +11 -11
- notebook/static/{5135.68030d482ad6e7d2705f.js.map → 5135.b04715b9a20abf2d857f.js.map} +1 -1
- notebook/static/{5573.110f5ccc7780d0607efe.js → 5573.062d8043aaaea888131c.js} +17 -17
- notebook/static/{5573.110f5ccc7780d0607efe.js.map → 5573.062d8043aaaea888131c.js.map} +1 -1
- notebook/static/{5601.0846bb0c153a39d95381.js → 5601.df72883a74cbec5a4187.js} +5 -5
- notebook/static/{5601.0846bb0c153a39d95381.js.map → 5601.df72883a74cbec5a4187.js.map} +1 -1
- notebook/static/{9442.e301e4179b7c69c125d7.js → 6080.56aefff013f4272b815c.js} +2 -2
- notebook/static/{9442.e301e4179b7c69c125d7.js.map → 6080.56aefff013f4272b815c.js.map} +1 -1
- notebook/static/{131.729c28b8323daf822cbe.js → 6236.ea8288f99f42bcff0039.js} +1050 -1583
- notebook/static/6236.ea8288f99f42bcff0039.js.map +1 -0
- notebook/static/{6345.4acc733484bbafac321b.js → 6345.dcba68ca03484d6fe94c.js} +5 -5
- notebook/static/{6345.4acc733484bbafac321b.js.map → 6345.dcba68ca03484d6fe94c.js.map} +1 -1
- notebook/static/{7302.c66e4aebda9a8718f63a.js → 7302.71fdd01bf0458ccfabb0.js} +19 -19
- notebook/static/{3768.ed31c6101d464610b011.js.map → 7302.71fdd01bf0458ccfabb0.js.map} +1 -1
- notebook/static/{7906.238c7960444b3299bc27.js → 7906.4ca9aa5889ff47b2d092.js} +3 -3
- notebook/static/{7906.238c7960444b3299bc27.js.map → 7906.4ca9aa5889ff47b2d092.js.map} +1 -1
- notebook/static/{7995.228c3c90da185c130d89.js → 7995.45be6443b704da1daafc.js} +3 -3
- notebook/static/{7995.228c3c90da185c130d89.js.map → 7995.45be6443b704da1daafc.js.map} +1 -1
- notebook/static/{8579.175d3ae6dffdbf0145eb.js → 8579.943b51e580fe5ba6ec85.js} +13 -13
- notebook/static/{8579.175d3ae6dffdbf0145eb.js.map → 8579.943b51e580fe5ba6ec85.js.map} +1 -1
- notebook/static/{8781.8d9955710c04c689f0cd.js → 8781.30d203631c8d44cac089.js} +60 -60
- notebook/static/{8781.8d9955710c04c689f0cd.js.map → 8781.30d203631c8d44cac089.js.map} +1 -1
- notebook/static/{8845.ac1c5acb78cea4acee08.js → 8845.639ebc34b4688cf4bf1c.js} +7 -7
- notebook/static/{8845.ac1c5acb78cea4acee08.js.map → 8845.639ebc34b4688cf4bf1c.js.map} +1 -1
- notebook/static/{8875.16a8a1fab0136d70a5f8.js → 8875.d30b4bdb849b1c6e8e48.js} +4 -4
- notebook/static/{8875.16a8a1fab0136d70a5f8.js.map → 8875.d30b4bdb849b1c6e8e48.js.map} +1 -1
- notebook/static/{9068.7c89844254ee24f35eee.js → 9068.035c74d3ac5947308e33.js} +3 -3
- notebook/static/{9068.7c89844254ee24f35eee.js.map → 9068.035c74d3ac5947308e33.js.map} +1 -1
- notebook/static/{9380.0b5d548d01ddba3e4378.js → 9380.50c0ce4765c95fdad134.js} +5 -5
- notebook/static/{9380.0b5d548d01ddba3e4378.js.map → 9380.50c0ce4765c95fdad134.js.map} +1 -1
- notebook/static/main.1d8650f7e0beb0a70c21.js +1180 -0
- notebook/static/main.1d8650f7e0beb0a70c21.js.map +1 -0
- notebook/static/{notebook_core.7213b2fe0eabee62279d.js → notebook_core.3a39fd35e3d3188d26bc.js} +875 -6570
- notebook/static/{notebook_core.7213b2fe0eabee62279d.js.map → notebook_core.3a39fd35e3d3188d26bc.js.map} +1 -1
- notebook/static/third-party-licenses.json +104 -104
- notebook/templates/consoles.html +1 -1
- notebook/templates/edit.html +1 -1
- notebook/templates/error.html +1 -1
- notebook/templates/notebooks.html +1 -1
- notebook/templates/terminals.html +1 -1
- notebook/templates/tree.html +1 -1
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/package.json.orig +14 -14
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/documentsearch-extension/package.json.orig +4 -4
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/package.json.orig +6 -6
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/package.json.orig +9 -9
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/package.json.orig +15 -15
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/package.json +11 -11
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/package.json.orig +10 -10
- notebook-7.5.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.062ba75f2f2f3a8e26d3.js +1 -0
- notebook-7.4.2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.327ec9d7a9413375ec45.js → notebook-7.5.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.86d80b23f10dccd9fb98.js +1 -1
- notebook-7.4.2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/93.eae3497dd223d842d198.js → notebook-7.5.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/93.dab87fbc078083780f2b.js +1 -1
- notebook-7.5.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/981.d00f62cb382e25262fa3.js +1 -0
- notebook-7.5.0a0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.2ef44fd0409252b4639d.js +1 -0
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/third-party-licenses.json +2 -2
- {notebook-7.4.2.dist-info → notebook-7.5.0a0.dist-info}/METADATA +3 -3
- {notebook-7.4.2.dist-info → notebook-7.5.0a0.dist-info}/RECORD +117 -117
- notebook/static/131.729c28b8323daf822cbe.js.map +0 -1
- notebook/static/3197.679087d3d6e90032272a.js.map +0 -1
- notebook/static/4324.fa653693694bd924557b.js.map +0 -1
- notebook/static/5448.a9016133a2b9389ac102.js +0 -951
- notebook/static/5448.a9016133a2b9389ac102.js.map +0 -1
- notebook/static/main.4c52c91f103071190cb1.js +0 -1180
- notebook/static/main.4c52c91f103071190cb1.js.map +0 -1
- notebook-7.4.2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/199.f16f9d1ce907d41fa0e1.js +0 -1
- notebook-7.4.2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.4abd86605f9970bf2af0.js +0 -1
- notebook-7.4.2.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.a7f6d6f20e99b7f1c604.js +0 -1
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/etc/jupyter/jupyter_server_config.d/notebook.json +0 -0
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/applications/jupyter-notebook.desktop +0 -0
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/icons/hicolor/scalable/apps/notebook.svg +0 -0
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/menus.json +0 -0
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/pages.json +0 -0
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json +0 -0
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/title.json +0 -0
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/top.json +0 -0
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/zen.json +0 -0
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/open.json +0 -0
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/checkpoints.json +0 -0
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/edit-notebook-metadata.json +0 -0
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/full-width-notebook.json +0 -0
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/kernel-logo.json +0 -0
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json +0 -0
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/file-actions.json +0 -0
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/widget.json +0 -0
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/interface-switcher.json +0 -0
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/launch-tree.json +0 -0
- {notebook-7.4.2.data → notebook-7.5.0a0.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/style.js +0 -0
- {notebook-7.4.2.dist-info → notebook-7.5.0a0.dist-info}/WHEEL +0 -0
- {notebook-7.4.2.dist-info → notebook-7.5.0a0.dist-info}/entry_points.txt +0 -0
- {notebook-7.4.2.dist-info → notebook-7.5.0a0.dist-info}/licenses/LICENSE +0 -0
|
@@ -13,8 +13,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
13
13
|
NotebookTreeWidget: () => (/* reexport */ NotebookTreeWidget)
|
|
14
14
|
});
|
|
15
15
|
|
|
16
|
-
// EXTERNAL MODULE: consume shared module (default) @jupyterlab/ui-components@~4.
|
|
17
|
-
var index_js_ = __webpack_require__(
|
|
16
|
+
// EXTERNAL MODULE: consume shared module (default) @jupyterlab/ui-components@~4.5.0-alpha.0 (singleton) (fallback: ../node_modules/@jupyterlab/ui-components/lib/index.js)
|
|
17
|
+
var index_js_ = __webpack_require__(84478);
|
|
18
18
|
// EXTERNAL MODULE: consume shared module (default) @lumino/widgets@~2.7.1 (singleton) (fallback: ../node_modules/@lumino/widgets/dist/index.es6.js)
|
|
19
19
|
var index_es6_js_ = __webpack_require__(60920);
|
|
20
20
|
;// CONCATENATED MODULE: ../packages/tree/lib/notebook-tree.js
|
|
@@ -54,4 +54,4 @@ const INotebookTree = new dist_index_js_.Token('@jupyter-notebook/tree:INotebook
|
|
|
54
54
|
/***/ })
|
|
55
55
|
|
|
56
56
|
}]);
|
|
57
|
-
//# sourceMappingURL=3146.
|
|
57
|
+
//# sourceMappingURL=3146.696d2e174781e130c374.js.map?v=696d2e174781e130c374
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"3146.
|
|
1
|
+
{"version":3,"file":"3146.696d2e174781e130c374.js?v=696d2e174781e130c374","mappings":";;;;;;;;;;;;;;;;;;;;AAAsD;AACX;AAC3C;AACA;AACA;AACO,iCAAiC,sBAAQ;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,mBAAS;AAC/B,SAAS;AACT;AACA;AACA;;;;;ACjB0C;AAC1C;AACA;AACA;AACO,0BAA0B,oBAAK;;;ACJN;AACR","sources":["webpack://_JUPYTERLAB.CORE_OUTPUT/../packages/tree/lib/notebook-tree.js","webpack://_JUPYTERLAB.CORE_OUTPUT/../packages/tree/lib/token.js","webpack://_JUPYTERLAB.CORE_OUTPUT/../packages/tree/lib/index.js"],"sourcesContent":["import { TabBarSvg } from '@jupyterlab/ui-components';\nimport { TabPanel } from '@lumino/widgets';\n/**\n * The widget added in main area of the tree view.\n */\nexport class NotebookTreeWidget extends TabPanel {\n /**\n * Constructor of the NotebookTreeWidget.\n */\n constructor() {\n super({\n tabPlacement: 'top',\n tabsMovable: true,\n renderer: TabBarSvg.defaultRenderer,\n });\n this.addClass('jp-TreePanel');\n }\n}\n","import { Token } from '@lumino/coreutils';\n/**\n * The INotebookTree token.\n */\nexport const INotebookTree = new Token('@jupyter-notebook/tree:INotebookTree');\n","export * from './notebook-tree';\nexport * from './token';\n"],"names":[],"sourceRoot":""}
|
|
@@ -14418,7 +14418,7 @@ let globalInterruptionPeriod = 10;
|
|
|
14418
14418
|
*/
|
|
14419
14419
|
function startCancelableOperation() {
|
|
14420
14420
|
lastTick = performance.now();
|
|
14421
|
-
return new cancellation
|
|
14421
|
+
return new cancellation/* CancellationTokenSource */.AU();
|
|
14422
14422
|
}
|
|
14423
14423
|
/**
|
|
14424
14424
|
* Change the period duration for `interruptAndCheck` to the given number of milliseconds.
|
|
@@ -14452,7 +14452,7 @@ function isOperationCancelled(err) {
|
|
|
14452
14452
|
* the promise) to avoid that event being exposed as an error.
|
|
14453
14453
|
*/
|
|
14454
14454
|
async function interruptAndCheck(token) {
|
|
14455
|
-
if (token === cancellation
|
|
14455
|
+
if (token === cancellation/* CancellationToken */.Ts.None) {
|
|
14456
14456
|
// Early exit in case cancellation was disabled by the caller
|
|
14457
14457
|
return;
|
|
14458
14458
|
}
|
|
@@ -14827,13 +14827,13 @@ class DefaultLangiumDocumentFactory {
|
|
|
14827
14827
|
this.textDocuments = services.workspace.TextDocuments;
|
|
14828
14828
|
this.fileSystemProvider = services.workspace.FileSystemProvider;
|
|
14829
14829
|
}
|
|
14830
|
-
async fromUri(uri, cancellationToken = cancellation
|
|
14830
|
+
async fromUri(uri, cancellationToken = cancellation/* CancellationToken */.Ts.None) {
|
|
14831
14831
|
const content = await this.fileSystemProvider.readFile(uri);
|
|
14832
14832
|
return this.createAsync(uri, content, cancellationToken);
|
|
14833
14833
|
}
|
|
14834
14834
|
fromTextDocument(textDocument, uri, token) {
|
|
14835
14835
|
uri = uri !== null && uri !== void 0 ? uri : esm/* URI */.o.parse(textDocument.uri);
|
|
14836
|
-
if (cancellation
|
|
14836
|
+
if (cancellation/* CancellationToken */.Ts.is(token)) {
|
|
14837
14837
|
return this.createAsync(uri, textDocument, token);
|
|
14838
14838
|
}
|
|
14839
14839
|
else {
|
|
@@ -14841,7 +14841,7 @@ class DefaultLangiumDocumentFactory {
|
|
|
14841
14841
|
}
|
|
14842
14842
|
}
|
|
14843
14843
|
fromString(text, uri, token) {
|
|
14844
|
-
if (cancellation
|
|
14844
|
+
if (cancellation/* CancellationToken */.Ts.is(token)) {
|
|
14845
14845
|
return this.createAsync(uri, text, token);
|
|
14846
14846
|
}
|
|
14847
14847
|
else {
|
|
@@ -15041,7 +15041,7 @@ class DefaultLinker {
|
|
|
15041
15041
|
this.scopeProvider = services.references.ScopeProvider;
|
|
15042
15042
|
this.astNodeLocator = services.workspace.AstNodeLocator;
|
|
15043
15043
|
}
|
|
15044
|
-
async link(document, cancelToken = cancellation
|
|
15044
|
+
async link(document, cancelToken = cancellation/* CancellationToken */.Ts.None) {
|
|
15045
15045
|
for (const node of (0,ast_utils/* streamAst */.Zc)(document.parseResult.value)) {
|
|
15046
15046
|
await interruptAndCheck(cancelToken);
|
|
15047
15047
|
(0,ast_utils/* streamReferences */.fy)(node).forEach(ref => this.doLink(ref, document));
|
|
@@ -15554,7 +15554,7 @@ class DefaultScopeComputation {
|
|
|
15554
15554
|
this.nameProvider = services.references.NameProvider;
|
|
15555
15555
|
this.descriptions = services.workspace.AstNodeDescriptionProvider;
|
|
15556
15556
|
}
|
|
15557
|
-
async computeExports(document, cancelToken = cancellation
|
|
15557
|
+
async computeExports(document, cancelToken = cancellation/* CancellationToken */.Ts.None) {
|
|
15558
15558
|
return this.computeExportsForNode(document.parseResult.value, document, undefined, cancelToken);
|
|
15559
15559
|
}
|
|
15560
15560
|
/**
|
|
@@ -15569,7 +15569,7 @@ class DefaultScopeComputation {
|
|
|
15569
15569
|
* @throws `OperationCancelled` if a user action occurs during execution.
|
|
15570
15570
|
* @returns A list of {@link AstNodeDescription AstNodeDescriptions} to be published to index.
|
|
15571
15571
|
*/
|
|
15572
|
-
async computeExportsForNode(parentNode, document, children = ast_utils/* streamContents */.sx, cancelToken = cancellation
|
|
15572
|
+
async computeExportsForNode(parentNode, document, children = ast_utils/* streamContents */.sx, cancelToken = cancellation/* CancellationToken */.Ts.None) {
|
|
15573
15573
|
const exports = [];
|
|
15574
15574
|
this.exportNode(parentNode, exports, document);
|
|
15575
15575
|
for (const node of children(parentNode)) {
|
|
@@ -15588,7 +15588,7 @@ class DefaultScopeComputation {
|
|
|
15588
15588
|
exports.push(this.descriptions.createDescription(node, name, document));
|
|
15589
15589
|
}
|
|
15590
15590
|
}
|
|
15591
|
-
async computeLocalScopes(document, cancelToken = cancellation
|
|
15591
|
+
async computeLocalScopes(document, cancelToken = cancellation/* CancellationToken */.Ts.None) {
|
|
15592
15592
|
const rootNode = document.parseResult.value;
|
|
15593
15593
|
const scopes = new MultiMap();
|
|
15594
15594
|
// Here we navigate the full AST - local scopes shall be available in the whole document
|
|
@@ -16417,7 +16417,7 @@ class DefaultDocumentValidator {
|
|
|
16417
16417
|
this.validationRegistry = services.validation.ValidationRegistry;
|
|
16418
16418
|
this.metadata = services.LanguageMetaData;
|
|
16419
16419
|
}
|
|
16420
|
-
async validateDocument(document, options = {}, cancelToken = cancellation
|
|
16420
|
+
async validateDocument(document, options = {}, cancelToken = cancellation/* CancellationToken */.Ts.None) {
|
|
16421
16421
|
const parseResult = document.parseResult;
|
|
16422
16422
|
const diagnostics = [];
|
|
16423
16423
|
await interruptAndCheck(cancelToken);
|
|
@@ -16529,7 +16529,7 @@ class DefaultDocumentValidator {
|
|
|
16529
16529
|
}
|
|
16530
16530
|
}
|
|
16531
16531
|
}
|
|
16532
|
-
async validateAst(rootNode, options, cancelToken = cancellation
|
|
16532
|
+
async validateAst(rootNode, options, cancelToken = cancellation/* CancellationToken */.Ts.None) {
|
|
16533
16533
|
const validationItems = [];
|
|
16534
16534
|
const acceptor = (severity, message, info) => {
|
|
16535
16535
|
validationItems.push(this.toDiagnostic(severity, message, info));
|
|
@@ -16539,7 +16539,7 @@ class DefaultDocumentValidator {
|
|
|
16539
16539
|
await this.validateAstAfter(rootNode, options, acceptor, cancelToken);
|
|
16540
16540
|
return validationItems;
|
|
16541
16541
|
}
|
|
16542
|
-
async validateAstBefore(rootNode, options, acceptor, cancelToken = cancellation
|
|
16542
|
+
async validateAstBefore(rootNode, options, acceptor, cancelToken = cancellation/* CancellationToken */.Ts.None) {
|
|
16543
16543
|
var _a;
|
|
16544
16544
|
const checksBefore = this.validationRegistry.checksBefore;
|
|
16545
16545
|
for (const checkBefore of checksBefore) {
|
|
@@ -16547,7 +16547,7 @@ class DefaultDocumentValidator {
|
|
|
16547
16547
|
await checkBefore(rootNode, acceptor, (_a = options.categories) !== null && _a !== void 0 ? _a : [], cancelToken);
|
|
16548
16548
|
}
|
|
16549
16549
|
}
|
|
16550
|
-
async validateAstNodes(rootNode, options, acceptor, cancelToken = cancellation
|
|
16550
|
+
async validateAstNodes(rootNode, options, acceptor, cancelToken = cancellation/* CancellationToken */.Ts.None) {
|
|
16551
16551
|
await Promise.all((0,ast_utils/* streamAst */.Zc)(rootNode).map(async (node) => {
|
|
16552
16552
|
await interruptAndCheck(cancelToken);
|
|
16553
16553
|
const checks = this.validationRegistry.getChecks(node.$type, options.categories);
|
|
@@ -16556,7 +16556,7 @@ class DefaultDocumentValidator {
|
|
|
16556
16556
|
}
|
|
16557
16557
|
}));
|
|
16558
16558
|
}
|
|
16559
|
-
async validateAstAfter(rootNode, options, acceptor, cancelToken = cancellation
|
|
16559
|
+
async validateAstAfter(rootNode, options, acceptor, cancelToken = cancellation/* CancellationToken */.Ts.None) {
|
|
16560
16560
|
var _a;
|
|
16561
16561
|
const checksAfter = this.validationRegistry.checksAfter;
|
|
16562
16562
|
for (const checkAfter of checksAfter) {
|
|
@@ -16688,7 +16688,7 @@ class DefaultReferenceDescriptionProvider {
|
|
|
16688
16688
|
constructor(services) {
|
|
16689
16689
|
this.nodeLocator = services.workspace.AstNodeLocator;
|
|
16690
16690
|
}
|
|
16691
|
-
async createDescriptions(document, cancelToken = cancellation
|
|
16691
|
+
async createDescriptions(document, cancelToken = cancellation/* CancellationToken */.Ts.None) {
|
|
16692
16692
|
const descr = [];
|
|
16693
16693
|
const rootNode = document.parseResult.value;
|
|
16694
16694
|
for (const astNode of (0,ast_utils/* streamAst */.Zc)(rootNode)) {
|
|
@@ -16912,7 +16912,7 @@ class DefaultDocumentBuilder {
|
|
|
16912
16912
|
this.indexManager = services.workspace.IndexManager;
|
|
16913
16913
|
this.serviceRegistry = services.ServiceRegistry;
|
|
16914
16914
|
}
|
|
16915
|
-
async build(documents, options = {}, cancelToken = cancellation
|
|
16915
|
+
async build(documents, options = {}, cancelToken = cancellation/* CancellationToken */.Ts.None) {
|
|
16916
16916
|
var _a, _b;
|
|
16917
16917
|
for (const document of documents) {
|
|
16918
16918
|
const key = document.uri.toString();
|
|
@@ -16953,7 +16953,7 @@ class DefaultDocumentBuilder {
|
|
|
16953
16953
|
await this.emitUpdate(documents.map(e => e.uri), []);
|
|
16954
16954
|
await this.buildDocuments(documents, options, cancelToken);
|
|
16955
16955
|
}
|
|
16956
|
-
async update(changed, deleted, cancelToken = cancellation
|
|
16956
|
+
async update(changed, deleted, cancelToken = cancellation/* CancellationToken */.Ts.None) {
|
|
16957
16957
|
this.currentState = DocumentState.Changed;
|
|
16958
16958
|
// Remove all metadata of documents that are reported as deleted
|
|
16959
16959
|
for (const deletedUri of deleted) {
|
|
@@ -17155,7 +17155,7 @@ class DefaultDocumentBuilder {
|
|
|
17155
17155
|
else {
|
|
17156
17156
|
cancelToken = uriOrToken;
|
|
17157
17157
|
}
|
|
17158
|
-
cancelToken !== null && cancelToken !== void 0 ? cancelToken : (cancelToken = cancellation
|
|
17158
|
+
cancelToken !== null && cancelToken !== void 0 ? cancelToken : (cancelToken = cancellation/* CancellationToken */.Ts.None);
|
|
17159
17159
|
if (uri) {
|
|
17160
17160
|
const document = this.langiumDocuments.getDocument(uri);
|
|
17161
17161
|
if (document && document.state > state) {
|
|
@@ -17330,14 +17330,14 @@ class DefaultIndexManager {
|
|
|
17330
17330
|
this.symbolByTypeIndex.clear(uriString);
|
|
17331
17331
|
this.referenceIndex.delete(uriString);
|
|
17332
17332
|
}
|
|
17333
|
-
async updateContent(document, cancelToken = cancellation
|
|
17333
|
+
async updateContent(document, cancelToken = cancellation/* CancellationToken */.Ts.None) {
|
|
17334
17334
|
const services = this.serviceRegistry.getServices(document.uri);
|
|
17335
17335
|
const exports = await services.references.ScopeComputation.computeExports(document, cancelToken);
|
|
17336
17336
|
const uri = document.uri.toString();
|
|
17337
17337
|
this.symbolIndex.set(uri, exports);
|
|
17338
17338
|
this.symbolByTypeIndex.clear(uri);
|
|
17339
17339
|
}
|
|
17340
|
-
async updateReferences(document, cancelToken = cancellation
|
|
17340
|
+
async updateReferences(document, cancelToken = cancellation/* CancellationToken */.Ts.None) {
|
|
17341
17341
|
const services = this.serviceRegistry.getServices(document.uri);
|
|
17342
17342
|
const indexData = await services.workspace.ReferenceDescriptionProvider.createDescriptions(document, cancelToken);
|
|
17343
17343
|
this.referenceIndex.set(document.uri.toString(), indexData);
|
|
@@ -17385,7 +17385,7 @@ class DefaultWorkspaceManager {
|
|
|
17385
17385
|
// We still want to load additional documents (language library or similar) during initialization
|
|
17386
17386
|
return this.mutex.write(token => { var _a; return this.initializeWorkspace((_a = this.folders) !== null && _a !== void 0 ? _a : [], token); });
|
|
17387
17387
|
}
|
|
17388
|
-
async initializeWorkspace(folders, cancelToken = cancellation
|
|
17388
|
+
async initializeWorkspace(folders, cancelToken = cancellation/* CancellationToken */.Ts.None) {
|
|
17389
17389
|
const documents = await this.performStartup(folders);
|
|
17390
17390
|
// Only after creating all documents do we check whether we need to cancel the initialization
|
|
17391
17391
|
// The document builder will later pick up on all unprocessed documents
|
|
@@ -18298,7 +18298,7 @@ class ParserWorker {
|
|
|
18298
18298
|
|
|
18299
18299
|
class DefaultWorkspaceLock {
|
|
18300
18300
|
constructor() {
|
|
18301
|
-
this.previousTokenSource = new cancellation
|
|
18301
|
+
this.previousTokenSource = new cancellation/* CancellationTokenSource */.AU();
|
|
18302
18302
|
this.writeQueue = [];
|
|
18303
18303
|
this.readQueue = [];
|
|
18304
18304
|
this.done = true;
|
|
@@ -18312,7 +18312,7 @@ class DefaultWorkspaceLock {
|
|
|
18312
18312
|
read(action) {
|
|
18313
18313
|
return this.enqueue(this.readQueue, action);
|
|
18314
18314
|
}
|
|
18315
|
-
enqueue(queue, action, cancellationToken = cancellation
|
|
18315
|
+
enqueue(queue, action, cancellationToken = cancellation/* CancellationToken */.Ts.None) {
|
|
18316
18316
|
const deferred = new promise_utils_Deferred();
|
|
18317
18317
|
const entry = {
|
|
18318
18318
|
action,
|
|
@@ -23358,13 +23358,14 @@ process.umask = function() { return 0; };
|
|
|
23358
23358
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
23359
23359
|
|
|
23360
23360
|
"use strict";
|
|
23361
|
+
var __webpack_unused_export__;
|
|
23361
23362
|
|
|
23362
23363
|
/*---------------------------------------------------------------------------------------------
|
|
23363
23364
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
23364
23365
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
23365
23366
|
*--------------------------------------------------------------------------------------------*/
|
|
23366
|
-
|
|
23367
|
-
exports.
|
|
23367
|
+
__webpack_unused_export__ = ({ value: true });
|
|
23368
|
+
exports.AU = exports.Ts = void 0;
|
|
23368
23369
|
const ral_1 = __webpack_require__(48094);
|
|
23369
23370
|
const Is = __webpack_require__(78472);
|
|
23370
23371
|
const events_1 = __webpack_require__(345);
|
|
@@ -23385,10 +23386,10 @@ var CancellationToken;
|
|
|
23385
23386
|
|| (Is.boolean(candidate.isCancellationRequested) && !!candidate.onCancellationRequested));
|
|
23386
23387
|
}
|
|
23387
23388
|
CancellationToken.is = is;
|
|
23388
|
-
})(CancellationToken || (exports.
|
|
23389
|
+
})(CancellationToken = exports.Ts || (exports.Ts = {}));
|
|
23389
23390
|
const shortcutEvent = Object.freeze(function (callback, context) {
|
|
23390
|
-
const handle =
|
|
23391
|
-
return { dispose() {
|
|
23391
|
+
const handle = ral_1.default().timer.setTimeout(callback.bind(context), 0);
|
|
23392
|
+
return { dispose() { ral_1.default().timer.clearTimeout(handle); } };
|
|
23392
23393
|
});
|
|
23393
23394
|
class MutableToken {
|
|
23394
23395
|
constructor() {
|
|
@@ -23453,8 +23454,8 @@ class CancellationTokenSource {
|
|
|
23453
23454
|
}
|
|
23454
23455
|
}
|
|
23455
23456
|
}
|
|
23456
|
-
exports.
|
|
23457
|
-
|
|
23457
|
+
exports.AU = CancellationTokenSource;
|
|
23458
|
+
//# sourceMappingURL=cancellation.js.map
|
|
23458
23459
|
|
|
23459
23460
|
/***/ }),
|
|
23460
23461
|
|
|
@@ -23474,7 +23475,7 @@ var Event;
|
|
|
23474
23475
|
(function (Event) {
|
|
23475
23476
|
const _disposable = { dispose() { } };
|
|
23476
23477
|
Event.None = function () { return _disposable; };
|
|
23477
|
-
})(Event
|
|
23478
|
+
})(Event = exports.Event || (exports.Event = {}));
|
|
23478
23479
|
class CallbackList {
|
|
23479
23480
|
add(callback, context = null, bucket) {
|
|
23480
23481
|
if (!this._callbacks) {
|
|
@@ -23520,7 +23521,7 @@ class CallbackList {
|
|
|
23520
23521
|
}
|
|
23521
23522
|
catch (e) {
|
|
23522
23523
|
// eslint-disable-next-line no-console
|
|
23523
|
-
|
|
23524
|
+
ral_1.default().console.error(e);
|
|
23524
23525
|
}
|
|
23525
23526
|
}
|
|
23526
23527
|
return ret;
|
|
@@ -23590,7 +23591,7 @@ class Emitter {
|
|
|
23590
23591
|
}
|
|
23591
23592
|
exports.Emitter = Emitter;
|
|
23592
23593
|
Emitter._noop = function () { };
|
|
23593
|
-
|
|
23594
|
+
//# sourceMappingURL=events.js.map
|
|
23594
23595
|
|
|
23595
23596
|
/***/ }),
|
|
23596
23597
|
|
|
@@ -23633,7 +23634,7 @@ function stringArray(value) {
|
|
|
23633
23634
|
return array(value) && value.every(elem => string(elem));
|
|
23634
23635
|
}
|
|
23635
23636
|
exports.stringArray = stringArray;
|
|
23636
|
-
|
|
23637
|
+
//# sourceMappingURL=is.js.map
|
|
23637
23638
|
|
|
23638
23639
|
/***/ }),
|
|
23639
23640
|
|
|
@@ -23664,7 +23665,7 @@ function RAL() {
|
|
|
23664
23665
|
RAL.install = install;
|
|
23665
23666
|
})(RAL || (RAL = {}));
|
|
23666
23667
|
exports["default"] = RAL;
|
|
23667
|
-
|
|
23668
|
+
//# sourceMappingURL=ral.js.map
|
|
23668
23669
|
|
|
23669
23670
|
/***/ }),
|
|
23670
23671
|
|
|
@@ -23683,4 +23684,4 @@ var LIB;(()=>{"use strict";var t={470:t=>{function e(t){if("string"!=typeof t)th
|
|
|
23683
23684
|
/***/ })
|
|
23684
23685
|
|
|
23685
23686
|
}]);
|
|
23686
|
-
//# sourceMappingURL=3197.
|
|
23687
|
+
//# sourceMappingURL=3197.8a84a7c958622566cb33.js.map?v=8a84a7c958622566cb33
|