1
|
{"version":3,"file":"highlight/leaf.js?v=25b890170307c55819e4","mappings":"2GAgDAA,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","sources":["webpack:///text/node_modules/highlight.js/lib/languages/leaf.js"],"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"],"names":["module","exports","hljs","name","contains","className","begin","end","returnBegin","excludeEnd","endsParent"],"sourceRoot":""}
|