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.
1 line
6.0 KiB
1 line
6.0 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[176],{yswY: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 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 ],\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*//\\\\s*#region\\\\b|^\\\\s*\\\\(\\\\*\\\\s*#region(.*)\\\\*\\\\)\"),\r\n end: new RegExp(\"^\\\\s*//\\\\s*#endregion\\\\b|^\\\\s*\\\\(\\\\*\\\\s*#endregion\\\\s*\\\\*\\\\)\")\r\n }\r\n }\r\n};\r\nvar language = {\r\n defaultToken: '',\r\n tokenPostfix: '.fs',\r\n keywords: [\r\n 'abstract', 'and', 'atomic', 'as',\r\n 'assert', 'asr', 'base', 'begin',\r\n 'break', 'checked', 'component',\r\n 'const', 'constraint', 'constructor',\r\n 'continue', 'class', 'default',\r\n 'delegate', 'do', 'done', 'downcast',\r\n 'downto', 'elif', 'else', 'end',\r\n 'exception', 'eager', 'event', 'external',\r\n 'extern', 'false', 'finally', 'for',\r\n 'fun', 'function', 'fixed', 'functor',\r\n 'global', 'if', 'in', 'include', 'inherit',\r\n 'inline', 'interface', 'internal', 'land',\r\n 'lor', 'lsl', 'lsr', 'lxor', 'lazy', 'let',\r\n 'match', 'member', 'mod', 'module', 'mutable',\r\n 'namespace', 'method', 'mixin', 'new', 'not',\r\n 'null', 'of', 'open', 'or', 'object',\r\n 'override', 'private', 'parallel', 'process',\r\n 'protected', 'pure', 'public', 'rec', 'return',\r\n 'static', 'sealed', 'struct', 'sig', 'then',\r\n 'to', 'true', 'tailcall', 'trait',\r\n 'try', 'type', 'upcast', 'use',\r\n 'val', 'void', 'virtual', 'volatile',\r\n 'when', 'while', 'with', 'yield'\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: /[uU]?[yslnLI]?/,\r\n floatsuffix: /[fFmM]?/,\r\n // The main tokenizer for our languages\r\n tokenizer: {\r\n root: [\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 // [< attributes >].\r\n [/\\[<.*>\\]/, 'annotation'],\r\n // Preprocessor directive\r\n [/^#(if|else|endif)/, 'keyword'],\r\n // delimiters and operators\r\n [/[{}()\\[\\]]/, '@brackets'],\r\n [/[<>](?!@symbols)/, '@brackets'],\r\n [/@symbols/, 'delimiter'],\r\n // numbers\r\n [/\\d*\\d+[eE]([\\-+]?\\d+)?(@floatsuffix)/, 'number.float'],\r\n [/\\d*\\.\\d+([eE][\\-+]?\\d+)?(@floatsuffix)/, 'number.float'],\r\n [/0x[0-9a-fA-F]+LF/, 'number.float'],\r\n [/0x[0-9a-fA-F]+(@integersuffix)/, 'number.hex'],\r\n [/0b[0-1]+(@integersuffix)/, 'number.bin'],\r\n [/\\d+(@integersuffix)/, 'number'],\r\n // delimiter: after number because of .\\d floats\r\n [/[;,.]/, 'delimiter'],\r\n // strings\r\n [/\"([^\"\\\\]|\\\\.)*$/, 'string.invalid'],\r\n [/\"\"\"/, 'string', '@string.\"\"\"'],\r\n [/\"/, 'string', '@string.\"'],\r\n // literal string\r\n [/\\@\"/, { token: 'string.quote', next: '@litstring' }],\r\n // characters\r\n [/'[^\\\\']'B?/, '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', '@comment'],\r\n [/\\/\\/.*$/, 'comment'],\r\n ],\r\n comment: [\r\n [/[^*(]+/, 'comment'],\r\n [/\\*\\)/, 'comment', '@pop'],\r\n [/\\*/, 'comment'],\r\n [/\\(\\*\\)/, 'comment'],\r\n [/\\(/, 'comment']\r\n ],\r\n string: [\r\n [/[^\\\\\"]+/, 'string'],\r\n [/@escapes/, 'string.escape'],\r\n [/\\\\./, 'string.escape.invalid'],\r\n [/(\"\"\"|\"B?)/, {\r\n cases: {\r\n '$#==$S2': { token: 'string', next: '@pop' },\r\n '@default': 'string'\r\n }\r\n }]\r\n ],\r\n litstring: [\r\n [/[^\"]+/, 'string'],\r\n [/\"\"/, 'string.escape'],\r\n [/\"/, { token: 'string.quote', next: '@pop' }]\r\n ],\r\n },\r\n};\r\n\n\n//# sourceURL=webpack:///./node_modules/monaco-editor/esm/vs/basic-languages/fsharp/fsharp.js?")}}]); |