diff options
Diffstat (limited to 'js/highlight/moonscript.js.map')
-rw-r--r-- | js/highlight/moonscript.js.map | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/highlight/moonscript.js.map b/js/highlight/moonscript.js.map index 5b535f0da..1558f7fda 100644 --- a/js/highlight/moonscript.js.map +++ b/js/highlight/moonscript.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/moonscript.js"],"names":["module","exports","hljs","KEYWORDS","keyword","literal","built_in","JS_IDENT_RE","SUBST","className","begin","end","keywords","EXPRESSIONS","inherit","C_NUMBER_MODE","starts","relevance","variants","contains","BACKSLASH_ESCAPE","IDENT_RE","TITLE","TITLE_MODE","PARAMS","returnBegin","concat","name","aliases","illegal","COMMENT","beginKeywords","endsWithParent","returnEnd"],"mappings":"oGAkJAA,EAAOC,QAzIP,SAAoBC,GAClB,IAAMC,EAAW,CACfC,QAEE,6IAEFC,QACE,iBACFC,SACE,qRAKEC,EAAc,2BACdC,EAAQ,CACZC,UAAW,QACXC,MAAO,MACPC,IAAK,KACLC,SAAUT,GAENU,EAAc,CAClBX,EAAKY,QAAQZ,EAAKa,cAChB,CACEC,OAAQ,CACNL,IAAK,WACLM,UAAW,KAGjB,CACER,UAAW,SACXS,SAAU,CACR,CACER,MAAO,IACPC,IAAK,IACLQ,SAAU,CAAEjB,EAAKkB,mBAEnB,CACEV,MAAO,IACPC,IAAK,IACLQ,SAAU,CACRjB,EAAKkB,iBACLZ,MAKR,CACEC,UAAW,WACXC,MAAO,MAAQR,EAAKmB,UAEtB,CACEX,MAAO,IAAMR,EAAKmB,UAEpB,CACEX,MAAOR,EAAKmB,SAAW,OAASnB,EAAKmB,WAGzCb,EAAMW,SAAWN,EAEjB,IAAMS,EAAQpB,EAAKY,QAAQZ,EAAKqB,WAAY,CAC1Cb,MAAOH,IAGHiB,EAAS,CACbf,UAAW,SACXC,MAAO,YACPe,aAAa,EAGbN,SAAU,CACR,CACET,MAAO,KACPC,IAAK,KACLC,SAAUT,EACVgB,SAAU,CAAE,QAASO,OAAOb,MAKlC,MAAO,CACLc,KAAM,aACNC,QAAS,CAAE,QACXhB,SAAUT,EACV0B,QAAS,OACTV,SAAUN,EAAYa,OAAO,CAC3BxB,EAAK4B,QAAQ,KAAM,KACnB,CACErB,UAAW,WACXC,MAAO,QAAUH,EAAV,mCACPI,IAAK,QACLc,aAAa,EACbN,SAAU,CACRG,EACAE,IAGJ,CACEd,MAAO,aACPO,UAAW,EACXE,SAAU,CACR,CACEV,UAAW,WACXC,MAxCiB,0BAyCjBC,IAAK,QACLc,aAAa,EACbN,SAAU,CAAEK,MAIlB,CACEf,UAAW,QACXsB,cAAe,QACfpB,IAAK,IACLkB,QAAS,YACTV,SAAU,CACR,CACEY,cAAe,UACfC,gBAAgB,EAChBH,QAAS,YACTV,SAAU,CAAEG,IAEdA,IAGJ,CACEb,UAAW,OACXC,MAAOH,EAAc,IACrBI,IAAK,IACLc,aAAa,EACbQ,WAAW,EACXhB,UAAW","file":"highlight/moonscript.js?v=8d5c374e08ee447ac2f1","sourcesContent":["/*\nLanguage: MoonScript\nAuthor: Billy Quith <chinbillybilbo@gmail.com>\nDescription: MoonScript is a programming language that transcompiles to Lua.\nOrigin: coffeescript.js\nWebsite: http://moonscript.org/\nCategory: scripting\n*/\n\nfunction moonscript(hljs) {\n const KEYWORDS = {\n keyword:\n // Moonscript keywords\n 'if then not for in while do return else elseif break continue switch and or ' +\n 'unless when class extends super local import export from using',\n literal:\n 'true false nil',\n built_in:\n '_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load ' +\n 'loadfile loadstring module next pairs pcall print rawequal rawget rawset require ' +\n 'select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug ' +\n 'io math os package string table'\n };\n const JS_IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*';\n const SUBST = {\n className: 'subst',\n begin: /#\\{/,\n end: /\\}/,\n keywords: KEYWORDS\n };\n const EXPRESSIONS = [\n hljs.inherit(hljs.C_NUMBER_MODE,\n {\n starts: {\n end: '(\\\\s*/)?',\n relevance: 0\n }\n }), // a number tries to eat the following slash to prevent treating it as a regexp\n {\n className: 'string',\n variants: [\n {\n begin: /'/,\n end: /'/,\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n begin: /\"/,\n end: /\"/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ]\n }\n ]\n },\n {\n className: 'built_in',\n begin: '@__' + hljs.IDENT_RE\n },\n {\n begin: '@' + hljs.IDENT_RE // relevance booster on par with CoffeeScript\n },\n {\n begin: hljs.IDENT_RE + '\\\\\\\\' + hljs.IDENT_RE // inst\\method\n }\n ];\n SUBST.contains = EXPRESSIONS;\n\n const TITLE = hljs.inherit(hljs.TITLE_MODE, {\n begin: JS_IDENT_RE\n });\n const POSSIBLE_PARAMS_RE = '(\\\\(.*\\\\)\\\\s*)?\\\\B[-=]>';\n const PARAMS = {\n className: 'params',\n begin: '\\\\([^\\\\(]',\n returnBegin: true,\n /* We need another contained nameless mode to not have every nested\n pair of parens to be called \"params\" */\n contains: [\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS,\n contains: [ 'self' ].concat(EXPRESSIONS)\n }\n ]\n };\n\n return {\n name: 'MoonScript',\n aliases: [ 'moon' ],\n keywords: KEYWORDS,\n illegal: /\\/\\*/,\n contains: EXPRESSIONS.concat([\n hljs.COMMENT('--', '$'),\n {\n className: 'function', // function: -> =>\n begin: '^\\\\s*' + JS_IDENT_RE + '\\\\s*=\\\\s*' + POSSIBLE_PARAMS_RE,\n end: '[-=]>',\n returnBegin: true,\n contains: [\n TITLE,\n PARAMS\n ]\n },\n {\n begin: /[\\(,:=]\\s*/, // anonymous function start\n relevance: 0,\n contains: [\n {\n className: 'function',\n begin: POSSIBLE_PARAMS_RE,\n end: '[-=]>',\n returnBegin: true,\n contains: [ PARAMS ]\n }\n ]\n },\n {\n className: 'class',\n beginKeywords: 'class',\n end: '$',\n illegal: /[:=\"\\[\\]]/,\n contains: [\n {\n beginKeywords: 'extends',\n endsWithParent: true,\n illegal: /[:=\"\\[\\]]/,\n contains: [ TITLE ]\n },\n TITLE\n ]\n },\n {\n className: 'name', // table\n begin: JS_IDENT_RE + ':',\n end: ':',\n returnBegin: true,\n returnEnd: true,\n relevance: 0\n }\n ])\n };\n}\n\nmodule.exports = moonscript;\n"],"sourceRoot":""}
\ No newline at end of file +{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/moonscript.js"],"names":["module","exports","hljs","KEYWORDS","keyword","literal","built_in","JS_IDENT_RE","SUBST","className","begin","end","keywords","EXPRESSIONS","inherit","C_NUMBER_MODE","starts","relevance","variants","contains","BACKSLASH_ESCAPE","IDENT_RE","TITLE","TITLE_MODE","PARAMS","returnBegin","concat","name","aliases","illegal","COMMENT","beginKeywords","endsWithParent","returnEnd"],"mappings":"oGAkJAA,EAAOC,QAzIP,SAAoBC,GAClB,IAAMC,EAAW,CACfC,QAEE,6IAEFC,QACE,iBACFC,SACE,qRAKEC,EAAc,2BACdC,EAAQ,CACZC,UAAW,QACXC,MAAO,MACPC,IAAK,KACLC,SAAUT,GAENU,EAAc,CAClBX,EAAKY,QAAQZ,EAAKa,cAChB,CACEC,OAAQ,CACNL,IAAK,WACLM,UAAW,KAGjB,CACER,UAAW,SACXS,SAAU,CACR,CACER,MAAO,IACPC,IAAK,IACLQ,SAAU,CAAEjB,EAAKkB,mBAEnB,CACEV,MAAO,IACPC,IAAK,IACLQ,SAAU,CACRjB,EAAKkB,iBACLZ,MAKR,CACEC,UAAW,WACXC,MAAO,MAAQR,EAAKmB,UAEtB,CACEX,MAAO,IAAMR,EAAKmB,UAEpB,CACEX,MAAOR,EAAKmB,SAAW,OAASnB,EAAKmB,WAGzCb,EAAMW,SAAWN,EAEjB,IAAMS,EAAQpB,EAAKY,QAAQZ,EAAKqB,WAAY,CAC1Cb,MAAOH,IAGHiB,EAAS,CACbf,UAAW,SACXC,MAAO,YACPe,aAAa,EAGbN,SAAU,CACR,CACET,MAAO,KACPC,IAAK,KACLC,SAAUT,EACVgB,SAAU,CAAE,QAASO,OAAOb,MAKlC,MAAO,CACLc,KAAM,aACNC,QAAS,CAAE,QACXhB,SAAUT,EACV0B,QAAS,OACTV,SAAUN,EAAYa,OAAO,CAC3BxB,EAAK4B,QAAQ,KAAM,KACnB,CACErB,UAAW,WACXC,MAAO,QAAUH,EAAV,mCACPI,IAAK,QACLc,aAAa,EACbN,SAAU,CACRG,EACAE,IAGJ,CACEd,MAAO,aACPO,UAAW,EACXE,SAAU,CACR,CACEV,UAAW,WACXC,MAxCiB,0BAyCjBC,IAAK,QACLc,aAAa,EACbN,SAAU,CAAEK,MAIlB,CACEf,UAAW,QACXsB,cAAe,QACfpB,IAAK,IACLkB,QAAS,YACTV,SAAU,CACR,CACEY,cAAe,UACfC,gBAAgB,EAChBH,QAAS,YACTV,SAAU,CAAEG,IAEdA,IAGJ,CACEb,UAAW,OACXC,MAAOH,EAAc,IACrBI,IAAK,IACLc,aAAa,EACbQ,WAAW,EACXhB,UAAW","file":"highlight/moonscript.js?v=c258cb7542db9d626441","sourcesContent":["/*\nLanguage: MoonScript\nAuthor: Billy Quith <chinbillybilbo@gmail.com>\nDescription: MoonScript is a programming language that transcompiles to Lua.\nOrigin: coffeescript.js\nWebsite: http://moonscript.org/\nCategory: scripting\n*/\n\nfunction moonscript(hljs) {\n const KEYWORDS = {\n keyword:\n // Moonscript keywords\n 'if then not for in while do return else elseif break continue switch and or ' +\n 'unless when class extends super local import export from using',\n literal:\n 'true false nil',\n built_in:\n '_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load ' +\n 'loadfile loadstring module next pairs pcall print rawequal rawget rawset require ' +\n 'select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug ' +\n 'io math os package string table'\n };\n const JS_IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*';\n const SUBST = {\n className: 'subst',\n begin: /#\\{/,\n end: /\\}/,\n keywords: KEYWORDS\n };\n const EXPRESSIONS = [\n hljs.inherit(hljs.C_NUMBER_MODE,\n {\n starts: {\n end: '(\\\\s*/)?',\n relevance: 0\n }\n }), // a number tries to eat the following slash to prevent treating it as a regexp\n {\n className: 'string',\n variants: [\n {\n begin: /'/,\n end: /'/,\n contains: [ hljs.BACKSLASH_ESCAPE ]\n },\n {\n begin: /\"/,\n end: /\"/,\n contains: [\n hljs.BACKSLASH_ESCAPE,\n SUBST\n ]\n }\n ]\n },\n {\n className: 'built_in',\n begin: '@__' + hljs.IDENT_RE\n },\n {\n begin: '@' + hljs.IDENT_RE // relevance booster on par with CoffeeScript\n },\n {\n begin: hljs.IDENT_RE + '\\\\\\\\' + hljs.IDENT_RE // inst\\method\n }\n ];\n SUBST.contains = EXPRESSIONS;\n\n const TITLE = hljs.inherit(hljs.TITLE_MODE, {\n begin: JS_IDENT_RE\n });\n const POSSIBLE_PARAMS_RE = '(\\\\(.*\\\\)\\\\s*)?\\\\B[-=]>';\n const PARAMS = {\n className: 'params',\n begin: '\\\\([^\\\\(]',\n returnBegin: true,\n /* We need another contained nameless mode to not have every nested\n pair of parens to be called \"params\" */\n contains: [\n {\n begin: /\\(/,\n end: /\\)/,\n keywords: KEYWORDS,\n contains: [ 'self' ].concat(EXPRESSIONS)\n }\n ]\n };\n\n return {\n name: 'MoonScript',\n aliases: [ 'moon' ],\n keywords: KEYWORDS,\n illegal: /\\/\\*/,\n contains: EXPRESSIONS.concat([\n hljs.COMMENT('--', '$'),\n {\n className: 'function', // function: -> =>\n begin: '^\\\\s*' + JS_IDENT_RE + '\\\\s*=\\\\s*' + POSSIBLE_PARAMS_RE,\n end: '[-=]>',\n returnBegin: true,\n contains: [\n TITLE,\n PARAMS\n ]\n },\n {\n begin: /[\\(,:=]\\s*/, // anonymous function start\n relevance: 0,\n contains: [\n {\n className: 'function',\n begin: POSSIBLE_PARAMS_RE,\n end: '[-=]>',\n returnBegin: true,\n contains: [ PARAMS ]\n }\n ]\n },\n {\n className: 'class',\n beginKeywords: 'class',\n end: '$',\n illegal: /[:=\"\\[\\]]/,\n contains: [\n {\n beginKeywords: 'extends',\n endsWithParent: true,\n illegal: /[:=\"\\[\\]]/,\n contains: [ TITLE ]\n },\n TITLE\n ]\n },\n {\n className: 'name', // table\n begin: JS_IDENT_RE + ':',\n end: ':',\n returnBegin: true,\n returnEnd: true,\n relevance: 0\n }\n ])\n };\n}\n\nmodule.exports = moonscript;\n"],"sourceRoot":""}
\ No newline at end of file |