зеркало из https://github.com/nextcloud/text.git
1 строка
1.8 KiB
Plaintext
1 строка
1.8 KiB
Plaintext
{"version":3,"file":"parser3-CRHnf3iW.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/parser3.js"],"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 { contains: [ 'self' ] }\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"],"names":["parser3","hljs","CURLY_SUBCOMMENT","parser3_1"],"mappings":";4YAQA,SAASA,EAAQC,EAAM,CACrB,MAAMC,EAAmBD,EAAK,QAC5B,KACA,KACA,CAAE,SAAU,CAAE,OAAU,CAC5B,EACE,MAAO,CACL,KAAM,UACN,YAAa,MACb,UAAW,EACX,SAAU,CACRA,EAAK,QAAQ,KAAM,GAAG,EACtBA,EAAK,QACH,UACA,KACA,CACE,UAAW,GACX,SAAU,CAAEC,CAAkB,CAC/B,CACF,EACD,CACE,UAAW,OACX,MAAO,gCACP,UAAW,EACZ,EACD,CACE,UAAW,QACX,MAAO,0DACR,EACD,CACE,UAAW,WACX,MAAO,mBACR,EACD,CACE,UAAW,UACX,MAAO,aACR,EACD,CACE,UAAW,SACX,MAAO,kBACR,EACDD,EAAK,aACN,CACL,CACA,CAEA,IAAAE,EAAiBH","x_google_ignoreList":[0]} |