github-linguist 5.3.3 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (460) hide show
  1. checksums.yaml +4 -4
  2. data/bin/git-linguist +5 -2
  3. data/ext/linguist/linguist.c +18 -7
  4. data/grammars/annotation.liquidhaskell.haskell.json +969 -862
  5. data/grammars/config.xcompose.json +22 -25
  6. data/grammars/file.lasso.json +296 -309
  7. data/grammars/hint.haskell.json +867 -766
  8. data/grammars/hint.message.haskell.json +867 -766
  9. data/grammars/hint.type.haskell.json +867 -766
  10. data/grammars/objdump.x86asm.json +20 -24
  11. data/grammars/source.Kotlin.json +220 -225
  12. data/grammars/source.LS.json +36 -55
  13. data/grammars/source.MCPOST.json +24 -38
  14. data/grammars/source.MOD.json +26 -41
  15. data/grammars/source.SASLog.json +9 -16
  16. data/grammars/source.abap.json +48 -56
  17. data/grammars/source.abl.json +8 -14
  18. data/grammars/source.abnf.json +88 -98
  19. data/grammars/source.actionscript.3.json +398 -429
  20. data/grammars/source.acucobol.json +5 -8
  21. data/grammars/source.ada.json +46 -53
  22. data/grammars/source.afm.json +548 -554
  23. data/grammars/source.agc.json +34 -37
  24. data/grammars/source.agda.json +79 -91
  25. data/grammars/source.ahk.json +62 -66
  26. data/grammars/source.alloy.json +16 -20
  27. data/grammars/source.ampl.json +41 -47
  28. data/grammars/source.angelscript.json +71 -80
  29. data/grammars/source.antlr.json +131 -136
  30. data/grammars/source.apache-config.json +93 -99
  31. data/grammars/source.apache-config.mod_perl.json +19 -24
  32. data/grammars/source.apl.json +1038 -1029
  33. data/grammars/source.applescript.json +501 -523
  34. data/grammars/source.apt.json +9 -16
  35. data/grammars/source.asn.json +27 -31
  36. data/grammars/source.asp.json +61 -67
  37. data/grammars/source.aspectj.json +385 -391
  38. data/grammars/source.assembly.json +49 -55
  39. data/grammars/source.ats.json +45 -121
  40. data/grammars/source.autoit.json +64 -69
  41. data/grammars/source.awk.json +172 -176
  42. data/grammars/source.ballerina.json +48 -395
  43. data/grammars/source.batchfile.json +269 -269
  44. data/grammars/source.befunge.json +17 -21
  45. data/grammars/source.bf.json +5 -11
  46. data/grammars/source.bison.json +10 -14
  47. data/grammars/source.blitzmax.json +300 -305
  48. data/grammars/source.boo.json +189 -193
  49. data/grammars/source.brightauthorproject.json +8 -13
  50. data/grammars/source.brightscript.json +37 -47
  51. data/grammars/source.bro.json +134 -140
  52. data/grammars/source.bsl.json +152 -193
  53. data/grammars/source.bsv.json +96 -102
  54. data/grammars/source.c++.json +176 -193
  55. data/grammars/source.c++.qt.json +13 -21
  56. data/grammars/source.c.ec.json +15 -21
  57. data/grammars/source.c.json +237 -251
  58. data/grammars/source.c.platform.json +153 -159
  59. data/grammars/source.c2hs.json +3 -6
  60. data/grammars/source.cabal.json +17 -20
  61. data/grammars/source.cache.cmake.json +18 -23
  62. data/grammars/source.cake.json +4 -7
  63. data/grammars/source.camlp4.ocaml.json +24 -27
  64. data/grammars/source.capnp.json +33 -38
  65. data/grammars/source.ceylon.json +44 -50
  66. data/grammars/source.cfscript.cfc.json +78 -86
  67. data/grammars/source.cfscript.json +513 -520
  68. data/grammars/source.changelogs.rpm-spec.json +8 -16
  69. data/grammars/source.chapel.json +109 -87
  70. data/grammars/source.cirru.json +25 -30
  71. data/grammars/source.clarion.json +41 -54
  72. data/grammars/source.clean.json +90 -95
  73. data/grammars/source.click.json +25 -28
  74. data/grammars/source.clips.json +10 -23
  75. data/grammars/source.clojure.json +151 -168
  76. data/grammars/source.cm.json +14 -19
  77. data/grammars/source.cmake.json +53 -61
  78. data/grammars/source.cobol.json +165 -180
  79. data/grammars/source.coffee.json +454 -462
  80. data/grammars/source.cool.json +36 -43
  81. data/grammars/source.coq.json +17 -21
  82. data/grammars/source.crystal.json +889 -983
  83. data/grammars/source.cs.json +739 -740
  84. data/grammars/source.csound-document.json +69 -73
  85. data/grammars/source.csound-score.json +52 -55
  86. data/grammars/source.csound.json +167 -171
  87. data/grammars/source.css.json +683 -688
  88. data/grammars/source.css.less.json +211 -511
  89. data/grammars/source.css.mss.json +94 -101
  90. data/grammars/source.css.postcss.sugarss.json +260 -0
  91. data/grammars/source.csx.json +4 -7
  92. data/grammars/source.cuda-c++.json +47 -81
  93. data/grammars/source.cwl.json +103 -0
  94. data/grammars/source.cython.json +536 -582
  95. data/grammars/source.d.json +243 -252
  96. data/grammars/source.dart.json +161 -166
  97. data/grammars/source.data-weave.json +901 -905
  98. data/grammars/source.desktop.json +29 -33
  99. data/grammars/source.diff.json +43 -52
  100. data/grammars/source.disasm.json +15 -16
  101. data/grammars/source.ditroff.desc.json +73 -84
  102. data/grammars/source.ditroff.json +60 -61
  103. data/grammars/source.dm.json +202 -213
  104. data/grammars/source.dmf.json +44 -47
  105. data/grammars/source.dockerfile.json +29 -34
  106. data/grammars/source.dot.json +46 -55
  107. data/grammars/source.dylan.json +63 -68
  108. data/grammars/source.ebnf.json +55 -62
  109. data/grammars/source.eiffel.json +57 -62
  110. data/grammars/source.elixir.json +321 -366
  111. data/grammars/source.emacs.lisp.json +458 -249
  112. data/grammars/source.erazor.json +49 -57
  113. data/grammars/source.erlang.json +508 -515
  114. data/grammars/source.essl.json +17 -30
  115. data/grammars/source.factor.json +85 -91
  116. data/grammars/source.fan.json +92 -96
  117. data/grammars/source.fancy.json +93 -118
  118. data/grammars/source.fish.json +74 -98
  119. data/grammars/source.fontforge.json +142 -146
  120. data/grammars/source.forth.json +42 -57
  121. data/grammars/source.fortran.json +193 -231
  122. data/grammars/source.fortran.modern.json +77 -103
  123. data/grammars/source.fsharp.fsi.json +1 -6
  124. data/grammars/source.fsharp.fsl.json +1 -6
  125. data/grammars/source.fsharp.fsx.json +1 -6
  126. data/grammars/source.fsharp.json +148 -153
  127. data/grammars/source.gap.json +60 -70
  128. data/grammars/source.gcode.json +9 -16
  129. data/grammars/source.gdb.json +63 -79
  130. data/grammars/source.gdb.session.json +27 -28
  131. data/grammars/source.gdbregs.json +7 -8
  132. data/grammars/source.gdscript.json +92 -96
  133. data/grammars/source.gerber.json +38 -56
  134. data/grammars/source.gfm.json +447 -462
  135. data/grammars/source.glsl.json +58 -83
  136. data/grammars/source.gn.json +188 -193
  137. data/grammars/source.gnuplot.json +104 -120
  138. data/grammars/source.go.json +169 -181
  139. data/grammars/source.golo.json +82 -87
  140. data/grammars/source.gosu.2.json +58 -68
  141. data/grammars/source.grace.json +266 -270
  142. data/grammars/source.graphql.json +586 -596
  143. data/grammars/source.groovy.gradle.json +18 -22
  144. data/grammars/source.groovy.json +422 -433
  145. data/grammars/source.harbour.json +129 -173
  146. data/grammars/source.haskell.json +871 -772
  147. data/grammars/source.haxe.2.json +402 -413
  148. data/grammars/source.hlsl.json +6 -16
  149. data/grammars/source.hsc2hs.json +1 -4
  150. data/grammars/source.hsig.json +871 -770
  151. data/grammars/source.hss.1.json +122 -144
  152. data/grammars/source.httpspec.json +119 -123
  153. data/grammars/source.hxml.json +8 -15
  154. data/grammars/source.ideal.json +125 -125
  155. data/grammars/source.idl-dlm.json +25 -32
  156. data/grammars/source.idl.json +59 -80
  157. data/grammars/source.idris.json +171 -185
  158. data/grammars/source.inform7.json +117 -121
  159. data/grammars/source.ini.json +37 -43
  160. data/grammars/source.io.json +65 -73
  161. data/grammars/source.ioke.json +72 -78
  162. data/grammars/source.isabelle.root.json +26 -30
  163. data/grammars/source.isabelle.theory.json +46 -50
  164. data/grammars/source.j.json +18 -21
  165. data/grammars/source.jasmin.json +45 -50
  166. data/grammars/source.java-properties.json +31 -41
  167. data/grammars/source.java.json +333 -342
  168. data/grammars/source.jcl.json +15 -18
  169. data/grammars/source.jflex.json +166 -172
  170. data/grammars/source.jison.json +331 -334
  171. data/grammars/source.jisonlex-injection.json +1 -2
  172. data/grammars/source.jisonlex.json +148 -151
  173. data/grammars/source.jolie.json +37 -43
  174. data/grammars/source.jq.json +80 -87
  175. data/grammars/source.js.json +798 -818
  176. data/grammars/source.js.jsx.json +2115 -2225
  177. data/grammars/source.js.objj.json +167 -172
  178. data/grammars/source.js.regexp.json +50 -50
  179. data/grammars/source.js.regexp.replacement.json +7 -7
  180. data/grammars/source.jsdoc.json +94 -94
  181. data/grammars/source.json.json +61 -71
  182. data/grammars/source.julia.console.json +5 -6
  183. data/grammars/source.julia.json +237 -234
  184. data/grammars/source.lean.json +55 -67
  185. data/grammars/source.lid.json +6 -10
  186. data/grammars/source.lilypond.json +181 -195
  187. data/grammars/source.lisp.json +40 -50
  188. data/grammars/source.litcoffee.json +169 -183
  189. data/grammars/source.livescript.json +207 -220
  190. data/grammars/source.llvm.json +28 -38
  191. data/grammars/source.logos.json +7 -14
  192. data/grammars/source.logtalk.json +136 -141
  193. data/grammars/source.loomscript.json +77 -83
  194. data/grammars/source.lsl.json +90 -106
  195. data/grammars/source.lua.json +100 -109
  196. data/grammars/source.makefile.json +181 -188
  197. data/grammars/source.makegen.json +3 -7
  198. data/grammars/source.mask.json +260 -265
  199. data/grammars/source.mata.json +38 -46
  200. data/grammars/source.mathematica.json +155 -167
  201. data/grammars/source.matlab.json +407 -684
  202. data/grammars/source.maxscript.json +293 -281
  203. data/grammars/source.mercury.json +179 -184
  204. data/grammars/source.meson.json +52 -58
  205. data/grammars/source.meta-info.json +64 -74
  206. data/grammars/source.ml.json +107 -113
  207. data/grammars/source.modelica.json +51 -59
  208. data/grammars/source.modula2.json +33 -42
  209. data/grammars/source.monkey.json +234 -241
  210. data/grammars/source.moonscript.json +51 -56
  211. data/grammars/source.mql5.json +74 -101
  212. data/grammars/source.mupad.json +30 -72
  213. data/grammars/source.ncl.json +1 -14
  214. data/grammars/source.ne.json +39 -42
  215. data/grammars/source.nemerle.json +58 -63
  216. data/grammars/source.nesc.json +9 -15
  217. data/grammars/source.netlinx.erb.json +13 -25
  218. data/grammars/source.netlinx.json +231 -292
  219. data/grammars/source.nextflow-groovy.json +1360 -0
  220. data/grammars/source.nextflow.json +74 -0
  221. data/grammars/source.nginx.json +274 -287
  222. data/grammars/source.nim.json +442 -483
  223. data/grammars/source.nim_filter.json +6 -26
  224. data/grammars/source.nimcfg.json +38 -51
  225. data/grammars/source.ninja.json +64 -70
  226. data/grammars/source.nit.json +60 -64
  227. data/grammars/source.nix.json +269 -273
  228. data/grammars/source.nmml.json +31 -37
  229. data/grammars/source.nsis.json +66 -72
  230. data/grammars/source.nu.json +129 -139
  231. data/grammars/source.nut.json +129 -133
  232. data/grammars/source.objc++.json +3 -10
  233. data/grammars/source.objc.json +303 -314
  234. data/grammars/source.objc.platform.json +145 -151
  235. data/grammars/source.ocaml.json +506 -514
  236. data/grammars/source.ocamllex.json +108 -115
  237. data/grammars/source.ocamlyacc.json +116 -123
  238. data/grammars/source.ooc.json +148 -155
  239. data/grammars/source.opa.json +39 -49
  240. data/grammars/source.opal.json +84 -89
  241. data/grammars/source.opalsysdefs.json +9 -13
  242. data/grammars/source.opencobol.json +22 -25
  243. data/grammars/source.opentype.json +148 -152
  244. data/grammars/source.ox.json +36 -44
  245. data/grammars/source.oz.json +31 -38
  246. data/grammars/source.p4.json +49 -59
  247. data/grammars/source.pan.json +273 -278
  248. data/grammars/source.papyrus.skyrim.json +705 -781
  249. data/grammars/source.parrot.pir.json +59 -65
  250. data/grammars/source.pascal.json +54 -61
  251. data/grammars/source.pawn.json +835 -849
  252. data/grammars/source.pcb.board.json +153 -158
  253. data/grammars/source.pcb.schematic.json +134 -138
  254. data/grammars/source.pcb.sexp.json +64 -74
  255. data/grammars/source.pep8.json +28 -32
  256. data/grammars/source.perl.6.json +83 -92
  257. data/grammars/source.perl.json +711 -737
  258. data/grammars/source.perl6fe.json +1204 -1218
  259. data/grammars/source.php.zephir.json +80 -89
  260. data/grammars/source.pic.json +137 -142
  261. data/grammars/source.pig_latin.json +76 -80
  262. data/grammars/source.pike.json +23 -36
  263. data/grammars/source.po.json +74 -84
  264. data/grammars/source.pogoscript.json +23 -29
  265. data/grammars/source.pony.json +98 -108
  266. data/grammars/source.postcss.json +370 -0
  267. data/grammars/source.postscript.json +88 -97
  268. data/grammars/source.pov-ray sdl.json +36 -42
  269. data/grammars/source.powershell.json +175 -197
  270. data/grammars/source.processing.json +236 -249
  271. data/grammars/source.prolog.eclipse.json +33 -38
  272. data/grammars/source.prolog.json +66 -72
  273. data/grammars/source.protobuf.json +88 -94
  274. data/grammars/source.puppet.json +144 -151
  275. data/grammars/source.purescript.json +268 -289
  276. data/grammars/source.pyjade.json +256 -281
  277. data/grammars/source.python.django.json +13 -18
  278. data/grammars/source.python.json +3319 -3367
  279. data/grammars/source.python.salt.json +3 -7
  280. data/grammars/source.qmake.json +83 -90
  281. data/grammars/source.qml.json +57 -78
  282. data/grammars/source.quoting.perl6fe.json +666 -669
  283. data/grammars/source.r.json +75 -84
  284. data/grammars/source.racket.json +17 -38
  285. data/grammars/source.rascal.json +77 -80
  286. data/grammars/source.reason.hover.type.json +1 -1
  287. data/grammars/source.reason.json +1025 -1080
  288. data/grammars/source.rebol.json +167 -177
  289. data/grammars/source.red.json +169 -177
  290. data/grammars/source.regexp.babel.json +74 -77
  291. data/grammars/source.regexp.extended.json +4 -5
  292. data/grammars/source.regexp.json +260 -264
  293. data/grammars/source.regexp.perl6fe.json +108 -111
  294. data/grammars/source.regexp.python.json +210 -215
  295. data/grammars/source.regexp.spin.json +63 -72
  296. data/grammars/source.renpy.json +617 -687
  297. data/grammars/source.rexx.json +25 -32
  298. data/grammars/source.ring.json +84 -114
  299. data/grammars/source.rpm-spec.json +392 -401
  300. data/grammars/source.ruby.gemfile.json +9 -12
  301. data/grammars/source.ruby.json +862 -952
  302. data/grammars/source.ruby.rspec.cucumber.steps.json +90 -103
  303. data/grammars/source.rust.json +223 -281
  304. data/grammars/source.sas.json +88 -105
  305. data/grammars/source.sass.json +100 -108
  306. data/grammars/source.sbt.json +16 -23
  307. data/grammars/source.scad.json +60 -67
  308. data/grammars/source.scala.json +215 -228
  309. data/grammars/source.scaml.json +120 -135
  310. data/grammars/source.scheme.json +119 -136
  311. data/grammars/source.scilab.json +40 -47
  312. data/grammars/source.scss.json +369 -403
  313. data/grammars/source.sdbl.json +14 -25
  314. data/grammars/source.shaderlab.json +24 -27
  315. data/grammars/source.shell.json +409 -440
  316. data/grammars/source.shen.json +75 -94
  317. data/grammars/source.smali.json +232 -293
  318. data/grammars/source.smalltalk.json +60 -75
  319. data/grammars/source.smt.json +67 -82
  320. data/grammars/source.solidity.json +35 -54
  321. data/grammars/source.sp.json +40 -45
  322. data/grammars/source.sparql.json +3 -8
  323. data/grammars/source.spin.json +277 -297
  324. data/grammars/source.sqf.json +34 -44
  325. data/grammars/source.sql.json +142 -156
  326. data/grammars/source.stan.json +201 -160
  327. data/grammars/source.stata.json +57 -68
  328. data/grammars/source.strings.json +26 -30
  329. data/grammars/source.stylus.json +558 -565
  330. data/grammars/source.supercollider.json +33 -40
  331. data/grammars/source.swift.json +999 -1077
  332. data/grammars/source.systemverilog.json +351 -365
  333. data/grammars/source.tcl.json +77 -94
  334. data/grammars/source.tea.json +61 -67
  335. data/grammars/source.terra.json +25 -32
  336. data/grammars/source.terraform.json +68 -88
  337. data/grammars/source.thrift.json +300 -306
  338. data/grammars/source.tl.json +112 -117
  339. data/grammars/source.tla.json +65 -69
  340. data/grammars/source.toc.json +21 -25
  341. data/grammars/source.toml.json +117 -122
  342. data/grammars/source.ts.json +2838 -2774
  343. data/grammars/source.tsx.json +180 -184
  344. data/grammars/source.turing.json +970 -974
  345. data/grammars/source.turtle.json +124 -140
  346. data/grammars/source.txl.json +23 -37
  347. data/grammars/source.ucfconstraints.json +16 -21
  348. data/grammars/source.ur.json +15 -27
  349. data/grammars/source.vala.json +221 -235
  350. data/grammars/source.varnish.vcl.json +117 -129
  351. data/grammars/source.vbnet.json +69 -106
  352. data/grammars/source.verilog.json +101 -107
  353. data/grammars/source.vhdl.json +437 -445
  354. data/grammars/source.viml.json +540 -550
  355. data/grammars/source.wavefront.mtl.json +274 -277
  356. data/grammars/source.wavefront.obj.json +781 -784
  357. data/grammars/source.wdl.json +66 -46
  358. data/grammars/source.webassembly.json +97 -102
  359. data/grammars/source.webidl.json +311 -326
  360. data/grammars/source.x10.json +28 -32
  361. data/grammars/source.x86asm.json +21 -26
  362. data/grammars/source.xc.json +164 -172
  363. data/grammars/source.xq.json +81 -92
  364. data/grammars/source.xtend.json +199 -208
  365. data/grammars/source.yaml-ext.json +118 -124
  366. data/grammars/source.yaml.json +155 -174
  367. data/grammars/source.yaml.salt.json +113 -116
  368. data/grammars/source.yang.json +10 -13
  369. data/grammars/source.yara.json +98 -0
  370. data/grammars/text.bibtex.json +95 -100
  371. data/grammars/text.cfml.basic.json +403 -404
  372. data/grammars/text.elixir.json +18 -23
  373. data/grammars/text.error-list.json +15 -16
  374. data/grammars/text.find-refs.json +487 -488
  375. data/grammars/text.gherkin.feature.json +45 -53
  376. data/grammars/text.haml.json +176 -189
  377. data/grammars/text.hamlc.json +82 -88
  378. data/grammars/text.html.abl.json +16 -21
  379. data/grammars/text.html.asciidoc.json +139 -153
  380. data/grammars/text.html.asdoc.json +145 -155
  381. data/grammars/text.html.asp.json +23 -28
  382. data/grammars/text.html.basic.json +323 -338
  383. data/grammars/text.html.cfm.json +316 -325
  384. data/grammars/text.html.creole.json +177 -189
  385. data/grammars/text.html.django.json +27 -33
  386. data/grammars/text.html.ecr.json +21 -25
  387. data/grammars/text.html.elixir.json +3 -9
  388. data/grammars/text.html.erb.json +81 -85
  389. data/grammars/text.html.erlang.yaws.json +24 -29
  390. data/grammars/text.html.factor.json +5 -11
  391. data/grammars/text.html.ftl.json +16 -25
  392. data/grammars/text.html.handlebars.json +579 -598
  393. data/grammars/text.html.javadoc.json +426 -0
  394. data/grammars/text.html.js.json +11 -17
  395. data/grammars/text.html.jsp.json +377 -384
  396. data/grammars/text.html.liquid.json +8 -18
  397. data/grammars/text.html.mako.json +257 -275
  398. data/grammars/text.html.markdown.source.gfm.apib.json +419 -427
  399. data/grammars/text.html.markdown.source.gfm.mson.json +405 -414
  400. data/grammars/text.html.mediawiki.json +318 -344
  401. data/grammars/text.html.php.blade.json +2134 -2140
  402. data/grammars/text.html.php.json +980 -1013
  403. data/grammars/text.html.slash.json +101 -107
  404. data/grammars/text.html.smarty.json +75 -83
  405. data/grammars/text.html.soy.json +250 -253
  406. data/grammars/text.html.ssp.json +18 -24
  407. data/grammars/text.html.tcl.json +17 -24
  408. data/grammars/text.html.twig.json +712 -718
  409. data/grammars/text.idl-idldoc.json +5 -9
  410. data/grammars/text.jade.json +213 -235
  411. data/grammars/text.junit-test-report.json +25 -28
  412. data/grammars/text.log.latex.json +44 -46
  413. data/grammars/text.marko.json +370 -401
  414. data/grammars/text.python.console.json +3 -7
  415. data/grammars/text.python.traceback.json +2 -5
  416. data/grammars/text.rdoc.json +15 -19
  417. data/grammars/text.restructuredtext.clean.json +8 -11
  418. data/grammars/text.restructuredtext.json +886 -873
  419. data/grammars/text.robot.json +26 -36
  420. data/grammars/text.roff.json +2852 -2915
  421. data/grammars/text.runoff.json +56 -69
  422. data/grammars/text.sfd.json +151 -155
  423. data/grammars/text.shell-session.json +5 -8
  424. data/grammars/text.slim.json +184 -210
  425. data/grammars/text.srt.json +54 -57
  426. data/grammars/text.tex.json +98 -105
  427. data/grammars/text.tex.latex.beamer.json +14 -20
  428. data/grammars/text.tex.latex.haskell.json +883 -782
  429. data/grammars/text.tex.latex.json +281 -291
  430. data/grammars/text.tex.latex.memoir.json +39 -46
  431. data/grammars/text.tex.latex.rd.json +32 -38
  432. data/grammars/text.xml.ant.json +62 -69
  433. data/grammars/text.xml.flex-config.json +1009 -1013
  434. data/grammars/text.xml.genshi.json +10 -16
  435. data/grammars/text.xml.json +117 -130
  436. data/grammars/text.xml.pom.json +235 -240
  437. data/grammars/text.xml.xsl.json +31 -37
  438. data/grammars/text.zone_file.json +24 -29
  439. data/lib/linguist/blob.rb +10 -1
  440. data/lib/linguist/blob_helper.rb +4 -1
  441. data/lib/linguist/file_blob.rb +5 -0
  442. data/lib/linguist/generated.rb +16 -0
  443. data/lib/linguist/heuristics.rb +23 -11
  444. data/lib/linguist/language.rb +3 -6
  445. data/lib/linguist/languages.json +1 -1
  446. data/lib/linguist/languages.yml +74 -12
  447. data/lib/linguist/lazy_blob.rb +15 -1
  448. data/lib/linguist/linguist.bundle +0 -0
  449. data/lib/linguist/samples.json +1666 -3381
  450. data/lib/linguist/shebang.rb +2 -0
  451. data/lib/linguist/strategy/modeline.rb +2 -0
  452. data/lib/linguist/vendor.yml +5 -6
  453. data/lib/linguist/version.rb +1 -1
  454. metadata +12 -11
  455. data/grammars/source.elm.json +0 -381
  456. data/grammars/source.nant-build.json +0 -86
  457. data/grammars/source.octave.json +0 -451
  458. data/grammars/text.html.mediawiki.elm-build-output.json +0 -111
  459. data/grammars/text.html.mediawiki.elm-documentation.json +0 -22
  460. data/grammars/text.html.vue.json +0 -936
@@ -1,13 +1,6 @@
1
1
  {
2
- "fileTypes": [
3
- "hx",
4
- "hxsl",
5
- "hscript"
6
- ],
7
- "foldingStartMarker": "(\\{\\s*(//.*)?$|^\\s*// \\{\\{\\{|#if)",
8
- "foldingStopMarker": "^\\s*(\\}|// \\}\\}\\}$|#end)",
9
- "keyEquivalent": "^~H",
10
2
  "name": "Haxe",
3
+ "scopeName": "source.haxe.2",
11
4
  "patterns": [
12
5
  {
13
6
  "include": "#all"
@@ -58,19 +51,31 @@
58
51
  ]
59
52
  },
60
53
  "arrays": {
54
+ "name": "meta.array.haxe.2",
61
55
  "begin": "(\\[)",
56
+ "end": "(\\])",
57
+ "patterns": [
58
+ {
59
+ "include": "#block"
60
+ },
61
+ {
62
+ "include": "#block-contents"
63
+ }
64
+ ],
62
65
  "beginCaptures": {
63
66
  "1": {
64
67
  "name": "punctuation.definition.array.begin.haxe.2"
65
68
  }
66
69
  },
67
- "end": "(\\])",
68
70
  "endCaptures": {
69
71
  "1": {
70
72
  "name": "punctuation.definition.array.end.haxe.2"
71
73
  }
72
- },
73
- "name": "meta.array.haxe.2",
74
+ }
75
+ },
76
+ "block": {
77
+ "begin": "(\\{)",
78
+ "end": "(\\})",
74
79
  "patterns": [
75
80
  {
76
81
  "include": "#block"
@@ -78,29 +83,17 @@
78
83
  {
79
84
  "include": "#block-contents"
80
85
  }
81
- ]
82
- },
83
- "block": {
84
- "begin": "(\\{)",
86
+ ],
85
87
  "beginCaptures": {
86
88
  "1": {
87
89
  "name": "punctuation.definition.block.begin.haxe.2"
88
90
  }
89
91
  },
90
- "end": "(\\})",
91
92
  "endCaptures": {
92
93
  "1": {
93
94
  "name": "punctuation.definition.block.end.haxe.2"
94
95
  }
95
- },
96
- "patterns": [
97
- {
98
- "include": "#block"
99
- },
100
- {
101
- "include": "#block-contents"
102
- }
103
- ]
96
+ }
104
97
  },
105
98
  "block-contents": {
106
99
  "patterns": [
@@ -163,67 +156,94 @@
163
156
  "comments": {
164
157
  "patterns": [
165
158
  {
159
+ "name": "comment.block.haxe.2",
166
160
  "begin": "(/\\*)",
161
+ "end": "(\\*/)",
167
162
  "beginCaptures": {
168
163
  "1": {
169
164
  "name": "punctuation.definition.comment.haxe.2"
170
165
  }
171
166
  },
172
- "end": "(\\*/)",
173
167
  "endCaptures": {
174
168
  "1": {
175
169
  "name": "punctuation.definition.comment.haxe.2"
176
170
  }
177
- },
178
- "name": "comment.block.haxe.2"
171
+ }
179
172
  },
180
173
  {
174
+ "name": "comment.line.double-slash.haxe.2",
175
+ "match": "(//).*$\\n?",
181
176
  "captures": {
182
177
  "1": {
183
178
  "name": "punctuation.definition.comment.haxe.2"
184
179
  }
185
- },
186
- "match": "(//).*$\\n?",
187
- "name": "comment.line.double-slash.haxe.2"
180
+ }
181
+ }
182
+ ]
183
+ },
184
+ "conditional-compilation": {
185
+ "patterns": [
186
+ {
187
+ "name": "keyword.control.directive.conditional.haxe.2",
188
+ "match": "(#(end|else))"
189
+ },
190
+ {
191
+ "match": "((#(if|elseif))\\s+([a-zA-Z0-9_]*)\\s)",
192
+ "captures": {
193
+ "0": {
194
+ "name": "meta.control.directive.conditional.haxe.2"
195
+ },
196
+ "2": {
197
+ "name": "keyword.control.directive.conditional.haxe.2"
198
+ }
199
+ }
200
+ },
201
+ {
202
+ "name": "meta.control.directive.conditional.haxe.2",
203
+ "begin": "((#(if|elseif))\\s*?\\()",
204
+ "end": "(\\))",
205
+ "beginCaptures": {
206
+ "0": {
207
+ "name": "meta.control.directive.conditional.haxe.2"
208
+ },
209
+ "2": {
210
+ "name": "keyword.control.directive.conditional.haxe.2"
211
+ }
212
+ }
213
+ },
214
+ {
215
+ "name": "meta.control.directive.conditional.haxe.2",
216
+ "match": "(#([a-zA-Z0-9_]*))\\s"
188
217
  }
189
218
  ]
190
219
  },
191
220
  "constants": {
192
221
  "patterns": [
193
222
  {
194
- "match": "\\b(true|false|null)\\b",
195
- "name": "constant.language.haxe.2"
223
+ "name": "constant.language.haxe.2",
224
+ "match": "\\b(true|false|null)\\b"
196
225
  },
197
226
  {
198
- "match": "\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)\\b",
199
- "name": "constant.numeric.haxe.2"
227
+ "name": "constant.numeric.haxe.2",
228
+ "match": "\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)\\b"
200
229
  }
201
230
  ]
202
231
  },
203
232
  "entity-name-class": {
204
- "match": "\\b([_A-Za-z]\\w*)\\b",
205
- "name": "entity.name.type.class.haxe.2"
233
+ "name": "entity.name.type.class.haxe.2",
234
+ "match": "\\b([_A-Za-z]\\w*)\\b"
206
235
  },
207
236
  "entity-name-function": {
208
- "match": "([_A-Za-z]\\w*)\\b(?=\\s*[\\(])",
209
- "name": "entity.name.function.haxe.2"
237
+ "name": "entity.name.function.haxe.2",
238
+ "match": "([_A-Za-z]\\w*)\\b(?=\\s*[\\(])"
210
239
  },
211
240
  "import": {
241
+ "name": "meta.import.haxe.2",
212
242
  "begin": "\\b(import)\\b",
213
- "beginCaptures": {
214
- "1": {
215
- "name": "storage.type.import.haxe.2"
216
- }
217
- },
218
243
  "end": "(;)",
219
- "endCaptures": {
220
- "1": {
221
- "name": "punctuation.terminator.haxe.2"
222
- }
223
- },
224
- "name": "meta.import.haxe.2",
225
244
  "patterns": [
226
245
  {
246
+ "match": "((\\b[a-z]\\w*\\.)*)((\\b[A-Z]\\w*\\.?|\\*)+)(\\b[_a-z]\\w*|\\*)?",
227
247
  "captures": {
228
248
  "1": {
229
249
  "name": "support.package.haxe.2"
@@ -231,27 +251,27 @@
231
251
  "3": {
232
252
  "name": "support.class.haxe.2"
233
253
  }
234
- },
235
- "match": "((\\b[a-z]\\w*\\.)*)((\\b[A-Z]\\w*\\.?|\\*)+)(\\b[_a-z]\\w*|\\*)?"
254
+ }
236
255
  }
237
- ]
238
- },
239
- "import-using": {
240
- "begin": "\\b(using)\\b",
256
+ ],
241
257
  "beginCaptures": {
242
258
  "1": {
243
- "name": "storage.type.using.haxe.2"
259
+ "name": "storage.type.import.haxe.2"
244
260
  }
245
261
  },
246
- "end": "(;)",
247
262
  "endCaptures": {
248
263
  "1": {
249
264
  "name": "punctuation.terminator.haxe.2"
250
265
  }
251
- },
266
+ }
267
+ },
268
+ "import-using": {
252
269
  "name": "meta.using.haxe.2",
270
+ "begin": "\\b(using)\\b",
271
+ "end": "(;)",
253
272
  "patterns": [
254
273
  {
274
+ "match": "(([a-z]\\w*\\.)*)(([A-Z]\\w*\\.?)+)",
255
275
  "captures": {
256
276
  "1": {
257
277
  "name": "support.package.haxe.2"
@@ -259,122 +279,96 @@
259
279
  "3": {
260
280
  "name": "support.class.haxe.2"
261
281
  }
262
- },
263
- "match": "(([a-z]\\w*\\.)*)(([A-Z]\\w*\\.?)+)"
264
- }
265
- ]
266
- },
267
- "conditional-compilation": {
268
- "patterns": [
269
- {
270
- "match": "(#(end|else))",
271
- "name": "keyword.control.directive.conditional.haxe.2"
272
- },
273
- {
274
- "match": "((#(if|elseif))\\s+([a-zA-Z0-9_]*)\\s)",
275
- "captures": {
276
- "0": {
277
- "name": "meta.control.directive.conditional.haxe.2"
278
- },
279
- "2": {
280
- "name": "keyword.control.directive.conditional.haxe.2"
281
- }
282
282
  }
283
- },
284
- {
285
- "begin": "((#(if|elseif))\\s*?\\()",
286
- "beginCaptures": {
287
- "0": {
288
- "name": "meta.control.directive.conditional.haxe.2"
289
- },
290
- "2": {
291
- "name": "keyword.control.directive.conditional.haxe.2"
292
- }
293
- },
294
- "end": "(\\))",
295
- "name": "meta.control.directive.conditional.haxe.2"
296
- },
297
- {
298
- "match": "(#([a-zA-Z0-9_]*))\\s",
299
- "name": "meta.control.directive.conditional.haxe.2"
300
283
  }
301
- ]
284
+ ],
285
+ "beginCaptures": {
286
+ "1": {
287
+ "name": "storage.type.using.haxe.2"
288
+ }
289
+ },
290
+ "endCaptures": {
291
+ "1": {
292
+ "name": "punctuation.terminator.haxe.2"
293
+ }
294
+ }
302
295
  },
303
296
  "keywords": {
304
297
  "patterns": [
305
298
  {
306
- "match": "\\b(try|catch|throw)\\b",
307
- "name": "keyword.control.catch-exception.haxe.2"
299
+ "name": "keyword.control.catch-exception.haxe.2",
300
+ "match": "\\b(try|catch|throw)\\b"
308
301
  },
309
302
  {
310
- "match": "\\b(if|return|while|for|return|break|case|default|continue|do|while|for|switch|if|else)\\b",
311
- "name": "keyword.control.haxe.flow-control.2"
303
+ "name": "keyword.control.haxe.flow-control.2",
304
+ "match": "\\b(if|return|while|for|return|break|case|default|continue|do|while|for|switch|if|else)\\b"
312
305
  },
313
306
  {
314
- "match": "(\\.\\.\\.)",
315
- "name": "keyword.control.directive.haxe.2"
307
+ "name": "keyword.control.directive.haxe.2",
308
+ "match": "(\\.\\.\\.)"
316
309
  },
317
310
  {
318
- "match": "\\b(cast|untyped)\\b",
319
- "name": "keyword.other.untyped.haxe.2"
311
+ "name": "keyword.other.untyped.haxe.2",
312
+ "match": "\\b(cast|untyped)\\b"
320
313
  },
321
314
  {
322
- "match": "\\btrace\\b",
323
- "name": "keyword.other.trace.haxe.2"
315
+ "name": "keyword.other.trace.haxe.2",
316
+ "match": "\\btrace\\b"
324
317
  },
325
318
  {
326
- "match": "\\b(this|super)\\b",
327
- "name": "variable.language.haxe.2"
319
+ "name": "variable.language.haxe.2",
320
+ "match": "\\b(this|super)\\b"
328
321
  },
329
322
  {
330
- "match": "\\bnew\\b",
331
- "name": "keyword.control.new.haxe.2"
323
+ "name": "keyword.control.new.haxe.2",
324
+ "match": "\\bnew\\b"
332
325
  },
333
326
  {
334
- "match": "\\bvar\\b",
335
- "name": "storage.type.variable.haxe.2"
327
+ "name": "storage.type.variable.haxe.2",
328
+ "match": "\\bvar\\b"
336
329
  },
337
330
  {
338
- "match": "\\bfunction\\b",
339
- "name": "storage.type.function.haxe.2"
331
+ "name": "storage.type.function.haxe.2",
332
+ "match": "\\bfunction\\b"
340
333
  },
341
334
  {
342
- "match": "\\b(abstract|class|enum|interface|typedef)\\b",
343
- "name": "storage.type.class.haxe.2"
335
+ "name": "storage.type.class.haxe.2",
336
+ "match": "\\b(abstract|class|enum|interface|typedef)\\b"
344
337
  }
345
338
  ]
346
339
  },
347
340
  "keywords-abstract": {
348
341
  "patterns": [
349
342
  {
350
- "match": "\\b(from|to)\\b",
351
- "name": "keyword.other.haxe.2"
343
+ "name": "keyword.other.haxe.2",
344
+ "match": "\\b(from|to)\\b"
352
345
  }
353
346
  ]
354
347
  },
355
348
  "keywords-accessor": {
356
349
  "patterns": [
357
350
  {
358
- "match": "\\b(default|get|set|dynamic|never|null)\\b",
359
- "name": "keyword.other.haxe.2"
351
+ "name": "keyword.other.haxe.2",
352
+ "match": "\\b(default|get|set|dynamic|never|null)\\b"
360
353
  }
361
354
  ]
362
355
  },
363
356
  "keywords-magic": {
364
357
  "patterns": [
365
358
  {
366
- "match": "\\b__\\w*__\\b",
367
- "name": "support.function.magic.haxe.2"
359
+ "name": "support.function.magic.haxe.2",
360
+ "match": "\\b__\\w*__\\b"
368
361
  },
369
362
  {
370
- "match": "\\bprototype\\b",
371
- "name": "support.variable.magic.haxe.2"
363
+ "name": "support.variable.magic.haxe.2",
364
+ "match": "\\bprototype\\b"
372
365
  }
373
366
  ]
374
367
  },
375
368
  "keywords-reification": {
376
369
  "patterns": [
377
370
  {
371
+ "match": "(\\$)([iea])\\(",
378
372
  "captures": {
379
373
  "1": {
380
374
  "name": "punctuation.definition.variable.haxe.2"
@@ -382,10 +376,10 @@
382
376
  "2": {
383
377
  "name": "support.reification.haxe.2"
384
378
  }
385
- },
386
- "match": "(\\$)([iea])\\("
379
+ }
387
380
  },
388
381
  {
382
+ "match": "((\\$)([a-zA-Z.]*))",
389
383
  "captures": {
390
384
  "2": {
391
385
  "name": "punctuation.definition.variable.haxe.2"
@@ -393,14 +387,14 @@
393
387
  "3": {
394
388
  "name": "support.reification.haxe.2"
395
389
  }
396
- },
397
- "match": "((\\$)([a-zA-Z.]*))"
390
+ }
398
391
  }
399
392
  ]
400
393
  },
401
394
  "macro": {
402
395
  "patterns": [
403
396
  {
397
+ "match": "((@:)(require|final|hack|native|coreApi|fakeEnum|macro|build|keep|keepSub|overload|extern|optional|feature|noCompletion|noUsing|allow|access|generic|publicFields|expose|defineFeature|runtime|initPackage|bind|bitmap|file|font|sound|ns|protected|getter|setter|meta|debug|noDebug|headerCode|headerClassCode|cppFileCode|functionCode|functionTailCode|buildXml|cppNamespaceCode|headerNamespaceCode|noStack|depend|include|internal|volatile|transient|functionBody|classContents|remove)\\b)",
404
398
  "captures": {
405
399
  "2": {
406
400
  "name": "punctuation.definition.variable.haxe.2"
@@ -408,10 +402,10 @@
408
402
  "3": {
409
403
  "name": "storage.modifier.macro.haxe.2"
410
404
  }
411
- },
412
- "match": "((@:)(require|final|hack|native|coreApi|fakeEnum|macro|build|keep|keepSub|overload|extern|optional|feature|noCompletion|noUsing|allow|access|generic|publicFields|expose|defineFeature|runtime|initPackage|bind|bitmap|file|font|sound|ns|protected|getter|setter|meta|debug|noDebug|headerCode|headerClassCode|cppFileCode|functionCode|functionTailCode|buildXml|cppNamespaceCode|headerNamespaceCode|noStack|depend|include|internal|volatile|transient|functionBody|classContents|remove)\\b)"
405
+ }
413
406
  },
414
407
  {
408
+ "match": "((@:?)([a-zA-Z_]*))",
415
409
  "captures": {
416
410
  "2": {
417
411
  "name": "punctuation.definition.variable.haxe.2"
@@ -419,20 +413,14 @@
419
413
  "3": {
420
414
  "name": "support.macro.haxe.2"
421
415
  }
422
- },
423
- "match": "((@:?)([a-zA-Z_]*))"
416
+ }
424
417
  }
425
418
  ]
426
419
  },
427
420
  "meta-static": {
428
- "begin": "(static)",
429
- "beginCaptures": {
430
- "1": {
431
- "name": "storage.modifier.haxe.2"
432
- }
433
- },
434
- "end": "(?<=[\\};])",
435
421
  "name": "meta.static.haxe.2",
422
+ "begin": "(static)",
423
+ "end": "(?\u003c=[\\};])",
436
424
  "patterns": [
437
425
  {
438
426
  "include": "#modifiers"
@@ -446,12 +434,17 @@
446
434
  {
447
435
  "include": "#punctuation-terminator"
448
436
  }
449
- ]
437
+ ],
438
+ "beginCaptures": {
439
+ "1": {
440
+ "name": "storage.modifier.haxe.2"
441
+ }
442
+ }
450
443
  },
451
444
  "method": {
452
- "begin": "(?=function)",
453
- "end": "(?<=[\\};])",
454
445
  "name": "meta.method.haxe.2",
446
+ "begin": "(?=function)",
447
+ "end": "(?\u003c=[\\};])",
455
448
  "patterns": [
456
449
  {
457
450
  "include": "#method-name"
@@ -465,54 +458,46 @@
465
458
  ]
466
459
  },
467
460
  "method-block": {
468
- "begin": "(?<=\\{)",
461
+ "name": "meta.method.block.haxe.2",
462
+ "begin": "(?\u003c=\\{)",
463
+ "end": "(\\})",
464
+ "patterns": [
465
+ {
466
+ "include": "#block"
467
+ },
468
+ {
469
+ "include": "#block-contents"
470
+ }
471
+ ],
469
472
  "beginCaptures": {
470
473
  "1": {
471
474
  "name": "punctuation.definition.block.begin.haxe.2"
472
475
  }
473
476
  },
474
- "end": "(\\})",
475
477
  "endCaptures": {
476
478
  "1": {
477
479
  "name": "punctuation.definition.block.end.haxe.2"
478
480
  }
479
- },
480
- "name": "meta.method.block.haxe.2",
481
- "patterns": [
482
- {
483
- "include": "#block"
484
- },
485
- {
486
- "include": "#block-contents"
487
- }
488
- ]
481
+ }
489
482
  },
490
483
  "method-name": {
484
+ "name": "meta.method.name.haxe.2",
491
485
  "begin": "\\b(function)\\b",
486
+ "end": "([_A-Za-z]\\w*)",
492
487
  "beginCaptures": {
493
488
  "1": {
494
489
  "name": "storage.type.function.haxe.2"
495
490
  }
496
491
  },
497
- "end": "([_A-Za-z]\\w*)",
498
492
  "endCaptures": {
499
493
  "1": {
500
494
  "name": "entity.name.function.haxe.2"
501
495
  }
502
- },
503
- "name": "meta.method.name.haxe.2"
496
+ }
504
497
  },
505
498
  "method-name-post": {
506
- "begin": "(?<=\\w)",
499
+ "begin": "(?\u003c=\\w)",
507
500
  "end": "(\\{)|(;)",
508
- "endCaptures": {
509
- "1": {
510
- "name": "punctuation.definition.block.begin.haxe.2"
511
- },
512
- "2": {
513
- "name": "punctuation.terminator.haxe.2"
514
- }
515
- },
516
501
  "patterns": [
517
502
  {
518
503
  "include": "#block"
@@ -520,49 +505,59 @@
520
505
  {
521
506
  "include": "#block-contents"
522
507
  }
523
- ]
508
+ ],
509
+ "endCaptures": {
510
+ "1": {
511
+ "name": "punctuation.definition.block.begin.haxe.2"
512
+ },
513
+ "2": {
514
+ "name": "punctuation.terminator.haxe.2"
515
+ }
516
+ }
524
517
  },
525
518
  "modifiers": {
526
- "match": "\\b(public|private|static|dynamic|inline|macro|extern|override)\\b",
527
- "name": "storage.modifier.haxe.2"
519
+ "name": "storage.modifier.haxe.2",
520
+ "match": "\\b(public|private|static|dynamic|inline|macro|extern|override)\\b"
528
521
  },
529
522
  "modifiers-inheritance": {
530
- "match": "\\b(implements|extends)\\b",
531
- "name": "storage.modifier.haxe.2"
523
+ "name": "storage.modifier.haxe.2",
524
+ "match": "\\b(implements|extends)\\b"
532
525
  },
533
526
  "operator-assignment": {
534
- "match": "(=)",
535
- "name": "keyword.operator.assignment.haxe.2"
527
+ "name": "keyword.operator.assignment.haxe.2",
528
+ "match": "(=)"
536
529
  },
537
530
  "operator-optional": {
538
- "match": "(\\?)(?!\\s)",
539
- "name": "punctuation.definition.variable.haxe.2"
531
+ "name": "punctuation.definition.variable.haxe.2",
532
+ "match": "(\\?)(?!\\s)"
540
533
  },
541
534
  "operators": {
542
535
  "patterns": [
543
536
  {
544
- "match": "(!|&&|\\|\\|)",
545
- "name": "keyword.operator.logical.haxe.2"
537
+ "name": "keyword.operator.logical.haxe.2",
538
+ "match": "(!|\u0026\u0026|\\|\\|)"
546
539
  },
547
540
  {
548
- "match": "(~|&|\\||\\^|<<|>>|>>>)",
549
- "name": "keyword.operator.bitwise.haxe.2"
541
+ "name": "keyword.operator.bitwise.haxe.2",
542
+ "match": "(~|\u0026|\\||\\^|\u003c\u003c|\u003e\u003e|\u003e\u003e\u003e)"
550
543
  },
551
544
  {
552
- "match": "(==|!=|<=|>=|<>|<|>)",
553
- "name": "keyword.operator.comparison.haxe.2"
545
+ "name": "keyword.operator.comparison.haxe.2",
546
+ "match": "(==|!=|\u003c=|\u003e=|\u003c\u003e|\u003c|\u003e)"
554
547
  },
555
548
  {
556
- "match": "(\\-\\-|\\+\\+)",
557
- "name": "keyword.operator.increment-decrement.haxe.2"
549
+ "name": "keyword.operator.increment-decrement.haxe.2",
550
+ "match": "(\\-\\-|\\+\\+)"
558
551
  },
559
552
  {
560
- "match": "(\\-|\\+|\\*|\\/|%)",
561
- "name": "keyword.operator.arithmetic.haxe.2"
553
+ "name": "keyword.operator.arithmetic.haxe.2",
554
+ "match": "(\\-|\\+|\\*|\\/|%)"
562
555
  }
563
556
  ]
564
557
  },
565
558
  "package": {
559
+ "name": "meta.package.haxe.2",
560
+ "match": "\\b(package)(\\s+([\\w.*]*))?\\s*(;)",
566
561
  "captures": {
567
562
  "1": {
568
563
  "name": "storage.type.package.haxe.2"
@@ -573,24 +568,12 @@
573
568
  "4": {
574
569
  "name": "punctuation.terminator.haxe.2"
575
570
  }
576
- },
577
- "match": "\\b(package)(\\s+([\\w.*]*))?\\s*(;)",
578
- "name": "meta.package.haxe.2"
571
+ }
579
572
  },
580
573
  "parameters": {
574
+ "name": "meta.parameters.haxe.2",
581
575
  "begin": "(\\()",
582
- "beginCaptures": {
583
- "1": {
584
- "name": "punctuation.definition.parameters.begin.haxe.2"
585
- }
586
- },
587
576
  "end": "(\\))",
588
- "endCaptures": {
589
- "1": {
590
- "name": "punctuation.definition.parameters.end.haxe.2"
591
- }
592
- },
593
- "name": "meta.parameters.haxe.2",
594
577
  "patterns": [
595
578
  {
596
579
  "include": "#operator-optional"
@@ -601,32 +584,49 @@
601
584
  {
602
585
  "include": "#block-contents"
603
586
  }
604
- ]
587
+ ],
588
+ "beginCaptures": {
589
+ "1": {
590
+ "name": "punctuation.definition.parameters.begin.haxe.2"
591
+ }
592
+ },
593
+ "endCaptures": {
594
+ "1": {
595
+ "name": "punctuation.definition.parameters.end.haxe.2"
596
+ }
597
+ }
605
598
  },
606
599
  "punctuation-brackets": {
607
600
  "patterns": [
608
601
  {
609
- "match": "([\\(\\<\\)\\>])",
610
- "name": "punctuation.definition.other.haxe.2"
602
+ "name": "punctuation.definition.other.haxe.2",
603
+ "match": "([\\(\\\u003c\\)\\\u003e])"
611
604
  }
612
605
  ]
613
606
  },
614
607
  "punctuation-separator": {
615
- "match": "([,:.?])",
616
- "name": "punctuation.separator.haxe.2"
608
+ "name": "punctuation.separator.haxe.2",
609
+ "match": "([,:.?])"
617
610
  },
618
611
  "punctuation-terminator": {
619
- "match": ";",
620
- "name": "punctuation.terminator.haxe.2"
612
+ "name": "punctuation.terminator.haxe.2",
613
+ "match": ";"
621
614
  },
622
615
  "regex": {
616
+ "name": "string.regexp.haxe.2",
623
617
  "begin": "~/",
618
+ "end": "(/[gimsu]*)|(\\n$)",
619
+ "patterns": [
620
+ {
621
+ "name": "constant.character.escape.haxe.2",
622
+ "match": "\\\\."
623
+ }
624
+ ],
624
625
  "beginCaptures": {
625
626
  "1": {
626
627
  "name": "string.regexp.begin.haxe.2"
627
628
  }
628
629
  },
629
- "end": "(/[gimsu]*)|(\\n$)",
630
630
  "endCaptures": {
631
631
  "1": {
632
632
  "name": "string.regexp.end.haxe.2"
@@ -634,62 +634,46 @@
634
634
  "2": {
635
635
  "name": "invalid.illegal.haxe.2"
636
636
  }
637
- },
638
- "name": "string.regexp.haxe.2",
639
- "patterns": [
640
- {
641
- "match": "\\\\.",
642
- "name": "constant.character.escape.haxe.2"
643
- }
644
- ]
637
+ }
645
638
  },
646
639
  "strings": {
647
640
  "patterns": [
648
641
  {
642
+ "name": "string.quoted.double.haxe.2",
649
643
  "begin": "\"",
650
- "beginCaptures": {
651
- "0": {
652
- "name": "punctuation.definition.string.begin.haxe.2"
653
- }
654
- },
655
644
  "end": "\"",
656
- "endCaptures": {
657
- "0": {
658
- "name": "punctuation.definition.string.end.haxe.2"
659
- }
660
- },
661
- "name": "string.quoted.double.haxe.2",
662
645
  "patterns": [
663
646
  {
664
- "match": "\\\\.",
665
- "name": "constant.character.escape.haxe.2"
647
+ "name": "constant.character.escape.haxe.2",
648
+ "match": "\\\\."
666
649
  }
667
- ]
668
- },
669
- {
670
- "begin": "'",
650
+ ],
671
651
  "beginCaptures": {
672
652
  "0": {
673
653
  "name": "punctuation.definition.string.begin.haxe.2"
674
654
  }
675
655
  },
676
- "end": "'",
677
656
  "endCaptures": {
678
657
  "0": {
679
658
  "name": "punctuation.definition.string.end.haxe.2"
680
659
  }
681
- },
660
+ }
661
+ },
662
+ {
682
663
  "name": "string.quoted.single.haxe.2",
664
+ "begin": "'",
665
+ "end": "'",
683
666
  "patterns": [
684
667
  {
685
- "match": "\\\\.",
686
- "name": "constant.character.escape.haxe.2"
668
+ "name": "constant.character.escape.haxe.2",
669
+ "match": "\\\\."
687
670
  },
688
671
  {
689
- "match": "\\$\\$",
690
- "name": "constant.character.escape.haxe.2"
672
+ "name": "constant.character.escape.haxe.2",
673
+ "match": "\\$\\$"
691
674
  },
692
675
  {
676
+ "match": "(\\$)(\\{)([^}]*)(\\})",
693
677
  "captures": {
694
678
  "1": {
695
679
  "name": "variable.other.haxe.2"
@@ -703,11 +687,10 @@
703
687
  "4": {
704
688
  "name": "variable.other.haxe.2"
705
689
  }
706
- },
707
- "comment": "String interpolation : \"${test.ole}\"",
708
- "match": "(\\$)(\\{)([^}]*)(\\})"
690
+ }
709
691
  },
710
692
  {
693
+ "match": "(\\$)([\\w]*)",
711
694
  "captures": {
712
695
  "1": {
713
696
  "name": "variable.other.haxe.2"
@@ -715,15 +698,24 @@
715
698
  "2": {
716
699
  "name": "variable.other.haxe.2"
717
700
  }
718
- },
719
- "comment": "String interpolation : \"$test\"",
720
- "match": "(\\$)([\\w]*)"
701
+ }
702
+ }
703
+ ],
704
+ "beginCaptures": {
705
+ "0": {
706
+ "name": "punctuation.definition.string.begin.haxe.2"
707
+ }
708
+ },
709
+ "endCaptures": {
710
+ "0": {
711
+ "name": "punctuation.definition.string.end.haxe.2"
721
712
  }
722
- ]
713
+ }
723
714
  }
724
715
  ]
725
716
  },
726
717
  "support-class-name": {
718
+ "match": "\\b(([a-z][a-zA-Z0-9]*\\.)*)(([A-Z]\\w*\\.?)+)\\b",
727
719
  "captures": {
728
720
  "1": {
729
721
  "name": "support.package.haxe.2"
@@ -731,18 +723,12 @@
731
723
  "3": {
732
724
  "name": "support.class.haxe.2"
733
725
  }
734
- },
735
- "match": "\\b(([a-z][a-zA-Z0-9]*\\.)*)(([A-Z]\\w*\\.?)+)\\b"
726
+ }
736
727
  },
737
728
  "type-abstract": {
738
- "begin": "(?=abstract)",
739
- "end": "(?<=\\})|(;)",
740
- "endCaptures": {
741
- "1": {
742
- "name": "punctuation.terminator.haxe.2"
743
- }
744
- },
745
729
  "name": "meta.type.abstract.haxe.2",
730
+ "begin": "(?=abstract)",
731
+ "end": "(?\u003c=\\})|(;)",
746
732
  "patterns": [
747
733
  {
748
734
  "include": "#type-abstract-name"
@@ -753,17 +739,17 @@
753
739
  {
754
740
  "include": "#type-abstract-block"
755
741
  }
756
- ]
757
- },
758
- "type-abstract-block": {
759
- "begin": "(?<=\\{)",
760
- "end": "(\\})",
742
+ ],
761
743
  "endCaptures": {
762
744
  "1": {
763
- "name": "punctuation.definition.block.end.haxe.2"
745
+ "name": "punctuation.terminator.haxe.2"
764
746
  }
765
- },
747
+ }
748
+ },
749
+ "type-abstract-block": {
766
750
  "name": "meta.type.block.haxe.2",
751
+ "begin": "(?\u003c=\\{)",
752
+ "end": "(\\})",
767
753
  "patterns": [
768
754
  {
769
755
  "include": "#meta-static"
@@ -783,31 +769,31 @@
783
769
  {
784
770
  "include": "#block-contents"
785
771
  }
786
- ]
772
+ ],
773
+ "endCaptures": {
774
+ "1": {
775
+ "name": "punctuation.definition.block.end.haxe.2"
776
+ }
777
+ }
787
778
  },
788
779
  "type-abstract-name": {
780
+ "name": "meta.type.name.haxe.2",
789
781
  "begin": "\\b(abstract)\\b",
782
+ "end": "([_A-Za-z]\\w*)",
790
783
  "beginCaptures": {
791
784
  "1": {
792
785
  "name": "storage.type.class.haxe.2"
793
786
  }
794
787
  },
795
- "end": "([_A-Za-z]\\w*)",
796
788
  "endCaptures": {
797
789
  "1": {
798
790
  "name": "entity.name.type.class.haxe.2"
799
791
  }
800
- },
801
- "name": "meta.type.name.haxe.2"
792
+ }
802
793
  },
803
794
  "type-abstract-name-post": {
804
- "begin": "(?<=\\w)",
795
+ "begin": "(?\u003c=\\w)",
805
796
  "end": "([\\{;])",
806
- "endCaptures": {
807
- "1": {
808
- "name": "punctuation.definition.block.begin.haxe.2"
809
- }
810
- },
811
797
  "patterns": [
812
798
  {
813
799
  "include": "#parameters"
@@ -824,17 +810,17 @@
824
810
  {
825
811
  "include": "#support-class-name"
826
812
  }
827
- ]
828
- },
829
- "type-class": {
830
- "begin": "(?=class)",
831
- "end": "(?<=\\})|(;)",
813
+ ],
832
814
  "endCaptures": {
833
815
  "1": {
834
- "name": "punctuation.terminator.haxe.2"
816
+ "name": "punctuation.definition.block.begin.haxe.2"
835
817
  }
836
- },
818
+ }
819
+ },
820
+ "type-class": {
837
821
  "name": "meta.type.class.haxe.2",
822
+ "begin": "(?=class)",
823
+ "end": "(?\u003c=\\})|(;)",
838
824
  "patterns": [
839
825
  {
840
826
  "include": "#type-class-name"
@@ -845,17 +831,17 @@
845
831
  {
846
832
  "include": "#type-class-block"
847
833
  }
848
- ]
849
- },
850
- "type-class-block": {
851
- "begin": "(?<=\\{)",
852
- "end": "(\\})",
834
+ ],
853
835
  "endCaptures": {
854
836
  "1": {
855
- "name": "punctuation.definition.block.end.haxe.2"
837
+ "name": "punctuation.terminator.haxe.2"
856
838
  }
857
- },
839
+ }
840
+ },
841
+ "type-class-block": {
858
842
  "name": "meta.type.block.haxe.2",
843
+ "begin": "(?\u003c=\\{)",
844
+ "end": "(\\})",
859
845
  "patterns": [
860
846
  {
861
847
  "include": "#meta-static"
@@ -875,31 +861,31 @@
875
861
  {
876
862
  "include": "#block-contents"
877
863
  }
878
- ]
864
+ ],
865
+ "endCaptures": {
866
+ "1": {
867
+ "name": "punctuation.definition.block.end.haxe.2"
868
+ }
869
+ }
879
870
  },
880
871
  "type-class-name": {
872
+ "name": "meta.type.name.haxe.2",
881
873
  "begin": "\\b(class)\\b",
874
+ "end": "([_A-Za-z]\\w*)",
882
875
  "beginCaptures": {
883
876
  "1": {
884
877
  "name": "storage.type.class.haxe.2"
885
878
  }
886
879
  },
887
- "end": "([_A-Za-z]\\w*)",
888
880
  "endCaptures": {
889
881
  "1": {
890
882
  "name": "entity.name.type.class.haxe.2"
891
883
  }
892
- },
893
- "name": "meta.type.name.haxe.2"
884
+ }
894
885
  },
895
886
  "type-class-name-post": {
896
- "begin": "(?<=\\w)",
887
+ "begin": "(?\u003c=\\w)",
897
888
  "end": "([\\{;])",
898
- "endCaptures": {
899
- "1": {
900
- "name": "punctuation.definition.block.begin.haxe.2"
901
- }
902
- },
903
889
  "patterns": [
904
890
  {
905
891
  "include": "#type-parameters"
@@ -916,17 +902,17 @@
916
902
  {
917
903
  "include": "#support-class-name"
918
904
  }
919
- ]
920
- },
921
- "type-enum": {
922
- "begin": "(?=enum)",
923
- "end": "(?<=\\})|(;)",
905
+ ],
924
906
  "endCaptures": {
925
907
  "1": {
926
- "name": "punctuation.terminator.haxe.2"
908
+ "name": "punctuation.definition.block.begin.haxe.2"
927
909
  }
928
- },
910
+ }
911
+ },
912
+ "type-enum": {
929
913
  "name": "meta.type.enum.haxe.2",
914
+ "begin": "(?=enum)",
915
+ "end": "(?\u003c=\\})|(;)",
930
916
  "patterns": [
931
917
  {
932
918
  "include": "#type-enum-name"
@@ -937,17 +923,17 @@
937
923
  {
938
924
  "include": "#type-enum-block"
939
925
  }
940
- ]
941
- },
942
- "type-enum-block": {
943
- "begin": "(?<=\\{)",
944
- "end": "(\\})",
926
+ ],
945
927
  "endCaptures": {
946
928
  "1": {
947
- "name": "punctuation.definition.block.end.haxe.2"
929
+ "name": "punctuation.terminator.haxe.2"
948
930
  }
949
- },
931
+ }
932
+ },
933
+ "type-enum-block": {
950
934
  "name": "meta.type.block.haxe.2",
935
+ "begin": "(?\u003c=\\{)",
936
+ "end": "(\\})",
951
937
  "patterns": [
952
938
  {
953
939
  "include": "#type-parameters"
@@ -958,31 +944,31 @@
958
944
  {
959
945
  "include": "#block-contents"
960
946
  }
961
- ]
947
+ ],
948
+ "endCaptures": {
949
+ "1": {
950
+ "name": "punctuation.definition.block.end.haxe.2"
951
+ }
952
+ }
962
953
  },
963
954
  "type-enum-name": {
955
+ "name": "meta.type.name.haxe.2",
964
956
  "begin": "\\b(enum)\\b",
957
+ "end": "([_A-Za-z]\\w*)",
965
958
  "beginCaptures": {
966
959
  "1": {
967
960
  "name": "storage.type.class.haxe.2"
968
961
  }
969
962
  },
970
- "end": "([_A-Za-z]\\w*)",
971
963
  "endCaptures": {
972
964
  "1": {
973
965
  "name": "entity.name.type.class.haxe.2"
974
966
  }
975
- },
976
- "name": "meta.type.name.haxe.2"
967
+ }
977
968
  },
978
969
  "type-enum-name-post": {
979
- "begin": "(?<=\\w)",
970
+ "begin": "(?\u003c=\\w)",
980
971
  "end": "([\\{;])",
981
- "endCaptures": {
982
- "1": {
983
- "name": "punctuation.definition.block.begin.haxe.2"
984
- }
985
- },
986
972
  "patterns": [
987
973
  {
988
974
  "include": "#type-parameters"
@@ -996,17 +982,17 @@
996
982
  {
997
983
  "include": "#support-class-name"
998
984
  }
999
- ]
1000
- },
1001
- "type-interface": {
1002
- "begin": "(?=interface)",
1003
- "end": "(?<=\\})|(;)",
985
+ ],
1004
986
  "endCaptures": {
1005
987
  "1": {
1006
- "name": "punctuation.terminator.haxe.2"
988
+ "name": "punctuation.definition.block.begin.haxe.2"
1007
989
  }
1008
- },
990
+ }
991
+ },
992
+ "type-interface": {
1009
993
  "name": "meta.type.interface.haxe.2",
994
+ "begin": "(?=interface)",
995
+ "end": "(?\u003c=\\})|(;)",
1010
996
  "patterns": [
1011
997
  {
1012
998
  "include": "#type-interface-name"
@@ -1017,17 +1003,17 @@
1017
1003
  {
1018
1004
  "include": "#type-interface-block"
1019
1005
  }
1020
- ]
1021
- },
1022
- "type-interface-block": {
1023
- "begin": "(?<=\\{)",
1024
- "end": "(\\})",
1006
+ ],
1025
1007
  "endCaptures": {
1026
1008
  "1": {
1027
- "name": "punctuation.definition.block.end.haxe.2"
1009
+ "name": "punctuation.terminator.haxe.2"
1028
1010
  }
1029
- },
1011
+ }
1012
+ },
1013
+ "type-interface-block": {
1030
1014
  "name": "meta.type.block.haxe.2",
1015
+ "begin": "(?\u003c=\\{)",
1016
+ "end": "(\\})",
1031
1017
  "patterns": [
1032
1018
  {
1033
1019
  "include": "#method"
@@ -1041,31 +1027,31 @@
1041
1027
  {
1042
1028
  "include": "#block-contents"
1043
1029
  }
1044
- ]
1030
+ ],
1031
+ "endCaptures": {
1032
+ "1": {
1033
+ "name": "punctuation.definition.block.end.haxe.2"
1034
+ }
1035
+ }
1045
1036
  },
1046
1037
  "type-interface-name": {
1038
+ "name": "meta.type.name.haxe.2",
1047
1039
  "begin": "\\b(interface)\\b",
1040
+ "end": "([_A-Za-z]\\w*)",
1048
1041
  "beginCaptures": {
1049
1042
  "1": {
1050
1043
  "name": "storage.type.class.haxe.2"
1051
1044
  }
1052
1045
  },
1053
- "end": "([_A-Za-z]\\w*)",
1054
1046
  "endCaptures": {
1055
1047
  "1": {
1056
1048
  "name": "entity.name.type.class.haxe.2"
1057
1049
  }
1058
- },
1059
- "name": "meta.type.name.haxe.2"
1050
+ }
1060
1051
  },
1061
1052
  "type-interface-name-post": {
1062
- "begin": "(?<=\\w)",
1053
+ "begin": "(?\u003c=\\w)",
1063
1054
  "end": "([\\{;])",
1064
- "endCaptures": {
1065
- "1": {
1066
- "name": "punctuation.definition.block.begin.haxe.2"
1067
- }
1068
- },
1069
1055
  "patterns": [
1070
1056
  {
1071
1057
  "include": "#modifiers-inheritance"
@@ -1079,22 +1065,17 @@
1079
1065
  {
1080
1066
  "include": "#support-class-name"
1081
1067
  }
1082
- ]
1083
- },
1084
- "type-parameters": {
1085
- "begin": "(\\<)",
1086
- "beginCaptures": {
1087
- "1": {
1088
- "name": "punctuation.definition.parameters.begin.haxe.2"
1089
- }
1090
- },
1091
- "end": "(\\>)",
1068
+ ],
1092
1069
  "endCaptures": {
1093
1070
  "1": {
1094
- "name": "punctuation.definition.parameters.end.haxe.2"
1071
+ "name": "punctuation.definition.block.begin.haxe.2"
1095
1072
  }
1096
- },
1073
+ }
1074
+ },
1075
+ "type-parameters": {
1097
1076
  "name": "meta.type.parameters.haxe.2",
1077
+ "begin": "(\\\u003c)",
1078
+ "end": "(\\\u003e)",
1098
1079
  "patterns": [
1099
1080
  {
1100
1081
  "include": "#block"
@@ -1102,17 +1083,22 @@
1102
1083
  {
1103
1084
  "include": "#block-contents"
1104
1085
  }
1105
- ]
1106
- },
1107
- "type-typedef": {
1108
- "begin": "(?=typedef)",
1109
- "end": "(?<=\\})|(;)",
1110
- "endCaptures": {
1086
+ ],
1087
+ "beginCaptures": {
1111
1088
  "1": {
1112
- "name": "punctuation.terminator.haxe.2"
1089
+ "name": "punctuation.definition.parameters.begin.haxe.2"
1113
1090
  }
1114
1091
  },
1092
+ "endCaptures": {
1093
+ "1": {
1094
+ "name": "punctuation.definition.parameters.end.haxe.2"
1095
+ }
1096
+ }
1097
+ },
1098
+ "type-typedef": {
1115
1099
  "name": "meta.type.typedef.haxe.2",
1100
+ "begin": "(?=typedef)",
1101
+ "end": "(?\u003c=\\})|(;)",
1116
1102
  "patterns": [
1117
1103
  {
1118
1104
  "include": "#type-typedef-name"
@@ -1123,17 +1109,17 @@
1123
1109
  {
1124
1110
  "include": "#type-typedef-block"
1125
1111
  }
1126
- ]
1127
- },
1128
- "type-typedef-block": {
1129
- "begin": "(?<=\\{)",
1130
- "end": "(\\})",
1112
+ ],
1131
1113
  "endCaptures": {
1132
1114
  "1": {
1133
- "name": "punctuation.definition.block.end.haxe.2"
1115
+ "name": "punctuation.terminator.haxe.2"
1134
1116
  }
1135
- },
1117
+ }
1118
+ },
1119
+ "type-typedef-block": {
1136
1120
  "name": "meta.type.block.haxe.2",
1121
+ "begin": "(?\u003c=\\{)",
1122
+ "end": "(\\})",
1137
1123
  "patterns": [
1138
1124
  {
1139
1125
  "include": "#block"
@@ -1141,31 +1127,31 @@
1141
1127
  {
1142
1128
  "include": "#block-contents"
1143
1129
  }
1144
- ]
1130
+ ],
1131
+ "endCaptures": {
1132
+ "1": {
1133
+ "name": "punctuation.definition.block.end.haxe.2"
1134
+ }
1135
+ }
1145
1136
  },
1146
1137
  "type-typedef-name": {
1138
+ "name": "meta.type.name.haxe.2",
1147
1139
  "begin": "\\b(typedef)\\b",
1140
+ "end": "([_A-Za-z]\\w*)",
1148
1141
  "beginCaptures": {
1149
1142
  "1": {
1150
1143
  "name": "storage.type.class.haxe.2"
1151
1144
  }
1152
1145
  },
1153
- "end": "([_A-Za-z]\\w*)",
1154
1146
  "endCaptures": {
1155
1147
  "1": {
1156
1148
  "name": "entity.name.type.class.haxe.2"
1157
1149
  }
1158
- },
1159
- "name": "meta.type.name.haxe.2"
1150
+ }
1160
1151
  },
1161
1152
  "type-typedef-name-post": {
1162
- "begin": "(?<=\\w)",
1153
+ "begin": "(?\u003c=\\w)",
1163
1154
  "end": "(\\{)|(?=;)",
1164
- "endCaptures": {
1165
- "1": {
1166
- "name": "punctuation.definition.block.begin.haxe.2"
1167
- }
1168
- },
1169
1155
  "patterns": [
1170
1156
  {
1171
1157
  "include": "#punctuation-brackets"
@@ -1179,17 +1165,17 @@
1179
1165
  {
1180
1166
  "include": "#support-class-name"
1181
1167
  }
1182
- ]
1183
- },
1184
- "variable": {
1185
- "begin": "(?=var)",
1186
- "end": "(;)",
1168
+ ],
1187
1169
  "endCaptures": {
1188
1170
  "1": {
1189
- "name": "punctuation.terminator.haxe.2"
1171
+ "name": "punctuation.definition.block.begin.haxe.2"
1190
1172
  }
1191
- },
1173
+ }
1174
+ },
1175
+ "variable": {
1192
1176
  "name": "meta.variable.haxe.2",
1177
+ "begin": "(?=var)",
1178
+ "end": "(;)",
1193
1179
  "patterns": [
1194
1180
  {
1195
1181
  "include": "#variable-name"
@@ -1200,22 +1186,17 @@
1200
1186
  {
1201
1187
  "include": "#variable-name-post"
1202
1188
  }
1203
- ]
1204
- },
1205
- "variable-accessors": {
1206
- "begin": "(\\()",
1207
- "beginCaptures": {
1208
- "1": {
1209
- "name": "punctuation.definition.parameters.begin.haxe.2"
1210
- }
1211
- },
1212
- "end": "(\\))",
1189
+ ],
1213
1190
  "endCaptures": {
1214
1191
  "1": {
1215
- "name": "punctuation.definition.parameters.end.haxe.2"
1192
+ "name": "punctuation.terminator.haxe.2"
1216
1193
  }
1217
- },
1194
+ }
1195
+ },
1196
+ "variable-accessors": {
1218
1197
  "name": "meta.parameters.haxe.2",
1198
+ "begin": "(\\()",
1199
+ "end": "(\\))",
1219
1200
  "patterns": [
1220
1201
  {
1221
1202
  "include": "#operator-optional"
@@ -1226,15 +1207,20 @@
1226
1207
  {
1227
1208
  "include": "#punctuation-separator"
1228
1209
  }
1229
- ]
1230
- },
1231
- "variable-assign": {
1232
- "begin": "(=)",
1210
+ ],
1233
1211
  "beginCaptures": {
1234
1212
  "1": {
1235
- "name": "keyword.operator.assignment.haxe.2"
1213
+ "name": "punctuation.definition.parameters.begin.haxe.2"
1236
1214
  }
1237
1215
  },
1216
+ "endCaptures": {
1217
+ "1": {
1218
+ "name": "punctuation.definition.parameters.end.haxe.2"
1219
+ }
1220
+ }
1221
+ },
1222
+ "variable-assign": {
1223
+ "begin": "(=)",
1238
1224
  "end": "(?=;)",
1239
1225
  "patterns": [
1240
1226
  {
@@ -1243,25 +1229,30 @@
1243
1229
  {
1244
1230
  "include": "#block-contents"
1245
1231
  }
1246
- ]
1232
+ ],
1233
+ "beginCaptures": {
1234
+ "1": {
1235
+ "name": "keyword.operator.assignment.haxe.2"
1236
+ }
1237
+ }
1247
1238
  },
1248
1239
  "variable-name": {
1240
+ "name": "meta.variable.name.haxe.2",
1249
1241
  "begin": "\\b(var)\\b",
1242
+ "end": "([_a-zA-Z]\\w*)",
1250
1243
  "beginCaptures": {
1251
1244
  "1": {
1252
1245
  "name": "storage.type.variable.haxe.2"
1253
1246
  }
1254
1247
  },
1255
- "end": "([_a-zA-Z]\\w*)",
1256
1248
  "endCaptures": {
1257
1249
  "1": {
1258
1250
  "name": "entity.name.variable.haxe.2"
1259
1251
  }
1260
- },
1261
- "name": "meta.variable.name.haxe.2"
1252
+ }
1262
1253
  },
1263
1254
  "variable-name-post": {
1264
- "begin": "(?<=\\w)",
1255
+ "begin": "(?\u003c=\\w)",
1265
1256
  "end": "(?=;)|(?==)",
1266
1257
  "patterns": [
1267
1258
  {
@@ -1272,7 +1263,5 @@
1272
1263
  }
1273
1264
  ]
1274
1265
  }
1275
- },
1276
- "scopeName": "source.haxe.2",
1277
- "uuid": "fd62cd72-48d1-4e06-9ecd-76267656ac18"
1278
- }
1266
+ }
1267
+ }