1
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/dust.js"],"names":["module","exports","hljs","name","aliases","case_insensitive","subLanguage","contains","className","begin","end","illegal","starts","endsWithParent","relevance","QUOTE_STRING_MODE","keywords"],"mappings":"mGA4CAA,EAAOC,QAlCP,SAAcC,GAEZ,MAAO,CACLC,KAAM,OACNC,QAAS,CAAC,OACVC,kBAAkB,EAClBC,YAAa,MACbC,SAAU,CACR,CACEC,UAAW,eACXC,MAAO,UACPC,IAAK,KACLC,QAAS,IACTJ,SAAU,CAAC,CACTC,UAAW,OACXC,MAAO,eACPG,OAAQ,CACNC,gBAAgB,EAChBC,UAAW,EACXP,SAAU,CAACL,EAAKa,uBAItB,CACEP,UAAW,oBACXC,MAAO,KACPC,IAAK,KACLC,QAAS,IACTK,SA3BsB","file":"highlight/dust.js?v=97d04d5c7e0bac2f6661","sourcesContent":["/*\nLanguage: Dust\nRequires: xml.js\nAuthor: Michael Allen <michael.allen@benefitfocus.com>\nDescription: Matcher for dust.js templates.\nWebsite: https://www.dustjs.com\nCategory: template\n*/\n\n/** @type LanguageFn */\nfunction dust(hljs) {\n const EXPRESSION_KEYWORDS = 'if eq ne lt lte gt gte select default math sep';\n return {\n name: 'Dust',\n aliases: ['dst'],\n case_insensitive: true,\n subLanguage: 'xml',\n contains: [\n {\n className: 'template-tag',\n begin: /\\{[#\\/]/,\n end: /\\}/,\n illegal: /;/,\n contains: [{\n className: 'name',\n begin: /[a-zA-Z\\.-]+/,\n starts: {\n endsWithParent: true,\n relevance: 0,\n contains: [hljs.QUOTE_STRING_MODE]\n }\n }]\n },\n {\n className: 'template-variable',\n begin: /\\{/,\n end: /\\}/,\n illegal: /;/,\n keywords: EXPRESSION_KEYWORDS\n }\n ]\n };\n}\n\nmodule.exports = dust;\n"],"sourceRoot":""}
|