mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-09-07 05:14:42 +02:00
22 lines
23 KiB
JavaScript
22 lines
23 KiB
JavaScript
|
/*
|
||
|
* 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([["vendors-node_modules_monaco-editor_esm_vs_basic-languages_postiats_postiats_js"],{
|
||
|
|
||
|
/***/ "./node_modules/monaco-editor/esm/vs/basic-languages/postiats/postiats.js":
|
||
|
/*!********************************************************************************!*\
|
||
|
!*** ./node_modules/monaco-editor/esm/vs/basic-languages/postiats/postiats.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) Artyom Shalkhakov. All rights reserved.\r\n * Licensed under the MIT License. See License.txt in the project root for license information.\r\n *\r\n * Based on the ATS/Postiats lexer by Hongwei Xi.\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 tokenPostfix: '.pats',\r\n // TODO: staload and dynload are followed by a special kind of string literals\r\n // with {$IDENTIFER} variables, and it also may make sense to highlight\r\n // the punctuation (. and / and \\) differently.\r\n // Set defaultToken to invalid to see what you do not tokenize yet\r\n defaultToken: 'invalid',\r\n // keyword reference: https://github.com/githwxi/ATS-Postiats/blob/master/src/pats_lexing_token.dats\r\n keywords: [\r\n //\r\n 'abstype',\r\n 'abst0ype',\r\n 'absprop',\r\n 'absview',\r\n 'absvtype',\r\n 'absviewtype',\r\n 'absvt0ype',\r\n 'absviewt0ype',\r\n //\r\n 'as',\r\n //\r\n 'and',\r\n //\r\n 'assume',\r\n //\r\n 'begin',\r\n //\r\n /*\r\n \"case\", // CASE\r\n */\r\n //\r\n 'classdec',\r\n //\r\n 'datasort',\r\n //\r\n 'datatype',\r\n 'dataprop',\r\n 'dataview',\r\n 'datavtype',\r\n 'dataviewtype',\r\n //\r\n 'do',\r\n //\r\n 'end',\r\n //\r\n 'extern',\r\n 'extype',\r\n 'extvar',\r\n //\r\n 'exception',\r\n //\r\n 'fn',\r\n 'fnx',\r\n 'fun',\r\n //\r\n 'prfn',\r\n 'prfun',\r\n //\r\n 'praxi',\r\n 'castfn',\r\n //\r\n 'if',\r\n 'then',\r\n 'else',\r\n //\r\n 'ifcase',\r\n //\r\n 'in',\r\n //\r\n 'infix',\r\n 'infixl',\r\n 'infixr',\r\n 'prefix',\r\n 'postfix',\r\n //\r\n 'implmnt',\r\n 'implement',\r\n //\r\n 'primplmnt',\r\n 'primplement',\r\n //\r\n 'import',\r\n //\r\n /*\r\n \"lam\", // LAM\r\n \"llam\", // LLAM\r\n \"fix\", // FIX\r\n */\r\n //\r\n 'let',\r\n //\r\n 'local',\r\n //\r\n 'macdef',\r\n 'macrodef',\r\n //\r\n 'nonfix',\r\n //\r\n 'symelim',\r\n 'symintr',\r\n 'overload',\r\n //\r\n 'of',\r\n 'op',\r\n //\r\n 'rec',\r\n //\r\n 'sif',\r\n 'scase',\r\n //\r\n 'sortdef',\r\n /*\r\n // HX: [sta] is now deprecated\r\n */\r\n 'sta',\r\n 'stacst',\r\n 'stadef',\r\n 'static',\r\n /*\r\n \"stavar\", // T_STAVAR\r\n */\r\n //\r\n 'staload',\r\n 'dynload',\r\n //\r\n 'try',\r\n //\r\n 'tkindef',\r\n //\r\n /*\r\n \"type\", /
|
||
|
|
||
|
/***/ })
|
||
|
|
||
|
}]);
|