2022-06-03 19:30:11 +02:00
|
|
|
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: \"delimite
|