1
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/scala.js"],"names":["module","exports","hljs","SUBST","className","variants","begin","end","STRING","illegal","contains","BACKSLASH_ESCAPE","relevance","TYPE","NAME","CLASS","beginKeywords","excludeEnd","excludeBegin","METHOD","keywords","literal","keyword","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE","C_NUMBER_MODE"],"mappings":"qFAAAA,EAAOC,QAAU,SAASC,GAExB,IAGIC,EAAQ,CACVC,UAAW,QACXC,SAAU,CACR,CAACC,MAAO,oBACR,CAACA,MAAO,OAAQC,IAAK,OAIrBC,EAAS,CACXJ,UAAW,SACXC,SAAU,CACR,CACEC,MAAO,IAAKC,IAAK,IACjBE,QAAS,MACTC,SAAU,CAACR,EAAKS,mBAElB,CACEL,MAAO,MAAOC,IAAK,MACnBK,UAAW,IAEb,CACEN,MAAO,UAAWC,IAAK,IACvBE,QAAS,MACTC,SAAU,CAACR,EAAKS,iBAAkBR,IAEpC,CACEC,UAAW,SACXE,MAAO,YAAaC,IAAK,MACzBG,SAAU,CAACP,GACXS,UAAW,MAWbC,EAAO,CACTT,UAAW,OACXE,MAAO,wBACPM,UAAW,GAGTE,EAAO,CACTV,UAAW,QACXE,MAAO,iFACPM,UAAW,GAGTG,EAAQ,CACVX,UAAW,QACXY,cAAe,0BACfT,IAAK,aACLU,YAAY,EACZP,SAAU,CACR,CACEM,cAAe,eACfJ,UAAW,IAEb,CACEN,MAAO,KACPC,IAAK,KACLW,cAAc,EACdD,YAAY,EACZL,UAAW,EACXF,SAAU,CAACG,IAEb,CACET,UAAW,SACXE,MAAO,KACPC,IAAK,KACLW,cAAc,EACdD,YAAY,EACZL,UAAW,EACXF,SAAU,CAACG,IAEbC,IAIAK,EAAS,CACXf,UAAW,WACXY,cAAe,MACfT,IAAK,cACLU,YAAY,EACZP,SAAU,CAACI,IAGb,MAAO,CACLM,SAAU,CACRC,QAAS,kBACTC,QAAS,yPAEXZ,SAAU,CACRR,EAAKqB,oBACLrB,EAAKsB,qBACLhB,EAhES,CACXJ,UAAW,SACXE,MAAO,uBAgELO,EACAM,EACAJ,EACAb,EAAKuB,cA3GQ,CAAErB,UAAW,OAAQE,MAAO","file":"highlight/scala.js?v=577ad76d125e93b0779c","sourcesContent":["module.exports = function(hljs) {\n\n var ANNOTATION = { className: 'meta', begin: '@[A-Za-z]+' };\n\n // used in strings for escaping/interpolation/substitution\n var SUBST = {\n className: 'subst',\n variants: [\n {begin: '\\\\$[A-Za-z0-9_]+'},\n {begin: '\\\\${', end: '}'}\n ]\n };\n\n var STRING = {\n className: 'string',\n variants: [\n {\n begin: '\"', end: '\"',\n illegal: '\\\\n',\n contains: [hljs.BACKSLASH_ESCAPE]\n },\n {\n begin: '\"\"\"', end: '\"\"\"',\n relevance: 10\n },\n {\n begin: '[a-z]+\"', end: '\"',\n illegal: '\\\\n',\n contains: [hljs.BACKSLASH_ESCAPE, SUBST]\n },\n {\n className: 'string',\n begin: '[a-z]+\"\"\"', end: '\"\"\"',\n contains: [SUBST],\n relevance: 10\n }\n ]\n\n };\n\n var SYMBOL = {\n className: 'symbol',\n begin: '\\'\\\\w[\\\\w\\\\d_]*(?!\\')'\n };\n\n var TYPE = {\n className: 'type',\n begin: '\\\\b[A-Z][A-Za-z0-9_]*',\n relevance: 0\n };\n\n var NAME = {\n className: 'title',\n begin: /[^0-9\\n\\t \"'(),.`{}\\[\\]:;][^\\n\\t \"'(),.`{}\\[\\]:;]+|[^0-9\\n\\t \"'(),.`{}\\[\\]:;=]/,\n relevance: 0\n };\n\n var CLASS = {\n className: 'class',\n beginKeywords: 'class object trait type',\n end: /[:={\\[\\n;]/,\n excludeEnd: true,\n contains: [\n {\n beginKeywords: 'extends with',\n relevance: 10\n },\n {\n begin: /\\[/,\n end: /\\]/,\n excludeBegin: true,\n excludeEnd: true,\n relevance: 0,\n contains: [TYPE]\n },\n {\n className: 'params',\n begin: /\\(/,\n end: /\\)/,\n excludeBegin: true,\n excludeEnd: true,\n relevance: 0,\n contains: [TYPE]\n },\n NAME\n ]\n };\n\n var METHOD = {\n className: 'function',\n beginKeywords: 'def',\n end: /[:={\\[(\\n;]/,\n excludeEnd: true,\n contains: [NAME]\n };\n\n return {\n keywords: {\n literal: 'true false null',\n keyword: 'type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit'\n },\n contains: [\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n STRING,\n SYMBOL,\n TYPE,\n METHOD,\n CLASS,\n hljs.C_NUMBER_MODE,\n ANNOTATION\n ]\n };\n};"],"sourceRoot":""}
|