text/js/highlight/leaf.js.map

1 строка
1.7 KiB
Plaintext

{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/leaf.js"],"names":["module","exports","hljs","name","contains","className","begin","end","returnBegin","excludeEnd","endsParent"],"mappings":"mGAgDAA,EAAOC,QA1CP,SAAcC,GACZ,MAAO,CACLC,KAAM,OACNC,SAAU,CACR,CACEC,UAAW,WACXC,MAAO,qBACPC,IAAK,MACLC,aAAa,EACbC,YAAY,EACZL,SAAU,CACR,CACEC,UAAW,UACXC,MAAO,MAET,CACED,UAAW,QACXC,MAAO,0BAET,CACED,UAAW,SACXC,MAAO,MACPC,IAAK,MACLG,YAAY,EACZN,SAAU,CACR,CACEC,UAAW,SACXC,MAAO,IACPC,IAAK,KAEP,CACEF,UAAW,WACXC,MAAO","file":"highlight/leaf.js?v=d885a9ccbd3130060c45","sourcesContent":["/*\nLanguage: Leaf\nAuthor: Hale Chan <halechan@qq.com>\nDescription: Based on the Leaf reference from https://vapor.github.io/documentation/guide/leaf.html.\n*/\n\nfunction leaf(hljs) {\n return {\n name: 'Leaf',\n contains: [\n {\n className: 'function',\n begin: '#+' + '[A-Za-z_0-9]*' + '\\\\(',\n end: / \\{/,\n returnBegin: true,\n excludeEnd: true,\n contains: [\n {\n className: 'keyword',\n begin: '#+'\n },\n {\n className: 'title',\n begin: '[A-Za-z_][A-Za-z_0-9]*'\n },\n {\n className: 'params',\n begin: '\\\\(',\n end: '\\\\)',\n endsParent: true,\n contains: [\n {\n className: 'string',\n begin: '\"',\n end: '\"'\n },\n {\n className: 'variable',\n begin: '[A-Za-z_][A-Za-z_0-9]*'\n }\n ]\n }\n ]\n }\n ]\n };\n}\n\nmodule.exports = leaf;\n"],"sourceRoot":""}