github-linguist 7.11.0 → 7.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/linguist/lex.linguist_yy.c +1123 -623
- data/ext/linguist/lex.linguist_yy.h +433 -66
- data/ext/linguist/linguist.c +5 -35
- data/ext/linguist/linguist.h +0 -18
- data/ext/linguist/tokenizer.l +83 -65
- data/grammars/annotation.liquidhaskell.haskell.json +1 -1835
- data/grammars/config.xcompose.json +1 -80
- data/grammars/documentation.markdown.injection.haxe.json +1 -22
- data/grammars/etc.json +1 -987
- data/grammars/file.lasso.json +1 -702
- data/grammars/hidden.manref.json +1 -29
- data/grammars/hidden.regexp.injection-shell.json +1 -28
- data/grammars/hint.haskell.json +1 -1762
- data/grammars/hint.message.haskell.json +1 -1786
- data/grammars/hint.type.haskell.json +1 -1759
- data/grammars/injections.etc.json +1 -659
- data/grammars/inline.prisma.json +1 -55
- data/grammars/markdown.hack.codeblock.json +1 -20
- data/grammars/markdown.haxe.codeblock.json +1 -26
- data/grammars/markdown.hxml.codeblock.json +1 -26
- data/grammars/markdown.lean.codeblock.json +1 -0
- data/grammars/markdown.plantuml.codeblock.json +1 -26
- data/grammars/objdump.x86asm.json +1 -69
- data/grammars/source.4dm.json +1 -1156
- data/grammars/source.SASLog.json +1 -18
- data/grammars/source.abap.json +1 -335
- data/grammars/source.abapcds.json +1 -0
- data/grammars/source.abl.json +1 -734
- data/grammars/source.abnf.json +1 -294
- data/grammars/source.actionscript.3.json +1 -1538
- data/grammars/source.acucobol.json +1 -13
- data/grammars/source.ada.json +1 -133
- data/grammars/source.afm.json +1 -1207
- data/grammars/source.agc.json +1 -87
- data/grammars/source.agda.json +1 -72
- data/grammars/source.ahk.json +1 -195
- data/grammars/source.al.json +1 -130
- data/grammars/source.alloy.json +1 -40
- data/grammars/source.ampl.json +1 -151
- data/grammars/source.angelscript.json +1 -186
- data/grammars/source.antlr.json +1 -295
- data/grammars/source.apache-config.json +1 -346
- data/grammars/source.apache-config.mod_perl.json +1 -65
- data/grammars/source.apl.json +1 -1427
- data/grammars/source.applescript.json +1 -1384
- data/grammars/source.asl.json +1 -56
- data/grammars/source.asn.json +1 -55
- data/grammars/source.asp.json +1 -151
- data/grammars/source.aspectj.json +1 -960
- data/grammars/source.assembly.json +1 -116
- data/grammars/source.ats.json +1 -164
- data/grammars/source.autoit.json +1 -167
- data/grammars/source.avro.json +1 -381
- data/grammars/source.awk.json +1 -384
- data/grammars/source.ballerina.json +1 -1785
- data/grammars/source.batchfile.json +1 -732
- data/grammars/source.bdf.json +1 -425
- data/grammars/source.befunge.json +1 -34
- data/grammars/source.bf.json +1 -30
- data/grammars/source.blitzmax.json +1 -905
- data/grammars/source.bnf.json +1 -191
- data/grammars/source.boo.json +1 -448
- data/grammars/source.boogie.json +1 -0
- data/grammars/source.brightauthorproject.json +1 -24
- data/grammars/source.brightscript.json +1 -148
- data/grammars/source.bsl.json +1 -451
- data/grammars/source.bsv.json +1 -277
- data/grammars/source.c++.json +1 -436
- data/grammars/source.c++.qt.json +1 -29
- data/grammars/source.c.ec.json +1 -33
- data/grammars/source.c.json +1 -712
- data/grammars/source.c.nwscript.json +1 -0
- data/grammars/source.c.platform.json +1 -1115
- data/grammars/source.c2hs.json +1 -24
- data/grammars/source.cabal.json +1 -63
- data/grammars/source.cache.cmake.json +1 -70
- data/grammars/source.cake.json +1 -13
- data/grammars/source.camlp4.ocaml.json +1 -60
- data/grammars/source.capnp.json +1 -88
- data/grammars/source.ceylon.json +1 -93
- data/grammars/source.cfscript.cfc.json +1 -162
- data/grammars/source.cfscript.json +1 -737
- data/grammars/source.changelogs.rpm-spec.json +1 -91
- data/grammars/source.chapel.json +1 -265
- data/grammars/source.cirru.json +1 -61
- data/grammars/source.clarion.json +1 -146
- data/grammars/source.clean.json +1 -222
- data/grammars/source.click.json +1 -107
- data/grammars/source.clips.json +1 -67
- data/grammars/source.clojure.json +1 -429
- data/grammars/source.cm.json +1 -49
- data/grammars/source.cmake.json +1 -173
- data/grammars/source.cobol.json +1 -485
- data/grammars/source.coffee.json +1 -1310
- data/grammars/source.cool.json +1 -96
- data/grammars/source.coq.json +1 -58
- data/grammars/source.crystal.json +1 -2694
- data/grammars/source.cs.json +1 -4323
- data/grammars/source.csound-document.json +1 -175
- data/grammars/source.csound-score.json +1 -191
- data/grammars/source.csound.json +1 -824
- data/grammars/source.css.json +1 -1859
- data/grammars/source.css.less.json +1 -536
- data/grammars/source.css.mss.json +1 -249
- data/grammars/source.css.postcss.sugarss.json +1 -260
- data/grammars/source.css.scss.json +1 -1873
- data/grammars/source.csx.json +1 -13
- data/grammars/source.cuda-c++.json +1 -103
- data/grammars/source.curlrc.json +1 -984
- data/grammars/source.cwl.json +1 -103
- data/grammars/source.cython.json +1 -1912
- data/grammars/source.d.json +1 -741
- data/grammars/source.dart.json +1 -433
- data/grammars/source.data-weave.json +1 -1580
- data/grammars/source.desktop.json +1 -86
- data/grammars/source.diff.json +1 -153
- data/grammars/source.dircolors.json +1 -137
- data/grammars/source.direct-x.json +1 -135
- data/grammars/source.disasm.json +1 -30
- data/grammars/source.ditroff.desc.json +1 -411
- data/grammars/source.ditroff.json +1 -1280
- data/grammars/source.dm.json +1 -628
- data/grammars/source.dmf.json +1 -96
- data/grammars/source.dockerfile.json +1 -88
- data/grammars/source.dosbox-conf.json +1 -97
- data/grammars/source.dot.json +1 -117
- data/grammars/source.dylan.json +1 -212
- data/grammars/source.ebnf.json +1 -240
- data/grammars/source.editorconfig.json +1 -365
- data/grammars/source.eiffel.json +1 -133
- data/grammars/source.elixir.json +1 -965
- data/grammars/source.elm.json +1 -375
- data/grammars/source.emacs.lisp.json +1 -1301
- data/grammars/source.erlang.json +1 -1647
- data/grammars/source.essl.json +1 -37
- data/grammars/source.factor.json +1 -252
- data/grammars/source.fan.json +1 -341
- data/grammars/source.fancy.json +1 -245
- data/grammars/source.faust.json +1 -119
- data/grammars/source.figctrl.json +1 -252
- data/grammars/source.figfont.json +1 -121
- data/grammars/source.firestore.json +1 -289
- data/grammars/source.fish.json +1 -190
- data/grammars/source.fontdir.json +1 -99
- data/grammars/source.fontforge.json +1 -355
- data/grammars/source.forth.json +1 -84
- data/grammars/source.fortran.json +1 -464
- data/grammars/source.fortran.modern.json +1 -200
- data/grammars/source.fsharp.fsi.json +1 -9
- data/grammars/source.fsharp.fsl.json +1 -9
- data/grammars/source.fsharp.fsx.json +1 -13
- data/grammars/source.fsharp.json +1 -452
- data/grammars/source.fstar.json +1 -439
- data/grammars/source.futhark.json +1 -167
- data/grammars/source.gap.json +1 -163
- data/grammars/source.gcode.json +1 -176
- data/grammars/source.gdb.json +1 -160
- data/grammars/source.gdb.session.json +1 -70
- data/grammars/source.gdbregs.json +1 -14
- data/grammars/source.gdscript.json +1 -245
- data/grammars/source.gedcom.json +1 -196
- data/grammars/source.generic-db.json +1 -41
- data/grammars/source.gerber.json +1 -321
- data/grammars/source.gf.json +1 -51
- data/grammars/source.gfm.blade.json +1 -15
- data/grammars/source.gfm.json +1 -1913
- data/grammars/source.gitattributes.json +1 -111
- data/grammars/source.gitconfig.json +1 -450
- data/grammars/source.gitignore.json +1 -140
- data/grammars/source.glsl.json +1 -139
- data/grammars/source.gn.json +1 -345
- data/grammars/source.gnuplot.json +1 -260
- data/grammars/source.go.json +1 -540
- data/grammars/source.golo.json +1 -177
- data/grammars/source.gosu.2.json +1 -153
- data/grammars/source.grace.json +1 -675
- data/grammars/source.graphql.json +1 -978
- data/grammars/source.gremlin.json +1 -200
- data/grammars/source.groovy.gradle.json +1 -69
- data/grammars/source.groovy.json +1 -1374
- data/grammars/source.hack.json +1 -2595
- data/grammars/source.haproxy-config.json +1 -152
- data/grammars/source.harbour.json +1 -388
- data/grammars/source.haskell.json +1 -1760
- data/grammars/source.hc.json +1 -709
- data/grammars/source.hgignore.json +1 -34
- data/grammars/source.hlsl.json +1 -211
- data/grammars/source.hosts.json +1 -40
- data/grammars/source.hql.json +1 -492
- data/grammars/source.hsc2hs.json +1 -9
- data/grammars/source.hsig.json +1 -1760
- data/grammars/source.httpspec.json +1 -283
- data/grammars/source.hx.argument.json +1 -80
- data/grammars/source.hx.json +1 -2428
- data/grammars/source.hx.type.json +1 -8
- data/grammars/source.hxml.json +1 -59
- data/grammars/source.hy.json +1 -429
- data/grammars/source.ideal.json +1 -356
- data/grammars/source.idl-dlm.json +1 -105
- data/grammars/source.idl.json +1 -246
- data/grammars/source.idris.json +1 -523
- data/grammars/source.igor.json +1 -369
- data/grammars/source.inform7.json +1 -183
- data/grammars/source.ini.json +1 -107
- data/grammars/source.ini.npmrc.json +1 -311
- data/grammars/source.inno.json +1 -133
- data/grammars/source.inputrc.json +1 -500
- data/grammars/source.io.json +1 -156
- data/grammars/source.ioke.json +1 -266
- data/grammars/source.isabelle.root.json +1 -64
- data/grammars/source.isabelle.theory.json +1 -102
- data/grammars/source.j.json +1 -260
- data/grammars/source.jasmin.json +1 -294
- data/grammars/source.java-properties.json +1 -87
- data/grammars/source.java.json +1 -1020
- data/grammars/source.jcl.json +1 -46
- data/grammars/source.jflex.json +1 -484
- data/grammars/source.jison.json +1 -711
- data/grammars/source.jisonlex-injection.json +1 -10
- data/grammars/source.jisonlex.json +1 -434
- data/grammars/source.jolie.json +1 -132
- data/grammars/source.jq.json +1 -211
- data/grammars/source.js.json +1 -1897
- data/grammars/source.js.objj.json +1 -419
- data/grammars/source.js.regexp.json +1 -152
- data/grammars/source.js.regexp.replacement.json +1 -26
- data/grammars/source.jsdoc.json +1 -460
- data/grammars/source.json.json +1 -139
- data/grammars/source.jsonnet.json +1 -197
- data/grammars/source.julia.console.json +1 -51
- data/grammars/source.julia.json +1 -991
- data/grammars/source.kotlin.json +1 -704
- data/grammars/source.lark.json +1 -0
- data/grammars/source.lbnf.json +1 -0
- data/grammars/source.lcov.json +1 -398
- data/grammars/source.lean.json +1 -226
- data/grammars/source.lean.markdown.json +1 -2598
- data/grammars/source.lex.json +1 -232
- data/grammars/source.lex.regexp.json +1 -269
- data/grammars/source.lid.json +1 -19
- data/grammars/source.lilypond.json +1 -869
- data/grammars/source.lisp.json +1 -101
- data/grammars/source.litcoffee.json +1 -654
- data/grammars/source.livescript.json +1 -603
- data/grammars/source.llvm.json +1 -61
- data/grammars/source.logos.json +1 -24
- data/grammars/source.logtalk.json +1 -310
- data/grammars/source.loomscript.json +1 -208
- data/grammars/source.lsl.json +1 -241
- data/grammars/source.ltspice.symbol.json +1 -294
- data/grammars/source.lua.json +1 -275
- data/grammars/source.m2.json +1 -125
- data/grammars/source.m4.json +1 -229
- data/grammars/source.m68k.json +1 -412
- data/grammars/source.mailmap.json +1 -28
- data/grammars/source.makefile.json +1 -470
- data/grammars/source.makegen.json +1 -9
- data/grammars/source.man-conf.json +1 -153
- data/grammars/source.mask.json +1 -816
- data/grammars/source.mata.json +1 -125
- data/grammars/source.mathematica.json +1 -416
- data/grammars/source.matlab.json +1 -1096
- data/grammars/source.maxscript.json +1 -465
- data/grammars/source.mcfunction-snapshot.json +1 -24480
- data/grammars/source.mcfunction.json +1 -1354
- data/grammars/source.mercury.json +1 -246
- data/grammars/source.meson.json +1 -165
- data/grammars/source.meta-info.json +1 -146
- data/grammars/source.ml.json +1 -285
- data/grammars/source.mlir.json +1 -109
- data/grammars/source.modelica.json +1 -142
- data/grammars/source.modula-3.json +1 -88
- data/grammars/source.modula2.json +1 -94
- data/grammars/source.monkey.json +1 -694
- data/grammars/source.moonscript.json +1 -144
- data/grammars/source.mql5.json +1 -187
- data/grammars/source.msl.json +1 -755
- data/grammars/source.mupad.json +1 -131
- data/grammars/source.nanorc.json +1 -333
- data/grammars/source.nasl.json +1 -155
- data/grammars/source.ncl.json +1 -53
- data/grammars/source.ne.json +1 -105
- data/grammars/source.nemerle.json +1 -132
- data/grammars/source.neon.json +1 -381
- data/grammars/source.nesc.json +1 -21
- data/grammars/source.netlinx.erb.json +1 -34
- data/grammars/source.netlinx.json +1 -704
- data/grammars/source.nextflow-groovy.json +1 -1359
- data/grammars/source.nextflow.json +1 -94
- data/grammars/source.nginx.json +1 -815
- data/grammars/source.nim.comment.json +1 -82
- data/grammars/source.nim.json +1 -1083
- data/grammars/source.nim_filter.json +1 -113
- data/grammars/source.nimcfg.json +1 -103
- data/grammars/source.ninja.json +1 -248
- data/grammars/source.nit.json +1 -234
- data/grammars/source.nix.json +1 -1196
- data/grammars/source.nsis.json +1 -152
- data/grammars/source.nu.json +1 -516
- data/grammars/source.nunjucks.json +1 -0
- data/grammars/source.nut.json +1 -262
- data/grammars/source.objc++.json +1 -12
- data/grammars/source.objc.json +1 -910
- data/grammars/source.objc.platform.json +1 -842
- data/grammars/source.objectscript.json +1 -309
- data/grammars/source.objectscript_class.json +1 -674
- data/grammars/source.objectscript_csp.json +1 -19
- data/grammars/source.objectscript_macros.json +1 -226
- data/grammars/source.ocaml.json +1 -1418
- data/grammars/source.ocamllex.json +1 -298
- data/grammars/source.ocamlyacc.json +1 -339
- data/grammars/source.odin-ehr.json +1 -806
- data/grammars/source.odin.json +1 -402
- data/grammars/source.ooc.json +1 -685
- data/grammars/source.opa.json +1 -196
- data/grammars/source.opal.json +1 -410
- data/grammars/source.opalsysdefs.json +1 -66
- data/grammars/source.openbsd-pkg.contents.json +1 -128
- data/grammars/source.opencobol.json +1 -62
- data/grammars/source.opentype.json +1 -448
- data/grammars/source.opts.json +1 -108
- data/grammars/source.ox.json +1 -89
- data/grammars/source.oz.json +1 -77
- data/grammars/source.p4.json +1 -122
- data/grammars/source.paket.dependencies.json +1 -0
- data/grammars/source.paket.lock.json +1 -0
- data/grammars/source.pan.json +1 -706
- data/grammars/source.papyrus.skyrim.json +1 -1272
- data/grammars/source.parrot.pir.json +1 -145
- data/grammars/source.pascal.json +1 -143
- data/grammars/source.pawn.json +1 -1194
- data/grammars/source.pcb.board.json +1 -285
- data/grammars/source.pcb.schematic.json +1 -424
- data/grammars/source.pcb.sexp.json +1 -232
- data/grammars/source.pep8.json +1 -118
- data/grammars/source.perl.6.json +1 -309
- data/grammars/source.perl.json +1 -2519
- data/grammars/source.php.zephir.json +1 -353
- data/grammars/source.pic.json +1 -908
- data/grammars/source.pig_latin.json +1 -168
- data/grammars/source.pike.json +1 -49
- data/grammars/source.plist.json +1 -336
- data/grammars/source.po.json +1 -222
- data/grammars/source.pogoscript.json +1 -79
- data/grammars/source.pony.json +1 -245
- data/grammars/source.postcss.json +1 -370
- data/grammars/source.postscript.json +1 -477
- data/grammars/source.pov-ray sdl.json +1 -82
- data/grammars/source.powershell.json +1 -981
- data/grammars/source.prisma.json +1 -435
- data/grammars/source.processing.json +1 -872
- data/grammars/source.prolog.eclipse.json +1 -201
- data/grammars/source.prolog.json +1 -286
- data/grammars/source.protobuf.json +1 -471
- data/grammars/source.puppet.json +1 -433
- data/grammars/source.purescript.json +1 -861
- data/grammars/source.pyjade.json +1 -996
- data/grammars/source.python.django.json +1 -29
- data/grammars/source.python.json +1 -5292
- data/grammars/source.python.salt.json +1 -9
- data/grammars/source.q.json +1 -215
- data/grammars/source.q_output.json +1 -348
- data/grammars/source.qasm.json +1 -66
- data/grammars/source.ql.json +1 -1408
- data/grammars/source.qmake.json +1 -210
- data/grammars/source.qml.json +1 -174
- data/grammars/source.qsharp.json +1 -120
- data/grammars/source.quake.json +1 -44
- data/grammars/source.quoting.raku.json +1 -0
- data/grammars/source.r.json +1 -194
- data/grammars/source.racket.json +1 -98
- data/grammars/source.raku.json +1 -0
- data/grammars/source.rascal.json +1 -283
- data/grammars/source.reason.hover.type.json +1 -14
- data/grammars/source.reason.json +1 -3382
- data/grammars/source.rebol.json +1 -637
- data/grammars/source.record-jar.json +1 -0
- data/grammars/source.red.json +1 -644
- data/grammars/source.reg.json +1 -159
- data/grammars/source.regexp.extended.json +1 -558
- data/grammars/source.regexp.json +1 -1434
- data/grammars/source.regexp.posix.json +1 -0
- data/grammars/source.regexp.python.json +1 -490
- data/grammars/source.regexp.raku.json +1 -0
- data/grammars/source.regexp.spin.json +1 -179
- data/grammars/source.rego.json +1 -124
- data/grammars/source.renpy.json +1 -1948
- data/grammars/source.rescript.json +1 -0
- data/grammars/source.rexx.json +1 -52
- data/grammars/source.ring.json +1 -247
- data/grammars/source.rpm-spec.json +1 -765
- data/grammars/source.ruby.gemfile.json +1 -24
- data/grammars/source.ruby.json +1 -2605
- data/grammars/source.ruby.rspec.cucumber.steps.json +1 -261
- data/grammars/source.rust.json +1 -629
- data/grammars/source.sas.json +1 -286
- data/grammars/source.sass.json +1 -1089
- data/grammars/source.sassdoc.json +1 -346
- data/grammars/source.scad.json +1 -145
- data/grammars/source.scala.json +1 -1121
- data/grammars/source.scaml.json +1 -451
- data/grammars/source.scheme.json +1 -353
- data/grammars/source.scilab.json +1 -96
- data/grammars/source.sdbl.json +1 -90
- data/grammars/source.sed.json +1 -1520
- data/grammars/source.shaderlab.json +1 -198
- data/grammars/source.shell.json +1 -1272
- data/grammars/source.shen.json +1 -143
- data/grammars/source.sieve.json +1 -383
- data/grammars/source.slice.json +1 -2755
- data/grammars/source.smali.json +1 -1610
- data/grammars/source.smalltalk.json +1 -187
- data/grammars/source.smpl.json +1 -314
- data/grammars/source.smt.json +1 -158
- data/grammars/source.solidity.json +1 -189
- data/grammars/source.sourcepawn.json +1 -651
- data/grammars/source.sparql.json +1 -18
- data/grammars/source.spin.json +1 -916
- data/grammars/source.sqf.json +1 -111
- data/grammars/source.sql.json +1 -459
- data/grammars/source.ssh-config.json +1 -97
- data/grammars/source.stan.json +1 -388
- data/grammars/source.stata.json +1 -197
- data/grammars/source.strings.json +1 -49
- data/grammars/source.stylus.json +1 -1018
- data/grammars/source.supercollider.json +1 -93
- data/grammars/source.svelte.json +1 -827
- data/grammars/source.swift.json +1 -3134
- data/grammars/source.sy.json +1 -2954
- data/grammars/source.systemverilog.json +1 -1036
- data/grammars/source.tags.json +1 -266
- data/grammars/source.tcl.json +1 -260
- data/grammars/source.tea.json +1 -174
- data/grammars/source.terra.json +1 -138
- data/grammars/source.terraform.json +1 -694
- data/grammars/source.thrift.json +1 -698
- data/grammars/source.tl.json +1 -259
- data/grammars/source.tla.json +1 -140
- data/grammars/source.tnsaudit.json +1 -256
- data/grammars/source.toc.json +1 -52
- data/grammars/source.toml.json +1 -426
- data/grammars/source.ts.json +1 -5581
- data/grammars/source.tsql.json +1 -507
- data/grammars/source.tsx.json +1 -5834
- data/grammars/source.turing.json +1 -1553
- data/grammars/source.turtle.json +1 -489
- data/grammars/source.txl.json +1 -48
- data/grammars/source.ucd.nameslist.json +1 -444
- data/grammars/source.ucd.unidata.json +1 -570
- data/grammars/source.ucfconstraints.json +1 -67
- data/grammars/source.ur.json +1 -31
- data/grammars/source.v.json +1 -1010
- data/grammars/source.vala.json +1 -800
- data/grammars/source.varnish.vcl.json +1 -331
- data/grammars/source.vbnet.json +1 -239
- data/grammars/source.verilog.json +1 -296
- data/grammars/source.vhdl.json +1 -1374
- data/grammars/source.vim-snippet.json +1 -645
- data/grammars/source.viml.json +1 -1197
- data/grammars/source.vtt.json +1 -702
- data/grammars/source.vyper.json +1 -213
- data/grammars/source.wavefront.mtl.json +1 -1190
- data/grammars/source.wavefront.obj.json +1 -1341
- data/grammars/source.wdl.json +1 -220
- data/grammars/source.webassembly.json +1 -349
- data/grammars/source.webidl.json +1 -807
- data/grammars/source.wgetrc.json +1 -1640
- data/grammars/source.wollok.json +1 -100
- data/grammars/source.wsd.json +1 -781
- data/grammars/source.x10.json +1 -64
- data/grammars/source.x86.json +1 -299
- data/grammars/source.x86asm.json +1 -42
- data/grammars/source.xc.json +1 -371
- data/grammars/source.xlfd.json +1 -462
- data/grammars/source.xojo.json +1 -85
- data/grammars/source.xq.json +1 -230
- data/grammars/source.xtend.json +1 -724
- data/grammars/source.yacc.json +1 -626
- data/grammars/source.yaml.json +1 -443
- data/grammars/source.yaml.salt.json +1 -345
- data/grammars/source.yang.json +1 -78
- data/grammars/source.yara.json +1 -99
- data/grammars/source.yasnippet.json +1 -377
- data/grammars/source.zap.json +1 -260
- data/grammars/source.zeek.json +1 -412
- data/grammars/source.zenscript.json +1 -282
- data/grammars/source.zig.json +1 -547
- data/grammars/source.zil.json +1 -750
- data/grammars/text.bibtex.json +1 -246
- data/grammars/text.browserslist.json +1 -0
- data/grammars/text.cfml.basic.json +1 -735
- data/grammars/text.checksums.json +1 -0
- data/grammars/text.conllu.json +1 -45
- data/grammars/text.dfy.dafny.json +1 -188
- data/grammars/text.elixir.json +1 -52
- data/grammars/text.eml.basic.json +1 -296
- data/grammars/text.error-list.json +1 -53
- data/grammars/text.find-refs.json +1 -926
- data/grammars/text.gherkin.feature.json +1 -127
- data/grammars/text.haml.json +1 -518
- data/grammars/text.hamlc.json +1 -219
- data/grammars/text.html.asciidoc.json +1 -478
- data/grammars/text.html.asdoc.json +1 -529
- data/grammars/text.html.asp.json +1 -53
- data/grammars/text.html.basic.json +1 -908
- data/grammars/text.html.cfm.json +1 -802
- data/grammars/text.html.creole.json +1 -317
- data/grammars/text.html.cshtml.json +1 -356
- data/grammars/text.html.django.json +1 -63
- data/grammars/text.html.ecr.json +1 -48
- data/grammars/text.html.elixir.json +1 -21
- data/grammars/text.html.erb.json +1 -150
- data/grammars/text.html.erlang.yaws.json +1 -67
- data/grammars/text.html.factor.json +1 -19
- data/grammars/text.html.ftl.json +1 -76
- data/grammars/text.html.handlebars.json +1 -845
- data/grammars/text.html.javadoc.json +1 -426
- data/grammars/text.html.js.json +1 -24
- data/grammars/text.html.jsp.json +1 -1196
- data/grammars/text.html.liquid.json +1 -25
- data/grammars/text.html.mako.json +1 -726
- data/grammars/text.html.markdown.source.gfm.apib.json +1 -1298
- data/grammars/text.html.markdown.source.gfm.mson.json +1 -1156
- data/grammars/text.html.mediawiki.elm-build-output.json +1 -97
- data/grammars/text.html.mediawiki.elm-documentation.json +1 -17
- data/grammars/text.html.mediawiki.json +1 -946
- data/grammars/text.html.nunjucks.json +1 -0
- data/grammars/text.html.php.blade.json +1 -3833
- data/grammars/text.html.php.json +1 -2507
- data/grammars/text.html.riot.json +1 -788
- data/grammars/text.html.slash.json +1 -307
- data/grammars/text.html.smarty.json +1 -232
- data/grammars/text.html.soy.json +1 -606
- data/grammars/text.html.ssp.json +1 -43
- data/grammars/text.html.tcl.json +1 -37
- data/grammars/text.html.twig.json +1 -1344
- data/grammars/text.html.vue.json +1 -963
- data/grammars/text.idl-idldoc.json +1 -10
- data/grammars/text.jade.json +1 -963
- data/grammars/text.junit-test-report.json +1 -89
- data/grammars/text.log.latex.json +1 -84
- data/grammars/text.marko.json +1 -1662
- data/grammars/text.muse.json +1 -1471
- data/grammars/text.openbsd-pkg.desc.json +1 -78
- data/grammars/text.plain.json +1 -18
- data/grammars/text.python.console.json +1 -21
- data/grammars/text.python.traceback.json +1 -43
- data/grammars/text.rdoc.json +1 -44
- data/grammars/text.restructuredtext.clean.json +1 -24
- data/grammars/text.restructuredtext.json +1 -1765
- data/grammars/text.robot.json +1 -63
- data/grammars/text.roff.json +1 -6927
- data/grammars/text.rtf.json +1 -148
- data/grammars/text.runoff.json +1 -308
- data/grammars/text.sfd.json +1 -292
- data/grammars/text.shell-session.json +1 -29
- data/grammars/text.slim.json +1 -527
- data/grammars/text.srt.json +1 -166
- data/grammars/text.tex.json +1 -264
- data/grammars/text.tex.latex.beamer.json +1 -57
- data/grammars/text.tex.latex.haskell.json +1 -1826
- data/grammars/text.tex.latex.json +1 -1003
- data/grammars/text.tex.latex.memoir.json +1 -129
- data/grammars/text.tex.latex.rd.json +1 -111
- data/grammars/text.texinfo.json +1 -1525
- data/grammars/text.vim-help.json +1 -383
- data/grammars/text.xml.ant.json +1 -195
- data/grammars/text.xml.flex-config.json +1 -2628
- data/grammars/text.xml.genshi.json +1 -28
- data/grammars/text.xml.json +1 -351
- data/grammars/text.xml.plist.json +1 -664
- data/grammars/text.xml.pom.json +1 -769
- data/grammars/text.xml.svg.json +1 -562
- data/grammars/text.xml.xsl.json +1 -88
- data/grammars/text.zone_file.json +1 -67
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/classifier.rb +28 -17
- data/lib/linguist/generated.rb +23 -3
- data/lib/linguist/generic.yml +18 -0
- data/lib/linguist/heuristics.yml +57 -22
- data/lib/linguist/language.rb +4 -2
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +142 -25
- data/lib/linguist/linguist.bundle +0 -0
- data/lib/linguist/samples.json +1 -1
- data/lib/linguist/samples.rb +4 -4
- data/lib/linguist/{md5.rb → sha256.rb} +3 -3
- data/lib/linguist/strategy/extension.rb +13 -5
- data/lib/linguist/vendor.yml +1 -1
- metadata +23 -10
- data/ext/linguist/strndup.c +0 -10
- data/grammars/source.js.css.json +0 -328
- data/grammars/source.js.jsx.json +0 -2488
- data/grammars/source.perl6fe.json +0 -2769
- data/grammars/source.quoting.perl6fe.json +0 -2369
- data/grammars/source.regexp.perl6fe.json +0 -244
data/grammars/source.x10.json
CHANGED
@@ -1,64 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "X10",
|
3
|
-
"scopeName": "source.x10",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"name": "keyword.control.x10",
|
7
|
-
"match": "\\b(assert|async|at|athome|ateach|atomic|break|case|catch|clocked|continue|def|default|do|else|finally|finish|for|goto|if|in|new|offer|operator|return|switch|throw|try|val|var|when|while)\\b"
|
8
|
-
},
|
9
|
-
{
|
10
|
-
"name": "keyword.operator.x10",
|
11
|
-
"match": "\\b(as|haszero|instanceof|isref)\\b"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"name": "constant.language.x10",
|
15
|
-
"match": "\\b(false|null|true)\\b"
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"name": "variable.language.x10:",
|
19
|
-
"match": "\\b(here|self|super|this)\\b"
|
20
|
-
},
|
21
|
-
{
|
22
|
-
"name": "entity.name.type.x10",
|
23
|
-
"match": "\\b(class|interface|struct|type)\\b"
|
24
|
-
},
|
25
|
-
{
|
26
|
-
"name": "storage.type.primitive.x10",
|
27
|
-
"match": "\\b(void)\\b"
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"name": "storage.modifier.x10",
|
31
|
-
"match": "\\b(abstract|extends|final|implements|native|offers|private|property|protected|public|static|throws|transient)\\b"
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"name": "keyword.other.x10",
|
35
|
-
"match": "\\b(import|package)\\b"
|
36
|
-
},
|
37
|
-
{
|
38
|
-
"name": "string.quoted.double.x10",
|
39
|
-
"begin": "\"",
|
40
|
-
"end": "\"",
|
41
|
-
"patterns": [
|
42
|
-
{
|
43
|
-
"name": "constant.character.escape.x10",
|
44
|
-
"match": "\\\\."
|
45
|
-
}
|
46
|
-
]
|
47
|
-
},
|
48
|
-
{
|
49
|
-
"name": "comment.line.double-slash.x10",
|
50
|
-
"begin": "//",
|
51
|
-
"end": "\\n"
|
52
|
-
},
|
53
|
-
{
|
54
|
-
"name": "comment.block.documentationx10",
|
55
|
-
"begin": "/\\*\\*",
|
56
|
-
"end": "\\*/"
|
57
|
-
},
|
58
|
-
{
|
59
|
-
"name": "comment.block.x10",
|
60
|
-
"begin": "/\\*",
|
61
|
-
"end": "\\*/"
|
62
|
-
}
|
63
|
-
]
|
64
|
-
}
|
1
|
+
{"name":"X10","scopeName":"source.x10","patterns":[{"name":"keyword.control.x10","match":"\\b(assert|async|at|athome|ateach|atomic|break|case|catch|clocked|continue|def|default|do|else|finally|finish|for|goto|if|in|new|offer|operator|return|switch|throw|try|val|var|when|while)\\b"},{"name":"keyword.operator.x10","match":"\\b(as|haszero|instanceof|isref)\\b"},{"name":"constant.language.x10","match":"\\b(false|null|true)\\b"},{"name":"variable.language.x10:","match":"\\b(here|self|super|this)\\b"},{"name":"entity.name.type.x10","match":"\\b(class|interface|struct|type)\\b"},{"name":"storage.type.primitive.x10","match":"\\b(void)\\b"},{"name":"storage.modifier.x10","match":"\\b(abstract|extends|final|implements|native|offers|private|property|protected|public|static|throws|transient)\\b"},{"name":"keyword.other.x10","match":"\\b(import|package)\\b"},{"name":"string.quoted.double.x10","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.x10","match":"\\\\."}]},{"name":"comment.line.double-slash.x10","begin":"//","end":"\\n"},{"name":"comment.block.documentationx10","begin":"/\\*\\*","end":"\\*/"},{"name":"comment.block.x10","begin":"/\\*","end":"\\*/"}]}
|
data/grammars/source.x86.json
CHANGED
@@ -1,299 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "GAS/AT\u0026T x86/x64",
|
3
|
-
"scopeName": "source.x86",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"name": "entity.name.function.instructions",
|
7
|
-
"match": "\\b(?i:aa[adms]|adc[bwlq]?|x?add[bwlq]?|and[bwlq]?|arpl|bound[wl]?|bs[fr][wlq]?|bswap[lq]?|bt[crs]?[wlq]?|call[wlq]?|clc|cld|cli|cltd[dqw]?|clts|cmc|cmov(?:n?[abgl]e?|n?[ceosz]|np|p[eo]?)?[lqw]?|cmp[bwlq]?|cmps[bwdlq]?|cmpxchg[bwlq]?|cmpxchg(?:8|16)b|cpuid|c[lw]td[bwlq]?|daa|das|dec[bwlq]?|div[bwlq]?|enter[wl]?|esc|hlt|idiv[bwlq]?|imul[bwlq]?|in[bwlq]?|inc[bwlq]?|insd?[bwlq]?|int(?:\\s*3|o)?|inv(?:d|pcid)?|invlpg|iret[dfwq]?|j(?:n?[abgl]e?|n?[ceosz]|np|p[eo]?)|jmp[lq]?|j[er]?cxz|[ls]ahf|lar|lcall[wlq]?|l[d-gs]s[wl]|lea[bwlq]?|leave[lwq]?|l[defgs]s|[ls][gil]dt[wl]?|ljmp[wl]?|lmsw|loadall|lods[bwdlq]?|loop(?:n?[ez][dw]?)?|loopw|lret|lsl|ltr|mov(?:(s?(?:b[lwq]?|w[lq]?|lq?|q)?)|(?:z?(?:b[lwq]|w[lq]|l|q)))?|movd|movabs[bwlq]?A?|movs(?:x?d|w)|mov[sz]x[bwl]?|movzb|mul[bwlq]?|neg[bwlq]?|nop|not[bwlq]?|x?or[bwlq]?|out[bwlq]?|outs[bdwl]?|pop[bwlq]?|popal?|pop[af]d|popf[wlq]?|push[bwlq]?|pushal?|push[af]d|pushf[wlq]?|rc[lr][bwlq]?|(?:rd|wr)msr|rdtscp?|ret[fw]?[ql]?|ro[lr][bwlq]?|rsm|sa[lr][bwlq]?|sbb[bwlq]?|scas[bwdlq]?|set(?:n?[abgl]e?|n?[ceosz]|np|p[eo]?)b?|sh[lr]d?[bwlq]?|smsw|stc|std|sti|stos[bdqlw]?|str|sub[bwlq]?|swapgs|syscall|sysret|sysenter|sysexit|test[bwlq]?|ud1|ud2[ab]?|ver[rw]|fwait|wbinvd|xchg[bwlq]?A?|x[gs]etbv|xlatb?|xsave[cs]?(?:64)?|xrstors?(?:64)?)(?!:)\\b"
|
8
|
-
},
|
9
|
-
{
|
10
|
-
"name": "entity.name.function.conversion.instructions",
|
11
|
-
"match": "\\b(?i:cbw|cdqe?|cwde?|cdo|cqo|cbtw|cwt[ld]|clt[dq]|cqto)(?!:)\\b"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"name": "keyword.name.function.prefixes",
|
15
|
-
"match": "\\b(?i:rep(?:n?[ez])?|[c-gs]s|(?:addr|data)(?:16|32)|lock|wait|rex(?:64(?:xyz)?)?)(?!:)\\b"
|
16
|
-
},
|
17
|
-
{},
|
18
|
-
{
|
19
|
-
"name": "entity.name.function.mmx_instructions",
|
20
|
-
"match": "\\b(?i:emms|movdq|mov[dq]b|pack(?:ssdw|[us]swb)|padd(?:[bdw]|u?s[bw])|pandn?|pcmp(?:eq|gt)[bdw]|pmaddwd|pmul[hl]w|psll[dqw]|psr(?:a[dw]|l[dqw])|psub(?:[bdw]|u?s[bw])|punpck[hl](?:bw|dq|wd)|px?or|rdpmc)(?!:)\\b"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"name": "entity.name.function.sse",
|
24
|
-
"match": "\\b(?i:maskmovq|movntps|movntq|prefetcht[012]|prefetchnta|sfence)(?!:)\\b"
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"name": "entity.name.function.sse_simd",
|
28
|
-
"match": "\\b(?i:add[sp]s|cmp[ps]s|u?comiss|cvt(?:p(?:i2ps|s2pi)|s(?:i2ss|s2sd)q?|t(?:ps2pi|s[sd]2siq?))|div[ps]s|ldmxcsr|(?:max|min)[ps]s|mov(?:a|hl?|lh?|msk|nt)ps|v?mov(?:s|up)s|mul[ps]s|rcp[ps]s|r?sqrt[ps]s|shufps|stmxcsr|sub[ps]s|unpck[hl]ps|andn?ps|x?orps|pavg[bw]|pextrw|pminsrw|p(?:max|min)(?:sw|ub)|pmovmskb|pmulhuw|psadbw|pshufw)(?!:)\\b"
|
29
|
-
},
|
30
|
-
{
|
31
|
-
"name": "entity.name.function.sse2",
|
32
|
-
"match": "\\b(?i:clflush|[lm]fence|maskmovdqu|v?movnt(?:dq|i[lw]?|pd)|pause)(?!:)\\b"
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"name": "entity.name.function.sse2_simd",
|
36
|
-
"match": "\\b(?i:v?add[ps][ds]|andn?pd|bzhi[wl]?|cmp[ps]d|u?comisd|cvtdq2p[ds]|cvtt?pd2(?:dq|pi)|cvtpd2ps|cvtp[is]2pd|cvtt?ps2dq|cvtt?sd2s[is]|cvts[is]2sd|div[ps][ds]|v?(?:max|min)[ps][ds]|v?mov[ahlu]pd|v?movmskpd|v?mul[ps]d|x?orpd|shufpd|sqrt[ps]d|sub[ps]d|unpck[hl]pd|unpcklpd|movdq(?:2q|[au])|movq2dq|paddq|psubq|pmuludq|pshuf(?:[hl]w|d)|ps[lr]ldq|punpck[hl]qdq)(?!:)\\b"
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"name": "entity.name.function.sse3",
|
40
|
-
"match": "\\b(?i:lddqu|monitor|mwait)(?!:)\\b"
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"name": "entity.name.function.ssse3_simd",
|
44
|
-
"match": "\\b(?i:addsubp[ds]|haddp[ds]|hsubp[ds]|v?mov(?:d|s[hl])dup|psign[bdw]|pshufb|pmulhrsw|pmaddubsw|phsub(?:s?w|d)|phadd(?:s?w|d)|palignr|pabs[bdw])(?!:)\\b"
|
45
|
-
},
|
46
|
-
{
|
47
|
-
"name": "entity.name.function.sse4_simd",
|
48
|
-
"match": "\\b(?i:v?mpsadbw|phminposuw|pmul(?:ld|dq)|dpp[ds]|blendv?p[ds]|pblendvb|pblendw|pswapd|p(?:max|min)(?:s[bd]|u[wd])|roundp[ds]|rounds[ds]|insertps|pinsr[bwdq]|extractps|pextr[bdq]|pmov[sz]xb[dwq]|pmov[sz]xw[dq]|pmov[sz]xdq|pmov[sz]x|ptest|pcmpeqq|packusdw|v?movntdqa|lzcnt|popcnt|extrq|insertq|movnts[ds]|crc32|pcmp[ei]str[im]|pcmpgtq)(?!:)\\b"
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"name": "entity.name.function.fpu_x87",
|
52
|
-
"match": "\\b(?i:f(?:2xm1|abs|add[psl]?|bld|b?stp|chs|n?clex|fcomp?l|u?comp{0,2}|decstp|n?disi|divr?[psl]?|n?eni|nsetpm|rstpm|free(?:p|\\s*ST)?|iadd[sl]?|icomp?|idivr?[sl]?|ildl?|imul[sl]?|incstp|n?init|ist(?:(?:pl?|l)|tp)?|isubr?[sl]?|ld[1slt]?|ldcw|ldenv[dw]?|ldl2[et]|ldl[gn]2|ldpi|ldz|mul[psl]?|nop|n?stenv[wd]?|n?stsw|pa?tan|prem1?|rndint|rstor[dw]?|n?savew?|scale|sqrt|st(?:p?[slt])|n?stcw|subr?[psl]?|tst|wait|xam|xch|xtract|yl2x(?:p1)?|setpm|cos|saved|sin(?:cos)?|cmovn?b?e?|cmovn?u|u?comip?|xrstor(?:64)?|xsave(?:64)?))(?!:)\\b"
|
53
|
-
},
|
54
|
-
{
|
55
|
-
"name": "entity.name.function.aes_functions",
|
56
|
-
"match": "\\b(?i:v?aes(?:en|de)c(?:last)?|v?aeskeygenassist|aesimc)(?!:)\\b"
|
57
|
-
},
|
58
|
-
{
|
59
|
-
"name": "entity.name.function.sha_functions",
|
60
|
-
"match": "\\b(?i:sha(?:(?:1|256)msg[12]|1nexte|1rnds4|256rnds2))(?!:)\\b"
|
61
|
-
},
|
62
|
-
{
|
63
|
-
"name": "entity.name.function.bmi1",
|
64
|
-
"match": "\\b(?i:andn[lq]?|bextr[lq]?|blsi[lq]?|blsmsk[lq]?|blsr[dlq]?|tzcnt[wlq]?)(?!:)\\b"
|
65
|
-
},
|
66
|
-
{
|
67
|
-
"name": "entity.name.function.bmi2",
|
68
|
-
"match": "\\b(?i:mulx[lq]?|pdep[lq]?|pext[lq]?|rorx[lq]?|s(?:h[lr]|ar)x)(?!:)\\b"
|
69
|
-
},
|
70
|
-
{
|
71
|
-
"name": "entity.name.function.adx",
|
72
|
-
"match": "\\b(?i:ad[co]x)l?(?!:)\\b"
|
73
|
-
},
|
74
|
-
{
|
75
|
-
"name": "entity.name.function.clmul",
|
76
|
-
"match": "\\b(?i:pclmulqdq)(?!:)\\b"
|
77
|
-
},
|
78
|
-
{
|
79
|
-
"name": "entity.name.function.prefetchwt",
|
80
|
-
"match": "\\b(?i:prefetchw(t1)?)(?!:)\\b"
|
81
|
-
},
|
82
|
-
{
|
83
|
-
"name": "entity.name.function.amd3DNow",
|
84
|
-
"match": "\\b(?i:prefetch|femms|pavgusb|pf2id|pfacc|pfadd|pfcmpeq|pfcmpge|pfcmpgt|pfmax|pfmin|pfmul|pfrcp|pfrcpit[12]|pfrsqit1|pfrsqrt|pfsubr?|pi2fd|pmulhrw)\\b"
|
85
|
-
},
|
86
|
-
{
|
87
|
-
"name": "entity.name.function.amdnops",
|
88
|
-
"match": "\\b(?:nop[lwq])"
|
89
|
-
},
|
90
|
-
{
|
91
|
-
"name": "entity.name.function.clflushopt",
|
92
|
-
"match": "\\b(?i:clflushopt)(?!:)\\b"
|
93
|
-
},
|
94
|
-
{
|
95
|
-
"name": "entity.name.function.rdseed",
|
96
|
-
"match": "\\b(?i:rdseed)(?!:)\\b"
|
97
|
-
},
|
98
|
-
{
|
99
|
-
"name": "entity.name.function.mpx",
|
100
|
-
"match": "\\b(?i:bnd(?:c[uln]|mk|stx))(?!:)\\b"
|
101
|
-
},
|
102
|
-
{
|
103
|
-
"name": "entity.name.function.fsgsbase",
|
104
|
-
"match": "\\b(?i:(?:rd|wr)[fg]sbase)(?!:)\\b"
|
105
|
-
},
|
106
|
-
{
|
107
|
-
"name": "entity.name.function.rdrand",
|
108
|
-
"match": "\\b(?i:rdrand)(?!:)\\b"
|
109
|
-
},
|
110
|
-
{
|
111
|
-
"name": "entity.name.function.AVX",
|
112
|
-
"match": "\\b(?i:vadd(?:sub)?p[ds]|vandn?p[ds]|vblendv?p[ds]|vbroadcastf128|vbroadcasts[ds]|vroundp[ds]|vcmp[ps][ds]|vcvtdq2p[ds]|vcvtpd2(?:dq|ps)[xy]?|vcvtps2(?:dq|pd)|vcvttpd2dq[xy]?|vcvttps2dq|vdivp[ds]|vdpps|vextractf128|vh(?:add|sub)p[ds]|vinsertf128|vlddqu|vmovap[ds]|vmovd(?:q[au])?|vmovup[ds]|vmaskmovp[ds]|v(?:max|min)p[ds]|vmov(?:d|s[hl])?dup|vmovmskp[ds]|vmulp[ds]|vx?orp[ds]|vpermilp[ds]|vperm2f128|vrcpps|vrsqrtps|vpxor|vshufp[ds]|vsqrtp[ds]|vmovntp[ds]|vmovntdq|vsubp[ds]|vtestp[ds]|vptest|vunpck[lh]p[ds]|vzero(?:all|upper)|vpcmp[ei]str[im])(?!:)\\b"
|
113
|
-
},
|
114
|
-
{
|
115
|
-
"name": "entity.name.function.AVX2",
|
116
|
-
"match": "\\b(?i:vpabs[bdw]|vpadd[bdqw]|vpaddu?s[bw]|vpalignr|vpandn?|vpavg[bw]|vpblend[dw]|vpblendvb|vpbroadcast[bdqw]|movddup|vbroadcasts[ds]|vbroadcasti128|vps[lr]ldq|vpcmp(?:eq|gt)[bdqw]|vpmovsx(?:wd|wq|dq|bw)|v(?:extract|insert)i128|vperm2i128|vph(?:add|sub)(?:d|s?w)|vpmaskmov[dq]|vpmovmskb|vpor|vpsign[bdw]|vp(?:ext|ins)rq|vphminposuw|vaesimc)(?!:)\\b"
|
117
|
-
},
|
118
|
-
{
|
119
|
-
"name": "entity.name.function.AVX512",
|
120
|
-
"match": "\\b(?i:vpabs[bdqw]|vpandn?[dq]|vpadd[bdwq]|valignq|vpblendm[bdqw]|vbroadcast[if]32x[248]|vbroadcast[if]64x[24]|vpbroadcastm(?:b2q|w2d)|vpcmpu?[bdqw]|vcomis[ds]|vpcompress[dq]|vcompressp[ds]|vpconflict[dq]|vcvtqq2ps[xy]?|vcvtqq2pd|vcvtudq2p[ds]|vcvtuqq2pd|vcvtuqq2ps[xy]|vcvtsi2sd|vcvtsi2ssl?|vcvtt?p[ds]2u?[dq]q|vcvtt?sd2(?:u?si|s[is])|vcvtss2u?si|vcvtss2s[di]|vcvtusi2s[sd]l?|vpmov[sz]x(?:w[dq]|dq|b[wdq])|vpmovu?s?(?:wb|d[wb]|q[wdb])|vcvtts[ds]2u?si|vdbpsadbw|vdiv[ps][ds]|vexp2p[ds]|vpexpand[dq]|vexpandp[ds]|v(?:extract|insert)[fi]32x[48]|v(?:extract|insert)[if]64x[24]|vfixupimm[ps][ds]|vfpclassp[ds][xyz]?|vfpclasss[ds]|vgetexp[ps][ds]|vgetmant[ps][ds]|vp?(?:gather|scatter)[dq](?:ps|[qd]|pd)|kandn?w|kmovw|knotw|k(?:xn?)?orw|kortestw|kunpck(?:bw|dq|wd)|vmovq|vmovdqa(?:32|64)|vmovs[ds]|vmovdqu(?:8|16|32|64)|vplzcnt[dq]|vpmadd(?:wd|52[hl]uq|ubsw)|vp(?:max|min)[su][bdqw]|vpmov[bdqw]2m|vpmovm2[bdqw]|vpmulu?dq|vmulss|vpmulhu?w|vpmulhrsw|vpmull[dqw]|vpmultishiftqb|vpor[dq]|vpack[us]s(?:wb|dw)|vperm[bdqw]|vpermp[ds]|vperm[it]2[bdqw]|vperm[it]2p[ds]|v(?:gather|scatter)pf[01][dq]p[ds]|v(?:range|reduce)[ps][ds]|vrcp(?:14|28)[ps][ds]|vpro[lr]v?[dq]|vrndscale[ps][ds]|vrsqrt(?:14|28)[ps][ds]|vpsadbw|vscalef[ps][ds]|vpxor[dq]|vpshuf[bd]|vshuf[if]32x4|vshuf[if]64x2|vpshuf[hl]w|vpsllv?[wdq]|vsqrts[ds]|vpsr[al]v?[dqw]|vpsub[bdqw]|vsubs[ds]|vpsubu?s[bw]|vpternlog[dq]|vptestn?m[bdqw]|vpunpck[hl](?:wd|q?dq|bw)|vpxord|vucomis[ds]|vcvtpd2udq[xy]|vpclmul[lh]q[lh]qdq)(?!:)\\b"
|
121
|
-
},
|
122
|
-
{
|
123
|
-
"name": "entity.name.function.AVX512BW",
|
124
|
-
"match": "\\b(?i:k(?:andn?|or|xn?or|not|ortest|test|shift[rl]w?|mov[qd]|add)[dq]|cmp(?:eq|le|lt|neq|nle[p]s|nlt|ord|unord)[ps]s)(?!:)\\b"
|
125
|
-
},
|
126
|
-
{
|
127
|
-
"name": "entity.name.function.AVX512DQ",
|
128
|
-
"match": "\\b(?i:k(?:andn?b|orb|xn?orb|notb|ortestb|test[bw]|shift[rl]b|movb|add[bw])[bw])(?!:)\\b"
|
129
|
-
},
|
130
|
-
{
|
131
|
-
"name": "entity.name.function.F16c",
|
132
|
-
"match": "\\b(?i:vcvt(?:ph2ps|ps2ph))(?!:)\\b"
|
133
|
-
},
|
134
|
-
{
|
135
|
-
"name": "entity.name.function.FMA",
|
136
|
-
"match": "\\b(?i:vfn?m(?:(?:add(?:sub)?|sub(?:add)?)(?:(?:132|213|231)?[ps][ds])))(?!:)\\b"
|
137
|
-
},
|
138
|
-
{
|
139
|
-
"name": "entity.name.function.KNC",
|
140
|
-
"match": "\\b(?i:vpandn?[dq]|vpad[cd]d|vaddn?p[ds]|vpaddset[cs]d|vaddsetsps|valignd|vpblendm[dq]|vblendmp[ds]|clevict[01]|vpcmpu?d)(?!:)\\b"
|
141
|
-
},
|
142
|
-
{
|
143
|
-
"name": "entity.name.function.RTM",
|
144
|
-
"match": "\\b(?i:x(?:abort|begin|end|test))(?!:)\\b"
|
145
|
-
},
|
146
|
-
{
|
147
|
-
"name": "entity.name.function.HLE",
|
148
|
-
"match": "\\b(?i:x(?:acquire|release|test))(?!:)\\b"
|
149
|
-
},
|
150
|
-
{
|
151
|
-
"name": "entity.name.function.xsave",
|
152
|
-
"match": "\\b(?i:xsaveopt(?:64)?)(?!:)\\b"
|
153
|
-
},
|
154
|
-
{
|
155
|
-
"name": "entity.name.function.crc32",
|
156
|
-
"match": "\\b(?i:crc32[bwlq])(?!:)\\b"
|
157
|
-
},
|
158
|
-
{
|
159
|
-
"name": "entity.name.function.miscellaneous",
|
160
|
-
"match": "\\b(?i:xstorerng|vmxoff|getsec|vpclmulqdq|movbe|invept|invvpid|vmload|blcfill|v(?:ld|st)mxcsr)(?!:)\\b"
|
161
|
-
},
|
162
|
-
{},
|
163
|
-
{
|
164
|
-
"name": "comment.define",
|
165
|
-
"match": "^\\s*##.*$"
|
166
|
-
},
|
167
|
-
{
|
168
|
-
"name": "variable.parameter.other_keywords",
|
169
|
-
"match": "(?:#(?:alloc|write|execinstr|exclude|tls)|@(?:(?:prog|no)bits|note|(?:(?:pre)?init|fini)_array)|[#@%](?:(?:gnu_indirect_)?function|(?:tls_)?object|common|notype|gnu_unique_object)|comdat|\\.gnu\\.linkonce|discard|one_only|same_(?:size|contents)|STT_(?:(?:GNU_I)?FUNC|OBJECT|TLS|COMMON|NOTYPE))\\b"
|
170
|
-
},
|
171
|
-
{
|
172
|
-
"name": "support.constant.preprocessor",
|
173
|
-
"match": "^\\s*(?\u003c!#)(?:#(?:#(?!#)|(?:un)?assert|define|elif|else|endif|error|ident|(?:ifn?|un)?def|if|import|include(?:_next)?|line|pragma|sccs|warning))\\b"
|
174
|
-
},
|
175
|
-
{
|
176
|
-
"name": "support.constant.preprocessor",
|
177
|
-
"match": "\\b__(?:FILE|LINE|DATE|TIME(?:STAMP)?|STDC_(?:VERSION|HOSTED)?|GNUC(?:_MINOR|_PATCHLEVEL)?|VERSION|STRICT_ANSI|BASE_FILE|INCLUDE_LEVEL|OPTIMIZE(?:_SIZE)?|NO_INLINE|CHAR_UNSIGNED|CHAR_BIT|INT_SHORT|SCHAR_MAX|SHRT_MAX|INT_MAX|LONG_MAX|LONG_LONG_MAX|REGISTER_PREFIX|USER_LABEL_PREFIX)__\\b"
|
178
|
-
},
|
179
|
-
{
|
180
|
-
"name": "support.constant.preprocessor",
|
181
|
-
"match": "^\\s*(?:#\\s+(?:(?:un)?assert|define|elif|else|endif|error|ident|(?:ifn?|un)?def|if|import|include(?:_next)?|line|pragma|sccs|warning)\\b)"
|
182
|
-
},
|
183
|
-
{
|
184
|
-
"name": "comment.assembly",
|
185
|
-
"match": "(?:#|//).*$"
|
186
|
-
},
|
187
|
-
{
|
188
|
-
"name": "comment.multiline",
|
189
|
-
"begin": "\\s*/\\*",
|
190
|
-
"end": "\\*/"
|
191
|
-
},
|
192
|
-
{
|
193
|
-
"name": "comment.slashes",
|
194
|
-
"match": "^[ \\t]*/.*$"
|
195
|
-
},
|
196
|
-
{
|
197
|
-
"name": "label.assembly",
|
198
|
-
"match": "((\\s+|;|^)(([A-Za-z$_.0-9]|C-[BA])+[:]))",
|
199
|
-
"captures": {
|
200
|
-
"3": {
|
201
|
-
"name": "keyword.label.assembly"
|
202
|
-
}
|
203
|
-
}
|
204
|
-
},
|
205
|
-
{
|
206
|
-
"name": "support.constant.alternatives",
|
207
|
-
"match": "\\b(?\u003c!\\.if )([A-Za-z$_.0-9]+)\\s*(==?)\\s*",
|
208
|
-
"captures": {
|
209
|
-
"0": {
|
210
|
-
"name": "variable.parameter.symbol"
|
211
|
-
},
|
212
|
-
"1": {
|
213
|
-
"name": "keyword.operator.assignment"
|
214
|
-
}
|
215
|
-
}
|
216
|
-
},
|
217
|
-
{
|
218
|
-
"name": "constant.numeric.float",
|
219
|
-
"match": "(?\u003c!\\w)(?i)0[DFT][+-]?(?:\\d+(?:\\.\\d*)|\\.\\d+)(?:e[+-]?[0-9]+)?"
|
220
|
-
},
|
221
|
-
{
|
222
|
-
"name": "constant.other.float",
|
223
|
-
"match": "(?\u003c!\\w)[$](?i)0[DFT][+-]?(?:\\d+(?:\\.\\d*)|\\.\\d+)(?:e[+-]?[0-9]+)?"
|
224
|
-
},
|
225
|
-
{
|
226
|
-
"name": "constant.numeric.hex",
|
227
|
-
"match": "(?\u003c!\\w)[-+~]?(?i)(?:0x)[A-F0-9]+\\b"
|
228
|
-
},
|
229
|
-
{
|
230
|
-
"name": "constant.other.hex",
|
231
|
-
"match": "(?\u003c!\\w)[$][-+~]?(?i)(?:0x)[A-F0-9]+\\b"
|
232
|
-
},
|
233
|
-
{
|
234
|
-
"name": "constant.numeric.binary",
|
235
|
-
"match": "(?\u003c!\\w)[-+~]?(?:0[Bb])[01]+\\b"
|
236
|
-
},
|
237
|
-
{
|
238
|
-
"name": "constant.other.binary",
|
239
|
-
"match": "(?\u003c!\\w)[$][-+~]?(?:0[Bb])[01]+\\b"
|
240
|
-
},
|
241
|
-
{
|
242
|
-
"name": "constant.numeric.octal",
|
243
|
-
"match": "(?\u003c!\\w)[-+~]?0[0-7]*\\b"
|
244
|
-
},
|
245
|
-
{
|
246
|
-
"name": "constant.other.octal",
|
247
|
-
"match": "(?\u003c!\\w)[$][-+~]?0[0-7]*\\b"
|
248
|
-
},
|
249
|
-
{
|
250
|
-
"name": "constant.numeric.decimal",
|
251
|
-
"match": "(?\u003c!\\w)[-+~]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:e[+-]?[0-9]+)?(?=[-\\s,;\u003c\u003e/+~$%(?:)]|$)"
|
252
|
-
},
|
253
|
-
{
|
254
|
-
"name": "constant.other.decimal",
|
255
|
-
"match": "(?\u003c!\\w)[$][-+~]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:e[+-]?[0-9]+)?(?=[-\\s,;\u003c\u003e/+~$%(?:){}]|$)"
|
256
|
-
},
|
257
|
-
{
|
258
|
-
"name": "constant.character",
|
259
|
-
"match": "(?\u003c!\\w)[$]?(?i)'(?:[!-\\[\\]-~]|\\\\(?:[\\\\bfnrt]|x[0-9a-f]{1,2}|[0-9]{3}))(?!')"
|
260
|
-
},
|
261
|
-
{
|
262
|
-
"name": "string.quoted",
|
263
|
-
"match": "(?:\".*?(?:[^\\\\](?:[\\\\][\\\\])*)\"|\u003c.*?(?:[^\\\\](?:[\\\\][\\\\])*)\u003e)"
|
264
|
-
},
|
265
|
-
{
|
266
|
-
"name": "variable.parameter.registers",
|
267
|
-
"match": "%\\s*(?i:[er]?[a-d]x|[a-d][lh]|[re]?s[ip]|s[ip]l|[re]?di|dil|[re]?bp|bpl|[c-gs]s|[re]?ip|e?flags|db(?:[0236-9]|1[0-5]?)|tr[0267]?|st(?!\\(?:(?:[89]|\\d{2,})\\))|esp[0-2]|[xy]?mm(?:[02-9]|1[0-5]?)|zmm(?:[4-9]|[12][0-9]?|3[10]?)|xmcrt|[gli]dtr|[cd]r(?:[02-9]|1[0-5]?)|msr|r(?:[89]|1[0-5])[dwb]?|[cst]w|fp_(?:[id]p|[cd]s|opc)|mxcsr|msw)\\b"
|
268
|
-
},
|
269
|
-
{
|
270
|
-
"name": "variable.parameter.opmaskregs",
|
271
|
-
"match": "%\\s*(?:k[0-7])\\b"
|
272
|
-
},
|
273
|
-
{
|
274
|
-
"name": "invalid.weirdland.eiz",
|
275
|
-
"match": "%\\s*[er]iz\\b"
|
276
|
-
},
|
277
|
-
{
|
278
|
-
"name": "invalid.instructions",
|
279
|
-
"match": "\\b(?i:movz(?:lq)?)\\b"
|
280
|
-
},
|
281
|
-
{
|
282
|
-
"name": "invalid.directives",
|
283
|
-
"match": "(?\u003c!\\w)\\.(?i:abort|line|ln|loc_mark_blocks|intel_syntax(?:\\s*(?:no)?prefix)?|att_syntax\\s*noprefix)\\b"
|
284
|
-
},
|
285
|
-
{
|
286
|
-
"name": "support.constant.subsections",
|
287
|
-
"match": "(?\u003c!\\w)(?i:\\.(?:allow_index_reg|app-file|asci[iz]|b?align|bundle_(?:align_mode|(?:un)?lock)|bss|[248]?byte|cfi_(?:sections|startproc|endproc|personality|lsda|def_cfa|def_cfa_register|def_cfa_offset|adjust_cfa_offset|offset|rel_offset|register|restore|undefined|same_value|remember_state|return_column|signal_frame|window_save|escape|val_encoded_addr)|code(?:16(?:gcc)?|32|64)|data|dc(?:\\.[abdlswx])?|dcb(?:\\.[bdlswx])?|ds(?:\\.[bdlpswx])?|def|desc|dim|double|eject|else(?:if)?|end(?:[ei]f|func|[mr])?|exitm|equ(?:iv)?|eqv|err(?:or)?|extern|fail|file|fill|t?float|func|globa?l|gnu_attribute|hidden|hword|ident|if(?:def|eqs?|[gl][et]|n?[bc]|n(?:ot)?def|nes?)?|incbin|include|int(?:ernal)?|irpc?|l?comm|lflags|linkonce|loc(?:_mark_labels|al)?|mri|(?:no)?list|long|macro|(?:no)?altmacro|nops|octa|offset|operand_check|org|p2align[wl]?|(?:pop|push)?section|previous|print|protected|p?size|purgem|quad|reloc|rept|sbttl|scl|set|secrel32|short|single|skip|sleb128|space|sse_check|stab[dns]|string(?:8|16|32|64)?|struct|subsection|symver|tag|text|title|type|uleb128|val(?:ue)?|version|vtable_(?:entry|inherit)|warning|weak(?:ref)?|word|zero|att_syntax(?:\\s*prefix)?)\\b)|(?:LOCAL\\b)"
|
288
|
-
},
|
289
|
-
{
|
290
|
-
"name": "support.constant.arch_specification",
|
291
|
-
"match": "(?\u003c!\\w)\\.(?i:(arch) (i8086|i[1-6]86|pentium(pro|iii?|4)?|prescott|nocona|core(2|i7)?|[lk]1om|k6(_2)?|athlon|k8|amdfam10|bdver[1-3]|btver[12]|generic(32|64)|.(8087|[32]87|mmx|sse([235]|4(\\.[12]|a)?)?|ssse3|avx[2]?|[vs]mx|ept|clflush|movbe|xsave(opt)?|aes|pclmul|fma|fsgsbase|rdrnd|f16c|bmi2|lzcnt|invpcid|vmfunc|hle|rtm|adx|rdseed|prfchw|smap|mpx|sha|3dnowa?|syscall|rdtscp|svme|abm|lwp|fma4|xop|cx16|padlock|avx512(p?f|cd|er)?)))(,\\s*(no)?jumps)?",
|
292
|
-
"captures": {
|
293
|
-
"2": {
|
294
|
-
"name": "keyword.arch"
|
295
|
-
}
|
296
|
-
}
|
297
|
-
}
|
298
|
-
]
|
299
|
-
}
|
1
|
+
{"name":"GAS/AT\u0026T x86/x64","scopeName":"source.x86","patterns":[{"name":"entity.name.function.instructions","match":"\\b(?i:aa[adms]|adc[bwlq]?|x?add[bwlq]?|and[bwlq]?|arpl|bound[wl]?|bs[fr][wlq]?|bswap[lq]?|bt[crs]?[wlq]?|call[wlq]?|clc|cld|cli|cltd[dqw]?|clts|cmc|cmov(?:n?[abgl]e?|n?[ceosz]|np|p[eo]?)?[lqw]?|cmp[bwlq]?|cmps[bwdlq]?|cmpxchg[bwlq]?|cmpxchg(?:8|16)b|cpuid|c[lw]td[bwlq]?|daa|das|dec[bwlq]?|div[bwlq]?|enter[wl]?|esc|hlt|idiv[bwlq]?|imul[bwlq]?|in[bwlq]?|inc[bwlq]?|insd?[bwlq]?|int(?:\\s*3|o)?|inv(?:d|pcid)?|invlpg|iret[dfwq]?|j(?:n?[abgl]e?|n?[ceosz]|np|p[eo]?)|jmp[lq]?|j[er]?cxz|[ls]ahf|lar|lcall[wlq]?|l[d-gs]s[wl]|lea[bwlq]?|leave[lwq]?|l[defgs]s|[ls][gil]dt[wl]?|ljmp[wl]?|lmsw|loadall|lods[bwdlq]?|loop(?:n?[ez][dw]?)?|loopw|lret|lsl|ltr|mov(?:(s?(?:b[lwq]?|w[lq]?|lq?|q)?)|(?:z?(?:b[lwq]|w[lq]|l|q)))?|movd|movabs[bwlq]?A?|movs(?:x?d|w)|mov[sz]x[bwl]?|movzb|mul[bwlq]?|neg[bwlq]?|nop|not[bwlq]?|x?or[bwlq]?|out[bwlq]?|outs[bdwl]?|pop[bwlq]?|popal?|pop[af]d|popf[wlq]?|push[bwlq]?|pushal?|push[af]d|pushf[wlq]?|rc[lr][bwlq]?|(?:rd|wr)msr|rdtscp?|ret[fw]?[ql]?|ro[lr][bwlq]?|rsm|sa[lr][bwlq]?|sbb[bwlq]?|scas[bwdlq]?|set(?:n?[abgl]e?|n?[ceosz]|np|p[eo]?)b?|sh[lr]d?[bwlq]?|smsw|stc|std|sti|stos[bdqlw]?|str|sub[bwlq]?|swapgs|syscall|sysret|sysenter|sysexit|test[bwlq]?|ud1|ud2[ab]?|ver[rw]|fwait|wbinvd|xchg[bwlq]?A?|x[gs]etbv|xlatb?|xsave[cs]?(?:64)?|xrstors?(?:64)?)(?!:)\\b"},{"name":"entity.name.function.conversion.instructions","match":"\\b(?i:cbw|cdqe?|cwde?|cdo|cqo|cbtw|cwt[ld]|clt[dq]|cqto)(?!:)\\b"},{"name":"keyword.name.function.prefixes","match":"\\b(?i:rep(?:n?[ez])?|[c-gs]s|(?:addr|data)(?:16|32)|lock|wait|rex(?:64(?:xyz)?)?)(?!:)\\b"},{},{"name":"entity.name.function.mmx_instructions","match":"\\b(?i:emms|movdq|mov[dq]b|pack(?:ssdw|[us]swb)|padd(?:[bdw]|u?s[bw])|pandn?|pcmp(?:eq|gt)[bdw]|pmaddwd|pmul[hl]w|psll[dqw]|psr(?:a[dw]|l[dqw])|psub(?:[bdw]|u?s[bw])|punpck[hl](?:bw|dq|wd)|px?or|rdpmc)(?!:)\\b"},{"name":"entity.name.function.sse","match":"\\b(?i:maskmovq|movntps|movntq|prefetcht[012]|prefetchnta|sfence)(?!:)\\b"},{"name":"entity.name.function.sse_simd","match":"\\b(?i:add[sp]s|cmp[ps]s|u?comiss|cvt(?:p(?:i2ps|s2pi)|s(?:i2ss|s2sd)q?|t(?:ps2pi|s[sd]2siq?))|div[ps]s|ldmxcsr|(?:max|min)[ps]s|mov(?:a|hl?|lh?|msk|nt)ps|v?mov(?:s|up)s|mul[ps]s|rcp[ps]s|r?sqrt[ps]s|shufps|stmxcsr|sub[ps]s|unpck[hl]ps|andn?ps|x?orps|pavg[bw]|pextrw|pminsrw|p(?:max|min)(?:sw|ub)|pmovmskb|pmulhuw|psadbw|pshufw)(?!:)\\b"},{"name":"entity.name.function.sse2","match":"\\b(?i:clflush|[lm]fence|maskmovdqu|v?movnt(?:dq|i[lw]?|pd)|pause)(?!:)\\b"},{"name":"entity.name.function.sse2_simd","match":"\\b(?i:v?add[ps][ds]|andn?pd|bzhi[wl]?|cmp[ps]d|u?comisd|cvtdq2p[ds]|cvtt?pd2(?:dq|pi)|cvtpd2ps|cvtp[is]2pd|cvtt?ps2dq|cvtt?sd2s[is]|cvts[is]2sd|div[ps][ds]|v?(?:max|min)[ps][ds]|v?mov[ahlu]pd|v?movmskpd|v?mul[ps]d|x?orpd|shufpd|sqrt[ps]d|sub[ps]d|unpck[hl]pd|unpcklpd|movdq(?:2q|[au])|movq2dq|paddq|psubq|pmuludq|pshuf(?:[hl]w|d)|ps[lr]ldq|punpck[hl]qdq)(?!:)\\b"},{"name":"entity.name.function.sse3","match":"\\b(?i:lddqu|monitor|mwait)(?!:)\\b"},{"name":"entity.name.function.ssse3_simd","match":"\\b(?i:addsubp[ds]|haddp[ds]|hsubp[ds]|v?mov(?:d|s[hl])dup|psign[bdw]|pshufb|pmulhrsw|pmaddubsw|phsub(?:s?w|d)|phadd(?:s?w|d)|palignr|pabs[bdw])(?!:)\\b"},{"name":"entity.name.function.sse4_simd","match":"\\b(?i:v?mpsadbw|phminposuw|pmul(?:ld|dq)|dpp[ds]|blendv?p[ds]|pblendvb|pblendw|pswapd|p(?:max|min)(?:s[bd]|u[wd])|roundp[ds]|rounds[ds]|insertps|pinsr[bwdq]|extractps|pextr[bdq]|pmov[sz]xb[dwq]|pmov[sz]xw[dq]|pmov[sz]xdq|pmov[sz]x|ptest|pcmpeqq|packusdw|v?movntdqa|lzcnt|popcnt|extrq|insertq|movnts[ds]|crc32|pcmp[ei]str[im]|pcmpgtq)(?!:)\\b"},{"name":"entity.name.function.fpu_x87","match":"\\b(?i:f(?:2xm1|abs|add[psl]?|bld|b?stp|chs|n?clex|fcomp?l|u?comp{0,2}|decstp|n?disi|divr?[psl]?|n?eni|nsetpm|rstpm|free(?:p|\\s*ST)?|iadd[sl]?|icomp?|idivr?[sl]?|ildl?|imul[sl]?|incstp|n?init|ist(?:(?:pl?|l)|tp)?|isubr?[sl]?|ld[1slt]?|ldcw|ldenv[dw]?|ldl2[et]|ldl[gn]2|ldpi|ldz|mul[psl]?|nop|n?stenv[wd]?|n?stsw|pa?tan|prem1?|rndint|rstor[dw]?|n?savew?|scale|sqrt|st(?:p?[slt])|n?stcw|subr?[psl]?|tst|wait|xam|xch|xtract|yl2x(?:p1)?|setpm|cos|saved|sin(?:cos)?|cmovn?b?e?|cmovn?u|u?comip?|xrstor(?:64)?|xsave(?:64)?))(?!:)\\b"},{"name":"entity.name.function.aes_functions","match":"\\b(?i:v?aes(?:en|de)c(?:last)?|v?aeskeygenassist|aesimc)(?!:)\\b"},{"name":"entity.name.function.sha_functions","match":"\\b(?i:sha(?:(?:1|256)msg[12]|1nexte|1rnds4|256rnds2))(?!:)\\b"},{"name":"entity.name.function.bmi1","match":"\\b(?i:andn[lq]?|bextr[lq]?|blsi[lq]?|blsmsk[lq]?|blsr[dlq]?|tzcnt[wlq]?)(?!:)\\b"},{"name":"entity.name.function.bmi2","match":"\\b(?i:mulx[lq]?|pdep[lq]?|pext[lq]?|rorx[lq]?|s(?:h[lr]|ar)x)(?!:)\\b"},{"name":"entity.name.function.adx","match":"\\b(?i:ad[co]x)l?(?!:)\\b"},{"name":"entity.name.function.clmul","match":"\\b(?i:pclmulqdq)(?!:)\\b"},{"name":"entity.name.function.prefetchwt","match":"\\b(?i:prefetchw(t1)?)(?!:)\\b"},{"name":"entity.name.function.amd3DNow","match":"\\b(?i:prefetch|femms|pavgusb|pf2id|pfacc|pfadd|pfcmpeq|pfcmpge|pfcmpgt|pfmax|pfmin|pfmul|pfrcp|pfrcpit[12]|pfrsqit1|pfrsqrt|pfsubr?|pi2fd|pmulhrw)\\b"},{"name":"entity.name.function.amdnops","match":"\\b(?:nop[lwq])"},{"name":"entity.name.function.clflushopt","match":"\\b(?i:clflushopt)(?!:)\\b"},{"name":"entity.name.function.rdseed","match":"\\b(?i:rdseed)(?!:)\\b"},{"name":"entity.name.function.mpx","match":"\\b(?i:bnd(?:c[uln]|mk|stx))(?!:)\\b"},{"name":"entity.name.function.fsgsbase","match":"\\b(?i:(?:rd|wr)[fg]sbase)(?!:)\\b"},{"name":"entity.name.function.rdrand","match":"\\b(?i:rdrand)(?!:)\\b"},{"name":"entity.name.function.AVX","match":"\\b(?i:vadd(?:sub)?p[ds]|vandn?p[ds]|vblendv?p[ds]|vbroadcastf128|vbroadcasts[ds]|vroundp[ds]|vcmp[ps][ds]|vcvtdq2p[ds]|vcvtpd2(?:dq|ps)[xy]?|vcvtps2(?:dq|pd)|vcvttpd2dq[xy]?|vcvttps2dq|vdivp[ds]|vdpps|vextractf128|vh(?:add|sub)p[ds]|vinsertf128|vlddqu|vmovap[ds]|vmovd(?:q[au])?|vmovup[ds]|vmaskmovp[ds]|v(?:max|min)p[ds]|vmov(?:d|s[hl])?dup|vmovmskp[ds]|vmulp[ds]|vx?orp[ds]|vpermilp[ds]|vperm2f128|vrcpps|vrsqrtps|vpxor|vshufp[ds]|vsqrtp[ds]|vmovntp[ds]|vmovntdq|vsubp[ds]|vtestp[ds]|vptest|vunpck[lh]p[ds]|vzero(?:all|upper)|vpcmp[ei]str[im])(?!:)\\b"},{"name":"entity.name.function.AVX2","match":"\\b(?i:vpabs[bdw]|vpadd[bdqw]|vpaddu?s[bw]|vpalignr|vpandn?|vpavg[bw]|vpblend[dw]|vpblendvb|vpbroadcast[bdqw]|movddup|vbroadcasts[ds]|vbroadcasti128|vps[lr]ldq|vpcmp(?:eq|gt)[bdqw]|vpmovsx(?:wd|wq|dq|bw)|v(?:extract|insert)i128|vperm2i128|vph(?:add|sub)(?:d|s?w)|vpmaskmov[dq]|vpmovmskb|vpor|vpsign[bdw]|vp(?:ext|ins)rq|vphminposuw|vaesimc)(?!:)\\b"},{"name":"entity.name.function.AVX512","match":"\\b(?i:vpabs[bdqw]|vpandn?[dq]|vpadd[bdwq]|valignq|vpblendm[bdqw]|vbroadcast[if]32x[248]|vbroadcast[if]64x[24]|vpbroadcastm(?:b2q|w2d)|vpcmpu?[bdqw]|vcomis[ds]|vpcompress[dq]|vcompressp[ds]|vpconflict[dq]|vcvtqq2ps[xy]?|vcvtqq2pd|vcvtudq2p[ds]|vcvtuqq2pd|vcvtuqq2ps[xy]|vcvtsi2sd|vcvtsi2ssl?|vcvtt?p[ds]2u?[dq]q|vcvtt?sd2(?:u?si|s[is])|vcvtss2u?si|vcvtss2s[di]|vcvtusi2s[sd]l?|vpmov[sz]x(?:w[dq]|dq|b[wdq])|vpmovu?s?(?:wb|d[wb]|q[wdb])|vcvtts[ds]2u?si|vdbpsadbw|vdiv[ps][ds]|vexp2p[ds]|vpexpand[dq]|vexpandp[ds]|v(?:extract|insert)[fi]32x[48]|v(?:extract|insert)[if]64x[24]|vfixupimm[ps][ds]|vfpclassp[ds][xyz]?|vfpclasss[ds]|vgetexp[ps][ds]|vgetmant[ps][ds]|vp?(?:gather|scatter)[dq](?:ps|[qd]|pd)|kandn?w|kmovw|knotw|k(?:xn?)?orw|kortestw|kunpck(?:bw|dq|wd)|vmovq|vmovdqa(?:32|64)|vmovs[ds]|vmovdqu(?:8|16|32|64)|vplzcnt[dq]|vpmadd(?:wd|52[hl]uq|ubsw)|vp(?:max|min)[su][bdqw]|vpmov[bdqw]2m|vpmovm2[bdqw]|vpmulu?dq|vmulss|vpmulhu?w|vpmulhrsw|vpmull[dqw]|vpmultishiftqb|vpor[dq]|vpack[us]s(?:wb|dw)|vperm[bdqw]|vpermp[ds]|vperm[it]2[bdqw]|vperm[it]2p[ds]|v(?:gather|scatter)pf[01][dq]p[ds]|v(?:range|reduce)[ps][ds]|vrcp(?:14|28)[ps][ds]|vpro[lr]v?[dq]|vrndscale[ps][ds]|vrsqrt(?:14|28)[ps][ds]|vpsadbw|vscalef[ps][ds]|vpxor[dq]|vpshuf[bd]|vshuf[if]32x4|vshuf[if]64x2|vpshuf[hl]w|vpsllv?[wdq]|vsqrts[ds]|vpsr[al]v?[dqw]|vpsub[bdqw]|vsubs[ds]|vpsubu?s[bw]|vpternlog[dq]|vptestn?m[bdqw]|vpunpck[hl](?:wd|q?dq|bw)|vpxord|vucomis[ds]|vcvtpd2udq[xy]|vpclmul[lh]q[lh]qdq)(?!:)\\b"},{"name":"entity.name.function.AVX512BW","match":"\\b(?i:k(?:andn?|or|xn?or|not|ortest|test|shift[rl]w?|mov[qd]|add)[dq]|cmp(?:eq|le|lt|neq|nle[p]s|nlt|ord|unord)[ps]s)(?!:)\\b"},{"name":"entity.name.function.AVX512DQ","match":"\\b(?i:k(?:andn?b|orb|xn?orb|notb|ortestb|test[bw]|shift[rl]b|movb|add[bw])[bw])(?!:)\\b"},{"name":"entity.name.function.F16c","match":"\\b(?i:vcvt(?:ph2ps|ps2ph))(?!:)\\b"},{"name":"entity.name.function.FMA","match":"\\b(?i:vfn?m(?:(?:add(?:sub)?|sub(?:add)?)(?:(?:132|213|231)?[ps][ds])))(?!:)\\b"},{"name":"entity.name.function.KNC","match":"\\b(?i:vpandn?[dq]|vpad[cd]d|vaddn?p[ds]|vpaddset[cs]d|vaddsetsps|valignd|vpblendm[dq]|vblendmp[ds]|clevict[01]|vpcmpu?d)(?!:)\\b"},{"name":"entity.name.function.RTM","match":"\\b(?i:x(?:abort|begin|end|test))(?!:)\\b"},{"name":"entity.name.function.HLE","match":"\\b(?i:x(?:acquire|release|test))(?!:)\\b"},{"name":"entity.name.function.xsave","match":"\\b(?i:xsaveopt(?:64)?)(?!:)\\b"},{"name":"entity.name.function.crc32","match":"\\b(?i:crc32[bwlq])(?!:)\\b"},{"name":"entity.name.function.miscellaneous","match":"\\b(?i:xstorerng|vmxoff|getsec|vpclmulqdq|movbe|invept|invvpid|vmload|blcfill|v(?:ld|st)mxcsr)(?!:)\\b"},{},{"name":"comment.define","match":"^\\s*##.*$"},{"name":"variable.parameter.other_keywords","match":"(?:#(?:alloc|write|execinstr|exclude|tls)|@(?:(?:prog|no)bits|note|(?:(?:pre)?init|fini)_array)|[#@%](?:(?:gnu_indirect_)?function|(?:tls_)?object|common|notype|gnu_unique_object)|comdat|\\.gnu\\.linkonce|discard|one_only|same_(?:size|contents)|STT_(?:(?:GNU_I)?FUNC|OBJECT|TLS|COMMON|NOTYPE))\\b"},{"name":"support.constant.preprocessor","match":"^\\s*(?\u003c!#)(?:#(?:#(?!#)|(?:un)?assert|define|elif|else|endif|error|ident|(?:ifn?|un)?def|if|import|include(?:_next)?|line|pragma|sccs|warning))\\b"},{"name":"support.constant.preprocessor","match":"\\b__(?:FILE|LINE|DATE|TIME(?:STAMP)?|STDC_(?:VERSION|HOSTED)?|GNUC(?:_MINOR|_PATCHLEVEL)?|VERSION|STRICT_ANSI|BASE_FILE|INCLUDE_LEVEL|OPTIMIZE(?:_SIZE)?|NO_INLINE|CHAR_UNSIGNED|CHAR_BIT|INT_SHORT|SCHAR_MAX|SHRT_MAX|INT_MAX|LONG_MAX|LONG_LONG_MAX|REGISTER_PREFIX|USER_LABEL_PREFIX)__\\b"},{"name":"support.constant.preprocessor","match":"^\\s*(?:#\\s+(?:(?:un)?assert|define|elif|else|endif|error|ident|(?:ifn?|un)?def|if|import|include(?:_next)?|line|pragma|sccs|warning)\\b)"},{"name":"comment.assembly","match":"(?:#|//).*$"},{"name":"comment.multiline","begin":"\\s*/\\*","end":"\\*/"},{"name":"comment.slashes","match":"^[ \\t]*/.*$"},{"name":"label.assembly","match":"((\\s+|;|^)(([A-Za-z$_.0-9]|C-[BA])+[:]))","captures":{"3":{"name":"keyword.label.assembly"}}},{"name":"support.constant.alternatives","match":"\\b(?\u003c!\\.if )([A-Za-z$_.0-9]+)\\s*(==?)\\s*","captures":{"0":{"name":"variable.parameter.symbol"},"1":{"name":"keyword.operator.assignment"}}},{"name":"constant.numeric.float","match":"(?\u003c!\\w)(?i)0[DFT][+-]?(?:\\d+(?:\\.\\d*)|\\.\\d+)(?:e[+-]?[0-9]+)?"},{"name":"constant.other.float","match":"(?\u003c!\\w)[$](?i)0[DFT][+-]?(?:\\d+(?:\\.\\d*)|\\.\\d+)(?:e[+-]?[0-9]+)?"},{"name":"constant.numeric.hex","match":"(?\u003c!\\w)[-+~]?(?i)(?:0x)[A-F0-9]+\\b"},{"name":"constant.other.hex","match":"(?\u003c!\\w)[$][-+~]?(?i)(?:0x)[A-F0-9]+\\b"},{"name":"constant.numeric.binary","match":"(?\u003c!\\w)[-+~]?(?:0[Bb])[01]+\\b"},{"name":"constant.other.binary","match":"(?\u003c!\\w)[$][-+~]?(?:0[Bb])[01]+\\b"},{"name":"constant.numeric.octal","match":"(?\u003c!\\w)[-+~]?0[0-7]*\\b"},{"name":"constant.other.octal","match":"(?\u003c!\\w)[$][-+~]?0[0-7]*\\b"},{"name":"constant.numeric.decimal","match":"(?\u003c!\\w)[-+~]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:e[+-]?[0-9]+)?(?=[-\\s,;\u003c\u003e/+~$%(?:)]|$)"},{"name":"constant.other.decimal","match":"(?\u003c!\\w)[$][-+~]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:e[+-]?[0-9]+)?(?=[-\\s,;\u003c\u003e/+~$%(?:){}]|$)"},{"name":"constant.character","match":"(?\u003c!\\w)[$]?(?i)'(?:[!-\\[\\]-~]|\\\\(?:[\\\\bfnrt]|x[0-9a-f]{1,2}|[0-9]{3}))(?!')"},{"name":"string.quoted","match":"(?:\".*?(?:[^\\\\](?:[\\\\][\\\\])*)\"|\u003c.*?(?:[^\\\\](?:[\\\\][\\\\])*)\u003e)"},{"name":"variable.parameter.registers","match":"%\\s*(?i:[er]?[a-d]x|[a-d][lh]|[re]?s[ip]|s[ip]l|[re]?di|dil|[re]?bp|bpl|[c-gs]s|[re]?ip|e?flags|db(?:[0236-9]|1[0-5]?)|tr[0267]?|st(?!\\(?:(?:[89]|\\d{2,})\\))|esp[0-2]|[xy]?mm(?:[02-9]|1[0-5]?)|zmm(?:[4-9]|[12][0-9]?|3[10]?)|xmcrt|[gli]dtr|[cd]r(?:[02-9]|1[0-5]?)|msr|r(?:[89]|1[0-5])[dwb]?|[cst]w|fp_(?:[id]p|[cd]s|opc)|mxcsr|msw)\\b"},{"name":"variable.parameter.opmaskregs","match":"%\\s*(?:k[0-7])\\b"},{"name":"invalid.weirdland.eiz","match":"%\\s*[er]iz\\b"},{"name":"invalid.instructions","match":"\\b(?i:movz(?:lq)?)\\b"},{"name":"invalid.directives","match":"(?\u003c!\\w)\\.(?i:abort|line|ln|loc_mark_blocks|intel_syntax(?:\\s*(?:no)?prefix)?|att_syntax\\s*noprefix)\\b"},{"name":"support.constant.subsections","match":"(?\u003c!\\w)(?i:\\.(?:allow_index_reg|app-file|asci[iz]|b?align|bundle_(?:align_mode|(?:un)?lock)|bss|[248]?byte|cfi_(?:sections|startproc|endproc|personality|lsda|def_cfa|def_cfa_register|def_cfa_offset|adjust_cfa_offset|offset|rel_offset|register|restore|undefined|same_value|remember_state|return_column|signal_frame|window_save|escape|val_encoded_addr)|code(?:16(?:gcc)?|32|64)|data|dc(?:\\.[abdlswx])?|dcb(?:\\.[bdlswx])?|ds(?:\\.[bdlpswx])?|def|desc|dim|double|eject|else(?:if)?|end(?:[ei]f|func|[mr])?|exitm|equ(?:iv)?|eqv|err(?:or)?|extern|fail|file|fill|t?float|func|globa?l|gnu_attribute|hidden|hword|ident|if(?:def|eqs?|[gl][et]|n?[bc]|n(?:ot)?def|nes?)?|incbin|include|int(?:ernal)?|irpc?|l?comm|lflags|linkonce|loc(?:_mark_labels|al)?|mri|(?:no)?list|long|macro|(?:no)?altmacro|nops|octa|offset|operand_check|org|p2align[wl]?|(?:pop|push)?section|previous|print|protected|p?size|purgem|quad|reloc|rept|sbttl|scl|set|secrel32|short|single|skip|sleb128|space|sse_check|stab[dns]|string(?:8|16|32|64)?|struct|subsection|symver|tag|text|title|type|uleb128|val(?:ue)?|version|vtable_(?:entry|inherit)|warning|weak(?:ref)?|word|zero|att_syntax(?:\\s*prefix)?)\\b)|(?:LOCAL\\b)"},{"name":"support.constant.arch_specification","match":"(?\u003c!\\w)\\.(?i:(arch) (i8086|i[1-6]86|pentium(pro|iii?|4)?|prescott|nocona|core(2|i7)?|[lk]1om|k6(_2)?|athlon|k8|amdfam10|bdver[1-3]|btver[12]|generic(32|64)|.(8087|[32]87|mmx|sse([235]|4(\\.[12]|a)?)?|ssse3|avx[2]?|[vs]mx|ept|clflush|movbe|xsave(opt)?|aes|pclmul|fma|fsgsbase|rdrnd|f16c|bmi2|lzcnt|invpcid|vmfunc|hle|rtm|adx|rdseed|prfchw|smap|mpx|sha|3dnowa?|syscall|rdtscp|svme|abm|lwp|fma4|xop|cx16|padlock|avx512(p?f|cd|er)?)))(,\\s*(no)?jumps)?","captures":{"2":{"name":"keyword.arch"}}}]}
|
data/grammars/source.x86asm.json
CHANGED
@@ -1,42 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "Assembly (x86)",
|
3
|
-
"scopeName": "source.x86asm",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"name": "variable.registers.x86.assembly",
|
7
|
-
"match": "(?i)(?x)(\\s*)%?\\b(?:\n\t\t\t# main registers\n\t\t\tax|ah|al|eax|rax|bx|bh|bl|ebx|rbx|cx|ch|cl|ecx|rcx|dx|dh|dl|edx|rdx|si|esi|rsi|di|edi|rdi|sp|esp|rsp|bp|ebp|rbp|ip|eip|rip|\n\t\t\t# new 64-bit registers\n\t\t\tr(?:[8-9]|(?:1[0-5]))d?|\n\t\t\t# segment pointers\n\t\t\tcs|ds|ss|es|fs|gs|\n\t\t\t# MMX\n\t\t\tmm[0-7]+|\n\t\t\t# SSE/AVX\n\t\t\t[xy]mm[0-9]+\n\t\t)\\b"
|
8
|
-
},
|
9
|
-
{
|
10
|
-
"name": "keyword.x86.assembly",
|
11
|
-
"match": "(?i)(?x)(\\s*)\\b(?:aaa|aad|aam|aas|adc|adcb|adcl|adcq|adcw|add|addb|addl|addq|addw|and|andb|andl|andn|andnl|andnq|andq|andw|arpl|arplw|bextr|bextrl|bextrq|blcfill|blcfilll|blcfillq|blci|blcic|blcicl|blcicq|blcil|blciq|blcmsk|blcmskl|blcmskq|blcs|blcsl|blcsq|blsfill|blsfilll|blsfillq|blsi|blsic|blsicl|blsicq|blsil|blsiq|blsmsk|blsmskl|blsmskq|blsr|blsrl|blsrq|bound|boundl|boundw|bsf|bsfl|bsfq|bsfw|bsr|bsrl|bsrq|bsrw|bswap|bswapl|bswapq|bt|btc|btcl|btcq|btcw|btl|btq|btr|btrl|btrq|btrw|bts|btsl|btsq|btsw|btw|bzhi|bzhil|bzhiq|call|calll|callld|callq|callw|cbtw|cbw|cdq|cdqe|clc|cld|clflush|clgi|cli|clr|clrb|clrl|clrq|clrw|cltd|cltq|clts|cmc|cmova|cmovae|cmovael|cmovaeq|cmovaew|cmoval|cmovaq|cmovaw|cmovb|cmovbe|cmovbel|cmovbeq|cmovbew|cmovbl|cmovbq|cmovbw|cmovc|cmovcl|cmovcq|cmovcw|cmove|cmovel|cmoveq|cmovew|cmovg|cmovge|cmovgel|cmovgeq|cmovgew|cmovgl|cmovgq|cmovgw|cmovl|cmovle|cmovlel|cmovleq|cmovlew|cmovll|cmovlq|cmovlw|cmovna|cmovnae|cmovnael|cmovnaeq|cmovnaew|cmovnal|cmovnaq|cmovnaw|cmovnb|cmovnbe|cmovnbel|cmovnbeq|cmovnbew|cmovnbl|cmovnbq|cmovnbw|cmovnc|cmovncl|cmovncq|cmovncw|cmovne|cmovnel|cmovneq|cmovnew|cmovng|cmovnge|cmovngel|cmovngeq|cmovngew|cmovngl|cmovngq|cmovngw|cmovnl|cmovnle|cmovnlel|cmovnleq|cmovnlew|cmovnll|cmovnlq|cmovnlw|cmovno|cmovnol|cmovnoq|cmovnow|cmovnp|cmovnpl|cmovnpq|cmovnpw|cmovns|cmovnsl|cmovnsq|cmovnsw|cmovnz|cmovnzl|cmovnzq|cmovnzw|cmovo|cmovol|cmovoq|cmovow|cmovp|cmovpe|cmovpel|cmovpeq|cmovpew|cmovpl|cmovpo|cmovpol|cmovpoq|cmovpow|cmovpq|cmovpw|cmovs|cmovsl|cmovsq|cmovsw|cmovz|cmovzl|cmovzq|cmovzw|cmp|cmpb|cmpl|cmpq|cmps|cmpsb|cmpsd|cmpsl|cmpsq|cmpsw|cmpw|cmpxchg|cmpxchg16b|cmpxchg8b|cmpxchg8bq|cmpxchgb|cmpxchgl|cmpxchgq|cmpxchgw|cpuid|cqo|cqto|crc32|crc32b|crc32l|crc32q|crc32w|cwd|cwde|cwtd|cwtl|daa|das|dec|decb|decl|decq|decw|div|divb|divl|divq|divw|emms|enter|enterl|enterq|enterw|fcmova|fcmovae|fcmovb|fcmovbe|fcmove|fcmovna|fcmovnae|fcmovnb|fcmovnbe|fcmovne|fcmovnu|fcmovu|fcomi|fcomip|fcompi|fcos|fdisi|femms|feni|ffreep|fisttp|fisttpl|fisttpll|fisttpq|fisttps|fndisi|fneni|fnsetpm|fnstsw|fprem1|frstpm|fsetpm|fsin|fsincos|fstsw|fucom|fucomi|fucomip|fucomp|fucompi|fucompp|fxrstor|fxrstor64|fxrstor64q|fxrstorq|fxsave|fxsave64|fxsave64q|fxsaveq|getsec|hlt|idiv|idivb|idivl|idivq|idivw|imul|imulb|imull|imulq|imulw|in|inb|inc|incb|incl|incq|incw|inl|ins|insb|insl|insw|int|int3|into|invd|invept|invlpg|invlpga|invpcid|invvpid|inw|iret|iretl|iretq|iretw|ja|jae|jb|jbe|jc|jcxz|je|jecxz|jg|jge|jl|jle|jmp|jmpl|jmpld|jmpq|jmpw|jna|jnae|jnb|jnbe|jnc|jne|jng|jnge|jnl|jnle|jno|jnp|jns|jnz|jo|jp|jpe|jpo|jrcxz|js|jz|lahf|lar|larl|larq|larw|lcall|lcalll|lcallw|ldmxcsr|lds|ldsl|ldsw|lea|leal|leaq|leave|leavel|leaveq|leavew|leaw|les|lesl|lesw|lfence|lfs|lfsl|lfsw|lgdt|lgdtl|lgdtq|lgdtw|lgs|lgsl|lgsw|lidt|lidtl|lidtq|lidtw|ljmp|ljmpl|ljmpw|lldt|lldtw|llwpcb|lmsw|lmsww|lods|lodsb|lodsl|lodsq|lodsw|loop|loope|loopel|loopeq|loopew|loopl|loopne|loopnel|loopneq|loopnew|loopnz|loopnzl|loopnzq|loopnzw|loopq|loopw|loopz|loopzl|loopzq|loopzw|lret|lretl|lretq|lretw|lsl|lsll|lslq|lslw|lss|lssl|lssw|ltr|ltrw|lwpins|lwpval|lzcnt|lzcntl|lzcntq|lzcntw|mfence|monitor|montmul|mov|movabs|movabsb|movabsl|movabsq|movabsw|movb|movbe|movbel|movbeq|movbew|movl|movnti|movntil|movntiq|movq|movs|movsb|movsbl|movsbq|movsbw|movsd|movsl|movslq|movsq|movsw|movswl|movswq|movsx|movsxb|movsxd|movsxdl|movsxl|movsxw|movw|movzb|movzbl|movzbq|movzbw|movzwl|movzwq|movzx|movzxb|movzxw|mul|mulb|mull|mulq|mulw|mulx|mulxl|mulxq|mwait|neg|negb|negl|negq|negw|nop|nopl|nopq|nopw|not|notb|notl|notq|notw|or|orb|orl|orq|orw|out|outb|outl|outs|outsb|outsl|outsw|outw|pause|pdep|pdepl|pdepq|pext|pextl|pextq|pop|popa|popal|popaw|popcnt|popcntl|popcntq|popcntw|popf|popfl|popfq|popfw|popl|popq|popw|prefetch|prefetchnta|prefetcht0|prefetcht1|prefetcht2|prefetchw|push|pusha|pushal|pushaw|pushf|pushfl|pushfq|pushfw|pushl|pushq|pushw|rcl|rclb|rcll|rclq|rclw|rcr|rcrb|rcrl|rcrq|rcrw|rdfsbase|rdgsbase|rdmsr|rdpmc|rdrand|rdtsc|rdtscp|ret|retf|retfl|retfq|retfw|retl|retq|retw|rol|rolb|roll|rolq|rolw|ror|rorb|rorl|rorq|rorw|rorx|rorxl|rorxq|rsm|sahf|sal|salb|sall|salq|salw|sar|sarb|sarl|sarq|sarw|sarx|sarxl|sarxq|sbb|sbbb|sbbl|sbbq|sbbw|scas|scasb|scasl|scasq|scasw|scmp|scmpb|scmpl|scmpq|scmpw|seta|setab|setae|setaeb|setb|setbb|setbe|setbeb|setc|setcb|sete|seteb|setg|setgb|setge|setgeb|setl|setlb|setle|setleb|setna|setnab|setnae|setnaeb|setnb|setnbb|setnbe|setnbeb|setnc|setncb|setne|setneb|setng|setngb|setnge|setngeb|setnl|setnlb|setnle|setnleb|setno|setnob|setnp|setnpb|setns|setnsb|setnz|setnzb|seto|setob|setp|setpb|setpe|setpeb|setpo|setpob|sets|setsb|setz|setzb|sfence|sgdt|sgdtl|sgdtq|sgdtw|shl|shlb|shld|shldl|shldq|shldw|shll|shlq|shlw|shlx|shlxl|shlxq|shr|shrb|shrd|shrdl|shrdq|shrdw|shrl|shrq|shrw|shrx|shrxl|shrxq|sidt|sidtl|sidtq|sidtw|skinit|sldt|sldtl|sldtq|sldtw|slod|slodb|slodl|slodq|slodw|slwpcb|smov|smovb|smovl|smovq|smovw|smsw|smswl|smswq|smsww|ssca|sscab|sscal|sscaq|sscaw|ssto|sstob|sstol|sstoq|sstow|stc|std|stgi|sti|stmxcsr|stos|stosb|stosl|stosq|stosw|str|strl|strq|strw|sub|subb|subl|subq|subw|swapgs|syscall|sysenter|sysexit|sysret|sysretl|sysretq|t1mskc|t1mskcl|t1mskcq|test|testb|testl|testq|testw|tzcnt|tzcntl|tzcntq|tzcntw|tzmsk|tzmskl|tzmskq|ud1|ud2|ud2a|ud2b|verr|verrw|verw|verww|vldmxcsr|vmcall|vmclear|vmfunc|vmlaunch|vmload|vmmcall|vmptrld|vmptrst|vmread|vmreadl|vmreadq|vmresume|vmrun|vmsave|vmwrite|vmwritel|vmwriteq|vmxoff|vmxon|vstmxcsr|vzeroall|vzeroupper|wbinvd|wrfsbase|wrgsbase|wrmsr|xabort|xadd|xaddb|xaddl|xaddq|xaddw|xbegin|xchg|xchgb|xchgl|xchgq|xchgw|xcrypt-cbc|xcrypt-cfb|xcrypt-ctr|xcrypt-ecb|xcrypt-ofb|xcryptcbc|xcryptcfb|xcryptctr|xcryptecb|xcryptofb|xend|xgetbv|xlat|xlatb|xor|xorb|xorl|xorq|xorw|xrstor|xrstor64|xrstor64q|xrstorq|xsave|xsave64|xsave64q|xsaveopt|xsaveopt64|xsaveopt64q|xsaveoptq|xsaveq|xsetbv|xsha1|xsha256|xstore|xstore-rng|xstorerng|xtest)\\b"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"name": "support.function.fpu.x86.assembly",
|
15
|
-
"match": "(?i)(?x)(\\s*)\\b(?:addpd|addps|addsd|addss|addsubpd|addsubps|aesdec|aesdeclast|aesenc|aesenclast|aesimc|aeskeygenassist|andnpd|andnps|andpd|andps|blendpd|blendps|blendvpd|blendvps|cmpeqpd|cmpeqps|cmpeqsd|cmpeqss|cmplepd|cmpleps|cmplesd|cmpless|cmpltpd|cmpltps|cmpltsd|cmpltss|cmpneqpd|cmpneqps|cmpneqsd|cmpneqss|cmpnlepd|cmpnleps|cmpnlesd|cmpnless|cmpnltpd|cmpnltps|cmpnltsd|cmpnltss|cmpordpd|cmpordps|cmpordsd|cmpordss|cmppd|cmpps|cmpsd|cmpss|cmpunordpd|cmpunordps|cmpunordsd|cmpunordss|comisd|comiss|cvtdq2pd|cvtdq2ps|cvtpd2dq|cvtpd2pi|cvtpd2ps|cvtpi2pd|cvtpi2ps|cvtps2dq|cvtps2pd|cvtps2pi|cvtsd2si|cvtsd2sil|cvtsd2siq|cvtsd2ss|cvtsi2sd|cvtsi2sdl|cvtsi2sdq|cvtsi2ss|cvtsi2ssl|cvtsi2ssq|cvtss2sd|cvtss2si|cvtss2sil|cvtss2siq|cvttpd2dq|cvttpd2pi|cvttps2dq|cvttps2pi|cvttsd2si|cvttsd2sil|cvttsd2siq|cvttss2si|cvttss2sil|cvttss2siq|divpd|divps|divsd|divss|dppd|dpps|extractps|extrq|f2xm1|fabs|fadd|faddl|faddp|fadds|fbld|fbldld|fbstp|fbstpld|fchs|fclex|fcom|fcoml|fcomp|fcompl|fcompp|fcomps|fcoms|fdecstp|fdiv|fdivl|fdivp|fdivr|fdivrl|fdivrp|fdivrs|fdivs|ffree|fiadd|fiaddl|fiadds|ficom|ficoml|ficomp|ficompl|ficomps|ficoms|fidiv|fidivl|fidivr|fidivrl|fidivrs|fidivs|fild|fildl|fildll|fildq|filds|fimul|fimull|fimuls|fincstp|finit|fist|fistl|fistp|fistpl|fistpll|fistpq|fistps|fists|fisub|fisubl|fisubr|fisubrl|fisubrs|fisubs|fld|fld1|fldcw|fldcww|fldenv|fldenvl|fldenvs|fldl|fldl2e|fldl2t|fldld|fldlg2|fldln2|fldpi|flds|fldt|fldz|fmul|fmull|fmulp|fmuls|fnclex|fninit|fnop|fnsave|fnsavel|fnsaves|fnstcw|fnstcww|fnstenv|fnstenvl|fnstenvs|fnstsw|fnstsww|fpatan|fprem|fptan|frndint|frstor|frstorl|frstors|fsave|fsavel|fsaves|fscale|fsqrt|fst|fstcw|fstcww|fstenv|fstenvl|fstenvs|fstl|fstp|fstpl|fstpld|fstps|fstpt|fsts|fstsw|fstsww|fsub|fsubl|fsubp|fsubr|fsubrl|fsubrp|fsubrs|fsubs|ftst|fwait|fxam|fxch|fxtract|fyl2x|fyl2xp1|haddpd|haddps|hsubpd|hsubps|insertps|insertq|lddqu|maskmovdqu|maskmovq|maxpd|maxps|maxsd|maxss|minpd|minps|minsd|minss|movapd|movaps|movd|movddup|movdq2q|movdqa|movdqu|movhlps|movhpd|movhps|movlhps|movlpd|movlps|movmskpd|movmskpdl|movmskpdq|movmskps|movmskpsl|movmskpsq|movntdq|movntdqa|movntpd|movntps|movntq|movntsd|movntss|movq|movq2dq|movsd|movshdup|movsldup|movss|movupd|movups|mpsadbw|mulpd|mulps|mulsd|mulss|orpd|orps|pabsb|pabsd|pabsw|packssdw|packsswb|packusdw|packuswb|paddb|paddd|paddq|paddsb|paddsw|paddusb|paddusw|paddw|palignr|pand|pandn|pavgb|pavgusb|pavgw|pblendvb|pblendw|pclmulhqhqdq|pclmulhqlqdq|pclmullqhqdq|pclmullqlqdq|pclmulqdq|pcmpeqb|pcmpeqd|pcmpeqq|pcmpeqw|pcmpestri|pcmpestrm|pcmpgtb|pcmpgtd|pcmpgtq|pcmpgtw|pcmpistri|pcmpistrm|pextrb|pextrd|pextrq|pextrw|pextrwl|pextrwq|pf2id|pf2iw|pfacc|pfadd|pfcmpeq|pfcmpge|pfcmpgt|pfmax|pfmin|pfmul|pfnacc|pfpnacc|pfrcp|pfrcpit1|pfrcpit2|pfrsqit1|pfrsqrt|pfsub|pfsubr|phaddd|phaddsw|phaddw|phminposuw|phsubd|phsubsw|phsubw|pi2fd|pi2fw|pinsrb|pinsrd|pinsrq|pinsrw|pinsrwl|pinsrwq|pmaddubsw|pmaddwd|pmaxsb|pmaxsd|pmaxsw|pmaxub|pmaxud|pmaxuw|pminsb|pminsd|pminsw|pminub|pminud|pminuw|pmovmskb|pmovmskbl|pmovmskbq|pmovsxbd|pmovsxbq|pmovsxbw|pmovsxdq|pmovsxwd|pmovsxwq|pmovzxbd|pmovzxbq|pmovzxbw|pmovzxdq|pmovzxwd|pmovzxwq|pmuldq|pmulhrsw|pmulhrw|pmulhuw|pmulhw|pmulld|pmullw|pmuludq|por|psadbw|pshufb|pshufd|pshufhw|pshuflw|pshufw|psignb|psignd|psignw|pslld|pslldq|psllq|psllw|psrad|psraw|psrld|psrldq|psrlq|psrlw|psubb|psubd|psubq|psubsb|psubsw|psubusb|psubusw|psubw|pswapd|ptest|punpckhbw|punpckhdq|punpckhqdq|punpckhwd|punpcklbw|punpckldq|punpcklqdq|punpcklwd|pxor|rcpps|rcpss|roundpd|roundps|roundsd|roundss|rsqrtps|rsqrtss|shufpd|shufps|sqrtpd|sqrtps|sqrtsd|sqrtss|subpd|subps|subsd|subss|ucomisd|ucomiss|unpckhpd|unpckhps|unpcklpd|unpcklps|vaddpd|vaddps|vaddsd|vaddss|vaddsubpd|vaddsubps|vaesdec|vaesdeclast|vaesenc|vaesenclast|vaesimc|vaeskeygenassist|vandnpd|vandnps|vandpd|vandps|vblendpd|vblendps|vblendvpd|vblendvps|vbroadcastf128|vbroadcasti128|vbroadcastsd|vbroadcastss|vcmpeq_ospd|vcmpeq_osps|vcmpeq_ossd|vcmpeq_osss|vcmpeq_uqpd|vcmpeq_uqps|vcmpeq_uqsd|vcmpeq_uqss|vcmpeq_uspd|vcmpeq_usps|vcmpeq_ussd|vcmpeq_usss|vcmpeqpd|vcmpeqps|vcmpeqsd|vcmpeqss|vcmpfalse_ospd|vcmpfalse_osps|vcmpfalse_ossd|vcmpfalse_osss|vcmpfalsepd|vcmpfalseps|vcmpfalsesd|vcmpfalsess|vcmpge_oqpd|vcmpge_oqps|vcmpge_oqsd|vcmpge_oqss|vcmpgepd|vcmpgeps|vcmpgesd|vcmpgess|vcmpgt_oqpd|vcmpgt_oqps|vcmpgt_oqsd|vcmpgt_oqss|vcmpgtpd|vcmpgtps|vcmpgtsd|vcmpgtss|vcmple_oqpd|vcmple_oqps|vcmple_oqsd|vcmple_oqss|vcmplepd|vcmpleps|vcmplesd|vcmpless|vcmplt_oqpd|vcmplt_oqps|vcmplt_oqsd|vcmplt_oqss|vcmpltpd|vcmpltps|vcmpltsd|vcmpltss|vcmpneq_oqpd|vcmpneq_oqps|vcmpneq_oqsd|vcmpneq_oqss|vcmpneq_ospd|vcmpneq_osps|vcmpneq_ossd|vcmpneq_osss|vcmpneq_uspd|vcmpneq_usps|vcmpneq_ussd|vcmpneq_usss|vcmpneqpd|vcmpneqps|vcmpneqsd|vcmpneqss|vcmpnge_uqpd|vcmpnge_uqps|vcmpnge_uqsd|vcmpnge_uqss|vcmpngepd|vcmpngeps|vcmpngesd|vcmpngess|vcmpngt_uqpd|vcmpngt_uqps|vcmpngt_uqsd|vcmpngt_uqss|vcmpngtpd|vcmpngtps|vcmpngtsd|vcmpngtss|vcmpnle_uqpd|vcmpnle_uqps|vcmpnle_uqsd|vcmpnle_uqss|vcmpnlepd|vcmpnleps|vcmpnlesd|vcmpnless|vcmpnlt_uqpd|vcmpnlt_uqps|vcmpnlt_uqsd|vcmpnlt_uqss|vcmpnltpd|vcmpnltps|vcmpnltsd|vcmpnltss|vcmpord_spd|vcmpord_sps|vcmpord_ssd|vcmpord_sss|vcmpordpd|vcmpordps|vcmpordsd|vcmpordss|vcmppd|vcmpps|vcmpsd|vcmpss|vcmptrue_uspd|vcmptrue_usps|vcmptrue_ussd|vcmptrue_usss|vcmptruepd|vcmptrueps|vcmptruesd|vcmptruess|vcmpunord_spd|vcmpunord_sps|vcmpunord_ssd|vcmpunord_sss|vcmpunordpd|vcmpunordps|vcmpunordsd|vcmpunordss|vcomisd|vcomiss|vcvtdq2pd|vcvtdq2ps|vcvtpd2dq|vcvtpd2dqx|vcvtpd2dqy|vcvtpd2ps|vcvtpd2psx|vcvtpd2psy|vcvtph2ps|vcvtps2dq|vcvtps2pd|vcvtps2ph|vcvtsd2si|vcvtsd2sil|vcvtsd2siq|vcvtsd2ss|vcvtsi2sd|vcvtsi2sdl|vcvtsi2sdq|vcvtsi2ss|vcvtsi2ssl|vcvtsi2ssq|vcvtss2sd|vcvtss2si|vcvtss2sil|vcvtss2siq|vcvttpd2dq|vcvttpd2dqx|vcvttpd2dqy|vcvttps2dq|vcvttsd2si|vcvttsd2sil|vcvttsd2siq|vcvttss2si|vcvttss2sil|vcvttss2siq|vdivpd|vdivps|vdivsd|vdivss|vdppd|vdpps|vextractf128|vextracti128|vextractps|vfmadd132pd|vfmadd132ps|vfmadd132sd|vfmadd132ss|vfmadd213pd|vfmadd213ps|vfmadd213sd|vfmadd213ss|vfmadd231pd|vfmadd231ps|vfmadd231sd|vfmadd231ss|vfmaddpd|vfmaddps|vfmaddsd|vfmaddss|vfmaddsub132pd|vfmaddsub132ps|vfmaddsub213pd|vfmaddsub213ps|vfmaddsub231pd|vfmaddsub231ps|vfmaddsubpd|vfmaddsubps|vfmsub132pd|vfmsub132ps|vfmsub132sd|vfmsub132ss|vfmsub213pd|vfmsub213ps|vfmsub213sd|vfmsub213ss|vfmsub231pd|vfmsub231ps|vfmsub231sd|vfmsub231ss|vfmsubadd132pd|vfmsubadd132ps|vfmsubadd213pd|vfmsubadd213ps|vfmsubadd231pd|vfmsubadd231ps|vfmsubaddpd|vfmsubaddps|vfmsubpd|vfmsubps|vfmsubsd|vfmsubss|vfnmadd132pd|vfnmadd132ps|vfnmadd132sd|vfnmadd132ss|vfnmadd213pd|vfnmadd213ps|vfnmadd213sd|vfnmadd213ss|vfnmadd231pd|vfnmadd231ps|vfnmadd231sd|vfnmadd231ss|vfnmaddpd|vfnmaddps|vfnmaddsd|vfnmaddss|vfnmsub132pd|vfnmsub132ps|vfnmsub132sd|vfnmsub132ss|vfnmsub213pd|vfnmsub213ps|vfnmsub213sd|vfnmsub213ss|vfnmsub231pd|vfnmsub231ps|vfnmsub231sd|vfnmsub231ss|vfnmsubpd|vfnmsubps|vfnmsubsd|vfnmsubss|vfrczpd|vfrczps|vfrczsd|vfrczss|vgatherdpd|vgatherdps|vgatherqpd|vgatherqps|vhaddpd|vhaddps|vhsubpd|vhsubps|vinsertf128|vinserti128|vinsertps|vlddqu|vmaskmovdqu|vmaskmovpd|vmaskmovps|vmaxpd|vmaxps|vmaxsd|vmaxss|vminpd|vminps|vminsd|vminss|vmovapd|vmovaps|vmovd|vmovddup|vmovdqa|vmovdqu|vmovhlps|vmovhpd|vmovhps|vmovlhps|vmovlpd|vmovlps|vmovmskpd|vmovmskpdl|vmovmskpdq|vmovmskps|vmovmskpsl|vmovmskpsq|vmovntdq|vmovntdqa|vmovntpd|vmovntps|vmovq|vmovsd|vmovshdup|vmovsldup|vmovss|vmovupd|vmovups|vmpsadbw|vmulpd|vmulps|vmulsd|vmulss|vorpd|vorps|vpabsb|vpabsd|vpabsw|vpackssdw|vpacksswb|vpackusdw|vpackuswb|vpaddb|vpaddd|vpaddq|vpaddsb|vpaddsw|vpaddusb|vpaddusw|vpaddw|vpalignr|vpand|vpandn|vpavgb|vpavgw|vpblendd|vpblendvb|vpblendw|vpbroadcastb|vpbroadcastd|vpbroadcastq|vpbroadcastw|vpclmulhqhqdq|vpclmulhqlqdq|vpclmullqhqdq|vpclmullqlqdq|vpclmulqdq|vpcmov|vpcmpeqb|vpcmpeqd|vpcmpeqq|vpcmpeqw|vpcmpestri|vpcmpestrm|vpcmpgtb|vpcmpgtd|vpcmpgtq|vpcmpgtw|vpcmpistri|vpcmpistrm|vpcomb|vpcomd|vpcomeqb|vpcomeqd|vpcomeqq|vpcomequb|vpcomequd|vpcomequq|vpcomequw|vpcomeqw|vpcomfalseb|vpcomfalsed|vpcomfalseq|vpcomfalseub|vpcomfalseud|vpcomfalseuq|vpcomfalseuw|vpcomfalsew|vpcomgeb|vpcomged|vpcomgeq|vpcomgeub|vpcomgeud|vpcomgeuq|vpcomgeuw|vpcomgew|vpcomgtb|vpcomgtd|vpcomgtq|vpcomgtub|vpcomgtud|vpcomgtuq|vpcomgtuw|vpcomgtw|vpcomleb|vpcomled|vpcomleq|vpcomleub|vpcomleud|vpcomleuq|vpcomleuw|vpcomlew|vpcomltb|vpcomltd|vpcomltq|vpcomltub|vpcomltud|vpcomltuq|vpcomltuw|vpcomltw|vpcomneqb|vpcomneqd|vpcomneqq|vpcomnequb|vpcomnequd|vpcomnequq|vpcomnequw|vpcomneqw|vpcomq|vpcomtrueb|vpcomtrued|vpcomtrueq|vpcomtrueub|vpcomtrueud|vpcomtrueuq|vpcomtrueuw|vpcomtruew|vpcomub|vpcomud|vpcomuq|vpcomuw|vpcomw|vperm2f128|vperm2i128|vpermd|vpermil2pd|vpermil2ps|vpermilpd|vpermilps|vpermpd|vpermps|vpermq|vpextrb|vpextrd|vpextrq|vpextrw|vpextrwl|vpextrwq|vpgatherdd|vpgatherdq|vpgatherqd|vpgatherqq|vphaddbd|vphaddbq|vphaddbw|vphaddd|vphadddq|vphaddsw|vphaddubd|vphaddubq|vphaddubw|vphaddudq|vphadduwd|vphadduwq|vphaddw|vphaddwd|vphaddwq|vphminposuw|vphsubbw|vphsubd|vphsubdq|vphsubsw|vphsubw|vphsubwd|vpinsrb|vpinsrd|vpinsrq|vpinsrw|vpinsrwl|vpinsrwq|vpmacsdd|vpmacsdqh|vpmacsdql|vpmacssdd|vpmacssdqh|vpmacssdql|vpmacsswd|vpmacssww|vpmacswd|vpmacsww|vpmadcsswd|vpmadcswd|vpmaddubsw|vpmaddwd|vpmaskmovd|vpmaskmovq|vpmaxsb|vpmaxsd|vpmaxsw|vpmaxub|vpmaxud|vpmaxuw|vpminsb|vpminsd|vpminsw|vpminub|vpminud|vpminuw|vpmovmskb|vpmovmskbl|vpmovmskbq|vpmovsxbd|vpmovsxbq|vpmovsxbw|vpmovsxdq|vpmovsxwd|vpmovsxwq|vpmovzxbd|vpmovzxbq|vpmovzxbw|vpmovzxdq|vpmovzxwd|vpmovzxwq|vpmuldq|vpmulhrsw|vpmulhuw|vpmulhw|vpmulld|vpmullw|vpmuludq|vpor|vpperm|vprotb|vprotbb|vprotd|vprotdb|vprotq|vprotqb|vprotw|vprotwb|vpsadbw|vpshab|vpshabb|vpshad|vpshadb|vpshaq|vpshaqb|vpshaw|vpshawb|vpshlb|vpshlbb|vpshld|vpshldb|vpshlq|vpshlqb|vpshlw|vpshlwb|vpshufb|vpshufd|vpshufhw|vpshuflw|vpsignb|vpsignd|vpsignw|vpslld|vpslldq|vpsllq|vpsllvd|vpsllvq|vpsllw|vpsrad|vpsravd|vpsraw|vpsrld|vpsrldq|vpsrlq|vpsrlvd|vpsrlvq|vpsrlw|vpsubb|vpsubd|vpsubq|vpsubsb|vpsubsw|vpsubusb|vpsubusw|vpsubw|vptest|vpunpckhbw|vpunpckhdq|vpunpckhqdq|vpunpckhwd|vpunpcklbw|vpunpckldq|vpunpcklqdq|vpunpcklwd|vpxor|vrcpps|vrcpss|vroundpd|vroundps|vroundsd|vroundss|vrsqrtps|vrsqrtss|vshufpd|vshufps|vsqrtpd|vsqrtps|vsqrtsd|vsqrtss|vsubpd|vsubps|vsubsd|vsubss|vtestpd|vtestps|vucomisd|vucomiss|vunpckhpd|vunpckhps|vunpcklpd|vunpcklps|vxorpd|vxorps|xorpd|xorps)\\b"
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"name": "entity.name.function.x86.assembly",
|
19
|
-
"match": "^[_a-zA-Z][a-zA-Z0-9-_.]*(?=:)"
|
20
|
-
},
|
21
|
-
{
|
22
|
-
"name": "entity.name.function.x86.assembly",
|
23
|
-
"match": "(?\u003c=[\u003c]).+(?=[+\u003e])"
|
24
|
-
},
|
25
|
-
{
|
26
|
-
"name": "meta.preprocessor.x86.assembly",
|
27
|
-
"match": "^\\s*[0-9A-Fa-f]{4,}"
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"name": "comment.x86.assembly",
|
31
|
-
"match": "(?:--|\\/\\/|\\#|;).*$"
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"name": "storage.type.method.x86.assembly",
|
35
|
-
"match": "[*$](?=0x)"
|
36
|
-
},
|
37
|
-
{
|
38
|
-
"name": "constant.numeric.x86.assembly",
|
39
|
-
"match": "\\b(?:0x)?[0-9a-fA-F]+\\b"
|
40
|
-
}
|
41
|
-
]
|
42
|
-
}
|
1
|
+
{"name":"Assembly (x86)","scopeName":"source.x86asm","patterns":[{"name":"variable.registers.x86.assembly","match":"(?i)(?x)(\\s*)%?\\b(?:\n\t\t\t# main registers\n\t\t\tax|ah|al|eax|rax|bx|bh|bl|ebx|rbx|cx|ch|cl|ecx|rcx|dx|dh|dl|edx|rdx|si|esi|rsi|di|edi|rdi|sp|esp|rsp|bp|ebp|rbp|ip|eip|rip|\n\t\t\t# new 64-bit registers\n\t\t\tr(?:[8-9]|(?:1[0-5]))d?|\n\t\t\t# segment pointers\n\t\t\tcs|ds|ss|es|fs|gs|\n\t\t\t# MMX\n\t\t\tmm[0-7]+|\n\t\t\t# SSE/AVX\n\t\t\t[xy]mm[0-9]+\n\t\t)\\b"},{"name":"keyword.x86.assembly","match":"(?i)(?x)(\\s*)\\b(?:aaa|aad|aam|aas|adc|adcb|adcl|adcq|adcw|add|addb|addl|addq|addw|and|andb|andl|andn|andnl|andnq|andq|andw|arpl|arplw|bextr|bextrl|bextrq|blcfill|blcfilll|blcfillq|blci|blcic|blcicl|blcicq|blcil|blciq|blcmsk|blcmskl|blcmskq|blcs|blcsl|blcsq|blsfill|blsfilll|blsfillq|blsi|blsic|blsicl|blsicq|blsil|blsiq|blsmsk|blsmskl|blsmskq|blsr|blsrl|blsrq|bound|boundl|boundw|bsf|bsfl|bsfq|bsfw|bsr|bsrl|bsrq|bsrw|bswap|bswapl|bswapq|bt|btc|btcl|btcq|btcw|btl|btq|btr|btrl|btrq|btrw|bts|btsl|btsq|btsw|btw|bzhi|bzhil|bzhiq|call|calll|callld|callq|callw|cbtw|cbw|cdq|cdqe|clc|cld|clflush|clgi|cli|clr|clrb|clrl|clrq|clrw|cltd|cltq|clts|cmc|cmova|cmovae|cmovael|cmovaeq|cmovaew|cmoval|cmovaq|cmovaw|cmovb|cmovbe|cmovbel|cmovbeq|cmovbew|cmovbl|cmovbq|cmovbw|cmovc|cmovcl|cmovcq|cmovcw|cmove|cmovel|cmoveq|cmovew|cmovg|cmovge|cmovgel|cmovgeq|cmovgew|cmovgl|cmovgq|cmovgw|cmovl|cmovle|cmovlel|cmovleq|cmovlew|cmovll|cmovlq|cmovlw|cmovna|cmovnae|cmovnael|cmovnaeq|cmovnaew|cmovnal|cmovnaq|cmovnaw|cmovnb|cmovnbe|cmovnbel|cmovnbeq|cmovnbew|cmovnbl|cmovnbq|cmovnbw|cmovnc|cmovncl|cmovncq|cmovncw|cmovne|cmovnel|cmovneq|cmovnew|cmovng|cmovnge|cmovngel|cmovngeq|cmovngew|cmovngl|cmovngq|cmovngw|cmovnl|cmovnle|cmovnlel|cmovnleq|cmovnlew|cmovnll|cmovnlq|cmovnlw|cmovno|cmovnol|cmovnoq|cmovnow|cmovnp|cmovnpl|cmovnpq|cmovnpw|cmovns|cmovnsl|cmovnsq|cmovnsw|cmovnz|cmovnzl|cmovnzq|cmovnzw|cmovo|cmovol|cmovoq|cmovow|cmovp|cmovpe|cmovpel|cmovpeq|cmovpew|cmovpl|cmovpo|cmovpol|cmovpoq|cmovpow|cmovpq|cmovpw|cmovs|cmovsl|cmovsq|cmovsw|cmovz|cmovzl|cmovzq|cmovzw|cmp|cmpb|cmpl|cmpq|cmps|cmpsb|cmpsd|cmpsl|cmpsq|cmpsw|cmpw|cmpxchg|cmpxchg16b|cmpxchg8b|cmpxchg8bq|cmpxchgb|cmpxchgl|cmpxchgq|cmpxchgw|cpuid|cqo|cqto|crc32|crc32b|crc32l|crc32q|crc32w|cwd|cwde|cwtd|cwtl|daa|das|dec|decb|decl|decq|decw|div|divb|divl|divq|divw|emms|enter|enterl|enterq|enterw|fcmova|fcmovae|fcmovb|fcmovbe|fcmove|fcmovna|fcmovnae|fcmovnb|fcmovnbe|fcmovne|fcmovnu|fcmovu|fcomi|fcomip|fcompi|fcos|fdisi|femms|feni|ffreep|fisttp|fisttpl|fisttpll|fisttpq|fisttps|fndisi|fneni|fnsetpm|fnstsw|fprem1|frstpm|fsetpm|fsin|fsincos|fstsw|fucom|fucomi|fucomip|fucomp|fucompi|fucompp|fxrstor|fxrstor64|fxrstor64q|fxrstorq|fxsave|fxsave64|fxsave64q|fxsaveq|getsec|hlt|idiv|idivb|idivl|idivq|idivw|imul|imulb|imull|imulq|imulw|in|inb|inc|incb|incl|incq|incw|inl|ins|insb|insl|insw|int|int3|into|invd|invept|invlpg|invlpga|invpcid|invvpid|inw|iret|iretl|iretq|iretw|ja|jae|jb|jbe|jc|jcxz|je|jecxz|jg|jge|jl|jle|jmp|jmpl|jmpld|jmpq|jmpw|jna|jnae|jnb|jnbe|jnc|jne|jng|jnge|jnl|jnle|jno|jnp|jns|jnz|jo|jp|jpe|jpo|jrcxz|js|jz|lahf|lar|larl|larq|larw|lcall|lcalll|lcallw|ldmxcsr|lds|ldsl|ldsw|lea|leal|leaq|leave|leavel|leaveq|leavew|leaw|les|lesl|lesw|lfence|lfs|lfsl|lfsw|lgdt|lgdtl|lgdtq|lgdtw|lgs|lgsl|lgsw|lidt|lidtl|lidtq|lidtw|ljmp|ljmpl|ljmpw|lldt|lldtw|llwpcb|lmsw|lmsww|lods|lodsb|lodsl|lodsq|lodsw|loop|loope|loopel|loopeq|loopew|loopl|loopne|loopnel|loopneq|loopnew|loopnz|loopnzl|loopnzq|loopnzw|loopq|loopw|loopz|loopzl|loopzq|loopzw|lret|lretl|lretq|lretw|lsl|lsll|lslq|lslw|lss|lssl|lssw|ltr|ltrw|lwpins|lwpval|lzcnt|lzcntl|lzcntq|lzcntw|mfence|monitor|montmul|mov|movabs|movabsb|movabsl|movabsq|movabsw|movb|movbe|movbel|movbeq|movbew|movl|movnti|movntil|movntiq|movq|movs|movsb|movsbl|movsbq|movsbw|movsd|movsl|movslq|movsq|movsw|movswl|movswq|movsx|movsxb|movsxd|movsxdl|movsxl|movsxw|movw|movzb|movzbl|movzbq|movzbw|movzwl|movzwq|movzx|movzxb|movzxw|mul|mulb|mull|mulq|mulw|mulx|mulxl|mulxq|mwait|neg|negb|negl|negq|negw|nop|nopl|nopq|nopw|not|notb|notl|notq|notw|or|orb|orl|orq|orw|out|outb|outl|outs|outsb|outsl|outsw|outw|pause|pdep|pdepl|pdepq|pext|pextl|pextq|pop|popa|popal|popaw|popcnt|popcntl|popcntq|popcntw|popf|popfl|popfq|popfw|popl|popq|popw|prefetch|prefetchnta|prefetcht0|prefetcht1|prefetcht2|prefetchw|push|pusha|pushal|pushaw|pushf|pushfl|pushfq|pushfw|pushl|pushq|pushw|rcl|rclb|rcll|rclq|rclw|rcr|rcrb|rcrl|rcrq|rcrw|rdfsbase|rdgsbase|rdmsr|rdpmc|rdrand|rdtsc|rdtscp|ret|retf|retfl|retfq|retfw|retl|retq|retw|rol|rolb|roll|rolq|rolw|ror|rorb|rorl|rorq|rorw|rorx|rorxl|rorxq|rsm|sahf|sal|salb|sall|salq|salw|sar|sarb|sarl|sarq|sarw|sarx|sarxl|sarxq|sbb|sbbb|sbbl|sbbq|sbbw|scas|scasb|scasl|scasq|scasw|scmp|scmpb|scmpl|scmpq|scmpw|seta|setab|setae|setaeb|setb|setbb|setbe|setbeb|setc|setcb|sete|seteb|setg|setgb|setge|setgeb|setl|setlb|setle|setleb|setna|setnab|setnae|setnaeb|setnb|setnbb|setnbe|setnbeb|setnc|setncb|setne|setneb|setng|setngb|setnge|setngeb|setnl|setnlb|setnle|setnleb|setno|setnob|setnp|setnpb|setns|setnsb|setnz|setnzb|seto|setob|setp|setpb|setpe|setpeb|setpo|setpob|sets|setsb|setz|setzb|sfence|sgdt|sgdtl|sgdtq|sgdtw|shl|shlb|shld|shldl|shldq|shldw|shll|shlq|shlw|shlx|shlxl|shlxq|shr|shrb|shrd|shrdl|shrdq|shrdw|shrl|shrq|shrw|shrx|shrxl|shrxq|sidt|sidtl|sidtq|sidtw|skinit|sldt|sldtl|sldtq|sldtw|slod|slodb|slodl|slodq|slodw|slwpcb|smov|smovb|smovl|smovq|smovw|smsw|smswl|smswq|smsww|ssca|sscab|sscal|sscaq|sscaw|ssto|sstob|sstol|sstoq|sstow|stc|std|stgi|sti|stmxcsr|stos|stosb|stosl|stosq|stosw|str|strl|strq|strw|sub|subb|subl|subq|subw|swapgs|syscall|sysenter|sysexit|sysret|sysretl|sysretq|t1mskc|t1mskcl|t1mskcq|test|testb|testl|testq|testw|tzcnt|tzcntl|tzcntq|tzcntw|tzmsk|tzmskl|tzmskq|ud1|ud2|ud2a|ud2b|verr|verrw|verw|verww|vldmxcsr|vmcall|vmclear|vmfunc|vmlaunch|vmload|vmmcall|vmptrld|vmptrst|vmread|vmreadl|vmreadq|vmresume|vmrun|vmsave|vmwrite|vmwritel|vmwriteq|vmxoff|vmxon|vstmxcsr|vzeroall|vzeroupper|wbinvd|wrfsbase|wrgsbase|wrmsr|xabort|xadd|xaddb|xaddl|xaddq|xaddw|xbegin|xchg|xchgb|xchgl|xchgq|xchgw|xcrypt-cbc|xcrypt-cfb|xcrypt-ctr|xcrypt-ecb|xcrypt-ofb|xcryptcbc|xcryptcfb|xcryptctr|xcryptecb|xcryptofb|xend|xgetbv|xlat|xlatb|xor|xorb|xorl|xorq|xorw|xrstor|xrstor64|xrstor64q|xrstorq|xsave|xsave64|xsave64q|xsaveopt|xsaveopt64|xsaveopt64q|xsaveoptq|xsaveq|xsetbv|xsha1|xsha256|xstore|xstore-rng|xstorerng|xtest)\\b"},{"name":"support.function.fpu.x86.assembly","match":"(?i)(?x)(\\s*)\\b(?:addpd|addps|addsd|addss|addsubpd|addsubps|aesdec|aesdeclast|aesenc|aesenclast|aesimc|aeskeygenassist|andnpd|andnps|andpd|andps|blendpd|blendps|blendvpd|blendvps|cmpeqpd|cmpeqps|cmpeqsd|cmpeqss|cmplepd|cmpleps|cmplesd|cmpless|cmpltpd|cmpltps|cmpltsd|cmpltss|cmpneqpd|cmpneqps|cmpneqsd|cmpneqss|cmpnlepd|cmpnleps|cmpnlesd|cmpnless|cmpnltpd|cmpnltps|cmpnltsd|cmpnltss|cmpordpd|cmpordps|cmpordsd|cmpordss|cmppd|cmpps|cmpsd|cmpss|cmpunordpd|cmpunordps|cmpunordsd|cmpunordss|comisd|comiss|cvtdq2pd|cvtdq2ps|cvtpd2dq|cvtpd2pi|cvtpd2ps|cvtpi2pd|cvtpi2ps|cvtps2dq|cvtps2pd|cvtps2pi|cvtsd2si|cvtsd2sil|cvtsd2siq|cvtsd2ss|cvtsi2sd|cvtsi2sdl|cvtsi2sdq|cvtsi2ss|cvtsi2ssl|cvtsi2ssq|cvtss2sd|cvtss2si|cvtss2sil|cvtss2siq|cvttpd2dq|cvttpd2pi|cvttps2dq|cvttps2pi|cvttsd2si|cvttsd2sil|cvttsd2siq|cvttss2si|cvttss2sil|cvttss2siq|divpd|divps|divsd|divss|dppd|dpps|extractps|extrq|f2xm1|fabs|fadd|faddl|faddp|fadds|fbld|fbldld|fbstp|fbstpld|fchs|fclex|fcom|fcoml|fcomp|fcompl|fcompp|fcomps|fcoms|fdecstp|fdiv|fdivl|fdivp|fdivr|fdivrl|fdivrp|fdivrs|fdivs|ffree|fiadd|fiaddl|fiadds|ficom|ficoml|ficomp|ficompl|ficomps|ficoms|fidiv|fidivl|fidivr|fidivrl|fidivrs|fidivs|fild|fildl|fildll|fildq|filds|fimul|fimull|fimuls|fincstp|finit|fist|fistl|fistp|fistpl|fistpll|fistpq|fistps|fists|fisub|fisubl|fisubr|fisubrl|fisubrs|fisubs|fld|fld1|fldcw|fldcww|fldenv|fldenvl|fldenvs|fldl|fldl2e|fldl2t|fldld|fldlg2|fldln2|fldpi|flds|fldt|fldz|fmul|fmull|fmulp|fmuls|fnclex|fninit|fnop|fnsave|fnsavel|fnsaves|fnstcw|fnstcww|fnstenv|fnstenvl|fnstenvs|fnstsw|fnstsww|fpatan|fprem|fptan|frndint|frstor|frstorl|frstors|fsave|fsavel|fsaves|fscale|fsqrt|fst|fstcw|fstcww|fstenv|fstenvl|fstenvs|fstl|fstp|fstpl|fstpld|fstps|fstpt|fsts|fstsw|fstsww|fsub|fsubl|fsubp|fsubr|fsubrl|fsubrp|fsubrs|fsubs|ftst|fwait|fxam|fxch|fxtract|fyl2x|fyl2xp1|haddpd|haddps|hsubpd|hsubps|insertps|insertq|lddqu|maskmovdqu|maskmovq|maxpd|maxps|maxsd|maxss|minpd|minps|minsd|minss|movapd|movaps|movd|movddup|movdq2q|movdqa|movdqu|movhlps|movhpd|movhps|movlhps|movlpd|movlps|movmskpd|movmskpdl|movmskpdq|movmskps|movmskpsl|movmskpsq|movntdq|movntdqa|movntpd|movntps|movntq|movntsd|movntss|movq|movq2dq|movsd|movshdup|movsldup|movss|movupd|movups|mpsadbw|mulpd|mulps|mulsd|mulss|orpd|orps|pabsb|pabsd|pabsw|packssdw|packsswb|packusdw|packuswb|paddb|paddd|paddq|paddsb|paddsw|paddusb|paddusw|paddw|palignr|pand|pandn|pavgb|pavgusb|pavgw|pblendvb|pblendw|pclmulhqhqdq|pclmulhqlqdq|pclmullqhqdq|pclmullqlqdq|pclmulqdq|pcmpeqb|pcmpeqd|pcmpeqq|pcmpeqw|pcmpestri|pcmpestrm|pcmpgtb|pcmpgtd|pcmpgtq|pcmpgtw|pcmpistri|pcmpistrm|pextrb|pextrd|pextrq|pextrw|pextrwl|pextrwq|pf2id|pf2iw|pfacc|pfadd|pfcmpeq|pfcmpge|pfcmpgt|pfmax|pfmin|pfmul|pfnacc|pfpnacc|pfrcp|pfrcpit1|pfrcpit2|pfrsqit1|pfrsqrt|pfsub|pfsubr|phaddd|phaddsw|phaddw|phminposuw|phsubd|phsubsw|phsubw|pi2fd|pi2fw|pinsrb|pinsrd|pinsrq|pinsrw|pinsrwl|pinsrwq|pmaddubsw|pmaddwd|pmaxsb|pmaxsd|pmaxsw|pmaxub|pmaxud|pmaxuw|pminsb|pminsd|pminsw|pminub|pminud|pminuw|pmovmskb|pmovmskbl|pmovmskbq|pmovsxbd|pmovsxbq|pmovsxbw|pmovsxdq|pmovsxwd|pmovsxwq|pmovzxbd|pmovzxbq|pmovzxbw|pmovzxdq|pmovzxwd|pmovzxwq|pmuldq|pmulhrsw|pmulhrw|pmulhuw|pmulhw|pmulld|pmullw|pmuludq|por|psadbw|pshufb|pshufd|pshufhw|pshuflw|pshufw|psignb|psignd|psignw|pslld|pslldq|psllq|psllw|psrad|psraw|psrld|psrldq|psrlq|psrlw|psubb|psubd|psubq|psubsb|psubsw|psubusb|psubusw|psubw|pswapd|ptest|punpckhbw|punpckhdq|punpckhqdq|punpckhwd|punpcklbw|punpckldq|punpcklqdq|punpcklwd|pxor|rcpps|rcpss|roundpd|roundps|roundsd|roundss|rsqrtps|rsqrtss|shufpd|shufps|sqrtpd|sqrtps|sqrtsd|sqrtss|subpd|subps|subsd|subss|ucomisd|ucomiss|unpckhpd|unpckhps|unpcklpd|unpcklps|vaddpd|vaddps|vaddsd|vaddss|vaddsubpd|vaddsubps|vaesdec|vaesdeclast|vaesenc|vaesenclast|vaesimc|vaeskeygenassist|vandnpd|vandnps|vandpd|vandps|vblendpd|vblendps|vblendvpd|vblendvps|vbroadcastf128|vbroadcasti128|vbroadcastsd|vbroadcastss|vcmpeq_ospd|vcmpeq_osps|vcmpeq_ossd|vcmpeq_osss|vcmpeq_uqpd|vcmpeq_uqps|vcmpeq_uqsd|vcmpeq_uqss|vcmpeq_uspd|vcmpeq_usps|vcmpeq_ussd|vcmpeq_usss|vcmpeqpd|vcmpeqps|vcmpeqsd|vcmpeqss|vcmpfalse_ospd|vcmpfalse_osps|vcmpfalse_ossd|vcmpfalse_osss|vcmpfalsepd|vcmpfalseps|vcmpfalsesd|vcmpfalsess|vcmpge_oqpd|vcmpge_oqps|vcmpge_oqsd|vcmpge_oqss|vcmpgepd|vcmpgeps|vcmpgesd|vcmpgess|vcmpgt_oqpd|vcmpgt_oqps|vcmpgt_oqsd|vcmpgt_oqss|vcmpgtpd|vcmpgtps|vcmpgtsd|vcmpgtss|vcmple_oqpd|vcmple_oqps|vcmple_oqsd|vcmple_oqss|vcmplepd|vcmpleps|vcmplesd|vcmpless|vcmplt_oqpd|vcmplt_oqps|vcmplt_oqsd|vcmplt_oqss|vcmpltpd|vcmpltps|vcmpltsd|vcmpltss|vcmpneq_oqpd|vcmpneq_oqps|vcmpneq_oqsd|vcmpneq_oqss|vcmpneq_ospd|vcmpneq_osps|vcmpneq_ossd|vcmpneq_osss|vcmpneq_uspd|vcmpneq_usps|vcmpneq_ussd|vcmpneq_usss|vcmpneqpd|vcmpneqps|vcmpneqsd|vcmpneqss|vcmpnge_uqpd|vcmpnge_uqps|vcmpnge_uqsd|vcmpnge_uqss|vcmpngepd|vcmpngeps|vcmpngesd|vcmpngess|vcmpngt_uqpd|vcmpngt_uqps|vcmpngt_uqsd|vcmpngt_uqss|vcmpngtpd|vcmpngtps|vcmpngtsd|vcmpngtss|vcmpnle_uqpd|vcmpnle_uqps|vcmpnle_uqsd|vcmpnle_uqss|vcmpnlepd|vcmpnleps|vcmpnlesd|vcmpnless|vcmpnlt_uqpd|vcmpnlt_uqps|vcmpnlt_uqsd|vcmpnlt_uqss|vcmpnltpd|vcmpnltps|vcmpnltsd|vcmpnltss|vcmpord_spd|vcmpord_sps|vcmpord_ssd|vcmpord_sss|vcmpordpd|vcmpordps|vcmpordsd|vcmpordss|vcmppd|vcmpps|vcmpsd|vcmpss|vcmptrue_uspd|vcmptrue_usps|vcmptrue_ussd|vcmptrue_usss|vcmptruepd|vcmptrueps|vcmptruesd|vcmptruess|vcmpunord_spd|vcmpunord_sps|vcmpunord_ssd|vcmpunord_sss|vcmpunordpd|vcmpunordps|vcmpunordsd|vcmpunordss|vcomisd|vcomiss|vcvtdq2pd|vcvtdq2ps|vcvtpd2dq|vcvtpd2dqx|vcvtpd2dqy|vcvtpd2ps|vcvtpd2psx|vcvtpd2psy|vcvtph2ps|vcvtps2dq|vcvtps2pd|vcvtps2ph|vcvtsd2si|vcvtsd2sil|vcvtsd2siq|vcvtsd2ss|vcvtsi2sd|vcvtsi2sdl|vcvtsi2sdq|vcvtsi2ss|vcvtsi2ssl|vcvtsi2ssq|vcvtss2sd|vcvtss2si|vcvtss2sil|vcvtss2siq|vcvttpd2dq|vcvttpd2dqx|vcvttpd2dqy|vcvttps2dq|vcvttsd2si|vcvttsd2sil|vcvttsd2siq|vcvttss2si|vcvttss2sil|vcvttss2siq|vdivpd|vdivps|vdivsd|vdivss|vdppd|vdpps|vextractf128|vextracti128|vextractps|vfmadd132pd|vfmadd132ps|vfmadd132sd|vfmadd132ss|vfmadd213pd|vfmadd213ps|vfmadd213sd|vfmadd213ss|vfmadd231pd|vfmadd231ps|vfmadd231sd|vfmadd231ss|vfmaddpd|vfmaddps|vfmaddsd|vfmaddss|vfmaddsub132pd|vfmaddsub132ps|vfmaddsub213pd|vfmaddsub213ps|vfmaddsub231pd|vfmaddsub231ps|vfmaddsubpd|vfmaddsubps|vfmsub132pd|vfmsub132ps|vfmsub132sd|vfmsub132ss|vfmsub213pd|vfmsub213ps|vfmsub213sd|vfmsub213ss|vfmsub231pd|vfmsub231ps|vfmsub231sd|vfmsub231ss|vfmsubadd132pd|vfmsubadd132ps|vfmsubadd213pd|vfmsubadd213ps|vfmsubadd231pd|vfmsubadd231ps|vfmsubaddpd|vfmsubaddps|vfmsubpd|vfmsubps|vfmsubsd|vfmsubss|vfnmadd132pd|vfnmadd132ps|vfnmadd132sd|vfnmadd132ss|vfnmadd213pd|vfnmadd213ps|vfnmadd213sd|vfnmadd213ss|vfnmadd231pd|vfnmadd231ps|vfnmadd231sd|vfnmadd231ss|vfnmaddpd|vfnmaddps|vfnmaddsd|vfnmaddss|vfnmsub132pd|vfnmsub132ps|vfnmsub132sd|vfnmsub132ss|vfnmsub213pd|vfnmsub213ps|vfnmsub213sd|vfnmsub213ss|vfnmsub231pd|vfnmsub231ps|vfnmsub231sd|vfnmsub231ss|vfnmsubpd|vfnmsubps|vfnmsubsd|vfnmsubss|vfrczpd|vfrczps|vfrczsd|vfrczss|vgatherdpd|vgatherdps|vgatherqpd|vgatherqps|vhaddpd|vhaddps|vhsubpd|vhsubps|vinsertf128|vinserti128|vinsertps|vlddqu|vmaskmovdqu|vmaskmovpd|vmaskmovps|vmaxpd|vmaxps|vmaxsd|vmaxss|vminpd|vminps|vminsd|vminss|vmovapd|vmovaps|vmovd|vmovddup|vmovdqa|vmovdqu|vmovhlps|vmovhpd|vmovhps|vmovlhps|vmovlpd|vmovlps|vmovmskpd|vmovmskpdl|vmovmskpdq|vmovmskps|vmovmskpsl|vmovmskpsq|vmovntdq|vmovntdqa|vmovntpd|vmovntps|vmovq|vmovsd|vmovshdup|vmovsldup|vmovss|vmovupd|vmovups|vmpsadbw|vmulpd|vmulps|vmulsd|vmulss|vorpd|vorps|vpabsb|vpabsd|vpabsw|vpackssdw|vpacksswb|vpackusdw|vpackuswb|vpaddb|vpaddd|vpaddq|vpaddsb|vpaddsw|vpaddusb|vpaddusw|vpaddw|vpalignr|vpand|vpandn|vpavgb|vpavgw|vpblendd|vpblendvb|vpblendw|vpbroadcastb|vpbroadcastd|vpbroadcastq|vpbroadcastw|vpclmulhqhqdq|vpclmulhqlqdq|vpclmullqhqdq|vpclmullqlqdq|vpclmulqdq|vpcmov|vpcmpeqb|vpcmpeqd|vpcmpeqq|vpcmpeqw|vpcmpestri|vpcmpestrm|vpcmpgtb|vpcmpgtd|vpcmpgtq|vpcmpgtw|vpcmpistri|vpcmpistrm|vpcomb|vpcomd|vpcomeqb|vpcomeqd|vpcomeqq|vpcomequb|vpcomequd|vpcomequq|vpcomequw|vpcomeqw|vpcomfalseb|vpcomfalsed|vpcomfalseq|vpcomfalseub|vpcomfalseud|vpcomfalseuq|vpcomfalseuw|vpcomfalsew|vpcomgeb|vpcomged|vpcomgeq|vpcomgeub|vpcomgeud|vpcomgeuq|vpcomgeuw|vpcomgew|vpcomgtb|vpcomgtd|vpcomgtq|vpcomgtub|vpcomgtud|vpcomgtuq|vpcomgtuw|vpcomgtw|vpcomleb|vpcomled|vpcomleq|vpcomleub|vpcomleud|vpcomleuq|vpcomleuw|vpcomlew|vpcomltb|vpcomltd|vpcomltq|vpcomltub|vpcomltud|vpcomltuq|vpcomltuw|vpcomltw|vpcomneqb|vpcomneqd|vpcomneqq|vpcomnequb|vpcomnequd|vpcomnequq|vpcomnequw|vpcomneqw|vpcomq|vpcomtrueb|vpcomtrued|vpcomtrueq|vpcomtrueub|vpcomtrueud|vpcomtrueuq|vpcomtrueuw|vpcomtruew|vpcomub|vpcomud|vpcomuq|vpcomuw|vpcomw|vperm2f128|vperm2i128|vpermd|vpermil2pd|vpermil2ps|vpermilpd|vpermilps|vpermpd|vpermps|vpermq|vpextrb|vpextrd|vpextrq|vpextrw|vpextrwl|vpextrwq|vpgatherdd|vpgatherdq|vpgatherqd|vpgatherqq|vphaddbd|vphaddbq|vphaddbw|vphaddd|vphadddq|vphaddsw|vphaddubd|vphaddubq|vphaddubw|vphaddudq|vphadduwd|vphadduwq|vphaddw|vphaddwd|vphaddwq|vphminposuw|vphsubbw|vphsubd|vphsubdq|vphsubsw|vphsubw|vphsubwd|vpinsrb|vpinsrd|vpinsrq|vpinsrw|vpinsrwl|vpinsrwq|vpmacsdd|vpmacsdqh|vpmacsdql|vpmacssdd|vpmacssdqh|vpmacssdql|vpmacsswd|vpmacssww|vpmacswd|vpmacsww|vpmadcsswd|vpmadcswd|vpmaddubsw|vpmaddwd|vpmaskmovd|vpmaskmovq|vpmaxsb|vpmaxsd|vpmaxsw|vpmaxub|vpmaxud|vpmaxuw|vpminsb|vpminsd|vpminsw|vpminub|vpminud|vpminuw|vpmovmskb|vpmovmskbl|vpmovmskbq|vpmovsxbd|vpmovsxbq|vpmovsxbw|vpmovsxdq|vpmovsxwd|vpmovsxwq|vpmovzxbd|vpmovzxbq|vpmovzxbw|vpmovzxdq|vpmovzxwd|vpmovzxwq|vpmuldq|vpmulhrsw|vpmulhuw|vpmulhw|vpmulld|vpmullw|vpmuludq|vpor|vpperm|vprotb|vprotbb|vprotd|vprotdb|vprotq|vprotqb|vprotw|vprotwb|vpsadbw|vpshab|vpshabb|vpshad|vpshadb|vpshaq|vpshaqb|vpshaw|vpshawb|vpshlb|vpshlbb|vpshld|vpshldb|vpshlq|vpshlqb|vpshlw|vpshlwb|vpshufb|vpshufd|vpshufhw|vpshuflw|vpsignb|vpsignd|vpsignw|vpslld|vpslldq|vpsllq|vpsllvd|vpsllvq|vpsllw|vpsrad|vpsravd|vpsraw|vpsrld|vpsrldq|vpsrlq|vpsrlvd|vpsrlvq|vpsrlw|vpsubb|vpsubd|vpsubq|vpsubsb|vpsubsw|vpsubusb|vpsubusw|vpsubw|vptest|vpunpckhbw|vpunpckhdq|vpunpckhqdq|vpunpckhwd|vpunpcklbw|vpunpckldq|vpunpcklqdq|vpunpcklwd|vpxor|vrcpps|vrcpss|vroundpd|vroundps|vroundsd|vroundss|vrsqrtps|vrsqrtss|vshufpd|vshufps|vsqrtpd|vsqrtps|vsqrtsd|vsqrtss|vsubpd|vsubps|vsubsd|vsubss|vtestpd|vtestps|vucomisd|vucomiss|vunpckhpd|vunpckhps|vunpcklpd|vunpcklps|vxorpd|vxorps|xorpd|xorps)\\b"},{"name":"entity.name.function.x86.assembly","match":"^[_a-zA-Z][a-zA-Z0-9-_.]*(?=:)"},{"name":"entity.name.function.x86.assembly","match":"(?\u003c=[\u003c]).+(?=[+\u003e])"},{"name":"meta.preprocessor.x86.assembly","match":"^\\s*[0-9A-Fa-f]{4,}"},{"name":"comment.x86.assembly","match":"(?:--|\\/\\/|\\#|;).*$"},{"name":"storage.type.method.x86.assembly","match":"[*$](?=0x)"},{"name":"constant.numeric.x86.assembly","match":"\\b(?:0x)?[0-9a-fA-F]+\\b"}]}
|
data/grammars/source.xc.json
CHANGED
@@ -1,371 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "XC",
|
3
|
-
"scopeName": "source.xc",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"name": "keyword.control.xc",
|
7
|
-
"match": "\\b(par|select|master|slave|client|server|asm|service|transaction|move|extends)\\b"
|
8
|
-
},
|
9
|
-
{
|
10
|
-
"name": "storage.type.c++",
|
11
|
-
"match": "\\b(chan|chanend|port|interface|timer|clock)\\b"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"name": "keyword.operator.xc",
|
15
|
-
"match": "\\b(unsafe|alias|noalias|movable|in|out|buffered|streaming)\\b"
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"name": "keyword.operator.xc",
|
19
|
-
"match": "\\b(on|when|isnull)\\b"
|
20
|
-
},
|
21
|
-
{
|
22
|
-
"name": "keyword.operator.xc",
|
23
|
-
"match": "\\b(tile|core|tileref)\\b"
|
24
|
-
},
|
25
|
-
{
|
26
|
-
"name": "keyword.operator.xc",
|
27
|
-
"match": "\\b(\\[\\[(combinable|distributed)\\]\\])\\b"
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"include": "#special_block"
|
31
|
-
},
|
32
|
-
{
|
33
|
-
"include": "source.c"
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"name": "storage.modifier.$1.c++",
|
37
|
-
"match": "\\b(friend|explicit|virtual)\\b"
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"name": "storage.modifier.$1.c++",
|
41
|
-
"match": "\\b(private|protected|public):"
|
42
|
-
},
|
43
|
-
{
|
44
|
-
"name": "keyword.control.c++",
|
45
|
-
"match": "\\b(catch|operator|try|throw|using)\\b"
|
46
|
-
},
|
47
|
-
{
|
48
|
-
"name": "keyword.control.c++",
|
49
|
-
"match": "\\bdelete\\b(\\s*\\[\\])?|\\bnew\\b(?!])"
|
50
|
-
},
|
51
|
-
{
|
52
|
-
"name": "variable.other.readwrite.member.c++",
|
53
|
-
"match": "\\b(f|m)[A-Z]\\w*\\b"
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"name": "variable.language.c++",
|
57
|
-
"match": "\\b(this|nullptr)\\b"
|
58
|
-
},
|
59
|
-
{
|
60
|
-
"name": "storage.type.template.c++",
|
61
|
-
"match": "\\btemplate\\b\\s*"
|
62
|
-
},
|
63
|
-
{
|
64
|
-
"name": "keyword.operator.cast.c++",
|
65
|
-
"match": "\\b(const_cast|dynamic_cast|reinterpret_cast|static_cast)\\b\\s*"
|
66
|
-
},
|
67
|
-
{
|
68
|
-
"name": "keyword.operator.c++",
|
69
|
-
"match": "\\b(and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq)\\b"
|
70
|
-
},
|
71
|
-
{
|
72
|
-
"name": "storage.type.c++",
|
73
|
-
"match": "\\b(class|wchar_t)\\b"
|
74
|
-
},
|
75
|
-
{
|
76
|
-
"name": "storage.modifier.c++",
|
77
|
-
"match": "\\b(constexpr|export|mutable|typename|thread_local)\\b"
|
78
|
-
},
|
79
|
-
{
|
80
|
-
"name": "meta.function.destructor.c++",
|
81
|
-
"begin": "(?x)\n \t\t\t\t(?: ^ # begin-of-line\n \t\t\t\t | (?: (?\u003c!else|new|=) ) # or word + space before name\n \t\t\t\t)\n \t\t\t\t((?:[A-Za-z_][A-Za-z0-9_]*::)*+~[A-Za-z_][A-Za-z0-9_]*) # actual name\n \t\t\t\t \\s*(\\() # start bracket or end-of-line\n \t\t\t",
|
82
|
-
"end": "\\)",
|
83
|
-
"patterns": [
|
84
|
-
{
|
85
|
-
"include": "$base"
|
86
|
-
}
|
87
|
-
],
|
88
|
-
"beginCaptures": {
|
89
|
-
"1": {
|
90
|
-
"name": "entity.name.function.c++"
|
91
|
-
},
|
92
|
-
"2": {
|
93
|
-
"name": "punctuation.definition.parameters.begin.c"
|
94
|
-
}
|
95
|
-
},
|
96
|
-
"endCaptures": {
|
97
|
-
"0": {
|
98
|
-
"name": "punctuation.definition.parameters.end.c"
|
99
|
-
}
|
100
|
-
}
|
101
|
-
},
|
102
|
-
{
|
103
|
-
"name": "meta.function.destructor.prototype.c++",
|
104
|
-
"begin": "(?x)\n \t\t\t\t(?: ^ # begin-of-line\n \t\t\t\t | (?: (?\u003c!else|new|=) ) # or word + space before name\n \t\t\t\t)\n \t\t\t\t((?:[A-Za-z_][A-Za-z0-9_]*::)*+~[A-Za-z_][A-Za-z0-9_]*) # actual name\n \t\t\t\t \\s*(\\() # terminating semi-colon\n \t\t\t",
|
105
|
-
"end": "\\)",
|
106
|
-
"patterns": [
|
107
|
-
{
|
108
|
-
"include": "$base"
|
109
|
-
}
|
110
|
-
],
|
111
|
-
"beginCaptures": {
|
112
|
-
"1": {
|
113
|
-
"name": "entity.name.function.c++"
|
114
|
-
},
|
115
|
-
"2": {
|
116
|
-
"name": "punctuation.definition.parameters.begin.c"
|
117
|
-
}
|
118
|
-
},
|
119
|
-
"endCaptures": {
|
120
|
-
"0": {
|
121
|
-
"name": "punctuation.definition.parameters.end.c"
|
122
|
-
}
|
123
|
-
}
|
124
|
-
}
|
125
|
-
],
|
126
|
-
"repository": {
|
127
|
-
"angle_brackets": {
|
128
|
-
"name": "meta.angle-brackets.c++",
|
129
|
-
"begin": "\u003c",
|
130
|
-
"end": "\u003e",
|
131
|
-
"patterns": [
|
132
|
-
{
|
133
|
-
"include": "#angle_brackets"
|
134
|
-
},
|
135
|
-
{
|
136
|
-
"include": "$base"
|
137
|
-
}
|
138
|
-
]
|
139
|
-
},
|
140
|
-
"block": {
|
141
|
-
"name": "meta.block.c++",
|
142
|
-
"begin": "\\{",
|
143
|
-
"end": "\\}",
|
144
|
-
"patterns": [
|
145
|
-
{
|
146
|
-
"name": "meta.function-call.c",
|
147
|
-
"match": "(?x)\n \t\t\t\t(\n \t\t\t\t\t(?!while|for|do|if|else|switch|catch|enumerate|return|r?iterate)(?: \\b[A-Za-z_][A-Za-z0-9_]*+\\b | :: )*+ # actual name\n \t\t\t\t)\n \t\t\t\t \\s*(\\()",
|
148
|
-
"captures": {
|
149
|
-
"1": {
|
150
|
-
"name": "support.function.any-method.c"
|
151
|
-
},
|
152
|
-
"2": {
|
153
|
-
"name": "punctuation.definition.parameters.c"
|
154
|
-
}
|
155
|
-
}
|
156
|
-
},
|
157
|
-
{
|
158
|
-
"include": "$base"
|
159
|
-
}
|
160
|
-
],
|
161
|
-
"beginCaptures": {
|
162
|
-
"0": {
|
163
|
-
"name": "punctuation.section.block.begin.c"
|
164
|
-
}
|
165
|
-
},
|
166
|
-
"endCaptures": {
|
167
|
-
"0": {
|
168
|
-
"name": "punctuation.section.block.end.c"
|
169
|
-
}
|
170
|
-
}
|
171
|
-
},
|
172
|
-
"constructor": {
|
173
|
-
"patterns": [
|
174
|
-
{
|
175
|
-
"name": "meta.function.constructor.c++",
|
176
|
-
"begin": "(?x)\n \t\t\t\t(?: ^\\s*) # begin-of-line\n \t\t\t\t((?!while|for|do|if|else|switch|catch|enumerate|r?iterate)[A-Za-z_][A-Za-z0-9_:]*) # actual name\n \t\t\t\t \\s*(\\() # start bracket or end-of-line\n \t\t\t",
|
177
|
-
"end": "\\)",
|
178
|
-
"patterns": [
|
179
|
-
{
|
180
|
-
"include": "$base"
|
181
|
-
}
|
182
|
-
],
|
183
|
-
"beginCaptures": {
|
184
|
-
"1": {
|
185
|
-
"name": "entity.name.function.c++"
|
186
|
-
},
|
187
|
-
"2": {
|
188
|
-
"name": "punctuation.definition.parameters.begin.c"
|
189
|
-
}
|
190
|
-
},
|
191
|
-
"endCaptures": {
|
192
|
-
"0": {
|
193
|
-
"name": "punctuation.definition.parameters.end.c"
|
194
|
-
}
|
195
|
-
}
|
196
|
-
},
|
197
|
-
{
|
198
|
-
"name": "meta.function.constructor.initializer-list.c++",
|
199
|
-
"begin": "(?x)\n \t\t\t\t(:) # begin-of-line\n \t\t\t\t((?=\\s*[A-Za-z_][A-Za-z0-9_:]* # actual name\n \t\t\t\t \\s*(\\())) # start bracket or end-of-line\n \t\t\t",
|
200
|
-
"end": "(?=\\{)",
|
201
|
-
"patterns": [
|
202
|
-
{
|
203
|
-
"include": "$base"
|
204
|
-
}
|
205
|
-
],
|
206
|
-
"beginCaptures": {
|
207
|
-
"1": {
|
208
|
-
"name": "punctuation.definition.parameters.c"
|
209
|
-
}
|
210
|
-
}
|
211
|
-
}
|
212
|
-
]
|
213
|
-
},
|
214
|
-
"special_block": {
|
215
|
-
"patterns": [
|
216
|
-
{
|
217
|
-
"name": "meta.namespace-block${2:+.$2}.c++",
|
218
|
-
"begin": "\\b(namespace)\\b\\s*([_A-Za-z][_A-Za-z0-9]*\\b)?+",
|
219
|
-
"end": "(?\u003c=\\})|(?=(;|,|\\(|\\)|\u003e|\\[|\\]|=))",
|
220
|
-
"patterns": [
|
221
|
-
{
|
222
|
-
"begin": "\\{",
|
223
|
-
"end": "\\}",
|
224
|
-
"patterns": [
|
225
|
-
{
|
226
|
-
"include": "#special_block"
|
227
|
-
},
|
228
|
-
{
|
229
|
-
"include": "#constructor"
|
230
|
-
},
|
231
|
-
{
|
232
|
-
"include": "$base"
|
233
|
-
}
|
234
|
-
],
|
235
|
-
"beginCaptures": {
|
236
|
-
"0": {
|
237
|
-
"name": "punctuation.definition.scope.c++"
|
238
|
-
}
|
239
|
-
},
|
240
|
-
"endCaptures": {
|
241
|
-
"0": {
|
242
|
-
"name": "punctuation.definition.scope.c++"
|
243
|
-
}
|
244
|
-
}
|
245
|
-
},
|
246
|
-
{
|
247
|
-
"include": "$base"
|
248
|
-
}
|
249
|
-
],
|
250
|
-
"captures": {
|
251
|
-
"1": {
|
252
|
-
"name": "keyword.control.namespace.$2"
|
253
|
-
}
|
254
|
-
},
|
255
|
-
"beginCaptures": {
|
256
|
-
"1": {
|
257
|
-
"name": "storage.type.c++"
|
258
|
-
},
|
259
|
-
"2": {
|
260
|
-
"name": "entity.name.type.c++"
|
261
|
-
}
|
262
|
-
}
|
263
|
-
},
|
264
|
-
{
|
265
|
-
"name": "meta.class-struct-block.c++",
|
266
|
-
"begin": "\\b(class|struct)\\b\\s*([_A-Za-z][_A-Za-z0-9]*\\b)?+(\\s*:\\s*(public|protected|private)\\s*([_A-Za-z][_A-Za-z0-9]*\\b)((\\s*,\\s*(public|protected|private)\\s*[_A-Za-z][_A-Za-z0-9]*\\b)*))?",
|
267
|
-
"end": "(?\u003c=\\})|(?=(;|\\(|\\)|\u003e|\\[|\\]|=))",
|
268
|
-
"patterns": [
|
269
|
-
{
|
270
|
-
"include": "#angle_brackets"
|
271
|
-
},
|
272
|
-
{
|
273
|
-
"begin": "\\{",
|
274
|
-
"end": "(\\})(\\s*\\n)?",
|
275
|
-
"patterns": [
|
276
|
-
{
|
277
|
-
"include": "#special_block"
|
278
|
-
},
|
279
|
-
{
|
280
|
-
"include": "#constructor"
|
281
|
-
},
|
282
|
-
{
|
283
|
-
"include": "$base"
|
284
|
-
}
|
285
|
-
],
|
286
|
-
"beginCaptures": {
|
287
|
-
"0": {
|
288
|
-
"name": "punctuation.section.block.begin.c++"
|
289
|
-
}
|
290
|
-
},
|
291
|
-
"endCaptures": {
|
292
|
-
"1": {
|
293
|
-
"name": "punctuation.definition.invalid.c++"
|
294
|
-
},
|
295
|
-
"2": {
|
296
|
-
"name": "invalid.illegal.you-forgot-semicolon.c++"
|
297
|
-
}
|
298
|
-
}
|
299
|
-
},
|
300
|
-
{
|
301
|
-
"include": "$base"
|
302
|
-
}
|
303
|
-
],
|
304
|
-
"beginCaptures": {
|
305
|
-
"1": {
|
306
|
-
"name": "storage.type.c++"
|
307
|
-
},
|
308
|
-
"2": {
|
309
|
-
"name": "entity.name.type.c++"
|
310
|
-
},
|
311
|
-
"4": {
|
312
|
-
"name": "storage.type.modifier.c++"
|
313
|
-
},
|
314
|
-
"5": {
|
315
|
-
"name": "entity.name.type.inherited.c++"
|
316
|
-
},
|
317
|
-
"6": {
|
318
|
-
"patterns": [
|
319
|
-
{
|
320
|
-
"name": "storage.type.modifier.c++",
|
321
|
-
"match": "(public|protected|private)"
|
322
|
-
},
|
323
|
-
{
|
324
|
-
"name": "entity.name.type.inherited.c++",
|
325
|
-
"match": "[_A-Za-z][_A-Za-z0-9]*"
|
326
|
-
}
|
327
|
-
]
|
328
|
-
}
|
329
|
-
}
|
330
|
-
},
|
331
|
-
{
|
332
|
-
"name": "meta.extern-block.c++",
|
333
|
-
"begin": "\\b(extern)(?=\\s*\")",
|
334
|
-
"end": "(?\u003c=\\})|(?=\\w)",
|
335
|
-
"patterns": [
|
336
|
-
{
|
337
|
-
"begin": "\\{",
|
338
|
-
"end": "\\}",
|
339
|
-
"patterns": [
|
340
|
-
{
|
341
|
-
"include": "#special_block"
|
342
|
-
},
|
343
|
-
{
|
344
|
-
"include": "$base"
|
345
|
-
}
|
346
|
-
],
|
347
|
-
"beginCaptures": {
|
348
|
-
"0": {
|
349
|
-
"name": "punctuation.section.block.begin.c"
|
350
|
-
}
|
351
|
-
},
|
352
|
-
"endCaptures": {
|
353
|
-
"0": {
|
354
|
-
"name": "punctuation.section.block.end.c"
|
355
|
-
}
|
356
|
-
}
|
357
|
-
},
|
358
|
-
{
|
359
|
-
"include": "$base"
|
360
|
-
}
|
361
|
-
],
|
362
|
-
"beginCaptures": {
|
363
|
-
"1": {
|
364
|
-
"name": "storage.modifier.c++"
|
365
|
-
}
|
366
|
-
}
|
367
|
-
}
|
368
|
-
]
|
369
|
-
}
|
370
|
-
}
|
371
|
-
}
|
1
|
+
{"name":"XC","scopeName":"source.xc","patterns":[{"name":"keyword.control.xc","match":"\\b(par|select|master|slave|client|server|asm|service|transaction|move|extends)\\b"},{"name":"storage.type.c++","match":"\\b(chan|chanend|port|interface|timer|clock)\\b"},{"name":"keyword.operator.xc","match":"\\b(unsafe|alias|noalias|movable|in|out|buffered|streaming)\\b"},{"name":"keyword.operator.xc","match":"\\b(on|when|isnull)\\b"},{"name":"keyword.operator.xc","match":"\\b(tile|core|tileref)\\b"},{"name":"keyword.operator.xc","match":"\\b(\\[\\[(combinable|distributed)\\]\\])\\b"},{"include":"#special_block"},{"include":"source.c"},{"name":"storage.modifier.$1.c++","match":"\\b(friend|explicit|virtual)\\b"},{"name":"storage.modifier.$1.c++","match":"\\b(private|protected|public):"},{"name":"keyword.control.c++","match":"\\b(catch|operator|try|throw|using)\\b"},{"name":"keyword.control.c++","match":"\\bdelete\\b(\\s*\\[\\])?|\\bnew\\b(?!])"},{"name":"variable.other.readwrite.member.c++","match":"\\b(f|m)[A-Z]\\w*\\b"},{"name":"variable.language.c++","match":"\\b(this|nullptr)\\b"},{"name":"storage.type.template.c++","match":"\\btemplate\\b\\s*"},{"name":"keyword.operator.cast.c++","match":"\\b(const_cast|dynamic_cast|reinterpret_cast|static_cast)\\b\\s*"},{"name":"keyword.operator.c++","match":"\\b(and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq)\\b"},{"name":"storage.type.c++","match":"\\b(class|wchar_t)\\b"},{"name":"storage.modifier.c++","match":"\\b(constexpr|export|mutable|typename|thread_local)\\b"},{"name":"meta.function.destructor.c++","begin":"(?x)\n \t\t\t\t(?: ^ # begin-of-line\n \t\t\t\t | (?: (?\u003c!else|new|=) ) # or word + space before name\n \t\t\t\t)\n \t\t\t\t((?:[A-Za-z_][A-Za-z0-9_]*::)*+~[A-Za-z_][A-Za-z0-9_]*) # actual name\n \t\t\t\t \\s*(\\() # start bracket or end-of-line\n \t\t\t","end":"\\)","patterns":[{"include":"$base"}],"beginCaptures":{"1":{"name":"entity.name.function.c++"},"2":{"name":"punctuation.definition.parameters.begin.c"}},"endCaptures":{"0":{"name":"punctuation.definition.parameters.end.c"}}},{"name":"meta.function.destructor.prototype.c++","begin":"(?x)\n \t\t\t\t(?: ^ # begin-of-line\n \t\t\t\t | (?: (?\u003c!else|new|=) ) # or word + space before name\n \t\t\t\t)\n \t\t\t\t((?:[A-Za-z_][A-Za-z0-9_]*::)*+~[A-Za-z_][A-Za-z0-9_]*) # actual name\n \t\t\t\t \\s*(\\() # terminating semi-colon\n \t\t\t","end":"\\)","patterns":[{"include":"$base"}],"beginCaptures":{"1":{"name":"entity.name.function.c++"},"2":{"name":"punctuation.definition.parameters.begin.c"}},"endCaptures":{"0":{"name":"punctuation.definition.parameters.end.c"}}}],"repository":{"angle_brackets":{"name":"meta.angle-brackets.c++","begin":"\u003c","end":"\u003e","patterns":[{"include":"#angle_brackets"},{"include":"$base"}]},"block":{"name":"meta.block.c++","begin":"\\{","end":"\\}","patterns":[{"name":"meta.function-call.c","match":"(?x)\n \t\t\t\t(\n \t\t\t\t\t(?!while|for|do|if|else|switch|catch|enumerate|return|r?iterate)(?: \\b[A-Za-z_][A-Za-z0-9_]*+\\b | :: )*+ # actual name\n \t\t\t\t)\n \t\t\t\t \\s*(\\()","captures":{"1":{"name":"support.function.any-method.c"},"2":{"name":"punctuation.definition.parameters.c"}}},{"include":"$base"}],"beginCaptures":{"0":{"name":"punctuation.section.block.begin.c"}},"endCaptures":{"0":{"name":"punctuation.section.block.end.c"}}},"constructor":{"patterns":[{"name":"meta.function.constructor.c++","begin":"(?x)\n \t\t\t\t(?: ^\\s*) # begin-of-line\n \t\t\t\t((?!while|for|do|if|else|switch|catch|enumerate|r?iterate)[A-Za-z_][A-Za-z0-9_:]*) # actual name\n \t\t\t\t \\s*(\\() # start bracket or end-of-line\n \t\t\t","end":"\\)","patterns":[{"include":"$base"}],"beginCaptures":{"1":{"name":"entity.name.function.c++"},"2":{"name":"punctuation.definition.parameters.begin.c"}},"endCaptures":{"0":{"name":"punctuation.definition.parameters.end.c"}}},{"name":"meta.function.constructor.initializer-list.c++","begin":"(?x)\n \t\t\t\t(:) # begin-of-line\n \t\t\t\t((?=\\s*[A-Za-z_][A-Za-z0-9_:]* # actual name\n \t\t\t\t \\s*(\\())) # start bracket or end-of-line\n \t\t\t","end":"(?=\\{)","patterns":[{"include":"$base"}],"beginCaptures":{"1":{"name":"punctuation.definition.parameters.c"}}}]},"special_block":{"patterns":[{"name":"meta.namespace-block${2:+.$2}.c++","begin":"\\b(namespace)\\b\\s*([_A-Za-z][_A-Za-z0-9]*\\b)?+","end":"(?\u003c=\\})|(?=(;|,|\\(|\\)|\u003e|\\[|\\]|=))","patterns":[{"begin":"\\{","end":"\\}","patterns":[{"include":"#special_block"},{"include":"#constructor"},{"include":"$base"}],"beginCaptures":{"0":{"name":"punctuation.definition.scope.c++"}},"endCaptures":{"0":{"name":"punctuation.definition.scope.c++"}}},{"include":"$base"}],"captures":{"1":{"name":"keyword.control.namespace.$2"}},"beginCaptures":{"1":{"name":"storage.type.c++"},"2":{"name":"entity.name.type.c++"}}},{"name":"meta.class-struct-block.c++","begin":"\\b(class|struct)\\b\\s*([_A-Za-z][_A-Za-z0-9]*\\b)?+(\\s*:\\s*(public|protected|private)\\s*([_A-Za-z][_A-Za-z0-9]*\\b)((\\s*,\\s*(public|protected|private)\\s*[_A-Za-z][_A-Za-z0-9]*\\b)*))?","end":"(?\u003c=\\})|(?=(;|\\(|\\)|\u003e|\\[|\\]|=))","patterns":[{"include":"#angle_brackets"},{"begin":"\\{","end":"(\\})(\\s*\\n)?","patterns":[{"include":"#special_block"},{"include":"#constructor"},{"include":"$base"}],"beginCaptures":{"0":{"name":"punctuation.section.block.begin.c++"}},"endCaptures":{"1":{"name":"punctuation.definition.invalid.c++"},"2":{"name":"invalid.illegal.you-forgot-semicolon.c++"}}},{"include":"$base"}],"beginCaptures":{"1":{"name":"storage.type.c++"},"2":{"name":"entity.name.type.c++"},"4":{"name":"storage.type.modifier.c++"},"5":{"name":"entity.name.type.inherited.c++"},"6":{"patterns":[{"name":"storage.type.modifier.c++","match":"(public|protected|private)"},{"name":"entity.name.type.inherited.c++","match":"[_A-Za-z][_A-Za-z0-9]*"}]}}},{"name":"meta.extern-block.c++","begin":"\\b(extern)(?=\\s*\")","end":"(?\u003c=\\})|(?=\\w)","patterns":[{"begin":"\\{","end":"\\}","patterns":[{"include":"#special_block"},{"include":"$base"}],"beginCaptures":{"0":{"name":"punctuation.section.block.begin.c"}},"endCaptures":{"0":{"name":"punctuation.section.block.end.c"}}},{"include":"$base"}],"beginCaptures":{"1":{"name":"storage.modifier.c++"}}}]}}}
|