phpTemplate top-level property

Language phpTemplate
final

Implementation

final phpTemplate = Language(
  id: "php-template",
  refs: {},
  name: "PHP template",
  subLanguage: ["xml"],
  contains: [
    Mode(
      begin: "<\\?(php|=)?",
      end: "\\?>",
      subLanguage: ["php"],
      contains: [
        Mode(
          begin: "/\\*",
          end: "\\*/",
          skip: true,
        ),
        Mode(
          begin: "b\"",
          end: "\"",
          skip: true,
        ),
        Mode(
          begin: "b'",
          end: "'",
          skip: true,
        ),
        Mode(
          scope: "string",
          begin: "'",
          end: "'",
          illegal: null,
          contains: null,
          className: overwritingNullString,
          skip: true,
        ),
        Mode(
          scope: "string",
          begin: "\"",
          end: "\"",
          illegal: null,
          contains: null,
          className: overwritingNullString,
          skip: true,
        ),
      ],
    ),
  ],
);