mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
539 B
24 lines
539 B
Prism.languages.graphql = {
|
|
'comment': /#.*/,
|
|
'string': {
|
|
pattern: /"(?:\\.|[^\\"\r\n])*"/,
|
|
greedy: true
|
|
},
|
|
'number': /(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
|
|
'boolean': /\b(?:true|false)\b/,
|
|
'variable': /\$[a-z_]\w*/i,
|
|
'directive': {
|
|
pattern: /@[a-z_]\w*/i,
|
|
alias: 'function'
|
|
},
|
|
'attr-name': /[a-z_]\w*(?=\s*:)/i,
|
|
'keyword': [
|
|
{
|
|
pattern: /(fragment\s+(?!on)[a-z_]\w*\s+|\.{3}\s*)on\b/,
|
|
lookbehind: true
|
|
},
|
|
/\b(?:query|fragment|mutation)\b/
|
|
],
|
|
'operator': /!|=|\.{3}/,
|
|
'punctuation': /[!(){}\[\]:=,]/
|
|
};
|