prism-code-editor
Version:
Lightweight, extensible code editor component for the web using Prism
19 lines (18 loc) • 590 B
JavaScript
import { l as languages } from "../../index-DF54SWhA.js";
import { i as insertBefore } from "../../language-BqHrf6z-.js";
import "./php.js";
insertBefore(languages.php.php.inside, "variable", {
"this": {
pattern: /\$this\b/,
alias: "keyword"
},
"global": /\$(?:GLOBALS|HTTP_RAW_POST_DATA|_COOKIE|_ENV|_FILES|_GET|_POST|_REQUEST|_SERVER|_SESSION|arg[cv]|http_response_header|php_errormsg)\b/,
"scope": {
pattern: /\b[\w\\]+::/,
inside: {
"keyword": /\b(?:parent|self|static)\b/,
"punctuation": /::|\\/
}
}
});
//# sourceMappingURL=php-extras.js.map