github-linguist-grammars 4.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/grammars/file.lasso.json +713 -0
- data/grammars/module.ceylon.json +54 -0
- data/grammars/objdump.x86asm.json +73 -0
- data/grammars/source.Inform7.json +45 -0
- data/grammars/source.Kotlin.json +774 -0
- data/grammars/source.LS.json +104 -0
- data/grammars/source.MCPOST.json +68 -0
- data/grammars/source.MOD.json +70 -0
- data/grammars/source.abap.json +176 -0
- data/grammars/source.abl.json +138 -0
- data/grammars/source.actionscript.3.json +1571 -0
- data/grammars/source.acucobol.json +16 -0
- data/grammars/source.ada.json +140 -0
- data/grammars/source.agda.json +254 -0
- data/grammars/source.ahk.json +171 -0
- data/grammars/source.alloy.json +44 -0
- data/grammars/source.ampl.json +157 -0
- data/grammars/source.antlr.json +300 -0
- data/grammars/source.apache-config.json +352 -0
- data/grammars/source.apache-config.mod_perl.json +70 -0
- data/grammars/source.apl.json +442 -0
- data/grammars/source.applescript.json +1385 -0
- data/grammars/source.apt.json +25 -0
- data/grammars/source.asm.x86.json +182 -0
- data/grammars/source.asp.json +157 -0
- data/grammars/source.aspectj.json +963 -0
- data/grammars/source.ats.json +170 -0
- data/grammars/source.autoit.3.json +132 -0
- data/grammars/source.awk.json +388 -0
- data/grammars/source.befunge.json +38 -0
- data/grammars/source.bf.json +36 -0
- data/grammars/source.bison.json +59 -0
- data/grammars/source.blitzmax.json +912 -0
- data/grammars/source.boo.json +452 -0
- data/grammars/source.brightauthorproject.json +29 -0
- data/grammars/source.brightscript.json +158 -0
- data/grammars/source.bro.json +409 -0
- data/grammars/source.bsv.json +283 -0
- data/grammars/source.c++.json +364 -0
- data/grammars/source.c++.qt.json +37 -0
- data/grammars/source.c.ec.json +39 -0
- data/grammars/source.c.json +727 -0
- data/grammars/source.c.platform.json +154 -0
- data/grammars/source.cache.cmake.json +75 -0
- data/grammars/source.cake.json +16 -0
- data/grammars/source.camlp4.ocaml.json +63 -0
- data/grammars/source.capnp.json +93 -0
- data/grammars/source.ceylon.json +77 -0
- data/grammars/source.cfscript.cfc.json +170 -0
- data/grammars/source.cfscript.json +744 -0
- data/grammars/source.chapel.json +240 -0
- data/grammars/source.cirru.json +66 -0
- data/grammars/source.clarion.json +159 -0
- data/grammars/source.clips.json +80 -0
- data/grammars/source.clojure.json +397 -0
- data/grammars/source.cm.json +54 -0
- data/grammars/source.cmake.json +181 -0
- data/grammars/source.cobol.json +528 -0
- data/grammars/source.coffee.json +678 -0
- data/grammars/source.compiled-papyrus.json +11 -0
- data/grammars/source.cool.json +103 -0
- data/grammars/source.coq.json +62 -0
- data/grammars/source.crystal.json +2760 -0
- data/grammars/source.cs.json +556 -0
- data/grammars/source.css.json +630 -0
- data/grammars/source.css.less.json +276 -0
- data/grammars/source.css.mss.json +256 -0
- data/grammars/source.csx.json +16 -0
- data/grammars/source.cuda-c++.json +137 -0
- data/grammars/source.cython.json +2108 -0
- data/grammars/source.d.json +722 -0
- data/grammars/source.dart.json +763 -0
- data/grammars/source.desktop.json +90 -0
- data/grammars/source.diff.json +162 -0
- data/grammars/source.dockerfile.json +89 -0
- data/grammars/source.dosbatch.json +70 -0
- data/grammars/source.dot.json +126 -0
- data/grammars/source.dylan.json +217 -0
- data/grammars/source.eiffel.json +138 -0
- data/grammars/source.elixir.json +737 -0
- data/grammars/source.elm.json +355 -0
- data/grammars/source.erazor.json +126 -0
- data/grammars/source.erlang.json +1674 -0
- data/grammars/source.essl.json +50 -0
- data/grammars/source.factor.json +260 -0
- data/grammars/source.fan.json +188 -0
- data/grammars/source.fancy.json +270 -0
- data/grammars/source.fish.json +214 -0
- data/grammars/source.forth.json +101 -0
- data/grammars/source.fortran.json +499 -0
- data/grammars/source.fortran.modern.json +226 -0
- data/grammars/source.fsharp.json +403 -0
- data/grammars/source.gap.json +167 -0
- data/grammars/source.gcode.json +25 -0
- data/grammars/source.gdscript.json +154 -0
- data/grammars/source.gfm.json +1270 -0
- data/grammars/source.glsl.json +71 -0
- data/grammars/source.gnuplot.json +276 -0
- data/grammars/source.go.json +552 -0
- data/grammars/source.golo.json +182 -0
- data/grammars/source.gosu.2.json +163 -0
- data/grammars/source.grace.json +679 -0
- data/grammars/source.groovy.gradle.json +73 -0
- data/grammars/source.groovy.json +1385 -0
- data/grammars/source.harbour.json +450 -0
- data/grammars/source.haskell.json +449 -0
- data/grammars/source.haxe.2.json +1243 -0
- data/grammars/source.hss.1.json +464 -0
- data/grammars/source.httpspec.json +287 -0
- data/grammars/source.hxml.json +26 -0
- data/grammars/source.hy.json +270 -0
- data/grammars/source.idl-dlm.json +112 -0
- data/grammars/source.idl.json +267 -0
- data/grammars/source.idris.json +537 -0
- data/grammars/source.ini.json +113 -0
- data/grammars/source.inno.json +65 -0
- data/grammars/source.io.json +164 -0
- data/grammars/source.ioke.json +272 -0
- data/grammars/source.isabelle.root.json +68 -0
- data/grammars/source.isabelle.theory.json +106 -0
- data/grammars/source.j.json +49 -0
- data/grammars/source.jade.json +1009 -0
- data/grammars/source.jasmin.json +299 -0
- data/grammars/source.java-properties.json +97 -0
- data/grammars/source.java.json +1026 -0
- data/grammars/source.jcl.json +49 -0
- data/grammars/source.jflex.json +490 -0
- data/grammars/source.jq.json +218 -0
- data/grammars/source.js.json +948 -0
- data/grammars/source.js.jsx.json +2937 -0
- data/grammars/source.js.objj.json +424 -0
- data/grammars/source.js.regexp.json +150 -0
- data/grammars/source.js.regexp.replacement.json +30 -0
- data/grammars/source.json.json +149 -0
- data/grammars/source.julia.json +407 -0
- data/grammars/source.lean.json +145 -0
- data/grammars/source.lid.json +23 -0
- data/grammars/source.lilypond.json +623 -0
- data/grammars/source.lisp.json +111 -0
- data/grammars/source.litcoffee.json +669 -0
- data/grammars/source.livescript.json +616 -0
- data/grammars/source.llvm.json +71 -0
- data/grammars/source.logos.json +31 -0
- data/grammars/source.logtalk.json +315 -0
- data/grammars/source.loomscript.json +214 -0
- data/grammars/source.lsl.json +216 -0
- data/grammars/source.lua.json +191 -0
- data/grammars/source.makefile.json +474 -0
- data/grammars/source.makegen.json +13 -0
- data/grammars/source.man.json +53 -0
- data/grammars/source.mask.json +701 -0
- data/grammars/source.mata.json +133 -0
- data/grammars/source.mathematica.json +429 -0
- data/grammars/source.matlab.json +776 -0
- data/grammars/source.mercury.json +251 -0
- data/grammars/source.ml.json +291 -0
- data/grammars/source.modelica.json +142 -0
- data/grammars/source.modula2.json +103 -0
- data/grammars/source.monkey.json +701 -0
- data/grammars/source.moonscript.json +149 -0
- data/grammars/source.mupad.json +149 -0
- data/grammars/source.nant-build.json +86 -0
- data/grammars/source.ncl.json +66 -0
- data/grammars/source.nemerle.json +137 -0
- data/grammars/source.nesc.json +27 -0
- data/grammars/source.netlinx.erb.json +47 -0
- data/grammars/source.netlinx.json +768 -0
- data/grammars/source.nginx.json +797 -0
- data/grammars/source.nim.json +1150 -0
- data/grammars/source.nim_filter.json +133 -0
- data/grammars/source.nimcfg.json +116 -0
- data/grammars/source.ninja.json +66 -0
- data/grammars/source.nit.json +238 -0
- data/grammars/source.nix.json +1200 -0
- data/grammars/source.nmml.json +87 -0
- data/grammars/source.nsis.json +150 -0
- data/grammars/source.objc++.json +19 -0
- data/grammars/source.objc.json +918 -0
- data/grammars/source.objc.platform.json +277 -0
- data/grammars/source.ocaml.json +1426 -0
- data/grammars/source.ocamllex.json +305 -0
- data/grammars/source.ocamlyacc.json +346 -0
- data/grammars/source.octave.json +451 -0
- data/grammars/source.ooc.json +692 -0
- data/grammars/source.opa.json +206 -0
- data/grammars/source.opal.json +415 -0
- data/grammars/source.opalsysdefs.json +70 -0
- data/grammars/source.opencobol.json +65 -0
- data/grammars/source.ox.json +97 -0
- data/grammars/source.oz.json +84 -0
- data/grammars/source.papyrus-assembly.json +266 -0
- data/grammars/source.papyrus.json +231 -0
- data/grammars/source.parrot.pir.json +117 -0
- data/grammars/source.pascal.json +150 -0
- data/grammars/source.perl.6.json +310 -0
- data/grammars/source.perl.json +2413 -0
- data/grammars/source.php.zephir.json +362 -0
- data/grammars/source.pig_latin.json +172 -0
- data/grammars/source.pike.json +62 -0
- data/grammars/source.plsql.oracle.json +642 -0
- data/grammars/source.po.json +232 -0
- data/grammars/source.pogoscript.json +85 -0
- data/grammars/source.postscript.json +231 -0
- data/grammars/source.powershell.json +755 -0
- data/grammars/source.processing.json +885 -0
- data/grammars/source.prolog.eclipse.json +206 -0
- data/grammars/source.prolog.json +292 -0
- data/grammars/source.protobuf.json +395 -0
- data/grammars/source.pubspec.json +13 -0
- data/grammars/source.puppet.json +494 -0
- data/grammars/source.purescript.json +818 -0
- data/grammars/source.pyjade.json +1010 -0
- data/grammars/source.python.django.json +34 -0
- data/grammars/source.python.json +1960 -0
- data/grammars/source.python.salt.json +13 -0
- data/grammars/source.qmake.json +217 -0
- data/grammars/source.qml.json +195 -0
- data/grammars/source.r.json +203 -0
- data/grammars/source.racket.json +119 -0
- data/grammars/source.rebol.json +647 -0
- data/grammars/source.red.json +652 -0
- data/grammars/source.regexp.babel.json +190 -0
- data/grammars/source.regexp.python.json +187 -0
- data/grammars/source.regexp.spin.json +188 -0
- data/grammars/source.ruby.json +1956 -0
- data/grammars/source.ruby.rspec.cucumber.steps.json +274 -0
- data/grammars/source.rust.json +269 -0
- data/grammars/source.sas.json +322 -0
- data/grammars/source.sas_log.json +26 -0
- data/grammars/source.sass.json +248 -0
- data/grammars/source.sbt.json +36 -0
- data/grammars/source.scad.json +152 -0
- data/grammars/source.scala.json +739 -0
- data/grammars/source.scaml.json +466 -0
- data/grammars/source.scheme.json +370 -0
- data/grammars/source.scilab.json +103 -0
- data/grammars/source.scss.json +1321 -0
- data/grammars/source.shell.json +1212 -0
- data/grammars/source.smali.json +1668 -0
- data/grammars/source.smalltalk.json +135 -0
- data/grammars/source.smt.json +173 -0
- data/grammars/source.sp.json +118 -0
- data/grammars/source.sparql.json +23 -0
- data/grammars/source.spin.json +936 -0
- data/grammars/source.sqf.json +112 -0
- data/grammars/source.sql.json +473 -0
- data/grammars/source.stata.json +208 -0
- data/grammars/source.strings.json +53 -0
- data/grammars/source.stylus.json +1021 -0
- data/grammars/source.swift.json +965 -0
- data/grammars/source.systemverilog.json +1050 -0
- data/grammars/source.tcl.json +277 -0
- data/grammars/source.tea.json +180 -0
- data/grammars/source.thrift.json +704 -0
- data/grammars/source.toml.json +327 -0
- data/grammars/source.ts.json +1094 -0
- data/grammars/source.tsx.json +1324 -0
- data/grammars/source.turtle.json +505 -0
- data/grammars/source.txl.json +62 -0
- data/grammars/source.ucfconstraints.json +72 -0
- data/grammars/source.vala.json +814 -0
- data/grammars/source.varnish.vcl.json +343 -0
- data/grammars/source.vbnet.json +338 -0
- data/grammars/source.verilog.json +302 -0
- data/grammars/source.vhdl.json +1349 -0
- data/grammars/source.viml.json +224 -0
- data/grammars/source.webidl.json +814 -0
- data/grammars/source.x10.json +68 -0
- data/grammars/source.x86asm.json +47 -0
- data/grammars/source.xc.json +379 -0
- data/grammars/source.xq.json +241 -0
- data/grammars/source.xquery.json +193 -0
- data/grammars/source.xtend.json +733 -0
- data/grammars/source.yaml.json +334 -0
- data/grammars/source.yaml.salt.json +348 -0
- data/grammars/text.bibtex.json +251 -0
- data/grammars/text.cfml.basic.json +736 -0
- data/grammars/text.dart-analysis-output.json +162 -0
- data/grammars/text.dart-doccomments.json +19 -0
- data/grammars/text.elixir.json +45 -0
- data/grammars/text.gherkin.feature.json +135 -0
- data/grammars/text.groff.json +113 -0
- data/grammars/text.haml.json +299 -0
- data/grammars/text.html.abl.json +24 -0
- data/grammars/text.html.asciidoc.json +492 -0
- data/grammars/text.html.asdoc.json +541 -0
- data/grammars/text.html.asp.json +58 -0
- data/grammars/text.html.basic.json +552 -0
- data/grammars/text.html.cfm.json +811 -0
- data/grammars/text.html.creole.json +329 -0
- data/grammars/text.html.django.json +69 -0
- data/grammars/text.html.elixir.json +18 -0
- data/grammars/text.html.erb.json +157 -0
- data/grammars/text.html.erlang.yaws.json +72 -0
- data/grammars/text.html.factor.json +27 -0
- data/grammars/text.html.handlebars.json +783 -0
- data/grammars/text.html.jsp.json +1203 -0
- data/grammars/text.html.liquid.json +35 -0
- data/grammars/text.html.mako.json +729 -0
- data/grammars/text.html.markdown.source.gfm.apib.json +1297 -0
- data/grammars/text.html.markdown.source.gfm.mson.json +1165 -0
- data/grammars/text.html.mediawiki.json +972 -0
- data/grammars/text.html.php.json +2607 -0
- data/grammars/text.html.slash.json +313 -0
- data/grammars/text.html.smarty.json +216 -0
- data/grammars/text.html.ssp.json +49 -0
- data/grammars/text.html.tcl.json +44 -0
- data/grammars/text.html.twig.json +1353 -0
- data/grammars/text.html.vue.json +642 -0
- data/grammars/text.idl-idldoc.json +14 -0
- data/grammars/text.junit-test-report.json +92 -0
- data/grammars/text.log.latex.json +86 -0
- data/grammars/text.python.console.json +25 -0
- data/grammars/text.python.traceback.json +46 -0
- data/grammars/text.rdoc.json +48 -0
- data/grammars/text.restructuredtext.json +561 -0
- data/grammars/text.robot.json +73 -0
- data/grammars/text.shell-session.json +48 -0
- data/grammars/text.slim.json +527 -0
- data/grammars/text.tex.json +271 -0
- data/grammars/text.tex.latex.beamer.json +63 -0
- data/grammars/text.tex.latex.haskell.json +56 -0
- data/grammars/text.tex.latex.json +1013 -0
- data/grammars/text.tex.latex.memoir.json +99 -0
- data/grammars/text.tex.latex.rd.json +117 -0
- data/grammars/text.xml.ant.json +202 -0
- data/grammars/text.xml.flex-config.json +2634 -0
- data/grammars/text.xml.genshi.json +34 -0
- data/grammars/text.xml.json +364 -0
- data/grammars/text.xml.pom.json +774 -0
- data/grammars/text.xml.xsl.json +94 -0
- data/grammars/text.zone_file.json +72 -0
- data/lib/linguist/grammars.rb +13 -0
- metadata +389 -0
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
""
|
4
|
+
],
|
5
|
+
"name": "APT",
|
6
|
+
"patterns": [
|
7
|
+
{
|
8
|
+
"comment": "Number",
|
9
|
+
"match": "((-)?(\\d+)((.|,)\\d)?(%)?)",
|
10
|
+
"name": "constant.numeric.apt"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"comment": "Actions",
|
14
|
+
"match": "(\\b)(AUTOPS|BSURF|CALL|CANNIN|CIRCLE|CLPRNT|CUT|CUTTER|DEBUG|DNTCUT|FINI|FROM|GO|GOBACK|GODLTA|GOFILE|GOFWD|GOLFT|GORGT|GOSUB|GOTO|IF|INDRIP|INDIRV|INPUT|INTOL|JUMPTO|LATHE|LINE|LOOPND|LOOPST|MACRO|MATRIX|NOPOST|OBTAIN|OUTTOL|PATERN|PLANE|POCKET|POINT|PRINT|PSIS|READ|REDEF|REMARK|RESERV|RETURN|SHAPE|SYN|TRMAC|THICK|TLLFT|TLOFPS|TLON|TLONPS|TLRGT|TOLER|TRACUT|TUNEUP|VECTOR|ZSURF|AAXIS|ABSF|ACOSF|ADJUST|ALL|ANGLF|ARC|ARROWS|ASINF|AT|ATAN2F|ATANF|ATANGL|AUTO|AVOID|BAKGRD|BAXIS|BEGIN|BLACK|BLKDEL|BLUE|BORE|BOTH|BRKCHP|BROWN|CAM|CANF|CAXIS|CCLW|CENTER|CHASE|CIRCUL|CLDATA|CLEAR|CLW|COARSE|COLLET|CONST|COSF|CROSS|CSINK|CTRLIN|CUTANG|CYAN|DARK|DASH|DECR||DEEP|DELTA|DELTAX|DELTAY|DELTAZ|DIAMTR|DISTF|DITTO|DMSF|DOTF|DOTTED|DOWN|DRAG|DRILL|DVALF|DWELL|DXF|ENDARC|FACE|FEDTO|FEED|FINE|FINISH|FLOOD|FRONT|GAGE|GEOMTY|GRAY|GREEN|GRID|HIGH|HOLDER|IN|INCR|INTENS|INTF|INTOF|INVERS|IPM|IPR|IVALF|JVALF|KVALF|LARGE|LAST|LAYER|LEAD|LEFT|LENGTH|LIGHT|LINCIR|LINEAR|LITE|LNTHF|LOCK|LOG10F|LOGF|LOW|MAGNTA|MAIN|MANUAL|MARK|MAXF|MAXIPM|MAXRPM|MED|MEDIUM|MILL|MINF|MINUS|MIRROR|MIST|MMPM|MMPR|MODIFY|MOTION|MULTRD|NEGX|NEGY|NEGZ|NEUTRL|NEXT|NIXIE|NOBACK|NOMORE|NORET|NORMAL|NOW|NOX|NOY|NOZ|NUMF|OFF|OMIT|ON|OPTION|ORIENT|OUT|PALLET|PARAB|PARLEL|PASS|PAST|PEN|PERPTO|PHANTM|PLUS|POSX|POSY|POSZ|QUILL|RADIUS|RANDOM|RANGE|RAPTO|REAM|REAR|RED|RETAIN|REV|RIGHT|ROTF|ROTREF|ROUGH|ROUNDF|RPM|RTHETA|RTRCTO|RVALF|SADDLE|SAME|SCALE|SCRIBE|SECNDS|SETANG|SETOOL|SFM|SIDE|SINF|SLOPE|SMALL|SMM|SOLID|SPLINE|SPRING|SQRTF|START|STEP|TABLE|TANF|TANTO|TAP|TAPKUL|THETAR|THRU|TILTF|TIMES|TO|TOOL|TPI|TRANSL|TRAV|TRFORM|TURN|TYPE|UNIT|UP|WAIT|WHITE|WINDOW|XAXIS|XCOORD|XFIRST|XLARGE|XSMALL|XVALF|XYPLAN|XYROT|XYVIEW|XYZ|YAXIS|YCOORD|YELLOW|YFIRST|YLARGE|YSMALL|YVALF|YZPLAN|YZROT|YZVIEW|ZAXIS|ZCOORD|ZIGZAG|ZLARGE|ZRAPID|ZSMALL|ZVALF|ZXPLAN|ZXROT|ZXVIEW||AIR|ARCSLP|ASLOPE|AUXFUN|BREAK|CAMERA|CHECK|CHUCK|CLAMP|CLEARP|CLRSRF|COMBIN|COOLNT|COPY|COUPLE|CUTCOM|CYCLE|DEBUGG|DELAY|DISPLY|DRAFT|DRESS|END|FEDRAT|GOHOME|HEAD|INDEX|INSERT|ISTOP|LEADER|LETTER|LINTOL|LOAD|LOADTL|LPRINT|MACHIN|MAXDPM|MAXVEL|MCHFIN|MCHTOL|MODE|NIBBLE|OPSKIP|OPSTOP|ORIGIN|OVPLOT|PARTNO|PENDWN|PENUP|PITCH|PIVOTZ|PLABEL|PLOT|PLUNGE|POSMAP|POSTN|PPLOT|PPRINT|PREFUN|PRFSEQ|RAPID|RESET|RETRCT|REVERS|REWIND|ROTABL|ROTATE|ROTHED|SAFETY|SELCTL|SELECT|SEQNO|SET|SLOWDN|SPINDL|STOP|SWITCH|THREAD|TMARK|TOOLNO|TRANS|TURRET|UNLOAD|VTLAXS|AUTOPS|CALL|CIRCLE|CLPRNT|COPY|CUT|CUTTER|DNTCUT|FINI|FROM|GO|GOBACK||GODLTA|GOFWD|GOLFT|GORGT|GOSUB|GOTO|IF|INDEX|INDIRP|INDIRV|INPUT|INTOL|JUMPTO|LINE|MACRO|MATRIX|NOPOST|OBTAIN|OUTTOL|PATERN|PLANE|POCKET|POINT|PRINT|PSSIS|READ|REDEF|REMARK|RESERV|RETURN|SYN|TERMAC|THICK|TLLFT|TLOFPS|TLON|TLONPS|TLRGT|TOLER|TRACUT|TUNEUP|VECTOR|ZSURF|UNITS|INCH|MCS|PERIMETER|MULTAX|OSETNO)(\\b)",
|
15
|
+
"name": "keyword.control.apt"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"comment": "Comment",
|
19
|
+
"match": "((\\$\\$).*$)",
|
20
|
+
"name": "comment.number-sign.apt"
|
21
|
+
}
|
22
|
+
],
|
23
|
+
"scopeName": "source.apt",
|
24
|
+
"uuid": "8a0a1fb3-d2a7-4b0c-b2e9-f72d22abfe4a"
|
25
|
+
}
|
@@ -0,0 +1,182 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"asm",
|
4
|
+
"s"
|
5
|
+
],
|
6
|
+
"name": "x86 Assembly",
|
7
|
+
"patterns": [
|
8
|
+
{
|
9
|
+
"match": "[;#].*$",
|
10
|
+
"name": "comment.line"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"begin": "^\\s*[\\#%]\\s*if\\s+0\\b",
|
14
|
+
"end": "^\\s*[\\#%]\\s*endif\\b",
|
15
|
+
"name": "comment.preprocessor"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"begin": "/\\*",
|
19
|
+
"end": "\\*/",
|
20
|
+
"name": "comment.block"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"match": "(?i)\\b(dword|qword|tword|db|dw|dd|dq|dt|do|dy|resb|resw|resd|resq|rest|reso|resy|incbin|equ|times)\\b",
|
24
|
+
"name": "support.type.asm"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"match": "\\.(data|bss|text)$",
|
28
|
+
"name": "string.section"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"begin": "[\"']",
|
32
|
+
"beginCaptures": {
|
33
|
+
"0": {
|
34
|
+
"name": "punctuation.definition.string.begin.asm"
|
35
|
+
}
|
36
|
+
},
|
37
|
+
"end": "[\"']",
|
38
|
+
"endCaptures": {
|
39
|
+
"0": {
|
40
|
+
"name": "punctuation.definition.string.end.asm"
|
41
|
+
}
|
42
|
+
},
|
43
|
+
"name": "string.quoted.asm",
|
44
|
+
"patterns": [
|
45
|
+
{
|
46
|
+
"include": "#string_escaped_char"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"include": "#string_placeholder"
|
50
|
+
}
|
51
|
+
]
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"begin": "'",
|
55
|
+
"beginCaptures": {
|
56
|
+
"0": {
|
57
|
+
"name": "punctuation.definition.string.begin.c"
|
58
|
+
}
|
59
|
+
},
|
60
|
+
"end": "'",
|
61
|
+
"endCaptures": {
|
62
|
+
"0": {
|
63
|
+
"name": "punctuation.definition.string.end.c"
|
64
|
+
}
|
65
|
+
},
|
66
|
+
"name": "string.quoted.single.c",
|
67
|
+
"patterns": [
|
68
|
+
{
|
69
|
+
"include": "#string_escaped_char"
|
70
|
+
}
|
71
|
+
]
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"begin": "^\\s*[#%]\\s*(error|warning)\\b",
|
75
|
+
"captures": {
|
76
|
+
"1": {
|
77
|
+
"name": "keyword.control.import.error.c"
|
78
|
+
}
|
79
|
+
},
|
80
|
+
"end": "$",
|
81
|
+
"name": "meta.preprocessor.diagnostic.c",
|
82
|
+
"patterns": [
|
83
|
+
{
|
84
|
+
"match": "(?>\\\\\\s*\\n)",
|
85
|
+
"name": "punctuation.separator.continuation.c"
|
86
|
+
}
|
87
|
+
]
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"begin": "^\\s*[#%]\\s*(include|import)\\b\\s+",
|
91
|
+
"captures": {
|
92
|
+
"1": {
|
93
|
+
"name": "keyword.control.import.include.c"
|
94
|
+
}
|
95
|
+
},
|
96
|
+
"end": "(?=(?://|/\\*))|$",
|
97
|
+
"name": "meta.preprocessor.c.include",
|
98
|
+
"patterns": [
|
99
|
+
{
|
100
|
+
"match": "(?>\\\\\\s*\\n)",
|
101
|
+
"name": "punctuation.separator.continuation.c"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"begin": "\"",
|
105
|
+
"beginCaptures": {
|
106
|
+
"0": {
|
107
|
+
"name": "punctuation.definition.string.begin.c"
|
108
|
+
}
|
109
|
+
},
|
110
|
+
"end": "\"",
|
111
|
+
"endCaptures": {
|
112
|
+
"0": {
|
113
|
+
"name": "punctuation.definition.string.end.c"
|
114
|
+
}
|
115
|
+
},
|
116
|
+
"name": "string.quoted.double.include.c"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"begin": "<",
|
120
|
+
"beginCaptures": {
|
121
|
+
"0": {
|
122
|
+
"name": "punctuation.definition.string.begin.c"
|
123
|
+
}
|
124
|
+
},
|
125
|
+
"end": ">",
|
126
|
+
"endCaptures": {
|
127
|
+
"0": {
|
128
|
+
"name": "punctuation.definition.string.end.c"
|
129
|
+
}
|
130
|
+
},
|
131
|
+
"name": "string.quoted.other.lt-gt.include.c"
|
132
|
+
}
|
133
|
+
]
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"begin": "^\\s*[%#]\\s*(define|defined|elif|else|if|ifdef|ifndef|line|pragma|undef|endif)\\b",
|
137
|
+
"captures": {
|
138
|
+
"1": {
|
139
|
+
"name": "keyword.control.import.c"
|
140
|
+
}
|
141
|
+
},
|
142
|
+
"end": "(?=(?://|/\\*))|$",
|
143
|
+
"name": "meta.preprocessor.c",
|
144
|
+
"patterns": [
|
145
|
+
{
|
146
|
+
"match": "(?>\\\\\\s*\\n)",
|
147
|
+
"name": "punctuation.separator.continuation.c"
|
148
|
+
}
|
149
|
+
]
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"match": "\\b(aaa|aad|aam|aas|adc|add|and|arpl|bound|bsf|bsr|bswap|bt|btc|btr|bts|call|cbw|cdq|clc|cld|cli|clts|cmc|cmp|cmps|cmpxchg|cwd|cwde|daa|das|dec|div|enter|esc|hlt|idiv|imul|in|inc|ins|int|into|invd|invlpg|iret|iretd|ja|jae|jb|jbe|jc|jcxz|je|jecxz|jg|jge|jl|jle|jmp|jna|jnae|jnb|jnbe|jnc|jne|jng|jnge|jnl|jnle|jno|jnp|jns|jnz|jo|jp|jpe|jpo|js|jz|lahf|lar|lds|lea|leave|les|lfs|lgdt|lidt|lgs|lldt|lmsw|lock|lods|loop|loope|loopz|loopnz|loopne|lsl|lss|ltr|mov|movs|movsx|movzx|mul|near|neg|nop|not|or|out|outs|pop|popa|popad|popf|popfd|push|pusha|pushad|pushf|pushfd|rcl|rcr|rep|repe|repz|repne|repnz|ret|retf|rol|ror|sahf|sal|sar|sbb|scas|section|setae|setnb|setb|setnae|setbe|setna|sete|setz|setne|setnz|setl|setnge|setge|setng|setle|setng|setg|setnle|sets|setns|setc|setnc|seto|setno|setp|setpe|setnp|setpo|sgdt|sidt|shl|shld|shr|shrd|sldt|smsw|stc|std|sti|stos|str|sub|test|verr|verw|wait|fwait|wait|fwait|wbinvd|xchg|xlat|xlatb|xor)(l|w|b)?\\b",
|
153
|
+
"name": "keyword.mnemonic"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"match": "^\\s*\\.?\\w+:\\s*(?=$|;)",
|
157
|
+
"name": "entity.name.label"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"match": "\\$[0-9a-f]+\\b",
|
161
|
+
"name": "constant.numeric.literal"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"match": "\\b[0-9]+\\b",
|
165
|
+
"name": "constant.numeric.dec"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"match": "\\b([0-9a-fA-F]+h?|0x[0-9a-fA-F]+)\\b",
|
169
|
+
"name": "constant.numeric.hex"
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"match": "^\\.?(globl|global)\\b",
|
173
|
+
"name": "entity.directive"
|
174
|
+
},
|
175
|
+
{
|
176
|
+
"match": "\\b%?(ip|eip|eax|ebx|ecx|edx|edi|esi|ebp|esp|ax|bx|cx|dx|di|si|bp|sp|ah|al|bh|bl|ch|cl|dh|dl|ax|bx|cx|dx|cs|ds|ss|es|fs|gs|cr0|cr2|cr3|db0|db1|db2|db3|db6|db7|tr6|tr7|st)+\\b",
|
177
|
+
"name": "storage.register"
|
178
|
+
}
|
179
|
+
],
|
180
|
+
"scopeName": "source.asm.x86",
|
181
|
+
"uuid": "84DDB367-0875-4FF3-8047-D3FF2988B3C9"
|
182
|
+
}
|
@@ -0,0 +1,157 @@
|
|
1
|
+
{
|
2
|
+
"comment": "ASP SCRIPTING DICTIONARY – By Rich Barton: Version 1.0 (based on PHP Scripting Dictionary by Justin French, Sune Foldager and Allan Odgaard) Note: .asp is handled by asp/html",
|
3
|
+
"fileTypes": [
|
4
|
+
"asa"
|
5
|
+
],
|
6
|
+
"keyEquivalent": "^~A",
|
7
|
+
"name": "ASP",
|
8
|
+
"patterns": [
|
9
|
+
{
|
10
|
+
"captures": {
|
11
|
+
"1": {
|
12
|
+
"name": "storage.type.function.asp"
|
13
|
+
},
|
14
|
+
"2": {
|
15
|
+
"name": "entity.name.function.asp"
|
16
|
+
},
|
17
|
+
"3": {
|
18
|
+
"name": "punctuation.definition.parameters.asp"
|
19
|
+
},
|
20
|
+
"4": {
|
21
|
+
"name": "variable.parameter.function.asp"
|
22
|
+
},
|
23
|
+
"5": {
|
24
|
+
"name": "punctuation.definition.parameters.asp"
|
25
|
+
}
|
26
|
+
},
|
27
|
+
"match": "^\\s*((?i:function|sub))\\s*([a-zA-Z_]\\w*)\\s*(\\()([^)]*)(\\)).*\\n?",
|
28
|
+
"name": "meta.function.asp"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"begin": "(^[ \\t]+)?(?=')",
|
32
|
+
"beginCaptures": {
|
33
|
+
"1": {
|
34
|
+
"name": "punctuation.whitespace.comment.leading.asp"
|
35
|
+
}
|
36
|
+
},
|
37
|
+
"end": "(?!\\G)",
|
38
|
+
"patterns": [
|
39
|
+
{
|
40
|
+
"begin": "'",
|
41
|
+
"beginCaptures": {
|
42
|
+
"0": {
|
43
|
+
"name": "punctuation.definition.comment.asp"
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"end": "\\n",
|
47
|
+
"name": "comment.line.apostrophe.asp"
|
48
|
+
}
|
49
|
+
]
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"begin": "(^[ \\t]+)?(?=REM )",
|
53
|
+
"beginCaptures": {
|
54
|
+
"1": {
|
55
|
+
"name": "punctuation.whitespace.comment.leading.asp"
|
56
|
+
}
|
57
|
+
},
|
58
|
+
"end": "(?!\\G)",
|
59
|
+
"patterns": [
|
60
|
+
{
|
61
|
+
"begin": "REM ",
|
62
|
+
"beginCaptures": {
|
63
|
+
"0": {
|
64
|
+
"name": "punctuation.definition.comment.asp"
|
65
|
+
}
|
66
|
+
},
|
67
|
+
"end": "\\n",
|
68
|
+
"name": "comment.line.rem.asp"
|
69
|
+
}
|
70
|
+
]
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"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)",
|
74
|
+
"name": "keyword.control.asp"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"match": "=|>=|<|>|<|<>|\\+|-|\\*|\\^|&|\\b(?i:(Mod|And|Not|Or|Xor|Is))\\b",
|
78
|
+
"name": "keyword.operator.asp"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"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)",
|
82
|
+
"name": "storage.type.asp"
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"match": "(?i:\\b(Private|Public|Default)\\b)",
|
86
|
+
"name": "storage.modifier.asp"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"match": "(?i:\\b(Empty|False|Nothing|Null|True)\\b)",
|
90
|
+
"name": "constant.language.asp"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"begin": "\"",
|
94
|
+
"beginCaptures": {
|
95
|
+
"0": {
|
96
|
+
"name": "punctuation.definition.string.begin.asp"
|
97
|
+
}
|
98
|
+
},
|
99
|
+
"end": "\"(?!\")",
|
100
|
+
"endCaptures": {
|
101
|
+
"0": {
|
102
|
+
"name": "punctuation.definition.string.end.asp"
|
103
|
+
}
|
104
|
+
},
|
105
|
+
"name": "string.quoted.double.asp",
|
106
|
+
"patterns": [
|
107
|
+
{
|
108
|
+
"match": "\"\"",
|
109
|
+
"name": "constant.character.escape.apostrophe.asp"
|
110
|
+
}
|
111
|
+
]
|
112
|
+
},
|
113
|
+
{
|
114
|
+
"captures": {
|
115
|
+
"1": {
|
116
|
+
"name": "punctuation.definition.variable.asp"
|
117
|
+
}
|
118
|
+
},
|
119
|
+
"match": "(\\$)[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\\b",
|
120
|
+
"name": "variable.other.asp"
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"match": "(?i:\\b(Application|ObjectContext|Request|Response|Server|Session)\\b)",
|
124
|
+
"name": "support.class.asp"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"match": "(?i:\\b(Contents|StaticObjects|ClientCertificate|Cookies|Form|QueryString|ServerVariables)\\b)",
|
128
|
+
"name": "support.class.collection.asp"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"match": "(?i:\\b(TotalBytes|Buffer|CacheControl|Charset|ContentType|Expires|ExpiresAbsolute|IsClientConnected|PICS|Status|ScriptTimeout|CodePage|LCID|SessionID|Timeout)\\b)",
|
132
|
+
"name": "support.constant.asp"
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"match": "(?i:\\b(Lock|Unlock|SetAbort|SetComplete|BianryRead|AddHeader|AppendToLog|BinaryWrite|Clear|End|Flush|Redirect|Write|CreateObject|HTMLEncode|MapPath|URLEncode|Abandon)\\b)",
|
136
|
+
"name": "support.function.asp"
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"match": "(?i:\\b(Application_OnEnd|Application_OnStart|OnTransactionAbort|OnTransactionCommit|Session_OnEnd|Session_OnStart|Class_Initialize|Class_Terminate)\\b)",
|
140
|
+
"name": "support.function.event.asp"
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"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)",
|
144
|
+
"name": "support.function.vb.asp"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"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",
|
148
|
+
"name": "constant.numeric.asp"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"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)",
|
152
|
+
"name": "support.type.vb.asp"
|
153
|
+
}
|
154
|
+
],
|
155
|
+
"scopeName": "source.asp",
|
156
|
+
"uuid": "291022B4-6B1D-11D9-90EB-000D93589AF6"
|
157
|
+
}
|
@@ -0,0 +1,963 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"aj"
|
4
|
+
],
|
5
|
+
"name": "AspectJ",
|
6
|
+
"patterns": [
|
7
|
+
{
|
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
|
+
"match": "^\\s*(package)\\b(?:\\s*([^ ;$]+)\\s*(;)?)?",
|
20
|
+
"name": "meta.package.java"
|
21
|
+
},
|
22
|
+
{
|
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
|
+
"match": "^\\s*(import)\\b(?:\\s*([^ ;$]+)\\s*(;)?)?",
|
35
|
+
"name": "meta.import.java"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"include": "#code"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"repository": {
|
42
|
+
"all-types": {
|
43
|
+
"patterns": [
|
44
|
+
{
|
45
|
+
"include": "#primitive-arrays"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"include": "#primitive-types"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"include": "#object-types"
|
52
|
+
}
|
53
|
+
]
|
54
|
+
},
|
55
|
+
"annotations": {
|
56
|
+
"patterns": [
|
57
|
+
{
|
58
|
+
"begin": "(@[^ (]+)(\\()",
|
59
|
+
"beginCaptures": {
|
60
|
+
"1": {
|
61
|
+
"name": "storage.type.annotation.java"
|
62
|
+
},
|
63
|
+
"2": {
|
64
|
+
"name": "punctuation.definition.annotation-arguments.begin.java"
|
65
|
+
}
|
66
|
+
},
|
67
|
+
"end": "(\\))",
|
68
|
+
"endCaptures": {
|
69
|
+
"1": {
|
70
|
+
"name": "punctuation.definition.annotation-arguments.end.java"
|
71
|
+
}
|
72
|
+
},
|
73
|
+
"name": "meta.declaration.annotation.java",
|
74
|
+
"patterns": [
|
75
|
+
{
|
76
|
+
"captures": {
|
77
|
+
"1": {
|
78
|
+
"name": "constant.other.key.java"
|
79
|
+
},
|
80
|
+
"2": {
|
81
|
+
"name": "keyword.operator.assignment.java"
|
82
|
+
}
|
83
|
+
},
|
84
|
+
"match": "\\w*\\s*(=)"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"include": "#code"
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"match": ",",
|
91
|
+
"name": "punctuation.seperator.property.java"
|
92
|
+
}
|
93
|
+
]
|
94
|
+
},
|
95
|
+
{
|
96
|
+
"match": "@\\w*",
|
97
|
+
"name": "storage.type.annotation.java"
|
98
|
+
}
|
99
|
+
]
|
100
|
+
},
|
101
|
+
"anonymous-classes-and-new": {
|
102
|
+
"begin": "\\bnew\\b",
|
103
|
+
"beginCaptures": {
|
104
|
+
"0": {
|
105
|
+
"name": "keyword.control.new.java"
|
106
|
+
}
|
107
|
+
},
|
108
|
+
"end": "(?<=\\)|\\])(?!\\s*{)|(?<=})|(?=;)",
|
109
|
+
"patterns": [
|
110
|
+
{
|
111
|
+
"begin": "(\\w+)\\s*(?=\\[)",
|
112
|
+
"beginCaptures": {
|
113
|
+
"1": {
|
114
|
+
"name": "storage.type.java"
|
115
|
+
}
|
116
|
+
},
|
117
|
+
"end": "}|(?=;|\\))",
|
118
|
+
"patterns": [
|
119
|
+
{
|
120
|
+
"begin": "\\[",
|
121
|
+
"end": "\\]",
|
122
|
+
"patterns": [
|
123
|
+
{
|
124
|
+
"include": "#code"
|
125
|
+
}
|
126
|
+
]
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"begin": "{",
|
130
|
+
"end": "(?=})",
|
131
|
+
"patterns": [
|
132
|
+
{
|
133
|
+
"include": "#code"
|
134
|
+
}
|
135
|
+
]
|
136
|
+
}
|
137
|
+
]
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"begin": "(?=\\w.*\\()",
|
141
|
+
"end": "(?<=\\))",
|
142
|
+
"patterns": [
|
143
|
+
{
|
144
|
+
"include": "#object-types"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"begin": "\\(",
|
148
|
+
"beginCaptures": {
|
149
|
+
"1": {
|
150
|
+
"name": "storage.type.java"
|
151
|
+
}
|
152
|
+
},
|
153
|
+
"end": "\\)",
|
154
|
+
"patterns": [
|
155
|
+
{
|
156
|
+
"include": "#code"
|
157
|
+
}
|
158
|
+
]
|
159
|
+
}
|
160
|
+
]
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"begin": "{",
|
164
|
+
"end": "}",
|
165
|
+
"name": "meta.inner-class.java",
|
166
|
+
"patterns": [
|
167
|
+
{
|
168
|
+
"include": "#class-body"
|
169
|
+
}
|
170
|
+
]
|
171
|
+
}
|
172
|
+
]
|
173
|
+
},
|
174
|
+
"assertions": {
|
175
|
+
"patterns": [
|
176
|
+
{
|
177
|
+
"begin": "\\b(assert)\\s",
|
178
|
+
"beginCaptures": {
|
179
|
+
"1": {
|
180
|
+
"name": "keyword.control.assert.java"
|
181
|
+
}
|
182
|
+
},
|
183
|
+
"end": "$",
|
184
|
+
"name": "meta.declaration.assertion.java",
|
185
|
+
"patterns": [
|
186
|
+
{
|
187
|
+
"match": ":",
|
188
|
+
"name": "keyword.operator.assert.expression-seperator.java"
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"include": "#code"
|
192
|
+
}
|
193
|
+
]
|
194
|
+
}
|
195
|
+
]
|
196
|
+
},
|
197
|
+
"class": {
|
198
|
+
"begin": "(?=\\w?[\\w\\s]*(?:class|(?:@)?interface|enum|aspect)\\s+\\w+)",
|
199
|
+
"end": "}",
|
200
|
+
"endCaptures": {
|
201
|
+
"0": {
|
202
|
+
"name": "punctuation.section.class.end.java"
|
203
|
+
}
|
204
|
+
},
|
205
|
+
"name": "meta.class.aspectj",
|
206
|
+
"patterns": [
|
207
|
+
{
|
208
|
+
"include": "#storage-modifiers"
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"include": "#comments"
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"captures": {
|
215
|
+
"1": {
|
216
|
+
"name": "storage.type.java"
|
217
|
+
},
|
218
|
+
"2": {
|
219
|
+
"name": "entity.name.type.class.java"
|
220
|
+
}
|
221
|
+
},
|
222
|
+
"match": "(class|(?:@)?interface|enum|aspect)\\s+(\\w+)",
|
223
|
+
"name": "meta.class.identifier.aspectj"
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"begin": "extends",
|
227
|
+
"beginCaptures": {
|
228
|
+
"0": {
|
229
|
+
"name": "storage.modifier.extends.java"
|
230
|
+
}
|
231
|
+
},
|
232
|
+
"end": "(?={|implements)",
|
233
|
+
"name": "meta.definition.class.inherited.classes.java",
|
234
|
+
"patterns": [
|
235
|
+
{
|
236
|
+
"include": "#object-types-inherited"
|
237
|
+
},
|
238
|
+
{
|
239
|
+
"include": "#comments"
|
240
|
+
}
|
241
|
+
]
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"begin": "(implements)\\s",
|
245
|
+
"beginCaptures": {
|
246
|
+
"1": {
|
247
|
+
"name": "storage.modifier.implements.java"
|
248
|
+
}
|
249
|
+
},
|
250
|
+
"end": "(?=\\s*extends|\\{)",
|
251
|
+
"name": "meta.definition.class.implemented.interfaces.java",
|
252
|
+
"patterns": [
|
253
|
+
{
|
254
|
+
"include": "#object-types-inherited"
|
255
|
+
},
|
256
|
+
{
|
257
|
+
"include": "#comments"
|
258
|
+
}
|
259
|
+
]
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"begin": "{",
|
263
|
+
"end": "(?=})",
|
264
|
+
"name": "meta.class.body.java",
|
265
|
+
"patterns": [
|
266
|
+
{
|
267
|
+
"include": "#class-body"
|
268
|
+
}
|
269
|
+
]
|
270
|
+
}
|
271
|
+
]
|
272
|
+
},
|
273
|
+
"class-body": {
|
274
|
+
"patterns": [
|
275
|
+
{
|
276
|
+
"include": "#comments"
|
277
|
+
},
|
278
|
+
{
|
279
|
+
"include": "#class"
|
280
|
+
},
|
281
|
+
{
|
282
|
+
"include": "#enums"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"include": "#methods"
|
286
|
+
},
|
287
|
+
{
|
288
|
+
"include": "#pointcuts"
|
289
|
+
},
|
290
|
+
{
|
291
|
+
"include": "#advice"
|
292
|
+
},
|
293
|
+
{
|
294
|
+
"include": "#annotations"
|
295
|
+
},
|
296
|
+
{
|
297
|
+
"include": "#storage-modifiers"
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"include": "#code"
|
301
|
+
},
|
302
|
+
{
|
303
|
+
"include": "#declare-precedence"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"include": "#declare-parents"
|
307
|
+
},
|
308
|
+
{
|
309
|
+
"include": "#declare-constructs"
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"include": "#declare-warnings-errors"
|
313
|
+
}
|
314
|
+
]
|
315
|
+
},
|
316
|
+
"code": {
|
317
|
+
"patterns": [
|
318
|
+
{
|
319
|
+
"include": "#comments"
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"include": "#class"
|
323
|
+
},
|
324
|
+
{
|
325
|
+
"begin": "{",
|
326
|
+
"end": "}",
|
327
|
+
"patterns": [
|
328
|
+
{
|
329
|
+
"include": "#code"
|
330
|
+
}
|
331
|
+
]
|
332
|
+
},
|
333
|
+
{
|
334
|
+
"include": "#assertions"
|
335
|
+
},
|
336
|
+
{
|
337
|
+
"include": "#parens"
|
338
|
+
},
|
339
|
+
{
|
340
|
+
"include": "#constants-and-special-vars"
|
341
|
+
},
|
342
|
+
{
|
343
|
+
"include": "#anonymous-classes-and-new"
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"include": "#keywords"
|
347
|
+
},
|
348
|
+
{
|
349
|
+
"include": "#storage-modifiers"
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"include": "#strings"
|
353
|
+
},
|
354
|
+
{
|
355
|
+
"include": "#all-types"
|
356
|
+
}
|
357
|
+
]
|
358
|
+
},
|
359
|
+
"comments": {
|
360
|
+
"patterns": [
|
361
|
+
{
|
362
|
+
"captures": {
|
363
|
+
"0": {
|
364
|
+
"name": "punctuation.definition.comment.java"
|
365
|
+
}
|
366
|
+
},
|
367
|
+
"match": "/\\*\\*/",
|
368
|
+
"name": "comment.block.empty.java"
|
369
|
+
},
|
370
|
+
{
|
371
|
+
"include": "text.html.javadoc"
|
372
|
+
},
|
373
|
+
{
|
374
|
+
"include": "#comments-inline"
|
375
|
+
}
|
376
|
+
]
|
377
|
+
},
|
378
|
+
"comments-inline": {
|
379
|
+
"patterns": [
|
380
|
+
{
|
381
|
+
"begin": "/\\*",
|
382
|
+
"captures": {
|
383
|
+
"0": {
|
384
|
+
"name": "punctuation.definition.comment.java"
|
385
|
+
}
|
386
|
+
},
|
387
|
+
"end": "\\*/",
|
388
|
+
"name": "comment.block.java"
|
389
|
+
},
|
390
|
+
{
|
391
|
+
"captures": {
|
392
|
+
"1": {
|
393
|
+
"name": "comment.line.double-slash.java"
|
394
|
+
},
|
395
|
+
"2": {
|
396
|
+
"name": "punctuation.definition.comment.java"
|
397
|
+
}
|
398
|
+
},
|
399
|
+
"match": "\\s*((//).*$\\n?)"
|
400
|
+
}
|
401
|
+
]
|
402
|
+
},
|
403
|
+
"constants-and-special-vars": {
|
404
|
+
"patterns": [
|
405
|
+
{
|
406
|
+
"match": "\\b(true|false|null)\\b",
|
407
|
+
"name": "constant.language.java"
|
408
|
+
},
|
409
|
+
{
|
410
|
+
"match": "\\b(this|super)\\b",
|
411
|
+
"name": "variable.language.java"
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"match": "\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)([LlFfUuDd]|UL|ul)?\\b",
|
415
|
+
"name": "constant.numeric.java"
|
416
|
+
},
|
417
|
+
{
|
418
|
+
"captures": {
|
419
|
+
"1": {
|
420
|
+
"name": "keyword.operator.dereference.java"
|
421
|
+
}
|
422
|
+
},
|
423
|
+
"match": "(\\.)?\\b([A-Z][A-Z0-9_]+)(?!<|\\.class|\\s*\\w+\\s*=)\\b",
|
424
|
+
"name": "constant.other.java"
|
425
|
+
}
|
426
|
+
]
|
427
|
+
},
|
428
|
+
"enums": {
|
429
|
+
"begin": "^(?=\\s*[A-Z0-9_]+\\s*({|\\(|,))",
|
430
|
+
"end": "(?=;|})",
|
431
|
+
"patterns": [
|
432
|
+
{
|
433
|
+
"begin": "\\w+",
|
434
|
+
"beginCaptures": {
|
435
|
+
"0": {
|
436
|
+
"name": "constant.other.enum.java"
|
437
|
+
}
|
438
|
+
},
|
439
|
+
"end": "(?=,|;|})",
|
440
|
+
"name": "meta.enum.java",
|
441
|
+
"patterns": [
|
442
|
+
{
|
443
|
+
"include": "#parens"
|
444
|
+
},
|
445
|
+
{
|
446
|
+
"begin": "{",
|
447
|
+
"end": "}",
|
448
|
+
"patterns": [
|
449
|
+
{
|
450
|
+
"include": "#class-body"
|
451
|
+
}
|
452
|
+
]
|
453
|
+
}
|
454
|
+
]
|
455
|
+
}
|
456
|
+
]
|
457
|
+
},
|
458
|
+
"keywords": {
|
459
|
+
"patterns": [
|
460
|
+
{
|
461
|
+
"match": "\\b(try|catch|finally|throw)\\b",
|
462
|
+
"name": "keyword.control.catch-exception.java"
|
463
|
+
},
|
464
|
+
{
|
465
|
+
"match": "\\?|:",
|
466
|
+
"name": "keyword.control.java"
|
467
|
+
},
|
468
|
+
{
|
469
|
+
"match": "\\b(return|break|case|continue|default|do|while|for|switch|if|else)\\b",
|
470
|
+
"name": "keyword.control.java"
|
471
|
+
},
|
472
|
+
{
|
473
|
+
"match": "\\b(instanceof)\\b",
|
474
|
+
"name": "keyword.operator.java"
|
475
|
+
},
|
476
|
+
{
|
477
|
+
"match": "(==|!=|<=|>=|<>|<|>)",
|
478
|
+
"name": "keyword.operator.comparison.java"
|
479
|
+
},
|
480
|
+
{
|
481
|
+
"match": "(=)",
|
482
|
+
"name": "keyword.operator.assignment.java"
|
483
|
+
},
|
484
|
+
{
|
485
|
+
"match": "(\\-\\-|\\+\\+)",
|
486
|
+
"name": "keyword.operator.increment-decrement.java"
|
487
|
+
},
|
488
|
+
{
|
489
|
+
"match": "(\\-|\\+|\\*|\\/|%)",
|
490
|
+
"name": "keyword.operator.arithmetic.java"
|
491
|
+
},
|
492
|
+
{
|
493
|
+
"match": "(!|&&|\\|\\|)",
|
494
|
+
"name": "keyword.operator.logical.java"
|
495
|
+
},
|
496
|
+
{
|
497
|
+
"match": "(?<=\\S)\\.(?=\\S)",
|
498
|
+
"name": "keyword.operator.dereference.java"
|
499
|
+
},
|
500
|
+
{
|
501
|
+
"match": ";",
|
502
|
+
"name": "punctuation.terminator.java"
|
503
|
+
}
|
504
|
+
]
|
505
|
+
},
|
506
|
+
"methods": {
|
507
|
+
"begin": "(?!new)(?!.*pointcut)(?=\\w[^=:]*\\s+)(?=[^=:]+\\()(?!.*:)",
|
508
|
+
"end": "}|(?=;)",
|
509
|
+
"name": "meta.method.java",
|
510
|
+
"patterns": [
|
511
|
+
{
|
512
|
+
"include": "#storage-modifiers"
|
513
|
+
},
|
514
|
+
{
|
515
|
+
"begin": "([\\w\\.]+)\\s*\\(",
|
516
|
+
"beginCaptures": {
|
517
|
+
"1": {
|
518
|
+
"name": "entity.name.function.java"
|
519
|
+
}
|
520
|
+
},
|
521
|
+
"end": "\\)",
|
522
|
+
"name": "meta.method.identifier.java",
|
523
|
+
"patterns": [
|
524
|
+
{
|
525
|
+
"include": "#parameters"
|
526
|
+
}
|
527
|
+
]
|
528
|
+
},
|
529
|
+
{
|
530
|
+
"begin": "(?=\\w.*\\s+\\w+\\s*\\()",
|
531
|
+
"end": "(?=\\w+\\s*\\()",
|
532
|
+
"name": "meta.method.return-type.java",
|
533
|
+
"patterns": [
|
534
|
+
{
|
535
|
+
"include": "#all-types"
|
536
|
+
}
|
537
|
+
]
|
538
|
+
},
|
539
|
+
{
|
540
|
+
"include": "#throws"
|
541
|
+
},
|
542
|
+
{
|
543
|
+
"begin": "{",
|
544
|
+
"end": "(?=})",
|
545
|
+
"name": "meta.method.body.java",
|
546
|
+
"patterns": [
|
547
|
+
{
|
548
|
+
"include": "#code"
|
549
|
+
}
|
550
|
+
]
|
551
|
+
}
|
552
|
+
]
|
553
|
+
},
|
554
|
+
"pointcut-definitions": {
|
555
|
+
"patterns": [
|
556
|
+
{
|
557
|
+
"include": "#keywords"
|
558
|
+
},
|
559
|
+
{
|
560
|
+
"include": "#all-types"
|
561
|
+
},
|
562
|
+
{
|
563
|
+
"match": "(@annotation|\\b(get|set|adviceexecution|execution|call|target|args|within|withincode|handler|cflow|cflowbelow|this|if|preinitialization|staticinitialization|initialization)\\b)",
|
564
|
+
"name": "support.function.builtin.aspectj"
|
565
|
+
}
|
566
|
+
]
|
567
|
+
},
|
568
|
+
"pointcuts": {
|
569
|
+
"begin": "(?=\\w?.*\\s+)(pointcut)(?=\\s+[^=]+\\()",
|
570
|
+
"beginCaptures": {
|
571
|
+
"1": {
|
572
|
+
"name": "storage.type.aspectj"
|
573
|
+
}
|
574
|
+
},
|
575
|
+
"end": ";",
|
576
|
+
"name": "meta.pointcut.aspectj",
|
577
|
+
"patterns": [
|
578
|
+
{
|
579
|
+
"include": "#storage-modifiers"
|
580
|
+
},
|
581
|
+
{
|
582
|
+
"begin": "(\\w+)\\s*\\(",
|
583
|
+
"beginCaptures": {
|
584
|
+
"1": {
|
585
|
+
"name": "entity.name.function.aspectj"
|
586
|
+
}
|
587
|
+
},
|
588
|
+
"end": "\\)",
|
589
|
+
"name": "meta.pointcut.identifier.aspectj",
|
590
|
+
"patterns": [
|
591
|
+
{
|
592
|
+
"include": "#parameters"
|
593
|
+
}
|
594
|
+
]
|
595
|
+
},
|
596
|
+
{
|
597
|
+
"begin": ":",
|
598
|
+
"end": "(?=;)",
|
599
|
+
"name": "meta.pointcut.body.aspectj",
|
600
|
+
"patterns": [
|
601
|
+
{
|
602
|
+
"include": "#pointcut-definitions"
|
603
|
+
}
|
604
|
+
]
|
605
|
+
}
|
606
|
+
]
|
607
|
+
},
|
608
|
+
"declare-precedence": {
|
609
|
+
"begin": "(declare)\\s+(precedence)\\s*:",
|
610
|
+
"beginCaptures": {
|
611
|
+
"1": {
|
612
|
+
"name": "storage.type.declare.aspectj"
|
613
|
+
},
|
614
|
+
"2": {
|
615
|
+
"name": "storage.type.declare.precedence.aspectj"
|
616
|
+
}
|
617
|
+
},
|
618
|
+
"end": ";",
|
619
|
+
"name": "meta.declare.precedence.aspectj"
|
620
|
+
},
|
621
|
+
"declare-parents": {
|
622
|
+
"begin": "(declare)\\s+(parents)\\s*:",
|
623
|
+
"beginCaptures": {
|
624
|
+
"1": {
|
625
|
+
"name": "storage.type.declare.aspectj"
|
626
|
+
},
|
627
|
+
"2": {
|
628
|
+
"name": "storage.type.declare.parents.aspectj"
|
629
|
+
}
|
630
|
+
},
|
631
|
+
"end": ";",
|
632
|
+
"name": "meta.declare.precedence.aspectj",
|
633
|
+
"patterns": [
|
634
|
+
{
|
635
|
+
"include": "#keywords"
|
636
|
+
},
|
637
|
+
{
|
638
|
+
"match": "\\b(implements|extends)\\b",
|
639
|
+
"name": "storage.modifier.class.aspectj"
|
640
|
+
}
|
641
|
+
]
|
642
|
+
},
|
643
|
+
"declare-constructs": {
|
644
|
+
"begin": "(declare)\\s+(@(?:type|method|field|package|constructor))\\s*:",
|
645
|
+
"beginCaptures": {
|
646
|
+
"1": {
|
647
|
+
"name": "storage.type.declare.aspectj"
|
648
|
+
},
|
649
|
+
"2": {
|
650
|
+
"name": "storage.type.declare.construct.aspectj"
|
651
|
+
}
|
652
|
+
},
|
653
|
+
"end": ";",
|
654
|
+
"name": "meta.declare.construct.aspectj",
|
655
|
+
"patterns": [
|
656
|
+
{
|
657
|
+
"include": "#keywords"
|
658
|
+
},
|
659
|
+
{
|
660
|
+
"include": "#all-types"
|
661
|
+
},
|
662
|
+
{
|
663
|
+
"include": "#storage-modifiers"
|
664
|
+
}
|
665
|
+
]
|
666
|
+
},
|
667
|
+
"declare-warnings-errors": {
|
668
|
+
"begin": "(declare)\\s+(warning|error)\\s*:",
|
669
|
+
"beginCaptures": {
|
670
|
+
"1": {
|
671
|
+
"name": "storage.type.declare.aspectj"
|
672
|
+
},
|
673
|
+
"2": {
|
674
|
+
"name": "storage.type.declare.alerts.aspectj"
|
675
|
+
}
|
676
|
+
},
|
677
|
+
"end": ";",
|
678
|
+
"name": "meta.declare.alerts.aspectj",
|
679
|
+
"patterns": [
|
680
|
+
{
|
681
|
+
"include": "#pointcut-definitions"
|
682
|
+
},
|
683
|
+
{
|
684
|
+
"include": "#strings"
|
685
|
+
}
|
686
|
+
]
|
687
|
+
},
|
688
|
+
"advice": {
|
689
|
+
"begin": "(?!new)(?!.*pointcut)(?=[^=:]+\\([^\\)]*\\)[^=]*:)",
|
690
|
+
"end": "}|(?=;)",
|
691
|
+
"name": "meta.advice.aspectj",
|
692
|
+
"patterns": [
|
693
|
+
{
|
694
|
+
"include": "#storage-modifiers"
|
695
|
+
},
|
696
|
+
{
|
697
|
+
"begin": "(around|after|before|throwing|returning)\\s*\\(",
|
698
|
+
"beginCaptures": {
|
699
|
+
"1": {
|
700
|
+
"name": "keyword.other.advice.aspectj"
|
701
|
+
}
|
702
|
+
},
|
703
|
+
"end": "\\)",
|
704
|
+
"name": "meta.method.identifier.java",
|
705
|
+
"patterns": [
|
706
|
+
{
|
707
|
+
"include": "#parameters"
|
708
|
+
}
|
709
|
+
]
|
710
|
+
},
|
711
|
+
{
|
712
|
+
"match": "(throwing|returning)(?=\\s*:)",
|
713
|
+
"name": "keyword.other.advice.aspectj"
|
714
|
+
},
|
715
|
+
{
|
716
|
+
"begin": ":",
|
717
|
+
"end": "(?={)",
|
718
|
+
"name": "meta.advice.identifier.aspectj",
|
719
|
+
"patterns": [
|
720
|
+
{
|
721
|
+
"include": "#pointcut-definitions"
|
722
|
+
}
|
723
|
+
]
|
724
|
+
},
|
725
|
+
{
|
726
|
+
"begin": "(?=\\w.*\\s+\\w+\\s*\\()",
|
727
|
+
"end": "(?=\\w+\\s*\\()",
|
728
|
+
"name": "meta.method.return-type.java",
|
729
|
+
"patterns": [
|
730
|
+
{
|
731
|
+
"include": "#all-types"
|
732
|
+
}
|
733
|
+
]
|
734
|
+
},
|
735
|
+
{
|
736
|
+
"include": "#throws"
|
737
|
+
},
|
738
|
+
{
|
739
|
+
"begin": "{",
|
740
|
+
"end": "(?=})",
|
741
|
+
"name": "meta.method.body.java",
|
742
|
+
"patterns": [
|
743
|
+
{
|
744
|
+
"include": "#code"
|
745
|
+
},
|
746
|
+
{
|
747
|
+
"match": "\\b(proceed)\\b",
|
748
|
+
"name": "support.function.builtin.aspectj"
|
749
|
+
}
|
750
|
+
]
|
751
|
+
}
|
752
|
+
]
|
753
|
+
},
|
754
|
+
"object-types": {
|
755
|
+
"patterns": [
|
756
|
+
{
|
757
|
+
"begin": "\\b((?:[a-z]\\w*\\.)*[A-Z]+\\w*)<",
|
758
|
+
"end": ">|[^\\w\\s,\\?<\\[\\]]",
|
759
|
+
"name": "storage.type.generic.java",
|
760
|
+
"patterns": [
|
761
|
+
{
|
762
|
+
"include": "#object-types"
|
763
|
+
},
|
764
|
+
{
|
765
|
+
"begin": "<",
|
766
|
+
"comment": "This is just to support <>'s with no actual type prefix",
|
767
|
+
"end": ">|[^\\w\\s,\\[\\]<]",
|
768
|
+
"name": "storage.type.generic.java"
|
769
|
+
}
|
770
|
+
]
|
771
|
+
},
|
772
|
+
{
|
773
|
+
"begin": "\\b((?:[a-z]\\w*\\.)*[A-Z]+\\w*)(?=\\[)",
|
774
|
+
"end": "(?=[^\\]\\s])",
|
775
|
+
"name": "storage.type.object.array.java",
|
776
|
+
"patterns": [
|
777
|
+
{
|
778
|
+
"begin": "\\[",
|
779
|
+
"end": "\\]",
|
780
|
+
"patterns": [
|
781
|
+
{
|
782
|
+
"include": "#code"
|
783
|
+
}
|
784
|
+
]
|
785
|
+
}
|
786
|
+
]
|
787
|
+
},
|
788
|
+
{
|
789
|
+
"captures": {
|
790
|
+
"1": {
|
791
|
+
"name": "keyword.operator.dereference.java"
|
792
|
+
}
|
793
|
+
},
|
794
|
+
"match": "\\b(?:[a-z]\\w*(\\.))*[A-Z]+\\w*\\b",
|
795
|
+
"name": "storage.type.java"
|
796
|
+
}
|
797
|
+
]
|
798
|
+
},
|
799
|
+
"object-types-inherited": {
|
800
|
+
"patterns": [
|
801
|
+
{
|
802
|
+
"begin": "\\b((?:[a-z]\\w*\\.)*[A-Z]+\\w*)<",
|
803
|
+
"end": ">|[^\\w\\s,<]",
|
804
|
+
"name": "entity.other.inherited-class.java",
|
805
|
+
"patterns": [
|
806
|
+
{
|
807
|
+
"include": "#object-types"
|
808
|
+
},
|
809
|
+
{
|
810
|
+
"begin": "<",
|
811
|
+
"comment": "This is just to support <>'s with no actual type prefix",
|
812
|
+
"end": ">|[^\\w\\s,<]",
|
813
|
+
"name": "storage.type.generic.java"
|
814
|
+
}
|
815
|
+
]
|
816
|
+
},
|
817
|
+
{
|
818
|
+
"captures": {
|
819
|
+
"1": {
|
820
|
+
"name": "keyword.operator.dereference.java"
|
821
|
+
}
|
822
|
+
},
|
823
|
+
"match": "\\b(?:[a-z]\\w*(\\.))*[A-Z]+\\w*",
|
824
|
+
"name": "entity.other.inherited-class.java"
|
825
|
+
}
|
826
|
+
]
|
827
|
+
},
|
828
|
+
"parameters": {
|
829
|
+
"patterns": [
|
830
|
+
{
|
831
|
+
"match": "final",
|
832
|
+
"name": "storage.modifier.java"
|
833
|
+
},
|
834
|
+
{
|
835
|
+
"include": "#primitive-arrays"
|
836
|
+
},
|
837
|
+
{
|
838
|
+
"include": "#primitive-types"
|
839
|
+
},
|
840
|
+
{
|
841
|
+
"include": "#object-types"
|
842
|
+
},
|
843
|
+
{
|
844
|
+
"match": "\\w+",
|
845
|
+
"name": "variable.parameter.java"
|
846
|
+
}
|
847
|
+
]
|
848
|
+
},
|
849
|
+
"parens": {
|
850
|
+
"begin": "\\(",
|
851
|
+
"end": "\\)",
|
852
|
+
"patterns": [
|
853
|
+
{
|
854
|
+
"include": "#code"
|
855
|
+
}
|
856
|
+
]
|
857
|
+
},
|
858
|
+
"primitive-arrays": {
|
859
|
+
"patterns": [
|
860
|
+
{
|
861
|
+
"match": "\\b(?:void|boolean|byte|char|short|int|float|long|double)(\\[\\])*\\b",
|
862
|
+
"name": "storage.type.primitive.array.java"
|
863
|
+
}
|
864
|
+
]
|
865
|
+
},
|
866
|
+
"primitive-types": {
|
867
|
+
"patterns": [
|
868
|
+
{
|
869
|
+
"match": "\\b(?:void|boolean|byte|char|short|int|float|long|double)\\b",
|
870
|
+
"name": "storage.type.primitive.java"
|
871
|
+
}
|
872
|
+
]
|
873
|
+
},
|
874
|
+
"storage-modifiers": {
|
875
|
+
"patterns": [
|
876
|
+
{
|
877
|
+
"name": "storage.modifier.java",
|
878
|
+
"match": "\\b(public|private|protected|static|final|native|synchronized|abstract|threadsafe|transient)\\b"
|
879
|
+
},
|
880
|
+
{
|
881
|
+
"name": "storage.modifier.aspectj",
|
882
|
+
"match": "\\b(privileged)\\b"
|
883
|
+
}
|
884
|
+
]
|
885
|
+
},
|
886
|
+
"strings": {
|
887
|
+
"patterns": [
|
888
|
+
{
|
889
|
+
"begin": "\"",
|
890
|
+
"beginCaptures": {
|
891
|
+
"0": {
|
892
|
+
"name": "punctuation.definition.string.begin.java"
|
893
|
+
}
|
894
|
+
},
|
895
|
+
"end": "\"",
|
896
|
+
"endCaptures": {
|
897
|
+
"0": {
|
898
|
+
"name": "punctuation.definition.string.end.java"
|
899
|
+
}
|
900
|
+
},
|
901
|
+
"name": "string.quoted.double.java",
|
902
|
+
"patterns": [
|
903
|
+
{
|
904
|
+
"match": "\\\\.",
|
905
|
+
"name": "constant.character.escape.java"
|
906
|
+
}
|
907
|
+
]
|
908
|
+
},
|
909
|
+
{
|
910
|
+
"begin": "'",
|
911
|
+
"beginCaptures": {
|
912
|
+
"0": {
|
913
|
+
"name": "punctuation.definition.string.begin.java"
|
914
|
+
}
|
915
|
+
},
|
916
|
+
"end": "'",
|
917
|
+
"endCaptures": {
|
918
|
+
"0": {
|
919
|
+
"name": "punctuation.definition.string.end.java"
|
920
|
+
}
|
921
|
+
},
|
922
|
+
"name": "string.quoted.single.java",
|
923
|
+
"patterns": [
|
924
|
+
{
|
925
|
+
"match": "\\\\.",
|
926
|
+
"name": "constant.character.escape.java"
|
927
|
+
}
|
928
|
+
]
|
929
|
+
}
|
930
|
+
]
|
931
|
+
},
|
932
|
+
"throws": {
|
933
|
+
"begin": "throws",
|
934
|
+
"beginCaptures": {
|
935
|
+
"0": {
|
936
|
+
"name": "storage.modifier.java"
|
937
|
+
}
|
938
|
+
},
|
939
|
+
"end": "(?={|;)",
|
940
|
+
"name": "meta.throwables.java",
|
941
|
+
"patterns": [
|
942
|
+
{
|
943
|
+
"include": "#object-types"
|
944
|
+
}
|
945
|
+
]
|
946
|
+
},
|
947
|
+
"values": {
|
948
|
+
"patterns": [
|
949
|
+
{
|
950
|
+
"include": "#strings"
|
951
|
+
},
|
952
|
+
{
|
953
|
+
"include": "#object-types"
|
954
|
+
},
|
955
|
+
{
|
956
|
+
"include": "#constants-and-special-vars"
|
957
|
+
}
|
958
|
+
]
|
959
|
+
}
|
960
|
+
},
|
961
|
+
"scopeName": "source.aspectj",
|
962
|
+
"uuid": "8ace1709-b6d3-4b3c-8b59-262545406403"
|
963
|
+
}
|