%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/actionscript-DMm_NuiL.chunk.mjs.map |
{"version":3,"file":"actionscript-DMm_NuiL.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/actionscript.js"],"sourcesContent":["/*\nLanguage: ActionScript\nAuthor: Alexander Myadzel <myadzel@gmail.com>\nCategory: scripting\nAudit: 2020\n*/\n\n/** @type LanguageFn */\nfunction actionscript(hljs) {\n const regex = hljs.regex;\n const IDENT_RE = /[a-zA-Z_$][a-zA-Z0-9_$]*/;\n const PKG_NAME_RE = regex.concat(\n IDENT_RE,\n regex.concat(\"(\\\\.\", IDENT_RE, \")*\")\n );\n const IDENT_FUNC_RETURN_TYPE_RE = /([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/;\n\n const AS3_REST_ARG_MODE = {\n className: 'rest_arg',\n begin: /[.]{3}/,\n end: IDENT_RE,\n relevance: 10\n };\n\n const KEYWORDS = [\n \"as\",\n \"break\",\n \"case\",\n \"catch\",\n \"class\",\n \"const\",\n \"continue\",\n \"default\",\n \"delete\",\n \"do\",\n \"dynamic\",\n \"each\",\n \"else\",\n \"extends\",\n \"final\",\n \"finally\",\n \"for\",\n \"function\",\n \"get\",\n \"if\",\n \"implements\",\n \"import\",\n \"in\",\n \"include\",\n \"instanceof\",\n \"interface\",\n \"internal\",\n \"is\",\n \"namespace\",\n \"native\",\n \"new\",\n \"override\",\n \"package\",\n \"private\",\n \"protected\",\n \"public\",\n \"return\",\n \"set\",\n \"static\",\n \"super\",\n \"switch\",\n \"this\",\n \"throw\",\n \"try\",\n \"typeof\",\n \"use\",\n \"var\",\n \"void\",\n \"while\",\n \"with\"\n ];\n const LITERALS = [\n \"true\",\n \"false\",\n \"null\",\n \"undefined\"\n ];\n\n return {\n name: 'ActionScript',\n aliases: [ 'as' ],\n keywords: {\n keyword: KEYWORDS,\n literal: LITERALS\n },\n contains: [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n hljs.C_NUMBER_MODE,\n {\n match: [\n /\\bpackage/,\n /\\s+/,\n PKG_NAME_RE\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.class\"\n }\n },\n {\n match: [\n /\\b(?:class|interface|extends|implements)/,\n /\\s+/,\n IDENT_RE\n ],\n className: {\n 1: \"keyword\",\n 3: \"title.class\"\n }\n },\n {\n className: 'meta',\n beginKeywords: 'import include',\n end: /;/,\n keywords: { keyword: 'import include' }\n },\n {\n beginKeywords: 'function',\n end: /[{;]/,\n excludeEnd: true,\n illegal: /\\S/,\n contains: [\n hljs.inherit(hljs.TITLE_MODE, { className: \"title.function\" }),\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n contains: [\n hljs.APOS_STRING_MODE,\n hljs.QUOTE_STRING_MODE,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n AS3_REST_ARG_MODE\n ]\n },\n { begin: regex.concat(/:\\s*/, IDENT_FUNC_RETURN_TYPE_RE) }\n ]\n },\n hljs.METHOD_GUARD\n ],\n illegal: /#/\n };\n}\n\nmodule.exports = actionscript;\n"],"names":["actionscript","hljs","regex","IDENT_RE","PKG_NAME_RE","IDENT_FUNC_RETURN_TYPE_RE","AS3_REST_ARG_MODE","actionscript_1"],"mappings":";4YAQA,SAASA,EAAaC,EAAM,CAC1B,MAAMC,EAAQD,EAAK,MACbE,EAAW,2BACXC,EAAcF,EAAM,OACxBC,EACAD,EAAM,OAAO,OAAQC,EAAU,IAAI,CACvC,EACQE,EAA4B,iCAE5BC,EAAoB,CACxB,UAAW,WACX,MAAO,SACP,IAAKH,EACL,UAAW,EACf,EA6DE,MAAO,CACL,KAAM,eACN,QAAS,CAAE,IAAM,EACjB,SAAU,CACR,QA/Da,CACf,KACA,QACA,OACA,QACA,QACA,QACA,WACA,UACA,SACA,KACA,UACA,OACA,OACA,UACA,QACA,UACA,MACA,WACA,MACA,KACA,aACA,SACA,KACA,UACA,aACA,YACA,WACA,KACA,YACA,SACA,MACA,WACA,UACA,UACA,YACA,SACA,SACA,MACA,SACA,QACA,SACA,OACA,QACA,MACA,SACA,MACA,MACA,OACA,QACA,MACJ,EAaM,QAZa,CACf,OACA,QACA,OACA,WACJ,CAQK,EACD,SAAU,CACRF,EAAK,iBACLA,EAAK,kBACLA,EAAK,oBACLA,EAAK,qBACLA,EAAK,cACL,CACE,MAAO,CACL,YACA,MACAG,CACD,EACD,UAAW,CACT,EAAG,UACH,EAAG,aACJ,CACF,EACD,CACE,MAAO,CACL,2CACA,MACAD,CACD,EACD,UAAW,CACT,EAAG,UACH,EAAG,aACJ,CACF,EACD,CACE,UAAW,OACX,cAAe,iBACf,IAAK,IACL,SAAU,CAAE,QAAS,gBAAkB,CACxC,EACD,CACE,cAAe,WACf,IAAK,OACL,WAAY,GACZ,QAAS,KACT,SAAU,CACRF,EAAK,QAAQA,EAAK,WAAY,CAAE,UAAW,iBAAkB,EAC7D,CACE,UAAW,SACX,MAAO,KACP,IAAK,KACL,SAAU,CACRA,EAAK,iBACLA,EAAK,kBACLA,EAAK,oBACLA,EAAK,qBACLK,CACD,CACF,EACD,CAAE,MAAOJ,EAAM,OAAO,OAAQG,CAAyB,CAAG,CAC3D,CACF,EACDJ,EAAK,YACN,EACD,QAAS,GACb,CACA,CAEA,IAAAM,EAAiBP","x_google_ignoreList":[0]}