"use strict"; /* * 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["webpackChunkmonanco_wpack"] = self["webpackChunkmonanco_wpack"] || []).push([["vendors-node_modules_monaco-editor_esm_vs_basic-languages_ruby_ruby_js"],{ /***/ "./node_modules/monaco-editor/esm/vs/basic-languages/ruby/ruby.js": /*!************************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/basic-languages/ruby/ruby.js ***! \************************************************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { 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/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)\n * Released under the MIT license\n * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt\n *-----------------------------------------------------------------------------*/\n\n// src/basic-languages/ruby/ruby.ts\nvar conf = {\n comments: {\n lineComment: \"#\",\n blockComment: [\"=begin\", \"=end\"]\n },\n brackets: [\n [\"(\", \")\"],\n [\"{\", \"}\"],\n [\"[\", \"]\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ],\n indentationRules: {\n increaseIndentPattern: new RegExp(`^\\\\s*((begin|class|(private|protected)\\\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|case)|([^#]*\\\\sdo\\\\b)|([^#]*=\\\\s*(case|if|unless)))\\\\b([^#\\\\{;]|(\"|'|/).*\\\\4)*(#.*)?$`),\n decreaseIndentPattern: new RegExp(\"^\\\\s*([}\\\\]]([,)]?\\\\s*(#|$)|\\\\.[a-zA-Z_]\\\\w*\\\\b)|(end|rescue|ensure|else|elsif|when)\\\\b)\")\n }\n};\nvar language = {\n tokenPostfix: \".ruby\",\n keywords: [\n \"__LINE__\",\n \"__ENCODING__\",\n \"__FILE__\",\n \"BEGIN\",\n \"END\",\n \"alias\",\n \"and\",\n \"begin\",\n \"break\",\n \"case\",\n \"class\",\n \"def\",\n \"defined?\",\n \"do\",\n \"else\",\n \"elsif\",\n \"end\",\n \"ensure\",\n \"for\",\n \"false\",\n \"if\",\n \"in\",\n \"module\",\n \"next\",\n \"nil\",\n \"not\",\n \"or\",\n \"redo\",\n \"rescue\",\n \"retry\",\n \"return\",\n \"self\",\n \"super\",\n \"then\",\n \"true\",\n \"undef\",\n \"unless\",\n \"until\",\n \"when\",\n \"while\",\n \"yield\"\n ],\n keywordops: [\"::\", \"..\", \"...\", \"?\", \":\", \"=>\"],\n builtins: [\n \"require\",\n \"public\",\n \"private\",\n \"include\",\n \"extend\",\n \"attr_reader\",\n \"protected\",\n \"private_class_method\",\n \"protected_class_method\",\n \"new\"\n ],\n declarations: [\n \"module\",\n \"class\",\n \"def\",\n \"case\",\n \"do\",\n \"begin\",\n \"for\",\n \"if\",\n \"while\",\n \"until\",\n \"unless\"\n ],\n linedecls: [\"def\", \"case\", \"do\", \"begin\", \"for\", \"if\", \"while\", \"until\", \"unless\"],\n operators: [\n \"^\",\n \"&\",\n \"|\",\n \"<=>\",\n \"==\",\n \"===\",\n \"!~\",\n \"=~\",\n \">\",\n \">=\",\n \"<\",\n \"<=\",\n \"<<\",\n \">>\",\n \"+\",\n \"-\",\n \"*\",\n \"/\",\n \"%\",\n \"**\",\n \"~\",\n \"+@\",\n \"-@\",\n \"[]\",\n \"[]=\",\n \"`\",\n \"+=\",\n \"-=\",\n \"*=\",\n \"**=\",\n \"/=\",\n \"^=\",\n \"%=\",\n \"<<=\",\n \">>=\",\n \"&=\",\n \"&&=\",\n \"||=\",\n \"|=\"\n ],\n brackets: [\n { open: \"(\", close: \")\", token: \"delimiter.parenthesis\" },\n { open: \"{\", close: \"}\", token: \"delimiter.curly\" },\n { open: \"[\", close: \"]\", token: \"delimiter.square\" }\n ],\n symbols: /[=>\" }],\n [/%([qws])(@delim)/, { token: \"string.$1.delim\", switchTo: \"@qstring.$1.$2.$2\" }],\n [/%r\\(/, { token: \"regexp.delim\", switchTo: \"@pregexp.(.)\" }],\n [/%r\\[/, { token: \"regexp.delim\", switchTo: \"@pregexp.[.]\" }],\n [/%r\\{/, { token: \"regexp.delim\", switchTo: \"@pregexp.{.}\" }],\n [/%r\" }],\n [/%r(@delim)/, { token: \"regexp.delim\", switchTo: \"@pregexp.$1.$1\" }],\n [/%(x|W|Q?)\\(/, { token: \"string.$1.delim\", switchTo: \"@qqstring.$1.(.)\" }],\n [/%(x|W|Q?)\\[/, { token: \"string.$1.delim\", switchTo: \"@qqstring.$1.[.]\" }],\n [/%(x|W|Q?)\\{/, { token: \"string.$1.delim\", switchTo: \"@qqstring.$1.{.}\" }],\n [/%(x|W|Q?)\" }],\n [/%(x|W|Q?)(@delim)/, { token: \"string.$1.delim\", switchTo: \"@qqstring.$1.$2.$2\" }],\n [/%([rqwsxW]|Q?)./, { token: \"invalid\", next: \"@pop\" }],\n [/./, { token: \"invalid\", next: \"@pop\" }]\n ],\n qstring: [\n [/\\\\$/, \"string.$S2.escape\"],\n [/\\\\./, \"string.$S2.escape\"],\n [\n /./,\n {\n cases: {\n \"$#==$S4\": { token: \"string.$S2.delim\", next: \"@pop\" },\n \"$#==$S3\": { token: \"string.$S2.delim\", next: \"@push\" },\n \"@default\": \"string.$S2\"\n }\n }\n ]\n ],\n qqstring: [[/#/, \"string.$S2.escape\", \"@interpolated\"], { include: \"@qstring\" }],\n whitespace: [\n [/[ \\t\\r\\n]+/, \"\"],\n [/^\\s*=begin\\b/, \"comment\", \"@comment\"],\n [/#.*$/, \"comment\"]\n ],\n comment: [\n [/[^=]+/, \"comment\"],\n [/^\\s*=begin\\b/, \"comment.invalid\"],\n [/^\\s*=end\\b.*/, \"comment\", \"@pop\"],\n [/[=]/, \"comment\"]\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://monanco_wpack/./node_modules/monaco-editor/esm/vs/basic-languages/ruby/ruby.js?"); /***/ }) }]);