1
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/parser3.js"],"names":["module","exports","hljs","CURLY_SUBCOMMENT","COMMENT","contains","name","subLanguage","relevance","className","begin","C_NUMBER_MODE"],"mappings":"oGAwDAA,EAAOC,QAhDP,SAAiBC,GACf,IAAMC,EAAmBD,EAAKE,QAC5B,KACA,KACA,CACEC,SAAU,CAAE,UAGhB,MAAO,CACLC,KAAM,UACNC,YAAa,MACbC,UAAW,EACXH,SAAU,CACRH,EAAKE,QAAQ,KAAM,KACnBF,EAAKE,QACH,UACA,KACA,CACEI,UAAW,GACXH,SAAU,CAAEF,KAGhB,CACEM,UAAW,OACXC,MAAO,gCACPF,UAAW,IAEb,CACEC,UAAW,QACXC,MAAO,4DAET,CACED,UAAW,WACXC,MAAO,qBAET,CACED,UAAW,UACXC,MAAO,eAET,CACED,UAAW,SACXC,MAAO,oBAETR,EAAKS","file":"highlight/parser3.js?v=f346d8e1860c30c8f217","sourcesContent":["/*\nLanguage: Parser3\nRequires: xml.js\nAuthor: Oleg Volchkov <oleg@volchkov.net>\nWebsite: https://www.parser.ru/en/\nCategory: template\n*/\n\nfunction parser3(hljs) {\n const CURLY_SUBCOMMENT = hljs.COMMENT(\n /\\{/,\n /\\}/,\n {\n contains: [ 'self' ]\n }\n );\n return {\n name: 'Parser3',\n subLanguage: 'xml',\n relevance: 0,\n contains: [\n hljs.COMMENT('^#', '$'),\n hljs.COMMENT(\n /\\^rem\\{/,\n /\\}/,\n {\n relevance: 10,\n contains: [ CURLY_SUBCOMMENT ]\n }\n ),\n {\n className: 'meta',\n begin: '^@(?:BASE|USE|CLASS|OPTIONS)$',\n relevance: 10\n },\n {\n className: 'title',\n begin: '@[\\\\w\\\\-]+\\\\[[\\\\w^;\\\\-]*\\\\](?:\\\\[[\\\\w^;\\\\-]*\\\\])?(?:.*)$'\n },\n {\n className: 'variable',\n begin: /\\$\\{?[\\w\\-.:]+\\}?/\n },\n {\n className: 'keyword',\n begin: /\\^[\\w\\-.:]+/\n },\n {\n className: 'number',\n begin: '\\\\^#[0-9a-fA-F]+'\n },\n hljs.C_NUMBER_MODE\n ]\n };\n}\n\nmodule.exports = parser3;\n"],"sourceRoot":""}
|