blob: e6f270d28b9441745cfc8d2572d90e4596c60ceb [file] [log] [blame]
{"version":3,"sources":["webpack:///./node_modules/react-syntax-highlighter/node_modules/highlight.js/lib/languages/leaf.js"],"names":["module","exports","hljs","name","contains","className","begin","end","returnBegin","excludeEnd","endsParent"],"mappings":"gFAsCAA,EAAOC,QAjCP,SAAcC,GACZ,MAAO,CACLC,KAAM,OACNC,SAAU,CAAC,CACTC,UAAW,WACXC,MAAO,qBACPC,IAAK,KACLC,aAAa,EACbC,YAAY,EACZL,SAAU,CAAC,CACTC,UAAW,UACXC,MAAO,MACN,CACDD,UAAW,QACXC,MAAO,0BACN,CACDD,UAAW,SACXC,MAAO,MACPC,IAAK,MACLG,YAAY,EACZN,SAAU,CAAC,CACTC,UAAW,SACXC,MAAO,IACPC,IAAK,KACJ,CACDF,UAAW,WACXC,MAAO","file":"react-syntax-highlighter_languages_highlight_leaf-3b3c30b7ffc8b6b1de84.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*/\nfunction leaf(hljs) {\n return {\n name: 'Leaf',\n contains: [{\n className: 'function',\n begin: '#+' + '[A-Za-z_0-9]*' + '\\\\(',\n end: ' {',\n returnBegin: true,\n excludeEnd: true,\n contains: [{\n className: 'keyword',\n begin: '#+'\n }, {\n className: 'title',\n begin: '[A-Za-z_][A-Za-z_0-9]*'\n }, {\n className: 'params',\n begin: '\\\\(',\n end: '\\\\)',\n endsParent: true,\n contains: [{\n className: 'string',\n begin: '\"',\n end: '\"'\n }, {\n className: 'variable',\n begin: '[A-Za-z_][A-Za-z_0-9]*'\n }]\n }]\n }]\n };\n}\n\nmodule.exports = leaf;"],"sourceRoot":""}