antosdk-apps/MonacoCore/bundle/node_modules_monaco-editor_esm_vs_basic-languages_typescript_typescript_js.bundle.js

22 lines
13 KiB
JavaScript
Raw Normal View History

2021-04-19 15:08:15 +02:00
/*
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
(self["webpackChunkbrowser_esm_webpack"] = self["webpackChunkbrowser_esm_webpack"] || []).push([["node_modules_monaco-editor_esm_vs_basic-languages_typescript_typescript_js"],{
/***/ "./node_modules/monaco-editor/esm/vs/basic-languages/typescript/typescript.js":
/*!************************************************************************************!*\
!*** ./node_modules/monaco-editor/esm/vs/basic-languages/typescript/typescript.js ***!
\************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"conf\": () => (/* binding */ conf),\n/* harmony export */ \"language\": () => (/* binding */ language)\n/* harmony export */ });\n/* harmony import */ var _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../fillers/monaco-editor-core.js */ \"./node_modules/monaco-editor/esm/vs/basic-languages/fillers/monaco-editor-core.js\");\n/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\n\r\nvar conf = {\r\n wordPattern: /(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)/g,\r\n comments: {\r\n lineComment: '//',\r\n blockComment: ['/*', '*/']\r\n },\r\n brackets: [\r\n ['{', '}'],\r\n ['[', ']'],\r\n ['(', ')']\r\n ],\r\n onEnterRules: [\r\n {\r\n // e.g. /** | */\r\n beforeText: /^\\s*\\/\\*\\*(?!\\/)([^\\*]|\\*(?!\\/))*$/,\r\n afterText: /^\\s*\\*\\/$/,\r\n action: {\r\n indentAction: _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_0__.languages.IndentAction.IndentOutdent,\r\n appendText: ' * '\r\n }\r\n },\r\n {\r\n // e.g. /** ...|\r\n beforeText: /^\\s*\\/\\*\\*(?!\\/)([^\\*]|\\*(?!\\/))*$/,\r\n action: {\r\n indentAction: _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_0__.languages.IndentAction.None,\r\n appendText: ' * '\r\n }\r\n },\r\n {\r\n // e.g. * ...|\r\n beforeText: /^(\\t|(\\ \\ ))*\\ \\*(\\ ([^\\*]|\\*(?!\\/))*)?$/,\r\n action: {\r\n indentAction: _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_0__.languages.IndentAction.None,\r\n appendText: '* '\r\n }\r\n },\r\n {\r\n // e.g. */|\r\n beforeText: /^(\\t|(\\ \\ ))*\\ \\*\\/\\s*$/,\r\n action: {\r\n indentAction: _fillers_monaco_editor_core_js__WEBPACK_IMPORTED_MODULE_0__.languages.IndentAction.None,\r\n removeText: 1\r\n }\r\n }\r\n ],\r\n autoClosingPairs: [\r\n { open: '{', close: '}' },\r\n { open: '[', close: ']' },\r\n { open: '(', close: ')' },\r\n { open: '\"', close: '\"', notIn: ['string'] },\r\n { open: \"'\", close: \"'\", notIn: ['string', 'comment'] },\r\n { open: '`', close: '`', notIn: ['string', 'comment'] },\r\n { open: '/**', close: ' */', notIn: ['string'] }\r\n ],\r\n folding: {\r\n markers: {\r\n start: new RegExp('^\\\\s*//\\\\s*#?region\\\\b'),\r\n end: new RegExp('^\\\\s*//\\\\s*#?endregion\\\\b')\r\n }\r\n }\r\n};\r\nvar language = {\r\n // Set defaultToken to invalid to see what you do not tokenize yet\r\n defaultToken: 'invalid',\r\n tokenPostfix: '.ts',\r\n keywords: [\r\n // Should match the keys of textToKeywordObj in\r\n // https://github.com/microsoft/TypeScript/blob/master/src/compiler/scanner.ts\r\n 'abstract',\r\n 'any',\r\n 'as',\r\n 'asserts',\r\n 'bigint',\r\n 'boolean',\r\n 'break',\r\n 'case',\r\n 'catch',\r\n 'class',\r\n 'continue',\r\n 'const',\r\n 'constructor',\r\n 'debugger',\r\n 'declare',\r\n 'default',\r\n 'delete',\r\n 'do',\r\n 'else',\r\n 'enum',\r\n 'export',\r\n 'extends',\r\n 'false',\r\n 'finally',\r\n 'for',\r\n 'fro
/***/ })
}]);