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.
Files changed (598) hide show
  1. checksums.yaml +4 -4
  2. data/ext/linguist/lex.linguist_yy.c +1123 -623
  3. data/ext/linguist/lex.linguist_yy.h +433 -66
  4. data/ext/linguist/linguist.c +5 -35
  5. data/ext/linguist/linguist.h +0 -18
  6. data/ext/linguist/tokenizer.l +83 -65
  7. data/grammars/annotation.liquidhaskell.haskell.json +1 -1835
  8. data/grammars/config.xcompose.json +1 -80
  9. data/grammars/documentation.markdown.injection.haxe.json +1 -22
  10. data/grammars/etc.json +1 -987
  11. data/grammars/file.lasso.json +1 -702
  12. data/grammars/hidden.manref.json +1 -29
  13. data/grammars/hidden.regexp.injection-shell.json +1 -28
  14. data/grammars/hint.haskell.json +1 -1762
  15. data/grammars/hint.message.haskell.json +1 -1786
  16. data/grammars/hint.type.haskell.json +1 -1759
  17. data/grammars/injections.etc.json +1 -659
  18. data/grammars/inline.prisma.json +1 -55
  19. data/grammars/markdown.hack.codeblock.json +1 -20
  20. data/grammars/markdown.haxe.codeblock.json +1 -26
  21. data/grammars/markdown.hxml.codeblock.json +1 -26
  22. data/grammars/markdown.lean.codeblock.json +1 -0
  23. data/grammars/markdown.plantuml.codeblock.json +1 -26
  24. data/grammars/objdump.x86asm.json +1 -69
  25. data/grammars/source.4dm.json +1 -1156
  26. data/grammars/source.SASLog.json +1 -18
  27. data/grammars/source.abap.json +1 -335
  28. data/grammars/source.abapcds.json +1 -0
  29. data/grammars/source.abl.json +1 -734
  30. data/grammars/source.abnf.json +1 -294
  31. data/grammars/source.actionscript.3.json +1 -1538
  32. data/grammars/source.acucobol.json +1 -13
  33. data/grammars/source.ada.json +1 -133
  34. data/grammars/source.afm.json +1 -1207
  35. data/grammars/source.agc.json +1 -87
  36. data/grammars/source.agda.json +1 -72
  37. data/grammars/source.ahk.json +1 -195
  38. data/grammars/source.al.json +1 -130
  39. data/grammars/source.alloy.json +1 -40
  40. data/grammars/source.ampl.json +1 -151
  41. data/grammars/source.angelscript.json +1 -186
  42. data/grammars/source.antlr.json +1 -295
  43. data/grammars/source.apache-config.json +1 -346
  44. data/grammars/source.apache-config.mod_perl.json +1 -65
  45. data/grammars/source.apl.json +1 -1427
  46. data/grammars/source.applescript.json +1 -1384
  47. data/grammars/source.asl.json +1 -56
  48. data/grammars/source.asn.json +1 -55
  49. data/grammars/source.asp.json +1 -151
  50. data/grammars/source.aspectj.json +1 -960
  51. data/grammars/source.assembly.json +1 -116
  52. data/grammars/source.ats.json +1 -164
  53. data/grammars/source.autoit.json +1 -167
  54. data/grammars/source.avro.json +1 -381
  55. data/grammars/source.awk.json +1 -384
  56. data/grammars/source.ballerina.json +1 -1785
  57. data/grammars/source.batchfile.json +1 -732
  58. data/grammars/source.bdf.json +1 -425
  59. data/grammars/source.befunge.json +1 -34
  60. data/grammars/source.bf.json +1 -30
  61. data/grammars/source.blitzmax.json +1 -905
  62. data/grammars/source.bnf.json +1 -191
  63. data/grammars/source.boo.json +1 -448
  64. data/grammars/source.boogie.json +1 -0
  65. data/grammars/source.brightauthorproject.json +1 -24
  66. data/grammars/source.brightscript.json +1 -148
  67. data/grammars/source.bsl.json +1 -451
  68. data/grammars/source.bsv.json +1 -277
  69. data/grammars/source.c++.json +1 -436
  70. data/grammars/source.c++.qt.json +1 -29
  71. data/grammars/source.c.ec.json +1 -33
  72. data/grammars/source.c.json +1 -712
  73. data/grammars/source.c.nwscript.json +1 -0
  74. data/grammars/source.c.platform.json +1 -1115
  75. data/grammars/source.c2hs.json +1 -24
  76. data/grammars/source.cabal.json +1 -63
  77. data/grammars/source.cache.cmake.json +1 -70
  78. data/grammars/source.cake.json +1 -13
  79. data/grammars/source.camlp4.ocaml.json +1 -60
  80. data/grammars/source.capnp.json +1 -88
  81. data/grammars/source.ceylon.json +1 -93
  82. data/grammars/source.cfscript.cfc.json +1 -162
  83. data/grammars/source.cfscript.json +1 -737
  84. data/grammars/source.changelogs.rpm-spec.json +1 -91
  85. data/grammars/source.chapel.json +1 -265
  86. data/grammars/source.cirru.json +1 -61
  87. data/grammars/source.clarion.json +1 -146
  88. data/grammars/source.clean.json +1 -222
  89. data/grammars/source.click.json +1 -107
  90. data/grammars/source.clips.json +1 -67
  91. data/grammars/source.clojure.json +1 -429
  92. data/grammars/source.cm.json +1 -49
  93. data/grammars/source.cmake.json +1 -173
  94. data/grammars/source.cobol.json +1 -485
  95. data/grammars/source.coffee.json +1 -1310
  96. data/grammars/source.cool.json +1 -96
  97. data/grammars/source.coq.json +1 -58
  98. data/grammars/source.crystal.json +1 -2694
  99. data/grammars/source.cs.json +1 -4323
  100. data/grammars/source.csound-document.json +1 -175
  101. data/grammars/source.csound-score.json +1 -191
  102. data/grammars/source.csound.json +1 -824
  103. data/grammars/source.css.json +1 -1859
  104. data/grammars/source.css.less.json +1 -536
  105. data/grammars/source.css.mss.json +1 -249
  106. data/grammars/source.css.postcss.sugarss.json +1 -260
  107. data/grammars/source.css.scss.json +1 -1873
  108. data/grammars/source.csx.json +1 -13
  109. data/grammars/source.cuda-c++.json +1 -103
  110. data/grammars/source.curlrc.json +1 -984
  111. data/grammars/source.cwl.json +1 -103
  112. data/grammars/source.cython.json +1 -1912
  113. data/grammars/source.d.json +1 -741
  114. data/grammars/source.dart.json +1 -433
  115. data/grammars/source.data-weave.json +1 -1580
  116. data/grammars/source.desktop.json +1 -86
  117. data/grammars/source.diff.json +1 -153
  118. data/grammars/source.dircolors.json +1 -137
  119. data/grammars/source.direct-x.json +1 -135
  120. data/grammars/source.disasm.json +1 -30
  121. data/grammars/source.ditroff.desc.json +1 -411
  122. data/grammars/source.ditroff.json +1 -1280
  123. data/grammars/source.dm.json +1 -628
  124. data/grammars/source.dmf.json +1 -96
  125. data/grammars/source.dockerfile.json +1 -88
  126. data/grammars/source.dosbox-conf.json +1 -97
  127. data/grammars/source.dot.json +1 -117
  128. data/grammars/source.dylan.json +1 -212
  129. data/grammars/source.ebnf.json +1 -240
  130. data/grammars/source.editorconfig.json +1 -365
  131. data/grammars/source.eiffel.json +1 -133
  132. data/grammars/source.elixir.json +1 -965
  133. data/grammars/source.elm.json +1 -375
  134. data/grammars/source.emacs.lisp.json +1 -1301
  135. data/grammars/source.erlang.json +1 -1647
  136. data/grammars/source.essl.json +1 -37
  137. data/grammars/source.factor.json +1 -252
  138. data/grammars/source.fan.json +1 -341
  139. data/grammars/source.fancy.json +1 -245
  140. data/grammars/source.faust.json +1 -119
  141. data/grammars/source.figctrl.json +1 -252
  142. data/grammars/source.figfont.json +1 -121
  143. data/grammars/source.firestore.json +1 -289
  144. data/grammars/source.fish.json +1 -190
  145. data/grammars/source.fontdir.json +1 -99
  146. data/grammars/source.fontforge.json +1 -355
  147. data/grammars/source.forth.json +1 -84
  148. data/grammars/source.fortran.json +1 -464
  149. data/grammars/source.fortran.modern.json +1 -200
  150. data/grammars/source.fsharp.fsi.json +1 -9
  151. data/grammars/source.fsharp.fsl.json +1 -9
  152. data/grammars/source.fsharp.fsx.json +1 -13
  153. data/grammars/source.fsharp.json +1 -452
  154. data/grammars/source.fstar.json +1 -439
  155. data/grammars/source.futhark.json +1 -167
  156. data/grammars/source.gap.json +1 -163
  157. data/grammars/source.gcode.json +1 -176
  158. data/grammars/source.gdb.json +1 -160
  159. data/grammars/source.gdb.session.json +1 -70
  160. data/grammars/source.gdbregs.json +1 -14
  161. data/grammars/source.gdscript.json +1 -245
  162. data/grammars/source.gedcom.json +1 -196
  163. data/grammars/source.generic-db.json +1 -41
  164. data/grammars/source.gerber.json +1 -321
  165. data/grammars/source.gf.json +1 -51
  166. data/grammars/source.gfm.blade.json +1 -15
  167. data/grammars/source.gfm.json +1 -1913
  168. data/grammars/source.gitattributes.json +1 -111
  169. data/grammars/source.gitconfig.json +1 -450
  170. data/grammars/source.gitignore.json +1 -140
  171. data/grammars/source.glsl.json +1 -139
  172. data/grammars/source.gn.json +1 -345
  173. data/grammars/source.gnuplot.json +1 -260
  174. data/grammars/source.go.json +1 -540
  175. data/grammars/source.golo.json +1 -177
  176. data/grammars/source.gosu.2.json +1 -153
  177. data/grammars/source.grace.json +1 -675
  178. data/grammars/source.graphql.json +1 -978
  179. data/grammars/source.gremlin.json +1 -200
  180. data/grammars/source.groovy.gradle.json +1 -69
  181. data/grammars/source.groovy.json +1 -1374
  182. data/grammars/source.hack.json +1 -2595
  183. data/grammars/source.haproxy-config.json +1 -152
  184. data/grammars/source.harbour.json +1 -388
  185. data/grammars/source.haskell.json +1 -1760
  186. data/grammars/source.hc.json +1 -709
  187. data/grammars/source.hgignore.json +1 -34
  188. data/grammars/source.hlsl.json +1 -211
  189. data/grammars/source.hosts.json +1 -40
  190. data/grammars/source.hql.json +1 -492
  191. data/grammars/source.hsc2hs.json +1 -9
  192. data/grammars/source.hsig.json +1 -1760
  193. data/grammars/source.httpspec.json +1 -283
  194. data/grammars/source.hx.argument.json +1 -80
  195. data/grammars/source.hx.json +1 -2428
  196. data/grammars/source.hx.type.json +1 -8
  197. data/grammars/source.hxml.json +1 -59
  198. data/grammars/source.hy.json +1 -429
  199. data/grammars/source.ideal.json +1 -356
  200. data/grammars/source.idl-dlm.json +1 -105
  201. data/grammars/source.idl.json +1 -246
  202. data/grammars/source.idris.json +1 -523
  203. data/grammars/source.igor.json +1 -369
  204. data/grammars/source.inform7.json +1 -183
  205. data/grammars/source.ini.json +1 -107
  206. data/grammars/source.ini.npmrc.json +1 -311
  207. data/grammars/source.inno.json +1 -133
  208. data/grammars/source.inputrc.json +1 -500
  209. data/grammars/source.io.json +1 -156
  210. data/grammars/source.ioke.json +1 -266
  211. data/grammars/source.isabelle.root.json +1 -64
  212. data/grammars/source.isabelle.theory.json +1 -102
  213. data/grammars/source.j.json +1 -260
  214. data/grammars/source.jasmin.json +1 -294
  215. data/grammars/source.java-properties.json +1 -87
  216. data/grammars/source.java.json +1 -1020
  217. data/grammars/source.jcl.json +1 -46
  218. data/grammars/source.jflex.json +1 -484
  219. data/grammars/source.jison.json +1 -711
  220. data/grammars/source.jisonlex-injection.json +1 -10
  221. data/grammars/source.jisonlex.json +1 -434
  222. data/grammars/source.jolie.json +1 -132
  223. data/grammars/source.jq.json +1 -211
  224. data/grammars/source.js.json +1 -1897
  225. data/grammars/source.js.objj.json +1 -419
  226. data/grammars/source.js.regexp.json +1 -152
  227. data/grammars/source.js.regexp.replacement.json +1 -26
  228. data/grammars/source.jsdoc.json +1 -460
  229. data/grammars/source.json.json +1 -139
  230. data/grammars/source.jsonnet.json +1 -197
  231. data/grammars/source.julia.console.json +1 -51
  232. data/grammars/source.julia.json +1 -991
  233. data/grammars/source.kotlin.json +1 -704
  234. data/grammars/source.lark.json +1 -0
  235. data/grammars/source.lbnf.json +1 -0
  236. data/grammars/source.lcov.json +1 -398
  237. data/grammars/source.lean.json +1 -226
  238. data/grammars/source.lean.markdown.json +1 -2598
  239. data/grammars/source.lex.json +1 -232
  240. data/grammars/source.lex.regexp.json +1 -269
  241. data/grammars/source.lid.json +1 -19
  242. data/grammars/source.lilypond.json +1 -869
  243. data/grammars/source.lisp.json +1 -101
  244. data/grammars/source.litcoffee.json +1 -654
  245. data/grammars/source.livescript.json +1 -603
  246. data/grammars/source.llvm.json +1 -61
  247. data/grammars/source.logos.json +1 -24
  248. data/grammars/source.logtalk.json +1 -310
  249. data/grammars/source.loomscript.json +1 -208
  250. data/grammars/source.lsl.json +1 -241
  251. data/grammars/source.ltspice.symbol.json +1 -294
  252. data/grammars/source.lua.json +1 -275
  253. data/grammars/source.m2.json +1 -125
  254. data/grammars/source.m4.json +1 -229
  255. data/grammars/source.m68k.json +1 -412
  256. data/grammars/source.mailmap.json +1 -28
  257. data/grammars/source.makefile.json +1 -470
  258. data/grammars/source.makegen.json +1 -9
  259. data/grammars/source.man-conf.json +1 -153
  260. data/grammars/source.mask.json +1 -816
  261. data/grammars/source.mata.json +1 -125
  262. data/grammars/source.mathematica.json +1 -416
  263. data/grammars/source.matlab.json +1 -1096
  264. data/grammars/source.maxscript.json +1 -465
  265. data/grammars/source.mcfunction-snapshot.json +1 -24480
  266. data/grammars/source.mcfunction.json +1 -1354
  267. data/grammars/source.mercury.json +1 -246
  268. data/grammars/source.meson.json +1 -165
  269. data/grammars/source.meta-info.json +1 -146
  270. data/grammars/source.ml.json +1 -285
  271. data/grammars/source.mlir.json +1 -109
  272. data/grammars/source.modelica.json +1 -142
  273. data/grammars/source.modula-3.json +1 -88
  274. data/grammars/source.modula2.json +1 -94
  275. data/grammars/source.monkey.json +1 -694
  276. data/grammars/source.moonscript.json +1 -144
  277. data/grammars/source.mql5.json +1 -187
  278. data/grammars/source.msl.json +1 -755
  279. data/grammars/source.mupad.json +1 -131
  280. data/grammars/source.nanorc.json +1 -333
  281. data/grammars/source.nasl.json +1 -155
  282. data/grammars/source.ncl.json +1 -53
  283. data/grammars/source.ne.json +1 -105
  284. data/grammars/source.nemerle.json +1 -132
  285. data/grammars/source.neon.json +1 -381
  286. data/grammars/source.nesc.json +1 -21
  287. data/grammars/source.netlinx.erb.json +1 -34
  288. data/grammars/source.netlinx.json +1 -704
  289. data/grammars/source.nextflow-groovy.json +1 -1359
  290. data/grammars/source.nextflow.json +1 -94
  291. data/grammars/source.nginx.json +1 -815
  292. data/grammars/source.nim.comment.json +1 -82
  293. data/grammars/source.nim.json +1 -1083
  294. data/grammars/source.nim_filter.json +1 -113
  295. data/grammars/source.nimcfg.json +1 -103
  296. data/grammars/source.ninja.json +1 -248
  297. data/grammars/source.nit.json +1 -234
  298. data/grammars/source.nix.json +1 -1196
  299. data/grammars/source.nsis.json +1 -152
  300. data/grammars/source.nu.json +1 -516
  301. data/grammars/source.nunjucks.json +1 -0
  302. data/grammars/source.nut.json +1 -262
  303. data/grammars/source.objc++.json +1 -12
  304. data/grammars/source.objc.json +1 -910
  305. data/grammars/source.objc.platform.json +1 -842
  306. data/grammars/source.objectscript.json +1 -309
  307. data/grammars/source.objectscript_class.json +1 -674
  308. data/grammars/source.objectscript_csp.json +1 -19
  309. data/grammars/source.objectscript_macros.json +1 -226
  310. data/grammars/source.ocaml.json +1 -1418
  311. data/grammars/source.ocamllex.json +1 -298
  312. data/grammars/source.ocamlyacc.json +1 -339
  313. data/grammars/source.odin-ehr.json +1 -806
  314. data/grammars/source.odin.json +1 -402
  315. data/grammars/source.ooc.json +1 -685
  316. data/grammars/source.opa.json +1 -196
  317. data/grammars/source.opal.json +1 -410
  318. data/grammars/source.opalsysdefs.json +1 -66
  319. data/grammars/source.openbsd-pkg.contents.json +1 -128
  320. data/grammars/source.opencobol.json +1 -62
  321. data/grammars/source.opentype.json +1 -448
  322. data/grammars/source.opts.json +1 -108
  323. data/grammars/source.ox.json +1 -89
  324. data/grammars/source.oz.json +1 -77
  325. data/grammars/source.p4.json +1 -122
  326. data/grammars/source.paket.dependencies.json +1 -0
  327. data/grammars/source.paket.lock.json +1 -0
  328. data/grammars/source.pan.json +1 -706
  329. data/grammars/source.papyrus.skyrim.json +1 -1272
  330. data/grammars/source.parrot.pir.json +1 -145
  331. data/grammars/source.pascal.json +1 -143
  332. data/grammars/source.pawn.json +1 -1194
  333. data/grammars/source.pcb.board.json +1 -285
  334. data/grammars/source.pcb.schematic.json +1 -424
  335. data/grammars/source.pcb.sexp.json +1 -232
  336. data/grammars/source.pep8.json +1 -118
  337. data/grammars/source.perl.6.json +1 -309
  338. data/grammars/source.perl.json +1 -2519
  339. data/grammars/source.php.zephir.json +1 -353
  340. data/grammars/source.pic.json +1 -908
  341. data/grammars/source.pig_latin.json +1 -168
  342. data/grammars/source.pike.json +1 -49
  343. data/grammars/source.plist.json +1 -336
  344. data/grammars/source.po.json +1 -222
  345. data/grammars/source.pogoscript.json +1 -79
  346. data/grammars/source.pony.json +1 -245
  347. data/grammars/source.postcss.json +1 -370
  348. data/grammars/source.postscript.json +1 -477
  349. data/grammars/source.pov-ray sdl.json +1 -82
  350. data/grammars/source.powershell.json +1 -981
  351. data/grammars/source.prisma.json +1 -435
  352. data/grammars/source.processing.json +1 -872
  353. data/grammars/source.prolog.eclipse.json +1 -201
  354. data/grammars/source.prolog.json +1 -286
  355. data/grammars/source.protobuf.json +1 -471
  356. data/grammars/source.puppet.json +1 -433
  357. data/grammars/source.purescript.json +1 -861
  358. data/grammars/source.pyjade.json +1 -996
  359. data/grammars/source.python.django.json +1 -29
  360. data/grammars/source.python.json +1 -5292
  361. data/grammars/source.python.salt.json +1 -9
  362. data/grammars/source.q.json +1 -215
  363. data/grammars/source.q_output.json +1 -348
  364. data/grammars/source.qasm.json +1 -66
  365. data/grammars/source.ql.json +1 -1408
  366. data/grammars/source.qmake.json +1 -210
  367. data/grammars/source.qml.json +1 -174
  368. data/grammars/source.qsharp.json +1 -120
  369. data/grammars/source.quake.json +1 -44
  370. data/grammars/source.quoting.raku.json +1 -0
  371. data/grammars/source.r.json +1 -194
  372. data/grammars/source.racket.json +1 -98
  373. data/grammars/source.raku.json +1 -0
  374. data/grammars/source.rascal.json +1 -283
  375. data/grammars/source.reason.hover.type.json +1 -14
  376. data/grammars/source.reason.json +1 -3382
  377. data/grammars/source.rebol.json +1 -637
  378. data/grammars/source.record-jar.json +1 -0
  379. data/grammars/source.red.json +1 -644
  380. data/grammars/source.reg.json +1 -159
  381. data/grammars/source.regexp.extended.json +1 -558
  382. data/grammars/source.regexp.json +1 -1434
  383. data/grammars/source.regexp.posix.json +1 -0
  384. data/grammars/source.regexp.python.json +1 -490
  385. data/grammars/source.regexp.raku.json +1 -0
  386. data/grammars/source.regexp.spin.json +1 -179
  387. data/grammars/source.rego.json +1 -124
  388. data/grammars/source.renpy.json +1 -1948
  389. data/grammars/source.rescript.json +1 -0
  390. data/grammars/source.rexx.json +1 -52
  391. data/grammars/source.ring.json +1 -247
  392. data/grammars/source.rpm-spec.json +1 -765
  393. data/grammars/source.ruby.gemfile.json +1 -24
  394. data/grammars/source.ruby.json +1 -2605
  395. data/grammars/source.ruby.rspec.cucumber.steps.json +1 -261
  396. data/grammars/source.rust.json +1 -629
  397. data/grammars/source.sas.json +1 -286
  398. data/grammars/source.sass.json +1 -1089
  399. data/grammars/source.sassdoc.json +1 -346
  400. data/grammars/source.scad.json +1 -145
  401. data/grammars/source.scala.json +1 -1121
  402. data/grammars/source.scaml.json +1 -451
  403. data/grammars/source.scheme.json +1 -353
  404. data/grammars/source.scilab.json +1 -96
  405. data/grammars/source.sdbl.json +1 -90
  406. data/grammars/source.sed.json +1 -1520
  407. data/grammars/source.shaderlab.json +1 -198
  408. data/grammars/source.shell.json +1 -1272
  409. data/grammars/source.shen.json +1 -143
  410. data/grammars/source.sieve.json +1 -383
  411. data/grammars/source.slice.json +1 -2755
  412. data/grammars/source.smali.json +1 -1610
  413. data/grammars/source.smalltalk.json +1 -187
  414. data/grammars/source.smpl.json +1 -314
  415. data/grammars/source.smt.json +1 -158
  416. data/grammars/source.solidity.json +1 -189
  417. data/grammars/source.sourcepawn.json +1 -651
  418. data/grammars/source.sparql.json +1 -18
  419. data/grammars/source.spin.json +1 -916
  420. data/grammars/source.sqf.json +1 -111
  421. data/grammars/source.sql.json +1 -459
  422. data/grammars/source.ssh-config.json +1 -97
  423. data/grammars/source.stan.json +1 -388
  424. data/grammars/source.stata.json +1 -197
  425. data/grammars/source.strings.json +1 -49
  426. data/grammars/source.stylus.json +1 -1018
  427. data/grammars/source.supercollider.json +1 -93
  428. data/grammars/source.svelte.json +1 -827
  429. data/grammars/source.swift.json +1 -3134
  430. data/grammars/source.sy.json +1 -2954
  431. data/grammars/source.systemverilog.json +1 -1036
  432. data/grammars/source.tags.json +1 -266
  433. data/grammars/source.tcl.json +1 -260
  434. data/grammars/source.tea.json +1 -174
  435. data/grammars/source.terra.json +1 -138
  436. data/grammars/source.terraform.json +1 -694
  437. data/grammars/source.thrift.json +1 -698
  438. data/grammars/source.tl.json +1 -259
  439. data/grammars/source.tla.json +1 -140
  440. data/grammars/source.tnsaudit.json +1 -256
  441. data/grammars/source.toc.json +1 -52
  442. data/grammars/source.toml.json +1 -426
  443. data/grammars/source.ts.json +1 -5581
  444. data/grammars/source.tsql.json +1 -507
  445. data/grammars/source.tsx.json +1 -5834
  446. data/grammars/source.turing.json +1 -1553
  447. data/grammars/source.turtle.json +1 -489
  448. data/grammars/source.txl.json +1 -48
  449. data/grammars/source.ucd.nameslist.json +1 -444
  450. data/grammars/source.ucd.unidata.json +1 -570
  451. data/grammars/source.ucfconstraints.json +1 -67
  452. data/grammars/source.ur.json +1 -31
  453. data/grammars/source.v.json +1 -1010
  454. data/grammars/source.vala.json +1 -800
  455. data/grammars/source.varnish.vcl.json +1 -331
  456. data/grammars/source.vbnet.json +1 -239
  457. data/grammars/source.verilog.json +1 -296
  458. data/grammars/source.vhdl.json +1 -1374
  459. data/grammars/source.vim-snippet.json +1 -645
  460. data/grammars/source.viml.json +1 -1197
  461. data/grammars/source.vtt.json +1 -702
  462. data/grammars/source.vyper.json +1 -213
  463. data/grammars/source.wavefront.mtl.json +1 -1190
  464. data/grammars/source.wavefront.obj.json +1 -1341
  465. data/grammars/source.wdl.json +1 -220
  466. data/grammars/source.webassembly.json +1 -349
  467. data/grammars/source.webidl.json +1 -807
  468. data/grammars/source.wgetrc.json +1 -1640
  469. data/grammars/source.wollok.json +1 -100
  470. data/grammars/source.wsd.json +1 -781
  471. data/grammars/source.x10.json +1 -64
  472. data/grammars/source.x86.json +1 -299
  473. data/grammars/source.x86asm.json +1 -42
  474. data/grammars/source.xc.json +1 -371
  475. data/grammars/source.xlfd.json +1 -462
  476. data/grammars/source.xojo.json +1 -85
  477. data/grammars/source.xq.json +1 -230
  478. data/grammars/source.xtend.json +1 -724
  479. data/grammars/source.yacc.json +1 -626
  480. data/grammars/source.yaml.json +1 -443
  481. data/grammars/source.yaml.salt.json +1 -345
  482. data/grammars/source.yang.json +1 -78
  483. data/grammars/source.yara.json +1 -99
  484. data/grammars/source.yasnippet.json +1 -377
  485. data/grammars/source.zap.json +1 -260
  486. data/grammars/source.zeek.json +1 -412
  487. data/grammars/source.zenscript.json +1 -282
  488. data/grammars/source.zig.json +1 -547
  489. data/grammars/source.zil.json +1 -750
  490. data/grammars/text.bibtex.json +1 -246
  491. data/grammars/text.browserslist.json +1 -0
  492. data/grammars/text.cfml.basic.json +1 -735
  493. data/grammars/text.checksums.json +1 -0
  494. data/grammars/text.conllu.json +1 -45
  495. data/grammars/text.dfy.dafny.json +1 -188
  496. data/grammars/text.elixir.json +1 -52
  497. data/grammars/text.eml.basic.json +1 -296
  498. data/grammars/text.error-list.json +1 -53
  499. data/grammars/text.find-refs.json +1 -926
  500. data/grammars/text.gherkin.feature.json +1 -127
  501. data/grammars/text.haml.json +1 -518
  502. data/grammars/text.hamlc.json +1 -219
  503. data/grammars/text.html.asciidoc.json +1 -478
  504. data/grammars/text.html.asdoc.json +1 -529
  505. data/grammars/text.html.asp.json +1 -53
  506. data/grammars/text.html.basic.json +1 -908
  507. data/grammars/text.html.cfm.json +1 -802
  508. data/grammars/text.html.creole.json +1 -317
  509. data/grammars/text.html.cshtml.json +1 -356
  510. data/grammars/text.html.django.json +1 -63
  511. data/grammars/text.html.ecr.json +1 -48
  512. data/grammars/text.html.elixir.json +1 -21
  513. data/grammars/text.html.erb.json +1 -150
  514. data/grammars/text.html.erlang.yaws.json +1 -67
  515. data/grammars/text.html.factor.json +1 -19
  516. data/grammars/text.html.ftl.json +1 -76
  517. data/grammars/text.html.handlebars.json +1 -845
  518. data/grammars/text.html.javadoc.json +1 -426
  519. data/grammars/text.html.js.json +1 -24
  520. data/grammars/text.html.jsp.json +1 -1196
  521. data/grammars/text.html.liquid.json +1 -25
  522. data/grammars/text.html.mako.json +1 -726
  523. data/grammars/text.html.markdown.source.gfm.apib.json +1 -1298
  524. data/grammars/text.html.markdown.source.gfm.mson.json +1 -1156
  525. data/grammars/text.html.mediawiki.elm-build-output.json +1 -97
  526. data/grammars/text.html.mediawiki.elm-documentation.json +1 -17
  527. data/grammars/text.html.mediawiki.json +1 -946
  528. data/grammars/text.html.nunjucks.json +1 -0
  529. data/grammars/text.html.php.blade.json +1 -3833
  530. data/grammars/text.html.php.json +1 -2507
  531. data/grammars/text.html.riot.json +1 -788
  532. data/grammars/text.html.slash.json +1 -307
  533. data/grammars/text.html.smarty.json +1 -232
  534. data/grammars/text.html.soy.json +1 -606
  535. data/grammars/text.html.ssp.json +1 -43
  536. data/grammars/text.html.tcl.json +1 -37
  537. data/grammars/text.html.twig.json +1 -1344
  538. data/grammars/text.html.vue.json +1 -963
  539. data/grammars/text.idl-idldoc.json +1 -10
  540. data/grammars/text.jade.json +1 -963
  541. data/grammars/text.junit-test-report.json +1 -89
  542. data/grammars/text.log.latex.json +1 -84
  543. data/grammars/text.marko.json +1 -1662
  544. data/grammars/text.muse.json +1 -1471
  545. data/grammars/text.openbsd-pkg.desc.json +1 -78
  546. data/grammars/text.plain.json +1 -18
  547. data/grammars/text.python.console.json +1 -21
  548. data/grammars/text.python.traceback.json +1 -43
  549. data/grammars/text.rdoc.json +1 -44
  550. data/grammars/text.restructuredtext.clean.json +1 -24
  551. data/grammars/text.restructuredtext.json +1 -1765
  552. data/grammars/text.robot.json +1 -63
  553. data/grammars/text.roff.json +1 -6927
  554. data/grammars/text.rtf.json +1 -148
  555. data/grammars/text.runoff.json +1 -308
  556. data/grammars/text.sfd.json +1 -292
  557. data/grammars/text.shell-session.json +1 -29
  558. data/grammars/text.slim.json +1 -527
  559. data/grammars/text.srt.json +1 -166
  560. data/grammars/text.tex.json +1 -264
  561. data/grammars/text.tex.latex.beamer.json +1 -57
  562. data/grammars/text.tex.latex.haskell.json +1 -1826
  563. data/grammars/text.tex.latex.json +1 -1003
  564. data/grammars/text.tex.latex.memoir.json +1 -129
  565. data/grammars/text.tex.latex.rd.json +1 -111
  566. data/grammars/text.texinfo.json +1 -1525
  567. data/grammars/text.vim-help.json +1 -383
  568. data/grammars/text.xml.ant.json +1 -195
  569. data/grammars/text.xml.flex-config.json +1 -2628
  570. data/grammars/text.xml.genshi.json +1 -28
  571. data/grammars/text.xml.json +1 -351
  572. data/grammars/text.xml.plist.json +1 -664
  573. data/grammars/text.xml.pom.json +1 -769
  574. data/grammars/text.xml.svg.json +1 -562
  575. data/grammars/text.xml.xsl.json +1 -88
  576. data/grammars/text.zone_file.json +1 -67
  577. data/grammars/version +1 -1
  578. data/lib/linguist/VERSION +1 -1
  579. data/lib/linguist/classifier.rb +28 -17
  580. data/lib/linguist/generated.rb +23 -3
  581. data/lib/linguist/generic.yml +18 -0
  582. data/lib/linguist/heuristics.yml +57 -22
  583. data/lib/linguist/language.rb +4 -2
  584. data/lib/linguist/languages.json +1 -1
  585. data/lib/linguist/languages.yml +142 -25
  586. data/lib/linguist/linguist.bundle +0 -0
  587. data/lib/linguist/samples.json +1 -1
  588. data/lib/linguist/samples.rb +4 -4
  589. data/lib/linguist/{md5.rb → sha256.rb} +3 -3
  590. data/lib/linguist/strategy/extension.rb +13 -5
  591. data/lib/linguist/vendor.yml +1 -1
  592. metadata +23 -10
  593. data/ext/linguist/strndup.c +0 -10
  594. data/grammars/source.js.css.json +0 -328
  595. data/grammars/source.js.jsx.json +0 -2488
  596. data/grammars/source.perl6fe.json +0 -2769
  597. data/grammars/source.quoting.perl6fe.json +0 -2369
  598. data/grammars/source.regexp.perl6fe.json +0 -244
@@ -1,2769 +0,0 @@
1
- {
2
- "name": "Perl 6",
3
- "scopeName": "source.perl6fe",
4
- "patterns": [
5
- {
6
- "contentName": "comment.block.finish.perl6fe",
7
- "begin": "^\\s*(=)(finish)",
8
- "patterns": [
9
- {
10
- "include": "#comment-block-syntax"
11
- }
12
- ],
13
- "beginCaptures": {
14
- "1": {
15
- "name": "storage.modifier.block.finish.perl6fe"
16
- },
17
- "2": {
18
- "name": "keyword.operator.block.finish.perl6fe"
19
- }
20
- }
21
- },
22
- {
23
- "include": "#comment-block-delimited"
24
- },
25
- {
26
- "contentName": "comment.block.paragraph.perl6fe",
27
- "begin": "^\\s*(=)(?:(para)|(for)\\s+(\\w+))",
28
- "end": "(?=^\\s*$|^\\s*=\\w+.*$)",
29
- "patterns": [
30
- {
31
- "include": "#comment-block-syntax"
32
- }
33
- ],
34
- "beginCaptures": {
35
- "1": {
36
- "name": "storage.modifier.block.paragraph.perl6fe"
37
- },
38
- "2": {
39
- "name": "keyword.operator.block.paragraph.perl6fe"
40
- },
41
- "3": {
42
- "name": "entity.other.attribute-name.paragraph.perl6fe"
43
- }
44
- }
45
- },
46
- {
47
- "include": "#comment-block-abbreviated"
48
- },
49
- {
50
- "name": "meta.documentation.block.declarator.perl6fe",
51
- "match": "^\\s*(#)([\\|\\=])(.*)\\n",
52
- "captures": {
53
- "1": {
54
- "name": "comment.punctuation.pound.perl6fe"
55
- },
56
- "2": {
57
- "name": "meta.declarator.perl6fe"
58
- },
59
- "3": {
60
- "name": "comment.inline.declarator.perl6fe"
61
- }
62
- }
63
- },
64
- {
65
- "name": "comment.multiline.hash-tick.triple_paren.perl6fe",
66
- "begin": "\\s*#`\\(\\(\\(",
67
- "end": "\\)\\)\\)",
68
- "patterns": [
69
- {
70
- "name": "comment.internal.triple_paren.perl6fe",
71
- "begin": "\\(\\(\\(",
72
- "end": "\\)\\)\\)"
73
- }
74
- ]
75
- },
76
- {
77
- "name": "comment.multiline.hash-tick.triple_bracket.perl6fe",
78
- "begin": "\\s*#`\\[\\[\\[",
79
- "end": "\\]\\]\\]",
80
- "patterns": [
81
- {
82
- "name": "comment.internal.triple_bracket.perl6fe",
83
- "begin": "\\[\\[\\[",
84
- "end": "\\]\\]\\]"
85
- }
86
- ]
87
- },
88
- {
89
- "name": "comment.multiline.hash-tick.triple_brace.perl6fe",
90
- "begin": "\\s*#`\\{\\{\\{",
91
- "end": "\\}\\}\\}",
92
- "patterns": [
93
- {
94
- "name": "comment.internal.triple_brace.perl6fe",
95
- "begin": "\\{\\{\\{",
96
- "end": "\\}\\}\\}"
97
- }
98
- ]
99
- },
100
- {
101
- "name": "comment.multiline.hash-tick.triple_angle.perl6fe",
102
- "begin": "\\s*#`\u003c\u003c\u003c",
103
- "end": "\u003e\u003e\u003e",
104
- "patterns": [
105
- {
106
- "name": "comment.internal.triple_angle.perl6fe",
107
- "begin": "\u003c\u003c\u003c",
108
- "end": "\u003e\u003e\u003e"
109
- }
110
- ]
111
- },
112
- {
113
- "name": "comment.multiline.hash-tick.double_angle.perl6fe",
114
- "begin": "\\s*#`\u003c\u003c",
115
- "end": "\u003e\u003e",
116
- "patterns": [
117
- {
118
- "name": "comment.internal.double_angle.perl6fe",
119
- "begin": "\u003c\u003c",
120
- "end": "\u003e\u003e"
121
- }
122
- ]
123
- },
124
- {
125
- "name": "comment.multiline.hash-tick.double_paren.perl6fe",
126
- "begin": "\\s*#`\\(\\(",
127
- "end": "\\)\\)",
128
- "patterns": [
129
- {
130
- "name": "comment.internal.double_paren.perl6fe",
131
- "begin": "\\(\\(",
132
- "end": "\\)\\)"
133
- }
134
- ]
135
- },
136
- {
137
- "name": "comment.multiline.hash-tick.double_bracket.perl6fe",
138
- "begin": "\\s*#`\\[\\[",
139
- "end": "\\]\\]",
140
- "patterns": [
141
- {
142
- "name": "comment.internal.double_bracket.perl6fe",
143
- "begin": "\\[\\[",
144
- "end": "\\]\\]"
145
- }
146
- ]
147
- },
148
- {
149
- "name": "comment.multiline.hash-tick.double_brace.perl6fe",
150
- "begin": "\\s*#`{{",
151
- "end": "}}",
152
- "patterns": [
153
- {
154
- "name": "comment.internal.double_brace.perl6fe",
155
- "begin": "{{",
156
- "end": "}}"
157
- }
158
- ]
159
- },
160
- {
161
- "name": "comment.multiline.hash-tick.brace.perl6fe",
162
- "begin": "\\s*#`{",
163
- "end": "}",
164
- "patterns": [
165
- {
166
- "name": "comment.internal.brace.perl6fe",
167
- "begin": "{",
168
- "end": "}"
169
- }
170
- ]
171
- },
172
- {
173
- "name": "comment.multiline.hash-tick.angle.perl6fe",
174
- "begin": "\\s*#`\u003c",
175
- "end": "\u003e",
176
- "patterns": [
177
- {
178
- "name": "comment.internal.angle.perl6fe",
179
- "begin": "\u003c",
180
- "end": "\u003e"
181
- }
182
- ]
183
- },
184
- {
185
- "name": "comment.multiline.hash-tick.paren.perl6fe",
186
- "begin": "\\s*#`\\(",
187
- "end": "\\)",
188
- "patterns": [
189
- {
190
- "name": "comment.internal.paren.perl6fe",
191
- "begin": "\\(",
192
- "end": "\\)"
193
- }
194
- ]
195
- },
196
- {
197
- "name": "comment.multiline.hash-tick.bracket.perl6fe",
198
- "begin": "\\s*#`\\[",
199
- "end": "\\]",
200
- "patterns": [
201
- {
202
- "name": "comment.internal.bracket.perl6fe",
203
- "begin": "\\[",
204
- "end": "\\]"
205
- }
206
- ]
207
- },
208
- {
209
- "name": "comment.multiline.hash-tick.left_double_right_double.perl6fe",
210
- "begin": "\\s*#`“",
211
- "end": "”",
212
- "patterns": [
213
- {
214
- "name": "comment.internal.left_double_right_double.perl6fe",
215
- "begin": "“",
216
- "end": "”"
217
- }
218
- ]
219
- },
220
- {
221
- "name": "comment.multiline.hash-tick.left_double-low-q_right_double.perl6fe",
222
- "begin": "\\s*#`„",
223
- "end": "”|“",
224
- "patterns": [
225
- {
226
- "name": "comment.internal.left_double-low-q_right_double.perl6fe",
227
- "begin": "„",
228
- "end": "”|“"
229
- }
230
- ]
231
- },
232
- {
233
- "name": "comment.multiline.hash-tick.left_single_right_single.perl6fe",
234
- "begin": "\\s*#`‘",
235
- "end": "’",
236
- "patterns": [
237
- {
238
- "name": "comment.internal.left_single_right_single.perl6fe",
239
- "begin": "‘",
240
- "end": "’"
241
- }
242
- ]
243
- },
244
- {
245
- "name": "comment.multiline.hash-tick.low-q_left_single.perl6fe",
246
- "begin": "\\s*#`‚",
247
- "end": "‘",
248
- "patterns": [
249
- {
250
- "name": "comment.internal.low-q_left_single.perl6fe",
251
- "begin": "‚",
252
- "end": "‘"
253
- }
254
- ]
255
- },
256
- {
257
- "name": "comment.multiline.hash-tick.fw_cornerbracket.perl6fe",
258
- "begin": "\\s*#`「",
259
- "end": "」",
260
- "patterns": [
261
- {
262
- "name": "comment.internal.fw_cornerbracket.perl6fe",
263
- "begin": "「",
264
- "end": "」"
265
- }
266
- ]
267
- },
268
- {
269
- "name": "comment.multiline.hash-tick.hw_cornerbracket.perl6fe",
270
- "begin": "\\s*#`「",
271
- "end": "」",
272
- "patterns": [
273
- {
274
- "name": "comment.internal.hw_cornerbracket.perl6fe",
275
- "begin": "「",
276
- "end": "」"
277
- }
278
- ]
279
- },
280
- {
281
- "name": "comment.multiline.hash-tick.chevron.perl6fe",
282
- "begin": "\\s*#`«",
283
- "end": "»",
284
- "patterns": [
285
- {
286
- "name": "comment.internal.chevron.perl6fe",
287
- "begin": "«",
288
- "end": "»"
289
- }
290
- ]
291
- },
292
- {
293
- "name": "comment.multiline.hash-tick.s-shaped-bag-delimiter.perl6fe",
294
- "begin": "\\s*#`⟅",
295
- "end": "⟆",
296
- "patterns": [
297
- {
298
- "name": "comment.internal.s-shaped-bag-delimiter.perl6fe",
299
- "begin": "⟅",
300
- "end": "⟆"
301
- }
302
- ]
303
- },
304
- {
305
- "name": "string.quoted.left_double_right_double.perl6fe",
306
- "begin": "“",
307
- "end": "”",
308
- "patterns": [
309
- {
310
- "name": "constant.character.escape.perl6fe",
311
- "match": "\\\\[“”abtnfre\\\\\\{\\}]"
312
- },
313
- {
314
- "include": "#interpolation"
315
- },
316
- {
317
- "include": "source.quoting.perl6fe#q_left_double_right_double_string_content"
318
- }
319
- ],
320
- "beginCaptures": {
321
- "0": {
322
- "name": "punctuation.definition.string.begin.perl6fe"
323
- }
324
- },
325
- "endCaptures": {
326
- "0": {
327
- "name": "punctuation.definition.string.end.perl6fe"
328
- }
329
- }
330
- },
331
- {
332
- "name": "string.quoted.left_double-low-q_right_double.perl6fe",
333
- "begin": "„",
334
- "end": "”|“",
335
- "patterns": [
336
- {
337
- "name": "constant.character.escape.perl6fe",
338
- "match": "\\\\[„”|“abtnfre\\\\\\{\\}]"
339
- },
340
- {
341
- "include": "#interpolation"
342
- },
343
- {
344
- "include": "source.quoting.perl6fe#q_left_double-low-q_right_double_string_content"
345
- }
346
- ],
347
- "beginCaptures": {
348
- "0": {
349
- "name": "punctuation.definition.string.begin.perl6fe"
350
- }
351
- },
352
- "endCaptures": {
353
- "0": {
354
- "name": "punctuation.definition.string.end.perl6fe"
355
- }
356
- }
357
- },
358
- {
359
- "name": "string.quoted.single.left_single_right_single.perl6fe",
360
- "begin": "(?\u003c=\\W|^)‘",
361
- "end": "’",
362
- "patterns": [
363
- {
364
- "name": "constant.character.escape.perl6fe",
365
- "match": "\\\\[‘’\\\\]"
366
- },
367
- {
368
- "include": "source.quoting.perl6fe#q_left_single_right_single_string_content"
369
- }
370
- ],
371
- "beginCaptures": {
372
- "0": {
373
- "name": "punctuation.definition.string.begin.perl6fe"
374
- }
375
- },
376
- "endCaptures": {
377
- "0": {
378
- "name": "punctuation.definition.string.end.perl6fe"
379
- }
380
- }
381
- },
382
- {
383
- "name": "string.quoted.single.low-q_left_single.perl6fe",
384
- "begin": "(?\u003c=\\W|^)‚",
385
- "end": "‘",
386
- "patterns": [
387
- {
388
- "name": "constant.character.escape.perl6fe",
389
- "match": "\\\\[‚‘\\\\]"
390
- },
391
- {
392
- "include": "source.quoting.perl6fe#q_low-q_left_single_string_content"
393
- }
394
- ],
395
- "beginCaptures": {
396
- "0": {
397
- "name": "punctuation.definition.string.begin.perl6fe"
398
- }
399
- },
400
- "endCaptures": {
401
- "0": {
402
- "name": "punctuation.definition.string.end.perl6fe"
403
- }
404
- }
405
- },
406
- {
407
- "name": "string.quoted.single.single.perl6fe",
408
- "begin": "(?\u003c=\\W|^)'",
409
- "end": "'",
410
- "patterns": [
411
- {
412
- "name": "constant.character.escape.perl6fe",
413
- "match": "\\\\['\\\\]"
414
- },
415
- {
416
- "include": "source.quoting.perl6fe#q_single_string_content"
417
- }
418
- ],
419
- "beginCaptures": {
420
- "0": {
421
- "name": "punctuation.definition.string.begin.perl6fe"
422
- }
423
- },
424
- "endCaptures": {
425
- "0": {
426
- "name": "punctuation.definition.string.end.perl6fe"
427
- }
428
- }
429
- },
430
- {
431
- "name": "string.quoted.double.perl6fe",
432
- "begin": "\"",
433
- "end": "\"",
434
- "patterns": [
435
- {
436
- "name": "constant.character.escape.perl6fe",
437
- "match": "\\\\[\"abtnfre\\\\\\{\\}]"
438
- },
439
- {
440
- "include": "#interpolation"
441
- },
442
- {
443
- "include": "source.quoting.perl6fe#q_double_string_content"
444
- }
445
- ],
446
- "beginCaptures": {
447
- "0": {
448
- "name": "punctuation.definition.string.begin.perl6fe"
449
- }
450
- },
451
- "endCaptures": {
452
- "0": {
453
- "name": "punctuation.definition.string.end.perl6fe"
454
- }
455
- }
456
- },
457
- {
458
- "name": "string.quoted.right_double_right_double.perl6fe",
459
- "begin": "”",
460
- "end": "”",
461
- "patterns": [
462
- {
463
- "name": "constant.character.escape.perl6fe",
464
- "match": "\\\\[”abtnfre\\\\\\{\\}]"
465
- },
466
- {
467
- "include": "#interpolation"
468
- },
469
- {
470
- "include": "source.quoting.perl6fe#q_right_double_right_double_string_content"
471
- }
472
- ],
473
- "beginCaptures": {
474
- "0": {
475
- "name": "punctuation.definition.string.begin.perl6fe"
476
- }
477
- },
478
- "endCaptures": {
479
- "0": {
480
- "name": "punctuation.definition.string.end.perl6fe"
481
- }
482
- }
483
- },
484
- {
485
- "begin": "(^[ \\t]+)?(?=#)",
486
- "end": "(?!\\G)",
487
- "patterns": [
488
- {
489
- "name": "comment.line.number-sign.perl6fe",
490
- "begin": "#",
491
- "end": "\\n",
492
- "beginCaptures": {
493
- "0": {
494
- "name": "punctuation.definition.comment.perl6fe"
495
- }
496
- }
497
- }
498
- ],
499
- "beginCaptures": {
500
- "1": {
501
- "name": "punctuation.whitespace.comment.leading.perl6fe"
502
- }
503
- }
504
- },
505
- {
506
- "name": "keyword.operator.setbagmix.perl6fe",
507
- "match": "(?x) \\x{2208}|\\(elem\\)|\\x{2209}|\\!\\(elem\\)| \\x{220B}|\\(cont\\)|\\x{220C}|\\!\\(cont\\)| \\x{2286}|\\(\u003c=\\) |\\x{2288}|\\!\\(\u003c=\\) | \\x{2282}|\\(\u003c\\) |\\x{2284}|\\!\\(\u003c\\) | \\x{2287}|\\(\u003e=\\) |\\x{2289}|\\!\\(\u003e=\\) | \\x{2283}|\\(\u003e\\) |\\x{2285}|\\!\\(\u003e\\) | \\x{227C}|\\(\u003c\\+\\)|\\x{227D}|\\(\u003e\\+\\) | \\x{222A}|\\(\\|\\) |\\x{2229}|\\(\u0026\\) | \\x{2216}|\\(\\-\\) |\\x{2296}|\\(\\^\\) | \\x{228D}|\\(\\.\\) |\\x{228E}|\\(\\+\\)"
508
- },
509
- {
510
- "name": "meta.class.perl6fe",
511
- "match": "(?x) ( class|enum|grammar|knowhow|module| package|role|slang|subset|monitor|actor ) (\\s+) ( ( (?:::|')? (?: ([a-zA-Z_À-ÿ\\$]) ([a-zA-Z0-9_À-ÿ\\$]|[\\-'][a-zA-Z0-9_À-ÿ\\$])* ) )+ )",
512
- "captures": {
513
- "1": {
514
- "name": "storage.type.class.perl6fe"
515
- },
516
- "3": {
517
- "name": "entity.name.type.class.perl6fe"
518
- }
519
- }
520
- },
521
- {
522
- "include": "#p5_regex"
523
- },
524
- {
525
- "match": "(?x)\n(?\u003c=\n ^\n | ^\\s\n | [\\s\\(] [^\\p{Nd}\\p{L}]\n | ~~\\s|~~\\s\\s|match\\(\n | match:\\s\n)\n([/]) # Solidus\n(.*?) # Regex contents\n(?: (?\u003c!\\\\)|(?\u003c=\\\\\\\\) ) (/) # Ending",
526
- "captures": {
527
- "1": {
528
- "name": "punctuation.definition.regexp.perl6fe"
529
- },
530
- "2": {
531
- "name": "string.regexp.perl6fe",
532
- "patterns": [
533
- {
534
- "include": "#interpolation"
535
- },
536
- {
537
- "include": "source.regexp.perl6fe"
538
- }
539
- ]
540
- },
541
- "3": {
542
- "name": "punctuation.definition.regexp.perl6fe"
543
- }
544
- }
545
- },
546
- {
547
- "contentName": "string.regexp.perl6fe",
548
- "begin": "(?x)\n(?\u003c= [=,(\\[]|when|=\u003e|~~) \\s*\n(?:\n (m|rx|s)?\n (\n (?:\n (?\u003c!:P5) # \u003c This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # \u003c include p5_regex above it\n )*\n )\n) # With the m or rx\n\\s*\n([/]) # Solidus",
549
- "end": "(?x) (?: (?\u003c!\\\\)|(?\u003c=\\\\\\\\)|(?\u003c!')|(?\u003c=\\\\ ') ) (/)",
550
- "patterns": [
551
- {
552
- "include": "#interpolation"
553
- },
554
- {
555
- "include": "source.regexp.perl6fe"
556
- }
557
- ],
558
- "beginCaptures": {
559
- "1": {
560
- "name": "string.regexp.construct.perl6fe"
561
- },
562
- "2": {
563
- "name": "entity.name.section.adverb.regexp.perl6fe"
564
- },
565
- "3": {
566
- "name": "punctuation.definition.regexp.perl6fe"
567
- }
568
- },
569
- "endCaptures": {
570
- "1": {
571
- "name": "punctuation.definition.regexp.perl6fe"
572
- }
573
- }
574
- },
575
- {
576
- "contentName": "fstring.regexp.perl6fe",
577
- "begin": "(?x)\n(?\u003c= ^|[=,(\\[~]|when|=\u003e ) \\s*\n(?:\n (m|rx|s)\n (\n (?:\n (?\u003c!:P5) # \u003c This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # \u003c include p5_regex above it\n )*\n )\n) # With the m or rx\n\\s*\n([{]) # Left curly brace",
578
- "end": "(?x) (?: (?\u003c!\\\\)|(?\u003c=\\\\\\\\) ) (\\})",
579
- "patterns": [
580
- {
581
- "include": "#interpolation"
582
- },
583
- {
584
- "include": "source.regexp.perl6fe"
585
- }
586
- ],
587
- "beginCaptures": {
588
- "1": {
589
- "name": "string.regexp.construct.perl6fe"
590
- },
591
- "2": {
592
- "name": "entity.name.section.adverb.regexp.perl6fe"
593
- },
594
- "3": {
595
- "name": "punctuation.definition.regexp.perl6fe"
596
- }
597
- },
598
- "endCaptures": {
599
- "1": {
600
- "name": "punctuation.definition.regexp.perl6fe"
601
- }
602
- }
603
- },
604
- {
605
- "contentName": "string.regexp.perl6fe",
606
- "begin": "(?\u003c![\\w\\/])(m|rx)((?:\\s*:\\w+)*)\\s*(\\{)",
607
- "end": "(?\u003c!\\\\)(\\})",
608
- "patterns": [
609
- {
610
- "include": "#interpolation"
611
- },
612
- {
613
- "include": "source.regexp.perl6fe"
614
- }
615
- ],
616
- "beginCaptures": {
617
- "1": {
618
- "name": "string.regexp.construct.perl6fe"
619
- },
620
- "2": {
621
- "name": "entity.name.section.adverb.regexp.perl6fe"
622
- },
623
- "3": {
624
- "name": "punctuation.definition.regexp.perl6fe"
625
- }
626
- },
627
- "endCaptures": {
628
- "1": {
629
- "name": "punctuation.definition.regexp.perl6fe"
630
- }
631
- }
632
- },
633
- {
634
- "contentName": "string.regexp.perl6fe",
635
- "begin": "(?\u003c![\\w\\/])(m|rx)((?:\\s*:\\w+)*)\\s*(\\[)",
636
- "end": "(?\u003c!\\\\)(\\])",
637
- "patterns": [
638
- {
639
- "include": "#interpolation"
640
- },
641
- {
642
- "include": "source.regexp.perl6fe"
643
- }
644
- ],
645
- "beginCaptures": {
646
- "1": {
647
- "name": "string.regexp.construct.perl6fe"
648
- },
649
- "2": {
650
- "name": "entity.name.section.adverb.regexp.perl6fe"
651
- },
652
- "3": {
653
- "name": "punctuation.definition.regexp.perl6fe"
654
- }
655
- },
656
- "endCaptures": {
657
- "1": {
658
- "name": "punctuation.definition.regexp.perl6fe"
659
- }
660
- }
661
- },
662
- {
663
- "name": "string.quoted.single.perl6fe",
664
- "begin": "(?\u003c=\\W|^)「",
665
- "end": "」",
666
- "patterns": [
667
- {
668
- "include": "source.quoting.perl6fe#q_hw_cornerbracket_string_content"
669
- }
670
- ],
671
- "beginCaptures": {
672
- "0": {
673
- "name": "punctuation.definition.string.begin.perl6fe"
674
- }
675
- },
676
- "endCaptures": {
677
- "0": {
678
- "name": "punctuation.definition.string.end.perl6fe"
679
- }
680
- }
681
- },
682
- {
683
- "contentName": "string.regexp.slash.perl6fe",
684
- "begin": "(?x)\n(?\u003c= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?\u003c!:P5) # \u003c This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # \u003c include p5_regex above it\n )*\n )\n)\n\\s*\n(/)",
685
- "end": "(?x) (?: (?\u003c!\\\\)|(?\u003c=\\\\\\\\) ) (/)",
686
- "patterns": [
687
- {
688
- "include": "#interpolation"
689
- },
690
- {
691
- "include": "source.regexp.perl6fe"
692
- }
693
- ],
694
- "beginCaptures": {
695
- "1": {
696
- "name": "string.regexp.construct.slash.perl6fe"
697
- },
698
- "2": {
699
- "name": "entity.name.section.adverb.regexp.slash.perl6fe"
700
- },
701
- "3": {
702
- "name": "punctuation.definition.regexp.slash.perl6fe"
703
- }
704
- },
705
- "endCaptures": {
706
- "1": {
707
- "name": "punctuation.definition.regexp.slash.perl6fe"
708
- }
709
- }
710
- },
711
- {
712
- "contentName": "string.regexp.brace.perl6fe",
713
- "begin": "(?x)\n(?\u003c= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?\u003c!:P5) # \u003c This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # \u003c include p5_regex above it\n )*\n )\n)\n\\s*\n({)",
714
- "end": "(?x) (?: (?\u003c!\\\\)|(?\u003c=\\\\\\\\) ) (})",
715
- "patterns": [
716
- {
717
- "include": "#interpolation"
718
- },
719
- {
720
- "include": "source.regexp.perl6fe"
721
- }
722
- ],
723
- "beginCaptures": {
724
- "1": {
725
- "name": "string.regexp.construct.brace.perl6fe"
726
- },
727
- "2": {
728
- "name": "entity.name.section.adverb.regexp.brace.perl6fe"
729
- },
730
- "3": {
731
- "name": "punctuation.definition.regexp.brace.perl6fe"
732
- }
733
- },
734
- "endCaptures": {
735
- "1": {
736
- "name": "punctuation.definition.regexp.brace.perl6fe"
737
- }
738
- }
739
- },
740
- {
741
- "contentName": "string.regexp.angle.perl6fe",
742
- "begin": "(?x)\n(?\u003c= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?\u003c!:P5) # \u003c This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # \u003c include p5_regex above it\n )*\n )\n)\n\\s*\n(\u003c)",
743
- "end": "(?x) (?: (?\u003c!\\\\)|(?\u003c=\\\\\\\\) ) (\u003e)",
744
- "patterns": [
745
- {
746
- "include": "#interpolation"
747
- },
748
- {
749
- "include": "source.regexp.perl6fe"
750
- }
751
- ],
752
- "beginCaptures": {
753
- "1": {
754
- "name": "string.regexp.construct.angle.perl6fe"
755
- },
756
- "2": {
757
- "name": "entity.name.section.adverb.regexp.angle.perl6fe"
758
- },
759
- "3": {
760
- "name": "punctuation.definition.regexp.angle.perl6fe"
761
- }
762
- },
763
- "endCaptures": {
764
- "1": {
765
- "name": "punctuation.definition.regexp.angle.perl6fe"
766
- }
767
- }
768
- },
769
- {
770
- "contentName": "string.regexp.paren.perl6fe",
771
- "begin": "(?x)\n(?\u003c= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?\u003c!:P5) # \u003c This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # \u003c include p5_regex above it\n )*\n )\n)\n\\s*\n(\\()",
772
- "end": "(?x) (?: (?\u003c!\\\\)|(?\u003c=\\\\\\\\) ) (\\))",
773
- "patterns": [
774
- {
775
- "include": "#interpolation"
776
- },
777
- {
778
- "include": "source.regexp.perl6fe"
779
- }
780
- ],
781
- "beginCaptures": {
782
- "1": {
783
- "name": "string.regexp.construct.paren.perl6fe"
784
- },
785
- "2": {
786
- "name": "entity.name.section.adverb.regexp.paren.perl6fe"
787
- },
788
- "3": {
789
- "name": "punctuation.definition.regexp.paren.perl6fe"
790
- }
791
- },
792
- "endCaptures": {
793
- "1": {
794
- "name": "punctuation.definition.regexp.paren.perl6fe"
795
- }
796
- }
797
- },
798
- {
799
- "contentName": "string.regexp.bracket.perl6fe",
800
- "begin": "(?x)\n(?\u003c= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?\u003c!:P5) # \u003c This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # \u003c include p5_regex above it\n )*\n )\n)\n\\s*\n(\\[)",
801
- "end": "(?x) (?: (?\u003c!\\\\)|(?\u003c=\\\\\\\\) ) (\\])",
802
- "patterns": [
803
- {
804
- "include": "#interpolation"
805
- },
806
- {
807
- "include": "source.regexp.perl6fe"
808
- }
809
- ],
810
- "beginCaptures": {
811
- "1": {
812
- "name": "string.regexp.construct.bracket.perl6fe"
813
- },
814
- "2": {
815
- "name": "entity.name.section.adverb.regexp.bracket.perl6fe"
816
- },
817
- "3": {
818
- "name": "punctuation.definition.regexp.bracket.perl6fe"
819
- }
820
- },
821
- "endCaptures": {
822
- "1": {
823
- "name": "punctuation.definition.regexp.bracket.perl6fe"
824
- }
825
- }
826
- },
827
- {
828
- "contentName": "string.regexp.left_double_right_double.perl6fe",
829
- "begin": "(?x)\n(?\u003c= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?\u003c!:P5) # \u003c This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # \u003c include p5_regex above it\n )*\n )\n)\n\\s*\n(“)",
830
- "end": "(?x) (?: (?\u003c!\\\\)|(?\u003c=\\\\\\\\) ) (”)",
831
- "patterns": [
832
- {
833
- "include": "#interpolation"
834
- },
835
- {
836
- "include": "source.regexp.perl6fe"
837
- }
838
- ],
839
- "beginCaptures": {
840
- "1": {
841
- "name": "string.regexp.construct.left_double_right_double.perl6fe"
842
- },
843
- "2": {
844
- "name": "entity.name.section.adverb.regexp.left_double_right_double.perl6fe"
845
- },
846
- "3": {
847
- "name": "punctuation.definition.regexp.left_double_right_double.perl6fe"
848
- }
849
- },
850
- "endCaptures": {
851
- "1": {
852
- "name": "punctuation.definition.regexp.left_double_right_double.perl6fe"
853
- }
854
- }
855
- },
856
- {
857
- "contentName": "string.regexp.left_double-low-q_right_double.perl6fe",
858
- "begin": "(?x)\n(?\u003c= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?\u003c!:P5) # \u003c This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # \u003c include p5_regex above it\n )*\n )\n)\n\\s*\n(„)",
859
- "end": "(?x) (?: (?\u003c!\\\\)|(?\u003c=\\\\\\\\) ) (”|“)",
860
- "patterns": [
861
- {
862
- "include": "#interpolation"
863
- },
864
- {
865
- "include": "source.regexp.perl6fe"
866
- }
867
- ],
868
- "beginCaptures": {
869
- "1": {
870
- "name": "string.regexp.construct.left_double-low-q_right_double.perl6fe"
871
- },
872
- "2": {
873
- "name": "entity.name.section.adverb.regexp.left_double-low-q_right_double.perl6fe"
874
- },
875
- "3": {
876
- "name": "punctuation.definition.regexp.left_double-low-q_right_double.perl6fe"
877
- }
878
- },
879
- "endCaptures": {
880
- "1": {
881
- "name": "punctuation.definition.regexp.left_double-low-q_right_double.perl6fe"
882
- }
883
- }
884
- },
885
- {
886
- "contentName": "string.regexp.left_single_right_single.perl6fe",
887
- "begin": "(?x)\n(?\u003c= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?\u003c!:P5) # \u003c This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # \u003c include p5_regex above it\n )*\n )\n)\n\\s*\n(‘)",
888
- "end": "(?x) (?: (?\u003c!\\\\)|(?\u003c=\\\\\\\\) ) (’)",
889
- "patterns": [
890
- {
891
- "include": "#interpolation"
892
- },
893
- {
894
- "include": "source.regexp.perl6fe"
895
- }
896
- ],
897
- "beginCaptures": {
898
- "1": {
899
- "name": "string.regexp.construct.left_single_right_single.perl6fe"
900
- },
901
- "2": {
902
- "name": "entity.name.section.adverb.regexp.left_single_right_single.perl6fe"
903
- },
904
- "3": {
905
- "name": "punctuation.definition.regexp.left_single_right_single.perl6fe"
906
- }
907
- },
908
- "endCaptures": {
909
- "1": {
910
- "name": "punctuation.definition.regexp.left_single_right_single.perl6fe"
911
- }
912
- }
913
- },
914
- {
915
- "contentName": "string.regexp.low-q_left_single.perl6fe",
916
- "begin": "(?x)\n(?\u003c= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?\u003c!:P5) # \u003c This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # \u003c include p5_regex above it\n )*\n )\n)\n\\s*\n(‚)",
917
- "end": "(?x) (?: (?\u003c!\\\\)|(?\u003c=\\\\\\\\) ) (‘)",
918
- "patterns": [
919
- {
920
- "include": "#interpolation"
921
- },
922
- {
923
- "include": "source.regexp.perl6fe"
924
- }
925
- ],
926
- "beginCaptures": {
927
- "1": {
928
- "name": "string.regexp.construct.low-q_left_single.perl6fe"
929
- },
930
- "2": {
931
- "name": "entity.name.section.adverb.regexp.low-q_left_single.perl6fe"
932
- },
933
- "3": {
934
- "name": "punctuation.definition.regexp.low-q_left_single.perl6fe"
935
- }
936
- },
937
- "endCaptures": {
938
- "1": {
939
- "name": "punctuation.definition.regexp.low-q_left_single.perl6fe"
940
- }
941
- }
942
- },
943
- {
944
- "contentName": "string.regexp.fw_cornerbracket.perl6fe",
945
- "begin": "(?x)\n(?\u003c= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?\u003c!:P5) # \u003c This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # \u003c include p5_regex above it\n )*\n )\n)\n\\s*\n(「)",
946
- "end": "(?x) (?: (?\u003c!\\\\)|(?\u003c=\\\\\\\\) ) (」)",
947
- "patterns": [
948
- {
949
- "include": "#interpolation"
950
- },
951
- {
952
- "include": "source.regexp.perl6fe"
953
- }
954
- ],
955
- "beginCaptures": {
956
- "1": {
957
- "name": "string.regexp.construct.fw_cornerbracket.perl6fe"
958
- },
959
- "2": {
960
- "name": "entity.name.section.adverb.regexp.fw_cornerbracket.perl6fe"
961
- },
962
- "3": {
963
- "name": "punctuation.definition.regexp.fw_cornerbracket.perl6fe"
964
- }
965
- },
966
- "endCaptures": {
967
- "1": {
968
- "name": "punctuation.definition.regexp.fw_cornerbracket.perl6fe"
969
- }
970
- }
971
- },
972
- {
973
- "contentName": "string.regexp.hw_cornerbracket.perl6fe",
974
- "begin": "(?x)\n(?\u003c= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?\u003c!:P5) # \u003c This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # \u003c include p5_regex above it\n )*\n )\n)\n\\s*\n(「)",
975
- "end": "(?x) (?: (?\u003c!\\\\)|(?\u003c=\\\\\\\\) ) (」)",
976
- "patterns": [
977
- {
978
- "include": "#interpolation"
979
- },
980
- {
981
- "include": "source.regexp.perl6fe"
982
- }
983
- ],
984
- "beginCaptures": {
985
- "1": {
986
- "name": "string.regexp.construct.hw_cornerbracket.perl6fe"
987
- },
988
- "2": {
989
- "name": "entity.name.section.adverb.regexp.hw_cornerbracket.perl6fe"
990
- },
991
- "3": {
992
- "name": "punctuation.definition.regexp.hw_cornerbracket.perl6fe"
993
- }
994
- },
995
- "endCaptures": {
996
- "1": {
997
- "name": "punctuation.definition.regexp.hw_cornerbracket.perl6fe"
998
- }
999
- }
1000
- },
1001
- {
1002
- "contentName": "string.regexp.chevron.perl6fe",
1003
- "begin": "(?x)\n(?\u003c= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?\u003c!:P5) # \u003c This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # \u003c include p5_regex above it\n )*\n )\n)\n\\s*\n(«)",
1004
- "end": "(?x) (?: (?\u003c!\\\\)|(?\u003c=\\\\\\\\) ) (»)",
1005
- "patterns": [
1006
- {
1007
- "include": "#interpolation"
1008
- },
1009
- {
1010
- "include": "source.regexp.perl6fe"
1011
- }
1012
- ],
1013
- "beginCaptures": {
1014
- "1": {
1015
- "name": "string.regexp.construct.chevron.perl6fe"
1016
- },
1017
- "2": {
1018
- "name": "entity.name.section.adverb.regexp.chevron.perl6fe"
1019
- },
1020
- "3": {
1021
- "name": "punctuation.definition.regexp.chevron.perl6fe"
1022
- }
1023
- },
1024
- "endCaptures": {
1025
- "1": {
1026
- "name": "punctuation.definition.regexp.chevron.perl6fe"
1027
- }
1028
- }
1029
- },
1030
- {
1031
- "contentName": "string.regexp.s-shaped-bag-delimiter.perl6fe",
1032
- "begin": "(?x)\n(?\u003c= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?\u003c!:P5) # \u003c This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # \u003c include p5_regex above it\n )*\n )\n)\n\\s*\n(⟅)",
1033
- "end": "(?x) (?: (?\u003c!\\\\)|(?\u003c=\\\\\\\\) ) (⟆)",
1034
- "patterns": [
1035
- {
1036
- "include": "#interpolation"
1037
- },
1038
- {
1039
- "include": "source.regexp.perl6fe"
1040
- }
1041
- ],
1042
- "beginCaptures": {
1043
- "1": {
1044
- "name": "string.regexp.construct.s-shaped-bag-delimiter.perl6fe"
1045
- },
1046
- "2": {
1047
- "name": "entity.name.section.adverb.regexp.s-shaped-bag-delimiter.perl6fe"
1048
- },
1049
- "3": {
1050
- "name": "punctuation.definition.regexp.s-shaped-bag-delimiter.perl6fe"
1051
- }
1052
- },
1053
- "endCaptures": {
1054
- "1": {
1055
- "name": "punctuation.definition.regexp.s-shaped-bag-delimiter.perl6fe"
1056
- }
1057
- }
1058
- },
1059
- {
1060
- "contentName": "string.regexp.any.perl6fe",
1061
- "begin": "(?x)\n(?\u003c= ^|\\s )\n(?:\n (m|rx|s|S)\n (\n (?:\n (?\u003c!:P5) # \u003c This can maybe be removed because we\n \\s*:\\w+\n (?!\\s*:P5) # \u003c include p5_regex above it\n )*\n )\n)\n\\s*\n([^#\\p{Ps}\\p{Pe}\\p{Pi}\\p{Pf}\\w'\\-\u003c\u003e\\-\\]\\)\\}\\{])",
1062
- "end": "(?x) (?: (?\u003c!\\\\)|(?\u003c=\\\\\\\\) ) (\\3)",
1063
- "patterns": [
1064
- {
1065
- "include": "#interpolation"
1066
- },
1067
- {
1068
- "include": "source.regexp.perl6fe"
1069
- }
1070
- ],
1071
- "beginCaptures": {
1072
- "1": {
1073
- "name": "string.regexp.construct.any.perl6fe"
1074
- },
1075
- "2": {
1076
- "name": "entity.name.section.adverb.regexp.any.perl6fe"
1077
- },
1078
- "3": {
1079
- "name": "punctuation.definition.regexp.any.perl6fe"
1080
- }
1081
- },
1082
- "endCaptures": {
1083
- "1": {
1084
- "name": "punctuation.definition.regexp.any.perl6fe"
1085
- }
1086
- }
1087
- },
1088
- {
1089
- "include": "#shellquotes"
1090
- },
1091
- {
1092
- "name": "string.quoted.heredoc.perl6fe",
1093
- "begin": "(?x) (?: ( qq|qqx|qqw ) \\s* ( (?:\\s*:\\w+)*\\s*: (?: to|heredoc ) )\\s* | (qqto) \\s* ( (?:\\s*:\\w+)* )\\s* ) / (\\S+) /",
1094
- "end": "\\s*\\5",
1095
- "patterns": [
1096
- {
1097
- "name": "meta.heredoc.continuation.perl6fe",
1098
- "begin": "(?\u003c=/)",
1099
- "end": "\\n",
1100
- "patterns": [
1101
- {
1102
- "include": "$self"
1103
- }
1104
- ]
1105
- },
1106
- {
1107
- "begin": "^",
1108
- "end": "$",
1109
- "patterns": [
1110
- {
1111
- "include": "#interpolation"
1112
- }
1113
- ]
1114
- },
1115
- {
1116
- "name": "string.quoted.qq.heredoc.perl6fe",
1117
- "match": "(?x) ^ (?: . | \\n )* $"
1118
- }
1119
- ],
1120
- "beginCaptures": {
1121
- "1": {
1122
- "name": "string.quoted.construct.perl6fe"
1123
- },
1124
- "2": {
1125
- "name": "support.function.adverb.perl6fe"
1126
- },
1127
- "3": {
1128
- "name": "string.quoted.construct.perl6fe"
1129
- },
1130
- "4": {
1131
- "name": "support.function.adverb.perl6fe"
1132
- },
1133
- "5": {
1134
- "name": "entity.other.attribute-name.heredoc.delimiter.perl6fe"
1135
- }
1136
- },
1137
- "endCaptures": {
1138
- "0": {
1139
- "name": "entity.other.attribute-name.heredoc.delimiter.perl6fe"
1140
- }
1141
- }
1142
- },
1143
- {
1144
- "name": "meta.heredoc.perl6fe",
1145
- "begin": "(?x) (?: ( [qQ](?!/)|qw|qww|qx|qqx ) \\s* ( (?:\\s*:\\w+)*\\s*: (?: to|heredoc ) )\\s* | (qto|Qto) \\s* ( (?:\\s*:\\w+)* )\\s* ) / (\\S+) /",
1146
- "end": "\\s*\\5",
1147
- "patterns": [
1148
- {
1149
- "name": "meta.heredoc.continuation.perl6fe",
1150
- "begin": "(?\u003c=/)",
1151
- "end": "\\n",
1152
- "patterns": [
1153
- {
1154
- "include": "$self"
1155
- }
1156
- ]
1157
- },
1158
- {
1159
- "name": "string.quoted.q.heredoc.perl6fe",
1160
- "match": "(?x) ^ (?: . | \\n )* $"
1161
- }
1162
- ],
1163
- "beginCaptures": {
1164
- "1": {
1165
- "name": "string.quoted.construct.perl6fe"
1166
- },
1167
- "2": {
1168
- "name": "support.function.adverb.perl6fe"
1169
- },
1170
- "3": {
1171
- "name": "string.quoted.construct.perl6fe"
1172
- },
1173
- "4": {
1174
- "name": "support.function.adverb.perl6fe"
1175
- },
1176
- "5": {
1177
- "name": "entity.other.attribute-name.heredoc.delimiter.perl6fe"
1178
- }
1179
- },
1180
- "endCaptures": {
1181
- "0": {
1182
- "name": "entity.other.attribute-name.heredoc.delimiter.perl6fe"
1183
- }
1184
- }
1185
- },
1186
- {
1187
- "include": "source.quoting.perl6fe"
1188
- },
1189
- {
1190
- "include": "#variables"
1191
- },
1192
- {
1193
- "begin": "(?x) (?\u003c![%$\u0026@]|\\w) (?: (multi|proto) \\s+ )? (macro|sub|submethod|method|multi|only|category) \\s+ (!)? ( [^\\s(){}]+ )",
1194
- "end": "(?=[\\(\\{\\s])",
1195
- "beginCaptures": {
1196
- "1": {
1197
- "name": "storage.type.declarator.multi.perl6fe"
1198
- },
1199
- "2": {
1200
- "name": "storage.type.declarator.type.perl6fe"
1201
- },
1202
- "3": {
1203
- "name": "support.class.method.private.perl6fe"
1204
- },
1205
- "4": {
1206
- "patterns": [
1207
- {
1208
- "captures": {
1209
- "1": {
1210
- "name": "entity.name.function.perl6fe"
1211
- },
1212
- "2": {
1213
- "name": "punctuation.definition.function.adverb.perl6fe"
1214
- },
1215
- "3": {
1216
- "name": "support.type.class.adverb.perl6fe"
1217
- },
1218
- "4": {
1219
- "patterns": [
1220
- {
1221
- "include": "$self"
1222
- }
1223
- ]
1224
- }
1225
- }
1226
- }
1227
- ]
1228
- }
1229
- }
1230
- },
1231
- {
1232
- "name": "meta.regexp.named.perl6fe",
1233
- "begin": "(?\u003c![\\.:])(regex|rule|token)(?!\\s*=\u003e|\\S)",
1234
- "end": "(?\u003c!\\\\)\\}",
1235
- "patterns": [
1236
- {
1237
- "name": "entity.name.function.regexp.named.TOP.perl6fe",
1238
- "match": "TOP"
1239
- },
1240
- {
1241
- "name": "entity.name.function.regexp.named.perl6fe"
1242
- },
1243
- {
1244
- "name": "meta.regexp.named.adverb.perl6fe",
1245
- "match": "(:)(\\w+)",
1246
- "captures": {
1247
- "1": {
1248
- "name": "punctuation.definition.regexp.adverb.perl6fe"
1249
- },
1250
- "2": {
1251
- "name": "support.type.class.adverb.perl6fe"
1252
- }
1253
- }
1254
- },
1255
- {
1256
- "contentName": "string.array.words.perl6fe",
1257
- "begin": "\u003c",
1258
- "end": "(?x) \\\\\\\\|(?\u003c!\\\\) ( \u003e ) (?=[\\s\\{])"
1259
- },
1260
- {
1261
- "contentName": "string.array.words.chevron.perl6fe",
1262
- "begin": "«",
1263
- "end": "(?x) \\\\\\\\|(?\u003c!\\\\) ( » ) (?=[\\s\\{])"
1264
- },
1265
- {
1266
- "name": "meta.regexp.named.signature.perl6fe",
1267
- "begin": "\\(",
1268
- "end": "(?\u003c!\\\\)\\)",
1269
- "patterns": [
1270
- {
1271
- "include": "$self"
1272
- }
1273
- ],
1274
- "captures": {
1275
- "0": {
1276
- "name": "punctuation.definition.regexp.named.signature.perlfe"
1277
- }
1278
- }
1279
- },
1280
- {
1281
- "name": "meta.regexp.named.block.perl6fe",
1282
- "begin": "\\{",
1283
- "end": "(?=\\})",
1284
- "patterns": [
1285
- {
1286
- "include": "#interpolation"
1287
- },
1288
- {
1289
- "include": "source.regexp.perl6fe"
1290
- }
1291
- ],
1292
- "captures": {
1293
- "0": {
1294
- "name": "punctuation.definition.regex.named.perl6fe"
1295
- }
1296
- }
1297
- }
1298
- ],
1299
- "beginCaptures": {
1300
- "1": {
1301
- "name": "storage.type.declare.regexp.named.perl6fe"
1302
- }
1303
- },
1304
- "endCaptures": {
1305
- "0": {
1306
- "name": "punctuation.definition.regexp.named.perl6fe"
1307
- }
1308
- }
1309
- },
1310
- {
1311
- "name": "variable.language.perl6fe",
1312
- "match": "\\b(?\u003c![\\-:])(self)(?!\\-)\\b"
1313
- },
1314
- {
1315
- "name": "keyword.other.include.perl6fe",
1316
- "match": "\\b(?\u003c![\\-:])(use|require|no|need)(?!\\-)\\b"
1317
- },
1318
- {
1319
- "name": "keyword.control.conditional.perl6fe",
1320
- "match": "(?x)\\b(?\u003c![\\-:])( if|else|elsif|unless|with|orwith|without )(?!\\-)\\b"
1321
- },
1322
- {
1323
- "name": "storage.modifier.declarator.perl6fe",
1324
- "match": "\\b(?\u003c![\\-:])(let|my|our|state|temp|has|constant)(?!\\-)\\b"
1325
- },
1326
- {
1327
- "contentName": "string.array.words.perl6fe",
1328
- "begin": "(?x) (?\u003c= = | for ) \\s* ( \u003c )",
1329
- "end": "(?x) \\\\\\\\|(?\u003c!\\\\) ( \u003e )",
1330
- "patterns": [
1331
- {
1332
- "include": "source.quoting.perl6fe#q_bracket_string_content"
1333
- }
1334
- ],
1335
- "beginCaptures": {
1336
- "1": {
1337
- "name": "span.keyword.operator.array.words.perl6fe"
1338
- }
1339
- },
1340
- "endCaptures": {
1341
- "1": {
1342
- "name": "span.keyword.operator.array.words.perl6fe"
1343
- }
1344
- }
1345
- },
1346
- {
1347
- "name": "storage.modifier.assignment.perl6fe",
1348
- "match": "(?x) (?: [+:\\-.*/] | \\|\\| )? (?\u003c! = ) = (?! [\u003e=~] )"
1349
- },
1350
- {
1351
- "contentName": "string.array.words.perl6fe",
1352
- "begin": "(?x) (?\u003c! \\+\u003c | \\+\\s|\\+ ) \\s* (\u003c) (?\u003c! \u003e ) (?= [^\u003c]* (?: [^\u003c] ) \u003e )",
1353
- "end": "(?x) \\\\\\\\|(?\u003c!\\\\) ( \u003e )",
1354
- "beginCaptures": {
1355
- "1": {
1356
- "name": "span.keyword.operator.array.words.perl6fe"
1357
- }
1358
- },
1359
- "endCaptures": {
1360
- "1": {
1361
- "name": "span.keyword.operator.array.words.perl6fe"
1362
- }
1363
- }
1364
- },
1365
- {
1366
- "name": "keyword.control.repeat.perl6fe",
1367
- "match": "\\b(for|loop|repeat|while|until|gather|given)(?!\\-)\\b"
1368
- },
1369
- {
1370
- "name": "keyword.control.flowcontrol.perl6fe",
1371
- "match": "(?x)\n\\b (?\u003c! [\\-:.] )\n(\n take|do|when|next|last|redo|return|return-rw\n |contend|maybe|defer|default|exit|quietly\n |continue|break|goto|leave|supply\n |async|lift|await|start|react|whenever|parse\n)\n(?! - ) \\b"
1372
- },
1373
- {
1374
- "name": "keyword.control.flowcontrol.regex.perl6fe",
1375
- "match": "(?x)\n\\b (?\u003c! [\\-:] )\n(\n make|made\n)\n(?! - ) \\b"
1376
- },
1377
- {
1378
- "name": "storage.modifier.type.constraints.perl6fe",
1379
- "match": "(?x)\\b(?\u003c![\\-:]) (is|does|as|but|trusts|of|returns|handles|where|augment|supersede) (?!\\-)\\b (?!\\s*=\u003e)"
1380
- },
1381
- {
1382
- "name": "keyword.control.closure.trait.perl6fe",
1383
- "match": "(?x)\\b(?\u003c![\\-:])( BEGIN|CHECK|INIT |START|FIRST|ENTER |LEAVE|KEEP|UNDO |NEXT|LAST|PRE |POST|END|CATCH |CONTROL|TEMP|QUIT )(?!\\-)\\b"
1384
- },
1385
- {
1386
- "name": "keyword.control.control-handlers.perl6fe",
1387
- "match": "\\b(?\u003c![\\-:])(die|fail|try|warn)(?!\\-)\\b(?!\\s*=\u003e)"
1388
- },
1389
- {
1390
- "name": "entity.name.type.trait.perl6fe",
1391
- "match": "(?x)\\b(?\u003c![\\-:])( prec|irs|ofs|ors|export|raw|deep |binary|unary|reparsed|rw|parsed |cached|readonly|defequiv|will |ref|copy|inline|tighter|looser |equiv|assoc|required|pure )(?!\\-)\\b (?!\\s*=\u003e)"
1392
- },
1393
- {
1394
- "name": "constant.numeric.perl6fe",
1395
- "match": "\\b(NaN|Inf)(?!\\-)\\b"
1396
- },
1397
- {
1398
- "name": "constant.language.boolean.perl6fe",
1399
- "match": "\\b(True|False)\\b"
1400
- },
1401
- {
1402
- "name": "constant.language.pragma.perl6fe",
1403
- "match": "(?x)\\b(?\u003c![\\-:])( fatal|internals| MONKEY\\-(?:TYPING|SEE\\-NO\\-EVAL|BRAINS|GUTS|BUSINESS|TRAP|SHINE|WRENCH|BARS)| nqp|QAST|strict|trace|worries|invocant|parameters|experimental| cur|soft|variables|attributes|v6(?:\\.\\w)*|lib|Test|NativeCall )(?!\\-) \\b (?!\\s*=\u003e)"
1404
- },
1405
- {
1406
- "match": "(?x)(?\u003c![:\\-\\w]) (Backtrace|Exception|Failure|X) (?: \\:\\:[a-zA-Z]+ )* \\b",
1407
- "captures": {
1408
- "0": {
1409
- "name": "support.type.exception.perl6fe"
1410
- }
1411
- }
1412
- },
1413
- {
1414
- "match": "(?x)\\b(?\u003c!:)(\n AST|Any|Array|Associative|Attribute|Bag|BagHash|Baggy|\n Blob|Block|Bool|Callable|Capture|Channel|Code|Complex|Cool|\n CurrentThreadScheduler|Cursor|Date|DateTime|Dateish|Duration|\n Enum|FatRat|Grammar|Hash|IO|Instant|Iterable|\n Iterator|Junction|Label|List|Lock|Macro|Map|Match|Metamodel|\n Method|Mix|MixHash|Mixy|Mu|Nil|Numeric|ObjAt|Pair|\n Parameter|Pod|Positional|PositionalBindFailover|Proc|Promise|\n Proxy|QuantHash|Range|Rat|Rational|Real|Regex|Routine|Scheduler|\n Seq|Set|SetHash|Setty|Signature|Slip|Stash|Str|str|Stringy|Sub|\n Submethod|Supply|Tap|Temporal|Thread|ThreadPoolScheduler|\n Variable|Version|Whatever|WhateverCode|bool|size_t|\n Int|int|int1|int2|int4|int8|int16|int32|int64|\n Rat|rat|rat1|rat2|rat4|rat8|rat16|rat32|rat64|\n Buf|buf|buf1|buf2|buf4|buf8|buf16|buf32|buf64|\n UInt|uint|uint1|uint2|uint4|uint8|uint16|uint32|uint64|\n utf8|utf16|utf32|Num|num|num32|num64|IntStr|NumStr|\n RatStr|ComplexStr|CArray|Pointer|long|longlong|\n # These are for types which have sub types\n Order|More|Less|Same\n)\\b (?!\\s*=\u003e)",
1415
- "captures": {
1416
- "1": {
1417
- "name": "support.type.perl6fe"
1418
- },
1419
- "2": {
1420
- "name": "support.class.type.adverb.perl6fe"
1421
- }
1422
- }
1423
- },
1424
- {
1425
- "name": "keyword.operator.reduction.perl6fe",
1426
- "match": "(?x) ( \\[ / \\] )"
1427
- },
1428
- {
1429
- "name": "meta.adverb.definedness.perl6fe",
1430
- "match": "(?\u003c=\\w)(\\:)([DU_])\\b",
1431
- "captures": {
1432
- "1": {
1433
- "name": "keyword.operator.adverb.perl6fe"
1434
- },
1435
- "2": {
1436
- "name": "keyword.other.special-method.definedness.perl6fe"
1437
- }
1438
- }
1439
- },
1440
- {
1441
- "name": "keyword.operator.word.perl6fe",
1442
- "match": "(?x)\\b( div|mod|gcd|lcm|x|xx|temp|let|but|cmp|leg| eq|ne|gt|ge|lt|le|before|after|eqv|min|max|ff|fff|not|so|Z| and|andthen|or|orelse )\\b(?!\\-)| \\b(X)(?!:)\\b"
1443
- },
1444
- {
1445
- "name": "meta.operator.non.ligature.perl6fe",
1446
- "match": "(=~=|≅)",
1447
- "captures": {
1448
- "1": {
1449
- "name": "keyword.operator.approx-equal.perl6fe"
1450
- }
1451
- }
1452
- },
1453
- {
1454
- "name": "keyword.operator.multi-symbol.perl6fe",
1455
- "match": "(?x) \u003c== | ==\u003e | \u003c=\u003e | =\u003e | --\u003e | -\u003e | \\+\\| | \\+\\+ | -- | \\*\\* | \\?\\?\\? | \\?\\? | \\!\\!\\! | \\!\\! | \u0026\u0026 | \\+\\^ | \\?\\^ | %% | \\+\u0026 | \\+\u003c | \\+\u003e | \\+\\^ | \\.\\.(?!\\.) | \\.\\.\\^ | \\^\\.\\. | \\^\\.\\.\\^ | \\?\\| | !=(?!\\=) | !==(?!\\=) | \u003c=(?!\u003e) | \u003e= | === | == | =:= | ~~ | \\x{2245} | \\|\\| | \\^\\^ | \\/\\/ | := | ::= | \\.\\.\\."
1456
- },
1457
- {
1458
- "include": "#special_variables"
1459
- },
1460
- {
1461
- "name": "meta.subscript.whatever.perl6fe",
1462
- "match": "(?x)(?\u003c=\\[) \\s* (\\*) \\s* ([\\-\\*%\\^\\+\\/]|div|mod|gcd|lcm) \\s* (\\d+) \\s* (?=\\])",
1463
- "captures": {
1464
- "1": {
1465
- "name": "constant.language.whatever.perl6fe"
1466
- },
1467
- "2": {
1468
- "name": "keyword.operator.minus.back-from.perl6fe"
1469
- },
1470
- "3": {
1471
- "name": "constant.numeric.back-from.perl6fe"
1472
- }
1473
- }
1474
- },
1475
- {
1476
- "name": "constant.language.whatever.hack.perl6fe",
1477
- "match": "\\*\\s*(?=\\])"
1478
- },
1479
- {
1480
- "name": "support.function.perl6fe",
1481
- "match": "(?x)\\b(?\u003c![\\-\\\\])( :: )?(exists)(?!\\-)\\b(?!\\s*=\u003e)",
1482
- "captures": {
1483
- "1": {
1484
- "name": "keyword.operator.colon.perl6fe"
1485
- }
1486
- }
1487
- },
1488
- {
1489
- "name": "support.function.perl6fe",
1490
- "match": "(?x)\\b(?\u003c![\\-:\\\\])( :: )?( eager|hyper|substr|index|rindex|grep|map|sort|join|lines|hints |chmod|split|reduce|min|max|reverse|truncate|zip|cat|roundrobin |classify|first|sum|keys|values|pairs|defined|delete|exists |elems|end|kv|any|all|one|wrap|shape|key|value|name|pop|push |shift|splice|unshift|floor|ceiling|abs|exp|log|log10|rand|sign |sqrt|sin|cos|tan|round|strand|roots|cis|unpolar|polar|atan2 |pick|chop|chomp|lc|lcfirst|uc|ucfirst|capitalize|mkdir |normalize|pack|unpack|quotemeta|comb|samecase|sameaccent|chars |nfd|nfc|nfkd|nfkc|printf|sprintf|caller|evalfile|run|runinstead |nothing|want|bless|chr|ord|ords|gmtime|time|eof|localtime|gethost |getpw|chroot|getlogin|getpeername|kill|fork|wait|perl|graphs |codes|bytes|clone|print|open|read|write|readline|say|seek|close |opendir|readdir|slurp|spurt|shell|run|pos|fmt|vec|link|unlink |symlink|unique|pair|asin|atan|sec|cosec|cotan|asec|acosec|acotan |sinh|cosh|tanh|asinh|done|acos|acosh|atanh|sech|cosech|cotanh |sech|acosech|acotanh|asech|ok|nok|plan-ok|dies-ok|lives-ok|skip |todo|pass|flunk|force-todo|use-ok|isa-ok|diag|is-deeply|isnt |like|skip-rest|unlike|cmp-ok|eval-dies-ok|nok-error|cmp-ok |eval-lives-ok|approx|is-approx|throws-ok|version-lt|plan|EVAL |succ|pred|times|nonce|once|signature|new|connect|operator|undef |undefine|sleep|from|to|infix|postfix|prefix|circumfix|can-ok |postcircumfix|minmax|lazy|count|unwrap|getc|pi|tau|context|void |quasi|body|each|contains|rewinddir|subst|can|isa|flush|arity |assuming|rewind|callwith|callsame|nextwith|nextsame|attr|does-ok |eval-elsewhere|none|not|srand|so|trim|trim-start|trim-end|lastcall |WHAT|WHY|WHERE|HOW|WHICH|VAR|WHO|WHENCE|ACCEPTS|REJECTS|not |iterator|by|re|im|invert|flip|gist|flat|tree|is-prime |throws-like|trans|race|hyper|tap|emit|done-testing|quit|dd|note |prepend|categorize|antipairs|categorize-list|parse-base|base |starts-with|ends-with|put|append|tail|\\x{03C0}|\\x{03C4}|\\x{212F} |get|words|new-from-pairs|uniname|uninames|uniprop|uniprops |slurp-rest|throw|break|keep|match|trim-leading|trim-trailing |is-lazy|pull-one|push-exactly|push-at-least|push-all|push-until-lazy |sink-all|skip-at-least|skip-at-least-pull-one )(?!\\-)\\b(?!\\s*=\u003e)",
1491
- "captures": {
1492
- "1": {
1493
- "name": "keyword.operator.colon.perl6fe"
1494
- }
1495
- }
1496
- },
1497
- {
1498
- "name": "support.function.perl6fe",
1499
- "match": "(?x)\\b(?\u003c![\\-:]|\\\\)(?\u003c=\\.) (e|d|f|s|l|r|w|rw|x|rwx|z|abspath|basename|extension|dirname |watch|is-absolute|parts|volume|path|is-relative|parent|child |resolve|dir) (?!\\-)\\b(?!\\s*=\u003e)"
1500
- },
1501
- {
1502
- "include": "#numbers"
1503
- },
1504
- {
1505
- "name": "keyword.operator.generic.perl6fe",
1506
- "match": "(?x) (?\u003c!\\(|\\*)\\%| [\\^\\+\u003e\u003c\\*\\!\\?~\\/\\|]| (?\u003c!\\$)\\.| (?\u003c!:):(?!:)| (?\u003c=\\s)\\-(?=[\\s\\(\\{\\[])| (?\u003c!\\w)[o\\x{2218}](?!\\w)"
1507
- },
1508
- {
1509
- "name": "string.pair.key.perl6fe",
1510
- "match": "(?x) (?\u003c=^|\\W|\\s) ([\\w'\\-]+) \\s* (?= =\u003e)"
1511
- },
1512
- {
1513
- "name": "routine.name.perl6fe",
1514
- "match": "(?x) \\b (?\u003c!\\d) ([a-zA-Z_\\x{c0}-\\x{ff}\\$]) ( [a-zA-Z0-9_\\x{c0}-\\x{ff}\\$]| [\\-'][a-zA-Z_\\x{c0}-\\x{ff}\\$][a-zA-Z0-9_\\x{c0}-\\x{ff}\\$] )*"
1515
- },
1516
- {
1517
- "contentName": "constant.numeric.perl6fe",
1518
- "begin": "(?\u003c=\\:)(\\d+)(\u003c)",
1519
- "end": "\u003e",
1520
- "beginCaptures": {
1521
- "1": {
1522
- "name": "support.type.radix.perl6fe"
1523
- },
1524
- "2": {
1525
- "name": "punctuation.definition.radix.perl6fe"
1526
- }
1527
- },
1528
- "endCaptures": {
1529
- "0": {
1530
- "name": "punctuation.definition.radix.perl6fe"
1531
- }
1532
- }
1533
- },
1534
- {
1535
- "name": "meta.block.perl6fe",
1536
- "begin": "\\{",
1537
- "end": "\\}",
1538
- "patterns": [
1539
- {
1540
- "include": "$self"
1541
- }
1542
- ],
1543
- "beginCaptures": {
1544
- "0": {
1545
- "name": "punctuation.definition.block.perl6fe"
1546
- }
1547
- },
1548
- "endCaptures": {
1549
- "0": {
1550
- "name": "punctuation.definition.block.perl6fe"
1551
- }
1552
- }
1553
- }
1554
- ],
1555
- "repository": {
1556
- "comment-block-abbreviated": {
1557
- "patterns": [
1558
- {
1559
- "contentName": "entity.name.section.head.abbreviated.perl6fe",
1560
- "begin": "^\\s*(=)(head\\w*)\\s+(.+?)\\s*$",
1561
- "end": "(?=^\\s*$|^\\s*=\\w+.*$)",
1562
- "patterns": [
1563
- {
1564
- "include": "#comment-block-syntax"
1565
- }
1566
- ],
1567
- "captures": {
1568
- "1": {
1569
- "name": "storage.modifier.block.abbreviated.perl6fe"
1570
- },
1571
- "2": {
1572
- "name": "entity.other.attribute-name.block.abbreviated.perl6fe"
1573
- },
1574
- "3": {
1575
- "name": "entity.name.section.abbreviated.perl6fe",
1576
- "patterns": [
1577
- {
1578
- "include": "#comment-block-syntax"
1579
- }
1580
- ]
1581
- }
1582
- }
1583
- },
1584
- {
1585
- "contentName": "comment.block.abbreviated.perl6fe",
1586
- "begin": "^\\s*(=)(\\w+)\\s+(.+?)\\s*$",
1587
- "end": "(?=^\\s*$|^\\s*=\\w+.*$)",
1588
- "patterns": [
1589
- {
1590
- "include": "#comment-block-syntax"
1591
- }
1592
- ],
1593
- "captures": {
1594
- "1": {
1595
- "name": "storage.modifier.block.abbreviated.perl6fe"
1596
- },
1597
- "2": {
1598
- "name": "entity.other.attribute-name.block.abbreviated.perl6fe"
1599
- },
1600
- "3": {
1601
- "name": "entity.name.section.abbreviated.perl6fe",
1602
- "patterns": [
1603
- {
1604
- "include": "#comment-block-syntax"
1605
- }
1606
- ]
1607
- }
1608
- }
1609
- }
1610
- ]
1611
- },
1612
- "comment-block-delimited": {
1613
- "patterns": [
1614
- {
1615
- "contentName": "comment.block.delimited.perl6fe",
1616
- "begin": "^\\s*(=)(begin)\\s+(\\w+)",
1617
- "end": "^\\s*(=)(end)\\s+(\\w+)",
1618
- "patterns": [
1619
- {
1620
- "include": "#comment-block-syntax"
1621
- }
1622
- ],
1623
- "captures": {
1624
- "1": {
1625
- "name": "storage.modifier.block.delimited.perl6fe"
1626
- },
1627
- "2": {
1628
- "name": "keyword.operator.block.delimited.perl6fe"
1629
- },
1630
- "3": {
1631
- "name": "entity.other.attribute-name.block.delimited.perl6fe"
1632
- }
1633
- }
1634
- }
1635
- ]
1636
- },
1637
- "comment-block-syntax": {
1638
- "patterns": [
1639
- {
1640
- "include": "#comment-block-delimited"
1641
- },
1642
- {
1643
- "include": "#comment-block-abbreviated"
1644
- },
1645
- {
1646
- "name": "meta.pod.c.perl6fe",
1647
- "contentName": "markup.underline.perl6fe",
1648
- "begin": "(?x) (U) (\u003c\u003c\u003c)",
1649
- "end": "(?x) (\u003e\u003e\u003e)",
1650
- "patterns": [
1651
- {
1652
- "include": "#comment-block-syntax"
1653
- },
1654
- {
1655
- "include": "source.quoting.perl6fe#q_triple_angle_string_content"
1656
- }
1657
- ],
1658
- "beginCaptures": {
1659
- "1": {
1660
- "name": "support.function.pod.code.perl6fe"
1661
- },
1662
- "2": {
1663
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1664
- }
1665
- },
1666
- "endCaptures": {
1667
- "1": {
1668
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1669
- }
1670
- }
1671
- },
1672
- {
1673
- "name": "meta.pod.c.perl6fe",
1674
- "contentName": "markup.italic.perl6fe",
1675
- "begin": "(?x) (I) (\u003c\u003c\u003c)",
1676
- "end": "(?x) (\u003e\u003e\u003e)",
1677
- "patterns": [
1678
- {
1679
- "include": "#comment-block-syntax"
1680
- },
1681
- {
1682
- "include": "source.quoting.perl6fe#q_triple_angle_string_content"
1683
- }
1684
- ],
1685
- "beginCaptures": {
1686
- "1": {
1687
- "name": "support.function.pod.code.perl6fe"
1688
- },
1689
- "2": {
1690
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1691
- }
1692
- },
1693
- "endCaptures": {
1694
- "1": {
1695
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1696
- }
1697
- }
1698
- },
1699
- {
1700
- "name": "meta.pod.c.perl6fe",
1701
- "contentName": "markup.bold.perl6fe",
1702
- "begin": "(?x) (B) (\u003c\u003c\u003c)",
1703
- "end": "(?x) (\u003e\u003e\u003e)",
1704
- "patterns": [
1705
- {
1706
- "include": "#comment-block-syntax"
1707
- },
1708
- {
1709
- "include": "source.quoting.perl6fe#q_triple_angle_string_content"
1710
- }
1711
- ],
1712
- "beginCaptures": {
1713
- "1": {
1714
- "name": "support.function.pod.code.perl6fe"
1715
- },
1716
- "2": {
1717
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1718
- }
1719
- },
1720
- "endCaptures": {
1721
- "1": {
1722
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1723
- }
1724
- }
1725
- },
1726
- {
1727
- "name": "meta.pod.c.perl6fe",
1728
- "contentName": "markup.raw.code.perl6fe",
1729
- "begin": "(?x) ([A-Z]) (\u003c\u003c\u003c)",
1730
- "end": "(?x) (\u003e\u003e\u003e)",
1731
- "patterns": [
1732
- {
1733
- "include": "#comment-block-syntax"
1734
- },
1735
- {
1736
- "include": "source.quoting.perl6fe#q_triple_angle_string_content"
1737
- }
1738
- ],
1739
- "beginCaptures": {
1740
- "1": {
1741
- "name": "support.function.pod.code.perl6fe"
1742
- },
1743
- "2": {
1744
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1745
- }
1746
- },
1747
- "endCaptures": {
1748
- "1": {
1749
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1750
- }
1751
- }
1752
- },
1753
- {
1754
- "name": "meta.pod.c.perl6fe",
1755
- "contentName": "markup.underline.perl6fe",
1756
- "begin": "(?x) (U) (\u003c\u003c)",
1757
- "end": "(?x) (\u003e\u003e)",
1758
- "patterns": [
1759
- {
1760
- "include": "#comment-block-syntax"
1761
- },
1762
- {
1763
- "include": "source.quoting.perl6fe#q_double_angle_string_content"
1764
- }
1765
- ],
1766
- "beginCaptures": {
1767
- "1": {
1768
- "name": "support.function.pod.code.perl6fe"
1769
- },
1770
- "2": {
1771
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1772
- }
1773
- },
1774
- "endCaptures": {
1775
- "1": {
1776
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1777
- }
1778
- }
1779
- },
1780
- {
1781
- "name": "meta.pod.c.perl6fe",
1782
- "contentName": "markup.italic.perl6fe",
1783
- "begin": "(?x) (I) (\u003c\u003c)",
1784
- "end": "(?x) (\u003e\u003e)",
1785
- "patterns": [
1786
- {
1787
- "include": "#comment-block-syntax"
1788
- },
1789
- {
1790
- "include": "source.quoting.perl6fe#q_double_angle_string_content"
1791
- }
1792
- ],
1793
- "beginCaptures": {
1794
- "1": {
1795
- "name": "support.function.pod.code.perl6fe"
1796
- },
1797
- "2": {
1798
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1799
- }
1800
- },
1801
- "endCaptures": {
1802
- "1": {
1803
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1804
- }
1805
- }
1806
- },
1807
- {
1808
- "name": "meta.pod.c.perl6fe",
1809
- "contentName": "markup.bold.perl6fe",
1810
- "begin": "(?x) (B) (\u003c\u003c)",
1811
- "end": "(?x) (\u003e\u003e)",
1812
- "patterns": [
1813
- {
1814
- "include": "#comment-block-syntax"
1815
- },
1816
- {
1817
- "include": "source.quoting.perl6fe#q_double_angle_string_content"
1818
- }
1819
- ],
1820
- "beginCaptures": {
1821
- "1": {
1822
- "name": "support.function.pod.code.perl6fe"
1823
- },
1824
- "2": {
1825
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1826
- }
1827
- },
1828
- "endCaptures": {
1829
- "1": {
1830
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1831
- }
1832
- }
1833
- },
1834
- {
1835
- "name": "meta.pod.c.perl6fe",
1836
- "contentName": "markup.raw.code.perl6fe",
1837
- "begin": "(?x) ([A-Z]) (\u003c\u003c)",
1838
- "end": "(?x) (\u003e\u003e)",
1839
- "patterns": [
1840
- {
1841
- "include": "#comment-block-syntax"
1842
- },
1843
- {
1844
- "include": "source.quoting.perl6fe#q_double_angle_string_content"
1845
- }
1846
- ],
1847
- "beginCaptures": {
1848
- "1": {
1849
- "name": "support.function.pod.code.perl6fe"
1850
- },
1851
- "2": {
1852
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1853
- }
1854
- },
1855
- "endCaptures": {
1856
- "1": {
1857
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1858
- }
1859
- }
1860
- },
1861
- {
1862
- "name": "meta.pod.c.perl6fe",
1863
- "contentName": "markup.underline.perl6fe",
1864
- "begin": "(?x) (U) (\u003c)",
1865
- "end": "(?x) (\u003e)",
1866
- "patterns": [
1867
- {
1868
- "include": "#comment-block-syntax"
1869
- },
1870
- {
1871
- "include": "source.quoting.perl6fe#q_angle_string_content"
1872
- }
1873
- ],
1874
- "beginCaptures": {
1875
- "1": {
1876
- "name": "support.function.pod.code.perl6fe"
1877
- },
1878
- "2": {
1879
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1880
- }
1881
- },
1882
- "endCaptures": {
1883
- "1": {
1884
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1885
- }
1886
- }
1887
- },
1888
- {
1889
- "name": "meta.pod.c.perl6fe",
1890
- "contentName": "markup.italic.perl6fe",
1891
- "begin": "(?x) (I) (\u003c)",
1892
- "end": "(?x) (\u003e)",
1893
- "patterns": [
1894
- {
1895
- "include": "#comment-block-syntax"
1896
- },
1897
- {
1898
- "include": "source.quoting.perl6fe#q_angle_string_content"
1899
- }
1900
- ],
1901
- "beginCaptures": {
1902
- "1": {
1903
- "name": "support.function.pod.code.perl6fe"
1904
- },
1905
- "2": {
1906
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1907
- }
1908
- },
1909
- "endCaptures": {
1910
- "1": {
1911
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1912
- }
1913
- }
1914
- },
1915
- {
1916
- "name": "meta.pod.c.perl6fe",
1917
- "contentName": "markup.bold.perl6fe",
1918
- "begin": "(?x) (B) (\u003c)",
1919
- "end": "(?x) (\u003e)",
1920
- "patterns": [
1921
- {
1922
- "include": "#comment-block-syntax"
1923
- },
1924
- {
1925
- "include": "source.quoting.perl6fe#q_angle_string_content"
1926
- }
1927
- ],
1928
- "beginCaptures": {
1929
- "1": {
1930
- "name": "support.function.pod.code.perl6fe"
1931
- },
1932
- "2": {
1933
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1934
- }
1935
- },
1936
- "endCaptures": {
1937
- "1": {
1938
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1939
- }
1940
- }
1941
- },
1942
- {
1943
- "name": "meta.pod.c.perl6fe",
1944
- "contentName": "markup.raw.code.perl6fe",
1945
- "begin": "(?x) ([A-Z]) (\u003c)",
1946
- "end": "(?x) (\u003e)",
1947
- "patterns": [
1948
- {
1949
- "include": "#comment-block-syntax"
1950
- },
1951
- {
1952
- "include": "source.quoting.perl6fe#q_angle_string_content"
1953
- }
1954
- ],
1955
- "beginCaptures": {
1956
- "1": {
1957
- "name": "support.function.pod.code.perl6fe"
1958
- },
1959
- "2": {
1960
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1961
- }
1962
- },
1963
- "endCaptures": {
1964
- "1": {
1965
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1966
- }
1967
- }
1968
- },
1969
- {
1970
- "name": "meta.pod.c.perl6fe",
1971
- "contentName": "markup.underline.perl6fe",
1972
- "begin": "(?x) (U) («)",
1973
- "end": "(?x) (»)",
1974
- "patterns": [
1975
- {
1976
- "include": "#comment-block-syntax"
1977
- },
1978
- {
1979
- "include": "source.quoting.perl6fe#q_chevron_string_content"
1980
- }
1981
- ],
1982
- "beginCaptures": {
1983
- "1": {
1984
- "name": "support.function.pod.code.perl6fe"
1985
- },
1986
- "2": {
1987
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1988
- }
1989
- },
1990
- "endCaptures": {
1991
- "1": {
1992
- "name": "punctuation.section.embedded.pod.code.perl6fe"
1993
- }
1994
- }
1995
- },
1996
- {
1997
- "name": "meta.pod.c.perl6fe",
1998
- "contentName": "markup.italic.perl6fe",
1999
- "begin": "(?x) (I) («)",
2000
- "end": "(?x) (»)",
2001
- "patterns": [
2002
- {
2003
- "include": "#comment-block-syntax"
2004
- },
2005
- {
2006
- "include": "source.quoting.perl6fe#q_chevron_string_content"
2007
- }
2008
- ],
2009
- "beginCaptures": {
2010
- "1": {
2011
- "name": "support.function.pod.code.perl6fe"
2012
- },
2013
- "2": {
2014
- "name": "punctuation.section.embedded.pod.code.perl6fe"
2015
- }
2016
- },
2017
- "endCaptures": {
2018
- "1": {
2019
- "name": "punctuation.section.embedded.pod.code.perl6fe"
2020
- }
2021
- }
2022
- },
2023
- {
2024
- "name": "meta.pod.c.perl6fe",
2025
- "contentName": "markup.bold.perl6fe",
2026
- "begin": "(?x) (B) («)",
2027
- "end": "(?x) (»)",
2028
- "patterns": [
2029
- {
2030
- "include": "#comment-block-syntax"
2031
- },
2032
- {
2033
- "include": "source.quoting.perl6fe#q_chevron_string_content"
2034
- }
2035
- ],
2036
- "beginCaptures": {
2037
- "1": {
2038
- "name": "support.function.pod.code.perl6fe"
2039
- },
2040
- "2": {
2041
- "name": "punctuation.section.embedded.pod.code.perl6fe"
2042
- }
2043
- },
2044
- "endCaptures": {
2045
- "1": {
2046
- "name": "punctuation.section.embedded.pod.code.perl6fe"
2047
- }
2048
- }
2049
- },
2050
- {
2051
- "name": "meta.pod.c.perl6fe",
2052
- "contentName": "markup.raw.code.perl6fe",
2053
- "begin": "(?x) ([A-Z]) («)",
2054
- "end": "(?x) (»)",
2055
- "patterns": [
2056
- {
2057
- "include": "#comment-block-syntax"
2058
- },
2059
- {
2060
- "include": "source.quoting.perl6fe#q_chevron_string_content"
2061
- }
2062
- ],
2063
- "beginCaptures": {
2064
- "1": {
2065
- "name": "support.function.pod.code.perl6fe"
2066
- },
2067
- "2": {
2068
- "name": "punctuation.section.embedded.pod.code.perl6fe"
2069
- }
2070
- },
2071
- "endCaptures": {
2072
- "1": {
2073
- "name": "punctuation.section.embedded.pod.code.perl6fe"
2074
- }
2075
- }
2076
- }
2077
- ]
2078
- },
2079
- "hex_escapes": {
2080
- "patterns": [
2081
- {
2082
- "name": "punctuation.hex.perl6fe",
2083
- "match": "(?x) (\\\\x) ( \\[ ) ( [\\dA-Fa-f]+ ) ( \\] )",
2084
- "captures": {
2085
- "1": {
2086
- "name": "keyword.punctuation.hex.perl6fe"
2087
- },
2088
- "2": {
2089
- "name": "keyword.operator.bracket.open.perl6fe"
2090
- },
2091
- "3": {
2092
- "name": "routine.name.hex.perl6fe"
2093
- },
2094
- "4": {
2095
- "name": "keyword.operator.bracket.close.perl6fe"
2096
- }
2097
- }
2098
- }
2099
- ]
2100
- },
2101
- "interpolation": {
2102
- "patterns": [
2103
- {
2104
- "name": "variable.other.identifier.interpolated.perl6fe",
2105
- "captures": {
2106
- "1": {
2107
- "name": "variable.other.identifier.sigil.perl6fe"
2108
- },
2109
- "2": {
2110
- "name": "support.class.twigil.interpolated.perl6fe"
2111
- },
2112
- "5": {
2113
- "patterns": [
2114
- {
2115
- "begin": "\u003c",
2116
- "end": "\u003e",
2117
- "beginCaptures": {
2118
- "0": {
2119
- "name": "keyword.operator.chevron.open.perl6fe"
2120
- }
2121
- },
2122
- "endCaptures": {
2123
- "0": {
2124
- "name": "keyword.operator.chevron.close.perl6fe"
2125
- }
2126
- }
2127
- },
2128
- {
2129
- "begin": "\\[",
2130
- "end": "\\]",
2131
- "patterns": [
2132
- {
2133
- "include": "$self"
2134
- }
2135
- ],
2136
- "beginCaptures": {
2137
- "0": {
2138
- "name": "keyword.operator.bracket.open.perl6fe"
2139
- }
2140
- },
2141
- "endCaptures": {
2142
- "0": {
2143
- "name": "keyword.operator.bracket.close.perl6fe"
2144
- }
2145
- }
2146
- }
2147
- ]
2148
- },
2149
- "6": {
2150
- "name": "keyword.operator.dot.perl6fe"
2151
- },
2152
- "7": {
2153
- "name": "support.function.perl6fe"
2154
- },
2155
- "8": {
2156
- "patterns": [
2157
- {
2158
- "include": "$self"
2159
- }
2160
- ],
2161
- "beginCaptures": {
2162
- "0": {
2163
- "name": "keyword.operator.paren.open.perl6fe"
2164
- }
2165
- },
2166
- "endCaptures": {
2167
- "0": {
2168
- "name": "keyword.operator.paren.close.perl6fe"
2169
- }
2170
- }
2171
- }
2172
- }
2173
- },
2174
- {
2175
- "include": "#hex_escapes"
2176
- },
2177
- {
2178
- "include": "#regexp-variables"
2179
- },
2180
- {
2181
- "name": "meta.interpolation.perl6fe",
2182
- "begin": "(?x) (?\u003c! m|rx|m:i|rx:i) (\\{)",
2183
- "end": "(\\})",
2184
- "patterns": [
2185
- {
2186
- "include": "$self"
2187
- }
2188
- ],
2189
- "beginCaptures": {
2190
- "1": {
2191
- "name": "punctuation.section.embedded.begin.perl6fe"
2192
- }
2193
- },
2194
- "endCaptures": {
2195
- "1": {
2196
- "name": "punctuation.section.embedded.end.perl6fe"
2197
- }
2198
- }
2199
- }
2200
- ]
2201
- },
2202
- "numbers": {
2203
- "patterns": [
2204
- {
2205
- "name": "constant.numeric.radix.perl6fe",
2206
- "match": "(?x)\n(?\u003c= ^ | [=,;^\\s{\\[(/] | \\.\\. )\n[-−+]?\n0[bodx]\\w+"
2207
- },
2208
- {
2209
- "name": "constant.numeric.perl6fe",
2210
- "match": "(?x)\n (?\u003c= ^ | [×÷*=,:;^\\s{\\[(/] | \\.\\. | … )\n (?: \\^? [+\\-−] )?\n(?:\n (?: \\d+ (?: [\\_\\d]+ \\d )? )\n (?: \\. \\d+ (?: [\\_\\d]+ \\d )? )?\n)\n(?: e (?:-|−)? \\d+ (?: [\\_\\d]+ \\d )? )?"
2211
- },
2212
- {
2213
- "name": "constant.numeric.perl6fe",
2214
- "match": "(?x)\n (?\u003c= ^ | [×÷*=,:;^\\s{\\[(/] | \\.\\. )\n (?: [+-−] )?\n(?:\n (?: \\. \\d+ (?: [\\_\\d]+ \\d )? )\n)\n(?: e (?:-|−)? \\d+ (?: [\\_\\d]+ \\d )? )?"
2215
- }
2216
- ]
2217
- },
2218
- "p5_escaped_char": {
2219
- "patterns": [
2220
- {
2221
- "name": "constant.character.escape.perl",
2222
- "match": "\\\\\\d+"
2223
- },
2224
- {
2225
- "name": "constant.character.escape.perl",
2226
- "match": "\\\\c[^\\s\\\\]"
2227
- },
2228
- {
2229
- "name": "constant.character.escape.perl",
2230
- "match": "\\\\g(?:\\{(?:\\w*|-\\d+)\\}|\\d+)"
2231
- },
2232
- {
2233
- "name": "constant.character.escape.perl",
2234
- "match": "\\\\k(?:\\{\\w*\\}|\u003c\\w*\u003e|'\\w*')"
2235
- },
2236
- {
2237
- "name": "constant.character.escape.perl",
2238
- "match": "\\\\N\\{[^\\}]*\\}"
2239
- },
2240
- {
2241
- "name": "constant.character.escape.perl",
2242
- "match": "\\\\o\\{\\d*\\}"
2243
- },
2244
- {
2245
- "name": "constant.character.escape.perl",
2246
- "match": "\\\\(?:p|P)(?:\\{\\w*\\}|P)"
2247
- },
2248
- {
2249
- "name": "constant.character.escape.perl",
2250
- "match": "\\\\x(?:[0-9a-zA-Z]{2}|\\{\\w*\\})?"
2251
- },
2252
- {
2253
- "name": "constant.character.escape.perl",
2254
- "match": "\\\\."
2255
- }
2256
- ]
2257
- },
2258
- "p5_regex": {
2259
- "patterns": [
2260
- {
2261
- "contentName": "string.regexp.p5.perl6fe",
2262
- "begin": "(?x)(?\u003c![\\w\\/])(m|rx) \\s*((?:\\s*:\\w+)*)?(:P5)((?:\\s*:\\w+)*)?\\s* (\\{)",
2263
- "end": "(?\u003c!\\\\)(\\})([gmixXsuUAJ]+)?",
2264
- "patterns": [
2265
- {
2266
- "include": "#p5_escaped_char"
2267
- },
2268
- {
2269
- "include": "source.quoting.perl6fe#q_brace_string_content"
2270
- }
2271
- ],
2272
- "beginCaptures": {
2273
- "1": {
2274
- "name": "string.regexp.construct.perl6fe"
2275
- },
2276
- "2": {
2277
- "name": "entity.name.section.adverb.regexp.perl6fe"
2278
- },
2279
- "3": {
2280
- "name": "entity.name.section.p5.adverb.regexp.perl6fe"
2281
- },
2282
- "4": {
2283
- "name": "entity.name.section.adverb.regexp.perl6fe"
2284
- },
2285
- "5": {
2286
- "name": "punctuation.definition.regexp.perl6fe"
2287
- }
2288
- },
2289
- "endCaptures": {
2290
- "1": {
2291
- "name": "punctuation.definition.regexp.perl6fe"
2292
- },
2293
- "2": {
2294
- "name": "invalid.illegal.p5.regexp.modifier.perl6fe"
2295
- }
2296
- }
2297
- },
2298
- {
2299
- "contentName": "string.regexp.p5.perl6fe",
2300
- "begin": "(?x)(?\u003c![\\w\\/])(m|rx) \\s*((?:\\s*:\\w+)*)?(:P5)((?:\\s*:\\w+)*)?\\s* (\\[)",
2301
- "end": "(?\u003c!\\\\)(\\])([gmixXsuUAJ]+)?",
2302
- "patterns": [
2303
- {
2304
- "include": "#p5_escaped_char"
2305
- },
2306
- {
2307
- "include": "source.quoting.perl6fe#q_bracket_string_content"
2308
- }
2309
- ],
2310
- "beginCaptures": {
2311
- "1": {
2312
- "name": "string.regexp.construct.perl6fe"
2313
- },
2314
- "2": {
2315
- "name": "entity.name.section.adverb.regexp.perl6fe"
2316
- },
2317
- "3": {
2318
- "name": "entity.name.section.p5.adverb.regexp.perl6fe"
2319
- },
2320
- "4": {
2321
- "name": "entity.name.section.adverb.regexp.perl6fe"
2322
- },
2323
- "5": {
2324
- "name": "punctuation.definition.regexp.perl6fe"
2325
- }
2326
- },
2327
- "endCaptures": {
2328
- "1": {
2329
- "name": "punctuation.definition.regexp.perl6fe"
2330
- },
2331
- "2": {
2332
- "name": "invalid.illegal.p5.regexp.modifier.perl6fe"
2333
- }
2334
- }
2335
- },
2336
- {
2337
- "contentName": "string.regexp.p5.perl6fe",
2338
- "begin": "(?x)(?\u003c![\\w\\/])(m|rx) \\s*((?:\\s*:\\w+)*)?(:P5)((?:\\s*:\\w+)*)?\\s* (\\/)",
2339
- "end": "(?\u003c!\\\\)(\\/)([gmixXsuUAJ]+)?",
2340
- "patterns": [
2341
- {
2342
- "include": "#p5_escaped_char"
2343
- },
2344
- {
2345
- "include": "source.quoting.perl6fe#q_slash_string_content"
2346
- }
2347
- ],
2348
- "beginCaptures": {
2349
- "1": {
2350
- "name": "string.regexp.construct.perl6fe"
2351
- },
2352
- "2": {
2353
- "name": "entity.name.section.adverb.regexp.perl6fe"
2354
- },
2355
- "3": {
2356
- "name": "entity.name.section.p5.adverb.regexp.perl6fe"
2357
- },
2358
- "4": {
2359
- "name": "entity.name.section.adverb.regexp.perl6fe"
2360
- },
2361
- "5": {
2362
- "name": "punctuation.definition.regexp.perl6fe"
2363
- }
2364
- },
2365
- "endCaptures": {
2366
- "1": {
2367
- "name": "punctuation.definition.regexp.perl6fe"
2368
- },
2369
- "2": {
2370
- "name": "invalid.illegal.p5.regexp.modifier.perl6fe"
2371
- }
2372
- }
2373
- }
2374
- ]
2375
- },
2376
- "q_right_double_right_double_string_content": {
2377
- "begin": "”",
2378
- "end": "”",
2379
- "patterns": [
2380
- {
2381
- "include": "#q_right_double_right_double_string_content"
2382
- }
2383
- ]
2384
- },
2385
- "regexp-variables": {
2386
- "patterns": [
2387
- {
2388
- "name": "meta.match.variable.perl6fe",
2389
- "begin": "\\$(?=\\\u003c)",
2390
- "end": "(?![\\w\\\u003c\\\u003e])",
2391
- "patterns": [
2392
- {
2393
- "match": "(\\\u003c)([\\w\\-]+)(\\\u003e)",
2394
- "captures": {
2395
- "1": {
2396
- "name": "support.class.match.name.delimiter.regexp.perl6fe"
2397
- },
2398
- "2": {
2399
- "name": "variable.other.identifier.regexp.perl6"
2400
- },
2401
- "3": {
2402
- "name": "support.class.match.name.delimiter.regexp.perl6fe"
2403
- }
2404
- }
2405
- }
2406
- ],
2407
- "beginCaptures": {
2408
- "0": {
2409
- "name": "variable.other.identifier.sigil.regexp.perl6"
2410
- }
2411
- }
2412
- }
2413
- ]
2414
- },
2415
- "shellquotes": {
2416
- "patterns": [
2417
- {
2418
- "name": "meta.shell.quote.single.perl6fe",
2419
- "begin": "([qQ]x)\\s*({{)",
2420
- "end": "}}",
2421
- "patterns": [
2422
- {
2423
- "include": "source.quoting.perl6fe#q_single_string_content"
2424
- }
2425
- ],
2426
- "beginCaptures": {
2427
- "1": {
2428
- "name": "string.quoted.q.shell.operator.perl6fe"
2429
- },
2430
- "2": {
2431
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2432
- }
2433
- },
2434
- "endCaptures": {
2435
- "0": {
2436
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2437
- }
2438
- }
2439
- },
2440
- {
2441
- "name": "meta.shell.quote.single.perl6fe",
2442
- "begin": "([qQ]x)\\s*({)",
2443
- "end": "}",
2444
- "patterns": [
2445
- {
2446
- "include": "source.quoting.perl6fe#q_single_string_content"
2447
- }
2448
- ],
2449
- "beginCaptures": {
2450
- "1": {
2451
- "name": "string.quoted.q.shell.operator.perl6fe"
2452
- },
2453
- "2": {
2454
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2455
- }
2456
- },
2457
- "endCaptures": {
2458
- "0": {
2459
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2460
- }
2461
- }
2462
- },
2463
- {
2464
- "name": "meta.shell.quote.single.perl6fe",
2465
- "begin": "([qQ]x)\\s*(\\[\\[)",
2466
- "end": "\\]\\]",
2467
- "patterns": [
2468
- {
2469
- "include": "source.quoting.perl6fe#q_single_string_content"
2470
- }
2471
- ],
2472
- "beginCaptures": {
2473
- "1": {
2474
- "name": "string.quoted.q.shell.operator.perl6fe"
2475
- },
2476
- "2": {
2477
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2478
- }
2479
- },
2480
- "endCaptures": {
2481
- "0": {
2482
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2483
- }
2484
- }
2485
- },
2486
- {
2487
- "name": "meta.shell.quote.single.perl6fe",
2488
- "begin": "([Qq]x)\\s*(\\[)",
2489
- "end": "\\]",
2490
- "patterns": [
2491
- {
2492
- "include": "source.quoting.perl6fe#q_single_string_content"
2493
- }
2494
- ],
2495
- "beginCaptures": {
2496
- "1": {
2497
- "name": "string.quoted.q.shell.operator.perl6fe"
2498
- },
2499
- "2": {
2500
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2501
- }
2502
- },
2503
- "endCaptures": {
2504
- "0": {
2505
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2506
- }
2507
- }
2508
- },
2509
- {
2510
- "name": "meta.shell.quote.single.perl6fe",
2511
- "begin": "([Qq]x)\\s*(\\|)",
2512
- "end": "\\|",
2513
- "patterns": [
2514
- {
2515
- "include": "source.quoting.perl6fe#q_single_string_content"
2516
- }
2517
- ],
2518
- "beginCaptures": {
2519
- "1": {
2520
- "name": "string.quoted.q.shell.operator.perl6fe"
2521
- },
2522
- "2": {
2523
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2524
- }
2525
- },
2526
- "endCaptures": {
2527
- "0": {
2528
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2529
- }
2530
- }
2531
- },
2532
- {
2533
- "name": "meta.shell.quote.single.perl6fe",
2534
- "begin": "([Qq]x)\\s*(\\/)",
2535
- "end": "(?\u003c!\\\\)\\/",
2536
- "patterns": [
2537
- {
2538
- "name": "constant.character.escape.perl6fe",
2539
- "match": "\\\\\\/"
2540
- },
2541
- {
2542
- "include": "source.quoting.perl6fe#q_single_string_content"
2543
- }
2544
- ],
2545
- "beginCaptures": {
2546
- "1": {
2547
- "name": "string.quoted.q.shell.operator.perl6fe"
2548
- },
2549
- "2": {
2550
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2551
- }
2552
- },
2553
- "endCaptures": {
2554
- "0": {
2555
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2556
- }
2557
- }
2558
- },
2559
- {
2560
- "name": "meta.shell.quote.double.perl6fe",
2561
- "begin": "(qqx)\\s*({{)",
2562
- "end": "}}",
2563
- "patterns": [
2564
- {
2565
- "include": "#interpolation"
2566
- },
2567
- {
2568
- "include": "#variables"
2569
- },
2570
- {
2571
- "include": "source.shell"
2572
- }
2573
- ],
2574
- "beginCaptures": {
2575
- "1": {
2576
- "name": "string.quoted.q.shell.operator.perl6fe"
2577
- },
2578
- "2": {
2579
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2580
- }
2581
- },
2582
- "endCaptures": {
2583
- "0": {
2584
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2585
- }
2586
- }
2587
- },
2588
- {
2589
- "name": "meta.shell.quote.double.perl6fe",
2590
- "begin": "(qqx)\\s*({)",
2591
- "end": "}",
2592
- "patterns": [
2593
- {
2594
- "include": "#interpolation"
2595
- },
2596
- {
2597
- "include": "#variables"
2598
- },
2599
- {
2600
- "include": "source.shell"
2601
- }
2602
- ],
2603
- "beginCaptures": {
2604
- "1": {
2605
- "name": "string.quoted.q.shell.operator.perl6fe"
2606
- },
2607
- "2": {
2608
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2609
- }
2610
- },
2611
- "endCaptures": {
2612
- "0": {
2613
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2614
- }
2615
- }
2616
- },
2617
- {
2618
- "name": "meta.shell.quote.double.perl6fe",
2619
- "begin": "(qqx)\\s*(\\[\\[)",
2620
- "end": "\\]\\]",
2621
- "patterns": [
2622
- {
2623
- "include": "#interpolation"
2624
- },
2625
- {
2626
- "include": "#variables"
2627
- },
2628
- {
2629
- "include": "source.shell"
2630
- }
2631
- ],
2632
- "beginCaptures": {
2633
- "1": {
2634
- "name": "string.quoted.q.shell.operator.perl6fe"
2635
- },
2636
- "2": {
2637
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2638
- }
2639
- },
2640
- "endCaptures": {
2641
- "0": {
2642
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2643
- }
2644
- }
2645
- },
2646
- {
2647
- "name": "meta.shell.quote.double.perl6fe",
2648
- "begin": "(qqx)\\s*(\\[)",
2649
- "end": "\\]",
2650
- "patterns": [
2651
- {
2652
- "include": "#interpolation"
2653
- },
2654
- {
2655
- "include": "#variables"
2656
- },
2657
- {
2658
- "include": "source.shell"
2659
- }
2660
- ],
2661
- "beginCaptures": {
2662
- "1": {
2663
- "name": "string.quoted.q.shell.operator.perl6fe"
2664
- },
2665
- "2": {
2666
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2667
- }
2668
- },
2669
- "endCaptures": {
2670
- "0": {
2671
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2672
- }
2673
- }
2674
- },
2675
- {
2676
- "name": "meta.shell.quote.double.perl6fe",
2677
- "begin": "(qqx)\\s*(\\|)",
2678
- "end": "\\|",
2679
- "patterns": [
2680
- {
2681
- "include": "#interpolation"
2682
- },
2683
- {
2684
- "include": "#variables"
2685
- },
2686
- {
2687
- "include": "source.shell"
2688
- }
2689
- ],
2690
- "beginCaptures": {
2691
- "1": {
2692
- "name": "string.quoted.q.shell.operator.perl6fe"
2693
- },
2694
- "2": {
2695
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2696
- }
2697
- },
2698
- "endCaptures": {
2699
- "0": {
2700
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2701
- }
2702
- }
2703
- },
2704
- {
2705
- "name": "meta.shell.quote.double.perl6fe",
2706
- "begin": "(qqx)\\s*(\\/)",
2707
- "end": "(?\u003c!\\\\)\\/",
2708
- "patterns": [
2709
- {
2710
- "name": "constant.character.escape.perl6fe",
2711
- "match": "\\\\\\/"
2712
- },
2713
- {
2714
- "include": "#interpolation"
2715
- },
2716
- {
2717
- "include": "#variables"
2718
- },
2719
- {
2720
- "include": "source.shell"
2721
- }
2722
- ],
2723
- "beginCaptures": {
2724
- "1": {
2725
- "name": "string.quoted.q.shell.operator.perl6fe"
2726
- },
2727
- "2": {
2728
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2729
- }
2730
- },
2731
- "endCaptures": {
2732
- "0": {
2733
- "name": "punctuation.section.embedded.shell.begin.perl6fe"
2734
- }
2735
- }
2736
- }
2737
- ]
2738
- },
2739
- "special_variables": {
2740
- "patterns": [
2741
- {
2742
- "name": "keyword.other.special-method.perl6fe",
2743
- "match": "(?x) [\\$\\@](?=[\\s,;\\{\\[\\(])| (?\u003c=[\\(\\,])\\s*%(?![\\w\\*\\!\\?\\.\\^:=~])| \\$_| \\$\\/| \\$\\!(?!\\w)| \\$\\d(?!\\w)"
2744
- }
2745
- ]
2746
- },
2747
- "variables": {
2748
- "patterns": [
2749
- {
2750
- "include": "#regexp-variables"
2751
- },
2752
- {
2753
- "name": "meta.variable.container.perl6fe",
2754
- "captures": {
2755
- "1": {
2756
- "name": "variable.other.identifier.sigil.perl6fe"
2757
- },
2758
- "2": {
2759
- "name": "support.class.twigil.perl6fe"
2760
- },
2761
- "3": {
2762
- "name": "variable.other.identifier.perl6fe"
2763
- }
2764
- }
2765
- }
2766
- ]
2767
- }
2768
- }
2769
- }