Mercurial
view third_party/highlight/es/languages/graphql.min.js @ 267:a78f5986011f
discover bundled production runtimes
Locate Bazel-packaged Copilot and Python binaries by stable suffix instead of hardcoding an external repository prefix.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 07 Aug 2026 12:58:55 -0700 |
| parents | 2db6253f355d |
| children |
line wrap: on
line source
/*! `graphql` grammar compiled for Highlight.js 11.11.1 */ var hljsGrammar=(()=>{"use strict";return e=>{const a=e.regex;return{ name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1, keywords:{ keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"], literal:["true","false","null"]}, contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{ scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation", begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/, end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{ scope:"symbol",begin:a.concat(/[_A-Za-z][_0-9A-Za-z]*/,a.lookahead(/\s*:/)), relevance:0}],illegal:[/[;<']/,/BEGIN/]}}})();export default hljsGrammar;