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

22 lines
14 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_php_php_js"],{
/***/ "./node_modules/monaco-editor/esm/vs/basic-languages/php/php.js":
/*!**********************************************************************!*\
!*** ./node_modules/monaco-editor/esm/vs/basic-languages/php/php.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/php/php.ts\nvar conf = {\n wordPattern: /(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)/g,\n comments: {\n lineComment: \"//\",\n blockComment: [\"/*\", \"*/\"]\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\", notIn: [\"string\"] },\n { open: \"[\", close: \"]\", notIn: [\"string\"] },\n { open: \"(\", close: \")\", notIn: [\"string\"] },\n { open: '\"', close: '\"', notIn: [\"string\"] },\n { open: \"'\", close: \"'\", notIn: [\"string\", \"comment\"] }\n ],\n folding: {\n markers: {\n start: new RegExp(\"^\\\\s*(#|//)region\\\\b\"),\n end: new RegExp(\"^\\\\s*(#|//)endregion\\\\b\")\n }\n }\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \"\",\n tokenizer: {\n root: [\n [/<\\?((php)|=)?/, { token: \"@rematch\", switchTo: \"@phpInSimpleState.root\" }],\n [/<!DOCTYPE/, \"metatag.html\", \"@doctype\"],\n [/<!--/, \"comment.html\", \"@comment\"],\n [/(<)(\\w+)(\\/>)/, [\"delimiter.html\", \"tag.html\", \"delimiter.html\"]],\n [/(<)(script)/, [\"delimiter.html\", { token: \"tag.html\", next: \"@script\" }]],\n [/(<)(style)/, [\"delimiter.html\", { token: \"tag.html\", next: \"@style\" }]],\n [/(<)([:\\w]+)/, [\"delimiter.html\", { token: \"tag.html\", next: \"@otherTag\" }]],\n [/(<\\/)(\\w+)/, [\"delimiter.html\", { token: \"tag.html\", next: \"@otherTag\" }]],\n [/</, \"delimiter.html\"],\n [/[^<]+/]\n ],\n doctype: [\n [/<\\?((php)|=)?/, { token: \"@rematch\", switchTo: \"@phpInSimpleState.comment\" }],\n [/[^>]+/, \"metatag.content.html\"],\n [/>/, \"metatag.html\", \"@pop\"]\n ],\n comment: [\n [/<\\?((php)|=)?/, { token: \"@rematch\", switchTo: \"@phpInSimpleState.comment\" }],\n [/-->/, \"comment.html\", \"@pop\"],\n [/[^-]+/, \"comment.content.html\"],\n [/./, \"comment.content.html\"]\n ],\n otherTag: [\n [/<\\?((php)|=)?/, { token: \"@rematch\", switchTo: \"@phpInSimpleState.otherTag\" }],\n [/\\/?>/, \"delimiter.html\", \"@pop\"],\n [/\"([^\"]*)\"/, \"attribute.value\"],\n [/'([^']*)'/, \"attribute.value\"],\n [/[\\w\\-]+/, \"attribute.name\"],\n [/=/, \"delimiter\"],\n [/[ \\t\\r\\n]+/]\n ],\n script: [\n [/<\\?((php)|=)?/, { token: \"@rematch\", switchTo: \"@phpInSimpleState.script\" }],\n [/type/, \"attribute.name\", \"@scriptAfterType\"],\n [/\"([^\"]*)\"/, \"attribute.value\"],\n [/'([^']*)'/, \"attribute.value\"],\n [/[\\w\\-]+/, \"attribute.name\"],\n [/=/, \"delimiter\"],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@scriptEmbedded.text/javascript\",\n nextEmbedded: \"text/javascript\"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [\n /(<\\/)(script\\s*)(>)/,\n [\"delimiter.html\", \"tag.html\", { token: \"delimiter.html\", next: \"@pop\" }]\n ]\n ],\n scriptAfterType: [\n [\n /<\\?((php)|=)?/,\n {\n token: \"@rematch\",\n switchTo: \"@phpInSimpleState.scriptAfterType\"\n }\n ],\n [/=/, \"delimiter\", \"@scriptAfterTypeEquals\"],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@scriptEmbedded.text/javascript\",\n nextEmbedded: \"text/javascript\"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [/<\\/script\\s*>/, { token: \"@rematch\", next: \"@pop\" }]\n ],\n scriptAfterTypeEquals: [\n [\n /<\\?((php)|=)?/,\n {\n token: \"@rematch\",\n switchTo: \"@phpInSimpleState.scriptAfterTypeEquals\"\n }\n ],\n [\n /\"([^\"]*)\"/,\n {\n token: \"attribute.value\",\n switchTo: \"@scriptWithCustomType.$1\"\n }\n ],\n [\n /'([^']*)'/,\n {\n token: \"attribute.value\",\n switchTo: \"@scriptWithCustomType.$1\"\n }\n ],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@scriptEmbedded.text/javascript\",\n nextEmbedded: \"text/javascript\"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [/<\\/script\\s*>/, { token: \"@rematch\", next: \"@pop\" }]\n ],\n scriptWithCustomType: [\n [\n /<\\?((php)|=)?/,\n {\n token: \"@rematch\",\n switchTo: \"@phpInSimpleState.scriptWithCustomType.$S2\"\n }\n ],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@scriptEmbedded.$S2\",\n nextEmbedded: \"$S2\"\n }\n ],\n [/\"([^\"]*)\"/, \"attribute.value\"],\n [/'([^']*)'/, \"attribute.value\"],\n [/[\\w\\-]+/, \"attribute.name\"],\n [/=/, \"delimiter\"],\n [/[ \\t\\r\\n]+/],\n [/<\\/script\\s*>/, { token: \"@rematch\", next: \"@pop\" }]\n ],\n scriptEmbedded: [\n [\n /<\\?((php)|=)?/,\n {\n token: \"@rematch\",\n switchTo: \"@phpInEmbeddedState.scriptEmbedded.$S2\",\n nextEmbedded: \"@pop\"\n }\n ],\n [/<\\/script/, { token: \"@rematch\", next: \"@pop\", nextEmbedded: \"@pop\" }]\n ],\n style: [\n [/<\\?((php)|=)?/, { token: \"@rematch\", switchTo: \"@phpInSimpleState.style\" }],\n [/type/, \"attribute.name\", \"@styleAfterType\"],\n [/\"([^\"]*)\"/, \"attribute.value\"],\n [/'([^']*)'/, \"attribute.value\"],\n [/[\\w\\-]+/, \"attribute.name\"],\n [/=/, \"delimiter\"],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@styleEmbedded.text/css\",\n nextEmbedded: \"text/css\"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [\n /(<\\/)(style\\s*)(>)/,\n [\"delimiter.html\", \"tag.html\", { token: \"delimiter.html\", next: \"@pop\" }]\n ]\n ],\n styleAfterType: [\n [\n /<\\?((php)|=)?/,\n {\n token: \"@rematch\",\n switchTo: \"@phpInSimpleState.styleAfterType\"\n }\n ],\n [/=/, \"delimiter\", \"@styleAfterTypeEquals\"],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@styleEmbedded.text/css\",\n nextEmbedded: \"text/css\"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [/<\\/style\\s*>/, { token: \"@rematch\", next: \"@pop\" }]\n ],\n styleAfterTypeEquals: [\n [\n /<\\?((php)|=)?/,\n {\n token: \"@rematch\",\n switchTo: \"@phpInSimpleState.styleAfterTypeEquals\"\n }\n ],\n [\n /\"([^\"]*)\"/,\n {\n token: \"attribute.value\",\n switchTo: \"@styleWithCustomType.$1\"\n }\n ],\n [\n /'([^']*)'/,\n {\n token: \"attribute.value\",\n switchTo: \"@styleWithCustomType.$1\"\n }\n ],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@styleEmbedded.text/css\",\n nextEmbedded: \"text/css\"\n }\n ],\n [/[ \\t\\r\\n]+/],\n [/<\\/style\\s*>/, { token: \"@rematch\", next: \"@pop\" }]\n ],\n styleWithCustomType: [\n [\n /<\\?((php)|=)?/,\n {\n token: \"@rematch\",\n switchTo: \"@phpInSimpleState.styleWithCustomType.$S2\"\n }\n ],\n [\n />/,\n {\n token: \"delimiter.html\",\n next: \"@styleEmbedded.$S2\",\n nextEmbedded: \"$S2\"\n }\n ],\n [/\"([^\"]*)\"/, \"attribute.value\"],\n [/'([^']*)'/, \"attribute.value\"],\n [/[\\w\\-]+/, \"attribute.name\"],\n [/=/, \"delimiter\"],\n [/[ \\t\\r\\n]+/],\n [/<\\/style\\s*>/, { token: \"@rematch\", next: \"@pop\" }]\n ],\n styleEmbedded: [\n [\n /<\\?((php)|=)?/,\n {\n token: \"@rematch\",\n switchTo: \"@phpInEmbeddedState.styleEmbedded.$S2\",\n nextEmbedded: \"@pop\"\n }\n ],\n [/<\\/style/, { token: \"@rematch\", next: \"@pop\", nextEmbedded: \"@pop\" }]\n ],\n phpInSimpleState: [\n [/<\\?((php)|=)?/, \"metatag.php\"],\n [/\\?>/, { token: \"metatag.php\", switchTo: \"@$S2.$S3\" }],\n { include: \"phpRoot\" }\n ],\n phpInEmbeddedState: [\n [/<\\?((php)|=)?/, \"metatag.php\"],\n [\n /\\?>/,\n {\n token: \"metatag.php\",\n switchTo: \"@$S2.$S3\",\n nextEmbedded: \"$S3\"\n }\n ],\n { include: \"phpRoot\" }\n ],\n phpRoot: [\n [\n /[a-zA-Z_]\\w*/,\n {\n cases: {\n \"@phpKeywords\": { token: \"keyword.php\" },\n \"@phpCompileTimeConstants\": { token: \"constant.php\" },\n \"@default\": \"identifier.php\"\n }\n }\n ],\n [\n /[$a-zA-Z_]\\w*/,\n {\n cases: {\n \"@phpPreDefinedVariables\": {\n token: \"variable.predefined.php\"\n },\n \"@default\": \"variable.php\"\n }\n }\n ],\n [/[{}]/, \"delimiter.bracket.php\"],\n [/[\\[\\]]/, \"delimiter.array.php\"],\n [/[()]/, \"delimiter.parenthesis.php\"],\n [/[ \\t\\r\\n]+/],\n [/(#|\\/\\/)$/, \"comment.php\"],\n [/(#|\\/\\/)/, \"comment.php\", \"@phpLineComment\"],\n [/\\/\\*/, \"comment.php\", \"@phpComment\"],\n [/\"/, \"string.php\", \"@phpDoubleQuoteString\"],\n [/'/, \"string.php\", \"@phpSingleQuoteString\"],\n [/[\\+\\-\\*\\%\\&\\|\\^\\~\\!\\=\\<\\>\\/\\?\\;\\:\\.\\,\\@]/, \"delimiter.php\"],\n [/\\d*\\d+[eE]([\\-+]?\\d+)?/, \"number.float.php\"],\n [/\\d*\\.\\d+([eE][\\-+]?\\d+)?/, \"number.float.php\"],\n [/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, \"number.hex.php\"],\n [/0[0-7']*[0-7]/, \"number.octal.php\"],\n [/0[bB][0-1']*[0-1]/, \"number.binary.php\"],\n [/\\d[\\d']*/, \"number.php\"],\n [/\\d/, \"number.php\"]\n ],\n phpComment: [\n [/\\*\\//, \"comment.php\", \"@pop\"],\n [/[^*]+/, \"comment.php\"],\n [/./, \"comment.php\"]\n ],\n phpLineComment: [\n [/\\?>/, { token: \"@rematch\", next: \"@pop\" }],\n [/.$/, \"comment.php\", \"@pop\"],\n [/[^?]+$/, \"comment.php\", \"@pop\"],\n [/[^?]+/, \"comment.php\"],\n [/./, \"comment.php\"]\n ],\n phpDoubleQuoteString: [\n [/[^\\\\\"]+/, \"string.php\"],\n [/@escapes/, \"string.escape.php\"],\n [/\\\\./, \"string.escape.invalid.php\"],\n [/\"/, \"string.php\", \"@pop\"]\n ],\n phpSingleQuoteString: [\n [/[^\\\\']+/, \"string.php\"],\n [/@escapes/, \"string.escape.php\"],\n [/\\\\./, \"string.escape.invalid.php\"],\n [/'/, \"string.php\", \"@pop\"]\n ]\n },\n phpKeywords: [\n \"abstract\",\n \"and\",\n \"array\",\n \"as\",\n \"break\",\n \"callable\",\n \"case\",\n \"catch\",\n \"cfunction\",\n \"class\",\n \"clone\",\n \"const\",\n \"continue\",\n \"declare\",\n \"default\",\n \"do\",\n \"else\",\n \"elseif\",\n \"enddeclare\",\n \"endfor\",\n \"endforeach\",\n \"endif\",\n \"endswitch\",\n \"endwhile\",\n \"extends\",\n \"false\",\n \"final\",\n \"for\",\n \"foreach\",\n \"function\",\n \"global\",\n \"goto\",\n \"if\",\n \"implements\",\n \"interface\",\n \"instanceof\",\n \"insteadof\",\n \"namespace\",\n \"new\",\n \"null\",\n \"object\",\n \"old_function\",\n \"or\",\n \"private\",\n \"protected\",\n \"public\",\n \"resource\",\n \"static\",\n \"switch\",\n \"throw\",\n \"trait\",\n \"try\",\n \"true\",\n \"use\",\n \"var\",\n \"while\",\n \"xor\",\n \"die\",\n \"echo\",\n \"empty\",\n \"exit\",\n \"eval\",\n \"include\",\n \"include_once\",\n \"isset\",\n \"list\",\n \"require\",\n \"require_once\",\n \"return\",\n \"print\",\n \"unset\",\n \"yield\",\n \"__construct\"\n ],\n phpCompileTimeConstants: [\n \"__CLASS__\",\n \"__DIR__\",\n \"__FILE__\",\n \"__LINE__\",\n \"__NAMESPACE__\",\n \"__METHOD__\",\n \"__FUNCTION__\",\n \"__TRAIT__\"\n ],\n phpPreDefinedVariables: [\n \"$GLOBALS\",\n \"$_SERVER\",\n \"$_GET\",\n \"$_POST\",\n \"$_FILES\",\n \"$_REQUEST\",\n \"$_SESSION\",\n \"$_ENV\",\n \"$_COOKIE\",\n \"$php_errormsg\",\n \"$HTTP_RAW_POST_DATA\",\n \"$http_response_header\",\n \"$argc\",\n \"$argv\"\n ],\n escapes: /\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/\n};\n\n\n\n//# sourceURL=webpack://monanco_wpack/./node_modules/monaco-editor/esm/vs/basic-languages/php/php.js?");
/***/ })
}]);