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

22 lines
10 KiB
JavaScript
Raw Normal View History

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/).
*/
(self["webpackChunkbrowser_esm_webpack"] = self["webpackChunkbrowser_esm_webpack"] || []).push([["node_modules_monaco-editor_esm_vs_basic-languages_rust_rust_js"],{
/***/ "./node_modules/monaco-editor/esm/vs/basic-languages/rust/rust.js":
/*!************************************************************************!*\
!*** ./node_modules/monaco-editor/esm/vs/basic-languages/rust/rust.js ***!
\************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
"use strict";
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/*---------------------------------------------------------------------------------------------\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *--------------------------------------------------------------------------------------------*/\r\nvar conf = {\r\n comments: {\r\n lineComment: '//',\r\n blockComment: ['/*', '*/']\r\n },\r\n brackets: [\r\n ['{', '}'],\r\n ['[', ']'],\r\n ['(', ')']\r\n ],\r\n autoClosingPairs: [\r\n { open: '[', close: ']' },\r\n { open: '{', close: '}' },\r\n { open: '(', close: ')' },\r\n { open: \"'\", close: \"'\", notIn: ['string', 'comment'] },\r\n { open: '\"', close: '\"', notIn: ['string'] }\r\n ],\r\n surroundingPairs: [\r\n { open: '{', close: '}' },\r\n { open: '[', close: ']' },\r\n { open: '(', close: ')' },\r\n { open: '\"', close: '\"' },\r\n { open: \"'\", close: \"'\" }\r\n ],\r\n folding: {\r\n markers: {\r\n start: new RegExp('^\\\\s*#pragma\\\\s+region\\\\b'),\r\n end: new RegExp('^\\\\s*#pragma\\\\s+endregion\\\\b')\r\n }\r\n }\r\n};\r\nvar language = {\r\n tokenPostfix: '.rust',\r\n defaultToken: 'invalid',\r\n keywords: [\r\n 'as',\r\n 'async',\r\n 'await',\r\n 'box',\r\n 'break',\r\n 'const',\r\n 'continue',\r\n 'crate',\r\n 'dyn',\r\n 'else',\r\n 'enum',\r\n 'extern',\r\n 'false',\r\n 'fn',\r\n 'for',\r\n 'if',\r\n 'impl',\r\n 'in',\r\n 'let',\r\n 'loop',\r\n 'match',\r\n 'mod',\r\n 'move',\r\n 'mut',\r\n 'pub',\r\n 'ref',\r\n 'return',\r\n 'self',\r\n 'static',\r\n 'struct',\r\n 'super',\r\n 'trait',\r\n 'true',\r\n 'try',\r\n 'type',\r\n 'unsafe',\r\n 'use',\r\n 'where',\r\n 'while',\r\n 'catch',\r\n 'default',\r\n 'union',\r\n 'static',\r\n 'abstract',\r\n 'alignof',\r\n 'become',\r\n 'do',\r\n 'final',\r\n 'macro',\r\n 'offsetof',\r\n 'override',\r\n 'priv',\r\n 'proc',\r\n 'pure',\r\n 'sizeof',\r\n 'typeof',\r\n 'unsized',\r\n 'virtual',\r\n 'yield'\r\n ],\r\n typeKeywords: [\r\n 'Self',\r\n 'm32',\r\n 'm64',\r\n 'm128',\r\n 'f80',\r\n 'f16',\r\n 'f128',\r\n 'int',\r\n 'uint',\r\n 'float',\r\n 'char',\r\n 'bool',\r\n 'u8',\r\n 'u16',\r\n 'u32',\r\n 'u64',\r\n 'f32',\r\n 'f64',\r\n 'i8',\r\n 'i16',\r\n 'i32',\r\n 'i64',\r\n 'str',\r\n 'Option',\r\n 'Either',\r\n 'c_float',\r\n 'c_double',\r\n 'c_void',\r\n 'FILE',\r\n 'fpos_t',\r\n 'DIR',\r\n 'dirent',\r\n 'c_char',\r\n 'c_schar',\r\n 'c_uchar',\r\n 'c_short',\r\n 'c_ushort',\r\n 'c_int',\r\n 'c_uint',\r\n 'c_long',\r\n 'c_ulong',\r\n 'size_t',\r\n 'ptrdiff_t',\r\n 'clock_t',\r\n 'time_t',\r\n 'c_longlong',\r\n 'c_ulonglong',\r\n 'intptr_t',\r\n 'uintptr_t',\r\n 'off_t',\r\n 'dev_t',\r\n 'ino_t',\r\n 'pid_t',\r\n 'mode_t',\r\n 'ssize_t'\r\n ],\r\n constants: ['true', 'false', 'Some', 'None', 'Left', 'Right', 'Ok', 'Err'],\r\n supportConstants: [\r\n
/***/ })
}]);