dust top-level property

Mode dust
final

Implementation

final dust = Mode(
    refs: {},
    aliases: ["dst"],
    case_insensitive: true,
    subLanguage: [Languages.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")
    ]);