notebook 7.4.0rc0__py3-none-any.whl → 7.4.1__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/static/{6236.ea8288f99f42bcff0039.js → 131.729c28b8323daf822cbe.js} +1583 -1050
- notebook/static/131.729c28b8323daf822cbe.js.map +1 -0
- notebook/static/{132.691a95a70c9fe7c1cc8f.js → 132.bbe0fd1e86fe078554cf.js} +2 -2
- notebook/static/{132.691a95a70c9fe7c1cc8f.js.map → 132.bbe0fd1e86fe078554cf.js.map} +1 -1
- notebook/static/{1650.5f86769d792e2f6834a2.js → 1650.bd3dea9432a7b69e4012.js} +4 -4
- notebook/static/{1650.5f86769d792e2f6834a2.js.map → 1650.bd3dea9432a7b69e4012.js.map} +1 -1
- notebook/static/{1684.83d8262288c722749256.js → 1684.469ee39cd97efd230d13.js} +5 -5
- notebook/static/{1684.83d8262288c722749256.js.map → 1684.469ee39cd97efd230d13.js.map} +1 -1
- notebook/static/{1715.31ca8e6a27554059ae6d.js → 1715.eb47d8a8fb23246d8368.js} +2 -2
- notebook/static/{1715.31ca8e6a27554059ae6d.js.map → 1715.eb47d8a8fb23246d8368.js.map} +1 -1
- notebook/static/{2228.4829c4be5d1369fc8c08.js → 2228.cda3deed71ac4d488b32.js} +2 -2
- notebook/static/{2228.4829c4be5d1369fc8c08.js.map → 2228.cda3deed71ac4d488b32.js.map} +1 -1
- notebook/static/{2913.5b676d091e1bc049840e.js → 2913.274b19d8f201991f4a69.js} +6 -6
- notebook/static/{2913.5b676d091e1bc049840e.js.map → 2913.274b19d8f201991f4a69.js.map} +1 -1
- notebook/static/{3146.0b943ef87caf8b2e0a25.js → 3146.b71b9d3886943ad605eb.js} +3 -3
- notebook/static/{3146.0b943ef87caf8b2e0a25.js.map → 3146.b71b9d3886943ad605eb.js.map} +1 -1
- notebook/static/{3197.9c2bb14fe784ee4c4642.js → 3197.c29a6f351f8c45adc2c5.js} +36 -37
- notebook/static/3197.c29a6f351f8c45adc2c5.js.map +1 -0
- notebook/static/{35.72c8a277c008cd943d91.js → 35.a486baf38b12aec5500f.js} +8 -22
- notebook/static/35.a486baf38b12aec5500f.js.map +1 -0
- notebook/static/{3619.94f58ca9f340882ec9c0.js → 3619.2e4bf80097f9890aef49.js} +2 -2
- notebook/static/{3619.94f58ca9f340882ec9c0.js.map → 3619.2e4bf80097f9890aef49.js.map} +1 -1
- notebook/static/{3768.d16e5254885f02885c3d.js → 3768.c850ec7880427e2d8e7f.js} +19 -19
- notebook/static/{7302.210ed2fce68cc9e56baf.js.map → 3768.c850ec7880427e2d8e7f.js.map} +1 -1
- notebook/static/{4324.efe0e7d5f17747588b74.js → 4324.fa653693694bd924557b.js} +308 -308
- notebook/static/4324.fa653693694bd924557b.js.map +1 -0
- notebook/static/{4382.f9db37f20cfcaaf6b192.js → 4382.d1360122785a038484e0.js} +3 -3
- notebook/static/{4382.f9db37f20cfcaaf6b192.js.map → 4382.d1360122785a038484e0.js.map} +1 -1
- notebook/static/{4406.8f272b06e8189d43ff5f.js → 4406.51814faad101884133fc.js} +5 -5
- notebook/static/{4406.8f272b06e8189d43ff5f.js.map → 4406.51814faad101884133fc.js.map} +1 -1
- notebook/static/{4645.f4ada6e941739ab9cfe7.js → 4645.9436fccf76f33495a266.js} +5 -5
- notebook/static/{4645.f4ada6e941739ab9cfe7.js.map → 4645.9436fccf76f33495a266.js.map} +1 -1
- notebook/static/{4837.87ff4e1392eeb22eab68.js → 4837.7d1b7cbf2f7bd5ff4274.js} +3 -3
- notebook/static/{4837.87ff4e1392eeb22eab68.js.map → 4837.7d1b7cbf2f7bd5ff4274.js.map} +1 -1
- notebook/static/{5135.9e823bbe23ab8fce7485.js → 5135.ca1cde8737ca87b8bf99.js} +11 -11
- notebook/static/{5135.9e823bbe23ab8fce7485.js.map → 5135.ca1cde8737ca87b8bf99.js.map} +1 -1
- notebook/static/5448.a9016133a2b9389ac102.js +951 -0
- notebook/static/5448.a9016133a2b9389ac102.js.map +1 -0
- notebook/static/{5573.4e4a07a102aa4b698ad9.js → 5573.99719d9cbf6ef3c79d1b.js} +17 -17
- notebook/static/{5573.4e4a07a102aa4b698ad9.js.map → 5573.99719d9cbf6ef3c79d1b.js.map} +1 -1
- notebook/static/{5601.46e8997c661be165fdbc.js → 5601.969b0f91318ba0d2c861.js} +5 -5
- notebook/static/{5601.46e8997c661be165fdbc.js.map → 5601.969b0f91318ba0d2c861.js.map} +1 -1
- notebook/static/{6345.d2829fcc732af2d87e50.js → 6345.fde2b9716946005d7b7e.js} +5 -5
- notebook/static/{6345.d2829fcc732af2d87e50.js.map → 6345.fde2b9716946005d7b7e.js.map} +1 -1
- notebook/static/{7302.210ed2fce68cc9e56baf.js → 7302.1028638d31004cdf54d7.js} +19 -19
- notebook/static/{3768.d16e5254885f02885c3d.js.map → 7302.1028638d31004cdf54d7.js.map} +1 -1
- notebook/static/{8218.983a3a002f016180aaab.js → 79.d9f6943863b1ed92fd09.js} +2 -2
- notebook/static/79.d9f6943863b1ed92fd09.js.map +1 -0
- notebook/static/{7906.2098cc1a1dc3238f8ad2.js → 7906.24a1d6f559e938f1f246.js} +3 -3
- notebook/static/{7906.2098cc1a1dc3238f8ad2.js.map → 7906.24a1d6f559e938f1f246.js.map} +1 -1
- notebook/static/{7995.d2f86b134a69be502c66.js → 7995.45be6443b704da1daafc.js} +3 -3
- notebook/static/{7995.d2f86b134a69be502c66.js.map → 7995.45be6443b704da1daafc.js.map} +1 -1
- notebook/static/{8579.ad02e595ead106b0b1ee.js → 8579.0f2ffb7e91b073333052.js} +13 -13
- notebook/static/{8579.ad02e595ead106b0b1ee.js.map → 8579.0f2ffb7e91b073333052.js.map} +1 -1
- notebook/static/{8781.d81d90b25d80ec2ab1fd.js → 8781.d22825cc38dd63ea198a.js} +60 -60
- notebook/static/{8781.d81d90b25d80ec2ab1fd.js.map → 8781.d22825cc38dd63ea198a.js.map} +1 -1
- notebook/static/{8845.639ebc34b4688cf4bf1c.js → 8845.ac1c5acb78cea4acee08.js} +7 -7
- notebook/static/{8845.639ebc34b4688cf4bf1c.js.map → 8845.ac1c5acb78cea4acee08.js.map} +1 -1
- notebook/static/{8875.079217ce5afa19dbc0f9.js → 8875.930af4f2d02cb069202b.js} +4 -4
- notebook/static/{8875.079217ce5afa19dbc0f9.js.map → 8875.930af4f2d02cb069202b.js.map} +1 -1
- notebook/static/{9068.82ae319a47d720f38db3.js → 9068.540551911cf35d92ccfa.js} +3 -3
- notebook/static/{9068.82ae319a47d720f38db3.js.map → 9068.540551911cf35d92ccfa.js.map} +1 -1
- notebook/static/{9380.ad0e839141388a05c188.js → 9380.2b805e488d46c14c20a1.js} +5 -5
- notebook/static/{9380.ad0e839141388a05c188.js.map → 9380.2b805e488d46c14c20a1.js.map} +1 -1
- notebook/static/{7789.3c3f5c1f233554a2add2.js → 9829.721a68fc1383b3bbff0c.js} +2 -2
- notebook/static/{7789.3c3f5c1f233554a2add2.js.map → 9829.721a68fc1383b3bbff0c.js.map} +1 -1
- notebook/static/main.e0796ccdb91661ecf6f0.js +1180 -0
- notebook/static/main.e0796ccdb91661ecf6f0.js.map +1 -0
- notebook/static/{notebook_core.9ad1da3c56e4826a4ef1.js → notebook_core.be06dafd0b7aa6754ffa.js} +6623 -856
- notebook/static/{notebook_core.9ad1da3c56e4826a4ef1.js.map → notebook_core.be06dafd0b7aa6754ffa.js.map} +1 -1
- notebook/static/third-party-licenses.json +105 -105
- 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.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/package.json.orig +14 -14
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/documentsearch-extension/package.json.orig +4 -4
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/package.json.orig +6 -6
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/package.json.orig +9 -9
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/package.json.orig +15 -15
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/package.json +11 -11
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/package.json.orig +10 -10
- notebook-7.4.0rc0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.1feb8bd10f19f8a92019.js → notebook-7.4.1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/568.3cb448443af65777b224.js +1 -1
- notebook-7.4.0rc0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/725.463c10ca93fb80504994.js → notebook-7.4.1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/644.9e5b98f5332cc9dc3be5.js +1 -1
- notebook-7.4.0rc0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.425dc0ea93c5e2c0f71b.js → notebook-7.4.1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/928.daae2253ddb4a34b8e58.js +1 -1
- notebook-7.4.1.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.642880ef752d818c35bb.js +1 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/third-party-licenses.json +2 -2
- {notebook-7.4.0rc0.dist-info → notebook-7.4.1.dist-info}/METADATA +1 -1
- {notebook-7.4.0rc0.dist-info → notebook-7.4.1.dist-info}/RECORD +116 -116
- notebook/static/131.2d7644b406b0d9c7c44a.js +0 -1421
- notebook/static/131.2d7644b406b0d9c7c44a.js.map +0 -1
- notebook/static/3197.9c2bb14fe784ee4c4642.js.map +0 -1
- notebook/static/35.72c8a277c008cd943d91.js.map +0 -1
- notebook/static/4324.efe0e7d5f17747588b74.js.map +0 -1
- notebook/static/6236.ea8288f99f42bcff0039.js.map +0 -1
- notebook/static/8218.983a3a002f016180aaab.js.map +0 -1
- notebook/static/main.dad00688ccd4a81f2089.js +0 -1180
- notebook/static/main.dad00688ccd4a81f2089.js.map +0 -1
- notebook-7.4.0rc0.data/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/remoteEntry.e85e1e9e3320da7cee87.js +0 -1
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/etc/jupyter/jupyter_server_config.d/notebook.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/applications/jupyter-notebook.desktop +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/icons/hicolor/scalable/apps/notebook.svg +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/menus.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/pages.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/title.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/top.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/zen.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/help-extension/open.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/checkpoints.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/edit-notebook-metadata.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/full-width-notebook.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/kernel-logo.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/file-actions.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/lab/schemas/@jupyter-notebook/tree-extension/widget.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/interface-switcher.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/schemas/@jupyter-notebook/lab-extension/launch-tree.json +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/93.eae3497dd223d842d198.js +0 -0
- {notebook-7.4.0rc0.data → notebook-7.4.1.data}/data/share/jupyter/labextensions/@jupyter-notebook/lab-extension/static/style.js +0 -0
- {notebook-7.4.0rc0.dist-info → notebook-7.4.1.dist-info}/WHEEL +0 -0
- {notebook-7.4.0rc0.dist-info → notebook-7.4.1.dist-info}/entry_points.txt +0 -0
- {notebook-7.4.0rc0.dist-info → notebook-7.4.1.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.4.
|
|
17
|
-
var index_js_ = __webpack_require__(
|
|
16
|
+
// EXTERNAL MODULE: consume shared module (default) @jupyterlab/ui-components@~4.4.1 (singleton) (fallback: ../node_modules/@jupyterlab/ui-components/lib/index.js)
|
|
17
|
+
var index_js_ = __webpack_require__(62169);
|
|
18
18
|
// EXTERNAL MODULE: consume shared module (default) @lumino/widgets@~2.7.0 (singleton) (fallback: ../node_modules/@lumino/widgets/dist/index.es6.js)
|
|
19
19
|
var index_es6_js_ = __webpack_require__(47659);
|
|
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.b71b9d3886943ad605eb.js.map?v=b71b9d3886943ad605eb
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"3146.
|
|
1
|
+
{"version":3,"file":"3146.b71b9d3886943ad605eb.js?v=b71b9d3886943ad605eb","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();
|
|
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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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();
|
|
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.None) {
|
|
18316
18316
|
const deferred = new promise_utils_Deferred();
|
|
18317
18317
|
const entry = {
|
|
18318
18318
|
action,
|
|
@@ -23358,14 +23358,13 @@ process.umask = function() { return 0; };
|
|
|
23358
23358
|
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
23359
23359
|
|
|
23360
23360
|
"use strict";
|
|
23361
|
-
var __webpack_unused_export__;
|
|
23362
23361
|
|
|
23363
23362
|
/*---------------------------------------------------------------------------------------------
|
|
23364
23363
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
23365
23364
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
23366
23365
|
*--------------------------------------------------------------------------------------------*/
|
|
23367
|
-
|
|
23368
|
-
exports.
|
|
23366
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
23367
|
+
exports.CancellationTokenSource = exports.CancellationToken = void 0;
|
|
23369
23368
|
const ral_1 = __webpack_require__(48094);
|
|
23370
23369
|
const Is = __webpack_require__(78472);
|
|
23371
23370
|
const events_1 = __webpack_require__(345);
|
|
@@ -23386,10 +23385,10 @@ var CancellationToken;
|
|
|
23386
23385
|
|| (Is.boolean(candidate.isCancellationRequested) && !!candidate.onCancellationRequested));
|
|
23387
23386
|
}
|
|
23388
23387
|
CancellationToken.is = is;
|
|
23389
|
-
})(CancellationToken
|
|
23388
|
+
})(CancellationToken || (exports.CancellationToken = CancellationToken = {}));
|
|
23390
23389
|
const shortcutEvent = Object.freeze(function (callback, context) {
|
|
23391
|
-
const handle = ral_1.default().timer.setTimeout(callback.bind(context), 0);
|
|
23392
|
-
return { dispose() {
|
|
23390
|
+
const handle = (0, ral_1.default)().timer.setTimeout(callback.bind(context), 0);
|
|
23391
|
+
return { dispose() { handle.dispose(); } };
|
|
23393
23392
|
});
|
|
23394
23393
|
class MutableToken {
|
|
23395
23394
|
constructor() {
|
|
@@ -23454,8 +23453,8 @@ class CancellationTokenSource {
|
|
|
23454
23453
|
}
|
|
23455
23454
|
}
|
|
23456
23455
|
}
|
|
23457
|
-
exports.
|
|
23458
|
-
|
|
23456
|
+
exports.CancellationTokenSource = CancellationTokenSource;
|
|
23457
|
+
|
|
23459
23458
|
|
|
23460
23459
|
/***/ }),
|
|
23461
23460
|
|
|
@@ -23475,7 +23474,7 @@ var Event;
|
|
|
23475
23474
|
(function (Event) {
|
|
23476
23475
|
const _disposable = { dispose() { } };
|
|
23477
23476
|
Event.None = function () { return _disposable; };
|
|
23478
|
-
})(Event
|
|
23477
|
+
})(Event || (exports.Event = Event = {}));
|
|
23479
23478
|
class CallbackList {
|
|
23480
23479
|
add(callback, context = null, bucket) {
|
|
23481
23480
|
if (!this._callbacks) {
|
|
@@ -23521,7 +23520,7 @@ class CallbackList {
|
|
|
23521
23520
|
}
|
|
23522
23521
|
catch (e) {
|
|
23523
23522
|
// eslint-disable-next-line no-console
|
|
23524
|
-
ral_1.default().console.error(e);
|
|
23523
|
+
(0, ral_1.default)().console.error(e);
|
|
23525
23524
|
}
|
|
23526
23525
|
}
|
|
23527
23526
|
return ret;
|
|
@@ -23591,7 +23590,7 @@ class Emitter {
|
|
|
23591
23590
|
}
|
|
23592
23591
|
exports.Emitter = Emitter;
|
|
23593
23592
|
Emitter._noop = function () { };
|
|
23594
|
-
|
|
23593
|
+
|
|
23595
23594
|
|
|
23596
23595
|
/***/ }),
|
|
23597
23596
|
|
|
@@ -23634,7 +23633,7 @@ function stringArray(value) {
|
|
|
23634
23633
|
return array(value) && value.every(elem => string(elem));
|
|
23635
23634
|
}
|
|
23636
23635
|
exports.stringArray = stringArray;
|
|
23637
|
-
|
|
23636
|
+
|
|
23638
23637
|
|
|
23639
23638
|
/***/ }),
|
|
23640
23639
|
|
|
@@ -23665,7 +23664,7 @@ function RAL() {
|
|
|
23665
23664
|
RAL.install = install;
|
|
23666
23665
|
})(RAL || (RAL = {}));
|
|
23667
23666
|
exports["default"] = RAL;
|
|
23668
|
-
|
|
23667
|
+
|
|
23669
23668
|
|
|
23670
23669
|
/***/ }),
|
|
23671
23670
|
|
|
@@ -23684,4 +23683,4 @@ var LIB;(()=>{"use strict";var t={470:t=>{function e(t){if("string"!=typeof t)th
|
|
|
23684
23683
|
/***/ })
|
|
23685
23684
|
|
|
23686
23685
|
}]);
|
|
23687
|
-
//# sourceMappingURL=3197.
|
|
23686
|
+
//# sourceMappingURL=3197.c29a6f351f8c45adc2c5.js.map?v=c29a6f351f8c45adc2c5
|