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

22 lines
6.0 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_dockerfile_dockerfile_js"],{
/***/ "./node_modules/monaco-editor/esm/vs/basic-languages/dockerfile/dockerfile.js":
/*!************************************************************************************!*\
!*** ./node_modules/monaco-editor/esm/vs/basic-languages/dockerfile/dockerfile.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/*---------------------------------------------------------------------------------------------\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\nvar conf = {\r\n brackets: [\r\n ['{', '}'],\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: '\"' },\r\n { open: \"'\", close: \"'\" }\r\n ],\r\n surroundingPairs: [\r\n { open: '{', close: '}' },\r\n { open: '[', close: ']' },\r\n { open: '(', close: ')' },\r\n { open: '\"', close: '\"' },\r\n { open: \"'\", close: \"'\" }\r\n ]\r\n};\r\nvar language = {\r\n defaultToken: '',\r\n tokenPostfix: '.dockerfile',\r\n variable: /\\${?[\\w]+}?/,\r\n tokenizer: {\r\n root: [\r\n { include: '@whitespace' },\r\n { include: '@comment' },\r\n [/(ONBUILD)(\\s+)/, ['keyword', '']],\r\n [/(ENV)(\\s+)([\\w]+)/, ['keyword', '', { token: 'variable', next: '@arguments' }]],\r\n [\r\n /(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,\r\n { token: 'keyword', next: '@arguments' }\r\n ]\r\n ],\r\n arguments: [\r\n { include: '@whitespace' },\r\n { include: '@strings' },\r\n [\r\n /(@variable)/,\r\n {\r\n cases: {\r\n '@eos': { token: 'variable', next: '@popall' },\r\n '@default': 'variable'\r\n }\r\n }\r\n ],\r\n [\r\n /\\\\/,\r\n {\r\n cases: {\r\n '@eos': '',\r\n '@default': ''\r\n }\r\n }\r\n ],\r\n [\r\n /./,\r\n {\r\n cases: {\r\n '@eos': { token: '', next: '@popall' },\r\n '@default': ''\r\n }\r\n }\r\n ]\r\n ],\r\n // Deal with white space, including comments\r\n whitespace: [\r\n [\r\n /\\s+/,\r\n {\r\n cases: {\r\n '@eos': { token: '', next: '@popall' },\r\n '@default': ''\r\n }\r\n }\r\n ]\r\n ],\r\n comment: [[/(^#.*$)/, 'comment', '@popall']],\r\n // Recognize strings, including those broken across lines with \\ (but not without)\r\n strings: [\r\n [/\\\\'$/, '', '@popall'],\r\n [/\\\\'/, ''],\r\n [/'$/, 'string', '@popall'],\r\n [/'/, 'string', '@stringBody'],\r\n [/\"$/, 'string', '@popall'],\r\n [/\"/, 'string', '@dblStringBody']\r\n ],\r\n stringBody: [\r\n [\r\n /[^\\\\\\$']/,\r\n {\r\n cases: {\r\n '@eos': { token: 'string', next: '@popall' },\r\n '@default': 'string'\r\n }\r\n }\r\n ],\r\n [/\\\\./, 'string.escape'],\r\n [/'$/, 'string', '@popall'],\r\n [/'/, 'string', '@pop'],\r\n [/(@variable)/, 'variable'],\r\n [/\\\\$/,
/***/ })
}]);