Warning, file /frameworks/syntax-highlighting/autotests/html/highlight.graphql.html was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 <!DOCTYPE html> 0002 <html><head> 0003 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 0004 <title>highlight.graphql</title> 0005 <meta name="generator" content="KF5::SyntaxHighlighting - Definition (GraphQL) - Theme (Breeze Light)"/> 0006 </head><body style="background-color:#ffffff;color:#1f1c1b"><pre> 0007 <span style="color:#898887;"># Examples taken from https://graphql.org/learn/schema/#type-language</span> 0008 <span style="color:#898887;">#</span> 0009 <span style="color:#898887;"># Alerts: </span><span style="color:#ca9219;background-color:#451e1a;font-weight:bold;">TODO</span><span style="color:#898887;"> </span><span style="color:#ca9219;background-color:#451e1a;font-weight:bold;">FIXME</span> 0010 0011 <span style="font-weight:bold;">query</span> Hero(<span style="color:#0057ae;">$episode</span>: Episode, <span style="color:#0057ae;">$withFriends</span>: <span style="color:#0057ae;">Boolean</span>!) { 0012 hero(episode: <span style="color:#0057ae;">$episode</span>) { 0013 name 0014 friends <span style="color:#0057ae;">@include</span>(if: <span style="color:#0057ae;">$withFriends</span>) { 0015 } 0016 } 0017 } 0018 0019 <span style="font-weight:bold;">query</span> { 0020 droid(id: <span style="color:#bf0303;">"2000"</span>, num: <span style="color:#b08000;">42</span>, active: <span style="color:#aa5500;">true</span>) { 0021 name 0022 } 0023 } 0024 0025 <span style="font-weight:bold;">type</span> Person <span style="color:#0057ae;">@addExternalFields</span>(source: <span style="color:#bf0303;">"profiles"</span>) <span style="color:#0057ae;">@excludeField</span>(name: <span style="color:#bf0303;">"photo"</span>) { 0026 name: <span style="color:#0057ae;">String</span> 0027 } 0028 0029 <span style="color:#898887;"># block strings (from https://github.com/graphql/graphql-spec/blob/master/spec/Section%202%20--%20Language.md)</span> 0030 0031 <span style="color:#bf0303;">"""</span> 0032 <span style="color:#bf0303;">This starts with and ends with an empty line,</span> 0033 <span style="color:#bf0303;">which makes it easier to read.</span> 0034 <span style="color:#bf0303;">"""</span> 0035 0036 <span style="color:#bf0303;">"""This does not start with or end with any empty lines,</span> 0037 <span style="color:#bf0303;">which makes it a little harder to read."""</span> 0038 </pre></body></html>