phpTemplate top-level property
Implementation
final phpTemplate = Mode(
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)
])
]);