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

22 lines
6.2 KiB
JavaScript
Raw Normal View History

2022-06-03 19:30:11 +02:00
"use strict";
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/).
*/
2022-06-03 19:30:11 +02:00
(self["webpackChunkmonanco_wpack"] = self["webpackChunkmonanco_wpack"] || []).push([["node_modules_monaco-editor_esm_vs_basic-languages_go_go_js"],{
2021-04-19 15:08:15 +02:00
/***/ "./node_modules/monaco-editor/esm/vs/basic-languages/go/go.js":
/*!********************************************************************!*\
!*** ./node_modules/monaco-editor/esm/vs/basic-languages/go/go.js ***!
\********************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
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/go/go.ts\nvar conf = {\n comments: {\n lineComment: \"//\",\n blockComment: [\"/*\", \"*/\"]\n },\n brackets: [\n [\"{\", \"}\"],\n [\"[\", \"]\"],\n [\"(\", \")\"]\n ],\n autoClosingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: \"`\", close: \"`\", notIn: [\"string\"] },\n { open: '\"', close: '\"', notIn: [\"string\"] },\n { open: \"'\", close: \"'\", notIn: [\"string\", \"comment\"] }\n ],\n surroundingPairs: [\n { open: \"{\", close: \"}\" },\n { open: \"[\", close: \"]\" },\n { open: \"(\", close: \")\" },\n { open: \"`\", close: \"`\" },\n { open: '\"', close: '\"' },\n { open: \"'\", close: \"'\" }\n ]\n};\nvar language = {\n defaultToken: \"\",\n tokenPostfix: \".go\",\n keywords: [\n \"break\",\n \"case\",\n \"chan\",\n \"const\",\n \"continue\",\n \"default\",\n \"defer\",\n \"else\",\n \"fallthrough\",\n \"for\",\n \"func\",\n \"go\",\n \"goto\",\n \"if\",\n \"import\",\n \"interface\",\n \"map\",\n \"package\",\n \"range\",\n \"return\",\n \"select\",\n \"struct\",\n \"switch\",\n \"type\",\n \"var\",\n \"bool\",\n \"true\",\n \"false\",\n \"uint8\",\n \"uint16\",\n \"uint32\",\n \"uint64\",\n \"int8\",\n \"int16\",\n \"int32\",\n \"int64\",\n \"float32\",\n \"float64\",\n \"complex64\",\n \"complex128\",\n \"byte\",\n \"rune\",\n \"uint\",\n \"int\",\n \"uintptr\",\n \"string\",\n \"nil\"\n ],\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 \"]\",\n \"{\",\n \"}\",\n \",\",\n \";\",\n \".\",\n \":\"\n ],\n symbols: /[=><!~?:&|+\\-*\\/\\^%]+/,\n escapes: /\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,\n tokenizer: {\n root: [\n [\n /[a-zA-Z_]\\w*/,\n {\n cases: {\n \"@keywords\": { token: \"keyword.$0\" },\n \"@default\": \"identifier\"\n }\n }\n ],\n { include: \"@whitespace\" },\n [/\\[\\[.*\\]\\]/, \"annotation\"],\n [/^\\s*#\\w+/, \"keyword\"],\n [/[{}()\\[\\]]/, \"@brackets\"],\n [/[<>](?!@symbols)/, \"@brackets\"],\n [\n /@symbols/,\n {\n cases: {\n \"@operators\": \"delimiter\",\n \"@default\": \"\"\n }\n }\n ],\n [/\\d*\\d+[eE]([\\-+]?\\d+)?/, \"number.float\"],\n [/\\d*\\.\\d+([eE][\\-+]?\\d+)?/, \"number.float\"],\n [/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, \"number.hex\"],\n [/0[0-7']*[0-7]/, \"number.octal\"],\n [/0[bB][0-1']*[0-1]/, \"number.binary\"],\n [/\\d[\\d']*/, \"number\"],\n [/\\d/, \"number\"],\n [/[;,.]/, \"delimiter\"],\n [/\"([^\"\\\\]|\\\\.)*$/, \"string.invalid\"],\n [/\"/, \"string\", \"@string\"],\
2021-04-19 15:08:15 +02:00
/***/ })
}]);