%PDF- %PDF-
Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/ |
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/monkey-BjJHL8wT.chunk.mjs.map |
{"version":3,"file":"monkey-BjJHL8wT.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/monkey.js"],"sourcesContent":["/*\nLanguage: Monkey\nDescription: Monkey2 is an easy to use, cross platform, games oriented programming language from Blitz Research.\nAuthor: Arthur Bikmullin <devolonter@gmail.com>\nWebsite: https://blitzresearch.itch.io/monkey2\nCategory: gaming\n*/\n\nfunction monkey(hljs) {\n const NUMBER = {\n className: 'number',\n relevance: 0,\n variants: [\n { begin: '[$][a-fA-F0-9]+' },\n hljs.NUMBER_MODE\n ]\n };\n const FUNC_DEFINITION = {\n variants: [\n { match: [\n /(function|method)/,\n /\\s+/,\n hljs.UNDERSCORE_IDENT_RE,\n ] },\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.function\"\n }\n };\n const CLASS_DEFINITION = {\n variants: [\n { match: [\n /(class|interface|extends|implements)/,\n /\\s+/,\n hljs.UNDERSCORE_IDENT_RE,\n ] },\n ],\n scope: {\n 1: \"keyword\",\n 3: \"title.class\"\n }\n };\n const BUILT_INS = [\n \"DebugLog\",\n \"DebugStop\",\n \"Error\",\n \"Print\",\n \"ACos\",\n \"ACosr\",\n \"ASin\",\n \"ASinr\",\n \"ATan\",\n \"ATan2\",\n \"ATan2r\",\n \"ATanr\",\n \"Abs\",\n \"Abs\",\n \"Ceil\",\n \"Clamp\",\n \"Clamp\",\n \"Cos\",\n \"Cosr\",\n \"Exp\",\n \"Floor\",\n \"Log\",\n \"Max\",\n \"Max\",\n \"Min\",\n \"Min\",\n \"Pow\",\n \"Sgn\",\n \"Sgn\",\n \"Sin\",\n \"Sinr\",\n \"Sqrt\",\n \"Tan\",\n \"Tanr\",\n \"Seed\",\n \"PI\",\n \"HALFPI\",\n \"TWOPI\"\n ];\n const LITERALS = [\n \"true\",\n \"false\",\n \"null\"\n ];\n const KEYWORDS = [\n \"public\",\n \"private\",\n \"property\",\n \"continue\",\n \"exit\",\n \"extern\",\n \"new\",\n \"try\",\n \"catch\",\n \"eachin\",\n \"not\",\n \"abstract\",\n \"final\",\n \"select\",\n \"case\",\n \"default\",\n \"const\",\n \"local\",\n \"global\",\n \"field\",\n \"end\",\n \"if\",\n \"then\",\n \"else\",\n \"elseif\",\n \"endif\",\n \"while\",\n \"wend\",\n \"repeat\",\n \"until\",\n \"forever\",\n \"for\",\n \"to\",\n \"step\",\n \"next\",\n \"return\",\n \"module\",\n \"inline\",\n \"throw\",\n \"import\",\n // not positive, but these are not literals\n \"and\",\n \"or\",\n \"shl\",\n \"shr\",\n \"mod\"\n ];\n\n return {\n name: 'Monkey',\n case_insensitive: true,\n keywords: {\n keyword: KEYWORDS,\n built_in: BUILT_INS,\n literal: LITERALS\n },\n illegal: /\\/\\*/,\n contains: [\n hljs.COMMENT('#rem', '#end'),\n hljs.COMMENT(\n \"'\",\n '$',\n { relevance: 0 }\n ),\n FUNC_DEFINITION,\n CLASS_DEFINITION,\n {\n className: 'variable.language',\n begin: /\\b(self|super)\\b/\n },\n {\n className: 'meta',\n begin: /\\s*#/,\n end: '$',\n keywords: { keyword: 'if else elseif endif end then' }\n },\n {\n match: [\n /^\\s*/,\n /strict\\b/\n ],\n scope: { 2: \"meta\" }\n },\n {\n beginKeywords: 'alias',\n end: '=',\n contains: [ hljs.UNDERSCORE_TITLE_MODE ]\n },\n hljs.QUOTE_STRING_MODE,\n NUMBER\n ]\n };\n}\n\nmodule.exports = monkey;\n"],"names":["monkey","hljs","NUMBER","FUNC_DEFINITION","CLASS_DEFINITION","monkey_1"],"mappings":";4YAQA,SAASA,EAAOC,EAAM,CACpB,MAAMC,EAAS,CACb,UAAW,SACX,UAAW,EACX,SAAU,CACR,CAAE,MAAO,iBAAmB,EAC5BD,EAAK,WACN,CACL,EACQE,EAAkB,CACtB,SAAU,CACR,CAAE,MAAO,CACP,oBACA,MACAF,EAAK,mBACb,CAAS,CACJ,EACD,MAAO,CACL,EAAG,UACH,EAAG,gBACJ,CACL,EACQG,EAAmB,CACvB,SAAU,CACR,CAAE,MAAO,CACP,uCACA,MACAH,EAAK,mBACb,CAAS,CACJ,EACD,MAAO,CACL,EAAG,UACH,EAAG,aACJ,CACL,EA+FE,MAAO,CACL,KAAM,SACN,iBAAkB,GAClB,SAAU,CACR,QArDa,CACf,SACA,UACA,WACA,WACA,OACA,SACA,MACA,MACA,QACA,SACA,MACA,WACA,QACA,SACA,OACA,UACA,QACA,QACA,SACA,QACA,MACA,KACA,OACA,OACA,SACA,QACA,QACA,OACA,SACA,QACA,UACA,MACA,KACA,OACA,OACA,SACA,SACA,SACA,QACA,SAEA,MACA,KACA,MACA,MACA,KACJ,EAOM,SAnGc,CAChB,WACA,YACA,QACA,QACA,OACA,QACA,OACA,QACA,OACA,QACA,SACA,QACA,MACA,MACA,OACA,QACA,QACA,MACA,OACA,MACA,QACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,OACA,OACA,MACA,OACA,OACA,KACA,SACA,OACJ,EA6DM,QA5Da,CACf,OACA,QACA,MACJ,CAyDK,EACD,QAAS,OACT,SAAU,CACRA,EAAK,QAAQ,OAAQ,MAAM,EAC3BA,EAAK,QACH,IACA,IACA,CAAE,UAAW,CAAG,CACjB,EACDE,EACAC,EACA,CACE,UAAW,oBACX,MAAO,kBACR,EACD,CACE,UAAW,OACX,MAAO,OACP,IAAK,IACL,SAAU,CAAE,QAAS,+BAAiC,CACvD,EACD,CACE,MAAO,CACL,OACA,UACD,EACD,MAAO,CAAE,EAAG,MAAQ,CACrB,EACD,CACE,cAAe,QACf,IAAK,IACL,SAAU,CAAEH,EAAK,qBAAuB,CACzC,EACDA,EAAK,kBACLC,CACD,CACL,CACA,CAEA,IAAAG,EAAiBL","x_google_ignoreList":[0]}