blob: 0ccf7cac9173c057ec1b00c790d835621114e90b [file] [log] [blame]
{"version":3,"sources":["webpack:///./node_modules/react-syntax-highlighter/node_modules/highlight.js/lib/languages/php-template.js"],"names":["module","exports","hljs","name","subLanguage","contains","begin","end","skip","inherit","APOS_STRING_MODE","illegal","className","QUOTE_STRING_MODE"],"mappings":"gFA4CAA,EAAOC,QArCP,SAAqBC,GACnB,MAAO,CACLC,KAAM,eACNC,YAAa,MACbC,SAAU,CAAC,CACTC,MAAO,cACPC,IAAK,MACLH,YAAa,MACbC,SAAU,CAEV,CACEC,MAAO,OACPC,IAAK,OACLC,MAAM,GACL,CACDF,MAAO,KACPC,IAAK,IACLC,MAAM,GACL,CACDF,MAAO,KACPC,IAAK,IACLC,MAAM,GACLN,EAAKO,QAAQP,EAAKQ,iBAAkB,CACrCC,QAAS,KACTC,UAAW,KACXP,SAAU,KACVG,MAAM,IACJN,EAAKO,QAAQP,EAAKW,kBAAmB,CACvCF,QAAS,KACTC,UAAW,KACXP,SAAU,KACVG,MAAM","file":"react-syntax-highlighter_languages_highlight_phpTemplate-04ec363063f992f58203.js","sourcesContent":["/*\nLanguage: PHP Template\nRequires: xml.js, php.js\nAuthor: Josh Goebel <hello@joshgoebel.com>\nWebsite: https://www.php.net\nCategory: common\n*/\nfunction phpTemplate(hljs) {\n return {\n name: \"PHP template\",\n subLanguage: 'xml',\n contains: [{\n begin: /<\\?(php|=)?/,\n end: /\\?>/,\n subLanguage: 'php',\n contains: [// We don't want the php closing tag ?> to close the PHP block when\n // inside any of the following blocks:\n {\n begin: '/\\\\*',\n end: '\\\\*/',\n skip: true\n }, {\n begin: 'b\"',\n end: '\"',\n skip: true\n }, {\n begin: 'b\\'',\n end: '\\'',\n skip: true\n }, hljs.inherit(hljs.APOS_STRING_MODE, {\n illegal: null,\n className: null,\n contains: null,\n skip: true\n }), hljs.inherit(hljs.QUOTE_STRING_MODE, {\n illegal: null,\n className: null,\n contains: null,\n skip: true\n })]\n }]\n };\n}\n\nmodule.exports = phpTemplate;"],"sourceRoot":""}