Sha256: 7c1e35c7013197dd49e9e0801c953a5e53bdb956fba2d4faf05ceb06b96865e9
Contents?: true
Size: 538 Bytes
Versions: 4
Compression:
Stored size: 538 Bytes
Contents
Prism.languages.graphql = { 'comment': /#.*/, 'string': { pattern: /"(?:\\.|[^\\"])*"/, greedy: true }, 'number': /(?:\B-|\b)\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b/, '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+|\.\.\.\s*)on\b/, lookbehind: true }, /\b(?:query|fragment|mutation)\b/ ], 'operator': /!|=|\.{3}/, 'punctuation': /[!(){}\[\]:=,]/ };
Version data entries
4 entries across 4 versions & 1 rubygems