antosdk-apps/MonacoCore/bundle/vendors-node_modules_monaco-editor_esm_vs_basic-languages_elixir_elixir_js.bundle.js
2022-06-03 19:30:11 +02:00

22 lines
16 KiB
JavaScript

"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_elixir_elixir_js"],{
/***/ "./node_modules/monaco-editor/esm/vs/basic-languages/elixir/elixir.js":
/*!****************************************************************************!*\
!*** ./node_modules/monaco-editor/esm/vs/basic-languages/elixir/elixir.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/elixir/elixir.ts\nvar conf = {\n comments: {\n lineComment: \"#\"\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: \"'\", close: \"'\" },\n { open: '\"', close: '\"' }\n ],\n autoClosingPairs: [\n { open: \"'\", close: \"'\", notIn: [\"string\", \"comment\"] },\n { open: '\"', close: '\"', notIn: [\"comment\"] },\n { open: '\"\"\"', close: '\"\"\"' },\n { open: \"`\", close: \"`\", notIn: [\"string\", \"comment\"] },\n { open: \"(\", close: \")\" },\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"<<\", close: \">>\" }\n ],\n indentationRules: {\n increaseIndentPattern: /^\\s*(after|else|catch|rescue|fn|[^#]*(do|<\\-|\\->|\\{|\\[|\\=))\\s*$/,\n decreaseIndentPattern: /^\\s*((\\}|\\])\\s*$|(after|else|catch|rescue|end)\\b)/\n }\n};\nvar language = {\n defaultToken: \"source\",\n tokenPostfix: \".elixir\",\n brackets: [\n { open: \"[\", close: \"]\", token: \"delimiter.square\" },\n { open: \"(\", close: \")\", token: \"delimiter.parenthesis\" },\n { open: \"{\", close: \"}\", token: \"delimiter.curly\" },\n { open: \"<<\", close: \">>\", token: \"delimiter.angle.special\" }\n ],\n declarationKeywords: [\n \"def\",\n \"defp\",\n \"defn\",\n \"defnp\",\n \"defguard\",\n \"defguardp\",\n \"defmacro\",\n \"defmacrop\",\n \"defdelegate\",\n \"defcallback\",\n \"defmacrocallback\",\n \"defmodule\",\n \"defprotocol\",\n \"defexception\",\n \"defimpl\",\n \"defstruct\"\n ],\n operatorKeywords: [\"and\", \"in\", \"not\", \"or\", \"when\"],\n namespaceKeywords: [\"alias\", \"import\", \"require\", \"use\"],\n otherKeywords: [\n \"after\",\n \"case\",\n \"catch\",\n \"cond\",\n \"do\",\n \"else\",\n \"end\",\n \"fn\",\n \"for\",\n \"if\",\n \"quote\",\n \"raise\",\n \"receive\",\n \"rescue\",\n \"super\",\n \"throw\",\n \"try\",\n \"unless\",\n \"unquote_splicing\",\n \"unquote\",\n \"with\"\n ],\n constants: [\"true\", \"false\", \"nil\"],\n nameBuiltin: [\"__MODULE__\", \"__DIR__\", \"__ENV__\", \"__CALLER__\", \"__STACKTRACE__\"],\n operator: /-[->]?|!={0,2}|\\*{1,2}|\\/|\\\\\\\\|&{1,3}|\\.\\.?|\\^(?:\\^\\^)?|\\+\\+?|<(?:-|<<|=|>|\\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\\|~>|\\|>|\\|{1,3}|~>>?|~~~|::/,\n variableName: /[a-z_][a-zA-Z0-9_]*[?!]?/,\n atomName: /[a-zA-Z_][a-zA-Z0-9_@]*[?!]?|@specialAtomName|@operator/,\n specialAtomName: /\\.\\.\\.|<<>>|%\\{\\}|%|\\{\\}/,\n aliasPart: /[A-Z][a-zA-Z0-9_]*/,\n moduleName: /@aliasPart(?:\\.@aliasPart)*/,\n sigilSymmetricDelimiter: /\"\"\"|'''|\"|'|\\/|\\|/,\n sigilStartDelimiter: /@sigilSymmetricDelimiter|<|\\{|\\[|\\(/,\n sigilEndDelimiter: /@sigilSymmetricDelimiter|>|\\}|\\]|\\)/,\n sigilModifiers: /[a-zA-Z0-9]*/,\n decimal: /\\d(?:_?\\d)*/,\n hex: /[0-9a-fA-F](_?[0-9a-fA-F])*/,\n octal: /[0-7](_?[0-7])*/,\n binary: /[01](_?[01])*/,\n escape: /\\\\u[0-9a-fA-F]{4}|\\\\x[0-9a-fA-F]{2}|\\\\./,\n tokenizer: {\n root: [\n { include: \"@whitespace\" },\n { include: \"@comments\" },\n { include: \"@keywordsShorthand\" },\n { include: \"@numbers\" },\n { include: \"@identifiers\" },\n { include: \"@strings\" },\n { include: \"@atoms\" },\n { include: \"@sigils\" },\n { include: \"@attributes\" },\n { include: \"@symbols\" }\n ],\n whitespace: [[/\\s+/, \"white\"]],\n comments: [[/(#)(.*)/, [\"comment.punctuation\", \"comment\"]]],\n keywordsShorthand: [\n [/(@atomName)(:)/, [\"constant\", \"constant.punctuation\"]],\n [\n /\"(?=([^\"]|#\\{.*?\\}|\\\\\")*\":)/,\n { token: \"constant.delimiter\", next: \"@doubleQuotedStringKeyword\" }\n ],\n [\n /'(?=([^']|#\\{.*?\\}|\\\\')*':)/,\n { token: \"constant.delimiter\", next: \"@singleQuotedStringKeyword\" }\n ]\n ],\n doubleQuotedStringKeyword: [\n [/\":/, { token: \"constant.delimiter\", next: \"@pop\" }],\n { include: \"@stringConstantContentInterpol\" }\n ],\n singleQuotedStringKeyword: [\n [/':/, { token: \"constant.delimiter\", next: \"@pop\" }],\n { include: \"@stringConstantContentInterpol\" }\n ],\n numbers: [\n [/0b@binary/, \"number.binary\"],\n [/0o@octal/, \"number.octal\"],\n [/0x@hex/, \"number.hex\"],\n [/@decimal\\.@decimal([eE]-?@decimal)?/, \"number.float\"],\n [/@decimal/, \"number\"]\n ],\n identifiers: [\n [\n /\\b(defp?|defnp?|defmacrop?|defguardp?|defdelegate)(\\s+)(@variableName)(?!\\s+@operator)/,\n [\n \"keyword.declaration\",\n \"white\",\n {\n cases: {\n unquote: \"keyword\",\n \"@default\": \"function\"\n }\n }\n ]\n ],\n [\n /(@variableName)(?=\\s*\\.?\\s*\\()/,\n {\n cases: {\n \"@declarationKeywords\": \"keyword.declaration\",\n \"@namespaceKeywords\": \"keyword\",\n \"@otherKeywords\": \"keyword\",\n \"@default\": \"function.call\"\n }\n }\n ],\n [\n /(@moduleName)(\\s*)(\\.)(\\s*)(@variableName)/,\n [\"type.identifier\", \"white\", \"operator\", \"white\", \"function.call\"]\n ],\n [\n /(:)(@atomName)(\\s*)(\\.)(\\s*)(@variableName)/,\n [\"constant.punctuation\", \"constant\", \"white\", \"operator\", \"white\", \"function.call\"]\n ],\n [\n /(\\|>)(\\s*)(@variableName)/,\n [\n \"operator\",\n \"white\",\n {\n cases: {\n \"@otherKeywords\": \"keyword\",\n \"@default\": \"function.call\"\n }\n }\n ]\n ],\n [\n /(&)(\\s*)(@variableName)/,\n [\"operator\", \"white\", \"function.call\"]\n ],\n [\n /@variableName/,\n {\n cases: {\n \"@declarationKeywords\": \"keyword.declaration\",\n \"@operatorKeywords\": \"keyword.operator\",\n \"@namespaceKeywords\": \"keyword\",\n \"@otherKeywords\": \"keyword\",\n \"@constants\": \"constant.language\",\n \"@nameBuiltin\": \"variable.language\",\n \"_.*\": \"comment.unused\",\n \"@default\": \"identifier\"\n }\n }\n ],\n [/@moduleName/, \"type.identifier\"]\n ],\n strings: [\n [/\"\"\"/, { token: \"string.delimiter\", next: \"@doubleQuotedHeredoc\" }],\n [/'''/, { token: \"string.delimiter\", next: \"@singleQuotedHeredoc\" }],\n [/\"/, { token: \"string.delimiter\", next: \"@doubleQuotedString\" }],\n [/'/, { token: \"string.delimiter\", next: \"@singleQuotedString\" }]\n ],\n doubleQuotedHeredoc: [\n [/\"\"\"/, { token: \"string.delimiter\", next: \"@pop\" }],\n { include: \"@stringContentInterpol\" }\n ],\n singleQuotedHeredoc: [\n [/'''/, { token: \"string.delimiter\", next: \"@pop\" }],\n { include: \"@stringContentInterpol\" }\n ],\n doubleQuotedString: [\n [/\"/, { token: \"string.delimiter\", next: \"@pop\" }],\n { include: \"@stringContentInterpol\" }\n ],\n singleQuotedString: [\n [/'/, { token: \"string.delimiter\", next: \"@pop\" }],\n { include: \"@stringContentInterpol\" }\n ],\n atoms: [\n [/(:)(@atomName)/, [\"constant.punctuation\", \"constant\"]],\n [/:\"/, { token: \"constant.delimiter\", next: \"@doubleQuotedStringAtom\" }],\n [/:'/, { token: \"constant.delimiter\", next: \"@singleQuotedStringAtom\" }]\n ],\n doubleQuotedStringAtom: [\n [/\"/, { token: \"constant.delimiter\", next: \"@pop\" }],\n { include: \"@stringConstantContentInterpol\" }\n ],\n singleQuotedStringAtom: [\n [/'/, { token: \"constant.delimiter\", next: \"@pop\" }],\n { include: \"@stringConstantContentInterpol\" }\n ],\n sigils: [\n [/~[a-z]@sigilStartDelimiter/, { token: \"@rematch\", next: \"@sigil.interpol\" }],\n [/~[A-Z]@sigilStartDelimiter/, { token: \"@rematch\", next: \"@sigil.noInterpol\" }]\n ],\n sigil: [\n [/~([a-zA-Z])\\{/, { token: \"@rematch\", switchTo: \"@sigilStart.$S2.$1.{.}\" }],\n [/~([a-zA-Z])\\[/, { token: \"@rematch\", switchTo: \"@sigilStart.$S2.$1.[.]\" }],\n [/~([a-zA-Z])\\(/, { token: \"@rematch\", switchTo: \"@sigilStart.$S2.$1.(.)\" }],\n [/~([a-zA-Z])\\</, { token: \"@rematch\", switchTo: \"@sigilStart.$S2.$1.<.>\" }],\n [\n /~([a-zA-Z])(@sigilSymmetricDelimiter)/,\n { token: \"@rematch\", switchTo: \"@sigilStart.$S2.$1.$2.$2\" }\n ]\n ],\n \"sigilStart.interpol.s\": [\n [\n /~s@sigilStartDelimiter/,\n {\n token: \"string.delimiter\",\n switchTo: \"@sigilContinue.$S2.$S3.$S4.$S5\"\n }\n ]\n ],\n \"sigilContinue.interpol.s\": [\n [\n /(@sigilEndDelimiter)@sigilModifiers/,\n {\n cases: {\n \"$1==$S5\": { token: \"string.delimiter\", next: \"@pop\" },\n \"@default\": \"string\"\n }\n }\n ],\n { include: \"@stringContentInterpol\" }\n ],\n \"sigilStart.noInterpol.S\": [\n [\n /~S@sigilStartDelimiter/,\n {\n token: \"string.delimiter\",\n switchTo: \"@sigilContinue.$S2.$S3.$S4.$S5\"\n }\n ]\n ],\n \"sigilContinue.noInterpol.S\": [\n [/(^|[^\\\\])\\\\@sigilEndDelimiter/, \"string\"],\n [\n /(@sigilEndDelimiter)@sigilModifiers/,\n {\n cases: {\n \"$1==$S5\": { token: \"string.delimiter\", next: \"@pop\" },\n \"@default\": \"string\"\n }\n }\n ],\n { include: \"@stringContent\" }\n ],\n \"sigilStart.interpol.r\": [\n [\n /~r@sigilStartDelimiter/,\n {\n token: \"regexp.delimiter\",\n switchTo: \"@sigilContinue.$S2.$S3.$S4.$S5\"\n }\n ]\n ],\n \"sigilContinue.interpol.r\": [\n [\n /(@sigilEndDelimiter)@sigilModifiers/,\n {\n cases: {\n \"$1==$S5\": { token: \"regexp.delimiter\", next: \"@pop\" },\n \"@default\": \"regexp\"\n }\n }\n ],\n { include: \"@regexpContentInterpol\" }\n ],\n \"sigilStart.noInterpol.R\": [\n [\n /~R@sigilStartDelimiter/,\n {\n token: \"regexp.delimiter\",\n switchTo: \"@sigilContinue.$S2.$S3.$S4.$S5\"\n }\n ]\n ],\n \"sigilContinue.noInterpol.R\": [\n [/(^|[^\\\\])\\\\@sigilEndDelimiter/, \"regexp\"],\n [\n /(@sigilEndDelimiter)@sigilModifiers/,\n {\n cases: {\n \"$1==$S5\": { token: \"regexp.delimiter\", next: \"@pop\" },\n \"@default\": \"regexp\"\n }\n }\n ],\n { include: \"@regexpContent\" }\n ],\n \"sigilStart.interpol\": [\n [\n /~([a-zA-Z])@sigilStartDelimiter/,\n {\n token: \"sigil.delimiter\",\n switchTo: \"@sigilContinue.$S2.$S3.$S4.$S5\"\n }\n ]\n ],\n \"sigilContinue.interpol\": [\n [\n /(@sigilEndDelimiter)@sigilModifiers/,\n {\n cases: {\n \"$1==$S5\": { token: \"sigil.delimiter\", next: \"@pop\" },\n \"@default\": \"sigil\"\n }\n }\n ],\n { include: \"@sigilContentInterpol\" }\n ],\n \"sigilStart.noInterpol\": [\n [\n /~([a-zA-Z])@sigilStartDelimiter/,\n {\n token: \"sigil.delimiter\",\n switchTo: \"@sigilContinue.$S2.$S3.$S4.$S5\"\n }\n ]\n ],\n \"sigilContinue.noInterpol\": [\n [/(^|[^\\\\])\\\\@sigilEndDelimiter/, \"sigil\"],\n [\n /(@sigilEndDelimiter)@sigilModifiers/,\n {\n cases: {\n \"$1==$S5\": { token: \"sigil.delimiter\", next: \"@pop\" },\n \"@default\": \"sigil\"\n }\n }\n ],\n { include: \"@sigilContent\" }\n ],\n attributes: [\n [\n /\\@(module|type)?doc (~[sS])?\"\"\"/,\n {\n token: \"comment.block.documentation\",\n next: \"@doubleQuotedHeredocDocstring\"\n }\n ],\n [\n /\\@(module|type)?doc (~[sS])?\"/,\n {\n token: \"comment.block.documentation\",\n next: \"@doubleQuotedStringDocstring\"\n }\n ],\n [/\\@(module|type)?doc false/, \"comment.block.documentation\"],\n [/\\@(@variableName)/, \"variable\"]\n ],\n doubleQuotedHeredocDocstring: [\n [/\"\"\"/, { token: \"comment.block.documentation\", next: \"@pop\" }],\n { include: \"@docstringContent\" }\n ],\n doubleQuotedStringDocstring: [\n [/\"/, { token: \"comment.block.documentation\", next: \"@pop\" }],\n { include: \"@docstringContent\" }\n ],\n symbols: [\n [/\\?(\\\\.|[^\\\\\\s])/, \"number.constant\"],\n [/&\\d+/, \"operator\"],\n [/<<<|>>>/, \"operator\"],\n [/[()\\[\\]\\{\\}]|<<|>>/, \"@brackets\"],\n [/\\.\\.\\./, \"identifier\"],\n [/=>/, \"punctuation\"],\n [/@operator/, \"operator\"],\n [/[:;,.%]/, \"punctuation\"]\n ],\n stringContentInterpol: [\n { include: \"@interpolation\" },\n { include: \"@escapeChar\" },\n { include: \"@stringContent\" }\n ],\n stringContent: [[/./, \"string\"]],\n stringConstantContentInterpol: [\n { include: \"@interpolation\" },\n { include: \"@escapeChar\" },\n { include: \"@stringConstantContent\" }\n ],\n stringConstantContent: [[/./, \"constant\"]],\n regexpContentInterpol: [\n { include: \"@interpolation\" },\n { include: \"@escapeChar\" },\n { include: \"@regexpContent\" }\n ],\n regexpContent: [\n [/(\\s)(#)(\\s.*)$/, [\"white\", \"comment.punctuation\", \"comment\"]],\n [/./, \"regexp\"]\n ],\n sigilContentInterpol: [\n { include: \"@interpolation\" },\n { include: \"@escapeChar\" },\n { include: \"@sigilContent\" }\n ],\n sigilContent: [[/./, \"sigil\"]],\n docstringContent: [[/./, \"comment.block.documentation\"]],\n escapeChar: [[/@escape/, \"constant.character.escape\"]],\n interpolation: [[/#{/, { token: \"delimiter.bracket.embed\", next: \"@interpolationContinue\" }]],\n interpolationContinue: [\n [/}/, { token: \"delimiter.bracket.embed\", next: \"@pop\" }],\n { include: \"@root\" }\n ]\n }\n};\n\n\n\n//# sourceURL=webpack://monanco_wpack/./node_modules/monaco-editor/esm/vs/basic-languages/elixir/elixir.js?");
/***/ })
}]);