%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/angelscript-AfX-4eXJ.chunk.mjs.map |
{"version":3,"file":"angelscript-AfX-4eXJ.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/angelscript.js"],"sourcesContent":["/*\nLanguage: AngelScript\nAuthor: Melissa Geels <melissa@nimble.tools>\nCategory: scripting\nWebsite: https://www.angelcode.com/angelscript/\n*/\n\n/** @type LanguageFn */\nfunction angelscript(hljs) {\n const builtInTypeMode = {\n className: 'built_in',\n begin: '\\\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)'\n };\n\n const objectHandleMode = {\n className: 'symbol',\n begin: '[a-zA-Z0-9_]+@'\n };\n\n const genericMode = {\n className: 'keyword',\n begin: '<',\n end: '>',\n contains: [\n builtInTypeMode,\n objectHandleMode\n ]\n };\n\n builtInTypeMode.contains = [ genericMode ];\n objectHandleMode.contains = [ genericMode ];\n\n const KEYWORDS = [\n \"for\",\n \"in|0\",\n \"break\",\n \"continue\",\n \"while\",\n \"do|0\",\n \"return\",\n \"if\",\n \"else\",\n \"case\",\n \"switch\",\n \"namespace\",\n \"is\",\n \"cast\",\n \"or\",\n \"and\",\n \"xor\",\n \"not\",\n \"get|0\",\n \"in\",\n \"inout|10\",\n \"out\",\n \"override\",\n \"set|0\",\n \"private\",\n \"public\",\n \"const\",\n \"default|0\",\n \"final\",\n \"shared\",\n \"external\",\n \"mixin|10\",\n \"enum\",\n \"typedef\",\n \"funcdef\",\n \"this\",\n \"super\",\n \"import\",\n \"from\",\n \"interface\",\n \"abstract|0\",\n \"try\",\n \"catch\",\n \"protected\",\n \"explicit\",\n \"property\"\n ];\n\n return {\n name: 'AngelScript',\n aliases: [ 'asc' ],\n\n keywords: KEYWORDS,\n\n // avoid close detection with C# and JS\n illegal: '(^using\\\\s+[A-Za-z0-9_\\\\.]+;$|\\\\bfunction\\\\s*[^\\\\(])',\n\n contains: [\n { // 'strings'\n className: 'string',\n begin: '\\'',\n end: '\\'',\n illegal: '\\\\n',\n contains: [ hljs.BACKSLASH_ESCAPE ],\n relevance: 0\n },\n\n // \"\"\"heredoc strings\"\"\"\n {\n className: 'string',\n begin: '\"\"\"',\n end: '\"\"\"'\n },\n\n { // \"strings\"\n className: 'string',\n begin: '\"',\n end: '\"',\n illegal: '\\\\n',\n contains: [ hljs.BACKSLASH_ESCAPE ],\n relevance: 0\n },\n\n hljs.C_LINE_COMMENT_MODE, // single-line comments\n hljs.C_BLOCK_COMMENT_MODE, // comment blocks\n\n { // metadata\n className: 'string',\n begin: '^\\\\s*\\\\[',\n end: '\\\\]'\n },\n\n { // interface or namespace declaration\n beginKeywords: 'interface namespace',\n end: /\\{/,\n illegal: '[;.\\\\-]',\n contains: [\n { // interface or namespace name\n className: 'symbol',\n begin: '[a-zA-Z0-9_]+'\n }\n ]\n },\n\n { // class declaration\n beginKeywords: 'class',\n end: /\\{/,\n illegal: '[;.\\\\-]',\n contains: [\n { // class name\n className: 'symbol',\n begin: '[a-zA-Z0-9_]+',\n contains: [\n {\n begin: '[:,]\\\\s*',\n contains: [\n {\n className: 'symbol',\n begin: '[a-zA-Z0-9_]+'\n }\n ]\n }\n ]\n }\n ]\n },\n\n builtInTypeMode, // built-in types\n objectHandleMode, // object handles\n\n { // literals\n className: 'literal',\n begin: '\\\\b(null|true|false)'\n },\n\n { // numbers\n className: 'number',\n relevance: 0,\n begin: '(-?)(\\\\b0[xXbBoOdD][a-fA-F0-9]+|(\\\\b\\\\d+(\\\\.\\\\d*)?f?|\\\\.\\\\d+f?)([eE][-+]?\\\\d+f?)?)'\n }\n ]\n };\n}\n\nmodule.exports = angelscript;\n"],"names":["angelscript","hljs","builtInTypeMode","objectHandleMode","genericMode","angelscript_1"],"mappings":";4YAQA,SAASA,EAAYC,EAAM,CACzB,MAAMC,EAAkB,CACtB,UAAW,WACX,MAAO,yHACX,EAEQC,EAAmB,CACvB,UAAW,SACX,MAAO,gBACX,EAEQC,EAAc,CAClB,UAAW,UACX,MAAO,IACP,IAAK,IACL,SAAU,CACRF,EACAC,CACD,CACL,EAEE,OAAAD,EAAgB,SAAW,CAAEE,GAC7BD,EAAiB,SAAW,CAAEC,GAmDvB,CACL,KAAM,cACN,QAAS,CAAE,KAAO,EAElB,SArDe,CACf,MACA,OACA,QACA,WACA,QACA,OACA,SACA,KACA,OACA,OACA,SACA,YACA,KACA,OACA,KACA,MACA,MACA,MACA,QACA,KACA,WACA,MACA,WACA,QACA,UACA,SACA,QACA,YACA,QACA,SACA,WACA,WACA,OACA,UACA,UACA,OACA,QACA,SACA,OACA,YACA,aACA,MACA,QACA,YACA,WACA,UACJ,EASI,QAAS,uDAET,SAAU,CACR,CACE,UAAW,SACX,MAAO,IACP,IAAK,IACL,QAAS,MACT,SAAU,CAAEH,EAAK,gBAAkB,EACnC,UAAW,CACZ,EAGD,CACE,UAAW,SACX,MAAO,MACP,IAAK,KACN,EAED,CACE,UAAW,SACX,MAAO,IACP,IAAK,IACL,QAAS,MACT,SAAU,CAAEA,EAAK,gBAAkB,EACnC,UAAW,CACZ,EAEDA,EAAK,oBACLA,EAAK,qBAEL,CACE,UAAW,SACX,MAAO,WACP,IAAK,KACN,EAED,CACE,cAAe,sBACf,IAAK,KACL,QAAS,UACT,SAAU,CACR,CACE,UAAW,SACX,MAAO,eACR,CACF,CACF,EAED,CACE,cAAe,QACf,IAAK,KACL,QAAS,UACT,SAAU,CACR,CACE,UAAW,SACX,MAAO,gBACP,SAAU,CACR,CACE,MAAO,WACP,SAAU,CACR,CACE,UAAW,SACX,MAAO,eACR,CACF,CACF,CACF,CACF,CACF,CACF,EAEDC,EACAC,EAEA,CACE,UAAW,UACX,MAAO,sBACR,EAED,CACE,UAAW,SACX,UAAW,EACX,MAAO,oFACR,CACF,CACL,CACA,CAEA,IAAAE,EAAiBL","x_google_ignoreList":[0]}