2021-01-13 21:42:07 +03:00
|
|
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/angelscript.js"],"names":["module","exports","hljs","builtInTypeMode","className","begin","objectHandleMode","genericMode","end","contains","name","aliases","keywords","illegal","BACKSLASH_ESCAPE","relevance","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE","beginKeywords"],"mappings":"kGA0HAA,EAAOC,QAlHP,SAAqBC,GACnB,IAAIC,EAAkB,CACpBC,UAAW,WACXC,MAAO,2HAGLC,EAAmB,CACrBF,UAAW,SACXC,MAAO,kBAGLE,EAAc,CAChBH,UAAW,UACXC,MAAO,IAAKG,IAAK,IACjBC,SAAU,CAAEN,EAAiBG,IAM/B,OAHAH,EAAgBM,SAAW,CAAEF,GAC7BD,EAAiBG,SAAW,CAAEF,GAEvB,CACLG,KAAM,cACNC,QAAS,CAAC,OAEVC,SACE,2SAMFC,QAAS,uDAETJ,SAAU,CACR,CACEL,UAAW,SACXC,MAAO,IAAMG,IAAK,IAClBK,QAAS,MACTJ,SAAU,CAAEP,EAAKY,kBACjBC,UAAW,GAIb,CACEX,UAAW,SACXC,MAAO,MAAOG,IAAK,OAGrB,CACEJ,UAAW,SACXC,MAAO,IAAKG,IAAK,IACjBK,QAAS,MACTJ,SAAU,CAAEP,EAAKY,kBACjBC,UAAW,GAGbb,EAAKc,oBACLd,EAAKe,qBAEL,CACEb,UAAW,SACXC,MAAO,WAAYG,IAAK,OAG1B,CACEU,cAAe,sBAAuBV,IAAK,KAC3CK,QAAS,UACTJ,SAAU,CACR,CACEL,UAAW,SACXC,MAAO,mBAKb,CACEa,cAAe,QAASV,IAAK,KAC7BK,QAAS,UACTJ,SAAU,CACR,CACEL,UAAW,SACXC,MAAO,gBACPI,SAAU,CACR,CACEJ,MAAO,WACPI,SAAU,CACR,CACEL,UAAW,SACXC,MAAO,uBASrBF,EACAG,EAEA,CACEF,UAAW,UACXC,MAAO,wBAGT,CACED,UAAW,SACXW,UAAW,EACXV,MAAO","file":"highlight/angelscript.js?v=08ebac51d34ceb5a34f3","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 var builtInTypeMode = {\n className: 'built_in',\n begin: '\\\\b(void|bool|int|int8|int16|int32|int64|uint|uint8|uint16|uint32|uint64|string|ref|array|double|float|auto|dictionary)'\n };\n\n var objectHandleMode = {\n className: 'symbol',\n begin: '[a-zA-Z0-9_]+@'\n };\n\n var genericMode = {\n className: 'keyword',\n begin: '<', end: '>',\n contains: [ builtInTypeMode, objectHandleMode ]\n };\n\n builtInTypeMode.contains = [ genericMode ];\n objectHandleMode.contains = [ genericMode ];\n\n return {\n name: 'AngelScript',\n aliases: ['asc'],\n\n keywords:\n 'for in|0 break continue while do|0 return if else case switch namespace is cast ' +\n 'or and xor not get|0 in inout|10 out override set|0 private public const default|0 ' +\n 'final shared external mixin|10 enum typedef funcdef this super import from interface ' +\n 'abstract|0 try catch protected explicit property',\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: '\\'', end: '\\'',\n illegal: '\\\\n',\n contains: [ hljs.BACKSLASH_ESCAPE ],\n relevance: 0\n },\n\n // \"\"\"heredoc strings\"\"\"\n {\n className: 'string',\n begin: '\"\"\"', end: '\"\"\"'\n },\n\n { // \"strings\"\n className: 'string',\n begin: '\"', 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*\\\\[', end: '\\\\]',\n },\n\n { // interface or namespace declaration\n beginKeywords: 'interface namespace', 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', 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_]+'
|