You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/183.js

1 line
6.7 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[183],{y0OK:function(module,__webpack_exports__,__webpack_require__){"use strict";eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"conf\", function() { return conf; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"language\", function() { return language; });\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\n\r\nvar conf = {\r\n // the default separators except `@$`\r\n wordPattern: /(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)/g,\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: '\"' },\r\n { open: '\\'', close: '\\'' },\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 { open: '<', close: '>' },\r\n ],\r\n folding: {\r\n markers: {\r\n start: new RegExp(\"^\\\\s*//\\\\s*(?:(?:#?region\\\\b)|(?:<editor-fold\\\\b))\"),\r\n end: new RegExp(\"^\\\\s*//\\\\s*(?:(?:#?endregion\\\\b)|(?:</editor-fold>))\")\r\n }\r\n }\r\n};\r\nvar language = {\r\n defaultToken: '',\r\n tokenPostfix: '.kt',\r\n keywords: [\r\n 'as', 'as?', 'break', 'class', 'continue', 'do', 'else', 'false', 'for', 'fun', 'if',\r\n 'in', '!in', 'interface', 'is', '!is', 'null', 'object', 'package', 'return', 'super',\r\n 'this', 'throw', 'true', 'try', 'typealias', 'val', 'var', 'when', 'while', 'by',\r\n 'catch', 'constructor', 'delegate', 'dynamic', 'field', 'file', 'finally', 'get',\r\n 'import', 'init', 'param', 'property', 'receiver', 'set', 'setparam', 'where', 'actual',\r\n 'abstract', 'annotation', 'companion', 'const', 'crossinline', 'data', 'enum', 'expect',\r\n 'external', 'final', 'infix', 'inline', 'inner', 'internal', 'lateinit', 'noinline',\r\n 'open', 'operator', 'out', 'override', 'private', 'protected', 'public', 'reified',\r\n 'sealed', 'suspend', 'tailrec', 'vararg', 'field', 'it'\r\n ],\r\n operators: [\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 digits: /\\d+(_+\\d+)*/,\r\n octaldigits: /[0-7]+(_+[0-7]+)*/,\r\n binarydigits: /[0-1]+(_+[0-1]+)*/,\r\n hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,\r\n // The main tokenizer for our languages\r\n tokenizer: {\r\n root: [\r\n // class name highlighting\r\n [/[A-Z][\\w\\$]*/, 'type.identifier'],\r\n // identifiers and keywords\r\n [/[a-zA-Z_$][\\w$]*/, {\r\n cases: {\r\n '@keywords': { token: 'keyword.$0' },\r\n '@default': 'identifier'\r\n }\r\n }],\r\n // whitespace\r\n { include: '@whitespace' },\r\n // delimiters and operators\r\n [/[{}()\\[\\]]/, '@brackets'],\r\n [/[<>](?!@symbols)/, '@brackets'],\r\n [/@symbols/, {\r\n cases: {\r\n '@operators': 'delimiter',\r\n '@default': ''\r\n }\r\n }],\r\n // @ annotations.\r\n [/@\\s*[a-zA-Z_\\$][\\w\\$]*/, 'annotation'],\r\n // numbers\r\n [/(@digits)[eE]([\\-+]?(@digits))?[fFdD]?/, 'number.float'],\r\n [/(@digits)\\.(@digits)([eE][\\-+]?(@digits))?[fFdD]?/, 'number.float'],\r\n [/0[xX](@hexdigits)[Ll]?/, 'number.hex'],\r\n [/0(@octaldigits)[Ll]?/, 'number.octal'],\r\n [/0[bB](@binarydigits)[Ll]?/, 'number.binary'],\r\n [/(@digits)[fFdD]/, 'number.float'],\r\n [/(@digits)[lL]?/, 'number'],\r\n // delimiter: after number because of .\\d floats\r\n [/[;,.]/, 'delimiter'],\r\n // strings\r\n [/\"([^\"\\\\]|\\\\.)*$/, 'string.invalid'],\r\n [/\"\"\"/, 'string', '@multistring'],\r\n [/\"/, 'string', '@string'],\r\n // characters\r\n [/'[^\\\\']'/, 'string'],\r\n [/(')(@escapes)(')/, ['string', 'string.escape', 'string']],\r\n [/'/, 'string.invalid']\r\n ],\r\n whitespace: [\r\n [/[ \\t\\r\\n]+/, ''],\r\n [/\\/\\*\\*(?!\\/)/, 'comment.doc', '@javadoc'],\r\n [/\\/\\*/, 'comment', '@comment'],\r\n [/\\/\\/.*$/, 'comment'],\r\n ],\r\n comment: [\r\n [/[^\\/*]+/, 'comment'],\r\n [/\\/\\*/, 'comment', '@comment'],\r\n [/\\*\\//, 'comment', '@pop'],\r\n [/[\\/*]/, 'comment']\r\n ],\r\n //Identical copy of comment above, except for the addition of .doc\r\n javadoc: [\r\n [/[^\\/*]+/, 'comment.doc'],\r\n [/\\/\\*/, 'comment.doc', '@push'],\r\n [/\\/\\*/, 'comment.doc.invalid'],\r\n [/\\*\\//, 'comment.doc', '@pop'],\r\n [/[\\/*]/, 'comment.doc']\r\n ],\r\n string: [\r\n [/[^\\\\\"]+/, 'string'],\r\n [/@escapes/, 'string.escape'],\r\n [/\\\\./, 'string.escape.invalid'],\r\n [/\"/, 'string', '@pop']\r\n ],\r\n multistring: [\r\n [/[^\\\\\"]+/, 'string'],\r\n [/@escapes/, 'string.escape'],\r\n [/\\\\./, 'string.escape.invalid'],\r\n [/\"\"\"/, 'string', '@pop'],\r\n [/./, 'string']\r\n ],\r\n },\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/monaco-editor/esm/vs/basic-languages/kotlin/kotlin.js?")}}]);