github-linguist 7.11.1 → 7.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/linguist/lex.linguist_yy.c +619 -363
- data/ext/linguist/lex.linguist_yy.h +425 -59
- data/ext/linguist/linguist.c +5 -35
- data/ext/linguist/linguist.h +0 -18
- data/ext/linguist/tokenizer.l +61 -36
- data/grammars/annotation.liquidhaskell.haskell.json +1 -1835
- data/grammars/config.xcompose.json +1 -80
- data/grammars/documentation.markdown.injection.haxe.json +1 -22
- data/grammars/etc.json +1 -987
- data/grammars/file.lasso.json +1 -702
- data/grammars/hidden.manref.json +1 -29
- data/grammars/hidden.regexp.injection-shell.json +1 -28
- data/grammars/hint.haskell.json +1 -1762
- data/grammars/hint.message.haskell.json +1 -1786
- data/grammars/hint.type.haskell.json +1 -1759
- data/grammars/injections.etc.json +1 -659
- data/grammars/inline.prisma.json +1 -55
- data/grammars/markdown.hack.codeblock.json +1 -20
- data/grammars/markdown.haxe.codeblock.json +1 -26
- data/grammars/markdown.hxml.codeblock.json +1 -26
- data/grammars/markdown.plantuml.codeblock.json +1 -26
- data/grammars/objdump.x86asm.json +1 -69
- data/grammars/source.4dm.json +1 -1156
- data/grammars/source.SASLog.json +1 -18
- data/grammars/source.abap.json +1 -335
- data/grammars/source.abl.json +1 -734
- data/grammars/source.abnf.json +1 -294
- data/grammars/source.actionscript.3.json +1 -1538
- data/grammars/source.acucobol.json +1 -13
- data/grammars/source.ada.json +1 -133
- data/grammars/source.afm.json +1 -1207
- data/grammars/source.agc.json +1 -87
- data/grammars/source.agda.json +1 -72
- data/grammars/source.ahk.json +1 -195
- data/grammars/source.al.json +1 -130
- data/grammars/source.alloy.json +1 -40
- data/grammars/source.ampl.json +1 -151
- data/grammars/source.angelscript.json +1 -186
- data/grammars/source.antlr.json +1 -295
- data/grammars/source.apache-config.json +1 -346
- data/grammars/source.apache-config.mod_perl.json +1 -65
- data/grammars/source.apl.json +1 -1427
- data/grammars/source.applescript.json +1 -1384
- data/grammars/source.asl.json +1 -56
- data/grammars/source.asn.json +1 -55
- data/grammars/source.asp.json +1 -151
- data/grammars/source.aspectj.json +1 -960
- data/grammars/source.assembly.json +1 -116
- data/grammars/source.ats.json +1 -164
- data/grammars/source.autoit.json +1 -167
- data/grammars/source.avro.json +1 -381
- data/grammars/source.awk.json +1 -384
- data/grammars/source.ballerina.json +1 -1785
- data/grammars/source.batchfile.json +1 -732
- data/grammars/source.bdf.json +1 -425
- data/grammars/source.befunge.json +1 -34
- data/grammars/source.bf.json +1 -30
- data/grammars/source.blitzmax.json +1 -905
- data/grammars/source.bnf.json +1 -191
- data/grammars/source.boo.json +1 -448
- data/grammars/source.brightauthorproject.json +1 -24
- data/grammars/source.brightscript.json +1 -148
- data/grammars/source.bsl.json +1 -451
- data/grammars/source.bsv.json +1 -277
- data/grammars/source.c++.json +1 -436
- data/grammars/source.c++.qt.json +1 -29
- data/grammars/source.c.ec.json +1 -33
- data/grammars/source.c.json +1 -712
- data/grammars/source.c.nwscript.json +1 -0
- data/grammars/source.c.platform.json +1 -1115
- data/grammars/source.c2hs.json +1 -24
- data/grammars/source.cabal.json +1 -63
- data/grammars/source.cache.cmake.json +1 -70
- data/grammars/source.cake.json +1 -13
- data/grammars/source.camlp4.ocaml.json +1 -60
- data/grammars/source.capnp.json +1 -88
- data/grammars/source.ceylon.json +1 -93
- data/grammars/source.cfscript.cfc.json +1 -162
- data/grammars/source.cfscript.json +1 -737
- data/grammars/source.changelogs.rpm-spec.json +1 -91
- data/grammars/source.chapel.json +1 -265
- data/grammars/source.cirru.json +1 -61
- data/grammars/source.clarion.json +1 -146
- data/grammars/source.clean.json +1 -222
- data/grammars/source.click.json +1 -107
- data/grammars/source.clips.json +1 -67
- data/grammars/source.clojure.json +1 -429
- data/grammars/source.cm.json +1 -49
- data/grammars/source.cmake.json +1 -173
- data/grammars/source.cobol.json +1 -485
- data/grammars/source.coffee.json +1 -1310
- data/grammars/source.cool.json +1 -96
- data/grammars/source.coq.json +1 -58
- data/grammars/source.crystal.json +1 -2694
- data/grammars/source.cs.json +1 -4323
- data/grammars/source.csound-document.json +1 -175
- data/grammars/source.csound-score.json +1 -191
- data/grammars/source.csound.json +1 -824
- data/grammars/source.css.json +1 -1859
- data/grammars/source.css.less.json +1 -536
- data/grammars/source.css.mss.json +1 -249
- data/grammars/source.css.postcss.sugarss.json +1 -260
- data/grammars/source.css.scss.json +1 -1873
- data/grammars/source.csx.json +1 -13
- data/grammars/source.cuda-c++.json +1 -103
- data/grammars/source.curlrc.json +1 -984
- data/grammars/source.cwl.json +1 -103
- data/grammars/source.cython.json +1 -1912
- data/grammars/source.d.json +1 -741
- data/grammars/source.dart.json +1 -433
- data/grammars/source.data-weave.json +1 -1580
- data/grammars/source.desktop.json +1 -86
- data/grammars/source.diff.json +1 -153
- data/grammars/source.dircolors.json +1 -137
- data/grammars/source.direct-x.json +1 -135
- data/grammars/source.disasm.json +1 -30
- data/grammars/source.ditroff.desc.json +1 -411
- data/grammars/source.ditroff.json +1 -1280
- data/grammars/source.dm.json +1 -628
- data/grammars/source.dmf.json +1 -96
- data/grammars/source.dockerfile.json +1 -88
- data/grammars/source.dosbox-conf.json +1 -97
- data/grammars/source.dot.json +1 -117
- data/grammars/source.dylan.json +1 -212
- data/grammars/source.ebnf.json +1 -240
- data/grammars/source.editorconfig.json +1 -365
- data/grammars/source.eiffel.json +1 -133
- data/grammars/source.elixir.json +1 -965
- data/grammars/source.elm.json +1 -375
- data/grammars/source.emacs.lisp.json +1 -1301
- data/grammars/source.erlang.json +1 -1647
- data/grammars/source.essl.json +1 -37
- data/grammars/source.factor.json +1 -252
- data/grammars/source.fan.json +1 -341
- data/grammars/source.fancy.json +1 -245
- data/grammars/source.faust.json +1 -119
- data/grammars/source.figctrl.json +1 -252
- data/grammars/source.figfont.json +1 -121
- data/grammars/source.firestore.json +1 -289
- data/grammars/source.fish.json +1 -190
- data/grammars/source.fontdir.json +1 -99
- data/grammars/source.fontforge.json +1 -355
- data/grammars/source.forth.json +1 -84
- data/grammars/source.fortran.json +1 -464
- data/grammars/source.fortran.modern.json +1 -200
- data/grammars/source.fsharp.fsi.json +1 -9
- data/grammars/source.fsharp.fsl.json +1 -9
- data/grammars/source.fsharp.fsx.json +1 -13
- data/grammars/source.fsharp.json +1 -452
- data/grammars/source.fstar.json +1 -439
- data/grammars/source.futhark.json +1 -167
- data/grammars/source.gap.json +1 -163
- data/grammars/source.gcode.json +1 -176
- data/grammars/source.gdb.json +1 -160
- data/grammars/source.gdb.session.json +1 -70
- data/grammars/source.gdbregs.json +1 -14
- data/grammars/source.gdscript.json +1 -491
- data/grammars/source.gedcom.json +1 -196
- data/grammars/source.generic-db.json +1 -41
- data/grammars/source.gerber.json +1 -321
- data/grammars/source.gf.json +1 -51
- data/grammars/source.gfm.blade.json +1 -15
- data/grammars/source.gfm.json +1 -1913
- data/grammars/source.gitattributes.json +1 -111
- data/grammars/source.gitconfig.json +1 -450
- data/grammars/source.gitignore.json +1 -140
- data/grammars/source.glsl.json +1 -139
- data/grammars/source.gn.json +1 -345
- data/grammars/source.gnuplot.json +1 -260
- data/grammars/source.go.json +1 -540
- data/grammars/source.golo.json +1 -177
- data/grammars/source.gosu.2.json +1 -153
- data/grammars/source.grace.json +1 -675
- data/grammars/source.graphql.json +1 -978
- data/grammars/source.gremlin.json +1 -200
- data/grammars/source.groovy.gradle.json +1 -69
- data/grammars/source.groovy.json +1 -1374
- data/grammars/source.hack.json +1 -2595
- data/grammars/source.haproxy-config.json +1 -152
- data/grammars/source.harbour.json +1 -388
- data/grammars/source.haskell.json +1 -1760
- data/grammars/source.hc.json +1 -709
- data/grammars/source.hgignore.json +1 -34
- data/grammars/source.hlsl.json +1 -211
- data/grammars/source.hosts.json +1 -40
- data/grammars/source.hql.json +1 -492
- data/grammars/source.hsc2hs.json +1 -9
- data/grammars/source.hsig.json +1 -1760
- data/grammars/source.httpspec.json +1 -283
- data/grammars/source.hx.argument.json +1 -80
- data/grammars/source.hx.json +1 -2428
- data/grammars/source.hx.type.json +1 -8
- data/grammars/source.hxml.json +1 -59
- data/grammars/source.hy.json +1 -429
- data/grammars/source.ideal.json +1 -356
- data/grammars/source.idl-dlm.json +1 -105
- data/grammars/source.idl.json +1 -246
- data/grammars/source.idris.json +1 -523
- data/grammars/source.igor.json +1 -369
- data/grammars/source.inform7.json +1 -183
- data/grammars/source.ini.json +1 -107
- data/grammars/source.ini.npmrc.json +1 -311
- data/grammars/source.inno.json +1 -133
- data/grammars/source.inputrc.json +1 -500
- data/grammars/source.io.json +1 -156
- data/grammars/source.ioke.json +1 -266
- data/grammars/source.isabelle.root.json +1 -64
- data/grammars/source.isabelle.theory.json +1 -102
- data/grammars/source.j.json +1 -260
- data/grammars/source.jasmin.json +1 -294
- data/grammars/source.java-properties.json +1 -87
- data/grammars/source.java.json +1 -1020
- data/grammars/source.jcl.json +1 -46
- data/grammars/source.jflex.json +1 -484
- data/grammars/source.jison.json +1 -711
- data/grammars/source.jisonlex-injection.json +1 -10
- data/grammars/source.jisonlex.json +1 -434
- data/grammars/source.jolie.json +1 -132
- data/grammars/source.jq.json +1 -211
- data/grammars/source.js.css.json +1 -328
- data/grammars/source.js.json +1 -1897
- data/grammars/source.js.jsx.json +1 -2488
- data/grammars/source.js.objj.json +1 -419
- data/grammars/source.js.regexp.json +1 -152
- data/grammars/source.js.regexp.replacement.json +1 -26
- data/grammars/source.jsdoc.json +1 -460
- data/grammars/source.json.json +1 -139
- data/grammars/source.jsonnet.json +1 -197
- data/grammars/source.julia.console.json +1 -51
- data/grammars/source.julia.json +1 -991
- data/grammars/source.kotlin.json +1 -704
- data/grammars/source.lark.json +1 -0
- data/grammars/source.lbnf.json +1 -0
- data/grammars/source.lcov.json +1 -398
- data/grammars/source.lean.json +1 -226
- data/grammars/source.lean.markdown.json +1 -2598
- data/grammars/source.lex.json +1 -232
- data/grammars/source.lex.regexp.json +1 -269
- data/grammars/source.lid.json +1 -19
- data/grammars/source.lilypond.json +1 -869
- data/grammars/source.lisp.json +1 -101
- data/grammars/source.litcoffee.json +1 -654
- data/grammars/source.livescript.json +1 -603
- data/grammars/source.llvm.json +1 -61
- data/grammars/source.logos.json +1 -24
- data/grammars/source.logtalk.json +1 -310
- data/grammars/source.loomscript.json +1 -208
- data/grammars/source.lsl.json +1 -241
- data/grammars/source.ltspice.symbol.json +1 -294
- data/grammars/source.lua.json +1 -275
- data/grammars/source.m2.json +1 -125
- data/grammars/source.m4.json +1 -229
- data/grammars/source.m68k.json +1 -412
- data/grammars/source.mailmap.json +1 -28
- data/grammars/source.makefile.json +1 -470
- data/grammars/source.makegen.json +1 -9
- data/grammars/source.man-conf.json +1 -153
- data/grammars/source.mask.json +1 -816
- data/grammars/source.mata.json +1 -125
- data/grammars/source.mathematica.json +1 -416
- data/grammars/source.matlab.json +1 -1096
- data/grammars/source.maxscript.json +1 -465
- data/grammars/source.mcfunction-snapshot.json +1 -24480
- data/grammars/source.mcfunction.json +1 -1354
- data/grammars/source.mercury.json +1 -246
- data/grammars/source.meson.json +1 -165
- data/grammars/source.meta-info.json +1 -146
- data/grammars/source.ml.json +1 -285
- data/grammars/source.mlir.json +1 -109
- data/grammars/source.modelica.json +1 -142
- data/grammars/source.modula-3.json +1 -88
- data/grammars/source.modula2.json +1 -94
- data/grammars/source.monkey.json +1 -694
- data/grammars/source.moonscript.json +1 -144
- data/grammars/source.mql5.json +1 -187
- data/grammars/source.msl.json +1 -755
- data/grammars/source.mupad.json +1 -131
- data/grammars/source.nanorc.json +1 -333
- data/grammars/source.nasl.json +1 -155
- data/grammars/source.ncl.json +1 -53
- data/grammars/source.ne.json +1 -105
- data/grammars/source.nemerle.json +1 -132
- data/grammars/source.neon.json +1 -381
- data/grammars/source.nesc.json +1 -21
- data/grammars/source.netlinx.erb.json +1 -34
- data/grammars/source.netlinx.json +1 -704
- data/grammars/source.nextflow-groovy.json +1 -1359
- data/grammars/source.nextflow.json +1 -94
- data/grammars/source.nginx.json +1 -815
- data/grammars/source.nim.comment.json +1 -82
- data/grammars/source.nim.json +1 -1083
- data/grammars/source.nim_filter.json +1 -113
- data/grammars/source.nimcfg.json +1 -103
- data/grammars/source.ninja.json +1 -248
- data/grammars/source.nit.json +1 -234
- data/grammars/source.nix.json +1 -1196
- data/grammars/source.nsis.json +1 -152
- data/grammars/source.nu.json +1 -516
- data/grammars/source.nut.json +1 -262
- data/grammars/source.objc++.json +1 -12
- data/grammars/source.objc.json +1 -910
- data/grammars/source.objc.platform.json +1 -842
- data/grammars/source.objectscript.json +1 -309
- data/grammars/source.objectscript_class.json +1 -674
- data/grammars/source.objectscript_csp.json +1 -19
- data/grammars/source.objectscript_macros.json +1 -226
- data/grammars/source.ocaml.json +1 -1418
- data/grammars/source.ocamllex.json +1 -298
- data/grammars/source.ocamlyacc.json +1 -339
- data/grammars/source.odin-ehr.json +1 -806
- data/grammars/source.odin.json +1 -402
- data/grammars/source.ooc.json +1 -685
- data/grammars/source.opa.json +1 -196
- data/grammars/source.opal.json +1 -410
- data/grammars/source.opalsysdefs.json +1 -66
- data/grammars/source.openbsd-pkg.contents.json +1 -128
- data/grammars/source.opencobol.json +1 -62
- data/grammars/source.opentype.json +1 -448
- data/grammars/source.opts.json +1 -108
- data/grammars/source.ox.json +1 -89
- data/grammars/source.oz.json +1 -77
- data/grammars/source.p4.json +1 -122
- data/grammars/source.paket.dependencies.json +1 -0
- data/grammars/source.paket.lock.json +1 -0
- data/grammars/source.pan.json +1 -706
- data/grammars/source.papyrus.skyrim.json +1 -1272
- data/grammars/source.parrot.pir.json +1 -145
- data/grammars/source.pascal.json +1 -143
- data/grammars/source.pawn.json +1 -1194
- data/grammars/source.pcb.board.json +1 -285
- data/grammars/source.pcb.schematic.json +1 -424
- data/grammars/source.pcb.sexp.json +1 -232
- data/grammars/source.pep8.json +1 -118
- data/grammars/source.perl.6.json +1 -309
- data/grammars/source.perl.json +1 -2519
- data/grammars/source.php.zephir.json +1 -353
- data/grammars/source.pic.json +1 -908
- data/grammars/source.pig_latin.json +1 -168
- data/grammars/source.pike.json +1 -49
- data/grammars/source.plist.json +1 -336
- data/grammars/source.po.json +1 -222
- data/grammars/source.pogoscript.json +1 -79
- data/grammars/source.pony.json +1 -245
- data/grammars/source.postcss.json +1 -370
- data/grammars/source.postscript.json +1 -477
- data/grammars/source.pov-ray sdl.json +1 -82
- data/grammars/source.powershell.json +1 -981
- data/grammars/source.prisma.json +1 -435
- data/grammars/source.processing.json +1 -872
- data/grammars/source.prolog.eclipse.json +1 -201
- data/grammars/source.prolog.json +1 -286
- data/grammars/source.protobuf.json +1 -471
- data/grammars/source.puppet.json +1 -433
- data/grammars/source.purescript.json +1 -861
- data/grammars/source.pyjade.json +1 -996
- data/grammars/source.python.django.json +1 -29
- data/grammars/source.python.json +1 -5292
- data/grammars/source.python.salt.json +1 -9
- data/grammars/source.q.json +1 -215
- data/grammars/source.q_output.json +1 -348
- data/grammars/source.qasm.json +1 -66
- data/grammars/source.ql.json +1 -1408
- data/grammars/source.qmake.json +1 -210
- data/grammars/source.qml.json +1 -174
- data/grammars/source.qsharp.json +1 -120
- data/grammars/source.quake.json +1 -44
- data/grammars/source.quoting.raku.json +1 -0
- data/grammars/source.r.json +1 -194
- data/grammars/source.racket.json +1 -98
- data/grammars/source.raku.json +1 -0
- data/grammars/source.rascal.json +1 -283
- data/grammars/source.reason.hover.type.json +1 -14
- data/grammars/source.reason.json +1 -3382
- data/grammars/source.rebol.json +1 -637
- data/grammars/source.red.json +1 -644
- data/grammars/source.reg.json +1 -159
- data/grammars/source.regexp.extended.json +1 -558
- data/grammars/source.regexp.json +1 -1434
- data/grammars/source.regexp.python.json +1 -490
- data/grammars/source.regexp.raku.json +1 -0
- data/grammars/source.regexp.spin.json +1 -179
- data/grammars/source.rego.json +1 -124
- data/grammars/source.renpy.json +1 -1948
- data/grammars/source.rescript.json +1 -0
- data/grammars/source.rexx.json +1 -52
- data/grammars/source.ring.json +1 -247
- data/grammars/source.rpm-spec.json +1 -765
- data/grammars/source.ruby.gemfile.json +1 -24
- data/grammars/source.ruby.json +1 -2605
- data/grammars/source.ruby.rspec.cucumber.steps.json +1 -261
- data/grammars/source.rust.json +1 -629
- data/grammars/source.sas.json +1 -286
- data/grammars/source.sass.json +1 -1089
- data/grammars/source.sassdoc.json +1 -346
- data/grammars/source.scad.json +1 -145
- data/grammars/source.scala.json +1 -1121
- data/grammars/source.scaml.json +1 -451
- data/grammars/source.scheme.json +1 -353
- data/grammars/source.scilab.json +1 -96
- data/grammars/source.sdbl.json +1 -90
- data/grammars/source.sed.json +1 -1520
- data/grammars/source.shaderlab.json +1 -198
- data/grammars/source.shell.json +1 -1272
- data/grammars/source.shen.json +1 -143
- data/grammars/source.sieve.json +1 -383
- data/grammars/source.slice.json +1 -2755
- data/grammars/source.smali.json +1 -1610
- data/grammars/source.smalltalk.json +1 -187
- data/grammars/source.smpl.json +1 -314
- data/grammars/source.smt.json +1 -158
- data/grammars/source.solidity.json +1 -189
- data/grammars/source.sourcepawn.json +1 -651
- data/grammars/source.sparql.json +1 -18
- data/grammars/source.spin.json +1 -916
- data/grammars/source.sqf.json +1 -111
- data/grammars/source.sql.json +1 -459
- data/grammars/source.ssh-config.json +1 -97
- data/grammars/source.stan.json +1 -388
- data/grammars/source.stata.json +1 -197
- data/grammars/source.strings.json +1 -49
- data/grammars/source.stylus.json +1 -1018
- data/grammars/source.supercollider.json +1 -93
- data/grammars/source.svelte.json +1 -827
- data/grammars/source.swift.json +1 -3134
- data/grammars/source.sy.json +1 -2954
- data/grammars/source.systemverilog.json +1 -1036
- data/grammars/source.tags.json +1 -266
- data/grammars/source.tcl.json +1 -260
- data/grammars/source.tea.json +1 -174
- data/grammars/source.terra.json +1 -138
- data/grammars/source.terraform.json +1 -694
- data/grammars/source.thrift.json +1 -698
- data/grammars/source.tl.json +1 -259
- data/grammars/source.tla.json +1 -140
- data/grammars/source.tnsaudit.json +1 -256
- data/grammars/source.toc.json +1 -52
- data/grammars/source.toml.json +1 -426
- data/grammars/source.ts.json +1 -5581
- data/grammars/source.tsql.json +1 -507
- data/grammars/source.tsx.json +1 -5834
- data/grammars/source.turing.json +1 -1553
- data/grammars/source.turtle.json +1 -489
- data/grammars/source.txl.json +1 -48
- data/grammars/source.ucd.nameslist.json +1 -444
- data/grammars/source.ucd.unidata.json +1 -570
- data/grammars/source.ucfconstraints.json +1 -67
- data/grammars/source.ur.json +1 -31
- data/grammars/source.v.json +1 -1010
- data/grammars/source.vala.json +1 -800
- data/grammars/source.varnish.vcl.json +1 -331
- data/grammars/source.vbnet.json +1 -239
- data/grammars/source.verilog.json +1 -296
- data/grammars/source.vhdl.json +1 -1374
- data/grammars/source.vim-snippet.json +1 -645
- data/grammars/source.viml.json +1 -1197
- data/grammars/source.vtt.json +1 -702
- data/grammars/source.vyper.json +1 -213
- data/grammars/source.wavefront.mtl.json +1 -1190
- data/grammars/source.wavefront.obj.json +1 -1341
- data/grammars/source.wdl.json +1 -220
- data/grammars/source.webassembly.json +1 -349
- data/grammars/source.webidl.json +1 -807
- data/grammars/source.wgetrc.json +1 -1640
- data/grammars/source.wollok.json +1 -100
- data/grammars/source.wsd.json +1 -781
- data/grammars/source.x10.json +1 -64
- data/grammars/source.x86.json +1 -299
- data/grammars/source.x86asm.json +1 -42
- data/grammars/source.xc.json +1 -371
- data/grammars/source.xlfd.json +1 -462
- data/grammars/source.xojo.json +1 -85
- data/grammars/source.xq.json +1 -230
- data/grammars/source.xtend.json +1 -724
- data/grammars/source.yacc.json +1 -626
- data/grammars/source.yaml.json +1 -443
- data/grammars/source.yaml.salt.json +1 -345
- data/grammars/source.yang.json +1 -78
- data/grammars/source.yara.json +1 -99
- data/grammars/source.yasnippet.json +1 -377
- data/grammars/source.zap.json +1 -260
- data/grammars/source.zeek.json +1 -412
- data/grammars/source.zenscript.json +1 -282
- data/grammars/source.zig.json +1 -547
- data/grammars/source.zil.json +1 -750
- data/grammars/text.bibtex.json +1 -246
- data/grammars/text.cfml.basic.json +1 -735
- data/grammars/text.conllu.json +1 -45
- data/grammars/text.dfy.dafny.json +1 -188
- data/grammars/text.elixir.json +1 -52
- data/grammars/text.eml.basic.json +1 -296
- data/grammars/text.error-list.json +1 -53
- data/grammars/text.find-refs.json +1 -926
- data/grammars/text.gherkin.feature.json +1 -127
- data/grammars/text.haml.json +1 -518
- data/grammars/text.hamlc.json +1 -219
- data/grammars/text.html.asciidoc.json +1 -478
- data/grammars/text.html.asdoc.json +1 -529
- data/grammars/text.html.asp.json +1 -53
- data/grammars/text.html.basic.json +1 -908
- data/grammars/text.html.cfm.json +1 -802
- data/grammars/text.html.creole.json +1 -317
- data/grammars/text.html.cshtml.json +1 -356
- data/grammars/text.html.django.json +1 -63
- data/grammars/text.html.ecr.json +1 -48
- data/grammars/text.html.elixir.json +1 -21
- data/grammars/text.html.erb.json +1 -150
- data/grammars/text.html.erlang.yaws.json +1 -67
- data/grammars/text.html.factor.json +1 -19
- data/grammars/text.html.ftl.json +1 -76
- data/grammars/text.html.handlebars.json +1 -845
- data/grammars/text.html.javadoc.json +1 -426
- data/grammars/text.html.js.json +1 -24
- data/grammars/text.html.jsp.json +1 -1196
- data/grammars/text.html.liquid.json +1 -25
- data/grammars/text.html.mako.json +1 -726
- data/grammars/text.html.markdown.source.gfm.apib.json +1 -1298
- data/grammars/text.html.markdown.source.gfm.mson.json +1 -1156
- data/grammars/text.html.mediawiki.elm-build-output.json +1 -97
- data/grammars/text.html.mediawiki.elm-documentation.json +1 -17
- data/grammars/text.html.mediawiki.json +1 -946
- data/grammars/text.html.php.blade.json +1 -3833
- data/grammars/text.html.php.json +1 -2507
- data/grammars/text.html.riot.json +1 -788
- data/grammars/text.html.slash.json +1 -307
- data/grammars/text.html.smarty.json +1 -232
- data/grammars/text.html.soy.json +1 -606
- data/grammars/text.html.ssp.json +1 -43
- data/grammars/text.html.tcl.json +1 -37
- data/grammars/text.html.twig.json +1 -1344
- data/grammars/text.html.vue.json +1 -963
- data/grammars/text.idl-idldoc.json +1 -10
- data/grammars/text.jade.json +1 -963
- data/grammars/text.junit-test-report.json +1 -89
- data/grammars/text.log.latex.json +1 -84
- data/grammars/text.marko.json +1 -1662
- data/grammars/text.muse.json +1 -1471
- data/grammars/text.openbsd-pkg.desc.json +1 -78
- data/grammars/text.plain.json +1 -18
- data/grammars/text.python.console.json +1 -21
- data/grammars/text.python.traceback.json +1 -43
- data/grammars/text.rdoc.json +1 -44
- data/grammars/text.restructuredtext.clean.json +1 -24
- data/grammars/text.restructuredtext.json +1 -1765
- data/grammars/text.robot.json +1 -63
- data/grammars/text.roff.json +1 -6927
- data/grammars/text.rtf.json +1 -148
- data/grammars/text.runoff.json +1 -308
- data/grammars/text.sfd.json +1 -292
- data/grammars/text.shell-session.json +1 -29
- data/grammars/text.slim.json +1 -527
- data/grammars/text.srt.json +1 -166
- data/grammars/text.tex.json +1 -264
- data/grammars/text.tex.latex.beamer.json +1 -57
- data/grammars/text.tex.latex.haskell.json +1 -1826
- data/grammars/text.tex.latex.json +1 -1003
- data/grammars/text.tex.latex.memoir.json +1 -129
- data/grammars/text.tex.latex.rd.json +1 -111
- data/grammars/text.texinfo.json +1 -1525
- data/grammars/text.vim-help.json +1 -383
- data/grammars/text.xml.ant.json +1 -195
- data/grammars/text.xml.flex-config.json +1 -2628
- data/grammars/text.xml.genshi.json +1 -28
- data/grammars/text.xml.json +1 -351
- data/grammars/text.xml.plist.json +1 -664
- data/grammars/text.xml.pom.json +1 -769
- data/grammars/text.xml.svg.json +1 -562
- data/grammars/text.xml.xsl.json +1 -88
- data/grammars/text.zone_file.json +1 -67
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/generic.yml +17 -0
- data/lib/linguist/heuristics.yml +37 -17
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +41 -2
- data/lib/linguist/linguist.bundle +0 -0
- data/lib/linguist/samples.json +1 -1
- data/lib/linguist/strategy/extension.rb +13 -5
- metadata +12 -6
- data/ext/linguist/strndup.c +0 -10
- data/grammars/source.perl6fe.json +0 -2769
- data/grammars/source.quoting.perl6fe.json +0 -2369
- data/grammars/source.regexp.perl6fe.json +0 -244
data/grammars/source.qasm.json
CHANGED
@@ -1,66 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "QASM",
|
3
|
-
"scopeName": "source.qasm",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"name": "comment.line.double-slash",
|
7
|
-
"match": "\\/\\/.*$"
|
8
|
-
},
|
9
|
-
{
|
10
|
-
"name": "comment.line.number-sign",
|
11
|
-
"match": "#.*$"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"name": "entity.name.function",
|
15
|
-
"match": "^(?x) # At beggining of line\n(\\.) # Valid function name\n(\n (?: [-a-zA-Z_0-9]|[^\\x00-\\x7F] # Valid identifier characters\n | \\\\(?:[0-9a-fA-F]{1,6}|.) # Escape sequence\n )+\n) # Followed by either:\n(?= $ # - End of the line\n | [\\s,.\\#)\\[:{\u003e+~|] # - Another selector\n | # # - A comment\n)"
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"name": "entity.name.section",
|
19
|
-
"match": "(?x)\\b(include|OPENQASM|version)\\b"
|
20
|
-
},
|
21
|
-
{
|
22
|
-
"name": "variable.language",
|
23
|
-
"match": "(?x)\\b(qubit|qubits|map)\\b"
|
24
|
-
},
|
25
|
-
{
|
26
|
-
"name": "constant.other",
|
27
|
-
"match": "(?\u003c=(\\w\\[)|(:))( *\\d *)(?=(\\s*\\])|(:))"
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"name": "keyword.storage.modifier",
|
31
|
-
"match": "-\u003e"
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"name": "constant.string.single",
|
35
|
-
"match": "('.*')"
|
36
|
-
},
|
37
|
-
{
|
38
|
-
"name": "constant.string.double",
|
39
|
-
"match": "\".*\""
|
40
|
-
},
|
41
|
-
{
|
42
|
-
"name": "storage.type",
|
43
|
-
"match": "(?x)^\\b(?:(qreg|creg)| (gate|opaque))\\b"
|
44
|
-
},
|
45
|
-
{
|
46
|
-
"name": "support.function",
|
47
|
-
"match": "(?x)\\b(?:(prep_x|prep_y|prep_z|error_model)| (measure_x|measure_y|measure_z|measure_all|measure_parity|measure)| (display|display_binary))\\b"
|
48
|
-
},
|
49
|
-
{
|
50
|
-
"name": "keyword.control",
|
51
|
-
"match": "(?i)(?x)\\b(?:((i|h|x|y|z)| (rx|ry|rz)| (x90|y90|z90|rx90|ry90|rz90|mx90|my90|mz90)| (x180|y180|z180|rx180|ry180|rz180|mx180|my180|mz180)| (u1|u2|u3|cu1|cu2|cu3)| (s|sdag|t|tdag)| (cnot|cx|cz|cr|crk|toffoli|ccx|ccnot)| (swap) ))\\b"
|
52
|
-
},
|
53
|
-
{
|
54
|
-
"name": "keyword.control",
|
55
|
-
"match": "(?i)(?x)\\bc-(?:((i|h|x|y|z)| (rx|ry|rz)| (x90|y90|z90|rx90|ry90|rz90|mx90|my90|mz90)| (x180|y180|z180|rx180|ry180|rz180|mx180|my180|mz180)| (u1|u2|u3)| (s|sdag|t|tdag)| (cnot|cx|cz|cr|crk|toffoli|ccx|ccnot)| (swap) ))\\b"
|
56
|
-
},
|
57
|
-
{
|
58
|
-
"name": "keyword.control",
|
59
|
-
"match": "(?i)(?x)\\b(?:(not )|(if(?=[( ])))\\b"
|
60
|
-
},
|
61
|
-
{
|
62
|
-
"name": "variable.language",
|
63
|
-
"match": "\\b(depolarizing_channel|load_state|barrier)\\b"
|
64
|
-
}
|
65
|
-
]
|
66
|
-
}
|
1
|
+
{"name":"QASM","scopeName":"source.qasm","patterns":[{"name":"comment.line.double-slash","match":"\\/\\/.*$"},{"name":"comment.line.number-sign","match":"#.*$"},{"name":"entity.name.function","match":"^(?x) # At beggining of line\n(\\.) # Valid function name\n(\n (?: [-a-zA-Z_0-9]|[^\\x00-\\x7F] # Valid identifier characters\n | \\\\(?:[0-9a-fA-F]{1,6}|.) # Escape sequence\n )+\n) # Followed by either:\n(?= $ # - End of the line\n | [\\s,.\\#)\\[:{\u003e+~|] # - Another selector\n | # # - A comment\n)"},{"name":"entity.name.section","match":"(?x)\\b(include|OPENQASM|version)\\b"},{"name":"variable.language","match":"(?x)\\b(qubit|qubits|map)\\b"},{"name":"constant.other","match":"(?\u003c=(\\w\\[)|(:))( *\\d *)(?=(\\s*\\])|(:))"},{"name":"keyword.storage.modifier","match":"-\u003e"},{"name":"constant.string.single","match":"('.*')"},{"name":"constant.string.double","match":"\".*\""},{"name":"storage.type","match":"(?x)^\\b(?:(qreg|creg)| (gate|opaque))\\b"},{"name":"support.function","match":"(?x)\\b(?:(prep_x|prep_y|prep_z|error_model)| (measure_x|measure_y|measure_z|measure_all|measure_parity|measure)| (display|display_binary))\\b"},{"name":"keyword.control","match":"(?i)(?x)\\b(?:((i|h|x|y|z)| (rx|ry|rz)| (x90|y90|z90|rx90|ry90|rz90|mx90|my90|mz90)| (x180|y180|z180|rx180|ry180|rz180|mx180|my180|mz180)| (u1|u2|u3|cu1|cu2|cu3)| (s|sdag|t|tdag)| (cnot|cx|cz|cr|crk|toffoli|ccx|ccnot)| (swap) ))\\b"},{"name":"keyword.control","match":"(?i)(?x)\\bc-(?:((i|h|x|y|z)| (rx|ry|rz)| (x90|y90|z90|rx90|ry90|rz90|mx90|my90|mz90)| (x180|y180|z180|rx180|ry180|rz180|mx180|my180|mz180)| (u1|u2|u3)| (s|sdag|t|tdag)| (cnot|cx|cz|cr|crk|toffoli|ccx|ccnot)| (swap) ))\\b"},{"name":"keyword.control","match":"(?i)(?x)\\b(?:(not )|(if(?=[( ])))\\b"},{"name":"variable.language","match":"\\b(depolarizing_channel|load_state|barrier)\\b"}]}
|
data/grammars/source.ql.json
CHANGED
@@ -1,1408 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "QL",
|
3
|
-
"scopeName": "source.ql",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"include": "#module-member"
|
7
|
-
}
|
8
|
-
],
|
9
|
-
"repository": {
|
10
|
-
"abstract": {
|
11
|
-
"name": "storage.modifier.abstract.ql",
|
12
|
-
"match": "(?x)\\b(?:abstract)(?:(?!(?:[0-9A-Za-z_])))"
|
13
|
-
},
|
14
|
-
"and": {
|
15
|
-
"name": "keyword.other.and.ql",
|
16
|
-
"match": "(?x)\\b(?:and)(?:(?!(?:[0-9A-Za-z_])))"
|
17
|
-
},
|
18
|
-
"annotation": {
|
19
|
-
"patterns": [
|
20
|
-
{
|
21
|
-
"include": "#bindingset-annotation"
|
22
|
-
},
|
23
|
-
{
|
24
|
-
"include": "#language-annotation"
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"include": "#pragma-annotation"
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"include": "#annotation-keyword"
|
31
|
-
}
|
32
|
-
]
|
33
|
-
},
|
34
|
-
"annotation-keyword": {
|
35
|
-
"patterns": [
|
36
|
-
{
|
37
|
-
"include": "#abstract"
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"include": "#bindingset"
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"include": "#cached"
|
44
|
-
},
|
45
|
-
{
|
46
|
-
"include": "#deprecated"
|
47
|
-
},
|
48
|
-
{
|
49
|
-
"include": "#external"
|
50
|
-
},
|
51
|
-
{
|
52
|
-
"include": "#final"
|
53
|
-
},
|
54
|
-
{
|
55
|
-
"include": "#language"
|
56
|
-
},
|
57
|
-
{
|
58
|
-
"include": "#library"
|
59
|
-
},
|
60
|
-
{
|
61
|
-
"include": "#override"
|
62
|
-
},
|
63
|
-
{
|
64
|
-
"include": "#pragma"
|
65
|
-
},
|
66
|
-
{
|
67
|
-
"include": "#private"
|
68
|
-
},
|
69
|
-
{
|
70
|
-
"include": "#query"
|
71
|
-
},
|
72
|
-
{
|
73
|
-
"include": "#transient"
|
74
|
-
}
|
75
|
-
]
|
76
|
-
},
|
77
|
-
"any": {
|
78
|
-
"name": "keyword.quantifier.any.ql",
|
79
|
-
"match": "(?x)\\b(?:any)(?:(?!(?:[0-9A-Za-z_])))"
|
80
|
-
},
|
81
|
-
"arithmetic-operator": {
|
82
|
-
"name": "keyword.operator.arithmetic.ql",
|
83
|
-
"match": "(?x)\\+|-|\\*|/|%"
|
84
|
-
},
|
85
|
-
"as": {
|
86
|
-
"name": "keyword.other.as.ql",
|
87
|
-
"match": "(?x)\\b(?:as)(?:(?!(?:[0-9A-Za-z_])))"
|
88
|
-
},
|
89
|
-
"asc": {
|
90
|
-
"name": "keyword.order.asc.ql",
|
91
|
-
"match": "(?x)\\b(?:asc)(?:(?!(?:[0-9A-Za-z_])))"
|
92
|
-
},
|
93
|
-
"at-lower-id": {
|
94
|
-
"match": "(?x)@[a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))"
|
95
|
-
},
|
96
|
-
"avg": {
|
97
|
-
"name": "keyword.aggregate.avg.ql",
|
98
|
-
"match": "(?x)\\b(?:avg)(?:(?!(?:[0-9A-Za-z_])))"
|
99
|
-
},
|
100
|
-
"bindingset": {
|
101
|
-
"name": "storage.modifier.bindingset.ql",
|
102
|
-
"match": "(?x)\\b(?:bindingset)(?:(?!(?:[0-9A-Za-z_])))"
|
103
|
-
},
|
104
|
-
"bindingset-annotation": {
|
105
|
-
"name": "meta.block.bindingset-annotation.ql",
|
106
|
-
"begin": "(?x)((?:\\b(?:bindingset)(?:(?!(?:[0-9A-Za-z_])))))",
|
107
|
-
"end": "(?x)(?! \\s | (?:// | /\\*) | \\[ ) | (?\u003c=\\])",
|
108
|
-
"patterns": [
|
109
|
-
{
|
110
|
-
"include": "#bindingset-annotation-body"
|
111
|
-
},
|
112
|
-
{
|
113
|
-
"include": "#non-context-sensitive"
|
114
|
-
}
|
115
|
-
],
|
116
|
-
"beginCaptures": {
|
117
|
-
"1": {
|
118
|
-
"patterns": [
|
119
|
-
{
|
120
|
-
"include": "#bindingset"
|
121
|
-
}
|
122
|
-
]
|
123
|
-
}
|
124
|
-
}
|
125
|
-
},
|
126
|
-
"bindingset-annotation-body": {
|
127
|
-
"name": "meta.block.bindingset-annotation-body.ql",
|
128
|
-
"begin": "(?x)((?:\\[))",
|
129
|
-
"end": "(?x)((?:\\]))",
|
130
|
-
"patterns": [
|
131
|
-
{
|
132
|
-
"include": "#non-context-sensitive"
|
133
|
-
},
|
134
|
-
{
|
135
|
-
"name": "variable.parameter.ql",
|
136
|
-
"match": "(?x)(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"
|
137
|
-
}
|
138
|
-
],
|
139
|
-
"beginCaptures": {
|
140
|
-
"1": {
|
141
|
-
"patterns": [
|
142
|
-
{
|
143
|
-
"include": "#open-bracket"
|
144
|
-
}
|
145
|
-
]
|
146
|
-
}
|
147
|
-
},
|
148
|
-
"endCaptures": {
|
149
|
-
"1": {
|
150
|
-
"patterns": [
|
151
|
-
{
|
152
|
-
"include": "#close-bracket"
|
153
|
-
}
|
154
|
-
]
|
155
|
-
}
|
156
|
-
}
|
157
|
-
},
|
158
|
-
"boolean": {
|
159
|
-
"name": "keyword.type.boolean.ql",
|
160
|
-
"match": "(?x)\\b(?:boolean)(?:(?!(?:[0-9A-Za-z_])))"
|
161
|
-
},
|
162
|
-
"by": {
|
163
|
-
"name": "keyword.order.by.ql",
|
164
|
-
"match": "(?x)\\b(?:by)(?:(?!(?:[0-9A-Za-z_])))"
|
165
|
-
},
|
166
|
-
"cached": {
|
167
|
-
"name": "storage.modifier.cached.ql",
|
168
|
-
"match": "(?x)\\b(?:cached)(?:(?!(?:[0-9A-Za-z_])))"
|
169
|
-
},
|
170
|
-
"class": {
|
171
|
-
"name": "keyword.other.class.ql",
|
172
|
-
"match": "(?x)\\b(?:class)(?:(?!(?:[0-9A-Za-z_])))"
|
173
|
-
},
|
174
|
-
"class-body": {
|
175
|
-
"name": "meta.block.class-body.ql",
|
176
|
-
"begin": "(?x)((?:\\{))",
|
177
|
-
"end": "(?x)((?:\\}))",
|
178
|
-
"patterns": [
|
179
|
-
{
|
180
|
-
"include": "#class-member"
|
181
|
-
}
|
182
|
-
],
|
183
|
-
"beginCaptures": {
|
184
|
-
"1": {
|
185
|
-
"patterns": [
|
186
|
-
{
|
187
|
-
"include": "#open-brace"
|
188
|
-
}
|
189
|
-
]
|
190
|
-
}
|
191
|
-
},
|
192
|
-
"endCaptures": {
|
193
|
-
"1": {
|
194
|
-
"patterns": [
|
195
|
-
{
|
196
|
-
"include": "#close-brace"
|
197
|
-
}
|
198
|
-
]
|
199
|
-
}
|
200
|
-
}
|
201
|
-
},
|
202
|
-
"class-declaration": {
|
203
|
-
"name": "meta.block.class-declaration.ql",
|
204
|
-
"begin": "(?x)((?:\\b(?:class)(?:(?!(?:[0-9A-Za-z_])))))",
|
205
|
-
"end": "(?x)(?\u003c= \\} | ; )",
|
206
|
-
"patterns": [
|
207
|
-
{
|
208
|
-
"include": "#class-body"
|
209
|
-
},
|
210
|
-
{
|
211
|
-
"include": "#extends-clause"
|
212
|
-
},
|
213
|
-
{
|
214
|
-
"include": "#non-context-sensitive"
|
215
|
-
},
|
216
|
-
{
|
217
|
-
"name": "entity.name.type.class.ql",
|
218
|
-
"match": "(?x)(?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"
|
219
|
-
}
|
220
|
-
],
|
221
|
-
"beginCaptures": {
|
222
|
-
"1": {
|
223
|
-
"patterns": [
|
224
|
-
{
|
225
|
-
"include": "#class"
|
226
|
-
}
|
227
|
-
]
|
228
|
-
}
|
229
|
-
}
|
230
|
-
},
|
231
|
-
"class-member": {
|
232
|
-
"patterns": [
|
233
|
-
{
|
234
|
-
"include": "#predicate-or-field-declaration"
|
235
|
-
},
|
236
|
-
{
|
237
|
-
"include": "#annotation"
|
238
|
-
},
|
239
|
-
{
|
240
|
-
"include": "#non-context-sensitive"
|
241
|
-
}
|
242
|
-
]
|
243
|
-
},
|
244
|
-
"close-brace": {
|
245
|
-
"name": "punctuation.curlybrace.close.ql",
|
246
|
-
"match": "(?x)\\}"
|
247
|
-
},
|
248
|
-
"close-bracket": {
|
249
|
-
"name": "punctuation.squarebracket.close.ql",
|
250
|
-
"match": "(?x)\\]"
|
251
|
-
},
|
252
|
-
"close-paren": {
|
253
|
-
"name": "punctuation.parenthesis.close.ql",
|
254
|
-
"match": "(?x)\\)"
|
255
|
-
},
|
256
|
-
"comma": {
|
257
|
-
"name": "punctuation.separator.comma.ql",
|
258
|
-
"match": "(?x),"
|
259
|
-
},
|
260
|
-
"comment": {
|
261
|
-
"patterns": [
|
262
|
-
{
|
263
|
-
"name": "comment.block.documentation.ql",
|
264
|
-
"begin": "(?x)/\\*\\*",
|
265
|
-
"end": "(?x)\\*/",
|
266
|
-
"patterns": [
|
267
|
-
{
|
268
|
-
"begin": "(?x)(?\u003c=/\\*\\*)([^*]|\\*(?!/))*$",
|
269
|
-
"while": "(?x)(^|\\G)\\s*([^*]|\\*(?!/))(?=([^*]|[*](?!/))*$)",
|
270
|
-
"patterns": [
|
271
|
-
{
|
272
|
-
"name": "keyword.tag.ql",
|
273
|
-
"match": "(?x)\\G\\s* (@\\S+)"
|
274
|
-
}
|
275
|
-
]
|
276
|
-
}
|
277
|
-
]
|
278
|
-
},
|
279
|
-
{
|
280
|
-
"name": "comment.block.ql",
|
281
|
-
"begin": "(?x)/\\*",
|
282
|
-
"end": "(?x)\\*/"
|
283
|
-
},
|
284
|
-
{
|
285
|
-
"name": "comment.line.double-slash.ql",
|
286
|
-
"match": "(?x)//.*$"
|
287
|
-
}
|
288
|
-
]
|
289
|
-
},
|
290
|
-
"comment-start": {
|
291
|
-
"match": "(?x)// | /\\*"
|
292
|
-
},
|
293
|
-
"comparison-operator": {
|
294
|
-
"name": "keyword.operator.comparison.ql",
|
295
|
-
"match": "(?x)=|\\!-"
|
296
|
-
},
|
297
|
-
"concat": {
|
298
|
-
"name": "keyword.aggregate.concat.ql",
|
299
|
-
"match": "(?x)\\b(?:concat)(?:(?!(?:[0-9A-Za-z_])))"
|
300
|
-
},
|
301
|
-
"count": {
|
302
|
-
"name": "keyword.aggregate.count.ql",
|
303
|
-
"match": "(?x)\\b(?:count)(?:(?!(?:[0-9A-Za-z_])))"
|
304
|
-
},
|
305
|
-
"date": {
|
306
|
-
"name": "keyword.type.date.ql",
|
307
|
-
"match": "(?x)\\b(?:date)(?:(?!(?:[0-9A-Za-z_])))"
|
308
|
-
},
|
309
|
-
"deprecated": {
|
310
|
-
"name": "storage.modifier.deprecated.ql",
|
311
|
-
"match": "(?x)\\b(?:deprecated)(?:(?!(?:[0-9A-Za-z_])))"
|
312
|
-
},
|
313
|
-
"desc": {
|
314
|
-
"name": "keyword.order.desc.ql",
|
315
|
-
"match": "(?x)\\b(?:desc)(?:(?!(?:[0-9A-Za-z_])))"
|
316
|
-
},
|
317
|
-
"dont-care": {
|
318
|
-
"name": "variable.language.dont-care.ql",
|
319
|
-
"match": "(?x)\\b(?:_)(?:(?!(?:[0-9A-Za-z_])))"
|
320
|
-
},
|
321
|
-
"dot": {
|
322
|
-
"name": "punctuation.accessor.ql",
|
323
|
-
"match": "(?x)\\."
|
324
|
-
},
|
325
|
-
"dotdot": {
|
326
|
-
"name": "punctuation.operator.range.ql",
|
327
|
-
"match": "(?x)\\.\\."
|
328
|
-
},
|
329
|
-
"else": {
|
330
|
-
"name": "keyword.other.else.ql",
|
331
|
-
"match": "(?x)\\b(?:else)(?:(?!(?:[0-9A-Za-z_])))"
|
332
|
-
},
|
333
|
-
"end-of-as-clause": {
|
334
|
-
"match": "(?x)(?: (?\u003c=(?:[0-9A-Za-z_])) (?!(?:[0-9A-Za-z_])) (?\u003c!(?\u003c!(?:[0-9A-Za-z_]))as)) | (?=\\s* (?!(?:// | /\\*) | (?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))) \\S) | (?=\\s* (?:(?:(?:\\b(?:_)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:and)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:any)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:as)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:asc)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:avg)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:boolean)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:by)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:class)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:concat)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:count)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:date)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:desc)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:else)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:exists)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:extends)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:false)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:float)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:forall)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:forex)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:from)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:if)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:implies)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:import)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:in)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:instanceof)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:int)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:max)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:min)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:module)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:newtype)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:none)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:not)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:or)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:order)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:predicate)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:rank)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:result)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:select)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictconcat)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictcount)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictsum)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:string)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:sum)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:super)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:then)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:this)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:true)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:where)(?:(?!(?:[0-9A-Za-z_])))))))"
|
335
|
-
},
|
336
|
-
"end-of-id": {
|
337
|
-
"match": "(?x)(?!(?:[0-9A-Za-z_]))"
|
338
|
-
},
|
339
|
-
"exists": {
|
340
|
-
"name": "keyword.quantifier.exists.ql",
|
341
|
-
"match": "(?x)\\b(?:exists)(?:(?!(?:[0-9A-Za-z_])))"
|
342
|
-
},
|
343
|
-
"expr-as-clause": {
|
344
|
-
"name": "meta.block.expr-as-clause.ql",
|
345
|
-
"begin": "(?x)((?:\\b(?:as)(?:(?!(?:[0-9A-Za-z_])))))",
|
346
|
-
"end": "(?x)(?:(?: (?\u003c=(?:[0-9A-Za-z_])) (?!(?:[0-9A-Za-z_])) (?\u003c!(?\u003c!(?:[0-9A-Za-z_]))as)) | (?=\\s* (?!(?:// | /\\*) | (?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))) \\S) | (?=\\s* (?:(?:(?:\\b(?:_)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:and)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:any)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:as)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:asc)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:avg)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:boolean)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:by)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:class)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:concat)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:count)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:date)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:desc)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:else)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:exists)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:extends)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:false)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:float)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:forall)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:forex)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:from)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:if)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:implies)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:import)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:in)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:instanceof)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:int)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:max)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:min)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:module)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:newtype)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:none)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:not)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:or)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:order)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:predicate)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:rank)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:result)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:select)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictconcat)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictcount)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictsum)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:string)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:sum)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:super)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:then)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:this)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:true)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:where)(?:(?!(?:[0-9A-Za-z_]))))))))",
|
347
|
-
"patterns": [
|
348
|
-
{
|
349
|
-
"include": "#non-context-sensitive"
|
350
|
-
},
|
351
|
-
{
|
352
|
-
"name": "variable.other.ql",
|
353
|
-
"match": "(?x)(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"
|
354
|
-
}
|
355
|
-
],
|
356
|
-
"beginCaptures": {
|
357
|
-
"1": {
|
358
|
-
"patterns": [
|
359
|
-
{
|
360
|
-
"include": "#as"
|
361
|
-
}
|
362
|
-
]
|
363
|
-
}
|
364
|
-
}
|
365
|
-
},
|
366
|
-
"extends": {
|
367
|
-
"name": "keyword.other.extends.ql",
|
368
|
-
"match": "(?x)\\b(?:extends)(?:(?!(?:[0-9A-Za-z_])))"
|
369
|
-
},
|
370
|
-
"extends-clause": {
|
371
|
-
"name": "meta.block.extends-clause.ql",
|
372
|
-
"begin": "(?x)((?:\\b(?:extends)(?:(?!(?:[0-9A-Za-z_])))))",
|
373
|
-
"end": "(?x)(?= \\{ )",
|
374
|
-
"patterns": [
|
375
|
-
{
|
376
|
-
"include": "#non-context-sensitive"
|
377
|
-
},
|
378
|
-
{
|
379
|
-
"name": "entity.name.type.ql",
|
380
|
-
"match": "(?x)(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))|(?:@[a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"
|
381
|
-
}
|
382
|
-
],
|
383
|
-
"beginCaptures": {
|
384
|
-
"1": {
|
385
|
-
"patterns": [
|
386
|
-
{
|
387
|
-
"include": "#extends"
|
388
|
-
}
|
389
|
-
]
|
390
|
-
}
|
391
|
-
}
|
392
|
-
},
|
393
|
-
"external": {
|
394
|
-
"name": "storage.modifier.external.ql",
|
395
|
-
"match": "(?x)\\b(?:external)(?:(?!(?:[0-9A-Za-z_])))"
|
396
|
-
},
|
397
|
-
"false": {
|
398
|
-
"name": "constant.language.boolean.false.ql",
|
399
|
-
"match": "(?x)\\b(?:false)(?:(?!(?:[0-9A-Za-z_])))"
|
400
|
-
},
|
401
|
-
"final": {
|
402
|
-
"name": "storage.modifier.final.ql",
|
403
|
-
"match": "(?x)\\b(?:final)(?:(?!(?:[0-9A-Za-z_])))"
|
404
|
-
},
|
405
|
-
"float": {
|
406
|
-
"name": "keyword.type.float.ql",
|
407
|
-
"match": "(?x)\\b(?:float)(?:(?!(?:[0-9A-Za-z_])))"
|
408
|
-
},
|
409
|
-
"float-literal": {
|
410
|
-
"name": "constant.numeric.decimal.ql",
|
411
|
-
"match": "(?x)-?[0-9]+\\.[0-9]+(?![0-9])"
|
412
|
-
},
|
413
|
-
"forall": {
|
414
|
-
"name": "keyword.quantifier.forall.ql",
|
415
|
-
"match": "(?x)\\b(?:forall)(?:(?!(?:[0-9A-Za-z_])))"
|
416
|
-
},
|
417
|
-
"forex": {
|
418
|
-
"name": "keyword.quantifier.forex.ql",
|
419
|
-
"match": "(?x)\\b(?:forex)(?:(?!(?:[0-9A-Za-z_])))"
|
420
|
-
},
|
421
|
-
"from": {
|
422
|
-
"name": "keyword.other.from.ql",
|
423
|
-
"match": "(?x)\\b(?:from)(?:(?!(?:[0-9A-Za-z_])))"
|
424
|
-
},
|
425
|
-
"from-section": {
|
426
|
-
"name": "meta.block.from-section.ql",
|
427
|
-
"begin": "(?x)((?:\\b(?:from)(?:(?!(?:[0-9A-Za-z_])))))",
|
428
|
-
"end": "(?x)(?= (?:\\b(?:select)(?:(?!(?:[0-9A-Za-z_])))) | (?:\\b(?:where)(?:(?!(?:[0-9A-Za-z_])))) )",
|
429
|
-
"patterns": [
|
430
|
-
{
|
431
|
-
"include": "#non-context-sensitive"
|
432
|
-
},
|
433
|
-
{
|
434
|
-
"name": "variable.parameter.ql",
|
435
|
-
"match": "(?x)(?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))(?=\\s*(?:,|(?:\\b(?:where)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:select)(?:(?!(?:[0-9A-Za-z_]))))|$))"
|
436
|
-
},
|
437
|
-
{
|
438
|
-
"include": "#module-qualifier"
|
439
|
-
},
|
440
|
-
{
|
441
|
-
"name": "entity.name.type.ql",
|
442
|
-
"match": "(?x)(?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))|(?:@[a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"
|
443
|
-
},
|
444
|
-
{
|
445
|
-
"name": "variable.parameter.ql",
|
446
|
-
"match": "(?x)(?:\\b [a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"
|
447
|
-
}
|
448
|
-
],
|
449
|
-
"beginCaptures": {
|
450
|
-
"1": {
|
451
|
-
"patterns": [
|
452
|
-
{
|
453
|
-
"include": "#from"
|
454
|
-
}
|
455
|
-
]
|
456
|
-
}
|
457
|
-
}
|
458
|
-
},
|
459
|
-
"id-character": {
|
460
|
-
"match": "(?x)[0-9A-Za-z_]"
|
461
|
-
},
|
462
|
-
"if": {
|
463
|
-
"name": "keyword.other.if.ql",
|
464
|
-
"match": "(?x)\\b(?:if)(?:(?!(?:[0-9A-Za-z_])))"
|
465
|
-
},
|
466
|
-
"implies": {
|
467
|
-
"name": "keyword.other.implies.ql",
|
468
|
-
"match": "(?x)\\b(?:implies)(?:(?!(?:[0-9A-Za-z_])))"
|
469
|
-
},
|
470
|
-
"import": {
|
471
|
-
"name": "keyword.other.import.ql",
|
472
|
-
"match": "(?x)\\b(?:import)(?:(?!(?:[0-9A-Za-z_])))"
|
473
|
-
},
|
474
|
-
"import-as-clause": {
|
475
|
-
"name": "meta.block.import-as-clause.ql",
|
476
|
-
"begin": "(?x)((?:\\b(?:as)(?:(?!(?:[0-9A-Za-z_])))))",
|
477
|
-
"end": "(?x)(?:(?: (?\u003c=(?:[0-9A-Za-z_])) (?!(?:[0-9A-Za-z_])) (?\u003c!(?\u003c!(?:[0-9A-Za-z_]))as)) | (?=\\s* (?!(?:// | /\\*) | (?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))) \\S) | (?=\\s* (?:(?:(?:\\b(?:_)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:and)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:any)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:as)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:asc)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:avg)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:boolean)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:by)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:class)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:concat)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:count)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:date)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:desc)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:else)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:exists)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:extends)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:false)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:float)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:forall)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:forex)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:from)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:if)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:implies)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:import)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:in)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:instanceof)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:int)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:max)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:min)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:module)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:newtype)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:none)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:not)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:or)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:order)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:predicate)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:rank)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:result)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:select)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictconcat)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictcount)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictsum)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:string)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:sum)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:super)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:then)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:this)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:true)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:where)(?:(?!(?:[0-9A-Za-z_]))))))))",
|
478
|
-
"patterns": [
|
479
|
-
{
|
480
|
-
"include": "#non-context-sensitive"
|
481
|
-
},
|
482
|
-
{
|
483
|
-
"name": "entity.name.type.namespace.ql",
|
484
|
-
"match": "(?x)(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"
|
485
|
-
}
|
486
|
-
],
|
487
|
-
"beginCaptures": {
|
488
|
-
"1": {
|
489
|
-
"patterns": [
|
490
|
-
{
|
491
|
-
"include": "#as"
|
492
|
-
}
|
493
|
-
]
|
494
|
-
}
|
495
|
-
}
|
496
|
-
},
|
497
|
-
"import-directive": {
|
498
|
-
"name": "meta.block.import-directive.ql",
|
499
|
-
"begin": "(?x)((?:\\b(?:import)(?:(?!(?:[0-9A-Za-z_])))))",
|
500
|
-
"end": "(?x)(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))) (?!\\s*(\\.|\\:\\:))",
|
501
|
-
"patterns": [
|
502
|
-
{
|
503
|
-
"include": "#non-context-sensitive"
|
504
|
-
},
|
505
|
-
{
|
506
|
-
"name": "entity.name.type.namespace.ql",
|
507
|
-
"match": "(?x)(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"
|
508
|
-
}
|
509
|
-
],
|
510
|
-
"beginCaptures": {
|
511
|
-
"1": {
|
512
|
-
"patterns": [
|
513
|
-
{
|
514
|
-
"include": "#import"
|
515
|
-
}
|
516
|
-
]
|
517
|
-
}
|
518
|
-
},
|
519
|
-
"endCaptures": {
|
520
|
-
"0": {
|
521
|
-
"name": "entity.name.type.namespace.ql"
|
522
|
-
}
|
523
|
-
}
|
524
|
-
},
|
525
|
-
"in": {
|
526
|
-
"name": "keyword.other.in.ql",
|
527
|
-
"match": "(?x)\\b(?:in)(?:(?!(?:[0-9A-Za-z_])))"
|
528
|
-
},
|
529
|
-
"instanceof": {
|
530
|
-
"name": "keyword.other.instanceof.ql",
|
531
|
-
"match": "(?x)\\b(?:instanceof)(?:(?!(?:[0-9A-Za-z_])))"
|
532
|
-
},
|
533
|
-
"int": {
|
534
|
-
"name": "keyword.type.int.ql",
|
535
|
-
"match": "(?x)\\b(?:int)(?:(?!(?:[0-9A-Za-z_])))"
|
536
|
-
},
|
537
|
-
"int-literal": {
|
538
|
-
"name": "constant.numeric.decimal.ql",
|
539
|
-
"match": "(?x)-?[0-9]+(?![0-9])"
|
540
|
-
},
|
541
|
-
"keyword": {
|
542
|
-
"patterns": [
|
543
|
-
{
|
544
|
-
"include": "#dont-care"
|
545
|
-
},
|
546
|
-
{
|
547
|
-
"include": "#and"
|
548
|
-
},
|
549
|
-
{
|
550
|
-
"include": "#any"
|
551
|
-
},
|
552
|
-
{
|
553
|
-
"include": "#as"
|
554
|
-
},
|
555
|
-
{
|
556
|
-
"include": "#asc"
|
557
|
-
},
|
558
|
-
{
|
559
|
-
"include": "#avg"
|
560
|
-
},
|
561
|
-
{
|
562
|
-
"include": "#boolean"
|
563
|
-
},
|
564
|
-
{
|
565
|
-
"include": "#by"
|
566
|
-
},
|
567
|
-
{
|
568
|
-
"include": "#class"
|
569
|
-
},
|
570
|
-
{
|
571
|
-
"include": "#concat"
|
572
|
-
},
|
573
|
-
{
|
574
|
-
"include": "#count"
|
575
|
-
},
|
576
|
-
{
|
577
|
-
"include": "#date"
|
578
|
-
},
|
579
|
-
{
|
580
|
-
"include": "#desc"
|
581
|
-
},
|
582
|
-
{
|
583
|
-
"include": "#else"
|
584
|
-
},
|
585
|
-
{
|
586
|
-
"include": "#exists"
|
587
|
-
},
|
588
|
-
{
|
589
|
-
"include": "#extends"
|
590
|
-
},
|
591
|
-
{
|
592
|
-
"include": "#false"
|
593
|
-
},
|
594
|
-
{
|
595
|
-
"include": "#float"
|
596
|
-
},
|
597
|
-
{
|
598
|
-
"include": "#forall"
|
599
|
-
},
|
600
|
-
{
|
601
|
-
"include": "#forex"
|
602
|
-
},
|
603
|
-
{
|
604
|
-
"include": "#from"
|
605
|
-
},
|
606
|
-
{
|
607
|
-
"include": "#if"
|
608
|
-
},
|
609
|
-
{
|
610
|
-
"include": "#implies"
|
611
|
-
},
|
612
|
-
{
|
613
|
-
"include": "#import"
|
614
|
-
},
|
615
|
-
{
|
616
|
-
"include": "#in"
|
617
|
-
},
|
618
|
-
{
|
619
|
-
"include": "#instanceof"
|
620
|
-
},
|
621
|
-
{
|
622
|
-
"include": "#int"
|
623
|
-
},
|
624
|
-
{
|
625
|
-
"include": "#max"
|
626
|
-
},
|
627
|
-
{
|
628
|
-
"include": "#min"
|
629
|
-
},
|
630
|
-
{
|
631
|
-
"include": "#module"
|
632
|
-
},
|
633
|
-
{
|
634
|
-
"include": "#newtype"
|
635
|
-
},
|
636
|
-
{
|
637
|
-
"include": "#none"
|
638
|
-
},
|
639
|
-
{
|
640
|
-
"include": "#not"
|
641
|
-
},
|
642
|
-
{
|
643
|
-
"include": "#or"
|
644
|
-
},
|
645
|
-
{
|
646
|
-
"include": "#order"
|
647
|
-
},
|
648
|
-
{
|
649
|
-
"include": "#predicate"
|
650
|
-
},
|
651
|
-
{
|
652
|
-
"include": "#rank"
|
653
|
-
},
|
654
|
-
{
|
655
|
-
"include": "#result"
|
656
|
-
},
|
657
|
-
{
|
658
|
-
"include": "#select"
|
659
|
-
},
|
660
|
-
{
|
661
|
-
"include": "#strictconcat"
|
662
|
-
},
|
663
|
-
{
|
664
|
-
"include": "#strictcount"
|
665
|
-
},
|
666
|
-
{
|
667
|
-
"include": "#strictsum"
|
668
|
-
},
|
669
|
-
{
|
670
|
-
"include": "#string"
|
671
|
-
},
|
672
|
-
{
|
673
|
-
"include": "#sum"
|
674
|
-
},
|
675
|
-
{
|
676
|
-
"include": "#super"
|
677
|
-
},
|
678
|
-
{
|
679
|
-
"include": "#then"
|
680
|
-
},
|
681
|
-
{
|
682
|
-
"include": "#this"
|
683
|
-
},
|
684
|
-
{
|
685
|
-
"include": "#true"
|
686
|
-
},
|
687
|
-
{
|
688
|
-
"include": "#where"
|
689
|
-
}
|
690
|
-
]
|
691
|
-
},
|
692
|
-
"language": {
|
693
|
-
"name": "storage.modifier.language.ql",
|
694
|
-
"match": "(?x)\\b(?:language)(?:(?!(?:[0-9A-Za-z_])))"
|
695
|
-
},
|
696
|
-
"language-annotation": {
|
697
|
-
"name": "meta.block.language-annotation.ql",
|
698
|
-
"begin": "(?x)((?:\\b(?:language)(?:(?!(?:[0-9A-Za-z_])))))",
|
699
|
-
"end": "(?x)(?! \\s | (?:// | /\\*) | \\[ ) | (?\u003c=\\])",
|
700
|
-
"patterns": [
|
701
|
-
{
|
702
|
-
"include": "#language-annotation-body"
|
703
|
-
},
|
704
|
-
{
|
705
|
-
"include": "#non-context-sensitive"
|
706
|
-
}
|
707
|
-
],
|
708
|
-
"beginCaptures": {
|
709
|
-
"1": {
|
710
|
-
"patterns": [
|
711
|
-
{
|
712
|
-
"include": "#language"
|
713
|
-
}
|
714
|
-
]
|
715
|
-
}
|
716
|
-
}
|
717
|
-
},
|
718
|
-
"language-annotation-body": {
|
719
|
-
"name": "meta.block.language-annotation-body.ql",
|
720
|
-
"begin": "(?x)((?:\\[))",
|
721
|
-
"end": "(?x)((?:\\]))",
|
722
|
-
"patterns": [
|
723
|
-
{
|
724
|
-
"include": "#non-context-sensitive"
|
725
|
-
},
|
726
|
-
{
|
727
|
-
"name": "storage.modifier.ql",
|
728
|
-
"match": "(?x)\\b(?:monotonicAggregates)(?:(?!(?:[0-9A-Za-z_])))"
|
729
|
-
}
|
730
|
-
],
|
731
|
-
"beginCaptures": {
|
732
|
-
"1": {
|
733
|
-
"patterns": [
|
734
|
-
{
|
735
|
-
"include": "#open-bracket"
|
736
|
-
}
|
737
|
-
]
|
738
|
-
}
|
739
|
-
},
|
740
|
-
"endCaptures": {
|
741
|
-
"1": {
|
742
|
-
"patterns": [
|
743
|
-
{
|
744
|
-
"include": "#close-bracket"
|
745
|
-
}
|
746
|
-
]
|
747
|
-
}
|
748
|
-
}
|
749
|
-
},
|
750
|
-
"library": {
|
751
|
-
"name": "storage.modifier.library.ql",
|
752
|
-
"match": "(?x)\\b(?:library)(?:(?!(?:[0-9A-Za-z_])))"
|
753
|
-
},
|
754
|
-
"literal": {
|
755
|
-
"patterns": [
|
756
|
-
{
|
757
|
-
"include": "#float-literal"
|
758
|
-
},
|
759
|
-
{
|
760
|
-
"include": "#int-literal"
|
761
|
-
},
|
762
|
-
{
|
763
|
-
"include": "#string-literal"
|
764
|
-
}
|
765
|
-
]
|
766
|
-
},
|
767
|
-
"lower-id": {
|
768
|
-
"match": "(?x)\\b [a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))"
|
769
|
-
},
|
770
|
-
"max": {
|
771
|
-
"name": "keyword.aggregate.max.ql",
|
772
|
-
"match": "(?x)\\b(?:max)(?:(?!(?:[0-9A-Za-z_])))"
|
773
|
-
},
|
774
|
-
"min": {
|
775
|
-
"name": "keyword.aggregate.min.ql",
|
776
|
-
"match": "(?x)\\b(?:min)(?:(?!(?:[0-9A-Za-z_])))"
|
777
|
-
},
|
778
|
-
"module": {
|
779
|
-
"name": "keyword.other.module.ql",
|
780
|
-
"match": "(?x)\\b(?:module)(?:(?!(?:[0-9A-Za-z_])))"
|
781
|
-
},
|
782
|
-
"module-body": {
|
783
|
-
"name": "meta.block.module-body.ql",
|
784
|
-
"begin": "(?x)((?:\\{))",
|
785
|
-
"end": "(?x)((?:\\}))",
|
786
|
-
"patterns": [
|
787
|
-
{
|
788
|
-
"include": "#module-member"
|
789
|
-
}
|
790
|
-
],
|
791
|
-
"beginCaptures": {
|
792
|
-
"1": {
|
793
|
-
"patterns": [
|
794
|
-
{
|
795
|
-
"include": "#open-brace"
|
796
|
-
}
|
797
|
-
]
|
798
|
-
}
|
799
|
-
},
|
800
|
-
"endCaptures": {
|
801
|
-
"1": {
|
802
|
-
"patterns": [
|
803
|
-
{
|
804
|
-
"include": "#close-brace"
|
805
|
-
}
|
806
|
-
]
|
807
|
-
}
|
808
|
-
}
|
809
|
-
},
|
810
|
-
"module-declaration": {
|
811
|
-
"name": "meta.block.module-declaration.ql",
|
812
|
-
"begin": "(?x)((?:\\b(?:module)(?:(?!(?:[0-9A-Za-z_])))))",
|
813
|
-
"end": "(?x)(?\u003c=\\}|;)",
|
814
|
-
"patterns": [
|
815
|
-
{
|
816
|
-
"include": "#module-body"
|
817
|
-
},
|
818
|
-
{
|
819
|
-
"include": "#non-context-sensitive"
|
820
|
-
},
|
821
|
-
{
|
822
|
-
"name": "entity.name.type.namespace.ql",
|
823
|
-
"match": "(?x)(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"
|
824
|
-
}
|
825
|
-
],
|
826
|
-
"beginCaptures": {
|
827
|
-
"1": {
|
828
|
-
"patterns": [
|
829
|
-
{
|
830
|
-
"include": "#module"
|
831
|
-
}
|
832
|
-
]
|
833
|
-
}
|
834
|
-
}
|
835
|
-
},
|
836
|
-
"module-member": {
|
837
|
-
"patterns": [
|
838
|
-
{
|
839
|
-
"include": "#import-directive"
|
840
|
-
},
|
841
|
-
{
|
842
|
-
"include": "#import-as-clause"
|
843
|
-
},
|
844
|
-
{
|
845
|
-
"include": "#module-declaration"
|
846
|
-
},
|
847
|
-
{
|
848
|
-
"include": "#class-declaration"
|
849
|
-
},
|
850
|
-
{
|
851
|
-
"include": "#select-clause"
|
852
|
-
},
|
853
|
-
{
|
854
|
-
"include": "#predicate-or-field-declaration"
|
855
|
-
},
|
856
|
-
{
|
857
|
-
"include": "#non-context-sensitive"
|
858
|
-
},
|
859
|
-
{
|
860
|
-
"include": "#annotation"
|
861
|
-
}
|
862
|
-
]
|
863
|
-
},
|
864
|
-
"module-qualifier": {
|
865
|
-
"name": "entity.name.type.namespace.ql",
|
866
|
-
"match": "(?x)(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))) (?=\\s*\\:\\:)"
|
867
|
-
},
|
868
|
-
"newtype": {
|
869
|
-
"name": "keyword.other.newtype.ql",
|
870
|
-
"match": "(?x)\\b(?:newtype)(?:(?!(?:[0-9A-Za-z_])))"
|
871
|
-
},
|
872
|
-
"newtype-branch": {
|
873
|
-
"name": "meta.block.newtype-branch.ql",
|
874
|
-
"begin": "(?x)(?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))",
|
875
|
-
"end": "(?x)(?\u003c=\\}) | (?! \\s | (?:// | /\\*) | \\{ )",
|
876
|
-
"patterns": [
|
877
|
-
{
|
878
|
-
"include": "#predicate-body"
|
879
|
-
},
|
880
|
-
{
|
881
|
-
"include": "#non-context-sensitive"
|
882
|
-
},
|
883
|
-
{
|
884
|
-
"name": "entity.name.type.ql",
|
885
|
-
"match": "(?x)(?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"
|
886
|
-
}
|
887
|
-
],
|
888
|
-
"beginCaptures": {
|
889
|
-
"0": {
|
890
|
-
"name": "entity.name.type.ql"
|
891
|
-
}
|
892
|
-
}
|
893
|
-
},
|
894
|
-
"newtype-declaration": {
|
895
|
-
"name": "meta.block.newtype.ql",
|
896
|
-
"begin": "(?x)((?:\\b(?:newtype)(?:(?!(?:[0-9A-Za-z_])))))",
|
897
|
-
"end": "(?x)(?! \\s | (?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))) | (?:// | /\\*) | \\= | \\( )",
|
898
|
-
"patterns": [
|
899
|
-
{
|
900
|
-
"include": "#non-context-sensitive"
|
901
|
-
},
|
902
|
-
{
|
903
|
-
"include": "#newtype-branch"
|
904
|
-
}
|
905
|
-
],
|
906
|
-
"beginCaptures": {
|
907
|
-
"1": {
|
908
|
-
"patterns": [
|
909
|
-
{
|
910
|
-
"include": "#newtype"
|
911
|
-
}
|
912
|
-
]
|
913
|
-
}
|
914
|
-
}
|
915
|
-
},
|
916
|
-
"non-context-sensitive": {
|
917
|
-
"patterns": [
|
918
|
-
{
|
919
|
-
"include": "#comment"
|
920
|
-
},
|
921
|
-
{
|
922
|
-
"include": "#literal"
|
923
|
-
},
|
924
|
-
{
|
925
|
-
"include": "#operator-or-punctuation"
|
926
|
-
},
|
927
|
-
{
|
928
|
-
"include": "#keyword"
|
929
|
-
}
|
930
|
-
]
|
931
|
-
},
|
932
|
-
"none": {
|
933
|
-
"name": "keyword.quantifier.none.ql",
|
934
|
-
"match": "(?x)\\b(?:none)(?:(?!(?:[0-9A-Za-z_])))"
|
935
|
-
},
|
936
|
-
"not": {
|
937
|
-
"name": "keyword.other.not.ql",
|
938
|
-
"match": "(?x)\\b(?:not)(?:(?!(?:[0-9A-Za-z_])))"
|
939
|
-
},
|
940
|
-
"open-brace": {
|
941
|
-
"name": "punctuation.curlybrace.open.ql",
|
942
|
-
"match": "(?x)\\{"
|
943
|
-
},
|
944
|
-
"open-bracket": {
|
945
|
-
"name": "punctuation.squarebracket.open.ql",
|
946
|
-
"match": "(?x)\\["
|
947
|
-
},
|
948
|
-
"open-paren": {
|
949
|
-
"name": "punctuation.parenthesis.open.ql",
|
950
|
-
"match": "(?x)\\("
|
951
|
-
},
|
952
|
-
"operator-or-punctuation": {
|
953
|
-
"patterns": [
|
954
|
-
{
|
955
|
-
"include": "#relational-operator"
|
956
|
-
},
|
957
|
-
{
|
958
|
-
"include": "#comparison-operator"
|
959
|
-
},
|
960
|
-
{
|
961
|
-
"include": "#arithmetic-operator"
|
962
|
-
},
|
963
|
-
{
|
964
|
-
"include": "#comma"
|
965
|
-
},
|
966
|
-
{
|
967
|
-
"include": "#semicolon"
|
968
|
-
},
|
969
|
-
{
|
970
|
-
"include": "#dot"
|
971
|
-
},
|
972
|
-
{
|
973
|
-
"include": "#dotdot"
|
974
|
-
},
|
975
|
-
{
|
976
|
-
"include": "#pipe"
|
977
|
-
},
|
978
|
-
{
|
979
|
-
"include": "#open-paren"
|
980
|
-
},
|
981
|
-
{
|
982
|
-
"include": "#close-paren"
|
983
|
-
},
|
984
|
-
{
|
985
|
-
"include": "#open-brace"
|
986
|
-
},
|
987
|
-
{
|
988
|
-
"include": "#close-brace"
|
989
|
-
},
|
990
|
-
{
|
991
|
-
"include": "#open-bracket"
|
992
|
-
},
|
993
|
-
{
|
994
|
-
"include": "#close-bracket"
|
995
|
-
}
|
996
|
-
]
|
997
|
-
},
|
998
|
-
"or": {
|
999
|
-
"name": "keyword.other.or.ql",
|
1000
|
-
"match": "(?x)\\b(?:or)(?:(?!(?:[0-9A-Za-z_])))"
|
1001
|
-
},
|
1002
|
-
"order": {
|
1003
|
-
"name": "keyword.order.order.ql",
|
1004
|
-
"match": "(?x)\\b(?:order)(?:(?!(?:[0-9A-Za-z_])))"
|
1005
|
-
},
|
1006
|
-
"override": {
|
1007
|
-
"name": "storage.modifier.override.ql",
|
1008
|
-
"match": "(?x)\\b(?:override)(?:(?!(?:[0-9A-Za-z_])))"
|
1009
|
-
},
|
1010
|
-
"pipe": {
|
1011
|
-
"name": "punctuation.separator.pipe.ql",
|
1012
|
-
"match": "(?x)\\|"
|
1013
|
-
},
|
1014
|
-
"pragma": {
|
1015
|
-
"name": "storage.modifier.pragma.ql",
|
1016
|
-
"match": "(?x)\\b(?:pragma)(?:(?!(?:[0-9A-Za-z_])))"
|
1017
|
-
},
|
1018
|
-
"pragma-annotation": {
|
1019
|
-
"name": "meta.block.pragma-annotation.ql",
|
1020
|
-
"begin": "(?x)((?:\\b(?:pragma)(?:(?!(?:[0-9A-Za-z_])))))",
|
1021
|
-
"end": "(?x)(?! \\s | (?:// | /\\*) | \\[ ) | (?\u003c=\\])",
|
1022
|
-
"patterns": [
|
1023
|
-
{
|
1024
|
-
"include": "#pragma-annotation-body"
|
1025
|
-
},
|
1026
|
-
{
|
1027
|
-
"include": "#non-context-sensitive"
|
1028
|
-
}
|
1029
|
-
],
|
1030
|
-
"beginCaptures": {
|
1031
|
-
"1": {
|
1032
|
-
"patterns": [
|
1033
|
-
{
|
1034
|
-
"include": "#pragma"
|
1035
|
-
}
|
1036
|
-
]
|
1037
|
-
}
|
1038
|
-
}
|
1039
|
-
},
|
1040
|
-
"pragma-annotation-body": {
|
1041
|
-
"name": "meta.block.pragma-annotation-body.ql",
|
1042
|
-
"begin": "(?x)((?:\\[))",
|
1043
|
-
"end": "(?x)((?:\\]))",
|
1044
|
-
"patterns": [
|
1045
|
-
{
|
1046
|
-
"name": "storage.modifier.ql",
|
1047
|
-
"match": "(?x)\\b(?:inline|noinline|nomagic|noopt)\\b"
|
1048
|
-
}
|
1049
|
-
],
|
1050
|
-
"beginCaptures": {
|
1051
|
-
"1": {
|
1052
|
-
"patterns": [
|
1053
|
-
{
|
1054
|
-
"include": "#open-bracket"
|
1055
|
-
}
|
1056
|
-
]
|
1057
|
-
}
|
1058
|
-
},
|
1059
|
-
"endCaptures": {
|
1060
|
-
"1": {
|
1061
|
-
"patterns": [
|
1062
|
-
{
|
1063
|
-
"include": "#close-bracket"
|
1064
|
-
}
|
1065
|
-
]
|
1066
|
-
}
|
1067
|
-
}
|
1068
|
-
},
|
1069
|
-
"predicate": {
|
1070
|
-
"name": "keyword.other.predicate.ql",
|
1071
|
-
"match": "(?x)\\b(?:predicate)(?:(?!(?:[0-9A-Za-z_])))"
|
1072
|
-
},
|
1073
|
-
"predicate-body": {
|
1074
|
-
"name": "meta.block.predicate-body.ql",
|
1075
|
-
"begin": "(?x)((?:\\{))",
|
1076
|
-
"end": "(?x)((?:\\}))",
|
1077
|
-
"patterns": [
|
1078
|
-
{
|
1079
|
-
"include": "#predicate-body-contents"
|
1080
|
-
}
|
1081
|
-
],
|
1082
|
-
"beginCaptures": {
|
1083
|
-
"1": {
|
1084
|
-
"patterns": [
|
1085
|
-
{
|
1086
|
-
"include": "#open-brace"
|
1087
|
-
}
|
1088
|
-
]
|
1089
|
-
}
|
1090
|
-
},
|
1091
|
-
"endCaptures": {
|
1092
|
-
"1": {
|
1093
|
-
"patterns": [
|
1094
|
-
{
|
1095
|
-
"include": "#close-brace"
|
1096
|
-
}
|
1097
|
-
]
|
1098
|
-
}
|
1099
|
-
}
|
1100
|
-
},
|
1101
|
-
"predicate-body-contents": {
|
1102
|
-
"patterns": [
|
1103
|
-
{
|
1104
|
-
"include": "#expr-as-clause"
|
1105
|
-
},
|
1106
|
-
{
|
1107
|
-
"include": "#non-context-sensitive"
|
1108
|
-
},
|
1109
|
-
{
|
1110
|
-
"include": "#module-qualifier"
|
1111
|
-
},
|
1112
|
-
{
|
1113
|
-
"name": "entity.name.function.ql",
|
1114
|
-
"match": "(?x)(?:\\b [a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))\\s*(?:\\*|\\+)?\\s*(?=\\()"
|
1115
|
-
},
|
1116
|
-
{
|
1117
|
-
"name": "variable.other.ql",
|
1118
|
-
"match": "(?x)(?:\\b [a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"
|
1119
|
-
},
|
1120
|
-
{
|
1121
|
-
"name": "entity.name.type.ql",
|
1122
|
-
"match": "(?x)(?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))|(?:@[a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"
|
1123
|
-
}
|
1124
|
-
]
|
1125
|
-
},
|
1126
|
-
"predicate-or-field-declaration": {
|
1127
|
-
"name": "meta.block.predicate-or-field-declaration.ql",
|
1128
|
-
"begin": "(?x)(?:(?=(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))))(?!(?:(?:(?:\\b(?:_)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:and)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:any)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:as)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:asc)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:avg)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:boolean)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:by)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:class)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:concat)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:count)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:date)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:desc)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:else)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:exists)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:extends)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:false)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:float)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:forall)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:forex)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:from)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:if)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:implies)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:import)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:in)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:instanceof)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:int)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:max)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:min)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:module)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:newtype)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:none)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:not)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:or)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:order)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:predicate)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:rank)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:result)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:select)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictconcat)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictcount)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictsum)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:string)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:sum)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:super)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:then)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:this)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:true)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:where)(?:(?!(?:[0-9A-Za-z_]))))))|(?:(?:(?:\\b(?:abstract)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:bindingset)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:cached)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:deprecated)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:external)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:final)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:language)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:library)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:override)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:pragma)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:private)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:query)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:transient)(?:(?!(?:[0-9A-Za-z_])))))))) | (?=(?:(?:(?:\\b(?:boolean)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:date)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:float)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:int)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:predicate)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:string)(?:(?!(?:[0-9A-Za-z_]))))))) | (?=(?:@[a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))))",
|
1129
|
-
"end": "(?x)(?\u003c=\\}|;)",
|
1130
|
-
"patterns": [
|
1131
|
-
{
|
1132
|
-
"include": "#predicate-parameter-list"
|
1133
|
-
},
|
1134
|
-
{
|
1135
|
-
"include": "#predicate-body"
|
1136
|
-
},
|
1137
|
-
{
|
1138
|
-
"include": "#non-context-sensitive"
|
1139
|
-
},
|
1140
|
-
{
|
1141
|
-
"include": "#module-qualifier"
|
1142
|
-
},
|
1143
|
-
{
|
1144
|
-
"name": "variable.field.ql",
|
1145
|
-
"match": "(?x)(?:\\b [a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))(?=\\s*;)"
|
1146
|
-
},
|
1147
|
-
{
|
1148
|
-
"name": "entity.name.function.ql",
|
1149
|
-
"match": "(?x)(?:\\b [a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"
|
1150
|
-
},
|
1151
|
-
{
|
1152
|
-
"name": "entity.name.type.ql",
|
1153
|
-
"match": "(?x)(?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))|(?:@[a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"
|
1154
|
-
}
|
1155
|
-
]
|
1156
|
-
},
|
1157
|
-
"predicate-parameter-list": {
|
1158
|
-
"name": "meta.block.predicate-parameter-list.ql",
|
1159
|
-
"begin": "(?x)((?:\\())",
|
1160
|
-
"end": "(?x)((?:\\)))",
|
1161
|
-
"patterns": [
|
1162
|
-
{
|
1163
|
-
"include": "#non-context-sensitive"
|
1164
|
-
},
|
1165
|
-
{
|
1166
|
-
"name": "variable.parameter.ql",
|
1167
|
-
"match": "(?x)(?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))(?=\\s*(?:,|\\)))"
|
1168
|
-
},
|
1169
|
-
{
|
1170
|
-
"include": "#module-qualifier"
|
1171
|
-
},
|
1172
|
-
{
|
1173
|
-
"name": "entity.name.type.ql",
|
1174
|
-
"match": "(?x)(?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))|(?:@[a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"
|
1175
|
-
},
|
1176
|
-
{
|
1177
|
-
"name": "variable.parameter.ql",
|
1178
|
-
"match": "(?x)(?:\\b [a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"
|
1179
|
-
}
|
1180
|
-
],
|
1181
|
-
"beginCaptures": {
|
1182
|
-
"1": {
|
1183
|
-
"patterns": [
|
1184
|
-
{
|
1185
|
-
"include": "#open-paren"
|
1186
|
-
}
|
1187
|
-
]
|
1188
|
-
}
|
1189
|
-
},
|
1190
|
-
"endCaptures": {
|
1191
|
-
"1": {
|
1192
|
-
"patterns": [
|
1193
|
-
{
|
1194
|
-
"include": "#close-paren"
|
1195
|
-
}
|
1196
|
-
]
|
1197
|
-
}
|
1198
|
-
}
|
1199
|
-
},
|
1200
|
-
"predicate-start-keyword": {
|
1201
|
-
"patterns": [
|
1202
|
-
{
|
1203
|
-
"include": "#boolean"
|
1204
|
-
},
|
1205
|
-
{
|
1206
|
-
"include": "#date"
|
1207
|
-
},
|
1208
|
-
{
|
1209
|
-
"include": "#float"
|
1210
|
-
},
|
1211
|
-
{
|
1212
|
-
"include": "#int"
|
1213
|
-
},
|
1214
|
-
{
|
1215
|
-
"include": "#predicate"
|
1216
|
-
},
|
1217
|
-
{
|
1218
|
-
"include": "#string"
|
1219
|
-
}
|
1220
|
-
]
|
1221
|
-
},
|
1222
|
-
"private": {
|
1223
|
-
"name": "storage.modifier.private.ql",
|
1224
|
-
"match": "(?x)\\b(?:private)(?:(?!(?:[0-9A-Za-z_])))"
|
1225
|
-
},
|
1226
|
-
"query": {
|
1227
|
-
"name": "storage.modifier.query.ql",
|
1228
|
-
"match": "(?x)\\b(?:query)(?:(?!(?:[0-9A-Za-z_])))"
|
1229
|
-
},
|
1230
|
-
"rank": {
|
1231
|
-
"name": "keyword.aggregate.rank.ql",
|
1232
|
-
"match": "(?x)\\b(?:rank)(?:(?!(?:[0-9A-Za-z_])))"
|
1233
|
-
},
|
1234
|
-
"relational-operator": {
|
1235
|
-
"name": "keyword.operator.relational.ql",
|
1236
|
-
"match": "(?x)\u003c=|\u003c|\u003e=|\u003e"
|
1237
|
-
},
|
1238
|
-
"result": {
|
1239
|
-
"name": "variable.language.result.ql",
|
1240
|
-
"match": "(?x)\\b(?:result)(?:(?!(?:[0-9A-Za-z_])))"
|
1241
|
-
},
|
1242
|
-
"select": {
|
1243
|
-
"name": "keyword.query.select.ql",
|
1244
|
-
"match": "(?x)\\b(?:select)(?:(?!(?:[0-9A-Za-z_])))"
|
1245
|
-
},
|
1246
|
-
"select-as-clause": {
|
1247
|
-
"match": "(?x)meta.block.select-as-clause.ql",
|
1248
|
-
"begin": "(?x)((?:\\b(?:as)(?:(?!(?:[0-9A-Za-z_])))))",
|
1249
|
-
"end": "(?x)(?\u003c=(?:[0-9A-Za-z_])(?:(?!(?:[0-9A-Za-z_]))))",
|
1250
|
-
"patterns": [
|
1251
|
-
{
|
1252
|
-
"include": "#non-context-sensitive"
|
1253
|
-
},
|
1254
|
-
{
|
1255
|
-
"name": "variable.other.ql",
|
1256
|
-
"match": "(?x)(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"
|
1257
|
-
}
|
1258
|
-
],
|
1259
|
-
"beginCaptures": {
|
1260
|
-
"1": {
|
1261
|
-
"patterns": [
|
1262
|
-
{
|
1263
|
-
"include": "#as"
|
1264
|
-
}
|
1265
|
-
]
|
1266
|
-
}
|
1267
|
-
}
|
1268
|
-
},
|
1269
|
-
"select-clause": {
|
1270
|
-
"name": "meta.block.select-clause.ql",
|
1271
|
-
"begin": "(?x)(?=(?:\\b(?:from)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:where)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:select)(?:(?!(?:[0-9A-Za-z_])))))",
|
1272
|
-
"end": "(?x)(?!(?:\\b(?:from)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:where)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:select)(?:(?!(?:[0-9A-Za-z_])))))",
|
1273
|
-
"patterns": [
|
1274
|
-
{
|
1275
|
-
"include": "#from-section"
|
1276
|
-
},
|
1277
|
-
{
|
1278
|
-
"include": "#where-section"
|
1279
|
-
},
|
1280
|
-
{
|
1281
|
-
"include": "#select-section"
|
1282
|
-
}
|
1283
|
-
]
|
1284
|
-
},
|
1285
|
-
"select-section": {
|
1286
|
-
"name": "meta.block.select-section.ql",
|
1287
|
-
"begin": "(?x)((?:\\b(?:select)(?:(?!(?:[0-9A-Za-z_])))))",
|
1288
|
-
"end": "(?x)(?=\\n)",
|
1289
|
-
"patterns": [
|
1290
|
-
{
|
1291
|
-
"include": "#predicate-body-contents"
|
1292
|
-
},
|
1293
|
-
{
|
1294
|
-
"include": "#select-as-clause"
|
1295
|
-
}
|
1296
|
-
],
|
1297
|
-
"beginCaptures": {
|
1298
|
-
"1": {
|
1299
|
-
"patterns": [
|
1300
|
-
{
|
1301
|
-
"include": "#select"
|
1302
|
-
}
|
1303
|
-
]
|
1304
|
-
}
|
1305
|
-
}
|
1306
|
-
},
|
1307
|
-
"semicolon": {
|
1308
|
-
"name": "punctuation.separator.statement.ql",
|
1309
|
-
"match": "(?x);"
|
1310
|
-
},
|
1311
|
-
"simple-id": {
|
1312
|
-
"match": "(?x)\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))"
|
1313
|
-
},
|
1314
|
-
"strictconcat": {
|
1315
|
-
"name": "keyword.aggregate.strictconcat.ql",
|
1316
|
-
"match": "(?x)\\b(?:strictconcat)(?:(?!(?:[0-9A-Za-z_])))"
|
1317
|
-
},
|
1318
|
-
"strictcount": {
|
1319
|
-
"name": "keyword.aggregate.strictcount.ql",
|
1320
|
-
"match": "(?x)\\b(?:strictcount)(?:(?!(?:[0-9A-Za-z_])))"
|
1321
|
-
},
|
1322
|
-
"strictsum": {
|
1323
|
-
"name": "keyword.aggregate.strictsum.ql",
|
1324
|
-
"match": "(?x)\\b(?:strictsum)(?:(?!(?:[0-9A-Za-z_])))"
|
1325
|
-
},
|
1326
|
-
"string": {
|
1327
|
-
"name": "keyword.type.string.ql",
|
1328
|
-
"match": "(?x)\\b(?:string)(?:(?!(?:[0-9A-Za-z_])))"
|
1329
|
-
},
|
1330
|
-
"string-escape": {
|
1331
|
-
"name": "constant.character.escape.ql",
|
1332
|
-
"match": "(?x)\\\\[\"\\\\nrt]"
|
1333
|
-
},
|
1334
|
-
"string-literal": {
|
1335
|
-
"name": "string.quoted.double.ql",
|
1336
|
-
"begin": "(?x)\"",
|
1337
|
-
"end": "(?x)(\") | ((?:[^\\\\\\n])$)",
|
1338
|
-
"patterns": [
|
1339
|
-
{
|
1340
|
-
"include": "#string-escape"
|
1341
|
-
}
|
1342
|
-
],
|
1343
|
-
"beginCaptures": {
|
1344
|
-
"0": {
|
1345
|
-
"name": "punctuation.definition.string.begin.ql"
|
1346
|
-
}
|
1347
|
-
},
|
1348
|
-
"endCaptures": {
|
1349
|
-
"1": {
|
1350
|
-
"name": "punctuation.definition.string.end.ql"
|
1351
|
-
},
|
1352
|
-
"2": {
|
1353
|
-
"name": "invalid.illegal.newline.ql"
|
1354
|
-
}
|
1355
|
-
}
|
1356
|
-
},
|
1357
|
-
"sum": {
|
1358
|
-
"name": "keyword.aggregate.sum.ql",
|
1359
|
-
"match": "(?x)\\b(?:sum)(?:(?!(?:[0-9A-Za-z_])))"
|
1360
|
-
},
|
1361
|
-
"super": {
|
1362
|
-
"name": "variable.language.super.ql",
|
1363
|
-
"match": "(?x)\\b(?:super)(?:(?!(?:[0-9A-Za-z_])))"
|
1364
|
-
},
|
1365
|
-
"then": {
|
1366
|
-
"name": "keyword.other.then.ql",
|
1367
|
-
"match": "(?x)\\b(?:then)(?:(?!(?:[0-9A-Za-z_])))"
|
1368
|
-
},
|
1369
|
-
"this": {
|
1370
|
-
"name": "variable.language.this.ql",
|
1371
|
-
"match": "(?x)\\b(?:this)(?:(?!(?:[0-9A-Za-z_])))"
|
1372
|
-
},
|
1373
|
-
"transient": {
|
1374
|
-
"name": "storage.modifier.transient.ql",
|
1375
|
-
"match": "(?x)\\b(?:transient)(?:(?!(?:[0-9A-Za-z_])))"
|
1376
|
-
},
|
1377
|
-
"true": {
|
1378
|
-
"name": "constant.language.boolean.true.ql",
|
1379
|
-
"match": "(?x)\\b(?:true)(?:(?!(?:[0-9A-Za-z_])))"
|
1380
|
-
},
|
1381
|
-
"upper-id": {
|
1382
|
-
"match": "(?x)\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))"
|
1383
|
-
},
|
1384
|
-
"where": {
|
1385
|
-
"name": "keyword.query.where.ql",
|
1386
|
-
"match": "(?x)\\b(?:where)(?:(?!(?:[0-9A-Za-z_])))"
|
1387
|
-
},
|
1388
|
-
"where-section": {
|
1389
|
-
"name": "meta.block.where-section.ql",
|
1390
|
-
"begin": "(?x)((?:\\b(?:where)(?:(?!(?:[0-9A-Za-z_])))))",
|
1391
|
-
"end": "(?x)(?=(?:\\b(?:select)(?:(?!(?:[0-9A-Za-z_])))))",
|
1392
|
-
"patterns": [
|
1393
|
-
{
|
1394
|
-
"include": "#predicate-body-contents"
|
1395
|
-
}
|
1396
|
-
],
|
1397
|
-
"beginCaptures": {
|
1398
|
-
"1": {
|
1399
|
-
"patterns": [
|
1400
|
-
{
|
1401
|
-
"include": "#where"
|
1402
|
-
}
|
1403
|
-
]
|
1404
|
-
}
|
1405
|
-
}
|
1406
|
-
}
|
1407
|
-
}
|
1408
|
-
}
|
1
|
+
{"name":"QL","scopeName":"source.ql","patterns":[{"include":"#module-member"}],"repository":{"abstract":{"name":"storage.modifier.abstract.ql","match":"(?x)\\b(?:abstract)(?:(?!(?:[0-9A-Za-z_])))"},"and":{"name":"keyword.other.and.ql","match":"(?x)\\b(?:and)(?:(?!(?:[0-9A-Za-z_])))"},"annotation":{"patterns":[{"include":"#bindingset-annotation"},{"include":"#language-annotation"},{"include":"#pragma-annotation"},{"include":"#annotation-keyword"}]},"annotation-keyword":{"patterns":[{"include":"#abstract"},{"include":"#bindingset"},{"include":"#cached"},{"include":"#deprecated"},{"include":"#external"},{"include":"#final"},{"include":"#language"},{"include":"#library"},{"include":"#override"},{"include":"#pragma"},{"include":"#private"},{"include":"#query"},{"include":"#transient"}]},"any":{"name":"keyword.quantifier.any.ql","match":"(?x)\\b(?:any)(?:(?!(?:[0-9A-Za-z_])))"},"arithmetic-operator":{"name":"keyword.operator.arithmetic.ql","match":"(?x)\\+|-|\\*|/|%"},"as":{"name":"keyword.other.as.ql","match":"(?x)\\b(?:as)(?:(?!(?:[0-9A-Za-z_])))"},"asc":{"name":"keyword.order.asc.ql","match":"(?x)\\b(?:asc)(?:(?!(?:[0-9A-Za-z_])))"},"at-lower-id":{"match":"(?x)@[a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))"},"avg":{"name":"keyword.aggregate.avg.ql","match":"(?x)\\b(?:avg)(?:(?!(?:[0-9A-Za-z_])))"},"bindingset":{"name":"storage.modifier.bindingset.ql","match":"(?x)\\b(?:bindingset)(?:(?!(?:[0-9A-Za-z_])))"},"bindingset-annotation":{"name":"meta.block.bindingset-annotation.ql","begin":"(?x)((?:\\b(?:bindingset)(?:(?!(?:[0-9A-Za-z_])))))","end":"(?x)(?! \\s | (?:// | /\\*) | \\[ ) | (?\u003c=\\])","patterns":[{"include":"#bindingset-annotation-body"},{"include":"#non-context-sensitive"}],"beginCaptures":{"1":{"patterns":[{"include":"#bindingset"}]}}},"bindingset-annotation-body":{"name":"meta.block.bindingset-annotation-body.ql","begin":"(?x)((?:\\[))","end":"(?x)((?:\\]))","patterns":[{"include":"#non-context-sensitive"},{"name":"variable.parameter.ql","match":"(?x)(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"}],"beginCaptures":{"1":{"patterns":[{"include":"#open-bracket"}]}},"endCaptures":{"1":{"patterns":[{"include":"#close-bracket"}]}}},"boolean":{"name":"keyword.type.boolean.ql","match":"(?x)\\b(?:boolean)(?:(?!(?:[0-9A-Za-z_])))"},"by":{"name":"keyword.order.by.ql","match":"(?x)\\b(?:by)(?:(?!(?:[0-9A-Za-z_])))"},"cached":{"name":"storage.modifier.cached.ql","match":"(?x)\\b(?:cached)(?:(?!(?:[0-9A-Za-z_])))"},"class":{"name":"keyword.other.class.ql","match":"(?x)\\b(?:class)(?:(?!(?:[0-9A-Za-z_])))"},"class-body":{"name":"meta.block.class-body.ql","begin":"(?x)((?:\\{))","end":"(?x)((?:\\}))","patterns":[{"include":"#class-member"}],"beginCaptures":{"1":{"patterns":[{"include":"#open-brace"}]}},"endCaptures":{"1":{"patterns":[{"include":"#close-brace"}]}}},"class-declaration":{"name":"meta.block.class-declaration.ql","begin":"(?x)((?:\\b(?:class)(?:(?!(?:[0-9A-Za-z_])))))","end":"(?x)(?\u003c= \\} | ; )","patterns":[{"include":"#class-body"},{"include":"#extends-clause"},{"include":"#non-context-sensitive"},{"name":"entity.name.type.class.ql","match":"(?x)(?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"}],"beginCaptures":{"1":{"patterns":[{"include":"#class"}]}}},"class-member":{"patterns":[{"include":"#predicate-or-field-declaration"},{"include":"#annotation"},{"include":"#non-context-sensitive"}]},"close-brace":{"name":"punctuation.curlybrace.close.ql","match":"(?x)\\}"},"close-bracket":{"name":"punctuation.squarebracket.close.ql","match":"(?x)\\]"},"close-paren":{"name":"punctuation.parenthesis.close.ql","match":"(?x)\\)"},"comma":{"name":"punctuation.separator.comma.ql","match":"(?x),"},"comment":{"patterns":[{"name":"comment.block.documentation.ql","begin":"(?x)/\\*\\*","end":"(?x)\\*/","patterns":[{"begin":"(?x)(?\u003c=/\\*\\*)([^*]|\\*(?!/))*$","while":"(?x)(^|\\G)\\s*([^*]|\\*(?!/))(?=([^*]|[*](?!/))*$)","patterns":[{"name":"keyword.tag.ql","match":"(?x)\\G\\s* (@\\S+)"}]}]},{"name":"comment.block.ql","begin":"(?x)/\\*","end":"(?x)\\*/"},{"name":"comment.line.double-slash.ql","match":"(?x)//.*$"}]},"comment-start":{"match":"(?x)// | /\\*"},"comparison-operator":{"name":"keyword.operator.comparison.ql","match":"(?x)=|\\!-"},"concat":{"name":"keyword.aggregate.concat.ql","match":"(?x)\\b(?:concat)(?:(?!(?:[0-9A-Za-z_])))"},"count":{"name":"keyword.aggregate.count.ql","match":"(?x)\\b(?:count)(?:(?!(?:[0-9A-Za-z_])))"},"date":{"name":"keyword.type.date.ql","match":"(?x)\\b(?:date)(?:(?!(?:[0-9A-Za-z_])))"},"deprecated":{"name":"storage.modifier.deprecated.ql","match":"(?x)\\b(?:deprecated)(?:(?!(?:[0-9A-Za-z_])))"},"desc":{"name":"keyword.order.desc.ql","match":"(?x)\\b(?:desc)(?:(?!(?:[0-9A-Za-z_])))"},"dont-care":{"name":"variable.language.dont-care.ql","match":"(?x)\\b(?:_)(?:(?!(?:[0-9A-Za-z_])))"},"dot":{"name":"punctuation.accessor.ql","match":"(?x)\\."},"dotdot":{"name":"punctuation.operator.range.ql","match":"(?x)\\.\\."},"else":{"name":"keyword.other.else.ql","match":"(?x)\\b(?:else)(?:(?!(?:[0-9A-Za-z_])))"},"end-of-as-clause":{"match":"(?x)(?: (?\u003c=(?:[0-9A-Za-z_])) (?!(?:[0-9A-Za-z_])) (?\u003c!(?\u003c!(?:[0-9A-Za-z_]))as)) | (?=\\s* (?!(?:// | /\\*) | (?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))) \\S) | (?=\\s* (?:(?:(?:\\b(?:_)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:and)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:any)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:as)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:asc)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:avg)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:boolean)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:by)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:class)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:concat)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:count)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:date)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:desc)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:else)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:exists)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:extends)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:false)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:float)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:forall)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:forex)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:from)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:if)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:implies)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:import)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:in)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:instanceof)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:int)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:max)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:min)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:module)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:newtype)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:none)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:not)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:or)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:order)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:predicate)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:rank)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:result)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:select)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictconcat)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictcount)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictsum)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:string)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:sum)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:super)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:then)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:this)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:true)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:where)(?:(?!(?:[0-9A-Za-z_])))))))"},"end-of-id":{"match":"(?x)(?!(?:[0-9A-Za-z_]))"},"exists":{"name":"keyword.quantifier.exists.ql","match":"(?x)\\b(?:exists)(?:(?!(?:[0-9A-Za-z_])))"},"expr-as-clause":{"name":"meta.block.expr-as-clause.ql","begin":"(?x)((?:\\b(?:as)(?:(?!(?:[0-9A-Za-z_])))))","end":"(?x)(?:(?: (?\u003c=(?:[0-9A-Za-z_])) (?!(?:[0-9A-Za-z_])) (?\u003c!(?\u003c!(?:[0-9A-Za-z_]))as)) | (?=\\s* (?!(?:// | /\\*) | (?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))) \\S) | (?=\\s* (?:(?:(?:\\b(?:_)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:and)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:any)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:as)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:asc)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:avg)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:boolean)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:by)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:class)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:concat)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:count)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:date)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:desc)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:else)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:exists)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:extends)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:false)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:float)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:forall)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:forex)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:from)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:if)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:implies)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:import)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:in)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:instanceof)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:int)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:max)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:min)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:module)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:newtype)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:none)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:not)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:or)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:order)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:predicate)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:rank)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:result)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:select)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictconcat)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictcount)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictsum)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:string)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:sum)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:super)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:then)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:this)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:true)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:where)(?:(?!(?:[0-9A-Za-z_]))))))))","patterns":[{"include":"#non-context-sensitive"},{"name":"variable.other.ql","match":"(?x)(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"}],"beginCaptures":{"1":{"patterns":[{"include":"#as"}]}}},"extends":{"name":"keyword.other.extends.ql","match":"(?x)\\b(?:extends)(?:(?!(?:[0-9A-Za-z_])))"},"extends-clause":{"name":"meta.block.extends-clause.ql","begin":"(?x)((?:\\b(?:extends)(?:(?!(?:[0-9A-Za-z_])))))","end":"(?x)(?= \\{ )","patterns":[{"include":"#non-context-sensitive"},{"name":"entity.name.type.ql","match":"(?x)(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))|(?:@[a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"}],"beginCaptures":{"1":{"patterns":[{"include":"#extends"}]}}},"external":{"name":"storage.modifier.external.ql","match":"(?x)\\b(?:external)(?:(?!(?:[0-9A-Za-z_])))"},"false":{"name":"constant.language.boolean.false.ql","match":"(?x)\\b(?:false)(?:(?!(?:[0-9A-Za-z_])))"},"final":{"name":"storage.modifier.final.ql","match":"(?x)\\b(?:final)(?:(?!(?:[0-9A-Za-z_])))"},"float":{"name":"keyword.type.float.ql","match":"(?x)\\b(?:float)(?:(?!(?:[0-9A-Za-z_])))"},"float-literal":{"name":"constant.numeric.decimal.ql","match":"(?x)-?[0-9]+\\.[0-9]+(?![0-9])"},"forall":{"name":"keyword.quantifier.forall.ql","match":"(?x)\\b(?:forall)(?:(?!(?:[0-9A-Za-z_])))"},"forex":{"name":"keyword.quantifier.forex.ql","match":"(?x)\\b(?:forex)(?:(?!(?:[0-9A-Za-z_])))"},"from":{"name":"keyword.other.from.ql","match":"(?x)\\b(?:from)(?:(?!(?:[0-9A-Za-z_])))"},"from-section":{"name":"meta.block.from-section.ql","begin":"(?x)((?:\\b(?:from)(?:(?!(?:[0-9A-Za-z_])))))","end":"(?x)(?= (?:\\b(?:select)(?:(?!(?:[0-9A-Za-z_])))) | (?:\\b(?:where)(?:(?!(?:[0-9A-Za-z_])))) )","patterns":[{"include":"#non-context-sensitive"},{"name":"variable.parameter.ql","match":"(?x)(?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))(?=\\s*(?:,|(?:\\b(?:where)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:select)(?:(?!(?:[0-9A-Za-z_]))))|$))"},{"include":"#module-qualifier"},{"name":"entity.name.type.ql","match":"(?x)(?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))|(?:@[a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"},{"name":"variable.parameter.ql","match":"(?x)(?:\\b [a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"}],"beginCaptures":{"1":{"patterns":[{"include":"#from"}]}}},"id-character":{"match":"(?x)[0-9A-Za-z_]"},"if":{"name":"keyword.other.if.ql","match":"(?x)\\b(?:if)(?:(?!(?:[0-9A-Za-z_])))"},"implies":{"name":"keyword.other.implies.ql","match":"(?x)\\b(?:implies)(?:(?!(?:[0-9A-Za-z_])))"},"import":{"name":"keyword.other.import.ql","match":"(?x)\\b(?:import)(?:(?!(?:[0-9A-Za-z_])))"},"import-as-clause":{"name":"meta.block.import-as-clause.ql","begin":"(?x)((?:\\b(?:as)(?:(?!(?:[0-9A-Za-z_])))))","end":"(?x)(?:(?: (?\u003c=(?:[0-9A-Za-z_])) (?!(?:[0-9A-Za-z_])) (?\u003c!(?\u003c!(?:[0-9A-Za-z_]))as)) | (?=\\s* (?!(?:// | /\\*) | (?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))) \\S) | (?=\\s* (?:(?:(?:\\b(?:_)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:and)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:any)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:as)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:asc)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:avg)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:boolean)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:by)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:class)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:concat)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:count)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:date)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:desc)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:else)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:exists)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:extends)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:false)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:float)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:forall)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:forex)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:from)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:if)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:implies)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:import)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:in)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:instanceof)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:int)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:max)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:min)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:module)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:newtype)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:none)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:not)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:or)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:order)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:predicate)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:rank)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:result)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:select)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictconcat)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictcount)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictsum)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:string)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:sum)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:super)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:then)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:this)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:true)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:where)(?:(?!(?:[0-9A-Za-z_]))))))))","patterns":[{"include":"#non-context-sensitive"},{"name":"entity.name.type.namespace.ql","match":"(?x)(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"}],"beginCaptures":{"1":{"patterns":[{"include":"#as"}]}}},"import-directive":{"name":"meta.block.import-directive.ql","begin":"(?x)((?:\\b(?:import)(?:(?!(?:[0-9A-Za-z_])))))","end":"(?x)(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))) (?!\\s*(\\.|\\:\\:))","patterns":[{"include":"#non-context-sensitive"},{"name":"entity.name.type.namespace.ql","match":"(?x)(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"}],"beginCaptures":{"1":{"patterns":[{"include":"#import"}]}},"endCaptures":{"0":{"name":"entity.name.type.namespace.ql"}}},"in":{"name":"keyword.other.in.ql","match":"(?x)\\b(?:in)(?:(?!(?:[0-9A-Za-z_])))"},"instanceof":{"name":"keyword.other.instanceof.ql","match":"(?x)\\b(?:instanceof)(?:(?!(?:[0-9A-Za-z_])))"},"int":{"name":"keyword.type.int.ql","match":"(?x)\\b(?:int)(?:(?!(?:[0-9A-Za-z_])))"},"int-literal":{"name":"constant.numeric.decimal.ql","match":"(?x)-?[0-9]+(?![0-9])"},"keyword":{"patterns":[{"include":"#dont-care"},{"include":"#and"},{"include":"#any"},{"include":"#as"},{"include":"#asc"},{"include":"#avg"},{"include":"#boolean"},{"include":"#by"},{"include":"#class"},{"include":"#concat"},{"include":"#count"},{"include":"#date"},{"include":"#desc"},{"include":"#else"},{"include":"#exists"},{"include":"#extends"},{"include":"#false"},{"include":"#float"},{"include":"#forall"},{"include":"#forex"},{"include":"#from"},{"include":"#if"},{"include":"#implies"},{"include":"#import"},{"include":"#in"},{"include":"#instanceof"},{"include":"#int"},{"include":"#max"},{"include":"#min"},{"include":"#module"},{"include":"#newtype"},{"include":"#none"},{"include":"#not"},{"include":"#or"},{"include":"#order"},{"include":"#predicate"},{"include":"#rank"},{"include":"#result"},{"include":"#select"},{"include":"#strictconcat"},{"include":"#strictcount"},{"include":"#strictsum"},{"include":"#string"},{"include":"#sum"},{"include":"#super"},{"include":"#then"},{"include":"#this"},{"include":"#true"},{"include":"#where"}]},"language":{"name":"storage.modifier.language.ql","match":"(?x)\\b(?:language)(?:(?!(?:[0-9A-Za-z_])))"},"language-annotation":{"name":"meta.block.language-annotation.ql","begin":"(?x)((?:\\b(?:language)(?:(?!(?:[0-9A-Za-z_])))))","end":"(?x)(?! \\s | (?:// | /\\*) | \\[ ) | (?\u003c=\\])","patterns":[{"include":"#language-annotation-body"},{"include":"#non-context-sensitive"}],"beginCaptures":{"1":{"patterns":[{"include":"#language"}]}}},"language-annotation-body":{"name":"meta.block.language-annotation-body.ql","begin":"(?x)((?:\\[))","end":"(?x)((?:\\]))","patterns":[{"include":"#non-context-sensitive"},{"name":"storage.modifier.ql","match":"(?x)\\b(?:monotonicAggregates)(?:(?!(?:[0-9A-Za-z_])))"}],"beginCaptures":{"1":{"patterns":[{"include":"#open-bracket"}]}},"endCaptures":{"1":{"patterns":[{"include":"#close-bracket"}]}}},"library":{"name":"storage.modifier.library.ql","match":"(?x)\\b(?:library)(?:(?!(?:[0-9A-Za-z_])))"},"literal":{"patterns":[{"include":"#float-literal"},{"include":"#int-literal"},{"include":"#string-literal"}]},"lower-id":{"match":"(?x)\\b [a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))"},"max":{"name":"keyword.aggregate.max.ql","match":"(?x)\\b(?:max)(?:(?!(?:[0-9A-Za-z_])))"},"min":{"name":"keyword.aggregate.min.ql","match":"(?x)\\b(?:min)(?:(?!(?:[0-9A-Za-z_])))"},"module":{"name":"keyword.other.module.ql","match":"(?x)\\b(?:module)(?:(?!(?:[0-9A-Za-z_])))"},"module-body":{"name":"meta.block.module-body.ql","begin":"(?x)((?:\\{))","end":"(?x)((?:\\}))","patterns":[{"include":"#module-member"}],"beginCaptures":{"1":{"patterns":[{"include":"#open-brace"}]}},"endCaptures":{"1":{"patterns":[{"include":"#close-brace"}]}}},"module-declaration":{"name":"meta.block.module-declaration.ql","begin":"(?x)((?:\\b(?:module)(?:(?!(?:[0-9A-Za-z_])))))","end":"(?x)(?\u003c=\\}|;)","patterns":[{"include":"#module-body"},{"include":"#non-context-sensitive"},{"name":"entity.name.type.namespace.ql","match":"(?x)(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"}],"beginCaptures":{"1":{"patterns":[{"include":"#module"}]}}},"module-member":{"patterns":[{"include":"#import-directive"},{"include":"#import-as-clause"},{"include":"#module-declaration"},{"include":"#class-declaration"},{"include":"#select-clause"},{"include":"#predicate-or-field-declaration"},{"include":"#non-context-sensitive"},{"include":"#annotation"}]},"module-qualifier":{"name":"entity.name.type.namespace.ql","match":"(?x)(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))) (?=\\s*\\:\\:)"},"newtype":{"name":"keyword.other.newtype.ql","match":"(?x)\\b(?:newtype)(?:(?!(?:[0-9A-Za-z_])))"},"newtype-branch":{"name":"meta.block.newtype-branch.ql","begin":"(?x)(?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))","end":"(?x)(?\u003c=\\}) | (?! \\s | (?:// | /\\*) | \\{ )","patterns":[{"include":"#predicate-body"},{"include":"#non-context-sensitive"},{"name":"entity.name.type.ql","match":"(?x)(?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"}],"beginCaptures":{"0":{"name":"entity.name.type.ql"}}},"newtype-declaration":{"name":"meta.block.newtype.ql","begin":"(?x)((?:\\b(?:newtype)(?:(?!(?:[0-9A-Za-z_])))))","end":"(?x)(?! \\s | (?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))) | (?:// | /\\*) | \\= | \\( )","patterns":[{"include":"#non-context-sensitive"},{"include":"#newtype-branch"}],"beginCaptures":{"1":{"patterns":[{"include":"#newtype"}]}}},"non-context-sensitive":{"patterns":[{"include":"#comment"},{"include":"#literal"},{"include":"#operator-or-punctuation"},{"include":"#keyword"}]},"none":{"name":"keyword.quantifier.none.ql","match":"(?x)\\b(?:none)(?:(?!(?:[0-9A-Za-z_])))"},"not":{"name":"keyword.other.not.ql","match":"(?x)\\b(?:not)(?:(?!(?:[0-9A-Za-z_])))"},"open-brace":{"name":"punctuation.curlybrace.open.ql","match":"(?x)\\{"},"open-bracket":{"name":"punctuation.squarebracket.open.ql","match":"(?x)\\["},"open-paren":{"name":"punctuation.parenthesis.open.ql","match":"(?x)\\("},"operator-or-punctuation":{"patterns":[{"include":"#relational-operator"},{"include":"#comparison-operator"},{"include":"#arithmetic-operator"},{"include":"#comma"},{"include":"#semicolon"},{"include":"#dot"},{"include":"#dotdot"},{"include":"#pipe"},{"include":"#open-paren"},{"include":"#close-paren"},{"include":"#open-brace"},{"include":"#close-brace"},{"include":"#open-bracket"},{"include":"#close-bracket"}]},"or":{"name":"keyword.other.or.ql","match":"(?x)\\b(?:or)(?:(?!(?:[0-9A-Za-z_])))"},"order":{"name":"keyword.order.order.ql","match":"(?x)\\b(?:order)(?:(?!(?:[0-9A-Za-z_])))"},"override":{"name":"storage.modifier.override.ql","match":"(?x)\\b(?:override)(?:(?!(?:[0-9A-Za-z_])))"},"pipe":{"name":"punctuation.separator.pipe.ql","match":"(?x)\\|"},"pragma":{"name":"storage.modifier.pragma.ql","match":"(?x)\\b(?:pragma)(?:(?!(?:[0-9A-Za-z_])))"},"pragma-annotation":{"name":"meta.block.pragma-annotation.ql","begin":"(?x)((?:\\b(?:pragma)(?:(?!(?:[0-9A-Za-z_])))))","end":"(?x)(?! \\s | (?:// | /\\*) | \\[ ) | (?\u003c=\\])","patterns":[{"include":"#pragma-annotation-body"},{"include":"#non-context-sensitive"}],"beginCaptures":{"1":{"patterns":[{"include":"#pragma"}]}}},"pragma-annotation-body":{"name":"meta.block.pragma-annotation-body.ql","begin":"(?x)((?:\\[))","end":"(?x)((?:\\]))","patterns":[{"name":"storage.modifier.ql","match":"(?x)\\b(?:inline|noinline|nomagic|noopt)\\b"}],"beginCaptures":{"1":{"patterns":[{"include":"#open-bracket"}]}},"endCaptures":{"1":{"patterns":[{"include":"#close-bracket"}]}}},"predicate":{"name":"keyword.other.predicate.ql","match":"(?x)\\b(?:predicate)(?:(?!(?:[0-9A-Za-z_])))"},"predicate-body":{"name":"meta.block.predicate-body.ql","begin":"(?x)((?:\\{))","end":"(?x)((?:\\}))","patterns":[{"include":"#predicate-body-contents"}],"beginCaptures":{"1":{"patterns":[{"include":"#open-brace"}]}},"endCaptures":{"1":{"patterns":[{"include":"#close-brace"}]}}},"predicate-body-contents":{"patterns":[{"include":"#expr-as-clause"},{"include":"#non-context-sensitive"},{"include":"#module-qualifier"},{"name":"entity.name.function.ql","match":"(?x)(?:\\b [a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))\\s*(?:\\*|\\+)?\\s*(?=\\()"},{"name":"variable.other.ql","match":"(?x)(?:\\b [a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"},{"name":"entity.name.type.ql","match":"(?x)(?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))|(?:@[a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"}]},"predicate-or-field-declaration":{"name":"meta.block.predicate-or-field-declaration.ql","begin":"(?x)(?:(?=(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))))(?!(?:(?:(?:\\b(?:_)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:and)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:any)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:as)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:asc)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:avg)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:boolean)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:by)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:class)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:concat)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:count)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:date)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:desc)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:else)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:exists)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:extends)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:false)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:float)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:forall)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:forex)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:from)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:if)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:implies)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:import)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:in)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:instanceof)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:int)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:max)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:min)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:module)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:newtype)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:none)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:not)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:or)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:order)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:predicate)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:rank)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:result)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:select)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictconcat)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictcount)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:strictsum)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:string)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:sum)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:super)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:then)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:this)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:true)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:where)(?:(?!(?:[0-9A-Za-z_]))))))|(?:(?:(?:\\b(?:abstract)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:bindingset)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:cached)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:deprecated)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:external)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:final)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:language)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:library)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:override)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:pragma)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:private)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:query)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:transient)(?:(?!(?:[0-9A-Za-z_])))))))) | (?=(?:(?:(?:\\b(?:boolean)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:date)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:float)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:int)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:predicate)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:string)(?:(?!(?:[0-9A-Za-z_]))))))) | (?=(?:@[a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))))","end":"(?x)(?\u003c=\\}|;)","patterns":[{"include":"#predicate-parameter-list"},{"include":"#predicate-body"},{"include":"#non-context-sensitive"},{"include":"#module-qualifier"},{"name":"variable.field.ql","match":"(?x)(?:\\b [a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))(?=\\s*;)"},{"name":"entity.name.function.ql","match":"(?x)(?:\\b [a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"},{"name":"entity.name.type.ql","match":"(?x)(?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))|(?:@[a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"}]},"predicate-parameter-list":{"name":"meta.block.predicate-parameter-list.ql","begin":"(?x)((?:\\())","end":"(?x)((?:\\)))","patterns":[{"include":"#non-context-sensitive"},{"name":"variable.parameter.ql","match":"(?x)(?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))(?=\\s*(?:,|\\)))"},{"include":"#module-qualifier"},{"name":"entity.name.type.ql","match":"(?x)(?:\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))|(?:@[a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"},{"name":"variable.parameter.ql","match":"(?x)(?:\\b [a-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"}],"beginCaptures":{"1":{"patterns":[{"include":"#open-paren"}]}},"endCaptures":{"1":{"patterns":[{"include":"#close-paren"}]}}},"predicate-start-keyword":{"patterns":[{"include":"#boolean"},{"include":"#date"},{"include":"#float"},{"include":"#int"},{"include":"#predicate"},{"include":"#string"}]},"private":{"name":"storage.modifier.private.ql","match":"(?x)\\b(?:private)(?:(?!(?:[0-9A-Za-z_])))"},"query":{"name":"storage.modifier.query.ql","match":"(?x)\\b(?:query)(?:(?!(?:[0-9A-Za-z_])))"},"rank":{"name":"keyword.aggregate.rank.ql","match":"(?x)\\b(?:rank)(?:(?!(?:[0-9A-Za-z_])))"},"relational-operator":{"name":"keyword.operator.relational.ql","match":"(?x)\u003c=|\u003c|\u003e=|\u003e"},"result":{"name":"variable.language.result.ql","match":"(?x)\\b(?:result)(?:(?!(?:[0-9A-Za-z_])))"},"select":{"name":"keyword.query.select.ql","match":"(?x)\\b(?:select)(?:(?!(?:[0-9A-Za-z_])))"},"select-as-clause":{"match":"(?x)meta.block.select-as-clause.ql","begin":"(?x)((?:\\b(?:as)(?:(?!(?:[0-9A-Za-z_])))))","end":"(?x)(?\u003c=(?:[0-9A-Za-z_])(?:(?!(?:[0-9A-Za-z_]))))","patterns":[{"include":"#non-context-sensitive"},{"name":"variable.other.ql","match":"(?x)(?:\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_]))))"}],"beginCaptures":{"1":{"patterns":[{"include":"#as"}]}}},"select-clause":{"name":"meta.block.select-clause.ql","begin":"(?x)(?=(?:\\b(?:from)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:where)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:select)(?:(?!(?:[0-9A-Za-z_])))))","end":"(?x)(?!(?:\\b(?:from)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:where)(?:(?!(?:[0-9A-Za-z_]))))|(?:\\b(?:select)(?:(?!(?:[0-9A-Za-z_])))))","patterns":[{"include":"#from-section"},{"include":"#where-section"},{"include":"#select-section"}]},"select-section":{"name":"meta.block.select-section.ql","begin":"(?x)((?:\\b(?:select)(?:(?!(?:[0-9A-Za-z_])))))","end":"(?x)(?=\\n)","patterns":[{"include":"#predicate-body-contents"},{"include":"#select-as-clause"}],"beginCaptures":{"1":{"patterns":[{"include":"#select"}]}}},"semicolon":{"name":"punctuation.separator.statement.ql","match":"(?x);"},"simple-id":{"match":"(?x)\\b [A-Za-z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))"},"strictconcat":{"name":"keyword.aggregate.strictconcat.ql","match":"(?x)\\b(?:strictconcat)(?:(?!(?:[0-9A-Za-z_])))"},"strictcount":{"name":"keyword.aggregate.strictcount.ql","match":"(?x)\\b(?:strictcount)(?:(?!(?:[0-9A-Za-z_])))"},"strictsum":{"name":"keyword.aggregate.strictsum.ql","match":"(?x)\\b(?:strictsum)(?:(?!(?:[0-9A-Za-z_])))"},"string":{"name":"keyword.type.string.ql","match":"(?x)\\b(?:string)(?:(?!(?:[0-9A-Za-z_])))"},"string-escape":{"name":"constant.character.escape.ql","match":"(?x)\\\\[\"\\\\nrt]"},"string-literal":{"name":"string.quoted.double.ql","begin":"(?x)\"","end":"(?x)(\") | ((?:[^\\\\\\n])$)","patterns":[{"include":"#string-escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ql"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.ql"},"2":{"name":"invalid.illegal.newline.ql"}}},"sum":{"name":"keyword.aggregate.sum.ql","match":"(?x)\\b(?:sum)(?:(?!(?:[0-9A-Za-z_])))"},"super":{"name":"variable.language.super.ql","match":"(?x)\\b(?:super)(?:(?!(?:[0-9A-Za-z_])))"},"then":{"name":"keyword.other.then.ql","match":"(?x)\\b(?:then)(?:(?!(?:[0-9A-Za-z_])))"},"this":{"name":"variable.language.this.ql","match":"(?x)\\b(?:this)(?:(?!(?:[0-9A-Za-z_])))"},"transient":{"name":"storage.modifier.transient.ql","match":"(?x)\\b(?:transient)(?:(?!(?:[0-9A-Za-z_])))"},"true":{"name":"constant.language.boolean.true.ql","match":"(?x)\\b(?:true)(?:(?!(?:[0-9A-Za-z_])))"},"upper-id":{"match":"(?x)\\b [A-Z][0-9A-Za-z_]* (?:(?!(?:[0-9A-Za-z_])))"},"where":{"name":"keyword.query.where.ql","match":"(?x)\\b(?:where)(?:(?!(?:[0-9A-Za-z_])))"},"where-section":{"name":"meta.block.where-section.ql","begin":"(?x)((?:\\b(?:where)(?:(?!(?:[0-9A-Za-z_])))))","end":"(?x)(?=(?:\\b(?:select)(?:(?!(?:[0-9A-Za-z_])))))","patterns":[{"include":"#predicate-body-contents"}],"beginCaptures":{"1":{"patterns":[{"include":"#where"}]}}}}}
|