github-linguist 7.11.0 → 7.13.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 +1123 -623
- data/ext/linguist/lex.linguist_yy.h +433 -66
- data/ext/linguist/linguist.c +5 -35
- data/ext/linguist/linguist.h +0 -18
- data/ext/linguist/tokenizer.l +83 -65
- 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.lean.codeblock.json +1 -0
- 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.abapcds.json +1 -0
- 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.boogie.json +1 -0
- 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 -245
- 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.json +1 -1897
- 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.nunjucks.json +1 -0
- 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.record-jar.json +1 -0
- 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.posix.json +1 -0
- 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.browserslist.json +1 -0
- data/grammars/text.cfml.basic.json +1 -735
- data/grammars/text.checksums.json +1 -0
- 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.nunjucks.json +1 -0
- 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/classifier.rb +28 -17
- data/lib/linguist/generated.rb +23 -3
- data/lib/linguist/generic.yml +18 -0
- data/lib/linguist/heuristics.yml +57 -22
- data/lib/linguist/language.rb +4 -2
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +142 -25
- data/lib/linguist/linguist.bundle +0 -0
- data/lib/linguist/samples.json +1 -1
- data/lib/linguist/samples.rb +4 -4
- data/lib/linguist/{md5.rb → sha256.rb} +3 -3
- data/lib/linguist/strategy/extension.rb +13 -5
- data/lib/linguist/vendor.yml +1 -1
- metadata +23 -10
- data/ext/linguist/strndup.c +0 -10
- data/grammars/source.js.css.json +0 -328
- data/grammars/source.js.jsx.json +0 -2488
- 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.jq.json
CHANGED
@@ -1,211 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "JSONiq",
|
3
|
-
"scopeName": "source.jq",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"begin": "^(?=xquery\\s+version\\s+)",
|
7
|
-
"end": "\\z",
|
8
|
-
"patterns": [
|
9
|
-
{
|
10
|
-
"include": "source.xq"
|
11
|
-
}
|
12
|
-
]
|
13
|
-
},
|
14
|
-
{
|
15
|
-
"name": "constant.jsoniq",
|
16
|
-
"begin": "\\(#",
|
17
|
-
"end": "#\\)"
|
18
|
-
},
|
19
|
-
{
|
20
|
-
"name": "comment.doc.jsoniq",
|
21
|
-
"begin": "\\(:~",
|
22
|
-
"end": ":\\)",
|
23
|
-
"patterns": [
|
24
|
-
{
|
25
|
-
"name": "constant.language.jsoniq",
|
26
|
-
"match": "@[a-zA-Z0-9_\\.\\-]+"
|
27
|
-
}
|
28
|
-
]
|
29
|
-
},
|
30
|
-
{
|
31
|
-
"include": "#XMLComment"
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"include": "#CDATA"
|
35
|
-
},
|
36
|
-
{
|
37
|
-
"include": "#PredefinedEntityRef"
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"include": "#CharRef"
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"name": "comment.jsoniq",
|
44
|
-
"begin": "\u003c\\?",
|
45
|
-
"end": "\\?\u003e"
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"name": "comment.jsoniq",
|
49
|
-
"begin": "\\(:",
|
50
|
-
"end": ":\\)"
|
51
|
-
},
|
52
|
-
{
|
53
|
-
"name": "string.jsoniq",
|
54
|
-
"begin": "\"",
|
55
|
-
"end": "\"",
|
56
|
-
"patterns": [
|
57
|
-
{
|
58
|
-
"name": "constant.character.escape.jsoniq",
|
59
|
-
"match": "(?x: # turn on extended mode\n \\\\ # a literal backslash\n (?: # ...followed by...\n [\"\\\\/bfnrt] # one of these characters\n | # ...or...\n u # a u\n [0-9a-fA-F]{4} # and four hex digits\n )\n )"
|
60
|
-
},
|
61
|
-
{
|
62
|
-
"name": "invalid.illegal.unrecognized-string-escape.jsoniq",
|
63
|
-
"match": "\\\\."
|
64
|
-
}
|
65
|
-
]
|
66
|
-
},
|
67
|
-
{
|
68
|
-
"name": "meta.declaration.annotation.jsoniq",
|
69
|
-
"match": "%([\\-_a-zA-Z0-9][\\-\\._a-zA-Z0-9]*:)?([\\-_a-zA-Z0-9][\\-\\._a-zA-Z0-9]*)"
|
70
|
-
},
|
71
|
-
{
|
72
|
-
"name": "support.type.jsoniq",
|
73
|
-
"match": "@(\\* | ([\\-_a-zA-Z0-9][\\-\\._a-zA-Z0-9]*:)?([\\-_a-zA-Z0-9][\\-\\._a-zA-Z0-9]*))"
|
74
|
-
},
|
75
|
-
{
|
76
|
-
"name": "meta.definition.variable.name.jsoniq",
|
77
|
-
"match": "\\$([\\-_a-zA-Z0-9][\\-\\._a-zA-Z0-9]*:)?([\\-_a-zA-Z0-9][\\-_a-zA-Z0-9]*)"
|
78
|
-
},
|
79
|
-
{
|
80
|
-
"name": "constant.numeric.jsoniq",
|
81
|
-
"match": "\\b(\\.[0-9]+|[0-9]+(\\.[0-9]*)?)[Ee][+#x002D]?[0-9]+\\b"
|
82
|
-
},
|
83
|
-
{
|
84
|
-
"name": "constant.numeric.jsoniq",
|
85
|
-
"match": "\\b(\\.[0-9]+|[0-9]+\\.[0-9]*)\\b"
|
86
|
-
},
|
87
|
-
{
|
88
|
-
"name": "constant.numeric.jsoniq",
|
89
|
-
"match": "\\b[0-9]+\\b"
|
90
|
-
},
|
91
|
-
{
|
92
|
-
"name": "keyword.jsoniq",
|
93
|
-
"match": "\\b(NaN|after|allowing|ancestor|ancestor-or-self|and|append|array|as|ascending|at|attribute|base-uri|before|boundary-space|break|by|case|cast|castable|catch|child|collation|comment|constraint|construction|contains|context|continue|copy|copy-namespaces|count|decimal-format|decimal-separator|declare|default|delete|descendant|descendant-or-self|descending|digit|div|document|document-node|element|else|empty|empty-sequence|encoding|end|eq|every|except|exit|external|false|first|following|following-sibling|for|from|ft-option|function|ge|greatest|group|grouping-separator|gt|idiv|if|import|in|index|infinity|insert|instance|integrity|intersect|into|is|item|json|json-item|jsoniq|last|lax|le|least|let|loop|lt|minus-sign|mod|modify|module|namespace|namespace-node|ne|next|node|nodes|not|null|object|of|only|option|or|order|ordered|ordering|paragraphs|parent|pattern-separator|per-mille|percent|preceding|preceding-sibling|previous|processing-instruction|rename|replace|return|returning|revalidation|satisfies|schema|schema-attribute|schema-element|score|select|self|sentences|sliding|some|stable|start|strict|switch|text|then|times|to|treat|true|try|tumbling|type|typeswitch|union|unordered|updating|validate|value|variable|version|when|where|while|window|with|words|xquery|zero-digit)(?!(:|\\-))\\b"
|
94
|
-
},
|
95
|
-
{
|
96
|
-
"name": "support.function.jsoniq",
|
97
|
-
"match": "([\\-_a-zA-Z0-9][\\-\\._a-zA-Z0-9]*:)?([\\-_a-zA-Z0-9][\\-_a-zA-Z0-9]*)(?=\\s*\\()"
|
98
|
-
},
|
99
|
-
{
|
100
|
-
"name": "lparen.jsoniq",
|
101
|
-
"match": "\\("
|
102
|
-
},
|
103
|
-
{
|
104
|
-
"name": "rparent.jsoniq",
|
105
|
-
"match": "\\)"
|
106
|
-
},
|
107
|
-
{
|
108
|
-
"include": "#OpenTag"
|
109
|
-
},
|
110
|
-
{
|
111
|
-
"include": "#CloseTag"
|
112
|
-
}
|
113
|
-
],
|
114
|
-
"repository": {
|
115
|
-
"CDATA": {
|
116
|
-
"name": "constant.language.jsoniq",
|
117
|
-
"begin": "\u003c!\\[CDATA\\[",
|
118
|
-
"end": "\\]\\]\u003e"
|
119
|
-
},
|
120
|
-
"CharRef": {
|
121
|
-
"name": "constant.language.escape.jsoniq",
|
122
|
-
"match": "\u0026#([0-9]+|x[0-9A-Fa-f]+);"
|
123
|
-
},
|
124
|
-
"CloseTag": {
|
125
|
-
"name": "punctuation.definition.tag.jsoniq",
|
126
|
-
"match": "\u003c\\/([\\-_a-zA-Z0-9][\\-\\._a-zA-Z0-9]*:)?([\\-_a-zA-Z0-9][\\-_a-zA-Z0-9]*)\\s*\u003e"
|
127
|
-
},
|
128
|
-
"EnclosedExpr": {
|
129
|
-
"name": "source.jq",
|
130
|
-
"begin": "{",
|
131
|
-
"end": "}",
|
132
|
-
"patterns": [
|
133
|
-
{
|
134
|
-
"include": "$self"
|
135
|
-
}
|
136
|
-
]
|
137
|
-
},
|
138
|
-
"OpenTag": {
|
139
|
-
"name": "punctuation.definition.tag.jsoniq",
|
140
|
-
"begin": "\u003c([\\-_a-zA-Z0-9][\\-\\._a-zA-Z0-9]*:)?([\\-_a-zA-Z0-9][\\-_a-zA-Z0-9]*)",
|
141
|
-
"end": "(\\/\u003e|\u003e)",
|
142
|
-
"patterns": [
|
143
|
-
{
|
144
|
-
"name": "entity.other.attribute-name.jsoniq",
|
145
|
-
"match": "([\\-_a-zA-Z0-9][\\-\\._a-zA-Z0-9]*:)?([\\-_a-zA-Z0-9][\\-_a-zA-Z0-9]*)"
|
146
|
-
},
|
147
|
-
{
|
148
|
-
"name": "source.jq",
|
149
|
-
"match": "="
|
150
|
-
},
|
151
|
-
{
|
152
|
-
"name": "string.jsoniq",
|
153
|
-
"begin": "'",
|
154
|
-
"end": "'(?!')",
|
155
|
-
"patterns": [
|
156
|
-
{
|
157
|
-
"name": "constant.jsoniq",
|
158
|
-
"match": "''"
|
159
|
-
},
|
160
|
-
{
|
161
|
-
"include": "#PredefinedEntityRef"
|
162
|
-
},
|
163
|
-
{
|
164
|
-
"include": "#CharRef"
|
165
|
-
},
|
166
|
-
{
|
167
|
-
"name": "constant.jsoniq",
|
168
|
-
"match": "({{|}})"
|
169
|
-
},
|
170
|
-
{
|
171
|
-
"include": "#EnclosedExpr"
|
172
|
-
}
|
173
|
-
]
|
174
|
-
},
|
175
|
-
{
|
176
|
-
"name": "string.jsoniq",
|
177
|
-
"begin": "\"",
|
178
|
-
"end": "\"(?!\")",
|
179
|
-
"patterns": [
|
180
|
-
{
|
181
|
-
"name": "constant.jsoniq",
|
182
|
-
"match": "\"\""
|
183
|
-
},
|
184
|
-
{
|
185
|
-
"include": "#PredefinedEntityRef"
|
186
|
-
},
|
187
|
-
{
|
188
|
-
"include": "#CharRef"
|
189
|
-
},
|
190
|
-
{
|
191
|
-
"name": "string.jsoniq",
|
192
|
-
"match": "({{|}})"
|
193
|
-
},
|
194
|
-
{
|
195
|
-
"include": "#EnclosedExpr"
|
196
|
-
}
|
197
|
-
]
|
198
|
-
}
|
199
|
-
]
|
200
|
-
},
|
201
|
-
"PredefinedEntityRef": {
|
202
|
-
"name": "constant.language.escape.jsoniq",
|
203
|
-
"match": "\u0026(lt|gt|amp|quot|apos);"
|
204
|
-
},
|
205
|
-
"XMLComment": {
|
206
|
-
"name": "comment.jsoniq",
|
207
|
-
"begin": "\u003c!--",
|
208
|
-
"end": "--\u003e"
|
209
|
-
}
|
210
|
-
}
|
211
|
-
}
|
1
|
+
{"name":"JSONiq","scopeName":"source.jq","patterns":[{"begin":"^(?=xquery\\s+version\\s+)","end":"\\z","patterns":[{"include":"source.xq"}]},{"name":"constant.jsoniq","begin":"\\(#","end":"#\\)"},{"name":"comment.doc.jsoniq","begin":"\\(:~","end":":\\)","patterns":[{"name":"constant.language.jsoniq","match":"@[a-zA-Z0-9_\\.\\-]+"}]},{"include":"#XMLComment"},{"include":"#CDATA"},{"include":"#PredefinedEntityRef"},{"include":"#CharRef"},{"name":"comment.jsoniq","begin":"\u003c\\?","end":"\\?\u003e"},{"name":"comment.jsoniq","begin":"\\(:","end":":\\)"},{"name":"string.jsoniq","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.jsoniq","match":"(?x: # turn on extended mode\n \\\\ # a literal backslash\n (?: # ...followed by...\n [\"\\\\/bfnrt] # one of these characters\n | # ...or...\n u # a u\n [0-9a-fA-F]{4} # and four hex digits\n )\n )"},{"name":"invalid.illegal.unrecognized-string-escape.jsoniq","match":"\\\\."}]},{"name":"meta.declaration.annotation.jsoniq","match":"%([\\-_a-zA-Z0-9][\\-\\._a-zA-Z0-9]*:)?([\\-_a-zA-Z0-9][\\-\\._a-zA-Z0-9]*)"},{"name":"support.type.jsoniq","match":"@(\\* | ([\\-_a-zA-Z0-9][\\-\\._a-zA-Z0-9]*:)?([\\-_a-zA-Z0-9][\\-\\._a-zA-Z0-9]*))"},{"name":"meta.definition.variable.name.jsoniq","match":"\\$([\\-_a-zA-Z0-9][\\-\\._a-zA-Z0-9]*:)?([\\-_a-zA-Z0-9][\\-_a-zA-Z0-9]*)"},{"name":"constant.numeric.jsoniq","match":"\\b(\\.[0-9]+|[0-9]+(\\.[0-9]*)?)[Ee][+#x002D]?[0-9]+\\b"},{"name":"constant.numeric.jsoniq","match":"\\b(\\.[0-9]+|[0-9]+\\.[0-9]*)\\b"},{"name":"constant.numeric.jsoniq","match":"\\b[0-9]+\\b"},{"name":"keyword.jsoniq","match":"\\b(NaN|after|allowing|ancestor|ancestor-or-self|and|append|array|as|ascending|at|attribute|base-uri|before|boundary-space|break|by|case|cast|castable|catch|child|collation|comment|constraint|construction|contains|context|continue|copy|copy-namespaces|count|decimal-format|decimal-separator|declare|default|delete|descendant|descendant-or-self|descending|digit|div|document|document-node|element|else|empty|empty-sequence|encoding|end|eq|every|except|exit|external|false|first|following|following-sibling|for|from|ft-option|function|ge|greatest|group|grouping-separator|gt|idiv|if|import|in|index|infinity|insert|instance|integrity|intersect|into|is|item|json|json-item|jsoniq|last|lax|le|least|let|loop|lt|minus-sign|mod|modify|module|namespace|namespace-node|ne|next|node|nodes|not|null|object|of|only|option|or|order|ordered|ordering|paragraphs|parent|pattern-separator|per-mille|percent|preceding|preceding-sibling|previous|processing-instruction|rename|replace|return|returning|revalidation|satisfies|schema|schema-attribute|schema-element|score|select|self|sentences|sliding|some|stable|start|strict|switch|text|then|times|to|treat|true|try|tumbling|type|typeswitch|union|unordered|updating|validate|value|variable|version|when|where|while|window|with|words|xquery|zero-digit)(?!(:|\\-))\\b"},{"name":"support.function.jsoniq","match":"([\\-_a-zA-Z0-9][\\-\\._a-zA-Z0-9]*:)?([\\-_a-zA-Z0-9][\\-_a-zA-Z0-9]*)(?=\\s*\\()"},{"name":"lparen.jsoniq","match":"\\("},{"name":"rparent.jsoniq","match":"\\)"},{"include":"#OpenTag"},{"include":"#CloseTag"}],"repository":{"CDATA":{"name":"constant.language.jsoniq","begin":"\u003c!\\[CDATA\\[","end":"\\]\\]\u003e"},"CharRef":{"name":"constant.language.escape.jsoniq","match":"\u0026#([0-9]+|x[0-9A-Fa-f]+);"},"CloseTag":{"name":"punctuation.definition.tag.jsoniq","match":"\u003c\\/([\\-_a-zA-Z0-9][\\-\\._a-zA-Z0-9]*:)?([\\-_a-zA-Z0-9][\\-_a-zA-Z0-9]*)\\s*\u003e"},"EnclosedExpr":{"name":"source.jq","begin":"{","end":"}","patterns":[{"include":"$self"}]},"OpenTag":{"name":"punctuation.definition.tag.jsoniq","begin":"\u003c([\\-_a-zA-Z0-9][\\-\\._a-zA-Z0-9]*:)?([\\-_a-zA-Z0-9][\\-_a-zA-Z0-9]*)","end":"(\\/\u003e|\u003e)","patterns":[{"name":"entity.other.attribute-name.jsoniq","match":"([\\-_a-zA-Z0-9][\\-\\._a-zA-Z0-9]*:)?([\\-_a-zA-Z0-9][\\-_a-zA-Z0-9]*)"},{"name":"source.jq","match":"="},{"name":"string.jsoniq","begin":"'","end":"'(?!')","patterns":[{"name":"constant.jsoniq","match":"''"},{"include":"#PredefinedEntityRef"},{"include":"#CharRef"},{"name":"constant.jsoniq","match":"({{|}})"},{"include":"#EnclosedExpr"}]},{"name":"string.jsoniq","begin":"\"","end":"\"(?!\")","patterns":[{"name":"constant.jsoniq","match":"\"\""},{"include":"#PredefinedEntityRef"},{"include":"#CharRef"},{"name":"string.jsoniq","match":"({{|}})"},{"include":"#EnclosedExpr"}]}]},"PredefinedEntityRef":{"name":"constant.language.escape.jsoniq","match":"\u0026(lt|gt|amp|quot|apos);"},"XMLComment":{"name":"comment.jsoniq","begin":"\u003c!--","end":"--\u003e"}}}
|
data/grammars/source.js.json
CHANGED
@@ -1,1897 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "JavaScript",
|
3
|
-
"scopeName": "source.js",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"name": "meta.import.js",
|
7
|
-
"begin": "(?\u003c!\\.)\\b(import)(?!\\s*[:(])\\b",
|
8
|
-
"end": "(?=;|$)",
|
9
|
-
"patterns": [
|
10
|
-
{
|
11
|
-
"begin": "{",
|
12
|
-
"end": "}",
|
13
|
-
"patterns": [
|
14
|
-
{
|
15
|
-
"match": "(?x)\n(?: \\b(default)\\b | \\b([a-zA-Z_$][\\w$]*)\\b)\n\\s*\n(\\b as \\b)\n\\s*\n(?: (\\b default \\b | \\*) | \\b([a-zA-Z_$][\\w$]*)\\b)",
|
16
|
-
"captures": {
|
17
|
-
"1": {
|
18
|
-
"name": "variable.language.default.js"
|
19
|
-
},
|
20
|
-
"2": {
|
21
|
-
"name": "variable.other.module.js"
|
22
|
-
},
|
23
|
-
"3": {
|
24
|
-
"name": "keyword.control.js"
|
25
|
-
},
|
26
|
-
"4": {
|
27
|
-
"name": "invalid.illegal.js"
|
28
|
-
},
|
29
|
-
"5": {
|
30
|
-
"name": "variable.other.module-alias.js"
|
31
|
-
}
|
32
|
-
}
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"name": "meta.delimiter.object.comma.js",
|
36
|
-
"match": ","
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"include": "#comments"
|
40
|
-
},
|
41
|
-
{
|
42
|
-
"name": "variable.other.module.js",
|
43
|
-
"match": "\\b([a-zA-Z_$][\\w$]*)\\b"
|
44
|
-
}
|
45
|
-
],
|
46
|
-
"beginCaptures": {
|
47
|
-
"0": {
|
48
|
-
"name": "punctuation.definition.modules.begin.js"
|
49
|
-
}
|
50
|
-
},
|
51
|
-
"endCaptures": {
|
52
|
-
"0": {
|
53
|
-
"name": "punctuation.definition.modules.end.js"
|
54
|
-
}
|
55
|
-
}
|
56
|
-
},
|
57
|
-
{
|
58
|
-
"match": "(?x)\n(?: \\b(default)\\b | (\\*) | \\b([a-zA-Z_$][\\w$]*)\\b)\n\\s*\n(\\b as \\b)\n\\s*\n(?: (\\b default \\b | \\*) | \\b([a-zA-Z_$][\\w$]*)\\b)",
|
59
|
-
"captures": {
|
60
|
-
"1": {
|
61
|
-
"name": "variable.language.default.js"
|
62
|
-
},
|
63
|
-
"2": {
|
64
|
-
"name": "variable.language.import-all.js"
|
65
|
-
},
|
66
|
-
"3": {
|
67
|
-
"name": "variable.other.module.js"
|
68
|
-
},
|
69
|
-
"4": {
|
70
|
-
"name": "keyword.control.js"
|
71
|
-
},
|
72
|
-
"5": {
|
73
|
-
"name": "invalid.illegal.js"
|
74
|
-
},
|
75
|
-
"6": {
|
76
|
-
"name": "variable.other.module-alias.js"
|
77
|
-
}
|
78
|
-
}
|
79
|
-
},
|
80
|
-
{
|
81
|
-
"name": "variable.language.import-all.js",
|
82
|
-
"match": "\\*"
|
83
|
-
},
|
84
|
-
{
|
85
|
-
"name": "variable.language.default.js",
|
86
|
-
"match": "\\b(default)\\b"
|
87
|
-
},
|
88
|
-
{
|
89
|
-
"include": "#strings"
|
90
|
-
},
|
91
|
-
{
|
92
|
-
"include": "#comments"
|
93
|
-
},
|
94
|
-
{
|
95
|
-
"name": "keyword.control.js",
|
96
|
-
"match": "\\b(from)\\b"
|
97
|
-
},
|
98
|
-
{
|
99
|
-
"name": "variable.other.module.js",
|
100
|
-
"match": "\\b([a-zA-Z_$][\\w$]*)\\b(?=.*\\bfrom\\b)"
|
101
|
-
},
|
102
|
-
{
|
103
|
-
"name": "meta.delimiter.object.comma.js",
|
104
|
-
"match": ","
|
105
|
-
}
|
106
|
-
],
|
107
|
-
"beginCaptures": {
|
108
|
-
"1": {
|
109
|
-
"name": "keyword.control.js"
|
110
|
-
}
|
111
|
-
}
|
112
|
-
},
|
113
|
-
{
|
114
|
-
"match": "(?x)\n\\b(export)\\b\\s*\n\\b(default)\\b\\s*\n\\b((?!\\b(?:function|class|let|var|const)\\b)[a-zA-Z_$][\\w$]*)?\\b",
|
115
|
-
"captures": {
|
116
|
-
"0": {
|
117
|
-
"name": "meta.export.js"
|
118
|
-
},
|
119
|
-
"1": {
|
120
|
-
"name": "keyword.control.js"
|
121
|
-
},
|
122
|
-
"2": {
|
123
|
-
"name": "variable.language.default.js"
|
124
|
-
},
|
125
|
-
"3": {
|
126
|
-
"name": "variable.other.module.js"
|
127
|
-
}
|
128
|
-
}
|
129
|
-
},
|
130
|
-
{
|
131
|
-
"name": "meta.export.js",
|
132
|
-
"begin": "(?\u003c!\\.)\\b(export)(?!\\s*[:(])\\b",
|
133
|
-
"end": "(?=;|\\bfunction\\b|\\bclass\\b|\\blet\\b|\\bvar\\b|\\bconst\\b|$)",
|
134
|
-
"patterns": [
|
135
|
-
{
|
136
|
-
"include": "#numbers"
|
137
|
-
},
|
138
|
-
{
|
139
|
-
"begin": "(?![a-zA-Z_$0-9]){",
|
140
|
-
"end": "}",
|
141
|
-
"patterns": [
|
142
|
-
{
|
143
|
-
"match": "(?x)\n(?: \\b(default)\\b | \\b([a-zA-Z_$][\\w$]*)\\b)\n\\s*\n(\\b as \\b)\n\\s*\n(?: \\b(default)\\b | (\\*) | \\b([a-zA-Z_$][\\w$]*)\\b)",
|
144
|
-
"captures": {
|
145
|
-
"1": {
|
146
|
-
"name": "variable.language.default.js"
|
147
|
-
},
|
148
|
-
"2": {
|
149
|
-
"name": "variable.other.module.js"
|
150
|
-
},
|
151
|
-
"3": {
|
152
|
-
"name": "keyword.control.js"
|
153
|
-
},
|
154
|
-
"4": {
|
155
|
-
"name": "variable.language.default.js"
|
156
|
-
},
|
157
|
-
"5": {
|
158
|
-
"name": "invalid.illegal.js"
|
159
|
-
},
|
160
|
-
"6": {
|
161
|
-
"name": "variable.other.module-alias.js"
|
162
|
-
}
|
163
|
-
}
|
164
|
-
},
|
165
|
-
{
|
166
|
-
"include": "#comments"
|
167
|
-
},
|
168
|
-
{
|
169
|
-
"name": "meta.delimiter.object.comma.js",
|
170
|
-
"match": ","
|
171
|
-
},
|
172
|
-
{
|
173
|
-
"name": "variable.other.module.js",
|
174
|
-
"match": "\\b([a-zA-Z_$][\\w$]*)\\b"
|
175
|
-
}
|
176
|
-
],
|
177
|
-
"beginCaptures": {
|
178
|
-
"0": {
|
179
|
-
"name": "punctuation.definition.modules.begin.js"
|
180
|
-
}
|
181
|
-
},
|
182
|
-
"endCaptures": {
|
183
|
-
"0": {
|
184
|
-
"name": "punctuation.definition.modules.end.js"
|
185
|
-
}
|
186
|
-
}
|
187
|
-
},
|
188
|
-
{
|
189
|
-
"name": "variable.language.import-all.js",
|
190
|
-
"match": "\\*(?=.*\\bfrom\\b)"
|
191
|
-
},
|
192
|
-
{
|
193
|
-
"name": "variable.language.default.js",
|
194
|
-
"match": "\\b(default)\\b"
|
195
|
-
},
|
196
|
-
{
|
197
|
-
"include": "#strings"
|
198
|
-
},
|
199
|
-
{
|
200
|
-
"include": "#comments"
|
201
|
-
},
|
202
|
-
{
|
203
|
-
"name": "keyword.control.js",
|
204
|
-
"match": "\\b(from)\\b"
|
205
|
-
},
|
206
|
-
{
|
207
|
-
"name": "variable.other.module.js",
|
208
|
-
"match": "\\b([a-zA-Z_$][\\w$]*)\\b"
|
209
|
-
},
|
210
|
-
{
|
211
|
-
"name": "meta.delimiter.object.comma.js",
|
212
|
-
"match": ","
|
213
|
-
},
|
214
|
-
{
|
215
|
-
"include": "#operators"
|
216
|
-
}
|
217
|
-
],
|
218
|
-
"beginCaptures": {
|
219
|
-
"1": {
|
220
|
-
"name": "keyword.control.js"
|
221
|
-
}
|
222
|
-
}
|
223
|
-
},
|
224
|
-
{
|
225
|
-
"name": "variable.language.js",
|
226
|
-
"match": "(?:(?\u003c=\\.{3})|(?\u003c!\\.)\\b)(?\u003c!\\$)(super|this|arguments)(?!\\s*:|\\$)\\b"
|
227
|
-
},
|
228
|
-
{
|
229
|
-
"begin": "(?=(\\basync\\b\\s*)?\\bfunction\\b(?!\\s*:))",
|
230
|
-
"end": "(?\u003c=})",
|
231
|
-
"patterns": [
|
232
|
-
{
|
233
|
-
"include": "#comments"
|
234
|
-
},
|
235
|
-
{
|
236
|
-
"include": "#function_body"
|
237
|
-
},
|
238
|
-
{
|
239
|
-
"name": "meta.function.js",
|
240
|
-
"begin": "\\G",
|
241
|
-
"end": "(?\u003c=\\))",
|
242
|
-
"patterns": [
|
243
|
-
{
|
244
|
-
"include": "#function_innards"
|
245
|
-
}
|
246
|
-
]
|
247
|
-
}
|
248
|
-
]
|
249
|
-
},
|
250
|
-
{
|
251
|
-
"begin": "(?=(\\.)?[a-zA-Z_$][\\w$]*\\s*=\\s*(\\basync\\b\\s*)?\\bfunction\\b)",
|
252
|
-
"end": "(?\u003c=})",
|
253
|
-
"patterns": [
|
254
|
-
{
|
255
|
-
"include": "#comments"
|
256
|
-
},
|
257
|
-
{
|
258
|
-
"include": "#function_body"
|
259
|
-
},
|
260
|
-
{
|
261
|
-
"name": "meta.function.js",
|
262
|
-
"begin": "\\G",
|
263
|
-
"end": "(?!\\G)(?\u003c=\\))",
|
264
|
-
"patterns": [
|
265
|
-
{
|
266
|
-
"match": "(\\.)?([a-zA-Z_$][\\w$]*)\\s*(=)\\s*",
|
267
|
-
"captures": {
|
268
|
-
"1": {
|
269
|
-
"name": "meta.delimiter.method.period.js"
|
270
|
-
},
|
271
|
-
"2": {
|
272
|
-
"name": "entity.name.function.js"
|
273
|
-
},
|
274
|
-
"3": {
|
275
|
-
"name": "keyword.operator.assignment.js"
|
276
|
-
}
|
277
|
-
}
|
278
|
-
},
|
279
|
-
{
|
280
|
-
"include": "#function_innards"
|
281
|
-
}
|
282
|
-
]
|
283
|
-
}
|
284
|
-
]
|
285
|
-
},
|
286
|
-
{
|
287
|
-
"begin": "(?=\\b[a-zA-Z_$][\\w$]*\\s*:\\s*(\\basync\\b\\s*)?\\bfunction\\b)",
|
288
|
-
"end": "(?\u003c=})",
|
289
|
-
"patterns": [
|
290
|
-
{
|
291
|
-
"include": "#comments"
|
292
|
-
},
|
293
|
-
{
|
294
|
-
"include": "#function_body"
|
295
|
-
},
|
296
|
-
{
|
297
|
-
"name": "meta.function.json.js",
|
298
|
-
"begin": "\\G",
|
299
|
-
"end": "(?\u003c=\\))",
|
300
|
-
"patterns": [
|
301
|
-
{
|
302
|
-
"match": "\\b([a-zA-Z_$][\\w$]*)\\s*(:)\\s*",
|
303
|
-
"captures": {
|
304
|
-
"1": {
|
305
|
-
"name": "entity.name.function.js"
|
306
|
-
},
|
307
|
-
"2": {
|
308
|
-
"name": "keyword.operator.assignment.js"
|
309
|
-
}
|
310
|
-
}
|
311
|
-
},
|
312
|
-
{
|
313
|
-
"include": "#function_innards"
|
314
|
-
}
|
315
|
-
]
|
316
|
-
}
|
317
|
-
]
|
318
|
-
},
|
319
|
-
{
|
320
|
-
"begin": "(?=(('[^']*?')|(\"[^\"]*?\"))\\s*:\\s*(\\basync\\b\\s*)?\\bfunction\\b)",
|
321
|
-
"end": "(?\u003c=})",
|
322
|
-
"patterns": [
|
323
|
-
{
|
324
|
-
"include": "#comments"
|
325
|
-
},
|
326
|
-
{
|
327
|
-
"include": "#function_body"
|
328
|
-
},
|
329
|
-
{
|
330
|
-
"name": "meta.function.json.js",
|
331
|
-
"begin": "\\G",
|
332
|
-
"end": "(?\u003c=\\))",
|
333
|
-
"patterns": [
|
334
|
-
{
|
335
|
-
"match": "(?:((')([^']*?)('))|((\")([^\"]*?)(\")))\\s*(:)",
|
336
|
-
"captures": {
|
337
|
-
"1": {
|
338
|
-
"name": "string.quoted.single.js"
|
339
|
-
},
|
340
|
-
"2": {
|
341
|
-
"name": "punctuation.definition.string.begin.js"
|
342
|
-
},
|
343
|
-
"3": {
|
344
|
-
"name": "entity.name.function.js"
|
345
|
-
},
|
346
|
-
"4": {
|
347
|
-
"name": "punctuation.definition.string.end.js"
|
348
|
-
},
|
349
|
-
"5": {
|
350
|
-
"name": "string.quoted.double.js"
|
351
|
-
},
|
352
|
-
"6": {
|
353
|
-
"name": "punctuation.definition.string.begin.js"
|
354
|
-
},
|
355
|
-
"7": {
|
356
|
-
"name": "entity.name.function.js"
|
357
|
-
},
|
358
|
-
"8": {
|
359
|
-
"name": "punctuation.definition.string.end.js"
|
360
|
-
},
|
361
|
-
"9": {
|
362
|
-
"name": "keyword.operator.assignment.js"
|
363
|
-
}
|
364
|
-
}
|
365
|
-
},
|
366
|
-
{
|
367
|
-
"include": "#function_innards"
|
368
|
-
}
|
369
|
-
]
|
370
|
-
}
|
371
|
-
]
|
372
|
-
},
|
373
|
-
{
|
374
|
-
"begin": "(?=\\bconstructor\\b\\s*)",
|
375
|
-
"end": "(?\u003c=})",
|
376
|
-
"patterns": [
|
377
|
-
{
|
378
|
-
"include": "#comments"
|
379
|
-
},
|
380
|
-
{
|
381
|
-
"include": "#function_body"
|
382
|
-
},
|
383
|
-
{
|
384
|
-
"name": "meta.function.js",
|
385
|
-
"begin": "\\G",
|
386
|
-
"end": "(?\u003c=\\))",
|
387
|
-
"patterns": [
|
388
|
-
{
|
389
|
-
"name": "entity.name.function.constructor.js",
|
390
|
-
"match": "\\b(constructor)\\s*"
|
391
|
-
},
|
392
|
-
{
|
393
|
-
"include": "#function_innards"
|
394
|
-
}
|
395
|
-
]
|
396
|
-
}
|
397
|
-
]
|
398
|
-
},
|
399
|
-
{
|
400
|
-
"begin": "(?x)\n(?=\n (?!\n (break|case|catch|continue|do|else|finally|for|function|if|\n return|switch|throw|try|while|with)\n [\\s\\(]\n )\n (\n \\b(get|set) # Property getter/setter: get foo(){}\n (?:\\s+|(?=\\[)) # Followed by whitespace or square bracket\n )?+\n ( # Method name\n \\b[a-zA-Z_$][\\w$]* # Fixed name\n |\n \\[ # Computed property key\n [^\\[\\]]++ # Contains at least one non-brace character\n \\]\n )\n \\s*\\(\\s* # Start of arguments list\n (\n \"[^\"]*\" | # Double-quoted string\n '[^']*' | # Single-quoted string\n [^\"()'] # Any non-bracket or non-quote\n )*\n \\)\\s* # End of arguments\n { # Beginning of body\n)",
|
401
|
-
"end": "(?\u003c=})",
|
402
|
-
"patterns": [
|
403
|
-
{
|
404
|
-
"include": "#comments"
|
405
|
-
},
|
406
|
-
{
|
407
|
-
"include": "#function_body"
|
408
|
-
},
|
409
|
-
{
|
410
|
-
"name": "meta.function.method.definition.js",
|
411
|
-
"begin": "\\G",
|
412
|
-
"end": "(?\u003c=\\))",
|
413
|
-
"patterns": [
|
414
|
-
{
|
415
|
-
"name": "meta.computed-key.js",
|
416
|
-
"match": "(\\[)(.+)(\\])(?=\\s*\\()",
|
417
|
-
"captures": {
|
418
|
-
"1": {
|
419
|
-
"name": "punctuation.definition.computed-key.begin.bracket.square.js"
|
420
|
-
},
|
421
|
-
"2": {
|
422
|
-
"patterns": [
|
423
|
-
{
|
424
|
-
"include": "$self"
|
425
|
-
},
|
426
|
-
{
|
427
|
-
"name": "variable.parameter.property.js",
|
428
|
-
"match": "[a-zA-Z_$][\\w$]*"
|
429
|
-
}
|
430
|
-
]
|
431
|
-
},
|
432
|
-
"3": {
|
433
|
-
"name": "punctuation.definition.computed-key.end.bracket.square.js"
|
434
|
-
}
|
435
|
-
}
|
436
|
-
},
|
437
|
-
{
|
438
|
-
"name": "keyword.operator.$1ter.js",
|
439
|
-
"match": "\\b(get|set)(?=\\s*\\[.+\\]\\s*\\(|\\s+[^\\s\\[(]+\\s*\\()"
|
440
|
-
},
|
441
|
-
{
|
442
|
-
"name": "entity.name.function.js",
|
443
|
-
"match": "\\b([a-zA-Z_$][\\w$]*)"
|
444
|
-
},
|
445
|
-
{
|
446
|
-
"include": "#function_params"
|
447
|
-
}
|
448
|
-
]
|
449
|
-
}
|
450
|
-
]
|
451
|
-
},
|
452
|
-
{
|
453
|
-
"begin": "(?x)\n(?=\n (?\u003c![A-Za-z0-9])\n ((\\(([^\\(\\)]*)?\\))|[\\w$]+)\n \\s*=\u003e\n)",
|
454
|
-
"end": "(?x)\n(?\u003c=})|\n((?!\n \\s*{|\n \\G\\(|\n \\G[\\w$]+|\n \\s*/\\*|\\s*//\n)(?=\\s*\\S))",
|
455
|
-
"patterns": [
|
456
|
-
{
|
457
|
-
"include": "#comments"
|
458
|
-
},
|
459
|
-
{
|
460
|
-
"include": "#function_body"
|
461
|
-
},
|
462
|
-
{
|
463
|
-
"name": "meta.function.arrow.js",
|
464
|
-
"begin": "\\G",
|
465
|
-
"end": "(?\u003c=(=\u003e))",
|
466
|
-
"patterns": [
|
467
|
-
{
|
468
|
-
"include": "#arrow_function_innards"
|
469
|
-
}
|
470
|
-
]
|
471
|
-
}
|
472
|
-
]
|
473
|
-
},
|
474
|
-
{
|
475
|
-
"begin": "(?x)\n(?=\n (\\.)?[a-zA-Z_$][\\w$]*\n \\s*(=)\\s*\n ((\\(([^\\(\\)]*)?\\))|[\\w$]+)\n \\s*=\u003e\n)",
|
476
|
-
"end": "(?x)\n(?\u003c=})|\n((?!\n \\s*{|\n \\G(\\.)?[a-zA-Z_$][\\w$]*\\s*(=)\\s*\\(|\n \\G(\\.)?[a-zA-Z_$][\\w$]*\\s*(=)\\s*[\\w$]+|\n \\s*/\\*|\\s*//\n)(?=\\s*\\S))",
|
477
|
-
"patterns": [
|
478
|
-
{
|
479
|
-
"include": "#comments"
|
480
|
-
},
|
481
|
-
{
|
482
|
-
"include": "#function_body"
|
483
|
-
},
|
484
|
-
{
|
485
|
-
"name": "meta.function.arrow.js",
|
486
|
-
"begin": "\\G",
|
487
|
-
"end": "(?\u003c=(=\u003e))",
|
488
|
-
"patterns": [
|
489
|
-
{
|
490
|
-
"match": "\\G(\\.)?([a-zA-Z_$][\\w$]*)\\s*(=)",
|
491
|
-
"captures": {
|
492
|
-
"1": {
|
493
|
-
"name": "meta.delimiter.method.period.js"
|
494
|
-
},
|
495
|
-
"2": {
|
496
|
-
"name": "entity.name.function.js"
|
497
|
-
},
|
498
|
-
"3": {
|
499
|
-
"name": "keyword.operator.assignment.js"
|
500
|
-
}
|
501
|
-
}
|
502
|
-
},
|
503
|
-
{
|
504
|
-
"include": "#arrow_function_innards"
|
505
|
-
}
|
506
|
-
]
|
507
|
-
}
|
508
|
-
]
|
509
|
-
},
|
510
|
-
{
|
511
|
-
"begin": "(?x)\n(?=\n \\b[a-zA-Z_$][\\w$]*\n \\s*:\\s*\n ((\\(([^\\(\\)]*)?\\))|[\\w$]+)\n \\s*=\u003e\n)",
|
512
|
-
"end": "(?x)\n(?\u003c=})|\n((?!\n \\s*{|\n \\G[\\w$]+\\s*:|\n \\s*/\\*|\\s*//\n)(?=\\s*\\S))",
|
513
|
-
"patterns": [
|
514
|
-
{
|
515
|
-
"include": "#comments"
|
516
|
-
},
|
517
|
-
{
|
518
|
-
"include": "#function_body"
|
519
|
-
},
|
520
|
-
{
|
521
|
-
"name": "meta.function.arrow.json.js",
|
522
|
-
"begin": "\\G",
|
523
|
-
"end": "(?\u003c=(=\u003e))",
|
524
|
-
"patterns": [
|
525
|
-
{
|
526
|
-
"match": "\\b([a-zA-Z_$][\\w$]*)\\s*(:)\\s*",
|
527
|
-
"captures": {
|
528
|
-
"1": {
|
529
|
-
"name": "entity.name.function.js"
|
530
|
-
},
|
531
|
-
"2": {
|
532
|
-
"name": "keyword.operator.assignment.js"
|
533
|
-
}
|
534
|
-
}
|
535
|
-
},
|
536
|
-
{
|
537
|
-
"include": "#arrow_function_innards"
|
538
|
-
}
|
539
|
-
]
|
540
|
-
}
|
541
|
-
]
|
542
|
-
},
|
543
|
-
{
|
544
|
-
"begin": "(?x)\n(?=\n (('[^']*?')|(\"[^\"]*?\"))\n \\s*:\\s*\n ((\\(([^\\(\\)]*)?\\))|[\\w$]+)\n \\s*=\u003e\n)",
|
545
|
-
"end": "(?x)\n(?\u003c=})|\n((?!\n \\G(('[^']*?')|(\"[^\"]*?\"))|\n \\s*{|\n \\s*/\\*|\\s*//\n)(?=\\s*\\S))",
|
546
|
-
"patterns": [
|
547
|
-
{
|
548
|
-
"include": "#comments"
|
549
|
-
},
|
550
|
-
{
|
551
|
-
"include": "#function_body"
|
552
|
-
},
|
553
|
-
{
|
554
|
-
"name": "meta.function.arrow.json.js",
|
555
|
-
"begin": "\\G",
|
556
|
-
"end": "(?\u003c=(=\u003e))",
|
557
|
-
"patterns": [
|
558
|
-
{
|
559
|
-
"match": "(?:((')([^']*?)('))|((\")([^\"]*?)(\")))\\s*(:)",
|
560
|
-
"captures": {
|
561
|
-
"1": {
|
562
|
-
"name": "string.quoted.single.js"
|
563
|
-
},
|
564
|
-
"2": {
|
565
|
-
"name": "punctuation.definition.string.begin.js"
|
566
|
-
},
|
567
|
-
"3": {
|
568
|
-
"name": "entity.name.function.js"
|
569
|
-
},
|
570
|
-
"4": {
|
571
|
-
"name": "punctuation.definition.string.end.js"
|
572
|
-
},
|
573
|
-
"5": {
|
574
|
-
"name": "string.quoted.double.js"
|
575
|
-
},
|
576
|
-
"6": {
|
577
|
-
"name": "punctuation.definition.string.begin.js"
|
578
|
-
},
|
579
|
-
"7": {
|
580
|
-
"name": "entity.name.function.js"
|
581
|
-
},
|
582
|
-
"8": {
|
583
|
-
"name": "punctuation.definition.string.end.js"
|
584
|
-
},
|
585
|
-
"9": {
|
586
|
-
"name": "keyword.operator.assignment.js"
|
587
|
-
}
|
588
|
-
}
|
589
|
-
},
|
590
|
-
{
|
591
|
-
"include": "#arrow_function_innards"
|
592
|
-
}
|
593
|
-
]
|
594
|
-
}
|
595
|
-
]
|
596
|
-
},
|
597
|
-
{
|
598
|
-
"match": "(=\u003e)",
|
599
|
-
"captures": {
|
600
|
-
"0": {
|
601
|
-
"name": "meta.function.arrow.js"
|
602
|
-
},
|
603
|
-
"1": {
|
604
|
-
"name": "storage.type.function.arrow.js"
|
605
|
-
}
|
606
|
-
}
|
607
|
-
},
|
608
|
-
{
|
609
|
-
"name": "meta.class.js",
|
610
|
-
"match": "(?x)\n\\b(class)\n(?:\n (?:\\s+(extends)\\s+([a-zA-Z_$][\\w$]*))\n |\n (?:\n (?:\\s+([a-zA-Z_$][\\w$]*))\n (?:\\s+(extends)\\s+([a-zA-Z_$][\\w$]*))?\n )\n)",
|
611
|
-
"captures": {
|
612
|
-
"1": {
|
613
|
-
"name": "storage.type.class.js"
|
614
|
-
},
|
615
|
-
"2": {
|
616
|
-
"name": "storage.modifier.js"
|
617
|
-
},
|
618
|
-
"3": {
|
619
|
-
"name": "entity.other.inherited-class.js"
|
620
|
-
},
|
621
|
-
"4": {
|
622
|
-
"name": "entity.name.type.class.js"
|
623
|
-
},
|
624
|
-
"5": {
|
625
|
-
"name": "storage.modifier.js"
|
626
|
-
},
|
627
|
-
"6": {
|
628
|
-
"name": "entity.other.inherited-class.js"
|
629
|
-
}
|
630
|
-
}
|
631
|
-
},
|
632
|
-
{
|
633
|
-
"name": "meta.class.instance.constructor.js",
|
634
|
-
"match": "(new)\\s+([\\w$]+[\\w.$]*)",
|
635
|
-
"captures": {
|
636
|
-
"1": {
|
637
|
-
"name": "keyword.operator.new.js"
|
638
|
-
},
|
639
|
-
"2": {
|
640
|
-
"name": "entity.name.type.instance.js",
|
641
|
-
"patterns": [
|
642
|
-
{
|
643
|
-
"name": "meta.delimiter.property.period.js",
|
644
|
-
"match": "\\."
|
645
|
-
}
|
646
|
-
]
|
647
|
-
}
|
648
|
-
}
|
649
|
-
},
|
650
|
-
{
|
651
|
-
"begin": "(?\u003c![\\w$])console(?![\\w$]|\\s*:)",
|
652
|
-
"end": "(?x)\n(?\u003c=\\)) | (?=\n (?! (\\s*//)|(\\s*/\\*)|(\\s*(\\.)\\s*\n (assert|clear|debug|error|info|log|profile|profileEnd|time|timeEnd|warn)\n \\s*\\(\n )) \\s*\\S\n)",
|
653
|
-
"patterns": [
|
654
|
-
{
|
655
|
-
"include": "#comments"
|
656
|
-
},
|
657
|
-
{
|
658
|
-
"name": "meta.method-call.js",
|
659
|
-
"begin": "\\s*(\\.)\\s*(\\w+)\\s*(?=\\()",
|
660
|
-
"end": "(?\u003c=\\))",
|
661
|
-
"patterns": [
|
662
|
-
{
|
663
|
-
"include": "#arguments"
|
664
|
-
}
|
665
|
-
],
|
666
|
-
"beginCaptures": {
|
667
|
-
"1": {
|
668
|
-
"name": "meta.delimiter.method.period.js"
|
669
|
-
},
|
670
|
-
"2": {
|
671
|
-
"name": "support.function.console.js"
|
672
|
-
}
|
673
|
-
}
|
674
|
-
}
|
675
|
-
],
|
676
|
-
"beginCaptures": {
|
677
|
-
"0": {
|
678
|
-
"name": "entity.name.type.object.console.js"
|
679
|
-
}
|
680
|
-
}
|
681
|
-
},
|
682
|
-
{
|
683
|
-
"begin": "(?\u003c![\\w$])Math(?![\\w$]|\\s*:)",
|
684
|
-
"end": "(?x)\n(?\u003c=E|LN10|LN2|LOG10E|LOG2E|PI|SQRT1_2|SQRT2|\\)\n) | (?=\n (?! (\\s*//)|(\\s*/\\*)|(\\s*\\.\\s* (\n ((abs|acos|acosh|asin|asinh|atan|atan2|atanh|cbrt|ceil|clz32|cos|cosh|exp|\n expm1|floor|fround|hypot|imul|log|log10|log1p|log2|max|min|pow|random|\n round|sign|sin|sinh|sqrt|tan|tanh|trunc)\\s*\\(\n ) | (E|LN10|LN2|LOG10E|LOG2E|PI|SQRT1_2|SQRT2)(?!\\s*[\\w$(]))\n )) \\s*\\S\n)",
|
685
|
-
"patterns": [
|
686
|
-
{
|
687
|
-
"include": "#comments"
|
688
|
-
},
|
689
|
-
{
|
690
|
-
"name": "meta.method-call.js",
|
691
|
-
"begin": "\\s*(\\.)\\s*(\\w+)\\s*(?=\\()",
|
692
|
-
"end": "(?\u003c=\\))",
|
693
|
-
"patterns": [
|
694
|
-
{
|
695
|
-
"include": "#arguments"
|
696
|
-
}
|
697
|
-
],
|
698
|
-
"beginCaptures": {
|
699
|
-
"1": {
|
700
|
-
"name": "meta.delimiter.method.period.js"
|
701
|
-
},
|
702
|
-
"2": {
|
703
|
-
"name": "support.function.math.js"
|
704
|
-
}
|
705
|
-
}
|
706
|
-
},
|
707
|
-
{
|
708
|
-
"match": "\\s*(\\.)\\s*(\\w+)\\b",
|
709
|
-
"captures": {
|
710
|
-
"1": {
|
711
|
-
"name": "meta.delimiter.property.period.js"
|
712
|
-
},
|
713
|
-
"2": {
|
714
|
-
"name": "support.constant.property.math.js"
|
715
|
-
}
|
716
|
-
}
|
717
|
-
}
|
718
|
-
],
|
719
|
-
"beginCaptures": {
|
720
|
-
"0": {
|
721
|
-
"name": "support.class.math.js"
|
722
|
-
}
|
723
|
-
}
|
724
|
-
},
|
725
|
-
{
|
726
|
-
"begin": "(?\u003c![\\w$])Promise(?![\\w$]|\\s*:)",
|
727
|
-
"end": "(?x)\n(?\u003c=\\)) | (?=\n (?! (\\s*//)|(\\s*/\\*)|(\\s*\\.\\s*(all|race|reject|resolve)\\s*\\() )\\s*\\S\n)",
|
728
|
-
"patterns": [
|
729
|
-
{
|
730
|
-
"include": "#comments"
|
731
|
-
},
|
732
|
-
{
|
733
|
-
"name": "meta.method-call.js",
|
734
|
-
"begin": "\\s*(\\.)\\s*(\\w+)\\s*(?=\\()",
|
735
|
-
"end": "(?\u003c=\\))",
|
736
|
-
"patterns": [
|
737
|
-
{
|
738
|
-
"include": "#arguments"
|
739
|
-
}
|
740
|
-
],
|
741
|
-
"beginCaptures": {
|
742
|
-
"1": {
|
743
|
-
"name": "meta.delimiter.method.period.js"
|
744
|
-
},
|
745
|
-
"2": {
|
746
|
-
"name": "support.function.promise.js"
|
747
|
-
}
|
748
|
-
}
|
749
|
-
}
|
750
|
-
],
|
751
|
-
"beginCaptures": {
|
752
|
-
"0": {
|
753
|
-
"name": "support.class.promise.js"
|
754
|
-
}
|
755
|
-
}
|
756
|
-
},
|
757
|
-
{
|
758
|
-
"include": "#strings"
|
759
|
-
},
|
760
|
-
{
|
761
|
-
"include": "#comments"
|
762
|
-
},
|
763
|
-
{
|
764
|
-
"name": "comment.block.html.js",
|
765
|
-
"match": "(\u003c!--|--\u003e)",
|
766
|
-
"captures": {
|
767
|
-
"0": {
|
768
|
-
"name": "punctuation.definition.comment.html.js"
|
769
|
-
},
|
770
|
-
"2": {
|
771
|
-
"name": "punctuation.definition.comment.html.js"
|
772
|
-
}
|
773
|
-
}
|
774
|
-
},
|
775
|
-
{
|
776
|
-
"name": "storage.type.js",
|
777
|
-
"match": "(?\u003c!\\.)\\b(class|enum|function|interface)(?!\\s*:)\\b"
|
778
|
-
},
|
779
|
-
{
|
780
|
-
"name": "storage.modifier.js",
|
781
|
-
"match": "(?\u003c!\\.)\\b(async|export|extends|implements|private|protected|public|static)(?!\\s*:)\\b"
|
782
|
-
},
|
783
|
-
{
|
784
|
-
"name": "storage.type.var.js",
|
785
|
-
"match": "(?\u003c!\\.)\\b(let|var)(?!\\s*:)\\b"
|
786
|
-
},
|
787
|
-
{
|
788
|
-
"begin": "(?\u003c!\\.)\\b(const)(?!\\s*:)\\b",
|
789
|
-
"end": "(\\bof\\b|\\bin\\b)|(;)|(=)|(?\u003c![,{])\\n",
|
790
|
-
"patterns": [
|
791
|
-
{
|
792
|
-
"match": "([$_a-zA-Z][$_a-zA-Z0-9]*)\\s*(:)\\s*([$_a-zA-Z][$_a-zA-Z0-9]*)?",
|
793
|
-
"captures": {
|
794
|
-
"2": {
|
795
|
-
"name": "keyword.operator.assignment.js"
|
796
|
-
},
|
797
|
-
"3": {
|
798
|
-
"name": "constant.other.js"
|
799
|
-
}
|
800
|
-
}
|
801
|
-
},
|
802
|
-
{
|
803
|
-
"match": "([$_a-zA-Z][$_a-zA-Z0-9]*)",
|
804
|
-
"captures": {
|
805
|
-
"1": {
|
806
|
-
"name": "constant.other.js"
|
807
|
-
}
|
808
|
-
}
|
809
|
-
},
|
810
|
-
{
|
811
|
-
"name": "keyword.operator.spread.js",
|
812
|
-
"match": "\\.\\.\\."
|
813
|
-
},
|
814
|
-
{
|
815
|
-
"name": "meta.delimiter.object.comma.js",
|
816
|
-
"match": ","
|
817
|
-
},
|
818
|
-
{
|
819
|
-
"name": "meta.brace.round.js",
|
820
|
-
"match": "\\(|\\)"
|
821
|
-
},
|
822
|
-
{
|
823
|
-
"name": "meta.brace.curly.js",
|
824
|
-
"match": "{|}"
|
825
|
-
},
|
826
|
-
{
|
827
|
-
"name": "meta.brace.square.js",
|
828
|
-
"match": "\\[|\\]"
|
829
|
-
},
|
830
|
-
{
|
831
|
-
"include": "#comments"
|
832
|
-
}
|
833
|
-
],
|
834
|
-
"beginCaptures": {
|
835
|
-
"1": {
|
836
|
-
"name": "storage.type.const.js"
|
837
|
-
}
|
838
|
-
},
|
839
|
-
"endCaptures": {
|
840
|
-
"1": {
|
841
|
-
"name": "keyword.operator.$1.js"
|
842
|
-
},
|
843
|
-
"2": {
|
844
|
-
"name": "punctuation.terminator.statement.js"
|
845
|
-
},
|
846
|
-
"3": {
|
847
|
-
"name": "keyword.operator.assignment.js"
|
848
|
-
}
|
849
|
-
}
|
850
|
-
},
|
851
|
-
{
|
852
|
-
"name": "meta.control.yield.js",
|
853
|
-
"match": "(?\u003c!\\.)\\b(yield)(?!\\s*:)\\b(?:\\s*(\\*))?",
|
854
|
-
"captures": {
|
855
|
-
"1": {
|
856
|
-
"name": "keyword.control.js"
|
857
|
-
},
|
858
|
-
"2": {
|
859
|
-
"name": "storage.modifier.js"
|
860
|
-
}
|
861
|
-
}
|
862
|
-
},
|
863
|
-
{
|
864
|
-
"name": "keyword.control.js",
|
865
|
-
"match": "(?:(?\u003c=\\.{3})|(?\u003c!\\.))\\b(await)(?!\\s*:)\\b"
|
866
|
-
},
|
867
|
-
{
|
868
|
-
"name": "keyword.control.js",
|
869
|
-
"match": "(?\u003c!\\.)\\b(break|catch|continue|do|else|finally|for|if|import|package|return|throw|try|while|with)(?!\\s*:)\\b"
|
870
|
-
},
|
871
|
-
{
|
872
|
-
"include": "#switch_statement"
|
873
|
-
},
|
874
|
-
{
|
875
|
-
"name": "keyword.operator.$1.js",
|
876
|
-
"match": "(?\u003c!\\.)\\b(delete|in|of|instanceof|new|typeof|void)(?!\\s*:)\\b"
|
877
|
-
},
|
878
|
-
{
|
879
|
-
"name": "keyword.operator.spread.js",
|
880
|
-
"match": "\\.\\.\\."
|
881
|
-
},
|
882
|
-
{
|
883
|
-
"name": "constant.language.boolean.$1.js",
|
884
|
-
"match": "(?\u003c!\\.)\\b(true|false)(?!\\s*:)\\b"
|
885
|
-
},
|
886
|
-
{
|
887
|
-
"name": "constant.language.null.js",
|
888
|
-
"match": "(?\u003c!\\.)\\b(null)(?!\\s*:)\\b"
|
889
|
-
},
|
890
|
-
{
|
891
|
-
"name": "keyword.other.debugger.js",
|
892
|
-
"match": "(?\u003c!\\.)\\b(debugger)(?!\\s*:)\\b"
|
893
|
-
},
|
894
|
-
{
|
895
|
-
"name": "support.class.js",
|
896
|
-
"match": "(?x) (?\u003c!\\$) \\b\n(Array|ArrayBuffer|Atomics|Boolean|DataView|Date|Error|EvalError|Float32Array|Float64Array|Function|Generator\n|GeneratorFunction|Int16Array|Int32Array|Int8Array|InternalError|Intl|JSON|Map|Number|Object|Proxy\n|RangeError|ReferenceError|Reflect|RegExp|Set|SharedArrayBuffer|SIMD|String|Symbol|SyntaxError|TypeError\n|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|URIError|WeakMap|WeakSet)\n\\b"
|
897
|
-
},
|
898
|
-
{
|
899
|
-
"match": "(?x) (\\.) \\s* (?:\n (constructor|length|prototype) |\n (EPSILON|MAX_SAFE_INTEGER|MAX_VALUE|MIN_SAFE_INTEGER|MIN_VALUE|NEGATIVE_INFINITY|POSITIVE_INFINITY)\n)\\b",
|
900
|
-
"captures": {
|
901
|
-
"1": {
|
902
|
-
"name": "meta.delimiter.property.period.js"
|
903
|
-
},
|
904
|
-
"2": {
|
905
|
-
"name": "support.variable.property.js"
|
906
|
-
},
|
907
|
-
"3": {
|
908
|
-
"name": "support.constant.js"
|
909
|
-
}
|
910
|
-
}
|
911
|
-
},
|
912
|
-
{
|
913
|
-
"match": "(?x) (?\u003c!\\$) \\b (?:\n (document|event|navigator|performance|screen|window)\n |\n (AnalyserNode|ArrayBufferView|Attr|AudioBuffer|AudioBufferSourceNode|AudioContext|AudioDestinationNode|AudioListener\n |AudioNode|AudioParam|BatteryManager|BeforeUnloadEvent|BiquadFilterNode|Blob|BufferSource|ByteString|CSS|CSSConditionRule\n |CSSCounterStyleRule|CSSGroupingRule|CSSMatrix|CSSMediaRule|CSSPageRule|CSSPrimitiveValue|CSSRule|CSSRuleList|CSSStyleDeclaration\n |CSSStyleRule|CSSStyleSheet|CSSSupportsRule|CSSValue|CSSValueList|CanvasGradient|CanvasImageSource|CanvasPattern\n |CanvasRenderingContext2D|ChannelMergerNode|ChannelSplitterNode|CharacterData|ChromeWorker|CloseEvent|Comment|CompositionEvent\n |Console|ConvolverNode|Coordinates|Credential|CredentialsContainer|Crypto|CryptoKey|CustomEvent|DOMError|DOMException\n |DOMHighResTimeStamp|DOMImplementation|DOMString|DOMStringList|DOMStringMap|DOMTimeStamp|DOMTokenList|DataTransfer\n |DataTransferItem|DataTransferItemList|DedicatedWorkerGlobalScope|DelayNode|DeviceProximityEvent|DirectoryEntry\n |DirectoryEntrySync|DirectoryReader|DirectoryReaderSync|Document|DocumentFragment|DocumentTouch|DocumentType|DragEvent\n |DynamicsCompressorNode|Element|Entry|EntrySync|ErrorEvent|Event|EventListener|EventSource|EventTarget|FederatedCredential\n |FetchEvent|File|FileEntry|FileEntrySync|FileException|FileList|FileReader|FileReaderSync|FileSystem|FileSystemSync\n |FontFace|FormData|GainNode|Gamepad|GamepadButton|GamepadEvent|Geolocation|GlobalEventHandlers|HTMLAnchorElement\n |HTMLAreaElement|HTMLAudioElement|HTMLBRElement|HTMLBaseElement|HTMLBodyElement|HTMLButtonElement|HTMLCanvasElement\n |HTMLCollection|HTMLContentElement|HTMLDListElement|HTMLDataElement|HTMLDataListElement|HTMLDialogElement|HTMLDivElement\n |HTMLDocument|HTMLElement|HTMLEmbedElement|HTMLFieldSetElement|HTMLFontElement|HTMLFormControlsCollection|HTMLFormElement\n |HTMLHRElement|HTMLHeadElement|HTMLHeadingElement|HTMLHtmlElement|HTMLIFrameElement|HTMLImageElement|HTMLInputElement\n |HTMLKeygenElement|HTMLLIElement|HTMLLabelElement|HTMLLegendElement|HTMLLinkElement|HTMLMapElement|HTMLMediaElement\n |HTMLMetaElement|HTMLMeterElement|HTMLModElement|HTMLOListElement|HTMLObjectElement|HTMLOptGroupElement|HTMLOptionElement\n |HTMLOptionsCollection|HTMLOutputElement|HTMLParagraphElement|HTMLParamElement|HTMLPreElement|HTMLProgressElement\n |HTMLQuoteElement|HTMLScriptElement|HTMLSelectElement|HTMLShadowElement|HTMLSourceElement|HTMLSpanElement|HTMLStyleElement\n |HTMLTableCaptionElement|HTMLTableCellElement|HTMLTableColElement|HTMLTableDataCellElement|HTMLTableElement|HTMLTableHeaderCellElement\n |HTMLTableRowElement|HTMLTableSectionElement|HTMLTextAreaElement|HTMLTimeElement|HTMLTitleElement|HTMLTrackElement\n |HTMLUListElement|HTMLUnknownElement|HTMLVideoElement|HashChangeEvent|History|IDBCursor|IDBCursorWithValue|IDBDatabase\n |IDBEnvironment|IDBFactory|IDBIndex|IDBKeyRange|IDBMutableFile|IDBObjectStore|IDBOpenDBRequest|IDBRequest|IDBTransaction\n |IDBVersionChangeEvent|IIRFilterNode|IdentityManager|ImageBitmap|ImageBitmapFactories|ImageData|Index|InputDeviceCapabilities\n |InputEvent|InstallEvent|InstallTrigger|KeyboardEvent|LinkStyle|LocalFileSystem|LocalFileSystemSync|Location|MIDIAccess\n |MIDIConnectionEvent|MIDIInput|MIDIInputMap|MIDIOutputMap|MediaElementAudioSourceNode|MediaError|MediaKeyMessageEvent\n |MediaKeySession|MediaKeyStatusMap|MediaKeySystemAccess|MediaKeySystemConfiguration|MediaKeys|MediaRecorder|MediaStream\n |MediaStreamAudioDestinationNode|MediaStreamAudioSourceNode|MessageChannel|MessageEvent|MessagePort|MouseEvent\n |MutationObserver|MutationRecord|NamedNodeMap|Navigator|NavigatorConcurrentHardware|NavigatorGeolocation|NavigatorID\n |NavigatorLanguage|NavigatorOnLine|Node|NodeFilter|NodeIterator|NodeList|NonDocumentTypeChildNode|Notification\n |OfflineAudioCompletionEvent|OfflineAudioContext|OscillatorNode|PageTransitionEvent|PannerNode|ParentNode|PasswordCredential\n |Path2D|PaymentAddress|PaymentRequest|PaymentResponse|Performance|PerformanceEntry|PerformanceFrameTiming|PerformanceMark\n |PerformanceMeasure|PerformanceNavigation|PerformanceNavigationTiming|PerformanceObserver|PerformanceObserverEntryList\n |PerformanceResourceTiming|PerformanceTiming|PeriodicSyncEvent|PeriodicWave|Plugin|Point|PointerEvent|PopStateEvent\n |PortCollection|Position|PositionError|PositionOptions|PresentationConnectionClosedEvent|PresentationConnectionList\n |PresentationReceiver|ProcessingInstruction|ProgressEvent|PromiseRejectionEvent|PushEvent|PushRegistrationManager\n |RTCCertificate|RTCConfiguration|RTCPeerConnection|RTCSessionDescriptionCallback|RTCStatsReport|RadioNodeList|RandomSource\n |Range|ReadableByteStream|RenderingContext|SVGAElement|SVGAngle|SVGAnimateColorElement|SVGAnimateElement|SVGAnimateMotionElement\n |SVGAnimateTransformElement|SVGAnimatedAngle|SVGAnimatedBoolean|SVGAnimatedEnumeration|SVGAnimatedInteger|SVGAnimatedLength\n |SVGAnimatedLengthList|SVGAnimatedNumber|SVGAnimatedNumberList|SVGAnimatedPoints|SVGAnimatedPreserveAspectRatio\n |SVGAnimatedRect|SVGAnimatedString|SVGAnimatedTransformList|SVGAnimationElement|SVGCircleElement|SVGClipPathElement\n |SVGCursorElement|SVGDefsElement|SVGDescElement|SVGElement|SVGEllipseElement|SVGEvent|SVGFilterElement|SVGFontElement\n |SVGFontFaceElement|SVGFontFaceFormatElement|SVGFontFaceNameElement|SVGFontFaceSrcElement|SVGFontFaceUriElement\n |SVGForeignObjectElement|SVGGElement|SVGGlyphElement|SVGGradientElement|SVGHKernElement|SVGImageElement|SVGLength\n |SVGLengthList|SVGLineElement|SVGLinearGradientElement|SVGMPathElement|SVGMaskElement|SVGMatrix|SVGMissingGlyphElement\n |SVGNumber|SVGNumberList|SVGPathElement|SVGPatternElement|SVGPoint|SVGPolygonElement|SVGPolylineElement|SVGPreserveAspectRatio\n |SVGRadialGradientElement|SVGRect|SVGRectElement|SVGSVGElement|SVGScriptElement|SVGSetElement|SVGStopElement|SVGStringList\n |SVGStylable|SVGStyleElement|SVGSwitchElement|SVGSymbolElement|SVGTRefElement|SVGTSpanElement|SVGTests|SVGTextElement\n |SVGTextPositioningElement|SVGTitleElement|SVGTransform|SVGTransformList|SVGTransformable|SVGUseElement|SVGVKernElement\n |SVGViewElement|ServiceWorker|ServiceWorkerContainer|ServiceWorkerGlobalScope|ServiceWorkerRegistration|ServiceWorkerState\n |ShadowRoot|SharedWorker|SharedWorkerGlobalScope|SourceBufferList|StereoPannerNode|Storage|StorageEvent|StyleSheet\n |StyleSheetList|SubtleCrypto|SyncEvent|Text|TextMetrics|TimeEvent|TimeRanges|Touch|TouchEvent|TouchList|Transferable\n |TreeWalker|UIEvent|USVString|VRDisplayCapabilities|ValidityState|WaveShaperNode|WebGL|WebGLActiveInfo|WebGLBuffer\n |WebGLContextEvent|WebGLFramebuffer|WebGLProgram|WebGLRenderbuffer|WebGLRenderingContext|WebGLShader|WebGLShaderPrecisionFormat\n |WebGLTexture|WebGLTimerQueryEXT|WebGLTransformFeedback|WebGLUniformLocation|WebGLVertexArrayObject|WebGLVertexArrayObjectOES\n |WebSocket|WebSockets|WebVTT|WheelEvent|Window|WindowBase64|WindowEventHandlers|WindowTimers|Worker|WorkerGlobalScope\n |WorkerLocation|WorkerNavigator|XMLHttpRequest|XMLHttpRequestEventTarget|XMLSerializer|XPathExpression|XPathResult\n |XSLTProcessor)\n)\\b",
|
914
|
-
"captures": {
|
915
|
-
"1": {
|
916
|
-
"name": "support.variable.dom.js"
|
917
|
-
},
|
918
|
-
"2": {
|
919
|
-
"name": "support.class.dom.js"
|
920
|
-
}
|
921
|
-
}
|
922
|
-
},
|
923
|
-
{
|
924
|
-
"match": "(?x) (\\.) \\s*\n(?:\n (ATTRIBUTE_NODE|CDATA_SECTION_NODE|COMMENT_NODE|DOCUMENT_FRAGMENT_NODE|DOCUMENT_NODE|DOCUMENT_TYPE_NODE\n |DOMSTRING_SIZE_ERR|ELEMENT_NODE|ENTITY_NODE|ENTITY_REFERENCE_NODE|HIERARCHY_REQUEST_ERR|INDEX_SIZE_ERR\n |INUSE_ATTRIBUTE_ERR|INVALID_CHARACTER_ERR|NO_DATA_ALLOWED_ERR|NO_MODIFICATION_ALLOWED_ERR|NOT_FOUND_ERR\n |NOT_SUPPORTED_ERR|NOTATION_NODE|PROCESSING_INSTRUCTION_NODE|TEXT_NODE|WRONG_DOCUMENT_ERR)\n |\n (_content|[xyz]|abbr|above|accept|acceptCharset|accessKey|action|align|[av]Link(?:color)?|all|alt|anchors|appCodeName\n |appCore|applets|appMinorVersion|appName|appVersion|archive|areas|arguments|attributes|availHeight|availLeft|availTop\n |availWidth|axis|background|backgroundColor|backgroundImage|below|bgColor|body|border|borderBottomWidth|borderColor\n |borderLeftWidth|borderRightWidth|borderStyle|borderTopWidth|borderWidth|bottom|bufferDepth|callee|caller|caption\n |cellPadding|cells|cellSpacing|ch|characterSet|charset|checked|childNodes|chOff|cite|classes|className|clear\n |clientInformation|clip|clipBoardData|closed|code|codeBase|codeType|color|colorDepth|cols|colSpan|compact|complete\n |components|content|controllers|cookie|cookieEnabled|cords|cpuClass|crypto|current|data|dateTime|declare|defaultCharset\n |defaultChecked|defaultSelected|defaultStatus|defaultValue|defaultView|defer|description|dialogArguments|dialogHeight\n |dialogLeft|dialogTop|dialogWidth|dir|directories|disabled|display|docmain|doctype|documentElement|elements|embeds\n |enabledPlugin|encoding|enctype|entities|event|expando|external|face|fgColor|filename|firstChild|fontFamily|fontSize\n |fontWeight|form|formName|forms|frame|frameBorder|frameElement|frames|hasFocus|hash|headers|height|history|host\n |hostname|href|hreflang|hspace|htmlFor|httpEquiv|id|ids|ignoreCase|images|implementation|index|innerHeight|innerWidth\n |input|isMap|label|lang|language|lastChild|lastIndex|lastMatch|lastModified|lastParen|layer[sXY]|left|leftContext\n |lineHeight|link|linkColor|links|listStyleType|localName|location|locationbar|longDesc|lowsrc|lowSrc|marginBottom\n |marginHeight|marginLeft|marginRight|marginTop|marginWidth|maxLength|media|menubar|method|mimeTypes|multiline|multiple\n |name|nameProp|namespaces|namespaceURI|next|nextSibling|nodeName|nodeType|nodeValue|noHref|noResize|noShade|notationName\n |notations|noWrap|object|offscreenBuffering|onLine|onreadystatechange|opener|opsProfile|options|oscpu|outerHeight\n |outerWidth|ownerDocument|paddingBottom|paddingLeft|paddingRight|paddingTop|page[XY]|page[XY]Offset|parent|parentLayer\n |parentNode|parentWindow|pathname|personalbar|pixelDepth|pkcs11|platform|plugins|port|prefix|previous|previousDibling\n |product|productSub|profile|profileend|prompt|prompter|protocol|publicId|readOnly|readyState|referrer|rel|responseText\n |responseXML|rev|right|rightContext|rowIndex|rows|rowSpan|rules|scheme|scope|screen[XY]|screenLeft|screenTop|scripts\n |scrollbars|scrolling|sectionRowIndex|security|securityPolicy|selected|selectedIndex|selection|self|shape|siblingAbove\n |siblingBelow|size|source|specified|standby|start|status|statusbar|statusText|style|styleSheets|suffixes|summary\n |systemId|systemLanguage|tagName|tags|target|tBodies|text|textAlign|textDecoration|textIndent|textTransform|tFoot|tHead\n |title|toolbar|top|type|undefined|uniqueID|updateInterval|URL|URLUnencoded|useMap|userAgent|userLanguage|userProfile\n |vAlign|value|valueType|vendor|vendorSub|version|visibility|vspace|whiteSpace|width|X[MS]LDocument|zIndex)\n)\n\\b",
|
925
|
-
"captures": {
|
926
|
-
"1": {
|
927
|
-
"name": "meta.delimiter.property.period.js"
|
928
|
-
},
|
929
|
-
"2": {
|
930
|
-
"name": "support.constant.dom.js"
|
931
|
-
},
|
932
|
-
"3": {
|
933
|
-
"name": "support.variable.property.dom.js"
|
934
|
-
}
|
935
|
-
}
|
936
|
-
},
|
937
|
-
{
|
938
|
-
"name": "support.variable.js",
|
939
|
-
"match": "(?\u003c!\\.)\\b(module|exports|__filename|__dirname|global|process)(?!\\s*:)\\b"
|
940
|
-
},
|
941
|
-
{
|
942
|
-
"name": "constant.language.js",
|
943
|
-
"match": "\\b(Infinity|NaN|undefined)\\b"
|
944
|
-
},
|
945
|
-
{
|
946
|
-
"name": "string.regexp.js",
|
947
|
-
"begin": "(?\u003c=[\\[{=(?:+*,!~-]|^|return|=\u003e|\u0026\u0026|\\|\\|)\\s*(/)(?![/*+?])(?=.*/)",
|
948
|
-
"end": "(/)([gimsuy]*)",
|
949
|
-
"patterns": [
|
950
|
-
{
|
951
|
-
"include": "source.js.regexp"
|
952
|
-
}
|
953
|
-
],
|
954
|
-
"beginCaptures": {
|
955
|
-
"1": {
|
956
|
-
"name": "punctuation.definition.string.begin.js"
|
957
|
-
}
|
958
|
-
},
|
959
|
-
"endCaptures": {
|
960
|
-
"1": {
|
961
|
-
"name": "punctuation.definition.string.end.js"
|
962
|
-
},
|
963
|
-
"2": {
|
964
|
-
"name": "meta.flag.regexp"
|
965
|
-
}
|
966
|
-
}
|
967
|
-
},
|
968
|
-
{
|
969
|
-
"begin": "\\?",
|
970
|
-
"end": ":",
|
971
|
-
"patterns": [
|
972
|
-
{
|
973
|
-
"include": "#prevent_object_keys_matching"
|
974
|
-
},
|
975
|
-
{
|
976
|
-
"include": "$self"
|
977
|
-
}
|
978
|
-
],
|
979
|
-
"beginCaptures": {
|
980
|
-
"0": {
|
981
|
-
"name": "keyword.operator.ternary.js"
|
982
|
-
}
|
983
|
-
},
|
984
|
-
"endCaptures": {
|
985
|
-
"0": {
|
986
|
-
"name": "keyword.operator.ternary.js"
|
987
|
-
}
|
988
|
-
}
|
989
|
-
},
|
990
|
-
{
|
991
|
-
"include": "#operators"
|
992
|
-
},
|
993
|
-
{
|
994
|
-
"include": "#method_calls"
|
995
|
-
},
|
996
|
-
{
|
997
|
-
"include": "#function_calls"
|
998
|
-
},
|
999
|
-
{
|
1000
|
-
"include": "#numbers"
|
1001
|
-
},
|
1002
|
-
{
|
1003
|
-
"include": "#objects"
|
1004
|
-
},
|
1005
|
-
{
|
1006
|
-
"include": "#properties"
|
1007
|
-
},
|
1008
|
-
{
|
1009
|
-
"name": "constant.other.js",
|
1010
|
-
"match": "((?\u003c!\\.|[\\w$])(?![_\\$]+[^A-Z0-9_$])\\$*\\b(?:[A-Z_$][A-Z0-9_$]*)\\b\\$*)"
|
1011
|
-
},
|
1012
|
-
{
|
1013
|
-
"name": "invalid.illegal.identifier.js",
|
1014
|
-
"match": "(?\u003c!\\$)\\b[0-9]+[\\w$]*"
|
1015
|
-
},
|
1016
|
-
{
|
1017
|
-
"name": "punctuation.terminator.statement.js",
|
1018
|
-
"match": "\\;"
|
1019
|
-
},
|
1020
|
-
{
|
1021
|
-
"name": "meta.delimiter.object.comma.js",
|
1022
|
-
"match": ","
|
1023
|
-
},
|
1024
|
-
{
|
1025
|
-
"name": "meta.delimiter.method.period.js",
|
1026
|
-
"match": "\\."
|
1027
|
-
},
|
1028
|
-
{
|
1029
|
-
"match": "({)(})",
|
1030
|
-
"captures": {
|
1031
|
-
"1": {
|
1032
|
-
"name": "punctuation.section.scope.begin.js"
|
1033
|
-
},
|
1034
|
-
"2": {
|
1035
|
-
"name": "punctuation.section.scope.end.js"
|
1036
|
-
}
|
1037
|
-
}
|
1038
|
-
},
|
1039
|
-
{
|
1040
|
-
"begin": "{",
|
1041
|
-
"end": "}",
|
1042
|
-
"patterns": [
|
1043
|
-
{
|
1044
|
-
"include": "$self"
|
1045
|
-
}
|
1046
|
-
],
|
1047
|
-
"beginCaptures": {
|
1048
|
-
"0": {
|
1049
|
-
"name": "meta.brace.curly.js"
|
1050
|
-
}
|
1051
|
-
},
|
1052
|
-
"endCaptures": {
|
1053
|
-
"0": {
|
1054
|
-
"name": "meta.brace.curly.js"
|
1055
|
-
}
|
1056
|
-
}
|
1057
|
-
},
|
1058
|
-
{
|
1059
|
-
"begin": "\\(",
|
1060
|
-
"end": "\\)",
|
1061
|
-
"patterns": [
|
1062
|
-
{
|
1063
|
-
"include": "$self"
|
1064
|
-
}
|
1065
|
-
],
|
1066
|
-
"beginCaptures": {
|
1067
|
-
"0": {
|
1068
|
-
"name": "meta.brace.round.js"
|
1069
|
-
}
|
1070
|
-
},
|
1071
|
-
"endCaptures": {
|
1072
|
-
"0": {
|
1073
|
-
"name": "meta.brace.round.js"
|
1074
|
-
}
|
1075
|
-
}
|
1076
|
-
},
|
1077
|
-
{
|
1078
|
-
"name": "meta.brace.square.js",
|
1079
|
-
"match": "\\[|\\]"
|
1080
|
-
},
|
1081
|
-
{
|
1082
|
-
"name": "comment.line.shebang.js",
|
1083
|
-
"match": "\\A#!.*$"
|
1084
|
-
}
|
1085
|
-
],
|
1086
|
-
"repository": {
|
1087
|
-
"arguments": {
|
1088
|
-
"patterns": [
|
1089
|
-
{
|
1090
|
-
"name": "meta.arguments.js",
|
1091
|
-
"begin": "\\(",
|
1092
|
-
"end": "\\)",
|
1093
|
-
"patterns": [
|
1094
|
-
{
|
1095
|
-
"include": "$self"
|
1096
|
-
}
|
1097
|
-
],
|
1098
|
-
"beginCaptures": {
|
1099
|
-
"0": {
|
1100
|
-
"name": "punctuation.definition.arguments.begin.bracket.round.js"
|
1101
|
-
}
|
1102
|
-
},
|
1103
|
-
"endCaptures": {
|
1104
|
-
"0": {
|
1105
|
-
"name": "punctuation.definition.arguments.end.bracket.round.js"
|
1106
|
-
}
|
1107
|
-
}
|
1108
|
-
}
|
1109
|
-
]
|
1110
|
-
},
|
1111
|
-
"arrow_function_innards": {
|
1112
|
-
"patterns": [
|
1113
|
-
{
|
1114
|
-
"name": "storage.type.function.arrow.js",
|
1115
|
-
"match": "=\u003e"
|
1116
|
-
},
|
1117
|
-
{
|
1118
|
-
"include": "#function_params"
|
1119
|
-
},
|
1120
|
-
{
|
1121
|
-
"match": "([a-zA-Z_$][\\w$]*)(?=\\s*=\u003e)",
|
1122
|
-
"captures": {
|
1123
|
-
"0": {
|
1124
|
-
"name": "meta.parameters.js"
|
1125
|
-
},
|
1126
|
-
"1": {
|
1127
|
-
"name": "variable.parameter.function.js"
|
1128
|
-
}
|
1129
|
-
}
|
1130
|
-
},
|
1131
|
-
{
|
1132
|
-
"match": "(\\d[\\w$]*)",
|
1133
|
-
"captures": {
|
1134
|
-
"0": {
|
1135
|
-
"name": "meta.parameters.js"
|
1136
|
-
},
|
1137
|
-
"1": {
|
1138
|
-
"name": "invalid.illegal.identifier.js"
|
1139
|
-
}
|
1140
|
-
}
|
1141
|
-
}
|
1142
|
-
]
|
1143
|
-
},
|
1144
|
-
"comments": {
|
1145
|
-
"patterns": [
|
1146
|
-
{
|
1147
|
-
"name": "comment.block.empty.js",
|
1148
|
-
"match": "(/\\*)(\\*/)",
|
1149
|
-
"captures": {
|
1150
|
-
"1": {
|
1151
|
-
"name": "punctuation.definition.comment.begin.js"
|
1152
|
-
},
|
1153
|
-
"2": {
|
1154
|
-
"name": "punctuation.definition.comment.end.js"
|
1155
|
-
}
|
1156
|
-
}
|
1157
|
-
},
|
1158
|
-
{
|
1159
|
-
"name": "comment.block.documentation.js",
|
1160
|
-
"begin": "/\\*\\*",
|
1161
|
-
"end": "\\*/",
|
1162
|
-
"patterns": [
|
1163
|
-
{
|
1164
|
-
"include": "source.jsdoc"
|
1165
|
-
}
|
1166
|
-
],
|
1167
|
-
"beginCaptures": {
|
1168
|
-
"0": {
|
1169
|
-
"name": "punctuation.definition.comment.begin.js"
|
1170
|
-
}
|
1171
|
-
},
|
1172
|
-
"endCaptures": {
|
1173
|
-
"0": {
|
1174
|
-
"name": "punctuation.definition.comment.end.js"
|
1175
|
-
}
|
1176
|
-
}
|
1177
|
-
},
|
1178
|
-
{
|
1179
|
-
"name": "comment.block.js",
|
1180
|
-
"begin": "/\\*",
|
1181
|
-
"end": "\\*/",
|
1182
|
-
"beginCaptures": {
|
1183
|
-
"0": {
|
1184
|
-
"name": "punctuation.definition.comment.begin.js"
|
1185
|
-
}
|
1186
|
-
},
|
1187
|
-
"endCaptures": {
|
1188
|
-
"0": {
|
1189
|
-
"name": "punctuation.definition.comment.end.js"
|
1190
|
-
}
|
1191
|
-
}
|
1192
|
-
},
|
1193
|
-
{
|
1194
|
-
"name": "comment.line.double-slash.js",
|
1195
|
-
"begin": "//",
|
1196
|
-
"end": "$",
|
1197
|
-
"beginCaptures": {
|
1198
|
-
"0": {
|
1199
|
-
"name": "punctuation.definition.comment.js"
|
1200
|
-
}
|
1201
|
-
}
|
1202
|
-
}
|
1203
|
-
]
|
1204
|
-
},
|
1205
|
-
"function_body": {
|
1206
|
-
"patterns": [
|
1207
|
-
{
|
1208
|
-
"begin": "{",
|
1209
|
-
"end": "}",
|
1210
|
-
"patterns": [
|
1211
|
-
{
|
1212
|
-
"include": "$self"
|
1213
|
-
}
|
1214
|
-
],
|
1215
|
-
"beginCaptures": {
|
1216
|
-
"0": {
|
1217
|
-
"name": "punctuation.definition.function.body.begin.bracket.curly.js"
|
1218
|
-
}
|
1219
|
-
},
|
1220
|
-
"endCaptures": {
|
1221
|
-
"0": {
|
1222
|
-
"name": "punctuation.definition.function.body.end.bracket.curly.js"
|
1223
|
-
}
|
1224
|
-
}
|
1225
|
-
}
|
1226
|
-
]
|
1227
|
-
},
|
1228
|
-
"function_calls": {
|
1229
|
-
"patterns": [
|
1230
|
-
{
|
1231
|
-
"name": "meta.function-call.js",
|
1232
|
-
"begin": "([\\w$]+)\\s*(?=\\()",
|
1233
|
-
"end": "(?\u003c=\\))",
|
1234
|
-
"patterns": [
|
1235
|
-
{
|
1236
|
-
"include": "#arguments"
|
1237
|
-
}
|
1238
|
-
],
|
1239
|
-
"beginCaptures": {
|
1240
|
-
"1": {
|
1241
|
-
"patterns": [
|
1242
|
-
{
|
1243
|
-
"name": "support.function.js",
|
1244
|
-
"match": "(?x)\n\\b(isNaN|isFinite|eval|uneval|parseInt|parseFloat|decodeURI|\ndecodeURIComponent|encodeURI|encodeURIComponent|escape|unescape|\nrequire|set(Interval|Timeout)|clear(Interval|Timeout))\\b"
|
1245
|
-
},
|
1246
|
-
{
|
1247
|
-
"name": "entity.name.function.js",
|
1248
|
-
"match": "[a-zA-Z_$][\\w$]*"
|
1249
|
-
},
|
1250
|
-
{
|
1251
|
-
"name": "invalid.illegal.identifier.js",
|
1252
|
-
"match": "\\d[\\w$]*"
|
1253
|
-
}
|
1254
|
-
]
|
1255
|
-
}
|
1256
|
-
}
|
1257
|
-
}
|
1258
|
-
]
|
1259
|
-
},
|
1260
|
-
"function_innards": {
|
1261
|
-
"patterns": [
|
1262
|
-
{
|
1263
|
-
"match": "(?:\\b(async)\\b\\s*)?\\b(function)\\b(?:\\s*(\\*))?",
|
1264
|
-
"captures": {
|
1265
|
-
"1": {
|
1266
|
-
"name": "storage.modifier.async.js"
|
1267
|
-
},
|
1268
|
-
"2": {
|
1269
|
-
"name": "storage.type.function.js"
|
1270
|
-
},
|
1271
|
-
"3": {
|
1272
|
-
"name": "storage.modifier.generator.js"
|
1273
|
-
}
|
1274
|
-
}
|
1275
|
-
},
|
1276
|
-
{
|
1277
|
-
"name": "entity.name.function.js",
|
1278
|
-
"match": "[a-zA-Z_$][\\w$]*(?=\\s*\\()"
|
1279
|
-
},
|
1280
|
-
{
|
1281
|
-
"include": "#function_params"
|
1282
|
-
},
|
1283
|
-
{
|
1284
|
-
"include": "#comments"
|
1285
|
-
}
|
1286
|
-
]
|
1287
|
-
},
|
1288
|
-
"function_params": {
|
1289
|
-
"patterns": [
|
1290
|
-
{
|
1291
|
-
"name": "meta.parameters.js",
|
1292
|
-
"begin": "\\(",
|
1293
|
-
"end": "\\)",
|
1294
|
-
"patterns": [
|
1295
|
-
{
|
1296
|
-
"match": "(\\.\\.\\.)([a-zA-Z_$][\\w$]*)",
|
1297
|
-
"captures": {
|
1298
|
-
"1": {
|
1299
|
-
"name": "keyword.operator.spread.js"
|
1300
|
-
},
|
1301
|
-
"2": {
|
1302
|
-
"name": "variable.parameter.rest.function.js"
|
1303
|
-
}
|
1304
|
-
}
|
1305
|
-
},
|
1306
|
-
{
|
1307
|
-
"include": "$self"
|
1308
|
-
},
|
1309
|
-
{
|
1310
|
-
"name": "variable.parameter.function.js",
|
1311
|
-
"match": "[a-zA-Z_$][\\w$]*"
|
1312
|
-
}
|
1313
|
-
],
|
1314
|
-
"beginCaptures": {
|
1315
|
-
"0": {
|
1316
|
-
"name": "punctuation.definition.parameters.begin.bracket.round.js"
|
1317
|
-
}
|
1318
|
-
},
|
1319
|
-
"endCaptures": {
|
1320
|
-
"0": {
|
1321
|
-
"name": "punctuation.definition.parameters.end.bracket.round.js"
|
1322
|
-
}
|
1323
|
-
}
|
1324
|
-
}
|
1325
|
-
]
|
1326
|
-
},
|
1327
|
-
"interpolated_js": {
|
1328
|
-
"patterns": [
|
1329
|
-
{
|
1330
|
-
"name": "source.js.embedded.source",
|
1331
|
-
"begin": "\\${",
|
1332
|
-
"end": "}",
|
1333
|
-
"patterns": [
|
1334
|
-
{
|
1335
|
-
"begin": "{",
|
1336
|
-
"end": "}",
|
1337
|
-
"patterns": [
|
1338
|
-
{
|
1339
|
-
"include": "$self"
|
1340
|
-
}
|
1341
|
-
],
|
1342
|
-
"beginCaptures": {
|
1343
|
-
"0": {
|
1344
|
-
"name": "meta.brace.curly.js"
|
1345
|
-
}
|
1346
|
-
},
|
1347
|
-
"endCaptures": {
|
1348
|
-
"0": {
|
1349
|
-
"name": "meta.brace.curly.js"
|
1350
|
-
}
|
1351
|
-
}
|
1352
|
-
},
|
1353
|
-
{
|
1354
|
-
"include": "$self"
|
1355
|
-
}
|
1356
|
-
],
|
1357
|
-
"captures": {
|
1358
|
-
"0": {
|
1359
|
-
"name": "punctuation.section.embedded.js"
|
1360
|
-
}
|
1361
|
-
}
|
1362
|
-
}
|
1363
|
-
]
|
1364
|
-
},
|
1365
|
-
"method_calls": {
|
1366
|
-
"patterns": [
|
1367
|
-
{
|
1368
|
-
"name": "meta.method-call.js",
|
1369
|
-
"begin": "(\\.)\\s*([\\w$]+)\\s*(?=\\()",
|
1370
|
-
"end": "(?\u003c=\\))",
|
1371
|
-
"patterns": [
|
1372
|
-
{
|
1373
|
-
"include": "#arguments"
|
1374
|
-
}
|
1375
|
-
],
|
1376
|
-
"beginCaptures": {
|
1377
|
-
"1": {
|
1378
|
-
"name": "meta.delimiter.method.period.js"
|
1379
|
-
},
|
1380
|
-
"2": {
|
1381
|
-
"patterns": [
|
1382
|
-
{
|
1383
|
-
"name": "support.function.event-handler.js",
|
1384
|
-
"match": "(?x)\n\\bon(Rowsinserted|Rowsdelete|Rowenter|Rowexit|Resize|Resizestart|Resizeend|Reset|\nReadystatechange|Mouseout|Mouseover|Mousedown|Mouseup|Mousemove|\nBefore(cut|deactivate|unload|update|paste|print|editfocus|activate)|\nBlur|Scrolltop|Submit|Select|Selectstart|Selectionchange|Hover|Help|\nChange|Contextmenu|Controlselect|Cut|Cellchange|Clock|Close|Deactivate|\nDatasetchanged|Datasetcomplete|Dataavailable|Drop|Drag|Dragstart|Dragover|\nDragdrop|Dragenter|Dragend|Dragleave|Dblclick|Unload|Paste|Propertychange|Error|\nErrorupdate|Keydown|Keyup|Keypress|Focus|Load|Activate|Afterupdate|Afterprint|Abort)\\b"
|
1385
|
-
},
|
1386
|
-
{
|
1387
|
-
"name": "support.function.js",
|
1388
|
-
"match": "(?x)\n\\b(catch|finally|then|shift|showModelessDialog|showModalDialog|showHelp|scroll|scrollX|scrollByPages|\nscrollByLines|scrollY|scrollTo|stop|strike|sizeToContent|sidebar|signText|sort|\nsup|sub|substr|substring|splice|split|send|set(Milliseconds|Seconds|Minutes|Hours|\nMonth|Year|FullYear|Date|UTC(Milliseconds|Seconds|Minutes|Hours|Month|FullYear|Date)|\nTime|Hotkeys|Cursor|ZOptions|Active|Resizable|RequestHeader)|search|slice|\nsavePreferences|small|home|handleEvent|navigate|char|charCodeAt|charAt|concat|\ncontextual|confirm|compile|clear|captureEvents|call|createStyleSheet|createPopup|\ncreateEventObject|to(GMTString|UTCString|String|Source|UpperCase|LowerCase|LocaleString)|\ntest|taint|taintEnabled|indexOf|italics|disableExternalCapture|dump|detachEvent|unshift|\nuntaint|unwatch|updateCommands|join|javaEnabled|pop|push|plugins.refresh|paddings|parse|stringify|\nprint|prompt|preference|enableExternalCapture|exec|execScript|valueOf|UTC|find|file|\nfileModifiedDate|fileSize|fileCreatedDate|fileUpdatedDate|fixed|fontsize|fontcolor|\nforward|fromCharCode|watch|link|load|lastIndexOf|anchor|attachEvent|atob|apply|alert|\nabort|routeEvents|resize|resizeBy|resizeTo|recalc|returnValue|replace|reverse|reload|\nreleaseCapture|releaseEvents|go|get(Milliseconds|Seconds|Minutes|Hours|Month|Day|Year|FullYear|\nTime|Date|TimezoneOffset|UTC(Milliseconds|Seconds|Minutes|Hours|Day|Month|FullYear|Date)|\nAttention|Selection|ResponseHeader|AllResponseHeaders)|moveBy|moveBelow|moveTo|\nmoveToAbsolute|moveAbove|mergeAttributes|match|margins|btoa|big|bold|borderWidths|blink|back)\\b"
|
1389
|
-
},
|
1390
|
-
{
|
1391
|
-
"name": "support.function.dom.js",
|
1392
|
-
"match": "(?x)\n\\b(acceptNode|add|addEventListener|addTextTrack|adoptNode|after|animate|append|\nappendChild|appendData|before|blur|canPlayType|captureStream|\ncaretPositionFromPoint|caretRangeFromPoint|checkValidity|clear|click|\ncloneContents|cloneNode|cloneRange|close|closest|collapse|\ncompareBoundaryPoints|compareDocumentPosition|comparePoint|contains|\nconvertPointFromNode|convertQuadFromNode|convertRectFromNode|createAttribute|\ncreateAttributeNS|createCaption|createCDATASection|createComment|\ncreateContextualFragment|createDocument|createDocumentFragment|\ncreateDocumentType|createElement|createElementNS|createEntityReference|\ncreateEvent|createExpression|createHTMLDocument|createNodeIterator|\ncreateNSResolver|createProcessingInstruction|createRange|createShadowRoot|\ncreateTBody|createTextNode|createTFoot|createTHead|createTreeWalker|delete|\ndeleteCaption|deleteCell|deleteContents|deleteData|deleteRow|deleteTFoot|\ndeleteTHead|detach|disconnect|dispatchEvent|elementFromPoint|elementsFromPoint|\nenableStyleSheetsForSet|entries|evaluate|execCommand|exitFullscreen|\nexitPointerLock|expand|extractContents|fastSeek|firstChild|focus|forEach|get|\ngetAll|getAnimations|getAttribute|getAttributeNames|getAttributeNode|\ngetAttributeNodeNS|getAttributeNS|getBoundingClientRect|getBoxQuads|\ngetClientRects|getContext|getDestinationInsertionPoints|getElementById|\ngetElementsByClassName|getElementsByName|getElementsByTagName|\ngetElementsByTagNameNS|getItem|getNamedItem|getSelection|getStartDate|\ngetVideoPlaybackQuality|has|hasAttribute|hasAttributeNS|hasAttributes|\nhasChildNodes|hasFeature|hasFocus|importNode|initEvent|insertAdjacentElement|\ninsertAdjacentHTML|insertAdjacentText|insertBefore|insertCell|insertData|\ninsertNode|insertRow|intersectsNode|isDefaultNamespace|isEqualNode|\nisPointInRange|isSameNode|item|key|keys|lastChild|load|lookupNamespaceURI|\nlookupPrefix|matches|move|moveAttribute|moveAttributeNode|moveChild|\nmoveNamedItem|namedItem|nextNode|nextSibling|normalize|observe|open|\nparentNode|pause|play|postMessage|prepend|preventDefault|previousNode|\npreviousSibling|probablySupportsContext|queryCommandEnabled|\nqueryCommandIndeterm|queryCommandState|queryCommandSupported|queryCommandValue|\nquerySelector|querySelectorAll|registerContentHandler|registerElement|\nregisterProtocolHandler|releaseCapture|releaseEvents|remove|removeAttribute|\nremoveAttributeNode|removeAttributeNS|removeChild|removeEventListener|\nremoveItem|replace|replaceChild|replaceData|replaceWith|reportValidity|\nrequestFullscreen|requestPointerLock|reset|scroll|scrollBy|scrollIntoView|\nscrollTo|seekToNextFrame|select|selectNode|selectNodeContents|set|setAttribute|\nsetAttributeNode|setAttributeNodeNS|setAttributeNS|setCapture|\nsetCustomValidity|setEnd|setEndAfter|setEndBefore|setItem|setNamedItem|\nsetRangeText|setSelectionRange|setSinkId|setStart|setStartAfter|setStartBefore|\nslice|splitText|stepDown|stepUp|stopImmediatePropagation|stopPropagation|\nsubmit|substringData|supports|surroundContents|takeRecords|terminate|toBlob|\ntoDataURL|toggle|toString|values|write|writeln)\\b"
|
1393
|
-
},
|
1394
|
-
{
|
1395
|
-
"name": "entity.name.function.js",
|
1396
|
-
"match": "[a-zA-Z_$][\\w$]*"
|
1397
|
-
},
|
1398
|
-
{
|
1399
|
-
"name": "invalid.illegal.identifier.js",
|
1400
|
-
"match": "\\d[\\w$]*"
|
1401
|
-
}
|
1402
|
-
]
|
1403
|
-
}
|
1404
|
-
}
|
1405
|
-
}
|
1406
|
-
]
|
1407
|
-
},
|
1408
|
-
"numbers": {
|
1409
|
-
"patterns": [
|
1410
|
-
{
|
1411
|
-
"name": "constant.numeric.hex.js",
|
1412
|
-
"match": "\\b(?\u003c!\\$)0(x|X)[0-9a-fA-F]+n?\\b(?!\\$)"
|
1413
|
-
},
|
1414
|
-
{
|
1415
|
-
"name": "constant.numeric.binary.js",
|
1416
|
-
"match": "\\b(?\u003c!\\$)0(b|B)[01]+n?\\b(?!\\$)"
|
1417
|
-
},
|
1418
|
-
{
|
1419
|
-
"name": "constant.numeric.octal.js",
|
1420
|
-
"match": "\\b(?\u003c!\\$)0(o|O)?[0-7]+n?\\b(?!\\$)"
|
1421
|
-
},
|
1422
|
-
{
|
1423
|
-
"match": "(?x)\n(?\u003c!\\$)(?:\n (?:\\b[0-9]+(\\.)[0-9]+[eE][+-]?[0-9]+\\b)| # 1.1E+3\n (?:\\b[0-9]+(\\.)[eE][+-]?[0-9]+\\b)| # 1.E+3\n (?:\\B(\\.)[0-9]+[eE][+-]?[0-9]+\\b)| # .1E+3\n (?:\\b[0-9]+[eE][+-]?[0-9]+\\b)| # 1E+3\n (?:\\b[0-9]+(\\.)[0-9]+\\b)| # 1.1\n (?:\\b[0-9]+(\\.)\\B)| # 1.\n (?:\\B(\\.)[0-9]+\\b)| # .1\n (?:\\b[0-9]+n?\\b(?!\\.)) # 1n\n)(?!\\$)",
|
1424
|
-
"captures": {
|
1425
|
-
"0": {
|
1426
|
-
"name": "constant.numeric.decimal.js"
|
1427
|
-
},
|
1428
|
-
"1": {
|
1429
|
-
"name": "meta.delimiter.decimal.period.js"
|
1430
|
-
},
|
1431
|
-
"2": {
|
1432
|
-
"name": "meta.delimiter.decimal.period.js"
|
1433
|
-
},
|
1434
|
-
"3": {
|
1435
|
-
"name": "meta.delimiter.decimal.period.js"
|
1436
|
-
},
|
1437
|
-
"4": {
|
1438
|
-
"name": "meta.delimiter.decimal.period.js"
|
1439
|
-
},
|
1440
|
-
"5": {
|
1441
|
-
"name": "meta.delimiter.decimal.period.js"
|
1442
|
-
},
|
1443
|
-
"6": {
|
1444
|
-
"name": "meta.delimiter.decimal.period.js"
|
1445
|
-
}
|
1446
|
-
}
|
1447
|
-
}
|
1448
|
-
]
|
1449
|
-
},
|
1450
|
-
"objects": {
|
1451
|
-
"patterns": [
|
1452
|
-
{
|
1453
|
-
"name": "constant.other.object.js",
|
1454
|
-
"match": "[A-Z][A-Z0-9_$]*(?=\\s*\\.\\s*[a-zA-Z_$]\\w*)"
|
1455
|
-
},
|
1456
|
-
{
|
1457
|
-
"name": "variable.other.object.js",
|
1458
|
-
"match": "[a-zA-Z_$][\\w$]*(?=\\s*\\.\\s*[a-zA-Z_$]\\w*)"
|
1459
|
-
}
|
1460
|
-
]
|
1461
|
-
},
|
1462
|
-
"operators": {
|
1463
|
-
"patterns": [
|
1464
|
-
{
|
1465
|
-
"name": "keyword.operator.assignment.compound.js",
|
1466
|
-
"match": "%=|\\+=|-=|\\*=|(?\u003c!\\()/="
|
1467
|
-
},
|
1468
|
-
{
|
1469
|
-
"name": "keyword.operator.assignment.compound.bitwise.js",
|
1470
|
-
"match": "\u0026=|\\^=|\u003c\u003c=|\u003e\u003e=|\u003e\u003e\u003e=|\\|="
|
1471
|
-
},
|
1472
|
-
{
|
1473
|
-
"name": "keyword.operator.bitwise.shift.js",
|
1474
|
-
"match": "\u003c\u003c|\u003e\u003e\u003e|\u003e\u003e"
|
1475
|
-
},
|
1476
|
-
{
|
1477
|
-
"name": "keyword.operator.comparison.js",
|
1478
|
-
"match": "!==|!=|\u003c=|\u003e=|===|==|\u003c|\u003e"
|
1479
|
-
},
|
1480
|
-
{
|
1481
|
-
"name": "keyword.operator.logical.js",
|
1482
|
-
"match": "\u0026\u0026|!!|!|\\|\\|"
|
1483
|
-
},
|
1484
|
-
{
|
1485
|
-
"name": "keyword.operator.bitwise.js",
|
1486
|
-
"match": "\u0026|\\||\\^|~"
|
1487
|
-
},
|
1488
|
-
{
|
1489
|
-
"name": "keyword.operator.assignment.js",
|
1490
|
-
"match": "=|:"
|
1491
|
-
},
|
1492
|
-
{
|
1493
|
-
"name": "keyword.operator.decrement.js",
|
1494
|
-
"match": "--"
|
1495
|
-
},
|
1496
|
-
{
|
1497
|
-
"name": "keyword.operator.increment.js",
|
1498
|
-
"match": "\\+\\+"
|
1499
|
-
},
|
1500
|
-
{
|
1501
|
-
"name": "keyword.operator.js",
|
1502
|
-
"match": "%|\\*|/|-|\\+"
|
1503
|
-
}
|
1504
|
-
]
|
1505
|
-
},
|
1506
|
-
"prevent_object_keys_matching": {
|
1507
|
-
"patterns": [
|
1508
|
-
{
|
1509
|
-
"match": "(\\w+)(?=\\s*:)",
|
1510
|
-
"captures": {
|
1511
|
-
"1": {
|
1512
|
-
"patterns": [
|
1513
|
-
{
|
1514
|
-
"include": "$self"
|
1515
|
-
}
|
1516
|
-
]
|
1517
|
-
}
|
1518
|
-
}
|
1519
|
-
}
|
1520
|
-
]
|
1521
|
-
},
|
1522
|
-
"properties": {
|
1523
|
-
"patterns": [
|
1524
|
-
{
|
1525
|
-
"match": "(\\.)\\s*([A-Z][A-Z0-9_$]*\\b\\$*)(?=\\s*\\.\\s*[a-zA-Z_$]\\w*)",
|
1526
|
-
"captures": {
|
1527
|
-
"1": {
|
1528
|
-
"name": "meta.delimiter.property.period.js"
|
1529
|
-
},
|
1530
|
-
"2": {
|
1531
|
-
"name": "constant.other.object.property.js"
|
1532
|
-
}
|
1533
|
-
}
|
1534
|
-
},
|
1535
|
-
{
|
1536
|
-
"match": "(\\.)\\s*(\\$*[a-zA-Z_$][\\w$]*)(?=\\s*\\.\\s*[a-zA-Z_$]\\w*)",
|
1537
|
-
"captures": {
|
1538
|
-
"1": {
|
1539
|
-
"name": "meta.delimiter.property.period.js"
|
1540
|
-
},
|
1541
|
-
"2": {
|
1542
|
-
"name": "variable.other.object.property.js"
|
1543
|
-
}
|
1544
|
-
}
|
1545
|
-
},
|
1546
|
-
{
|
1547
|
-
"match": "(\\.)\\s*([A-Z][A-Z0-9_$]*\\b\\$*)",
|
1548
|
-
"captures": {
|
1549
|
-
"1": {
|
1550
|
-
"name": "meta.delimiter.property.period.js"
|
1551
|
-
},
|
1552
|
-
"2": {
|
1553
|
-
"name": "constant.other.property.js"
|
1554
|
-
}
|
1555
|
-
}
|
1556
|
-
},
|
1557
|
-
{
|
1558
|
-
"match": "(\\.)\\s*(\\$*[a-zA-Z_$][\\w$]*)",
|
1559
|
-
"captures": {
|
1560
|
-
"1": {
|
1561
|
-
"name": "meta.delimiter.property.period.js"
|
1562
|
-
},
|
1563
|
-
"2": {
|
1564
|
-
"name": "variable.other.property.js"
|
1565
|
-
}
|
1566
|
-
}
|
1567
|
-
},
|
1568
|
-
{
|
1569
|
-
"match": "(\\.)\\s*([0-9][\\w$]*)",
|
1570
|
-
"captures": {
|
1571
|
-
"1": {
|
1572
|
-
"name": "meta.delimiter.property.period.js"
|
1573
|
-
},
|
1574
|
-
"2": {
|
1575
|
-
"name": "invalid.illegal.identifier.js"
|
1576
|
-
}
|
1577
|
-
}
|
1578
|
-
}
|
1579
|
-
]
|
1580
|
-
},
|
1581
|
-
"string_escapes": {
|
1582
|
-
"patterns": [
|
1583
|
-
{
|
1584
|
-
"name": "invalid.illegal.unicode-escape.js",
|
1585
|
-
"match": "\\\\u(?![A-Fa-f0-9]{4}|{[A-Fa-f0-9]+})[^'\"]*"
|
1586
|
-
},
|
1587
|
-
{
|
1588
|
-
"name": "constant.character.escape.js",
|
1589
|
-
"match": "\\\\u(?:[A-Fa-f0-9]{4}|({)([A-Fa-f0-9]+)(}))",
|
1590
|
-
"captures": {
|
1591
|
-
"1": {
|
1592
|
-
"name": "punctuation.definition.unicode-escape.begin.bracket.curly.js"
|
1593
|
-
},
|
1594
|
-
"2": {
|
1595
|
-
"patterns": [
|
1596
|
-
{
|
1597
|
-
"name": "invalid.illegal.unicode-escape.js",
|
1598
|
-
"match": "[A-Fa-f\\d]{7,}|(?!10)[A-Fa-f\\d]{6}"
|
1599
|
-
}
|
1600
|
-
]
|
1601
|
-
},
|
1602
|
-
"3": {
|
1603
|
-
"name": "punctuation.definition.unicode-escape.end.bracket.curly.js"
|
1604
|
-
}
|
1605
|
-
}
|
1606
|
-
},
|
1607
|
-
{
|
1608
|
-
"name": "constant.character.escape.js",
|
1609
|
-
"match": "\\\\(x[0-9A-Fa-f]{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)"
|
1610
|
-
}
|
1611
|
-
]
|
1612
|
-
},
|
1613
|
-
"strings": {
|
1614
|
-
"patterns": [
|
1615
|
-
{
|
1616
|
-
"name": "string.quoted.single.js",
|
1617
|
-
"begin": "'",
|
1618
|
-
"end": "'",
|
1619
|
-
"patterns": [
|
1620
|
-
{
|
1621
|
-
"include": "#string_escapes"
|
1622
|
-
}
|
1623
|
-
],
|
1624
|
-
"beginCaptures": {
|
1625
|
-
"0": {
|
1626
|
-
"name": "punctuation.definition.string.begin.js"
|
1627
|
-
}
|
1628
|
-
},
|
1629
|
-
"endCaptures": {
|
1630
|
-
"0": {
|
1631
|
-
"name": "punctuation.definition.string.end.js"
|
1632
|
-
}
|
1633
|
-
}
|
1634
|
-
},
|
1635
|
-
{
|
1636
|
-
"name": "string.quoted.double.js",
|
1637
|
-
"begin": "\"",
|
1638
|
-
"end": "\"",
|
1639
|
-
"patterns": [
|
1640
|
-
{
|
1641
|
-
"include": "#string_escapes"
|
1642
|
-
}
|
1643
|
-
],
|
1644
|
-
"beginCaptures": {
|
1645
|
-
"0": {
|
1646
|
-
"name": "punctuation.definition.string.begin.js"
|
1647
|
-
}
|
1648
|
-
},
|
1649
|
-
"endCaptures": {
|
1650
|
-
"0": {
|
1651
|
-
"name": "punctuation.definition.string.end.js"
|
1652
|
-
}
|
1653
|
-
}
|
1654
|
-
},
|
1655
|
-
{
|
1656
|
-
"name": "string.quoted.template.html.js",
|
1657
|
-
"begin": "((\\w+)?(html|HTML|Html))\\s*(`)",
|
1658
|
-
"end": "`",
|
1659
|
-
"patterns": [
|
1660
|
-
{
|
1661
|
-
"include": "#string_escapes"
|
1662
|
-
},
|
1663
|
-
{
|
1664
|
-
"include": "#interpolated_js"
|
1665
|
-
},
|
1666
|
-
{
|
1667
|
-
"include": "text.html.basic"
|
1668
|
-
}
|
1669
|
-
],
|
1670
|
-
"beginCaptures": {
|
1671
|
-
"1": {
|
1672
|
-
"name": "entity.name.function.js"
|
1673
|
-
},
|
1674
|
-
"4": {
|
1675
|
-
"name": "punctuation.definition.string.begin.js"
|
1676
|
-
}
|
1677
|
-
},
|
1678
|
-
"endCaptures": {
|
1679
|
-
"0": {
|
1680
|
-
"name": "punctuation.definition.string.end.js"
|
1681
|
-
}
|
1682
|
-
}
|
1683
|
-
},
|
1684
|
-
{
|
1685
|
-
"contentName": "string.quoted.template.html.js",
|
1686
|
-
"begin": "(?\u003c=innerHTML)\\s*(\\+?=)\\s*(?=`)",
|
1687
|
-
"end": "(?\u003c=`)",
|
1688
|
-
"patterns": [
|
1689
|
-
{
|
1690
|
-
"begin": "`",
|
1691
|
-
"end": "`",
|
1692
|
-
"patterns": [
|
1693
|
-
{
|
1694
|
-
"include": "#string_escapes"
|
1695
|
-
},
|
1696
|
-
{
|
1697
|
-
"include": "#interpolated_js"
|
1698
|
-
},
|
1699
|
-
{
|
1700
|
-
"include": "text.html.basic"
|
1701
|
-
}
|
1702
|
-
],
|
1703
|
-
"beginCaptures": {
|
1704
|
-
"0": {
|
1705
|
-
"name": "punctuation.definition.string.begin.js"
|
1706
|
-
}
|
1707
|
-
},
|
1708
|
-
"endCaptures": {
|
1709
|
-
"0": {
|
1710
|
-
"name": "punctuation.definition.string.end.js"
|
1711
|
-
}
|
1712
|
-
}
|
1713
|
-
}
|
1714
|
-
],
|
1715
|
-
"beginCaptures": {
|
1716
|
-
"1": {
|
1717
|
-
"name": "keyword.operator.assignment.js"
|
1718
|
-
}
|
1719
|
-
},
|
1720
|
-
"endCaptures": {
|
1721
|
-
"0": {
|
1722
|
-
"name": "punctuation.definition.string.end.js"
|
1723
|
-
}
|
1724
|
-
}
|
1725
|
-
},
|
1726
|
-
{
|
1727
|
-
"name": "string.quoted.template.graphql.js",
|
1728
|
-
"begin": "(Relay\\.QL|gql)\\s*(`)",
|
1729
|
-
"end": "`",
|
1730
|
-
"patterns": [
|
1731
|
-
{
|
1732
|
-
"include": "#string_escapes"
|
1733
|
-
},
|
1734
|
-
{
|
1735
|
-
"include": "#interpolated_js"
|
1736
|
-
},
|
1737
|
-
{
|
1738
|
-
"include": "source.graphql"
|
1739
|
-
}
|
1740
|
-
],
|
1741
|
-
"beginCaptures": {
|
1742
|
-
"1": {
|
1743
|
-
"name": "entity.name.function.js"
|
1744
|
-
},
|
1745
|
-
"2": {
|
1746
|
-
"name": "punctuation.definition.string.begin.js"
|
1747
|
-
}
|
1748
|
-
},
|
1749
|
-
"endCaptures": {
|
1750
|
-
"0": {
|
1751
|
-
"name": "punctuation.definition.string.end.js"
|
1752
|
-
}
|
1753
|
-
}
|
1754
|
-
},
|
1755
|
-
{
|
1756
|
-
"name": "string.quoted.template.sql.js",
|
1757
|
-
"begin": "(sql|SQL|Sql)\\s*(`)",
|
1758
|
-
"end": "`",
|
1759
|
-
"patterns": [
|
1760
|
-
{
|
1761
|
-
"include": "#string_escapes"
|
1762
|
-
},
|
1763
|
-
{
|
1764
|
-
"include": "#interpolated_js"
|
1765
|
-
},
|
1766
|
-
{
|
1767
|
-
"include": "source.sql"
|
1768
|
-
}
|
1769
|
-
],
|
1770
|
-
"beginCaptures": {
|
1771
|
-
"1": {
|
1772
|
-
"name": "entity.name.function.js"
|
1773
|
-
},
|
1774
|
-
"2": {
|
1775
|
-
"name": "punctuation.definition.string.begin.js"
|
1776
|
-
}
|
1777
|
-
},
|
1778
|
-
"endCaptures": {
|
1779
|
-
"0": {
|
1780
|
-
"name": "punctuation.definition.string.end.js"
|
1781
|
-
}
|
1782
|
-
}
|
1783
|
-
},
|
1784
|
-
{
|
1785
|
-
"name": "string.quoted.template.js",
|
1786
|
-
"begin": "`",
|
1787
|
-
"end": "`",
|
1788
|
-
"patterns": [
|
1789
|
-
{
|
1790
|
-
"include": "#string_escapes"
|
1791
|
-
},
|
1792
|
-
{
|
1793
|
-
"include": "#interpolated_js"
|
1794
|
-
}
|
1795
|
-
],
|
1796
|
-
"beginCaptures": {
|
1797
|
-
"0": {
|
1798
|
-
"name": "punctuation.definition.string.begin.js"
|
1799
|
-
}
|
1800
|
-
},
|
1801
|
-
"endCaptures": {
|
1802
|
-
"0": {
|
1803
|
-
"name": "punctuation.definition.string.end.js"
|
1804
|
-
}
|
1805
|
-
}
|
1806
|
-
}
|
1807
|
-
]
|
1808
|
-
},
|
1809
|
-
"switch_statement": {
|
1810
|
-
"patterns": [
|
1811
|
-
{
|
1812
|
-
"name": "meta.switch-statement.js",
|
1813
|
-
"begin": "\\bswitch\\b",
|
1814
|
-
"end": "}",
|
1815
|
-
"patterns": [
|
1816
|
-
{
|
1817
|
-
"begin": "\\(",
|
1818
|
-
"end": "\\)",
|
1819
|
-
"patterns": [
|
1820
|
-
{
|
1821
|
-
"include": "$self"
|
1822
|
-
}
|
1823
|
-
],
|
1824
|
-
"beginCaptures": {
|
1825
|
-
"0": {
|
1826
|
-
"name": "punctuation.definition.switch-expression.begin.bracket.round.js"
|
1827
|
-
}
|
1828
|
-
},
|
1829
|
-
"endCaptures": {
|
1830
|
-
"0": {
|
1831
|
-
"name": "punctuation.definition.switch-expression.end.bracket.round.js"
|
1832
|
-
}
|
1833
|
-
}
|
1834
|
-
},
|
1835
|
-
{
|
1836
|
-
"begin": "{",
|
1837
|
-
"end": "(?=})",
|
1838
|
-
"patterns": [
|
1839
|
-
{
|
1840
|
-
"begin": "\\bcase\\b",
|
1841
|
-
"end": ":",
|
1842
|
-
"patterns": [
|
1843
|
-
{
|
1844
|
-
"include": "#prevent_object_keys_matching"
|
1845
|
-
},
|
1846
|
-
{
|
1847
|
-
"include": "$self"
|
1848
|
-
}
|
1849
|
-
],
|
1850
|
-
"beginCaptures": {
|
1851
|
-
"0": {
|
1852
|
-
"name": "keyword.control.case.js"
|
1853
|
-
}
|
1854
|
-
},
|
1855
|
-
"endCaptures": {
|
1856
|
-
"0": {
|
1857
|
-
"name": "punctuation.definition.section.case-statement.js"
|
1858
|
-
}
|
1859
|
-
}
|
1860
|
-
},
|
1861
|
-
{
|
1862
|
-
"match": "(?:^\\s*)?\\b(default)\\b\\s*(:)",
|
1863
|
-
"captures": {
|
1864
|
-
"1": {
|
1865
|
-
"name": "keyword.control.default.js"
|
1866
|
-
},
|
1867
|
-
"2": {
|
1868
|
-
"name": "punctuation.definition.section.case-statement.js"
|
1869
|
-
}
|
1870
|
-
}
|
1871
|
-
},
|
1872
|
-
{
|
1873
|
-
"include": "$self"
|
1874
|
-
}
|
1875
|
-
],
|
1876
|
-
"beginCaptures": {
|
1877
|
-
"0": {
|
1878
|
-
"name": "punctuation.definition.section.switch-block.begin.bracket.curly.js"
|
1879
|
-
}
|
1880
|
-
}
|
1881
|
-
}
|
1882
|
-
],
|
1883
|
-
"beginCaptures": {
|
1884
|
-
"0": {
|
1885
|
-
"name": "keyword.control.switch.js"
|
1886
|
-
}
|
1887
|
-
},
|
1888
|
-
"endCaptures": {
|
1889
|
-
"0": {
|
1890
|
-
"name": "punctuation.definition.section.switch-block.end.bracket.curly.js"
|
1891
|
-
}
|
1892
|
-
}
|
1893
|
-
}
|
1894
|
-
]
|
1895
|
-
}
|
1896
|
-
}
|
1897
|
-
}
|
1
|
+
{"name":"JavaScript","scopeName":"source.js","patterns":[{"name":"meta.import.js","begin":"(?\u003c!\\.)\\b(import)(?!\\s*[:(])\\b","end":"(?=;|$)","patterns":[{"begin":"{","end":"}","patterns":[{"match":"(?x)\n(?: \\b(default)\\b | \\b([a-zA-Z_$][\\w$]*)\\b)\n\\s*\n(\\b as \\b)\n\\s*\n(?: (\\b default \\b | \\*) | \\b([a-zA-Z_$][\\w$]*)\\b)","captures":{"1":{"name":"variable.language.default.js"},"2":{"name":"variable.other.module.js"},"3":{"name":"keyword.control.js"},"4":{"name":"invalid.illegal.js"},"5":{"name":"variable.other.module-alias.js"}}},{"name":"meta.delimiter.object.comma.js","match":","},{"include":"#comments"},{"name":"variable.other.module.js","match":"\\b([a-zA-Z_$][\\w$]*)\\b"}],"beginCaptures":{"0":{"name":"punctuation.definition.modules.begin.js"}},"endCaptures":{"0":{"name":"punctuation.definition.modules.end.js"}}},{"match":"(?x)\n(?: \\b(default)\\b | (\\*) | \\b([a-zA-Z_$][\\w$]*)\\b)\n\\s*\n(\\b as \\b)\n\\s*\n(?: (\\b default \\b | \\*) | \\b([a-zA-Z_$][\\w$]*)\\b)","captures":{"1":{"name":"variable.language.default.js"},"2":{"name":"variable.language.import-all.js"},"3":{"name":"variable.other.module.js"},"4":{"name":"keyword.control.js"},"5":{"name":"invalid.illegal.js"},"6":{"name":"variable.other.module-alias.js"}}},{"name":"variable.language.import-all.js","match":"\\*"},{"name":"variable.language.default.js","match":"\\b(default)\\b"},{"include":"#strings"},{"include":"#comments"},{"name":"keyword.control.js","match":"\\b(from)\\b"},{"name":"variable.other.module.js","match":"\\b([a-zA-Z_$][\\w$]*)\\b(?=.*\\bfrom\\b)"},{"name":"meta.delimiter.object.comma.js","match":","}],"beginCaptures":{"1":{"name":"keyword.control.js"}}},{"match":"(?x)\n\\b(export)\\b\\s*\n\\b(default)\\b\\s*\n\\b((?!\\b(?:function|class|let|var|const)\\b)[a-zA-Z_$][\\w$]*)?\\b","captures":{"0":{"name":"meta.export.js"},"1":{"name":"keyword.control.js"},"2":{"name":"variable.language.default.js"},"3":{"name":"variable.other.module.js"}}},{"name":"meta.export.js","begin":"(?\u003c!\\.)\\b(export)(?!\\s*[:(])\\b","end":"(?=;|\\bfunction\\b|\\bclass\\b|\\blet\\b|\\bvar\\b|\\bconst\\b|$)","patterns":[{"include":"#numbers"},{"begin":"(?![a-zA-Z_$0-9]){","end":"}","patterns":[{"match":"(?x)\n(?: \\b(default)\\b | \\b([a-zA-Z_$][\\w$]*)\\b)\n\\s*\n(\\b as \\b)\n\\s*\n(?: \\b(default)\\b | (\\*) | \\b([a-zA-Z_$][\\w$]*)\\b)","captures":{"1":{"name":"variable.language.default.js"},"2":{"name":"variable.other.module.js"},"3":{"name":"keyword.control.js"},"4":{"name":"variable.language.default.js"},"5":{"name":"invalid.illegal.js"},"6":{"name":"variable.other.module-alias.js"}}},{"include":"#comments"},{"name":"meta.delimiter.object.comma.js","match":","},{"name":"variable.other.module.js","match":"\\b([a-zA-Z_$][\\w$]*)\\b"}],"beginCaptures":{"0":{"name":"punctuation.definition.modules.begin.js"}},"endCaptures":{"0":{"name":"punctuation.definition.modules.end.js"}}},{"name":"variable.language.import-all.js","match":"\\*(?=.*\\bfrom\\b)"},{"name":"variable.language.default.js","match":"\\b(default)\\b"},{"include":"#strings"},{"include":"#comments"},{"name":"keyword.control.js","match":"\\b(from)\\b"},{"name":"variable.other.module.js","match":"\\b([a-zA-Z_$][\\w$]*)\\b"},{"name":"meta.delimiter.object.comma.js","match":","},{"include":"#operators"}],"beginCaptures":{"1":{"name":"keyword.control.js"}}},{"name":"variable.language.js","match":"(?:(?\u003c=\\.{3})|(?\u003c!\\.)\\b)(?\u003c!\\$)(super|this|arguments)(?!\\s*:|\\$)\\b"},{"begin":"(?=(\\basync\\b\\s*)?\\bfunction\\b(?!\\s*:))","end":"(?\u003c=})","patterns":[{"include":"#comments"},{"include":"#function_body"},{"name":"meta.function.js","begin":"\\G","end":"(?\u003c=\\))","patterns":[{"include":"#function_innards"}]}]},{"begin":"(?=(\\.)?[a-zA-Z_$][\\w$]*\\s*=\\s*(\\basync\\b\\s*)?\\bfunction\\b)","end":"(?\u003c=})","patterns":[{"include":"#comments"},{"include":"#function_body"},{"name":"meta.function.js","begin":"\\G","end":"(?!\\G)(?\u003c=\\))","patterns":[{"match":"(\\.)?([a-zA-Z_$][\\w$]*)\\s*(=)\\s*","captures":{"1":{"name":"meta.delimiter.method.period.js"},"2":{"name":"entity.name.function.js"},"3":{"name":"keyword.operator.assignment.js"}}},{"include":"#function_innards"}]}]},{"begin":"(?=\\b[a-zA-Z_$][\\w$]*\\s*:\\s*(\\basync\\b\\s*)?\\bfunction\\b)","end":"(?\u003c=})","patterns":[{"include":"#comments"},{"include":"#function_body"},{"name":"meta.function.json.js","begin":"\\G","end":"(?\u003c=\\))","patterns":[{"match":"\\b([a-zA-Z_$][\\w$]*)\\s*(:)\\s*","captures":{"1":{"name":"entity.name.function.js"},"2":{"name":"keyword.operator.assignment.js"}}},{"include":"#function_innards"}]}]},{"begin":"(?=(('[^']*?')|(\"[^\"]*?\"))\\s*:\\s*(\\basync\\b\\s*)?\\bfunction\\b)","end":"(?\u003c=})","patterns":[{"include":"#comments"},{"include":"#function_body"},{"name":"meta.function.json.js","begin":"\\G","end":"(?\u003c=\\))","patterns":[{"match":"(?:((')([^']*?)('))|((\")([^\"]*?)(\")))\\s*(:)","captures":{"1":{"name":"string.quoted.single.js"},"2":{"name":"punctuation.definition.string.begin.js"},"3":{"name":"entity.name.function.js"},"4":{"name":"punctuation.definition.string.end.js"},"5":{"name":"string.quoted.double.js"},"6":{"name":"punctuation.definition.string.begin.js"},"7":{"name":"entity.name.function.js"},"8":{"name":"punctuation.definition.string.end.js"},"9":{"name":"keyword.operator.assignment.js"}}},{"include":"#function_innards"}]}]},{"begin":"(?=\\bconstructor\\b\\s*)","end":"(?\u003c=})","patterns":[{"include":"#comments"},{"include":"#function_body"},{"name":"meta.function.js","begin":"\\G","end":"(?\u003c=\\))","patterns":[{"name":"entity.name.function.constructor.js","match":"\\b(constructor)\\s*"},{"include":"#function_innards"}]}]},{"begin":"(?x)\n(?=\n (?!\n (break|case|catch|continue|do|else|finally|for|function|if|\n return|switch|throw|try|while|with)\n [\\s\\(]\n )\n (\n \\b(get|set) # Property getter/setter: get foo(){}\n (?:\\s+|(?=\\[)) # Followed by whitespace or square bracket\n )?+\n ( # Method name\n \\b[a-zA-Z_$][\\w$]* # Fixed name\n |\n \\[ # Computed property key\n [^\\[\\]]++ # Contains at least one non-brace character\n \\]\n )\n \\s*\\(\\s* # Start of arguments list\n (\n \"[^\"]*\" | # Double-quoted string\n '[^']*' | # Single-quoted string\n [^\"()'] # Any non-bracket or non-quote\n )*\n \\)\\s* # End of arguments\n { # Beginning of body\n)","end":"(?\u003c=})","patterns":[{"include":"#comments"},{"include":"#function_body"},{"name":"meta.function.method.definition.js","begin":"\\G","end":"(?\u003c=\\))","patterns":[{"name":"meta.computed-key.js","match":"(\\[)(.+)(\\])(?=\\s*\\()","captures":{"1":{"name":"punctuation.definition.computed-key.begin.bracket.square.js"},"2":{"patterns":[{"include":"$self"},{"name":"variable.parameter.property.js","match":"[a-zA-Z_$][\\w$]*"}]},"3":{"name":"punctuation.definition.computed-key.end.bracket.square.js"}}},{"name":"keyword.operator.$1ter.js","match":"\\b(get|set)(?=\\s*\\[.+\\]\\s*\\(|\\s+[^\\s\\[(]+\\s*\\()"},{"name":"entity.name.function.js","match":"\\b([a-zA-Z_$][\\w$]*)"},{"include":"#function_params"}]}]},{"begin":"(?x)\n(?=\n (?\u003c![A-Za-z0-9])\n ((\\(([^\\(\\)]*)?\\))|[\\w$]+)\n \\s*=\u003e\n)","end":"(?x)\n(?\u003c=})|\n((?!\n \\s*{|\n \\G\\(|\n \\G[\\w$]+|\n \\s*/\\*|\\s*//\n)(?=\\s*\\S))","patterns":[{"include":"#comments"},{"include":"#function_body"},{"name":"meta.function.arrow.js","begin":"\\G","end":"(?\u003c=(=\u003e))","patterns":[{"include":"#arrow_function_innards"}]}]},{"begin":"(?x)\n(?=\n (\\.)?[a-zA-Z_$][\\w$]*\n \\s*(=)\\s*\n ((\\(([^\\(\\)]*)?\\))|[\\w$]+)\n \\s*=\u003e\n)","end":"(?x)\n(?\u003c=})|\n((?!\n \\s*{|\n \\G(\\.)?[a-zA-Z_$][\\w$]*\\s*(=)\\s*\\(|\n \\G(\\.)?[a-zA-Z_$][\\w$]*\\s*(=)\\s*[\\w$]+|\n \\s*/\\*|\\s*//\n)(?=\\s*\\S))","patterns":[{"include":"#comments"},{"include":"#function_body"},{"name":"meta.function.arrow.js","begin":"\\G","end":"(?\u003c=(=\u003e))","patterns":[{"match":"\\G(\\.)?([a-zA-Z_$][\\w$]*)\\s*(=)","captures":{"1":{"name":"meta.delimiter.method.period.js"},"2":{"name":"entity.name.function.js"},"3":{"name":"keyword.operator.assignment.js"}}},{"include":"#arrow_function_innards"}]}]},{"begin":"(?x)\n(?=\n \\b[a-zA-Z_$][\\w$]*\n \\s*:\\s*\n ((\\(([^\\(\\)]*)?\\))|[\\w$]+)\n \\s*=\u003e\n)","end":"(?x)\n(?\u003c=})|\n((?!\n \\s*{|\n \\G[\\w$]+\\s*:|\n \\s*/\\*|\\s*//\n)(?=\\s*\\S))","patterns":[{"include":"#comments"},{"include":"#function_body"},{"name":"meta.function.arrow.json.js","begin":"\\G","end":"(?\u003c=(=\u003e))","patterns":[{"match":"\\b([a-zA-Z_$][\\w$]*)\\s*(:)\\s*","captures":{"1":{"name":"entity.name.function.js"},"2":{"name":"keyword.operator.assignment.js"}}},{"include":"#arrow_function_innards"}]}]},{"begin":"(?x)\n(?=\n (('[^']*?')|(\"[^\"]*?\"))\n \\s*:\\s*\n ((\\(([^\\(\\)]*)?\\))|[\\w$]+)\n \\s*=\u003e\n)","end":"(?x)\n(?\u003c=})|\n((?!\n \\G(('[^']*?')|(\"[^\"]*?\"))|\n \\s*{|\n \\s*/\\*|\\s*//\n)(?=\\s*\\S))","patterns":[{"include":"#comments"},{"include":"#function_body"},{"name":"meta.function.arrow.json.js","begin":"\\G","end":"(?\u003c=(=\u003e))","patterns":[{"match":"(?:((')([^']*?)('))|((\")([^\"]*?)(\")))\\s*(:)","captures":{"1":{"name":"string.quoted.single.js"},"2":{"name":"punctuation.definition.string.begin.js"},"3":{"name":"entity.name.function.js"},"4":{"name":"punctuation.definition.string.end.js"},"5":{"name":"string.quoted.double.js"},"6":{"name":"punctuation.definition.string.begin.js"},"7":{"name":"entity.name.function.js"},"8":{"name":"punctuation.definition.string.end.js"},"9":{"name":"keyword.operator.assignment.js"}}},{"include":"#arrow_function_innards"}]}]},{"match":"(=\u003e)","captures":{"0":{"name":"meta.function.arrow.js"},"1":{"name":"storage.type.function.arrow.js"}}},{"name":"meta.class.js","match":"(?x)\n\\b(class)\n(?:\n (?:\\s+(extends)\\s+([a-zA-Z_$][\\w$]*))\n |\n (?:\n (?:\\s+([a-zA-Z_$][\\w$]*))\n (?:\\s+(extends)\\s+([a-zA-Z_$][\\w$]*))?\n )\n)","captures":{"1":{"name":"storage.type.class.js"},"2":{"name":"storage.modifier.js"},"3":{"name":"entity.other.inherited-class.js"},"4":{"name":"entity.name.type.class.js"},"5":{"name":"storage.modifier.js"},"6":{"name":"entity.other.inherited-class.js"}}},{"name":"meta.class.instance.constructor.js","match":"(new)\\s+([\\w$]+[\\w.$]*)","captures":{"1":{"name":"keyword.operator.new.js"},"2":{"name":"entity.name.type.instance.js","patterns":[{"name":"meta.delimiter.property.period.js","match":"\\."}]}}},{"begin":"(?\u003c![\\w$])console(?![\\w$]|\\s*:)","end":"(?x)\n(?\u003c=\\)) | (?=\n (?! (\\s*//)|(\\s*/\\*)|(\\s*(\\.)\\s*\n (assert|clear|debug|error|info|log|profile|profileEnd|time|timeEnd|warn)\n \\s*\\(\n )) \\s*\\S\n)","patterns":[{"include":"#comments"},{"name":"meta.method-call.js","begin":"\\s*(\\.)\\s*(\\w+)\\s*(?=\\()","end":"(?\u003c=\\))","patterns":[{"include":"#arguments"}],"beginCaptures":{"1":{"name":"meta.delimiter.method.period.js"},"2":{"name":"support.function.console.js"}}}],"beginCaptures":{"0":{"name":"entity.name.type.object.console.js"}}},{"begin":"(?\u003c![\\w$])Math(?![\\w$]|\\s*:)","end":"(?x)\n(?\u003c=E|LN10|LN2|LOG10E|LOG2E|PI|SQRT1_2|SQRT2|\\)\n) | (?=\n (?! (\\s*//)|(\\s*/\\*)|(\\s*\\.\\s* (\n ((abs|acos|acosh|asin|asinh|atan|atan2|atanh|cbrt|ceil|clz32|cos|cosh|exp|\n expm1|floor|fround|hypot|imul|log|log10|log1p|log2|max|min|pow|random|\n round|sign|sin|sinh|sqrt|tan|tanh|trunc)\\s*\\(\n ) | (E|LN10|LN2|LOG10E|LOG2E|PI|SQRT1_2|SQRT2)(?!\\s*[\\w$(]))\n )) \\s*\\S\n)","patterns":[{"include":"#comments"},{"name":"meta.method-call.js","begin":"\\s*(\\.)\\s*(\\w+)\\s*(?=\\()","end":"(?\u003c=\\))","patterns":[{"include":"#arguments"}],"beginCaptures":{"1":{"name":"meta.delimiter.method.period.js"},"2":{"name":"support.function.math.js"}}},{"match":"\\s*(\\.)\\s*(\\w+)\\b","captures":{"1":{"name":"meta.delimiter.property.period.js"},"2":{"name":"support.constant.property.math.js"}}}],"beginCaptures":{"0":{"name":"support.class.math.js"}}},{"begin":"(?\u003c![\\w$])Promise(?![\\w$]|\\s*:)","end":"(?x)\n(?\u003c=\\)) | (?=\n (?! (\\s*//)|(\\s*/\\*)|(\\s*\\.\\s*(all|race|reject|resolve)\\s*\\() )\\s*\\S\n)","patterns":[{"include":"#comments"},{"name":"meta.method-call.js","begin":"\\s*(\\.)\\s*(\\w+)\\s*(?=\\()","end":"(?\u003c=\\))","patterns":[{"include":"#arguments"}],"beginCaptures":{"1":{"name":"meta.delimiter.method.period.js"},"2":{"name":"support.function.promise.js"}}}],"beginCaptures":{"0":{"name":"support.class.promise.js"}}},{"include":"#strings"},{"include":"#comments"},{"name":"comment.block.html.js","match":"(\u003c!--|--\u003e)","captures":{"0":{"name":"punctuation.definition.comment.html.js"},"2":{"name":"punctuation.definition.comment.html.js"}}},{"name":"storage.type.js","match":"(?\u003c!\\.)\\b(class|enum|function|interface)(?!\\s*:)\\b"},{"name":"storage.modifier.js","match":"(?\u003c!\\.)\\b(async|export|extends|implements|private|protected|public|static)(?!\\s*:)\\b"},{"name":"storage.type.var.js","match":"(?\u003c!\\.)\\b(let|var)(?!\\s*:)\\b"},{"begin":"(?\u003c!\\.)\\b(const)(?!\\s*:)\\b","end":"(\\bof\\b|\\bin\\b)|(;)|(=)|(?\u003c![,{])\\n","patterns":[{"match":"([$_a-zA-Z][$_a-zA-Z0-9]*)\\s*(:)\\s*([$_a-zA-Z][$_a-zA-Z0-9]*)?","captures":{"2":{"name":"keyword.operator.assignment.js"},"3":{"name":"constant.other.js"}}},{"match":"([$_a-zA-Z][$_a-zA-Z0-9]*)","captures":{"1":{"name":"constant.other.js"}}},{"name":"keyword.operator.spread.js","match":"\\.\\.\\."},{"name":"meta.delimiter.object.comma.js","match":","},{"name":"meta.brace.round.js","match":"\\(|\\)"},{"name":"meta.brace.curly.js","match":"{|}"},{"name":"meta.brace.square.js","match":"\\[|\\]"},{"include":"#comments"}],"beginCaptures":{"1":{"name":"storage.type.const.js"}},"endCaptures":{"1":{"name":"keyword.operator.$1.js"},"2":{"name":"punctuation.terminator.statement.js"},"3":{"name":"keyword.operator.assignment.js"}}},{"name":"meta.control.yield.js","match":"(?\u003c!\\.)\\b(yield)(?!\\s*:)\\b(?:\\s*(\\*))?","captures":{"1":{"name":"keyword.control.js"},"2":{"name":"storage.modifier.js"}}},{"name":"keyword.control.js","match":"(?:(?\u003c=\\.{3})|(?\u003c!\\.))\\b(await)(?!\\s*:)\\b"},{"name":"keyword.control.js","match":"(?\u003c!\\.)\\b(break|catch|continue|do|else|finally|for|if|import|package|return|throw|try|while|with)(?!\\s*:)\\b"},{"include":"#switch_statement"},{"name":"keyword.operator.$1.js","match":"(?\u003c!\\.)\\b(delete|in|of|instanceof|new|typeof|void)(?!\\s*:)\\b"},{"name":"keyword.operator.spread.js","match":"\\.\\.\\."},{"name":"constant.language.boolean.$1.js","match":"(?\u003c!\\.)\\b(true|false)(?!\\s*:)\\b"},{"name":"constant.language.null.js","match":"(?\u003c!\\.)\\b(null)(?!\\s*:)\\b"},{"name":"keyword.other.debugger.js","match":"(?\u003c!\\.)\\b(debugger)(?!\\s*:)\\b"},{"name":"support.class.js","match":"(?x) (?\u003c!\\$) \\b\n(Array|ArrayBuffer|Atomics|Boolean|DataView|Date|Error|EvalError|Float32Array|Float64Array|Function|Generator\n|GeneratorFunction|Int16Array|Int32Array|Int8Array|InternalError|Intl|JSON|Map|Number|Object|Proxy\n|RangeError|ReferenceError|Reflect|RegExp|Set|SharedArrayBuffer|SIMD|String|Symbol|SyntaxError|TypeError\n|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|URIError|WeakMap|WeakSet)\n\\b"},{"match":"(?x) (\\.) \\s* (?:\n (constructor|length|prototype) |\n (EPSILON|MAX_SAFE_INTEGER|MAX_VALUE|MIN_SAFE_INTEGER|MIN_VALUE|NEGATIVE_INFINITY|POSITIVE_INFINITY)\n)\\b","captures":{"1":{"name":"meta.delimiter.property.period.js"},"2":{"name":"support.variable.property.js"},"3":{"name":"support.constant.js"}}},{"match":"(?x) (?\u003c!\\$) \\b (?:\n (document|event|navigator|performance|screen|window|self|frames)\n |\n (AnalyserNode|ArrayBufferView|Attr|AudioBuffer|AudioBufferSourceNode|AudioContext|AudioDestinationNode|AudioListener\n |AudioNode|AudioParam|BatteryManager|BeforeUnloadEvent|BiquadFilterNode|Blob|BufferSource|ByteString|CSS|CSSConditionRule\n |CSSCounterStyleRule|CSSGroupingRule|CSSMatrix|CSSMediaRule|CSSPageRule|CSSPrimitiveValue|CSSRule|CSSRuleList|CSSStyleDeclaration\n |CSSStyleRule|CSSStyleSheet|CSSSupportsRule|CSSValue|CSSValueList|CanvasGradient|CanvasImageSource|CanvasPattern\n |CanvasRenderingContext2D|ChannelMergerNode|ChannelSplitterNode|CharacterData|ChromeWorker|CloseEvent|Comment|CompositionEvent\n |Console|ConvolverNode|Coordinates|Credential|CredentialsContainer|Crypto|CryptoKey|CustomEvent|DOMError|DOMException\n |DOMHighResTimeStamp|DOMImplementation|DOMString|DOMStringList|DOMStringMap|DOMTimeStamp|DOMTokenList|DataTransfer\n |DataTransferItem|DataTransferItemList|DedicatedWorkerGlobalScope|DelayNode|DeviceProximityEvent|DirectoryEntry\n |DirectoryEntrySync|DirectoryReader|DirectoryReaderSync|Document|DocumentFragment|DocumentTouch|DocumentType|DragEvent\n |DynamicsCompressorNode|Element|Entry|EntrySync|ErrorEvent|Event|EventListener|EventSource|EventTarget|FederatedCredential\n |FetchEvent|File|FileEntry|FileEntrySync|FileException|FileList|FileReader|FileReaderSync|FileSystem|FileSystemSync\n |FontFace|FormData|GainNode|Gamepad|GamepadButton|GamepadEvent|Geolocation|GlobalEventHandlers|HTMLAnchorElement\n |HTMLAreaElement|HTMLAudioElement|HTMLBRElement|HTMLBaseElement|HTMLBodyElement|HTMLButtonElement|HTMLCanvasElement\n |HTMLCollection|HTMLContentElement|HTMLDListElement|HTMLDataElement|HTMLDataListElement|HTMLDialogElement|HTMLDivElement\n |HTMLDocument|HTMLElement|HTMLEmbedElement|HTMLFieldSetElement|HTMLFontElement|HTMLFormControlsCollection|HTMLFormElement\n |HTMLHRElement|HTMLHeadElement|HTMLHeadingElement|HTMLHtmlElement|HTMLIFrameElement|HTMLImageElement|HTMLInputElement\n |HTMLKeygenElement|HTMLLIElement|HTMLLabelElement|HTMLLegendElement|HTMLLinkElement|HTMLMapElement|HTMLMediaElement\n |HTMLMetaElement|HTMLMeterElement|HTMLModElement|HTMLOListElement|HTMLObjectElement|HTMLOptGroupElement|HTMLOptionElement\n |HTMLOptionsCollection|HTMLOutputElement|HTMLParagraphElement|HTMLParamElement|HTMLPreElement|HTMLProgressElement\n |HTMLQuoteElement|HTMLScriptElement|HTMLSelectElement|HTMLShadowElement|HTMLSourceElement|HTMLSpanElement|HTMLStyleElement\n |HTMLTableCaptionElement|HTMLTableCellElement|HTMLTableColElement|HTMLTableDataCellElement|HTMLTableElement|HTMLTableHeaderCellElement\n |HTMLTableRowElement|HTMLTableSectionElement|HTMLTextAreaElement|HTMLTimeElement|HTMLTitleElement|HTMLTrackElement\n |HTMLUListElement|HTMLUnknownElement|HTMLVideoElement|HashChangeEvent|History|IDBCursor|IDBCursorWithValue|IDBDatabase\n |IDBEnvironment|IDBFactory|IDBIndex|IDBKeyRange|IDBMutableFile|IDBObjectStore|IDBOpenDBRequest|IDBRequest|IDBTransaction\n |IDBVersionChangeEvent|IIRFilterNode|IdentityManager|ImageBitmap|ImageBitmapFactories|ImageData|Index|InputDeviceCapabilities\n |InputEvent|InstallEvent|InstallTrigger|KeyboardEvent|LinkStyle|LocalFileSystem|LocalFileSystemSync|Location|MIDIAccess\n |MIDIConnectionEvent|MIDIInput|MIDIInputMap|MIDIOutputMap|MediaElementAudioSourceNode|MediaError|MediaKeyMessageEvent\n |MediaKeySession|MediaKeyStatusMap|MediaKeySystemAccess|MediaKeySystemConfiguration|MediaKeys|MediaRecorder|MediaStream\n |MediaStreamAudioDestinationNode|MediaStreamAudioSourceNode|MessageChannel|MessageEvent|MessagePort|MouseEvent\n |MutationObserver|MutationRecord|NamedNodeMap|Navigator|NavigatorConcurrentHardware|NavigatorGeolocation|NavigatorID\n |NavigatorLanguage|NavigatorOnLine|Node|NodeFilter|NodeIterator|NodeList|NonDocumentTypeChildNode|Notification\n |OfflineAudioCompletionEvent|OfflineAudioContext|OscillatorNode|PageTransitionEvent|PannerNode|ParentNode|PasswordCredential\n |Path2D|PaymentAddress|PaymentRequest|PaymentResponse|Performance|PerformanceEntry|PerformanceFrameTiming|PerformanceMark\n |PerformanceMeasure|PerformanceNavigation|PerformanceNavigationTiming|PerformanceObserver|PerformanceObserverEntryList\n |PerformanceResourceTiming|PerformanceTiming|PeriodicSyncEvent|PeriodicWave|Plugin|Point|PointerEvent|PopStateEvent\n |PortCollection|Position|PositionError|PositionOptions|PresentationConnectionClosedEvent|PresentationConnectionList\n |PresentationReceiver|ProcessingInstruction|ProgressEvent|PromiseRejectionEvent|PushEvent|PushRegistrationManager\n |RTCCertificate|RTCConfiguration|RTCPeerConnection|RTCSessionDescriptionCallback|RTCStatsReport|RadioNodeList|RandomSource\n |Range|ReadableByteStream|RenderingContext|SVGAElement|SVGAngle|SVGAnimateColorElement|SVGAnimateElement|SVGAnimateMotionElement\n |SVGAnimateTransformElement|SVGAnimatedAngle|SVGAnimatedBoolean|SVGAnimatedEnumeration|SVGAnimatedInteger|SVGAnimatedLength\n |SVGAnimatedLengthList|SVGAnimatedNumber|SVGAnimatedNumberList|SVGAnimatedPoints|SVGAnimatedPreserveAspectRatio\n |SVGAnimatedRect|SVGAnimatedString|SVGAnimatedTransformList|SVGAnimationElement|SVGCircleElement|SVGClipPathElement\n |SVGCursorElement|SVGDefsElement|SVGDescElement|SVGElement|SVGEllipseElement|SVGEvent|SVGFilterElement|SVGFontElement\n |SVGFontFaceElement|SVGFontFaceFormatElement|SVGFontFaceNameElement|SVGFontFaceSrcElement|SVGFontFaceUriElement\n |SVGForeignObjectElement|SVGGElement|SVGGlyphElement|SVGGradientElement|SVGHKernElement|SVGImageElement|SVGLength\n |SVGLengthList|SVGLineElement|SVGLinearGradientElement|SVGMPathElement|SVGMaskElement|SVGMatrix|SVGMissingGlyphElement\n |SVGNumber|SVGNumberList|SVGPathElement|SVGPatternElement|SVGPoint|SVGPolygonElement|SVGPolylineElement|SVGPreserveAspectRatio\n |SVGRadialGradientElement|SVGRect|SVGRectElement|SVGSVGElement|SVGScriptElement|SVGSetElement|SVGStopElement|SVGStringList\n |SVGStylable|SVGStyleElement|SVGSwitchElement|SVGSymbolElement|SVGTRefElement|SVGTSpanElement|SVGTests|SVGTextElement\n |SVGTextPositioningElement|SVGTitleElement|SVGTransform|SVGTransformList|SVGTransformable|SVGUseElement|SVGVKernElement\n |SVGViewElement|ServiceWorker|ServiceWorkerContainer|ServiceWorkerGlobalScope|ServiceWorkerRegistration|ServiceWorkerState\n |ShadowRoot|SharedWorker|SharedWorkerGlobalScope|SourceBufferList|StereoPannerNode|Storage|StorageEvent|StyleSheet\n |StyleSheetList|SubtleCrypto|SyncEvent|Text|TextMetrics|TimeEvent|TimeRanges|Touch|TouchEvent|TouchList|Transferable\n |TreeWalker|UIEvent|USVString|VRDisplayCapabilities|ValidityState|WaveShaperNode|WebGL|WebGLActiveInfo|WebGLBuffer\n |WebGLContextEvent|WebGLFramebuffer|WebGLProgram|WebGLRenderbuffer|WebGLRenderingContext|WebGLShader|WebGLShaderPrecisionFormat\n |WebGLTexture|WebGLTimerQueryEXT|WebGLTransformFeedback|WebGLUniformLocation|WebGLVertexArrayObject|WebGLVertexArrayObjectOES\n |WebSocket|WebSockets|WebVTT|WheelEvent|Window|WindowBase64|WindowEventHandlers|WindowTimers|Worker|WorkerGlobalScope\n |WorkerLocation|WorkerNavigator|XMLHttpRequest|XMLHttpRequestEventTarget|XMLSerializer|XPathExpression|XPathResult\n |XSLTProcessor)\n)\\b","captures":{"1":{"name":"support.variable.dom.js"},"2":{"name":"support.class.dom.js"}}},{"match":"(?x) (\\.) \\s*\n(?:\n (ATTRIBUTE_NODE|CDATA_SECTION_NODE|COMMENT_NODE|DOCUMENT_FRAGMENT_NODE|DOCUMENT_NODE|DOCUMENT_TYPE_NODE\n |DOMSTRING_SIZE_ERR|ELEMENT_NODE|ENTITY_NODE|ENTITY_REFERENCE_NODE|HIERARCHY_REQUEST_ERR|INDEX_SIZE_ERR\n |INUSE_ATTRIBUTE_ERR|INVALID_CHARACTER_ERR|NO_DATA_ALLOWED_ERR|NO_MODIFICATION_ALLOWED_ERR|NOT_FOUND_ERR\n |NOT_SUPPORTED_ERR|NOTATION_NODE|PROCESSING_INSTRUCTION_NODE|TEXT_NODE|WRONG_DOCUMENT_ERR)\n |\n (_content|[xyz]|abbr|above|accept|acceptCharset|accessKey|action|align|[av]Link(?:color)?|all|alt|anchors|appCodeName\n |appCore|applets|appMinorVersion|appName|appVersion|archive|areas|arguments|attributes|availHeight|availLeft|availTop\n |availWidth|axis|background|backgroundColor|backgroundImage|below|bgColor|body|border|borderBottomWidth|borderColor\n |borderLeftWidth|borderRightWidth|borderStyle|borderTopWidth|borderWidth|bottom|bufferDepth|callee|caller|caption\n |cellPadding|cells|cellSpacing|ch|characterSet|charset|checked|childNodes|chOff|cite|classes|className|clear\n |clientInformation|clip|clipBoardData|closed|code|codeBase|codeType|color|colorDepth|cols|colSpan|compact|complete\n |components|content|controllers|cookie|cookieEnabled|cords|cpuClass|crypto|current|data|dateTime|declare|defaultCharset\n |defaultChecked|defaultSelected|defaultStatus|defaultValue|defaultView|defer|description|dialogArguments|dialogHeight\n |dialogLeft|dialogTop|dialogWidth|dir|directories|disabled|display|docmain|doctype|documentElement|elements|embeds\n |enabledPlugin|encoding|enctype|entities|event|expando|external|face|fgColor|filename|firstChild|fontFamily|fontSize\n |fontWeight|form|formName|forms|frame|frameBorder|frameElement|frames|hasFocus|hash|headers|height|history|host\n |hostname|href|hreflang|hspace|htmlFor|httpEquiv|id|ids|ignoreCase|images|implementation|index|innerHeight|innerWidth\n |input|isMap|label|lang|language|lastChild|lastIndex|lastMatch|lastModified|lastParen|layer[sXY]|left|leftContext\n |lineHeight|link|linkColor|links|listStyleType|localName|location|locationbar|longDesc|lowsrc|lowSrc|marginBottom\n |marginHeight|marginLeft|marginRight|marginTop|marginWidth|maxLength|media|menubar|method|mimeTypes|multiline|multiple\n |name|nameProp|namespaces|namespaceURI|next|nextSibling|nodeName|nodeType|nodeValue|noHref|noResize|noShade|notationName\n |notations|noWrap|object|offscreenBuffering|onLine|onreadystatechange|opener|opsProfile|options|oscpu|outerHeight\n |outerWidth|ownerDocument|paddingBottom|paddingLeft|paddingRight|paddingTop|page[XY]|page[XY]Offset|parent|parentLayer\n |parentNode|parentWindow|pathname|personalbar|pixelDepth|pkcs11|platform|plugins|port|prefix|previous|previousDibling\n |product|productSub|profile|profileend|prompt|prompter|protocol|publicId|readOnly|readyState|referrer|rel|responseText\n |responseXML|rev|right|rightContext|rowIndex|rows|rowSpan|rules|scheme|scope|screen[XY]|screenLeft|screenTop|scripts\n |scrollbars|scrolling|sectionRowIndex|security|securityPolicy|selected|selectedIndex|selection|self|shape|siblingAbove\n |siblingBelow|size|source|specified|standby|start|status|statusbar|statusText|style|styleSheets|suffixes|summary\n |systemId|systemLanguage|tagName|tags|target|tBodies|text|textAlign|textDecoration|textIndent|textTransform|tFoot|tHead\n |title|toolbar|top|type|undefined|uniqueID|updateInterval|URL|URLUnencoded|useMap|userAgent|userLanguage|userProfile\n |vAlign|value|valueType|vendor|vendorSub|version|visibility|vspace|whiteSpace|width|X[MS]LDocument|zIndex)\n)\n\\b","captures":{"1":{"name":"meta.delimiter.property.period.js"},"2":{"name":"support.constant.dom.js"},"3":{"name":"support.variable.property.dom.js"}}},{"name":"support.variable.js","match":"(?\u003c!\\.)\\b(module|exports|__filename|__dirname|global|globalThis|process)(?!\\s*:)\\b"},{"name":"constant.language.js","match":"\\b(Infinity|NaN|undefined)\\b"},{"name":"string.regexp.js","begin":"(?\u003c=[\\[{=(?:+*,!~-]|^|return|=\u003e|\u0026\u0026|\\|\\|)\\s*(/)(?![/*+?])(?=.*/)","end":"(/)([gimsuy]*)","patterns":[{"include":"source.js.regexp"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.js"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.js"},"2":{"name":"meta.flag.regexp"}}},{"begin":"\\?","end":":","patterns":[{"include":"#prevent_object_keys_matching"},{"include":"$self"}],"beginCaptures":{"0":{"name":"keyword.operator.ternary.js"}},"endCaptures":{"0":{"name":"keyword.operator.ternary.js"}}},{"include":"#operators"},{"include":"#method_calls"},{"include":"#function_calls"},{"include":"#numbers"},{"include":"#objects"},{"include":"#properties"},{"name":"constant.other.js","match":"((?\u003c!\\.|[\\w$])(?![_\\$]+[^A-Z0-9_$])\\$*\\b(?:[A-Z_$][A-Z0-9_$]*)\\b\\$*)"},{"name":"invalid.illegal.identifier.js","match":"(?\u003c!\\$)\\b[0-9]+[\\w$]*"},{"name":"punctuation.terminator.statement.js","match":"\\;"},{"name":"meta.delimiter.object.comma.js","match":","},{"name":"meta.delimiter.method.period.js","match":"\\."},{"match":"({)(})","captures":{"1":{"name":"punctuation.section.scope.begin.js"},"2":{"name":"punctuation.section.scope.end.js"}}},{"begin":"{","end":"}","patterns":[{"include":"$self"}],"beginCaptures":{"0":{"name":"meta.brace.curly.js"}},"endCaptures":{"0":{"name":"meta.brace.curly.js"}}},{"begin":"\\(","end":"\\)","patterns":[{"include":"$self"}],"beginCaptures":{"0":{"name":"meta.brace.round.js"}},"endCaptures":{"0":{"name":"meta.brace.round.js"}}},{"name":"meta.brace.square.js","match":"\\[|\\]"},{"name":"comment.line.shebang.js","match":"\\A#!.*$"}],"repository":{"arguments":{"patterns":[{"name":"meta.arguments.js","begin":"\\(","end":"\\)","patterns":[{"include":"$self"}],"beginCaptures":{"0":{"name":"punctuation.definition.arguments.begin.bracket.round.js"}},"endCaptures":{"0":{"name":"punctuation.definition.arguments.end.bracket.round.js"}}}]},"arrow_function_innards":{"patterns":[{"name":"storage.type.function.arrow.js","match":"=\u003e"},{"include":"#function_params"},{"match":"([a-zA-Z_$][\\w$]*)(?=\\s*=\u003e)","captures":{"0":{"name":"meta.parameters.js"},"1":{"name":"variable.parameter.function.js"}}},{"match":"(\\d[\\w$]*)","captures":{"0":{"name":"meta.parameters.js"},"1":{"name":"invalid.illegal.identifier.js"}}}]},"comments":{"patterns":[{"name":"comment.block.empty.js","match":"(/\\*)(\\*/)","captures":{"1":{"name":"punctuation.definition.comment.begin.js"},"2":{"name":"punctuation.definition.comment.end.js"}}},{"name":"comment.block.documentation.js","begin":"/\\*\\*","end":"\\*/","patterns":[{"include":"source.jsdoc"}],"beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.js"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.js"}}},{"name":"comment.block.js","begin":"/\\*","end":"\\*/","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.js"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.js"}}},{"name":"comment.line.double-slash.js","begin":"//","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.js"}}}]},"function_body":{"patterns":[{"begin":"{","end":"}","patterns":[{"include":"$self"}],"beginCaptures":{"0":{"name":"punctuation.definition.function.body.begin.bracket.curly.js"}},"endCaptures":{"0":{"name":"punctuation.definition.function.body.end.bracket.curly.js"}}}]},"function_calls":{"patterns":[{"name":"meta.function-call.js","begin":"([\\w$]+)\\s*(?=\\()","end":"(?\u003c=\\))","patterns":[{"include":"#arguments"}],"beginCaptures":{"1":{"patterns":[{"name":"support.function.js","match":"(?x)\n\\b(isNaN|isFinite|eval|uneval|parseInt|parseFloat|decodeURI|\ndecodeURIComponent|encodeURI|encodeURIComponent|escape|unescape|\nrequire|set(Interval|Timeout)|clear(Interval|Timeout))\\b"},{"name":"entity.name.function.js","match":"[a-zA-Z_$][\\w$]*"},{"name":"invalid.illegal.identifier.js","match":"\\d[\\w$]*"}]}}}]},"function_innards":{"patterns":[{"match":"(?:\\b(async)\\b\\s*)?\\b(function)\\b(?:\\s*(\\*))?","captures":{"1":{"name":"storage.modifier.async.js"},"2":{"name":"storage.type.function.js"},"3":{"name":"storage.modifier.generator.js"}}},{"name":"entity.name.function.js","match":"[a-zA-Z_$][\\w$]*(?=\\s*\\()"},{"include":"#function_params"},{"include":"#comments"}]},"function_params":{"patterns":[{"name":"meta.parameters.js","begin":"\\(","end":"\\)","patterns":[{"match":"(\\.\\.\\.)([a-zA-Z_$][\\w$]*)","captures":{"1":{"name":"keyword.operator.spread.js"},"2":{"name":"variable.parameter.rest.function.js"}}},{"include":"$self"},{"name":"variable.parameter.function.js","match":"[a-zA-Z_$][\\w$]*"}],"beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.bracket.round.js"}},"endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.js"}}}]},"interpolated_js":{"patterns":[{"name":"source.js.embedded.source","begin":"\\${","end":"}","patterns":[{"begin":"{","end":"}","patterns":[{"include":"$self"}],"beginCaptures":{"0":{"name":"meta.brace.curly.js"}},"endCaptures":{"0":{"name":"meta.brace.curly.js"}}},{"include":"$self"}],"captures":{"0":{"name":"punctuation.section.embedded.js"}}}]},"method_calls":{"patterns":[{"name":"meta.method-call.js","begin":"(\\.)\\s*([\\w$]+)\\s*(?=\\()","end":"(?\u003c=\\))","patterns":[{"include":"#arguments"}],"beginCaptures":{"1":{"name":"meta.delimiter.method.period.js"},"2":{"patterns":[{"name":"support.function.event-handler.js","match":"(?x)\n\\bon(Rowsinserted|Rowsdelete|Rowenter|Rowexit|Resize|Resizestart|Resizeend|Reset|\nReadystatechange|Mouseout|Mouseover|Mousedown|Mouseup|Mousemove|\nBefore(cut|deactivate|unload|update|paste|print|editfocus|activate)|\nBlur|Scrolltop|Submit|Select|Selectstart|Selectionchange|Hover|Help|\nChange|Contextmenu|Controlselect|Cut|Cellchange|Clock|Close|Deactivate|\nDatasetchanged|Datasetcomplete|Dataavailable|Drop|Drag|Dragstart|Dragover|\nDragdrop|Dragenter|Dragend|Dragleave|Dblclick|Unload|Paste|Propertychange|Error|\nErrorupdate|Keydown|Keyup|Keypress|Focus|Load|Activate|Afterupdate|Afterprint|Abort)\\b"},{"name":"support.function.js","match":"(?x)\n\\b(catch|finally|then|shift|showModelessDialog|showModalDialog|showHelp|scroll|scrollX|scrollByPages|\nscrollByLines|scrollY|scrollTo|stop|strike|sizeToContent|sidebar|signText|sort|\nsup|sub|substr|substring|splice|split|send|set(Milliseconds|Seconds|Minutes|Hours|\nMonth|Year|FullYear|Date|UTC(Milliseconds|Seconds|Minutes|Hours|Month|FullYear|Date)|\nTime|Hotkeys|Cursor|ZOptions|Active|Resizable|RequestHeader)|search|slice|\nsavePreferences|small|home|handleEvent|navigate|char|charCodeAt|charAt|concat|\ncontextual|confirm|compile|clear|captureEvents|call|createStyleSheet|createPopup|\ncreateEventObject|to(GMTString|UTCString|String|Source|UpperCase|LowerCase|LocaleString)|\ntest|taint|taintEnabled|indexOf|italics|disableExternalCapture|dump|detachEvent|unshift|\nuntaint|unwatch|updateCommands|join|javaEnabled|pop|push|plugins.refresh|paddings|parse|stringify|\nprint|prompt|preference|enableExternalCapture|exec|execScript|valueOf|UTC|find|file|\nfileModifiedDate|fileSize|fileCreatedDate|fileUpdatedDate|fixed|fontsize|fontcolor|\nforward|fromCharCode|watch|link|load|lastIndexOf|anchor|attachEvent|atob|apply|alert|\nabort|routeEvents|resize|resizeBy|resizeTo|recalc|returnValue|replace|reverse|reload|\nreleaseCapture|releaseEvents|go|get(Milliseconds|Seconds|Minutes|Hours|Month|Day|Year|FullYear|\nTime|Date|TimezoneOffset|UTC(Milliseconds|Seconds|Minutes|Hours|Day|Month|FullYear|Date)|\nAttention|Selection|ResponseHeader|AllResponseHeaders)|moveBy|moveBelow|moveTo|\nmoveToAbsolute|moveAbove|mergeAttributes|match|margins|btoa|big|bold|borderWidths|blink|back)\\b"},{"name":"support.function.dom.js","match":"(?x)\n\\b(acceptNode|add|addEventListener|addTextTrack|adoptNode|after|animate|append|\nappendChild|appendData|before|blur|canPlayType|captureStream|\ncaretPositionFromPoint|caretRangeFromPoint|checkValidity|clear|click|\ncloneContents|cloneNode|cloneRange|close|closest|collapse|\ncompareBoundaryPoints|compareDocumentPosition|comparePoint|contains|\nconvertPointFromNode|convertQuadFromNode|convertRectFromNode|createAttribute|\ncreateAttributeNS|createCaption|createCDATASection|createComment|\ncreateContextualFragment|createDocument|createDocumentFragment|\ncreateDocumentType|createElement|createElementNS|createEntityReference|\ncreateEvent|createExpression|createHTMLDocument|createNodeIterator|\ncreateNSResolver|createProcessingInstruction|createRange|createShadowRoot|\ncreateTBody|createTextNode|createTFoot|createTHead|createTreeWalker|delete|\ndeleteCaption|deleteCell|deleteContents|deleteData|deleteRow|deleteTFoot|\ndeleteTHead|detach|disconnect|dispatchEvent|elementFromPoint|elementsFromPoint|\nenableStyleSheetsForSet|entries|evaluate|execCommand|exitFullscreen|\nexitPointerLock|expand|extractContents|fastSeek|firstChild|focus|forEach|get|\ngetAll|getAnimations|getAttribute|getAttributeNames|getAttributeNode|\ngetAttributeNodeNS|getAttributeNS|getBoundingClientRect|getBoxQuads|\ngetClientRects|getContext|getDestinationInsertionPoints|getElementById|\ngetElementsByClassName|getElementsByName|getElementsByTagName|\ngetElementsByTagNameNS|getItem|getNamedItem|getSelection|getStartDate|\ngetVideoPlaybackQuality|has|hasAttribute|hasAttributeNS|hasAttributes|\nhasChildNodes|hasFeature|hasFocus|importNode|initEvent|insertAdjacentElement|\ninsertAdjacentHTML|insertAdjacentText|insertBefore|insertCell|insertData|\ninsertNode|insertRow|intersectsNode|isDefaultNamespace|isEqualNode|\nisPointInRange|isSameNode|item|key|keys|lastChild|load|lookupNamespaceURI|\nlookupPrefix|matches|move|moveAttribute|moveAttributeNode|moveChild|\nmoveNamedItem|namedItem|nextNode|nextSibling|normalize|observe|open|\nparentNode|pause|play|postMessage|prepend|preventDefault|previousNode|\npreviousSibling|probablySupportsContext|queryCommandEnabled|\nqueryCommandIndeterm|queryCommandState|queryCommandSupported|queryCommandValue|\nquerySelector|querySelectorAll|registerContentHandler|registerElement|\nregisterProtocolHandler|releaseCapture|releaseEvents|remove|removeAttribute|\nremoveAttributeNode|removeAttributeNS|removeChild|removeEventListener|\nremoveItem|replace|replaceChild|replaceData|replaceWith|reportValidity|\nrequestFullscreen|requestPointerLock|reset|scroll|scrollBy|scrollIntoView|\nscrollTo|seekToNextFrame|select|selectNode|selectNodeContents|set|setAttribute|\nsetAttributeNode|setAttributeNodeNS|setAttributeNS|setCapture|\nsetCustomValidity|setEnd|setEndAfter|setEndBefore|setItem|setNamedItem|\nsetRangeText|setSelectionRange|setSinkId|setStart|setStartAfter|setStartBefore|\nslice|splitText|stepDown|stepUp|stopImmediatePropagation|stopPropagation|\nsubmit|substringData|supports|surroundContents|takeRecords|terminate|toBlob|\ntoDataURL|toggle|toString|values|write|writeln)\\b"},{"name":"entity.name.function.js","match":"[a-zA-Z_$][\\w$]*"},{"name":"invalid.illegal.identifier.js","match":"\\d[\\w$]*"}]}}}]},"numbers":{"patterns":[{"name":"constant.numeric.hex.js","match":"\\b(?\u003c!\\$)0(x|X)[0-9a-fA-F]+(?:_[0-9a-fA-F]+)*n?\\b(?!\\$)","captures":{"0":{"patterns":[{"include":"#numeric_separators"}]}}},{"name":"constant.numeric.binary.js","match":"\\b(?\u003c!\\$)0(b|B)[01]+(?:_[01]+)*n?\\b(?!\\$)","captures":{"0":{"patterns":[{"include":"#numeric_separators"}]}}},{"name":"constant.numeric.octal.js","match":"\\b(?\u003c!\\$)0(o|O)?[0-7]+(?:_[0-7]+)*n?\\b(?!\\$)","captures":{"0":{"patterns":[{"include":"#numeric_separators"}]}}},{"name":"constant.numeric.decimal.js","match":"(?x)\n(?\u003c!\\$)(?:\n (?:\\b[0-9]+(?:_[0-9]+)*\\.[0-9]+(?:_[0-9]+)*[eE][+-]?[0-9]+(?:_[0-9]+)*\\b)| # 1.1E+3\n (?:\\b[0-9]+(?:_[0-9]+)*\\.[eE][+-]?[0-9]+(?:_[0-9]+)*\\b)| # 1.E+3\n (?:\\B\\.[0-9]+(?:_[0-9]+)*[eE][+-]?[0-9]+(?:_[0-9]+)*\\b)| # .1E+3\n (?:\\b[0-9]+(?:_[0-9]+)*[eE][+-]?[0-9]+(?:_[0-9]+)*\\b)| # 1E+3\n (?:\\b[0-9]+(?:_[0-9]+)*\\.[0-9]+(?:_[0-9]+)*\\b)| # 1.1\n (?:\\b[0-9]+(?:_[0-9]+)*\\.\\B)| # 1.\n (?:\\B\\.[0-9]+(?:_[0-9]+)*\\b)| # .1\n (?:\\b[0-9]+(?:_[0-9]+)*n?\\b(?!\\.)) # 1n\n)(?!\\$)","captures":{"0":{"patterns":[{"include":"#numeric_separators"}]}}}]},"numeric_separators":{"patterns":[{"match":"(_)|(\\.)","captures":{"1":{"name":"meta.delimiter.numeric.separator.js"},"2":{"name":"meta.delimiter.decimal.period.js"}}}]},"objects":{"patterns":[{"name":"constant.other.object.js","match":"[A-Z][A-Z0-9_$]*(?=\\s*\\.\\s*[a-zA-Z_$]\\w*)"},{"name":"variable.other.object.js","match":"[a-zA-Z_$][\\w$]*(?=\\s*\\.\\s*[a-zA-Z_$]\\w*)"}]},"operators":{"patterns":[{"name":"keyword.operator.assignment.compound.js","match":"%=|\\+=|-=|\\*=|(?\u003c!\\()/="},{"name":"keyword.operator.assignment.compound.bitwise.js","match":"\u0026=|\\^=|\u003c\u003c=|\u003e\u003e=|\u003e\u003e\u003e=|\\|="},{"name":"keyword.operator.bitwise.shift.js","match":"\u003c\u003c|\u003e\u003e\u003e|\u003e\u003e"},{"name":"keyword.operator.comparison.js","match":"!==|!=|\u003c=|\u003e=|===|==|\u003c|\u003e"},{"name":"keyword.operator.logical.js","match":"\u0026\u0026|!!|!|\\|\\|"},{"name":"keyword.operator.bitwise.js","match":"\u0026|\\||\\^|~"},{"name":"keyword.operator.assignment.js","match":"=|:"},{"name":"keyword.operator.decrement.js","match":"--"},{"name":"keyword.operator.increment.js","match":"\\+\\+"},{"name":"keyword.operator.js","match":"%|\\*|/|-|\\+"}]},"prevent_object_keys_matching":{"patterns":[{"match":"(\\w+)(?=\\s*:)","captures":{"1":{"patterns":[{"include":"$self"}]}}}]},"properties":{"patterns":[{"match":"(\\.)\\s*([A-Z][A-Z0-9_$]*\\b\\$*)(?=\\s*\\.\\s*[a-zA-Z_$]\\w*)","captures":{"1":{"name":"meta.delimiter.property.period.js"},"2":{"name":"constant.other.object.property.js"}}},{"match":"(\\.)\\s*(\\$*[a-zA-Z_$][\\w$]*)(?=\\s*\\.\\s*[a-zA-Z_$]\\w*)","captures":{"1":{"name":"meta.delimiter.property.period.js"},"2":{"name":"variable.other.object.property.js"}}},{"match":"(\\.)\\s*([A-Z][A-Z0-9_$]*\\b\\$*)","captures":{"1":{"name":"meta.delimiter.property.period.js"},"2":{"name":"constant.other.property.js"}}},{"match":"(\\.)\\s*(\\$*[a-zA-Z_$][\\w$]*)","captures":{"1":{"name":"meta.delimiter.property.period.js"},"2":{"name":"variable.other.property.js"}}},{"match":"(\\.)\\s*([0-9][\\w$]*)","captures":{"1":{"name":"meta.delimiter.property.period.js"},"2":{"name":"invalid.illegal.identifier.js"}}}]},"string_escapes":{"patterns":[{"name":"invalid.illegal.unicode-escape.js","match":"\\\\u(?![A-Fa-f0-9]{4}|{[A-Fa-f0-9]+})[^'\"]*"},{"name":"constant.character.escape.js","match":"\\\\u(?:[A-Fa-f0-9]{4}|({)([A-Fa-f0-9]+)(}))","captures":{"1":{"name":"punctuation.definition.unicode-escape.begin.bracket.curly.js"},"2":{"patterns":[{"name":"invalid.illegal.unicode-escape.js","match":"[A-Fa-f\\d]{7,}|(?!10)[A-Fa-f\\d]{6}"}]},"3":{"name":"punctuation.definition.unicode-escape.end.bracket.curly.js"}}},{"name":"constant.character.escape.js","match":"\\\\(x[0-9A-Fa-f]{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)"}]},"strings":{"patterns":[{"name":"string.quoted.single.js","begin":"'","end":"'","patterns":[{"include":"#string_escapes"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.js"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.js"}}},{"name":"string.quoted.double.js","begin":"\"","end":"\"","patterns":[{"include":"#string_escapes"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.js"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.js"}}},{"name":"string.quoted.template.html.js","begin":"((\\w+)?(html|HTML|Html))\\s*(`)","end":"`","patterns":[{"include":"#string_escapes"},{"include":"#interpolated_js"},{"include":"text.html.basic"}],"beginCaptures":{"1":{"name":"entity.name.function.js"},"4":{"name":"punctuation.definition.string.begin.js"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.js"}}},{"contentName":"string.quoted.template.html.js","begin":"(?\u003c=innerHTML)\\s*(\\+?=)\\s*(?=`)","end":"(?\u003c=`)","patterns":[{"begin":"`","end":"`","patterns":[{"include":"#string_escapes"},{"include":"#interpolated_js"},{"include":"text.html.basic"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.js"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.js"}}}],"beginCaptures":{"1":{"name":"keyword.operator.assignment.js"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.js"}}},{"name":"string.quoted.template.graphql.js","begin":"(Relay\\.QL|gql)\\s*(`)","end":"`","patterns":[{"include":"#string_escapes"},{"include":"#interpolated_js"},{"include":"source.graphql"}],"beginCaptures":{"1":{"name":"entity.name.function.js"},"2":{"name":"punctuation.definition.string.begin.js"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.js"}}},{"name":"string.quoted.template.sql.js","begin":"(sql|SQL|Sql)\\s*(`)","end":"`","patterns":[{"include":"#string_escapes"},{"include":"#interpolated_js"},{"include":"source.sql"}],"beginCaptures":{"1":{"name":"entity.name.function.js"},"2":{"name":"punctuation.definition.string.begin.js"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.js"}}},{"name":"string.quoted.template.js","begin":"`","end":"`","patterns":[{"include":"#string_escapes"},{"include":"#interpolated_js"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.js"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.js"}}}]},"switch_statement":{"patterns":[{"name":"meta.switch-statement.js","begin":"\\bswitch\\b","end":"}","patterns":[{"begin":"\\(","end":"\\)","patterns":[{"include":"$self"}],"beginCaptures":{"0":{"name":"punctuation.definition.switch-expression.begin.bracket.round.js"}},"endCaptures":{"0":{"name":"punctuation.definition.switch-expression.end.bracket.round.js"}}},{"begin":"{","end":"(?=})","patterns":[{"begin":"\\bcase\\b","end":":","patterns":[{"include":"#prevent_object_keys_matching"},{"include":"$self"}],"beginCaptures":{"0":{"name":"keyword.control.case.js"}},"endCaptures":{"0":{"name":"punctuation.definition.section.case-statement.js"}}},{"match":"(?:^\\s*)?\\b(default)\\b\\s*(:)","captures":{"1":{"name":"keyword.control.default.js"},"2":{"name":"punctuation.definition.section.case-statement.js"}}},{"include":"$self"}],"beginCaptures":{"0":{"name":"punctuation.definition.section.switch-block.begin.bracket.curly.js"}}}],"beginCaptures":{"0":{"name":"keyword.control.switch.js"}},"endCaptures":{"0":{"name":"punctuation.definition.section.switch-block.end.bracket.curly.js"}}}]}}}
|