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

22 lines
7.5 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_sophia_sophia_js"],{
/***/ "./node_modules/monaco-editor/esm/vs/basic-languages/sophia/sophia.js":
/*!****************************************************************************!*\
!*** ./node_modules/monaco-editor/esm/vs/basic-languages/sophia/sophia.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 ],\r\n autoClosingPairs: [\r\n { open: '\"', close: '\"', notIn: ['string', 'comment'] },\r\n { open: '{', close: '}', notIn: ['string', 'comment'] },\r\n { open: '[', close: ']', notIn: ['string', 'comment'] },\r\n { open: '(', close: ')', notIn: ['string', 'comment'] }\r\n ]\r\n};\r\nvar language = {\r\n defaultToken: '',\r\n tokenPostfix: '.aes',\r\n brackets: [\r\n { token: 'delimiter.curly', open: '{', close: '}' },\r\n { token: 'delimiter.parenthesis', open: '(', close: ')' },\r\n { token: 'delimiter.square', open: '[', close: ']' },\r\n { token: 'delimiter.angle', open: '<', close: '>' }\r\n ],\r\n keywords: [\r\n // Main keywords\r\n 'contract',\r\n 'library',\r\n 'entrypoint',\r\n 'function',\r\n 'stateful',\r\n 'state',\r\n 'hash',\r\n 'signature',\r\n 'tuple',\r\n 'list',\r\n 'address',\r\n 'string',\r\n 'bool',\r\n 'int',\r\n 'record',\r\n 'datatype',\r\n 'type',\r\n 'option',\r\n 'oracle',\r\n 'oracle_query',\r\n 'Call',\r\n 'Bits',\r\n 'Bytes',\r\n 'Oracle',\r\n 'String',\r\n 'Crypto',\r\n 'Address',\r\n 'Auth',\r\n 'Chain',\r\n 'None',\r\n 'Some',\r\n 'bits',\r\n 'bytes',\r\n 'event',\r\n 'let',\r\n 'map',\r\n 'private',\r\n 'public',\r\n 'true',\r\n 'false',\r\n 'var',\r\n 'if',\r\n 'else',\r\n 'throw'\r\n ],\r\n operators: [\r\n '=',\r\n '>',\r\n '<',\r\n '!',\r\n '~',\r\n '?',\r\n '::',\r\n ':',\r\n '==',\r\n '<=',\r\n '>=',\r\n '!=',\r\n '&&',\r\n '||',\r\n '++',\r\n '--',\r\n '+',\r\n '-',\r\n '*',\r\n '/',\r\n '&',\r\n '|',\r\n '^',\r\n '%',\r\n '<<',\r\n '>>',\r\n '>>>',\r\n '+=',\r\n '-=',\r\n '*=',\r\n '/=',\r\n '&=',\r\n '|=',\r\n '^=',\r\n '%=',\r\n '<<=',\r\n '>>=',\r\n '>>>='\r\n ],\r\n // we include these common regular expressions\r\n symbols: /[=><!~?:&|+\\-*\\/\\^%]+/,\r\n escapes: /\\\\(?:[abfnrtv\\\\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,\r\n integersuffix: /(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,\r\n floatsuffix: /[fFlL]?/,\r\n // The main tokenizer for our languages\r\n tokenizer: {\r\n root: [\r\n // identifiers and keywords\r\n [\r\n /[a-zA-Z_]\\w*/,\r\n {\r\n cases: {\r\n '@keywords': { token: 'keyword.$0' },\r\n '@default': 'identifier'\r\n }\r\n }\r\n ],\r\n // whitespace\r\n { include: '@whitespace' },\r\n // [[ attributes ]].\r\n [/\\[\\[.*\\]\\]/, 'annotation'],\r\n // Preprocessor directive\r\n [/^\\s*#\\w+/,
/***/ })
}]);