dust top-level property
Implementation
final dust = Mode(
refs: {},
name: "Dust",
aliases: ["dst"],
case_insensitive: true,
subLanguage: ["xml"],
contains: [
Mode(
className: "template-tag",
begin: "\\{[#\\/]",
end: "\\}",
illegal: ";",
contains: [
Mode(
className: "name",
begin: "[a-zA-Z\\.-]+",
starts: Mode(
endsWithParent: true,
relevance: 0,
contains: [QUOTE_STRING_MODE]))
]),
Mode(
className: "template-variable",
begin: "\\{",
end: "\\}",
illegal: ";",
keywords: "if eq ne lt lte gt gte select default math sep")
]);