github-linguist 7.11.1 → 7.14.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.basic.json +1 -0
- 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.bicep.json +1 -0
- 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.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.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.fontinfo.json +1 -0
- data/grammars/source.forth.json +1 -84
- data/grammars/source.fortran.json +1 -464
- data/grammars/source.fortran.modern.json +1 -200
- data/grammars/source.fsharp.fsi.json +1 -9
- data/grammars/source.fsharp.fsl.json +1 -9
- data/grammars/source.fsharp.fsx.json +1 -13
- data/grammars/source.fsharp.json +1 -452
- data/grammars/source.fstar.json +1 -439
- data/grammars/source.futhark.json +1 -167
- data/grammars/source.gap.json +1 -163
- data/grammars/source.gcode.json +1 -176
- data/grammars/source.gdb.json +1 -160
- data/grammars/source.gdb.session.json +1 -70
- data/grammars/source.gdbregs.json +1 -14
- data/grammars/source.gdscript.json +1 -491
- data/grammars/source.gedcom.json +1 -196
- data/grammars/source.gemfile-lock.json +1 -0
- 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.jsoniq.json +1 -0
- 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.kusto.json +1 -0
- 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.redirects.json +1 -0
- 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.singularity.json +1 -0
- 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.solution.json +1 -0
- 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.stdbez.json +1 -0
- data/grammars/source.string-template.json +1 -0
- 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.codeowners.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.robots-txt.json +1 -0
- 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 +9 -5
- data/lib/linguist/generated.rb +10 -0
- data/lib/linguist/generic.yml +18 -0
- data/lib/linguist/heuristics.yml +77 -20
- data/lib/linguist/language.rb +7 -17
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +271 -49
- data/lib/linguist/linguist.bundle +0 -0
- data/lib/linguist/samples.json +1 -1
- data/lib/linguist/samples.rb +2 -2
- data/lib/linguist/strategy/extension.rb +13 -5
- data/lib/linguist/strategy/modeline.rb +64 -32
- data/lib/linguist/vendor.yml +1 -1
- metadata +37 -13
- data/ext/linguist/strndup.c +0 -10
- data/grammars/source.cake.json +0 -13
- data/grammars/source.csx.json +0 -13
- 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.asl.json
CHANGED
@@ -1,56 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "ASL",
|
3
|
-
"scopeName": "source.asl",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"name": "comment.line.double-slash.asl",
|
7
|
-
"begin": "//",
|
8
|
-
"end": "\\n"
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"name": "comment.block.asl",
|
12
|
-
"begin": "/\\*",
|
13
|
-
"end": "\\*/"
|
14
|
-
},
|
15
|
-
{
|
16
|
-
"name": "string.quoted.double.asl",
|
17
|
-
"match": "\"([^\\\"]|\\\\(x|X)[0-9a-fA-F]{1,2}|\\\\'|\\\\\"|\\\\a|\\\\b|\\\\f|\\\\n|\\\\r|\\\\t|\\\\v|\\\\\\\\|\\[0-7]{1,3})*\""
|
18
|
-
},
|
19
|
-
{
|
20
|
-
"name": "punctuation.math.asl",
|
21
|
-
"match": "\\+|/|%|\\*|-|\u003c\u003c|\u003e\u003e|\u0026|\\||\\^|~|\\+\\+|--"
|
22
|
-
},
|
23
|
-
{
|
24
|
-
"name": "punctuation.logical.asl",
|
25
|
-
"match": "==|!=|\u003c|\u003e|\u003c=|\u003e=|\u0026\u0026|\\|\\||!"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"name": "punctuation.assign.asl",
|
29
|
-
"match": "=|\\+=|/=|%=|\\*=|-=|\u003c\u003c=|\u003e\u003e=|\u0026=|\\|=|\\^="
|
30
|
-
},
|
31
|
-
{
|
32
|
-
"name": "meta.brackets.asl",
|
33
|
-
"match": "\\[|\\]|\\(|\\)|\\{|\\}"
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"name": "support.function.any-method.asl",
|
37
|
-
"match": "\\b(AccessAs|Acquire|Add|Alias|And|Arg[0-9]|BankField|Break|BreakPoint|Buffer|Case|Concatenate|ConcatenateResTemplate|CondRefOf|Connection|Continue|CopyObject|CreateBitField|CreateByteField|CreateDWordField|CreateField|CreateQWordField|CreateWordField|DataTableRegion|Debug|Decrement|Default|DefinitionBlock|DerefOf|Device|Divide|DMA|DWordIO|DWordMemory|DWordSpace|EisaId|Else|ElseIf|EndDependentFn|Event|ExtendedIO|ExtendedMemory|ExtendedSpace|External|Fatal|Field|FindSetLeftBit|FindSetRightBit|FixedDMA|FixedIO|Fprintf|FromBCD|Function|GpioInt|GpioIo|I2CSerialBusV2|If|Include|Increment|Index|IndexField|Interrupt|IO|IRQ|IRQNoFlags|LAnd|LEqual|LGreater|LGreaterEqual|LLess|LLessEqual|LNot|LNotEqual|Load|LoadTable|Local[0-9]|LOr|Match|Memory24|Memory32|Memory32Fixed|Method|Mid|Mod|Multiply|Mutex|Name|NAnd|NoOp|NOr|Not|Notify|ObjectType|Offset|OperationRegion|Or|Package|PowerResource|Printf|Processor|QWordIO|QWordMemory|QWordSpace|RawDataBuffer|RefOf|Register|Release|Reset|ResourceTemplate|Return|Scope|ShiftLeft|ShiftRight|Signal|SizeOf|Sleep|SPISerialbusV2|Stall|StartDependentFn|StartDependentFnNoPri|Store|Subtract|Switch|ThermalZone|Timer|ToBCD|ToBuffer|ToDecimalString|ToHexString|ToInteger|ToPLD|ToString|ToUUID|Unicode|Unload|UARTSerialBusV2|VendorLong|VendorShort|Wait|While|WordBusNumber|WordIO|WordSpace|Xor)\\b"
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"name": "variable.other.asl",
|
41
|
-
"match": "\\b(_AC[0-9]|_ADR|_AEI|_ALC|_ALI|_ALN|_ALP|_ALR|_ALT|_ART|_ASI|_ASZ|_ATT|_BAS|_BBN|_BCL|_BCM|_BCT|_BDN|_BIF|_BI[0-9]|_BLT|_BM|_BMA|_BMC|_BMD|_BMS|_BQC|_BST|_BTH|_BTM|_BTP|_CBA|_CDM|_CID|_CLS|_CPC|_CRS|_CRT|_CSD|_CST|_CWS|_DBT|_DCK|_DCS|_DDC|_DDN|_DEC|_DEP|_DGS|_DIS|_DLM|_DMA|_DOS|_DPL|_DRS|_DSD|_DSM|_DSS|_DSW|_DTI|_E[0-9][0-9]|_EC|_EDL|_EJD|_EJ[0-9]|_END|_EVT|_FDE|_FDI|_FDM|_FIF|_FIT|_FI[0-9]|_FLC|_FPS|_FSL|_GAI|_GCP|_GHL|_GL|_GLK|_GPD|_GPE|_GRA|_GRT|_GSB|_GTF|_GTM|_GWS|_HE|_HID|_HOT|_HPP|_HP[0-9]|_HRV|_IFT|_INI|_IOR|_IRC|_L[0-9][0-9]|_LCK|_LEN|_LID|_LIN|_LL|_LPI|_MAF|_MAT|_MA[0-9]|_MBM|_MEM|_MIF|_MIN|_MLS|_MOD|_MSG|_MSM|_MTL|_MTP|_NTT|_OFF|_ON|_OS|_OSI|_OST|_PAI|_PAR|_PCL|_PCT|_PDC|_PDL|_PHA|_PIC|_PIF|_PIN|_PLD|_PMC|_PMD|_PMM|_POL|_PPC|_PPE|_PPI|_PR|_PR0|_PR2|_PR3|_PRE|_PRL|_PRR|_PRS|_PRT|_PRW|_PS0|_PS1|_PS2|_PS3|_PSC|_PSD|_PSE|_PSL|_PSR|_PSS|_PSV|_PSW|_PTC|_PTP|_PTS|_PUR|_P[0-9]M|_RBO|_RBW|_RDI|_REG|_REV|_RMV|_RNG|_ROM|_RST|_RT|_RTV|_RW|_R[0-9]L|_S0|_S1|_S2|_S3|_S4|_S5|_S1D|_S2D|_S3D|_S4D|_S1W|_S2W|_S3W|_S4W|_SB|_SBS|_SCP|_SDD|_SEG|_SHL|_SHR|_SI|_SIZ|_SLI|_SLV|_SPD|_SPE|_SRS|_SRT|_SRV|_STA|_STB|_STM|_STR|_STV|_SUB|_SUN|_SWS|_T_[0-9]|_TC1|_TC2|_TDL|_TFP|_TIP|_TIV|_TMP|_TPC|_TPT|_TRA|_TRS|_TRT|_TSD|_TSF|_TSN|_TSP|_TSS|_TTP|_TTS|_T[0-9]L|_TYP|_TZ|_TZD|_TZM|_TZP|_UID|_UPC|_UPD|_UPP|_VEN|_VPO|_WAK|_W[0-9][0-9])\\b"
|
42
|
-
},
|
43
|
-
{
|
44
|
-
"name": "keyword.other.asl",
|
45
|
-
"match": "\\b(AttribQuick|AttribSendReceive|AttribByte|AttribBytes|AttribRawBytes|AttribRawProcessBytes|AttribWord|AttribBlock|AttribProcessCall|AttribBlockProcessCall|AnyAcc|ByteAcc|WordAcc|DWordAcc|QWordAcc|BufferAcc|AddressRangeMemory|AddressRangeReserved|AddressRangeNVS|AddressRangeACPI|RegionSpaceKeyword|FFixedHW|PCC|AddressingMode7Bit|AddressingMode10Bit|DataBitsFive|DataBitsSix|DataBitsSeven|DataBitsEight|DataBitsNine|BusMaster|NotBusMaster|ClockPhaseFirst|ClockPhaseSecond|ClockPolarityLow|ClockPolarityHigh|SubDecode|PosDecode|BigEndianing|LittleEndian|FlowControlNone|FlowControlXon|FlowControlHardware|Edge|Level|ActiveHigh|ActiveLow|ActiveBoth|Decode16|Decode10|IoRestrictionNone|IoRestrictionInputOnly|IoRestrictionOutputOnly|IoRestrictionNoneAndPreserve|Lock|NoLock|MTR|MEQ|MLE|MLT|MGE|MGT|MaxFixed|MaxNotFixed|Cacheable|WriteCombining|Prefetchable|NonCacheable|MinFixed|MinNotFixed|UnknownObj|IntObj|StrObj|BuffObj|PkgObj|FieldUnitObj|DeviceObj|EventObj|MethodObj|MutexObj|OpRegionObj|PowerResObj|ProcessorObj|ThermalZoneObj|BuffFieldObj|DDBHandleObj|ParityTypeNone|ParityTypeSpace|ParityTypeMark|ParityTypeOdd|ParityTypeEven|PullDefault|PullUp|PullDown|PullNone|PolarityHigh|PolarityLow|ISAOnlyRanges|NonISAOnlyRanges|EntireRange|ReadWrite|ReadOnly|UserDefRegionSpace|SystemIO|SystemMemory|PCI_Config|EmbeddedControl|SMBus|SystemCMOS|PciBarTarget|IPMI|GeneralPurposeIO|GenericSerialBus|ResourceConsumer|ResourceProducer|Serialized|NotSerialized|Shared|Exclusive|SharedAndWake|ExclusiveAndWake|ControllerInitiated|DeviceInitiated|StopBitsZero|StopBitsOne|StopBitsOnePlusHalf|StopBitsTwo|Width8Bit|Width16Bit|Width32Bit|Width64Bit|Width128Bit|Width256Bit|SparseTranslation|DenseTranslation|TypeTranslation|TypeStatic|Preserve|WriteAsOnes|WriteAsZeros|Transfer8|Transfer16|Transfer8_16|ThreeWireMode|FourWireMode)\\b"
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"name": "constant.numeric.asl",
|
49
|
-
"match": "\\b((0(x|X)[0-9a-fA-F]+)|(0[0-7]+)|[0-9]|One|Ones|Zero)\\b"
|
50
|
-
},
|
51
|
-
{
|
52
|
-
"name": "constant.other.asl",
|
53
|
-
"match": "\\b(Revision)\\b"
|
54
|
-
}
|
55
|
-
]
|
56
|
-
}
|
1
|
+
{"name":"ASL","scopeName":"source.asl","patterns":[{"name":"comment.line.double-slash.asl","begin":"//","end":"\\n"},{"name":"comment.block.asl","begin":"/\\*","end":"\\*/"},{"name":"string.quoted.double.asl","match":"\"([^\\\"]|\\\\(x|X)[0-9a-fA-F]{1,2}|\\\\'|\\\\\"|\\\\a|\\\\b|\\\\f|\\\\n|\\\\r|\\\\t|\\\\v|\\\\\\\\|\\[0-7]{1,3})*\""},{"name":"punctuation.math.asl","match":"\\+|/|%|\\*|-|\u003c\u003c|\u003e\u003e|\u0026|\\||\\^|~|\\+\\+|--"},{"name":"punctuation.logical.asl","match":"==|!=|\u003c|\u003e|\u003c=|\u003e=|\u0026\u0026|\\|\\||!"},{"name":"punctuation.assign.asl","match":"=|\\+=|/=|%=|\\*=|-=|\u003c\u003c=|\u003e\u003e=|\u0026=|\\|=|\\^="},{"name":"meta.brackets.asl","match":"\\[|\\]|\\(|\\)|\\{|\\}"},{"name":"support.function.any-method.asl","match":"\\b(AccessAs|Acquire|Add|Alias|And|Arg[0-9]|BankField|Break|BreakPoint|Buffer|Case|Concatenate|ConcatenateResTemplate|CondRefOf|Connection|Continue|CopyObject|CreateBitField|CreateByteField|CreateDWordField|CreateField|CreateQWordField|CreateWordField|DataTableRegion|Debug|Decrement|Default|DefinitionBlock|DerefOf|Device|Divide|DMA|DWordIO|DWordMemory|DWordSpace|EisaId|Else|ElseIf|EndDependentFn|Event|ExtendedIO|ExtendedMemory|ExtendedSpace|External|Fatal|Field|FindSetLeftBit|FindSetRightBit|FixedDMA|FixedIO|Fprintf|FromBCD|Function|GpioInt|GpioIo|I2CSerialBusV2|If|Include|Increment|Index|IndexField|Interrupt|IO|IRQ|IRQNoFlags|LAnd|LEqual|LGreater|LGreaterEqual|LLess|LLessEqual|LNot|LNotEqual|Load|LoadTable|Local[0-9]|LOr|Match|Memory24|Memory32|Memory32Fixed|Method|Mid|Mod|Multiply|Mutex|Name|NAnd|NoOp|NOr|Not|Notify|ObjectType|Offset|OperationRegion|Or|Package|PowerResource|Printf|Processor|QWordIO|QWordMemory|QWordSpace|RawDataBuffer|RefOf|Register|Release|Reset|ResourceTemplate|Return|Scope|ShiftLeft|ShiftRight|Signal|SizeOf|Sleep|SPISerialbusV2|Stall|StartDependentFn|StartDependentFnNoPri|Store|Subtract|Switch|ThermalZone|Timer|ToBCD|ToBuffer|ToDecimalString|ToHexString|ToInteger|ToPLD|ToString|ToUUID|Unicode|Unload|UARTSerialBusV2|VendorLong|VendorShort|Wait|While|WordBusNumber|WordIO|WordSpace|Xor)\\b"},{"name":"variable.other.asl","match":"\\b(_AC[0-9]|_ADR|_AEI|_ALC|_ALI|_ALN|_ALP|_ALR|_ALT|_ART|_ASI|_ASZ|_ATT|_BAS|_BBN|_BCL|_BCM|_BCT|_BDN|_BIF|_BI[0-9]|_BLT|_BM|_BMA|_BMC|_BMD|_BMS|_BQC|_BST|_BTH|_BTM|_BTP|_CBA|_CDM|_CID|_CLS|_CPC|_CRS|_CRT|_CSD|_CST|_CWS|_DBT|_DCK|_DCS|_DDC|_DDN|_DEC|_DEP|_DGS|_DIS|_DLM|_DMA|_DOS|_DPL|_DRS|_DSD|_DSM|_DSS|_DSW|_DTI|_E[0-9][0-9]|_EC|_EDL|_EJD|_EJ[0-9]|_END|_EVT|_FDE|_FDI|_FDM|_FIF|_FIT|_FI[0-9]|_FLC|_FPS|_FSL|_GAI|_GCP|_GHL|_GL|_GLK|_GPD|_GPE|_GRA|_GRT|_GSB|_GTF|_GTM|_GWS|_HE|_HID|_HOT|_HPP|_HP[0-9]|_HRV|_IFT|_INI|_IOR|_IRC|_L[0-9][0-9]|_LCK|_LEN|_LID|_LIN|_LL|_LPI|_MAF|_MAT|_MA[0-9]|_MBM|_MEM|_MIF|_MIN|_MLS|_MOD|_MSG|_MSM|_MTL|_MTP|_NTT|_OFF|_ON|_OS|_OSI|_OST|_PAI|_PAR|_PCL|_PCT|_PDC|_PDL|_PHA|_PIC|_PIF|_PIN|_PLD|_PMC|_PMD|_PMM|_POL|_PPC|_PPE|_PPI|_PR|_PR0|_PR2|_PR3|_PRE|_PRL|_PRR|_PRS|_PRT|_PRW|_PS0|_PS1|_PS2|_PS3|_PSC|_PSD|_PSE|_PSL|_PSR|_PSS|_PSV|_PSW|_PTC|_PTP|_PTS|_PUR|_P[0-9]M|_RBO|_RBW|_RDI|_REG|_REV|_RMV|_RNG|_ROM|_RST|_RT|_RTV|_RW|_R[0-9]L|_S0|_S1|_S2|_S3|_S4|_S5|_S1D|_S2D|_S3D|_S4D|_S1W|_S2W|_S3W|_S4W|_SB|_SBS|_SCP|_SDD|_SEG|_SHL|_SHR|_SI|_SIZ|_SLI|_SLV|_SPD|_SPE|_SRS|_SRT|_SRV|_STA|_STB|_STM|_STR|_STV|_SUB|_SUN|_SWS|_T_[0-9]|_TC1|_TC2|_TDL|_TFP|_TIP|_TIV|_TMP|_TPC|_TPT|_TRA|_TRS|_TRT|_TSD|_TSF|_TSN|_TSP|_TSS|_TTP|_TTS|_T[0-9]L|_TYP|_TZ|_TZD|_TZM|_TZP|_UID|_UPC|_UPD|_UPP|_VEN|_VPO|_WAK|_W[0-9][0-9])\\b"},{"name":"keyword.other.asl","match":"\\b(AttribQuick|AttribSendReceive|AttribByte|AttribBytes|AttribRawBytes|AttribRawProcessBytes|AttribWord|AttribBlock|AttribProcessCall|AttribBlockProcessCall|AnyAcc|ByteAcc|WordAcc|DWordAcc|QWordAcc|BufferAcc|AddressRangeMemory|AddressRangeReserved|AddressRangeNVS|AddressRangeACPI|RegionSpaceKeyword|FFixedHW|PCC|AddressingMode7Bit|AddressingMode10Bit|DataBitsFive|DataBitsSix|DataBitsSeven|DataBitsEight|DataBitsNine|BusMaster|NotBusMaster|ClockPhaseFirst|ClockPhaseSecond|ClockPolarityLow|ClockPolarityHigh|SubDecode|PosDecode|BigEndianing|LittleEndian|FlowControlNone|FlowControlXon|FlowControlHardware|Edge|Level|ActiveHigh|ActiveLow|ActiveBoth|Decode16|Decode10|IoRestrictionNone|IoRestrictionInputOnly|IoRestrictionOutputOnly|IoRestrictionNoneAndPreserve|Lock|NoLock|MTR|MEQ|MLE|MLT|MGE|MGT|MaxFixed|MaxNotFixed|Cacheable|WriteCombining|Prefetchable|NonCacheable|MinFixed|MinNotFixed|UnknownObj|IntObj|StrObj|BuffObj|PkgObj|FieldUnitObj|DeviceObj|EventObj|MethodObj|MutexObj|OpRegionObj|PowerResObj|ProcessorObj|ThermalZoneObj|BuffFieldObj|DDBHandleObj|ParityTypeNone|ParityTypeSpace|ParityTypeMark|ParityTypeOdd|ParityTypeEven|PullDefault|PullUp|PullDown|PullNone|PolarityHigh|PolarityLow|ISAOnlyRanges|NonISAOnlyRanges|EntireRange|ReadWrite|ReadOnly|UserDefRegionSpace|SystemIO|SystemMemory|PCI_Config|EmbeddedControl|SMBus|SystemCMOS|PciBarTarget|IPMI|GeneralPurposeIO|GenericSerialBus|ResourceConsumer|ResourceProducer|Serialized|NotSerialized|Shared|Exclusive|SharedAndWake|ExclusiveAndWake|ControllerInitiated|DeviceInitiated|StopBitsZero|StopBitsOne|StopBitsOnePlusHalf|StopBitsTwo|Width8Bit|Width16Bit|Width32Bit|Width64Bit|Width128Bit|Width256Bit|SparseTranslation|DenseTranslation|TypeTranslation|TypeStatic|Preserve|WriteAsOnes|WriteAsZeros|Transfer8|Transfer16|Transfer8_16|ThreeWireMode|FourWireMode)\\b"},{"name":"constant.numeric.asl","match":"\\b((0(x|X)[0-9a-fA-F]+)|(0[0-7]+)|[0-9]|One|Ones|Zero)\\b"},{"name":"constant.other.asl","match":"\\b(Revision)\\b"}]}
|
data/grammars/source.asn.json
CHANGED
@@ -1,55 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "Abstract Syntax Notation",
|
3
|
-
"scopeName": "source.asn",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"name": "comment.line.asn",
|
7
|
-
"match": "--.*$"
|
8
|
-
},
|
9
|
-
{
|
10
|
-
"name": "storage.type.asn",
|
11
|
-
"match": "::="
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"name": "storage.type.asn",
|
15
|
-
"match": "\\|"
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"name": "keyword.operator.asn",
|
19
|
-
"match": "\\.\\."
|
20
|
-
},
|
21
|
-
{
|
22
|
-
"name": "storage.type.asn",
|
23
|
-
"match": "(SEQUENCE|SET|CLASS|CHOICE|OF)"
|
24
|
-
},
|
25
|
-
{
|
26
|
-
"name": "variable.language.asn",
|
27
|
-
"match": "(BOOLEAN|INTEGER|ENUMERATED|REAL|(BIT|OCTET) STRING|NULL|OBJECT IDENTIFIER|ANY|DATE|DATE-TIME|(Numeric|Printable|Teletex|IA5|Visible|Graphic|General)String|(Generalized|UTC)Time|EXTERNAL|Object Descriptor)"
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"name": "constant.numeric.float.asn",
|
31
|
-
"match": "([-+]?[0-9]+|[-+]?\\.[0-9]+)(?=\\)|\\.\\.)"
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"name": "string.quoted.double.asn",
|
35
|
-
"begin": "\"",
|
36
|
-
"end": "\""
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"name": "storage.modifier.asn",
|
40
|
-
"match": "OPTIONAL|SIZE|\\^ FROM"
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"name": "entity.name.type.class.asn",
|
44
|
-
"match": "DEFINITIONS|AUTOMATIC TAGS|BEGIN|END"
|
45
|
-
},
|
46
|
-
{
|
47
|
-
"name": "support.constant.asn",
|
48
|
-
"match": "IMPORTS|FROM"
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"name": "constant.language.asn",
|
52
|
-
"match": "(IM|EX)PLICIT"
|
53
|
-
}
|
54
|
-
]
|
55
|
-
}
|
1
|
+
{"name":"Abstract Syntax Notation","scopeName":"source.asn","patterns":[{"name":"comment.line.asn","match":"--.*$"},{"name":"storage.type.asn","match":"::="},{"name":"storage.type.asn","match":"\\|"},{"name":"keyword.operator.asn","match":"\\.\\."},{"name":"storage.type.asn","match":"(SEQUENCE|SET|CLASS|CHOICE|OF)"},{"name":"variable.language.asn","match":"(BOOLEAN|INTEGER|ENUMERATED|REAL|(BIT|OCTET) STRING|NULL|OBJECT IDENTIFIER|ANY|DATE|DATE-TIME|(Numeric|Printable|Teletex|IA5|Visible|Graphic|General)String|(Generalized|UTC)Time|EXTERNAL|Object Descriptor)"},{"name":"constant.numeric.float.asn","match":"([-+]?[0-9]+|[-+]?\\.[0-9]+)(?=\\)|\\.\\.)"},{"name":"string.quoted.double.asn","begin":"\"","end":"\""},{"name":"storage.modifier.asn","match":"OPTIONAL|SIZE|\\^ FROM"},{"name":"entity.name.type.class.asn","match":"DEFINITIONS|AUTOMATIC TAGS|BEGIN|END"},{"name":"support.constant.asn","match":"IMPORTS|FROM"},{"name":"constant.language.asn","match":"(IM|EX)PLICIT"}]}
|
data/grammars/source.asp.json
CHANGED
@@ -1,151 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "ASP",
|
3
|
-
"scopeName": "source.asp",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"name": "meta.function.asp",
|
7
|
-
"match": "^\\s*((?i:function|sub))\\s*([a-zA-Z_]\\w*)\\s*(\\()([^)]*)(\\)).*\\n?",
|
8
|
-
"captures": {
|
9
|
-
"1": {
|
10
|
-
"name": "storage.type.function.asp"
|
11
|
-
},
|
12
|
-
"2": {
|
13
|
-
"name": "entity.name.function.asp"
|
14
|
-
},
|
15
|
-
"3": {
|
16
|
-
"name": "punctuation.definition.parameters.asp"
|
17
|
-
},
|
18
|
-
"4": {
|
19
|
-
"name": "variable.parameter.function.asp"
|
20
|
-
},
|
21
|
-
"5": {
|
22
|
-
"name": "punctuation.definition.parameters.asp"
|
23
|
-
}
|
24
|
-
}
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"begin": "(^[ \\t]+)?(?=')",
|
28
|
-
"end": "(?!\\G)",
|
29
|
-
"patterns": [
|
30
|
-
{
|
31
|
-
"name": "comment.line.apostrophe.asp",
|
32
|
-
"begin": "'",
|
33
|
-
"end": "\\n",
|
34
|
-
"beginCaptures": {
|
35
|
-
"0": {
|
36
|
-
"name": "punctuation.definition.comment.asp"
|
37
|
-
}
|
38
|
-
}
|
39
|
-
}
|
40
|
-
],
|
41
|
-
"beginCaptures": {
|
42
|
-
"1": {
|
43
|
-
"name": "punctuation.whitespace.comment.leading.asp"
|
44
|
-
}
|
45
|
-
}
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"begin": "(^[ \\t]+)?(?=REM )",
|
49
|
-
"end": "(?!\\G)",
|
50
|
-
"patterns": [
|
51
|
-
{
|
52
|
-
"name": "comment.line.rem.asp",
|
53
|
-
"begin": "REM ",
|
54
|
-
"end": "\\n",
|
55
|
-
"beginCaptures": {
|
56
|
-
"0": {
|
57
|
-
"name": "punctuation.definition.comment.asp"
|
58
|
-
}
|
59
|
-
}
|
60
|
-
}
|
61
|
-
],
|
62
|
-
"beginCaptures": {
|
63
|
-
"1": {
|
64
|
-
"name": "punctuation.whitespace.comment.leading.asp"
|
65
|
-
}
|
66
|
-
}
|
67
|
-
},
|
68
|
-
{
|
69
|
-
"name": "keyword.control.asp",
|
70
|
-
"match": "(?i:\\b(If|Then|Else|ElseIf|End If|While|Wend|For|To|Each|In|Step|Case|Select|End Select|Return|Continue|Do|Until|Loop|Next|With|Exit Do|Exit For|Exit Function|Exit Property|Exit Sub)\\b)"
|
71
|
-
},
|
72
|
-
{
|
73
|
-
"name": "keyword.operator.asp",
|
74
|
-
"match": "=|\u003e=|\u003c|\u003e|\u003c|\u003c\u003e|\\+|-|\\*|\\^|\u0026|\\b(?i:(Mod|And|Not|Or|Xor|Is))\\b"
|
75
|
-
},
|
76
|
-
{
|
77
|
-
"name": "storage.type.asp",
|
78
|
-
"match": "(?i:\\b(Call|Class|Const|Dim|Redim|Function|Sub|Property|End Property|End sub|End Function|Set|Let|Get|New|Randomize|Option Explicit|On Error Resume Next|On Error GoTo)\\b)"
|
79
|
-
},
|
80
|
-
{
|
81
|
-
"name": "storage.modifier.asp",
|
82
|
-
"match": "(?i:\\b(Private|Public|Default)\\b)"
|
83
|
-
},
|
84
|
-
{
|
85
|
-
"name": "constant.language.asp",
|
86
|
-
"match": "(?i:\\b(Empty|False|Nothing|Null|True)\\b)"
|
87
|
-
},
|
88
|
-
{
|
89
|
-
"name": "string.quoted.double.asp",
|
90
|
-
"begin": "\"",
|
91
|
-
"end": "\"(?!\")",
|
92
|
-
"patterns": [
|
93
|
-
{
|
94
|
-
"name": "constant.character.escape.apostrophe.asp",
|
95
|
-
"match": "\"\""
|
96
|
-
}
|
97
|
-
],
|
98
|
-
"beginCaptures": {
|
99
|
-
"0": {
|
100
|
-
"name": "punctuation.definition.string.begin.asp"
|
101
|
-
}
|
102
|
-
},
|
103
|
-
"endCaptures": {
|
104
|
-
"0": {
|
105
|
-
"name": "punctuation.definition.string.end.asp"
|
106
|
-
}
|
107
|
-
}
|
108
|
-
},
|
109
|
-
{
|
110
|
-
"name": "variable.other.asp",
|
111
|
-
"match": "(\\$)[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\\b",
|
112
|
-
"captures": {
|
113
|
-
"1": {
|
114
|
-
"name": "punctuation.definition.variable.asp"
|
115
|
-
}
|
116
|
-
}
|
117
|
-
},
|
118
|
-
{
|
119
|
-
"name": "support.class.asp",
|
120
|
-
"match": "(?i:\\b(Application|ObjectContext|Request|Response|Server|Session)\\b)"
|
121
|
-
},
|
122
|
-
{
|
123
|
-
"name": "support.class.collection.asp",
|
124
|
-
"match": "(?i:\\b(Contents|StaticObjects|ClientCertificate|Cookies|Form|QueryString|ServerVariables)\\b)"
|
125
|
-
},
|
126
|
-
{
|
127
|
-
"name": "support.constant.asp",
|
128
|
-
"match": "(?i:\\b(TotalBytes|Buffer|CacheControl|Charset|ContentType|Expires|ExpiresAbsolute|IsClientConnected|PICS|Status|ScriptTimeout|CodePage|LCID|SessionID|Timeout)\\b)"
|
129
|
-
},
|
130
|
-
{
|
131
|
-
"name": "support.function.asp",
|
132
|
-
"match": "(?i:\\b(Lock|Unlock|SetAbort|SetComplete|BianryRead|AddHeader|AppendToLog|BinaryWrite|Clear|End|Flush|Redirect|Write|CreateObject|HTMLEncode|MapPath|URLEncode|Abandon)\\b)"
|
133
|
-
},
|
134
|
-
{
|
135
|
-
"name": "support.function.event.asp",
|
136
|
-
"match": "(?i:\\b(Application_OnEnd|Application_OnStart|OnTransactionAbort|OnTransactionCommit|Session_OnEnd|Session_OnStart|Class_Initialize|Class_Terminate)\\b)"
|
137
|
-
},
|
138
|
-
{
|
139
|
-
"name": "support.function.vb.asp",
|
140
|
-
"match": "(?i:\\b(Array|Add|Asc|Atn|CBool|CByte|CCur|CDate|CDbl|Chr|CInt|CLng|Conversions|Cos|CreateObject|CSng|CStr|Date|DateAdd|DateDiff|DatePart|DateSerial|DateValue|Day|Derived|Math|Escape|Eval|Exists|Exp|Filter|FormatCurrency|FormatDateTime|FormatNumber|FormatPercent|GetLocale|GetObject|GetRef|Hex|Hour|InputBox|InStr|InStrRev|Int|Fix|IsArray|IsDate|IsEmpty|IsNull|IsNumeric|IsObject|Item|Items|Join|Keys|LBound|LCase|Left|Len|LoadPicture|Log|LTrim|RTrim|Trim|Maths|Mid|Minute|Month|MonthName|MsgBox|Now|Oct|Remove|RemoveAll|Replace|RGB|Right|Rnd|Round|ScriptEngine|ScriptEngineBuildVersion|ScriptEngineMajorVersion|ScriptEngineMinorVersion|Second|SetLocale|Sgn|Sin|Space|Split|Sqr|StrComp|String|StrReverse|Tan|Time|Timer|TimeSerial|TimeValue|TypeName|UBound|UCase|Unescape|VarType|Weekday|WeekdayName|Year)\\b)"
|
141
|
-
},
|
142
|
-
{
|
143
|
-
"name": "constant.numeric.asp",
|
144
|
-
"match": "\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?\\b"
|
145
|
-
},
|
146
|
-
{
|
147
|
-
"name": "support.type.vb.asp",
|
148
|
-
"match": "(?i:\\b(vbtrue|vbfalse|vbcr|vbcrlf|vbformfeed|vblf|vbnewline|vbnullchar|vbnullstring|vbtab|vbverticaltab|vbbinarycompare|vbtextcomparevbsunday|vbmonday|vbtuesday|vbwednesday|vbthursday|vbfriday|vbsaturday|vbusesystemdayofweek|vbfirstjan1|vbfirstfourdays|vbfirstfullweek|vbgeneraldate|vblongdate|vbshortdate|vblongtime|vbshorttime|vbobjecterror|vbEmpty|vbNull|vbInteger|vbLong|vbSingle|vbDouble|vbCurrency|vbDate|vbString|vbObject|vbError|vbBoolean|vbVariant|vbDataObject|vbDecimal|vbByte|vbArray)\\b)"
|
149
|
-
}
|
150
|
-
]
|
151
|
-
}
|
1
|
+
{"name":"ASP","scopeName":"source.asp","patterns":[{"name":"meta.function.asp","match":"^\\s*((?i:function|sub))\\s*([a-zA-Z_]\\w*)\\s*(\\()([^)]*)(\\)).*\\n?","captures":{"1":{"name":"storage.type.function.asp"},"2":{"name":"entity.name.function.asp"},"3":{"name":"punctuation.definition.parameters.asp"},"4":{"name":"variable.parameter.function.asp"},"5":{"name":"punctuation.definition.parameters.asp"}}},{"begin":"(^[ \\t]+)?(?=')","end":"(?!\\G)","patterns":[{"name":"comment.line.apostrophe.asp","begin":"'","end":"\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.asp"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.asp"}}},{"begin":"(^[ \\t]+)?(?=REM )","end":"(?!\\G)","patterns":[{"name":"comment.line.rem.asp","begin":"REM ","end":"\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.asp"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.asp"}}},{"name":"keyword.control.asp","match":"(?i:\\b(If|Then|Else|ElseIf|End If|While|Wend|For|To|Each|In|Step|Case|Select|End Select|Return|Continue|Do|Until|Loop|Next|With|Exit Do|Exit For|Exit Function|Exit Property|Exit Sub)\\b)"},{"name":"keyword.operator.asp","match":"=|\u003e=|\u003c|\u003e|\u003c|\u003c\u003e|\\+|-|\\*|\\^|\u0026|\\b(?i:(Mod|And|Not|Or|Xor|Is))\\b"},{"name":"storage.type.asp","match":"(?i:\\b(Call|Class|Const|Dim|Redim|Function|Sub|Property|End Property|End sub|End Function|Set|Let|Get|New|Randomize|Option Explicit|On Error Resume Next|On Error GoTo)\\b)"},{"name":"storage.modifier.asp","match":"(?i:\\b(Private|Public|Default)\\b)"},{"name":"constant.language.asp","match":"(?i:\\b(Empty|False|Nothing|Null|True)\\b)"},{"name":"string.quoted.double.asp","begin":"\"","end":"\"(?!\")","patterns":[{"name":"constant.character.escape.apostrophe.asp","match":"\"\""}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.asp"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.asp"}}},{"name":"variable.other.asp","match":"(\\$)[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\\b","captures":{"1":{"name":"punctuation.definition.variable.asp"}}},{"name":"support.class.asp","match":"(?i:\\b(Application|ObjectContext|Request|Response|Server|Session)\\b)"},{"name":"support.class.collection.asp","match":"(?i:\\b(Contents|StaticObjects|ClientCertificate|Cookies|Form|QueryString|ServerVariables)\\b)"},{"name":"support.constant.asp","match":"(?i:\\b(TotalBytes|Buffer|CacheControl|Charset|ContentType|Expires|ExpiresAbsolute|IsClientConnected|PICS|Status|ScriptTimeout|CodePage|LCID|SessionID|Timeout)\\b)"},{"name":"support.function.asp","match":"(?i:\\b(Lock|Unlock|SetAbort|SetComplete|BianryRead|AddHeader|AppendToLog|BinaryWrite|Clear|End|Flush|Redirect|Write|CreateObject|HTMLEncode|MapPath|URLEncode|Abandon)\\b)"},{"name":"support.function.event.asp","match":"(?i:\\b(Application_OnEnd|Application_OnStart|OnTransactionAbort|OnTransactionCommit|Session_OnEnd|Session_OnStart|Class_Initialize|Class_Terminate)\\b)"},{"name":"support.function.vb.asp","match":"(?i:\\b(Array|Add|Asc|Atn|CBool|CByte|CCur|CDate|CDbl|Chr|CInt|CLng|Conversions|Cos|CreateObject|CSng|CStr|Date|DateAdd|DateDiff|DatePart|DateSerial|DateValue|Day|Derived|Math|Escape|Eval|Exists|Exp|Filter|FormatCurrency|FormatDateTime|FormatNumber|FormatPercent|GetLocale|GetObject|GetRef|Hex|Hour|InputBox|InStr|InStrRev|Int|Fix|IsArray|IsDate|IsEmpty|IsNull|IsNumeric|IsObject|Item|Items|Join|Keys|LBound|LCase|Left|Len|LoadPicture|Log|LTrim|RTrim|Trim|Maths|Mid|Minute|Month|MonthName|MsgBox|Now|Oct|Remove|RemoveAll|Replace|RGB|Right|Rnd|Round|ScriptEngine|ScriptEngineBuildVersion|ScriptEngineMajorVersion|ScriptEngineMinorVersion|Second|SetLocale|Sgn|Sin|Space|Split|Sqr|StrComp|String|StrReverse|Tan|Time|Timer|TimeSerial|TimeValue|TypeName|UBound|UCase|Unescape|VarType|Weekday|WeekdayName|Year)\\b)"},{"name":"constant.numeric.asp","match":"\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?\\b"},{"name":"support.type.vb.asp","match":"(?i:\\b(vbtrue|vbfalse|vbcr|vbcrlf|vbformfeed|vblf|vbnewline|vbnullchar|vbnullstring|vbtab|vbverticaltab|vbbinarycompare|vbtextcomparevbsunday|vbmonday|vbtuesday|vbwednesday|vbthursday|vbfriday|vbsaturday|vbusesystemdayofweek|vbfirstjan1|vbfirstfourdays|vbfirstfullweek|vbgeneraldate|vblongdate|vbshortdate|vblongtime|vbshorttime|vbobjecterror|vbEmpty|vbNull|vbInteger|vbLong|vbSingle|vbDouble|vbCurrency|vbDate|vbString|vbObject|vbError|vbBoolean|vbVariant|vbDataObject|vbDecimal|vbByte|vbArray)\\b)"}]}
|
@@ -1,960 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "AspectJ",
|
3
|
-
"scopeName": "source.aspectj",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"name": "meta.package.java",
|
7
|
-
"match": "^\\s*(package)\\b(?:\\s*([^ ;$]+)\\s*(;)?)?",
|
8
|
-
"captures": {
|
9
|
-
"1": {
|
10
|
-
"name": "keyword.other.package.java"
|
11
|
-
},
|
12
|
-
"2": {
|
13
|
-
"name": "storage.modifier.package.java"
|
14
|
-
},
|
15
|
-
"3": {
|
16
|
-
"name": "punctuation.terminator.java"
|
17
|
-
}
|
18
|
-
}
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"name": "meta.import.java",
|
22
|
-
"match": "^\\s*(import)\\b(?:\\s*([^ ;$]+)\\s*(;)?)?",
|
23
|
-
"captures": {
|
24
|
-
"1": {
|
25
|
-
"name": "keyword.other.import.java"
|
26
|
-
},
|
27
|
-
"2": {
|
28
|
-
"name": "storage.modifier.import.java"
|
29
|
-
},
|
30
|
-
"3": {
|
31
|
-
"name": "punctuation.terminator.java"
|
32
|
-
}
|
33
|
-
}
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"include": "#code"
|
37
|
-
}
|
38
|
-
],
|
39
|
-
"repository": {
|
40
|
-
"advice": {
|
41
|
-
"name": "meta.advice.aspectj",
|
42
|
-
"begin": "(?!new)(?!.*pointcut)(?=[^=:]+\\([^\\)]*\\)[^=]*:)",
|
43
|
-
"end": "}|(?=;)",
|
44
|
-
"patterns": [
|
45
|
-
{
|
46
|
-
"include": "#storage-modifiers"
|
47
|
-
},
|
48
|
-
{
|
49
|
-
"name": "meta.method.identifier.java",
|
50
|
-
"begin": "(around|after|before|throwing|returning)\\s*\\(",
|
51
|
-
"end": "\\)",
|
52
|
-
"patterns": [
|
53
|
-
{
|
54
|
-
"include": "#parameters"
|
55
|
-
}
|
56
|
-
],
|
57
|
-
"beginCaptures": {
|
58
|
-
"1": {
|
59
|
-
"name": "keyword.other.advice.aspectj"
|
60
|
-
}
|
61
|
-
}
|
62
|
-
},
|
63
|
-
{
|
64
|
-
"name": "keyword.other.advice.aspectj",
|
65
|
-
"match": "(throwing|returning)(?=\\s*:)"
|
66
|
-
},
|
67
|
-
{
|
68
|
-
"name": "meta.advice.identifier.aspectj",
|
69
|
-
"begin": ":",
|
70
|
-
"end": "(?={)",
|
71
|
-
"patterns": [
|
72
|
-
{
|
73
|
-
"include": "#pointcut-definitions"
|
74
|
-
}
|
75
|
-
]
|
76
|
-
},
|
77
|
-
{
|
78
|
-
"name": "meta.method.return-type.java",
|
79
|
-
"begin": "(?=\\w.*\\s+\\w+\\s*\\()",
|
80
|
-
"end": "(?=\\w+\\s*\\()",
|
81
|
-
"patterns": [
|
82
|
-
{
|
83
|
-
"include": "#all-types"
|
84
|
-
}
|
85
|
-
]
|
86
|
-
},
|
87
|
-
{
|
88
|
-
"include": "#throws"
|
89
|
-
},
|
90
|
-
{
|
91
|
-
"name": "meta.method.body.java",
|
92
|
-
"begin": "{",
|
93
|
-
"end": "(?=})",
|
94
|
-
"patterns": [
|
95
|
-
{
|
96
|
-
"include": "#code"
|
97
|
-
}
|
98
|
-
]
|
99
|
-
}
|
100
|
-
]
|
101
|
-
},
|
102
|
-
"all-types": {
|
103
|
-
"patterns": [
|
104
|
-
{
|
105
|
-
"include": "#primitive-arrays"
|
106
|
-
},
|
107
|
-
{
|
108
|
-
"include": "#primitive-types"
|
109
|
-
},
|
110
|
-
{
|
111
|
-
"include": "#object-types"
|
112
|
-
}
|
113
|
-
]
|
114
|
-
},
|
115
|
-
"annotations": {
|
116
|
-
"patterns": [
|
117
|
-
{
|
118
|
-
"name": "meta.declaration.annotation.java",
|
119
|
-
"begin": "(@[^ (]+)(\\()",
|
120
|
-
"end": "(\\))",
|
121
|
-
"patterns": [
|
122
|
-
{
|
123
|
-
"match": "(\\w*)\\s*(=)",
|
124
|
-
"captures": {
|
125
|
-
"1": {
|
126
|
-
"name": "constant.other.key.java"
|
127
|
-
},
|
128
|
-
"2": {
|
129
|
-
"name": "keyword.operator.assignment.java"
|
130
|
-
}
|
131
|
-
}
|
132
|
-
},
|
133
|
-
{
|
134
|
-
"include": "#code"
|
135
|
-
},
|
136
|
-
{
|
137
|
-
"name": "punctuation.seperator.property.java",
|
138
|
-
"match": ","
|
139
|
-
}
|
140
|
-
],
|
141
|
-
"beginCaptures": {
|
142
|
-
"1": {
|
143
|
-
"name": "storage.type.annotation.java"
|
144
|
-
},
|
145
|
-
"2": {
|
146
|
-
"name": "punctuation.definition.annotation-arguments.begin.java"
|
147
|
-
}
|
148
|
-
},
|
149
|
-
"endCaptures": {
|
150
|
-
"1": {
|
151
|
-
"name": "punctuation.definition.annotation-arguments.end.java"
|
152
|
-
}
|
153
|
-
}
|
154
|
-
},
|
155
|
-
{
|
156
|
-
"name": "storage.type.annotation.java",
|
157
|
-
"match": "@\\w*"
|
158
|
-
}
|
159
|
-
]
|
160
|
-
},
|
161
|
-
"anonymous-classes-and-new": {
|
162
|
-
"begin": "\\bnew\\b",
|
163
|
-
"end": "(?\u003c=\\)|\\])(?!\\s*{)|(?\u003c=})|(?=;)",
|
164
|
-
"patterns": [
|
165
|
-
{
|
166
|
-
"begin": "(\\w+)\\s*(?=\\[)",
|
167
|
-
"end": "}|(?=;|\\))",
|
168
|
-
"patterns": [
|
169
|
-
{
|
170
|
-
"begin": "\\[",
|
171
|
-
"end": "\\]",
|
172
|
-
"patterns": [
|
173
|
-
{
|
174
|
-
"include": "#code"
|
175
|
-
}
|
176
|
-
]
|
177
|
-
},
|
178
|
-
{
|
179
|
-
"begin": "{",
|
180
|
-
"end": "(?=})",
|
181
|
-
"patterns": [
|
182
|
-
{
|
183
|
-
"include": "#code"
|
184
|
-
}
|
185
|
-
]
|
186
|
-
}
|
187
|
-
],
|
188
|
-
"beginCaptures": {
|
189
|
-
"1": {
|
190
|
-
"name": "storage.type.java"
|
191
|
-
}
|
192
|
-
}
|
193
|
-
},
|
194
|
-
{
|
195
|
-
"begin": "(?=\\w.*\\()",
|
196
|
-
"end": "(?\u003c=\\))",
|
197
|
-
"patterns": [
|
198
|
-
{
|
199
|
-
"include": "#object-types"
|
200
|
-
},
|
201
|
-
{
|
202
|
-
"begin": "\\(",
|
203
|
-
"end": "\\)",
|
204
|
-
"patterns": [
|
205
|
-
{
|
206
|
-
"include": "#code"
|
207
|
-
}
|
208
|
-
],
|
209
|
-
"beginCaptures": {
|
210
|
-
"1": {
|
211
|
-
"name": "storage.type.java"
|
212
|
-
}
|
213
|
-
}
|
214
|
-
}
|
215
|
-
]
|
216
|
-
},
|
217
|
-
{
|
218
|
-
"name": "meta.inner-class.java",
|
219
|
-
"begin": "{",
|
220
|
-
"end": "}",
|
221
|
-
"patterns": [
|
222
|
-
{
|
223
|
-
"include": "#class-body"
|
224
|
-
}
|
225
|
-
]
|
226
|
-
}
|
227
|
-
],
|
228
|
-
"beginCaptures": {
|
229
|
-
"0": {
|
230
|
-
"name": "keyword.control.new.java"
|
231
|
-
}
|
232
|
-
}
|
233
|
-
},
|
234
|
-
"assertions": {
|
235
|
-
"patterns": [
|
236
|
-
{
|
237
|
-
"name": "meta.declaration.assertion.java",
|
238
|
-
"begin": "\\b(assert)\\s",
|
239
|
-
"end": "$",
|
240
|
-
"patterns": [
|
241
|
-
{
|
242
|
-
"name": "keyword.operator.assert.expression-seperator.java",
|
243
|
-
"match": ":"
|
244
|
-
},
|
245
|
-
{
|
246
|
-
"include": "#code"
|
247
|
-
}
|
248
|
-
],
|
249
|
-
"beginCaptures": {
|
250
|
-
"1": {
|
251
|
-
"name": "keyword.control.assert.java"
|
252
|
-
}
|
253
|
-
}
|
254
|
-
}
|
255
|
-
]
|
256
|
-
},
|
257
|
-
"class": {
|
258
|
-
"name": "meta.class.aspectj",
|
259
|
-
"begin": "(?=\\w?[\\w\\s]*(?:class|(?:@)?interface|enum|aspect)\\s+\\w+)",
|
260
|
-
"end": "}",
|
261
|
-
"patterns": [
|
262
|
-
{
|
263
|
-
"include": "#storage-modifiers"
|
264
|
-
},
|
265
|
-
{
|
266
|
-
"include": "#comments"
|
267
|
-
},
|
268
|
-
{
|
269
|
-
"name": "meta.class.identifier.aspectj",
|
270
|
-
"match": "(class|(?:@)?interface|enum|aspect)\\s+(\\w+)",
|
271
|
-
"captures": {
|
272
|
-
"1": {
|
273
|
-
"name": "storage.type.java"
|
274
|
-
},
|
275
|
-
"2": {
|
276
|
-
"name": "entity.name.type.class.java"
|
277
|
-
}
|
278
|
-
}
|
279
|
-
},
|
280
|
-
{
|
281
|
-
"name": "meta.definition.class.inherited.classes.java",
|
282
|
-
"begin": "extends",
|
283
|
-
"end": "(?={|implements)",
|
284
|
-
"patterns": [
|
285
|
-
{
|
286
|
-
"include": "#object-types-inherited"
|
287
|
-
},
|
288
|
-
{
|
289
|
-
"include": "#comments"
|
290
|
-
}
|
291
|
-
],
|
292
|
-
"beginCaptures": {
|
293
|
-
"0": {
|
294
|
-
"name": "storage.modifier.extends.java"
|
295
|
-
}
|
296
|
-
}
|
297
|
-
},
|
298
|
-
{
|
299
|
-
"name": "meta.definition.class.implemented.interfaces.java",
|
300
|
-
"begin": "(implements)\\s",
|
301
|
-
"end": "(?=\\s*extends|\\{)",
|
302
|
-
"patterns": [
|
303
|
-
{
|
304
|
-
"include": "#object-types-inherited"
|
305
|
-
},
|
306
|
-
{
|
307
|
-
"include": "#comments"
|
308
|
-
}
|
309
|
-
],
|
310
|
-
"beginCaptures": {
|
311
|
-
"1": {
|
312
|
-
"name": "storage.modifier.implements.java"
|
313
|
-
}
|
314
|
-
}
|
315
|
-
},
|
316
|
-
{
|
317
|
-
"name": "meta.class.body.java",
|
318
|
-
"begin": "{",
|
319
|
-
"end": "(?=})",
|
320
|
-
"patterns": [
|
321
|
-
{
|
322
|
-
"include": "#class-body"
|
323
|
-
}
|
324
|
-
]
|
325
|
-
}
|
326
|
-
],
|
327
|
-
"endCaptures": {
|
328
|
-
"0": {
|
329
|
-
"name": "punctuation.section.class.end.java"
|
330
|
-
}
|
331
|
-
}
|
332
|
-
},
|
333
|
-
"class-body": {
|
334
|
-
"patterns": [
|
335
|
-
{
|
336
|
-
"include": "#comments"
|
337
|
-
},
|
338
|
-
{
|
339
|
-
"include": "#class"
|
340
|
-
},
|
341
|
-
{
|
342
|
-
"include": "#enums"
|
343
|
-
},
|
344
|
-
{
|
345
|
-
"include": "#methods"
|
346
|
-
},
|
347
|
-
{
|
348
|
-
"include": "#pointcuts"
|
349
|
-
},
|
350
|
-
{
|
351
|
-
"include": "#advice"
|
352
|
-
},
|
353
|
-
{
|
354
|
-
"include": "#annotations"
|
355
|
-
},
|
356
|
-
{
|
357
|
-
"include": "#storage-modifiers"
|
358
|
-
},
|
359
|
-
{
|
360
|
-
"include": "#code"
|
361
|
-
},
|
362
|
-
{
|
363
|
-
"include": "#declare-precedence"
|
364
|
-
},
|
365
|
-
{
|
366
|
-
"include": "#declare-parents"
|
367
|
-
},
|
368
|
-
{
|
369
|
-
"include": "#declare-constructs"
|
370
|
-
},
|
371
|
-
{
|
372
|
-
"include": "#declare-warnings-errors"
|
373
|
-
}
|
374
|
-
]
|
375
|
-
},
|
376
|
-
"code": {
|
377
|
-
"patterns": [
|
378
|
-
{
|
379
|
-
"include": "#comments"
|
380
|
-
},
|
381
|
-
{
|
382
|
-
"include": "#class"
|
383
|
-
},
|
384
|
-
{
|
385
|
-
"begin": "{",
|
386
|
-
"end": "}",
|
387
|
-
"patterns": [
|
388
|
-
{
|
389
|
-
"include": "#code"
|
390
|
-
}
|
391
|
-
]
|
392
|
-
},
|
393
|
-
{
|
394
|
-
"include": "#assertions"
|
395
|
-
},
|
396
|
-
{
|
397
|
-
"include": "#parens"
|
398
|
-
},
|
399
|
-
{
|
400
|
-
"include": "#constants-and-special-vars"
|
401
|
-
},
|
402
|
-
{
|
403
|
-
"include": "#anonymous-classes-and-new"
|
404
|
-
},
|
405
|
-
{
|
406
|
-
"include": "#keywords"
|
407
|
-
},
|
408
|
-
{
|
409
|
-
"include": "#storage-modifiers"
|
410
|
-
},
|
411
|
-
{
|
412
|
-
"include": "#strings"
|
413
|
-
},
|
414
|
-
{
|
415
|
-
"include": "#all-types"
|
416
|
-
},
|
417
|
-
{
|
418
|
-
"name": "support.function.builtin.aspectj",
|
419
|
-
"match": "\\b(proceed)\\b"
|
420
|
-
}
|
421
|
-
]
|
422
|
-
},
|
423
|
-
"comments": {
|
424
|
-
"patterns": [
|
425
|
-
{
|
426
|
-
"name": "comment.block.empty.java",
|
427
|
-
"match": "/\\*\\*/",
|
428
|
-
"captures": {
|
429
|
-
"0": {
|
430
|
-
"name": "punctuation.definition.comment.java"
|
431
|
-
}
|
432
|
-
}
|
433
|
-
},
|
434
|
-
{
|
435
|
-
"include": "text.html.javadoc"
|
436
|
-
},
|
437
|
-
{
|
438
|
-
"include": "#comments-inline"
|
439
|
-
}
|
440
|
-
]
|
441
|
-
},
|
442
|
-
"comments-inline": {
|
443
|
-
"patterns": [
|
444
|
-
{
|
445
|
-
"name": "comment.block.java",
|
446
|
-
"begin": "/\\*",
|
447
|
-
"end": "\\*/",
|
448
|
-
"captures": {
|
449
|
-
"0": {
|
450
|
-
"name": "punctuation.definition.comment.java"
|
451
|
-
}
|
452
|
-
}
|
453
|
-
},
|
454
|
-
{
|
455
|
-
"match": "\\s*((//).*$\\n?)",
|
456
|
-
"captures": {
|
457
|
-
"1": {
|
458
|
-
"name": "comment.line.double-slash.java"
|
459
|
-
},
|
460
|
-
"2": {
|
461
|
-
"name": "punctuation.definition.comment.java"
|
462
|
-
}
|
463
|
-
}
|
464
|
-
}
|
465
|
-
]
|
466
|
-
},
|
467
|
-
"constants-and-special-vars": {
|
468
|
-
"patterns": [
|
469
|
-
{
|
470
|
-
"name": "constant.language.java",
|
471
|
-
"match": "\\b(true|false|null)\\b"
|
472
|
-
},
|
473
|
-
{
|
474
|
-
"name": "variable.language.java",
|
475
|
-
"match": "\\b(this|super)\\b"
|
476
|
-
},
|
477
|
-
{
|
478
|
-
"name": "constant.numeric.java",
|
479
|
-
"match": "\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)([LlFfUuDd]|UL|ul)?\\b"
|
480
|
-
},
|
481
|
-
{
|
482
|
-
"name": "constant.other.java",
|
483
|
-
"match": "(\\.)?\\b([A-Z][A-Z0-9_]+)(?!\u003c|\\.class|\\s*\\w+\\s*=)\\b",
|
484
|
-
"captures": {
|
485
|
-
"1": {
|
486
|
-
"name": "keyword.operator.dereference.java"
|
487
|
-
}
|
488
|
-
}
|
489
|
-
}
|
490
|
-
]
|
491
|
-
},
|
492
|
-
"declare-constructs": {
|
493
|
-
"name": "meta.declare.construct.aspectj",
|
494
|
-
"begin": "(declare)\\s+(@(?:type|method|field|package|constructor))\\s*:",
|
495
|
-
"end": ";",
|
496
|
-
"patterns": [
|
497
|
-
{
|
498
|
-
"include": "#keywords"
|
499
|
-
},
|
500
|
-
{
|
501
|
-
"include": "#all-types"
|
502
|
-
},
|
503
|
-
{
|
504
|
-
"include": "#storage-modifiers"
|
505
|
-
},
|
506
|
-
{
|
507
|
-
"include": "#strings"
|
508
|
-
}
|
509
|
-
],
|
510
|
-
"beginCaptures": {
|
511
|
-
"1": {
|
512
|
-
"name": "storage.type.declare.aspectj"
|
513
|
-
},
|
514
|
-
"2": {
|
515
|
-
"name": "storage.type.declare.construct.aspectj"
|
516
|
-
}
|
517
|
-
}
|
518
|
-
},
|
519
|
-
"declare-parents": {
|
520
|
-
"name": "meta.declare.precedence.aspectj",
|
521
|
-
"begin": "(declare)\\s+(parents)\\s*:",
|
522
|
-
"end": ";",
|
523
|
-
"patterns": [
|
524
|
-
{
|
525
|
-
"include": "#keywords"
|
526
|
-
},
|
527
|
-
{
|
528
|
-
"name": "storage.modifier.class.aspectj",
|
529
|
-
"match": "\\b(implements|extends)\\b"
|
530
|
-
}
|
531
|
-
],
|
532
|
-
"beginCaptures": {
|
533
|
-
"1": {
|
534
|
-
"name": "storage.type.declare.aspectj"
|
535
|
-
},
|
536
|
-
"2": {
|
537
|
-
"name": "storage.type.declare.parents.aspectj"
|
538
|
-
}
|
539
|
-
}
|
540
|
-
},
|
541
|
-
"declare-precedence": {
|
542
|
-
"name": "meta.declare.precedence.aspectj",
|
543
|
-
"begin": "(declare)\\s+(precedence)\\s*:",
|
544
|
-
"end": ";",
|
545
|
-
"beginCaptures": {
|
546
|
-
"1": {
|
547
|
-
"name": "storage.type.declare.aspectj"
|
548
|
-
},
|
549
|
-
"2": {
|
550
|
-
"name": "storage.type.declare.precedence.aspectj"
|
551
|
-
}
|
552
|
-
}
|
553
|
-
},
|
554
|
-
"declare-warnings-errors": {
|
555
|
-
"name": "meta.declare.alerts.aspectj",
|
556
|
-
"begin": "(declare)\\s+(warning|error)\\s*:",
|
557
|
-
"end": ";",
|
558
|
-
"patterns": [
|
559
|
-
{
|
560
|
-
"include": "#pointcut-definitions"
|
561
|
-
},
|
562
|
-
{
|
563
|
-
"include": "#strings"
|
564
|
-
}
|
565
|
-
],
|
566
|
-
"beginCaptures": {
|
567
|
-
"1": {
|
568
|
-
"name": "storage.type.declare.aspectj"
|
569
|
-
},
|
570
|
-
"2": {
|
571
|
-
"name": "storage.type.declare.alerts.aspectj"
|
572
|
-
}
|
573
|
-
}
|
574
|
-
},
|
575
|
-
"enums": {
|
576
|
-
"begin": "^(?=\\s*[A-Z0-9_]+\\s*({|\\(|,))",
|
577
|
-
"end": "(?=;|})",
|
578
|
-
"patterns": [
|
579
|
-
{
|
580
|
-
"name": "meta.enum.java",
|
581
|
-
"begin": "\\w+",
|
582
|
-
"end": "(?=,|;|})",
|
583
|
-
"patterns": [
|
584
|
-
{
|
585
|
-
"include": "#parens"
|
586
|
-
},
|
587
|
-
{
|
588
|
-
"begin": "{",
|
589
|
-
"end": "}",
|
590
|
-
"patterns": [
|
591
|
-
{
|
592
|
-
"include": "#class-body"
|
593
|
-
}
|
594
|
-
]
|
595
|
-
}
|
596
|
-
],
|
597
|
-
"beginCaptures": {
|
598
|
-
"0": {
|
599
|
-
"name": "constant.other.enum.java"
|
600
|
-
}
|
601
|
-
}
|
602
|
-
}
|
603
|
-
]
|
604
|
-
},
|
605
|
-
"keywords": {
|
606
|
-
"patterns": [
|
607
|
-
{
|
608
|
-
"name": "keyword.control.catch-exception.java",
|
609
|
-
"match": "\\b(try|catch|finally|throw)\\b"
|
610
|
-
},
|
611
|
-
{
|
612
|
-
"name": "keyword.control.java",
|
613
|
-
"match": "\\?|:"
|
614
|
-
},
|
615
|
-
{
|
616
|
-
"name": "keyword.control.java",
|
617
|
-
"match": "\\b(return|break|case|continue|default|do|while|for|switch|if|else)\\b"
|
618
|
-
},
|
619
|
-
{
|
620
|
-
"name": "keyword.operator.java",
|
621
|
-
"match": "\\b(instanceof)\\b"
|
622
|
-
},
|
623
|
-
{
|
624
|
-
"name": "keyword.operator.comparison.java",
|
625
|
-
"match": "(==|!=|\u003c=|\u003e=|\u003c\u003e|\u003c|\u003e)"
|
626
|
-
},
|
627
|
-
{
|
628
|
-
"name": "keyword.operator.assignment.java",
|
629
|
-
"match": "(=)"
|
630
|
-
},
|
631
|
-
{
|
632
|
-
"name": "keyword.operator.increment-decrement.java",
|
633
|
-
"match": "(\\-\\-|\\+\\+)"
|
634
|
-
},
|
635
|
-
{
|
636
|
-
"name": "keyword.operator.arithmetic.java",
|
637
|
-
"match": "(\\-|\\+|\\*|\\/|%)"
|
638
|
-
},
|
639
|
-
{
|
640
|
-
"name": "keyword.operator.logical.java",
|
641
|
-
"match": "(!|\u0026\u0026|\\|\\|)"
|
642
|
-
},
|
643
|
-
{
|
644
|
-
"name": "keyword.operator.dereference.java",
|
645
|
-
"match": "(?\u003c=\\S)\\.(?=\\S)"
|
646
|
-
},
|
647
|
-
{
|
648
|
-
"name": "punctuation.terminator.java",
|
649
|
-
"match": ";"
|
650
|
-
}
|
651
|
-
]
|
652
|
-
},
|
653
|
-
"methods": {
|
654
|
-
"name": "meta.method.java",
|
655
|
-
"begin": "(?!new)(?!.*pointcut)(?=\\w[^=:]*\\s+)(?=[^=:]+\\()(?!.*:)",
|
656
|
-
"end": "}|(?=;)",
|
657
|
-
"patterns": [
|
658
|
-
{
|
659
|
-
"include": "#storage-modifiers"
|
660
|
-
},
|
661
|
-
{
|
662
|
-
"name": "meta.method.identifier.java",
|
663
|
-
"begin": "([\\w\\.]+)\\s*\\(",
|
664
|
-
"end": "\\)",
|
665
|
-
"patterns": [
|
666
|
-
{
|
667
|
-
"include": "#parameters"
|
668
|
-
}
|
669
|
-
],
|
670
|
-
"beginCaptures": {
|
671
|
-
"1": {
|
672
|
-
"name": "entity.name.function.java"
|
673
|
-
}
|
674
|
-
}
|
675
|
-
},
|
676
|
-
{
|
677
|
-
"name": "meta.method.return-type.java",
|
678
|
-
"begin": "(?=\\w.*\\s+\\w+\\s*\\()",
|
679
|
-
"end": "(?=\\w+\\s*\\()",
|
680
|
-
"patterns": [
|
681
|
-
{
|
682
|
-
"include": "#all-types"
|
683
|
-
}
|
684
|
-
]
|
685
|
-
},
|
686
|
-
{
|
687
|
-
"include": "#throws"
|
688
|
-
},
|
689
|
-
{
|
690
|
-
"name": "meta.method.body.java",
|
691
|
-
"begin": "{",
|
692
|
-
"end": "(?=})",
|
693
|
-
"patterns": [
|
694
|
-
{
|
695
|
-
"include": "#code"
|
696
|
-
}
|
697
|
-
]
|
698
|
-
}
|
699
|
-
]
|
700
|
-
},
|
701
|
-
"object-types": {
|
702
|
-
"patterns": [
|
703
|
-
{
|
704
|
-
"name": "storage.type.generic.java",
|
705
|
-
"begin": "\\b((?:[a-z]\\w*\\.)*[A-Z]+\\w*)\u003c",
|
706
|
-
"end": "\u003e|[^\\w\\s,\\?\u003c\\[\\]]",
|
707
|
-
"patterns": [
|
708
|
-
{
|
709
|
-
"include": "#object-types"
|
710
|
-
},
|
711
|
-
{
|
712
|
-
"name": "storage.type.generic.java",
|
713
|
-
"begin": "\u003c",
|
714
|
-
"end": "\u003e|[^\\w\\s,\\[\\]\u003c]"
|
715
|
-
}
|
716
|
-
]
|
717
|
-
},
|
718
|
-
{
|
719
|
-
"name": "storage.type.object.array.java",
|
720
|
-
"begin": "\\b((?:[a-z]\\w*\\.)*[A-Z]+\\w*)(?=\\[)",
|
721
|
-
"end": "(?=[^\\]\\s])",
|
722
|
-
"patterns": [
|
723
|
-
{
|
724
|
-
"begin": "\\[",
|
725
|
-
"end": "\\]",
|
726
|
-
"patterns": [
|
727
|
-
{
|
728
|
-
"include": "#code"
|
729
|
-
}
|
730
|
-
]
|
731
|
-
}
|
732
|
-
]
|
733
|
-
},
|
734
|
-
{
|
735
|
-
"name": "storage.type.java",
|
736
|
-
"match": "\\b(?:[a-z]\\w*(\\.))*[A-Z]+\\w*\\b",
|
737
|
-
"captures": {
|
738
|
-
"1": {
|
739
|
-
"name": "keyword.operator.dereference.java"
|
740
|
-
}
|
741
|
-
}
|
742
|
-
}
|
743
|
-
]
|
744
|
-
},
|
745
|
-
"object-types-inherited": {
|
746
|
-
"patterns": [
|
747
|
-
{
|
748
|
-
"name": "entity.other.inherited-class.java",
|
749
|
-
"begin": "\\b((?:[a-z]\\w*\\.)*[A-Z]+\\w*)\u003c",
|
750
|
-
"end": "\u003e|[^\\w\\s,\u003c]",
|
751
|
-
"patterns": [
|
752
|
-
{
|
753
|
-
"include": "#object-types"
|
754
|
-
},
|
755
|
-
{
|
756
|
-
"name": "storage.type.generic.java",
|
757
|
-
"begin": "\u003c",
|
758
|
-
"end": "\u003e|[^\\w\\s,\u003c]"
|
759
|
-
}
|
760
|
-
]
|
761
|
-
},
|
762
|
-
{
|
763
|
-
"name": "entity.other.inherited-class.java",
|
764
|
-
"match": "\\b(?:[a-z]\\w*(\\.))*[A-Z]+\\w*",
|
765
|
-
"captures": {
|
766
|
-
"1": {
|
767
|
-
"name": "keyword.operator.dereference.java"
|
768
|
-
}
|
769
|
-
}
|
770
|
-
}
|
771
|
-
]
|
772
|
-
},
|
773
|
-
"parameters": {
|
774
|
-
"patterns": [
|
775
|
-
{
|
776
|
-
"name": "storage.modifier.java",
|
777
|
-
"match": "final"
|
778
|
-
},
|
779
|
-
{
|
780
|
-
"include": "#primitive-arrays"
|
781
|
-
},
|
782
|
-
{
|
783
|
-
"include": "#primitive-types"
|
784
|
-
},
|
785
|
-
{
|
786
|
-
"include": "#object-types"
|
787
|
-
},
|
788
|
-
{
|
789
|
-
"name": "variable.parameter.java",
|
790
|
-
"match": "\\w+"
|
791
|
-
}
|
792
|
-
]
|
793
|
-
},
|
794
|
-
"parens": {
|
795
|
-
"begin": "\\(",
|
796
|
-
"end": "\\)",
|
797
|
-
"patterns": [
|
798
|
-
{
|
799
|
-
"include": "#code"
|
800
|
-
}
|
801
|
-
]
|
802
|
-
},
|
803
|
-
"pointcut-definitions": {
|
804
|
-
"patterns": [
|
805
|
-
{
|
806
|
-
"include": "#keywords"
|
807
|
-
},
|
808
|
-
{
|
809
|
-
"include": "#all-types"
|
810
|
-
},
|
811
|
-
{
|
812
|
-
"name": "support.function.builtin.aspectj",
|
813
|
-
"match": "(@annotation|\\b(get|set|adviceexecution|execution|call|target|args|within|withincode|handler|cflow|cflowbelow|this|if|preinitialization|staticinitialization|initialization)\\b)"
|
814
|
-
}
|
815
|
-
]
|
816
|
-
},
|
817
|
-
"pointcuts": {
|
818
|
-
"name": "meta.pointcut.aspectj",
|
819
|
-
"begin": "(?=\\w?.*\\s+)(pointcut)(?=\\s+[^=]+\\()",
|
820
|
-
"end": ";",
|
821
|
-
"patterns": [
|
822
|
-
{
|
823
|
-
"include": "#storage-modifiers"
|
824
|
-
},
|
825
|
-
{
|
826
|
-
"name": "meta.pointcut.identifier.aspectj",
|
827
|
-
"begin": "(\\w+)\\s*\\(",
|
828
|
-
"end": "\\)",
|
829
|
-
"patterns": [
|
830
|
-
{
|
831
|
-
"include": "#parameters"
|
832
|
-
}
|
833
|
-
],
|
834
|
-
"beginCaptures": {
|
835
|
-
"1": {
|
836
|
-
"name": "entity.name.function.aspectj"
|
837
|
-
}
|
838
|
-
}
|
839
|
-
},
|
840
|
-
{
|
841
|
-
"name": "meta.pointcut.body.aspectj",
|
842
|
-
"begin": ":",
|
843
|
-
"end": "(?=;)",
|
844
|
-
"patterns": [
|
845
|
-
{
|
846
|
-
"include": "#pointcut-definitions"
|
847
|
-
}
|
848
|
-
]
|
849
|
-
}
|
850
|
-
],
|
851
|
-
"beginCaptures": {
|
852
|
-
"1": {
|
853
|
-
"name": "storage.type.aspectj"
|
854
|
-
}
|
855
|
-
}
|
856
|
-
},
|
857
|
-
"primitive-arrays": {
|
858
|
-
"patterns": [
|
859
|
-
{
|
860
|
-
"name": "storage.type.primitive.array.java",
|
861
|
-
"match": "\\b(?:void|boolean|byte|char|short|int|float|long|double)(\\[\\])*\\b"
|
862
|
-
}
|
863
|
-
]
|
864
|
-
},
|
865
|
-
"primitive-types": {
|
866
|
-
"patterns": [
|
867
|
-
{
|
868
|
-
"name": "storage.type.primitive.java",
|
869
|
-
"match": "\\b(?:void|boolean|byte|char|short|int|float|long|double)\\b"
|
870
|
-
}
|
871
|
-
]
|
872
|
-
},
|
873
|
-
"storage-modifiers": {
|
874
|
-
"patterns": [
|
875
|
-
{
|
876
|
-
"name": "storage.modifier.java",
|
877
|
-
"match": "\\b(public|private|protected|static|final|native|synchronized|abstract|threadsafe|transient)\\b"
|
878
|
-
},
|
879
|
-
{
|
880
|
-
"name": "storage.modifier.aspectj",
|
881
|
-
"match": "\\b(privileged)\\b"
|
882
|
-
}
|
883
|
-
]
|
884
|
-
},
|
885
|
-
"strings": {
|
886
|
-
"patterns": [
|
887
|
-
{
|
888
|
-
"name": "string.quoted.double.java",
|
889
|
-
"begin": "\"",
|
890
|
-
"end": "\"",
|
891
|
-
"patterns": [
|
892
|
-
{
|
893
|
-
"name": "constant.character.escape.java",
|
894
|
-
"match": "\\\\."
|
895
|
-
}
|
896
|
-
],
|
897
|
-
"beginCaptures": {
|
898
|
-
"0": {
|
899
|
-
"name": "punctuation.definition.string.begin.java"
|
900
|
-
}
|
901
|
-
},
|
902
|
-
"endCaptures": {
|
903
|
-
"0": {
|
904
|
-
"name": "punctuation.definition.string.end.java"
|
905
|
-
}
|
906
|
-
}
|
907
|
-
},
|
908
|
-
{
|
909
|
-
"name": "string.quoted.single.java",
|
910
|
-
"begin": "'",
|
911
|
-
"end": "'",
|
912
|
-
"patterns": [
|
913
|
-
{
|
914
|
-
"name": "constant.character.escape.java",
|
915
|
-
"match": "\\\\."
|
916
|
-
}
|
917
|
-
],
|
918
|
-
"beginCaptures": {
|
919
|
-
"0": {
|
920
|
-
"name": "punctuation.definition.string.begin.java"
|
921
|
-
}
|
922
|
-
},
|
923
|
-
"endCaptures": {
|
924
|
-
"0": {
|
925
|
-
"name": "punctuation.definition.string.end.java"
|
926
|
-
}
|
927
|
-
}
|
928
|
-
}
|
929
|
-
]
|
930
|
-
},
|
931
|
-
"throws": {
|
932
|
-
"name": "meta.throwables.java",
|
933
|
-
"begin": "throws",
|
934
|
-
"end": "(?={|;)",
|
935
|
-
"patterns": [
|
936
|
-
{
|
937
|
-
"include": "#object-types"
|
938
|
-
}
|
939
|
-
],
|
940
|
-
"beginCaptures": {
|
941
|
-
"0": {
|
942
|
-
"name": "storage.modifier.java"
|
943
|
-
}
|
944
|
-
}
|
945
|
-
},
|
946
|
-
"values": {
|
947
|
-
"patterns": [
|
948
|
-
{
|
949
|
-
"include": "#strings"
|
950
|
-
},
|
951
|
-
{
|
952
|
-
"include": "#object-types"
|
953
|
-
},
|
954
|
-
{
|
955
|
-
"include": "#constants-and-special-vars"
|
956
|
-
}
|
957
|
-
]
|
958
|
-
}
|
959
|
-
}
|
960
|
-
}
|
1
|
+
{"name":"AspectJ","scopeName":"source.aspectj","patterns":[{"name":"meta.package.java","match":"^\\s*(package)\\b(?:\\s*([^ ;$]+)\\s*(;)?)?","captures":{"1":{"name":"keyword.other.package.java"},"2":{"name":"storage.modifier.package.java"},"3":{"name":"punctuation.terminator.java"}}},{"name":"meta.import.java","match":"^\\s*(import)\\b(?:\\s*([^ ;$]+)\\s*(;)?)?","captures":{"1":{"name":"keyword.other.import.java"},"2":{"name":"storage.modifier.import.java"},"3":{"name":"punctuation.terminator.java"}}},{"include":"#code"}],"repository":{"advice":{"name":"meta.advice.aspectj","begin":"(?!new)(?!.*pointcut)(?=[^=:]+\\([^\\)]*\\)[^=]*:)","end":"}|(?=;)","patterns":[{"include":"#storage-modifiers"},{"name":"meta.method.identifier.java","begin":"(around|after|before|throwing|returning)\\s*\\(","end":"\\)","patterns":[{"include":"#parameters"}],"beginCaptures":{"1":{"name":"keyword.other.advice.aspectj"}}},{"name":"keyword.other.advice.aspectj","match":"(throwing|returning)(?=\\s*:)"},{"name":"meta.advice.identifier.aspectj","begin":":","end":"(?={)","patterns":[{"include":"#pointcut-definitions"}]},{"name":"meta.method.return-type.java","begin":"(?=\\w.*\\s+\\w+\\s*\\()","end":"(?=\\w+\\s*\\()","patterns":[{"include":"#all-types"}]},{"include":"#throws"},{"name":"meta.method.body.java","begin":"{","end":"(?=})","patterns":[{"include":"#code"}]}]},"all-types":{"patterns":[{"include":"#primitive-arrays"},{"include":"#primitive-types"},{"include":"#object-types"}]},"annotations":{"patterns":[{"name":"meta.declaration.annotation.java","begin":"(@[^ (]+)(\\()","end":"(\\))","patterns":[{"match":"(\\w*)\\s*(=)","captures":{"1":{"name":"constant.other.key.java"},"2":{"name":"keyword.operator.assignment.java"}}},{"include":"#code"},{"name":"punctuation.seperator.property.java","match":","}],"beginCaptures":{"1":{"name":"storage.type.annotation.java"},"2":{"name":"punctuation.definition.annotation-arguments.begin.java"}},"endCaptures":{"1":{"name":"punctuation.definition.annotation-arguments.end.java"}}},{"name":"storage.type.annotation.java","match":"@\\w*"}]},"anonymous-classes-and-new":{"begin":"\\bnew\\b","end":"(?\u003c=\\)|\\])(?!\\s*{)|(?\u003c=})|(?=;)","patterns":[{"begin":"(\\w+)\\s*(?=\\[)","end":"}|(?=;|\\))","patterns":[{"begin":"\\[","end":"\\]","patterns":[{"include":"#code"}]},{"begin":"{","end":"(?=})","patterns":[{"include":"#code"}]}],"beginCaptures":{"1":{"name":"storage.type.java"}}},{"begin":"(?=\\w.*\\()","end":"(?\u003c=\\))","patterns":[{"include":"#object-types"},{"begin":"\\(","end":"\\)","patterns":[{"include":"#code"}],"beginCaptures":{"1":{"name":"storage.type.java"}}}]},{"name":"meta.inner-class.java","begin":"{","end":"}","patterns":[{"include":"#class-body"}]}],"beginCaptures":{"0":{"name":"keyword.control.new.java"}}},"assertions":{"patterns":[{"name":"meta.declaration.assertion.java","begin":"\\b(assert)\\s","end":"$","patterns":[{"name":"keyword.operator.assert.expression-seperator.java","match":":"},{"include":"#code"}],"beginCaptures":{"1":{"name":"keyword.control.assert.java"}}}]},"class":{"name":"meta.class.aspectj","begin":"(?=\\w?[\\w\\s]*(?:class|(?:@)?interface|enum|aspect)\\s+\\w+)","end":"}","patterns":[{"include":"#storage-modifiers"},{"include":"#comments"},{"name":"meta.class.identifier.aspectj","match":"(class|(?:@)?interface|enum|aspect)\\s+(\\w+)","captures":{"1":{"name":"storage.type.java"},"2":{"name":"entity.name.type.class.java"}}},{"name":"meta.definition.class.inherited.classes.java","begin":"extends","end":"(?={|implements)","patterns":[{"include":"#object-types-inherited"},{"include":"#comments"}],"beginCaptures":{"0":{"name":"storage.modifier.extends.java"}}},{"name":"meta.definition.class.implemented.interfaces.java","begin":"(implements)\\s","end":"(?=\\s*extends|\\{)","patterns":[{"include":"#object-types-inherited"},{"include":"#comments"}],"beginCaptures":{"1":{"name":"storage.modifier.implements.java"}}},{"name":"meta.class.body.java","begin":"{","end":"(?=})","patterns":[{"include":"#class-body"}]}],"endCaptures":{"0":{"name":"punctuation.section.class.end.java"}}},"class-body":{"patterns":[{"include":"#comments"},{"include":"#class"},{"include":"#enums"},{"include":"#methods"},{"include":"#pointcuts"},{"include":"#advice"},{"include":"#annotations"},{"include":"#storage-modifiers"},{"include":"#code"},{"include":"#declare-precedence"},{"include":"#declare-parents"},{"include":"#declare-constructs"},{"include":"#declare-warnings-errors"}]},"code":{"patterns":[{"include":"#comments"},{"include":"#class"},{"begin":"{","end":"}","patterns":[{"include":"#code"}]},{"include":"#assertions"},{"include":"#parens"},{"include":"#constants-and-special-vars"},{"include":"#anonymous-classes-and-new"},{"include":"#keywords"},{"include":"#storage-modifiers"},{"include":"#strings"},{"include":"#all-types"},{"name":"support.function.builtin.aspectj","match":"\\b(proceed)\\b"}]},"comments":{"patterns":[{"name":"comment.block.empty.java","match":"/\\*\\*/","captures":{"0":{"name":"punctuation.definition.comment.java"}}},{"include":"text.html.javadoc"},{"include":"#comments-inline"}]},"comments-inline":{"patterns":[{"name":"comment.block.java","begin":"/\\*","end":"\\*/","captures":{"0":{"name":"punctuation.definition.comment.java"}}},{"match":"\\s*((//).*$\\n?)","captures":{"1":{"name":"comment.line.double-slash.java"},"2":{"name":"punctuation.definition.comment.java"}}}]},"constants-and-special-vars":{"patterns":[{"name":"constant.language.java","match":"\\b(true|false|null)\\b"},{"name":"variable.language.java","match":"\\b(this|super)\\b"},{"name":"constant.numeric.java","match":"\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)([LlFfUuDd]|UL|ul)?\\b"},{"name":"constant.other.java","match":"(\\.)?\\b([A-Z][A-Z0-9_]+)(?!\u003c|\\.class|\\s*\\w+\\s*=)\\b","captures":{"1":{"name":"keyword.operator.dereference.java"}}}]},"declare-constructs":{"name":"meta.declare.construct.aspectj","begin":"(declare)\\s+(@(?:type|method|field|package|constructor))\\s*:","end":";","patterns":[{"include":"#keywords"},{"include":"#all-types"},{"include":"#storage-modifiers"},{"include":"#strings"}],"beginCaptures":{"1":{"name":"storage.type.declare.aspectj"},"2":{"name":"storage.type.declare.construct.aspectj"}}},"declare-parents":{"name":"meta.declare.precedence.aspectj","begin":"(declare)\\s+(parents)\\s*:","end":";","patterns":[{"include":"#keywords"},{"name":"storage.modifier.class.aspectj","match":"\\b(implements|extends)\\b"}],"beginCaptures":{"1":{"name":"storage.type.declare.aspectj"},"2":{"name":"storage.type.declare.parents.aspectj"}}},"declare-precedence":{"name":"meta.declare.precedence.aspectj","begin":"(declare)\\s+(precedence)\\s*:","end":";","beginCaptures":{"1":{"name":"storage.type.declare.aspectj"},"2":{"name":"storage.type.declare.precedence.aspectj"}}},"declare-warnings-errors":{"name":"meta.declare.alerts.aspectj","begin":"(declare)\\s+(warning|error)\\s*:","end":";","patterns":[{"include":"#pointcut-definitions"},{"include":"#strings"}],"beginCaptures":{"1":{"name":"storage.type.declare.aspectj"},"2":{"name":"storage.type.declare.alerts.aspectj"}}},"enums":{"begin":"^(?=\\s*[A-Z0-9_]+\\s*({|\\(|,))","end":"(?=;|})","patterns":[{"name":"meta.enum.java","begin":"\\w+","end":"(?=,|;|})","patterns":[{"include":"#parens"},{"begin":"{","end":"}","patterns":[{"include":"#class-body"}]}],"beginCaptures":{"0":{"name":"constant.other.enum.java"}}}]},"keywords":{"patterns":[{"name":"keyword.control.catch-exception.java","match":"\\b(try|catch|finally|throw)\\b"},{"name":"keyword.control.java","match":"\\?|:"},{"name":"keyword.control.java","match":"\\b(return|break|case|continue|default|do|while|for|switch|if|else)\\b"},{"name":"keyword.operator.java","match":"\\b(instanceof)\\b"},{"name":"keyword.operator.comparison.java","match":"(==|!=|\u003c=|\u003e=|\u003c\u003e|\u003c|\u003e)"},{"name":"keyword.operator.assignment.java","match":"(=)"},{"name":"keyword.operator.increment-decrement.java","match":"(\\-\\-|\\+\\+)"},{"name":"keyword.operator.arithmetic.java","match":"(\\-|\\+|\\*|\\/|%)"},{"name":"keyword.operator.logical.java","match":"(!|\u0026\u0026|\\|\\|)"},{"name":"keyword.operator.dereference.java","match":"(?\u003c=\\S)\\.(?=\\S)"},{"name":"punctuation.terminator.java","match":";"}]},"methods":{"name":"meta.method.java","begin":"(?!new)(?!.*pointcut)(?=\\w[^=:]*\\s+)(?=[^=:]+\\()(?!.*:)","end":"}|(?=;)","patterns":[{"include":"#storage-modifiers"},{"name":"meta.method.identifier.java","begin":"([\\w\\.]+)\\s*\\(","end":"\\)","patterns":[{"include":"#parameters"}],"beginCaptures":{"1":{"name":"entity.name.function.java"}}},{"name":"meta.method.return-type.java","begin":"(?=\\w.*\\s+\\w+\\s*\\()","end":"(?=\\w+\\s*\\()","patterns":[{"include":"#all-types"}]},{"include":"#throws"},{"name":"meta.method.body.java","begin":"{","end":"(?=})","patterns":[{"include":"#code"}]}]},"object-types":{"patterns":[{"name":"storage.type.generic.java","begin":"\\b((?:[a-z]\\w*\\.)*[A-Z]+\\w*)\u003c","end":"\u003e|[^\\w\\s,\\?\u003c\\[\\]]","patterns":[{"include":"#object-types"},{"name":"storage.type.generic.java","begin":"\u003c","end":"\u003e|[^\\w\\s,\\[\\]\u003c]"}]},{"name":"storage.type.object.array.java","begin":"\\b((?:[a-z]\\w*\\.)*[A-Z]+\\w*)(?=\\[)","end":"(?=[^\\]\\s])","patterns":[{"begin":"\\[","end":"\\]","patterns":[{"include":"#code"}]}]},{"name":"storage.type.java","match":"\\b(?:[a-z]\\w*(\\.))*[A-Z]+\\w*\\b","captures":{"1":{"name":"keyword.operator.dereference.java"}}}]},"object-types-inherited":{"patterns":[{"name":"entity.other.inherited-class.java","begin":"\\b((?:[a-z]\\w*\\.)*[A-Z]+\\w*)\u003c","end":"\u003e|[^\\w\\s,\u003c]","patterns":[{"include":"#object-types"},{"name":"storage.type.generic.java","begin":"\u003c","end":"\u003e|[^\\w\\s,\u003c]"}]},{"name":"entity.other.inherited-class.java","match":"\\b(?:[a-z]\\w*(\\.))*[A-Z]+\\w*","captures":{"1":{"name":"keyword.operator.dereference.java"}}}]},"parameters":{"patterns":[{"name":"storage.modifier.java","match":"final"},{"include":"#primitive-arrays"},{"include":"#primitive-types"},{"include":"#object-types"},{"name":"variable.parameter.java","match":"\\w+"}]},"parens":{"begin":"\\(","end":"\\)","patterns":[{"include":"#code"}]},"pointcut-definitions":{"patterns":[{"include":"#keywords"},{"include":"#all-types"},{"name":"support.function.builtin.aspectj","match":"(@annotation|\\b(get|set|adviceexecution|execution|call|target|args|within|withincode|handler|cflow|cflowbelow|this|if|preinitialization|staticinitialization|initialization)\\b)"}]},"pointcuts":{"name":"meta.pointcut.aspectj","begin":"(?=\\w?.*\\s+)(pointcut)(?=\\s+[^=]+\\()","end":";","patterns":[{"include":"#storage-modifiers"},{"name":"meta.pointcut.identifier.aspectj","begin":"(\\w+)\\s*\\(","end":"\\)","patterns":[{"include":"#parameters"}],"beginCaptures":{"1":{"name":"entity.name.function.aspectj"}}},{"name":"meta.pointcut.body.aspectj","begin":":","end":"(?=;)","patterns":[{"include":"#pointcut-definitions"}]}],"beginCaptures":{"1":{"name":"storage.type.aspectj"}}},"primitive-arrays":{"patterns":[{"name":"storage.type.primitive.array.java","match":"\\b(?:void|boolean|byte|char|short|int|float|long|double)(\\[\\])*\\b"}]},"primitive-types":{"patterns":[{"name":"storage.type.primitive.java","match":"\\b(?:void|boolean|byte|char|short|int|float|long|double)\\b"}]},"storage-modifiers":{"patterns":[{"name":"storage.modifier.java","match":"\\b(public|private|protected|static|final|native|synchronized|abstract|threadsafe|transient)\\b"},{"name":"storage.modifier.aspectj","match":"\\b(privileged)\\b"}]},"strings":{"patterns":[{"name":"string.quoted.double.java","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.java","match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.java"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.java"}}},{"name":"string.quoted.single.java","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.java","match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.java"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.java"}}}]},"throws":{"name":"meta.throwables.java","begin":"throws","end":"(?={|;)","patterns":[{"include":"#object-types"}],"beginCaptures":{"0":{"name":"storage.modifier.java"}}},"values":{"patterns":[{"include":"#strings"},{"include":"#object-types"},{"include":"#constants-and-special-vars"}]}}}
|