github-linguist 7.11.1 → 7.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (611) 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.basic.json +1 -0
  58. data/grammars/source.batchfile.json +1 -732
  59. data/grammars/source.bdf.json +1 -425
  60. data/grammars/source.befunge.json +1 -34
  61. data/grammars/source.bf.json +1 -30
  62. data/grammars/source.bicep.json +1 -0
  63. data/grammars/source.blitzmax.json +1 -905
  64. data/grammars/source.bnf.json +1 -191
  65. data/grammars/source.boo.json +1 -448
  66. data/grammars/source.boogie.json +1 -0
  67. data/grammars/source.brightauthorproject.json +1 -24
  68. data/grammars/source.brightscript.json +1 -148
  69. data/grammars/source.bsl.json +1 -451
  70. data/grammars/source.bsv.json +1 -277
  71. data/grammars/source.c++.json +1 -436
  72. data/grammars/source.c++.qt.json +1 -29
  73. data/grammars/source.c.ec.json +1 -33
  74. data/grammars/source.c.json +1 -712
  75. data/grammars/source.c.nwscript.json +1 -0
  76. data/grammars/source.c.platform.json +1 -1115
  77. data/grammars/source.c2hs.json +1 -24
  78. data/grammars/source.cabal.json +1 -63
  79. data/grammars/source.cache.cmake.json +1 -70
  80. data/grammars/source.camlp4.ocaml.json +1 -60
  81. data/grammars/source.capnp.json +1 -88
  82. data/grammars/source.ceylon.json +1 -93
  83. data/grammars/source.cfscript.cfc.json +1 -162
  84. data/grammars/source.cfscript.json +1 -737
  85. data/grammars/source.changelogs.rpm-spec.json +1 -91
  86. data/grammars/source.chapel.json +1 -265
  87. data/grammars/source.cirru.json +1 -61
  88. data/grammars/source.clarion.json +1 -146
  89. data/grammars/source.clean.json +1 -222
  90. data/grammars/source.click.json +1 -107
  91. data/grammars/source.clips.json +1 -67
  92. data/grammars/source.clojure.json +1 -429
  93. data/grammars/source.cm.json +1 -49
  94. data/grammars/source.cmake.json +1 -173
  95. data/grammars/source.cobol.json +1 -485
  96. data/grammars/source.coffee.json +1 -1310
  97. data/grammars/source.cool.json +1 -96
  98. data/grammars/source.coq.json +1 -58
  99. data/grammars/source.crystal.json +1 -2694
  100. data/grammars/source.cs.json +1 -4323
  101. data/grammars/source.csound-document.json +1 -175
  102. data/grammars/source.csound-score.json +1 -191
  103. data/grammars/source.csound.json +1 -824
  104. data/grammars/source.css.json +1 -1859
  105. data/grammars/source.css.less.json +1 -536
  106. data/grammars/source.css.mss.json +1 -249
  107. data/grammars/source.css.postcss.sugarss.json +1 -260
  108. data/grammars/source.css.scss.json +1 -1873
  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.fontinfo.json +1 -0
  148. data/grammars/source.forth.json +1 -84
  149. data/grammars/source.fortran.json +1 -464
  150. data/grammars/source.fortran.modern.json +1 -200
  151. data/grammars/source.fsharp.fsi.json +1 -9
  152. data/grammars/source.fsharp.fsl.json +1 -9
  153. data/grammars/source.fsharp.fsx.json +1 -13
  154. data/grammars/source.fsharp.json +1 -452
  155. data/grammars/source.fstar.json +1 -439
  156. data/grammars/source.futhark.json +1 -167
  157. data/grammars/source.gap.json +1 -163
  158. data/grammars/source.gcode.json +1 -176
  159. data/grammars/source.gdb.json +1 -160
  160. data/grammars/source.gdb.session.json +1 -70
  161. data/grammars/source.gdbregs.json +1 -14
  162. data/grammars/source.gdscript.json +1 -491
  163. data/grammars/source.gedcom.json +1 -196
  164. data/grammars/source.gemfile-lock.json +1 -0
  165. data/grammars/source.generic-db.json +1 -41
  166. data/grammars/source.gerber.json +1 -321
  167. data/grammars/source.gf.json +1 -51
  168. data/grammars/source.gfm.blade.json +1 -15
  169. data/grammars/source.gfm.json +1 -1913
  170. data/grammars/source.gitattributes.json +1 -111
  171. data/grammars/source.gitconfig.json +1 -450
  172. data/grammars/source.gitignore.json +1 -140
  173. data/grammars/source.glsl.json +1 -139
  174. data/grammars/source.gn.json +1 -345
  175. data/grammars/source.gnuplot.json +1 -260
  176. data/grammars/source.go.json +1 -540
  177. data/grammars/source.golo.json +1 -177
  178. data/grammars/source.gosu.2.json +1 -153
  179. data/grammars/source.grace.json +1 -675
  180. data/grammars/source.graphql.json +1 -978
  181. data/grammars/source.gremlin.json +1 -200
  182. data/grammars/source.groovy.gradle.json +1 -69
  183. data/grammars/source.groovy.json +1 -1374
  184. data/grammars/source.hack.json +1 -2595
  185. data/grammars/source.haproxy-config.json +1 -152
  186. data/grammars/source.harbour.json +1 -388
  187. data/grammars/source.haskell.json +1 -1760
  188. data/grammars/source.hc.json +1 -709
  189. data/grammars/source.hgignore.json +1 -34
  190. data/grammars/source.hlsl.json +1 -211
  191. data/grammars/source.hosts.json +1 -40
  192. data/grammars/source.hql.json +1 -492
  193. data/grammars/source.hsc2hs.json +1 -9
  194. data/grammars/source.hsig.json +1 -1760
  195. data/grammars/source.httpspec.json +1 -283
  196. data/grammars/source.hx.argument.json +1 -80
  197. data/grammars/source.hx.json +1 -2428
  198. data/grammars/source.hx.type.json +1 -8
  199. data/grammars/source.hxml.json +1 -59
  200. data/grammars/source.hy.json +1 -429
  201. data/grammars/source.ideal.json +1 -356
  202. data/grammars/source.idl-dlm.json +1 -105
  203. data/grammars/source.idl.json +1 -246
  204. data/grammars/source.idris.json +1 -523
  205. data/grammars/source.igor.json +1 -369
  206. data/grammars/source.inform7.json +1 -183
  207. data/grammars/source.ini.json +1 -107
  208. data/grammars/source.ini.npmrc.json +1 -311
  209. data/grammars/source.inno.json +1 -133
  210. data/grammars/source.inputrc.json +1 -500
  211. data/grammars/source.io.json +1 -156
  212. data/grammars/source.ioke.json +1 -266
  213. data/grammars/source.isabelle.root.json +1 -64
  214. data/grammars/source.isabelle.theory.json +1 -102
  215. data/grammars/source.j.json +1 -260
  216. data/grammars/source.jasmin.json +1 -294
  217. data/grammars/source.java-properties.json +1 -87
  218. data/grammars/source.java.json +1 -1020
  219. data/grammars/source.jcl.json +1 -46
  220. data/grammars/source.jflex.json +1 -484
  221. data/grammars/source.jison.json +1 -711
  222. data/grammars/source.jisonlex-injection.json +1 -10
  223. data/grammars/source.jisonlex.json +1 -434
  224. data/grammars/source.jolie.json +1 -132
  225. data/grammars/source.jq.json +1 -211
  226. data/grammars/source.js.json +1 -1897
  227. data/grammars/source.js.objj.json +1 -419
  228. data/grammars/source.js.regexp.json +1 -152
  229. data/grammars/source.js.regexp.replacement.json +1 -26
  230. data/grammars/source.jsdoc.json +1 -460
  231. data/grammars/source.json.json +1 -139
  232. data/grammars/source.jsoniq.json +1 -0
  233. data/grammars/source.jsonnet.json +1 -197
  234. data/grammars/source.julia.console.json +1 -51
  235. data/grammars/source.julia.json +1 -991
  236. data/grammars/source.kotlin.json +1 -704
  237. data/grammars/source.kusto.json +1 -0
  238. data/grammars/source.lark.json +1 -0
  239. data/grammars/source.lbnf.json +1 -0
  240. data/grammars/source.lcov.json +1 -398
  241. data/grammars/source.lean.json +1 -226
  242. data/grammars/source.lean.markdown.json +1 -2598
  243. data/grammars/source.lex.json +1 -232
  244. data/grammars/source.lex.regexp.json +1 -269
  245. data/grammars/source.lid.json +1 -19
  246. data/grammars/source.lilypond.json +1 -869
  247. data/grammars/source.lisp.json +1 -101
  248. data/grammars/source.litcoffee.json +1 -654
  249. data/grammars/source.livescript.json +1 -603
  250. data/grammars/source.llvm.json +1 -61
  251. data/grammars/source.logos.json +1 -24
  252. data/grammars/source.logtalk.json +1 -310
  253. data/grammars/source.loomscript.json +1 -208
  254. data/grammars/source.lsl.json +1 -241
  255. data/grammars/source.ltspice.symbol.json +1 -294
  256. data/grammars/source.lua.json +1 -275
  257. data/grammars/source.m2.json +1 -125
  258. data/grammars/source.m4.json +1 -229
  259. data/grammars/source.m68k.json +1 -412
  260. data/grammars/source.mailmap.json +1 -28
  261. data/grammars/source.makefile.json +1 -470
  262. data/grammars/source.makegen.json +1 -9
  263. data/grammars/source.man-conf.json +1 -153
  264. data/grammars/source.mask.json +1 -816
  265. data/grammars/source.mata.json +1 -125
  266. data/grammars/source.mathematica.json +1 -416
  267. data/grammars/source.matlab.json +1 -1096
  268. data/grammars/source.maxscript.json +1 -465
  269. data/grammars/source.mcfunction-snapshot.json +1 -24480
  270. data/grammars/source.mcfunction.json +1 -1354
  271. data/grammars/source.mercury.json +1 -246
  272. data/grammars/source.meson.json +1 -165
  273. data/grammars/source.meta-info.json +1 -146
  274. data/grammars/source.ml.json +1 -285
  275. data/grammars/source.mlir.json +1 -109
  276. data/grammars/source.modelica.json +1 -142
  277. data/grammars/source.modula-3.json +1 -88
  278. data/grammars/source.modula2.json +1 -94
  279. data/grammars/source.monkey.json +1 -694
  280. data/grammars/source.moonscript.json +1 -144
  281. data/grammars/source.mql5.json +1 -187
  282. data/grammars/source.msl.json +1 -755
  283. data/grammars/source.mupad.json +1 -131
  284. data/grammars/source.nanorc.json +1 -333
  285. data/grammars/source.nasl.json +1 -155
  286. data/grammars/source.ncl.json +1 -53
  287. data/grammars/source.ne.json +1 -105
  288. data/grammars/source.nemerle.json +1 -132
  289. data/grammars/source.neon.json +1 -381
  290. data/grammars/source.nesc.json +1 -21
  291. data/grammars/source.netlinx.erb.json +1 -34
  292. data/grammars/source.netlinx.json +1 -704
  293. data/grammars/source.nextflow-groovy.json +1 -1359
  294. data/grammars/source.nextflow.json +1 -94
  295. data/grammars/source.nginx.json +1 -815
  296. data/grammars/source.nim.comment.json +1 -82
  297. data/grammars/source.nim.json +1 -1083
  298. data/grammars/source.nim_filter.json +1 -113
  299. data/grammars/source.nimcfg.json +1 -103
  300. data/grammars/source.ninja.json +1 -248
  301. data/grammars/source.nit.json +1 -234
  302. data/grammars/source.nix.json +1 -1196
  303. data/grammars/source.nsis.json +1 -152
  304. data/grammars/source.nu.json +1 -516
  305. data/grammars/source.nunjucks.json +1 -0
  306. data/grammars/source.nut.json +1 -262
  307. data/grammars/source.objc++.json +1 -12
  308. data/grammars/source.objc.json +1 -910
  309. data/grammars/source.objc.platform.json +1 -842
  310. data/grammars/source.objectscript.json +1 -309
  311. data/grammars/source.objectscript_class.json +1 -674
  312. data/grammars/source.objectscript_csp.json +1 -19
  313. data/grammars/source.objectscript_macros.json +1 -226
  314. data/grammars/source.ocaml.json +1 -1418
  315. data/grammars/source.ocamllex.json +1 -298
  316. data/grammars/source.ocamlyacc.json +1 -339
  317. data/grammars/source.odin-ehr.json +1 -806
  318. data/grammars/source.odin.json +1 -402
  319. data/grammars/source.ooc.json +1 -685
  320. data/grammars/source.opa.json +1 -196
  321. data/grammars/source.opal.json +1 -410
  322. data/grammars/source.opalsysdefs.json +1 -66
  323. data/grammars/source.openbsd-pkg.contents.json +1 -128
  324. data/grammars/source.opencobol.json +1 -62
  325. data/grammars/source.opentype.json +1 -448
  326. data/grammars/source.opts.json +1 -108
  327. data/grammars/source.ox.json +1 -89
  328. data/grammars/source.oz.json +1 -77
  329. data/grammars/source.p4.json +1 -122
  330. data/grammars/source.paket.dependencies.json +1 -0
  331. data/grammars/source.paket.lock.json +1 -0
  332. data/grammars/source.pan.json +1 -706
  333. data/grammars/source.papyrus.skyrim.json +1 -1272
  334. data/grammars/source.parrot.pir.json +1 -145
  335. data/grammars/source.pascal.json +1 -143
  336. data/grammars/source.pawn.json +1 -1194
  337. data/grammars/source.pcb.board.json +1 -285
  338. data/grammars/source.pcb.schematic.json +1 -424
  339. data/grammars/source.pcb.sexp.json +1 -232
  340. data/grammars/source.pep8.json +1 -118
  341. data/grammars/source.perl.6.json +1 -309
  342. data/grammars/source.perl.json +1 -2519
  343. data/grammars/source.php.zephir.json +1 -353
  344. data/grammars/source.pic.json +1 -908
  345. data/grammars/source.pig_latin.json +1 -168
  346. data/grammars/source.pike.json +1 -49
  347. data/grammars/source.plist.json +1 -336
  348. data/grammars/source.po.json +1 -222
  349. data/grammars/source.pogoscript.json +1 -79
  350. data/grammars/source.pony.json +1 -245
  351. data/grammars/source.postcss.json +1 -370
  352. data/grammars/source.postscript.json +1 -477
  353. data/grammars/source.pov-ray sdl.json +1 -82
  354. data/grammars/source.powershell.json +1 -981
  355. data/grammars/source.prisma.json +1 -435
  356. data/grammars/source.processing.json +1 -872
  357. data/grammars/source.prolog.eclipse.json +1 -201
  358. data/grammars/source.prolog.json +1 -286
  359. data/grammars/source.protobuf.json +1 -471
  360. data/grammars/source.puppet.json +1 -433
  361. data/grammars/source.purescript.json +1 -861
  362. data/grammars/source.pyjade.json +1 -996
  363. data/grammars/source.python.django.json +1 -29
  364. data/grammars/source.python.json +1 -5292
  365. data/grammars/source.python.salt.json +1 -9
  366. data/grammars/source.q.json +1 -215
  367. data/grammars/source.q_output.json +1 -348
  368. data/grammars/source.qasm.json +1 -66
  369. data/grammars/source.ql.json +1 -1408
  370. data/grammars/source.qmake.json +1 -210
  371. data/grammars/source.qml.json +1 -174
  372. data/grammars/source.qsharp.json +1 -120
  373. data/grammars/source.quake.json +1 -44
  374. data/grammars/source.quoting.raku.json +1 -0
  375. data/grammars/source.r.json +1 -194
  376. data/grammars/source.racket.json +1 -98
  377. data/grammars/source.raku.json +1 -0
  378. data/grammars/source.rascal.json +1 -283
  379. data/grammars/source.reason.hover.type.json +1 -14
  380. data/grammars/source.reason.json +1 -3382
  381. data/grammars/source.rebol.json +1 -637
  382. data/grammars/source.record-jar.json +1 -0
  383. data/grammars/source.red.json +1 -644
  384. data/grammars/source.redirects.json +1 -0
  385. data/grammars/source.reg.json +1 -159
  386. data/grammars/source.regexp.extended.json +1 -558
  387. data/grammars/source.regexp.json +1 -1434
  388. data/grammars/source.regexp.posix.json +1 -0
  389. data/grammars/source.regexp.python.json +1 -490
  390. data/grammars/source.regexp.raku.json +1 -0
  391. data/grammars/source.regexp.spin.json +1 -179
  392. data/grammars/source.rego.json +1 -124
  393. data/grammars/source.renpy.json +1 -1948
  394. data/grammars/source.rescript.json +1 -0
  395. data/grammars/source.rexx.json +1 -52
  396. data/grammars/source.ring.json +1 -247
  397. data/grammars/source.rpm-spec.json +1 -765
  398. data/grammars/source.ruby.gemfile.json +1 -24
  399. data/grammars/source.ruby.json +1 -2605
  400. data/grammars/source.ruby.rspec.cucumber.steps.json +1 -261
  401. data/grammars/source.rust.json +1 -629
  402. data/grammars/source.sas.json +1 -286
  403. data/grammars/source.sass.json +1 -1089
  404. data/grammars/source.sassdoc.json +1 -346
  405. data/grammars/source.scad.json +1 -145
  406. data/grammars/source.scala.json +1 -1121
  407. data/grammars/source.scaml.json +1 -451
  408. data/grammars/source.scheme.json +1 -353
  409. data/grammars/source.scilab.json +1 -96
  410. data/grammars/source.sdbl.json +1 -90
  411. data/grammars/source.sed.json +1 -1520
  412. data/grammars/source.shaderlab.json +1 -198
  413. data/grammars/source.shell.json +1 -1272
  414. data/grammars/source.shen.json +1 -143
  415. data/grammars/source.sieve.json +1 -383
  416. data/grammars/source.singularity.json +1 -0
  417. data/grammars/source.slice.json +1 -2755
  418. data/grammars/source.smali.json +1 -1610
  419. data/grammars/source.smalltalk.json +1 -187
  420. data/grammars/source.smpl.json +1 -314
  421. data/grammars/source.smt.json +1 -158
  422. data/grammars/source.solidity.json +1 -189
  423. data/grammars/source.solution.json +1 -0
  424. data/grammars/source.sourcepawn.json +1 -651
  425. data/grammars/source.sparql.json +1 -18
  426. data/grammars/source.spin.json +1 -916
  427. data/grammars/source.sqf.json +1 -111
  428. data/grammars/source.sql.json +1 -459
  429. data/grammars/source.ssh-config.json +1 -97
  430. data/grammars/source.stan.json +1 -388
  431. data/grammars/source.stata.json +1 -197
  432. data/grammars/source.stdbez.json +1 -0
  433. data/grammars/source.string-template.json +1 -0
  434. data/grammars/source.strings.json +1 -49
  435. data/grammars/source.stylus.json +1 -1018
  436. data/grammars/source.supercollider.json +1 -93
  437. data/grammars/source.svelte.json +1 -827
  438. data/grammars/source.swift.json +1 -3134
  439. data/grammars/source.sy.json +1 -2954
  440. data/grammars/source.systemverilog.json +1 -1036
  441. data/grammars/source.tags.json +1 -266
  442. data/grammars/source.tcl.json +1 -260
  443. data/grammars/source.tea.json +1 -174
  444. data/grammars/source.terra.json +1 -138
  445. data/grammars/source.terraform.json +1 -694
  446. data/grammars/source.thrift.json +1 -698
  447. data/grammars/source.tl.json +1 -259
  448. data/grammars/source.tla.json +1 -140
  449. data/grammars/source.tnsaudit.json +1 -256
  450. data/grammars/source.toc.json +1 -52
  451. data/grammars/source.toml.json +1 -426
  452. data/grammars/source.ts.json +1 -5581
  453. data/grammars/source.tsql.json +1 -507
  454. data/grammars/source.tsx.json +1 -5834
  455. data/grammars/source.turing.json +1 -1553
  456. data/grammars/source.turtle.json +1 -489
  457. data/grammars/source.txl.json +1 -48
  458. data/grammars/source.ucd.nameslist.json +1 -444
  459. data/grammars/source.ucd.unidata.json +1 -570
  460. data/grammars/source.ucfconstraints.json +1 -67
  461. data/grammars/source.ur.json +1 -31
  462. data/grammars/source.v.json +1 -1010
  463. data/grammars/source.vala.json +1 -800
  464. data/grammars/source.varnish.vcl.json +1 -331
  465. data/grammars/source.vbnet.json +1 -239
  466. data/grammars/source.verilog.json +1 -296
  467. data/grammars/source.vhdl.json +1 -1374
  468. data/grammars/source.vim-snippet.json +1 -645
  469. data/grammars/source.viml.json +1 -1197
  470. data/grammars/source.vtt.json +1 -702
  471. data/grammars/source.vyper.json +1 -213
  472. data/grammars/source.wavefront.mtl.json +1 -1190
  473. data/grammars/source.wavefront.obj.json +1 -1341
  474. data/grammars/source.wdl.json +1 -220
  475. data/grammars/source.webassembly.json +1 -349
  476. data/grammars/source.webidl.json +1 -807
  477. data/grammars/source.wgetrc.json +1 -1640
  478. data/grammars/source.wollok.json +1 -100
  479. data/grammars/source.wsd.json +1 -781
  480. data/grammars/source.x10.json +1 -64
  481. data/grammars/source.x86.json +1 -299
  482. data/grammars/source.x86asm.json +1 -42
  483. data/grammars/source.xc.json +1 -371
  484. data/grammars/source.xlfd.json +1 -462
  485. data/grammars/source.xojo.json +1 -85
  486. data/grammars/source.xq.json +1 -230
  487. data/grammars/source.xtend.json +1 -724
  488. data/grammars/source.yacc.json +1 -626
  489. data/grammars/source.yaml.json +1 -443
  490. data/grammars/source.yaml.salt.json +1 -345
  491. data/grammars/source.yang.json +1 -78
  492. data/grammars/source.yara.json +1 -99
  493. data/grammars/source.yasnippet.json +1 -377
  494. data/grammars/source.zap.json +1 -260
  495. data/grammars/source.zeek.json +1 -412
  496. data/grammars/source.zenscript.json +1 -282
  497. data/grammars/source.zig.json +1 -547
  498. data/grammars/source.zil.json +1 -750
  499. data/grammars/text.bibtex.json +1 -246
  500. data/grammars/text.browserslist.json +1 -0
  501. data/grammars/text.cfml.basic.json +1 -735
  502. data/grammars/text.checksums.json +1 -0
  503. data/grammars/text.codeowners.json +1 -0
  504. data/grammars/text.conllu.json +1 -45
  505. data/grammars/text.dfy.dafny.json +1 -188
  506. data/grammars/text.elixir.json +1 -52
  507. data/grammars/text.eml.basic.json +1 -296
  508. data/grammars/text.error-list.json +1 -53
  509. data/grammars/text.find-refs.json +1 -926
  510. data/grammars/text.gherkin.feature.json +1 -127
  511. data/grammars/text.haml.json +1 -518
  512. data/grammars/text.hamlc.json +1 -219
  513. data/grammars/text.html.asciidoc.json +1 -478
  514. data/grammars/text.html.asdoc.json +1 -529
  515. data/grammars/text.html.asp.json +1 -53
  516. data/grammars/text.html.basic.json +1 -908
  517. data/grammars/text.html.cfm.json +1 -802
  518. data/grammars/text.html.creole.json +1 -317
  519. data/grammars/text.html.cshtml.json +1 -356
  520. data/grammars/text.html.django.json +1 -63
  521. data/grammars/text.html.ecr.json +1 -48
  522. data/grammars/text.html.elixir.json +1 -21
  523. data/grammars/text.html.erb.json +1 -150
  524. data/grammars/text.html.erlang.yaws.json +1 -67
  525. data/grammars/text.html.factor.json +1 -19
  526. data/grammars/text.html.ftl.json +1 -76
  527. data/grammars/text.html.handlebars.json +1 -845
  528. data/grammars/text.html.javadoc.json +1 -426
  529. data/grammars/text.html.js.json +1 -24
  530. data/grammars/text.html.jsp.json +1 -1196
  531. data/grammars/text.html.liquid.json +1 -25
  532. data/grammars/text.html.mako.json +1 -726
  533. data/grammars/text.html.markdown.source.gfm.apib.json +1 -1298
  534. data/grammars/text.html.markdown.source.gfm.mson.json +1 -1156
  535. data/grammars/text.html.mediawiki.elm-build-output.json +1 -97
  536. data/grammars/text.html.mediawiki.elm-documentation.json +1 -17
  537. data/grammars/text.html.mediawiki.json +1 -946
  538. data/grammars/text.html.nunjucks.json +1 -0
  539. data/grammars/text.html.php.blade.json +1 -3833
  540. data/grammars/text.html.php.json +1 -2507
  541. data/grammars/text.html.riot.json +1 -788
  542. data/grammars/text.html.slash.json +1 -307
  543. data/grammars/text.html.smarty.json +1 -232
  544. data/grammars/text.html.soy.json +1 -606
  545. data/grammars/text.html.ssp.json +1 -43
  546. data/grammars/text.html.tcl.json +1 -37
  547. data/grammars/text.html.twig.json +1 -1344
  548. data/grammars/text.html.vue.json +1 -963
  549. data/grammars/text.idl-idldoc.json +1 -10
  550. data/grammars/text.jade.json +1 -963
  551. data/grammars/text.junit-test-report.json +1 -89
  552. data/grammars/text.log.latex.json +1 -84
  553. data/grammars/text.marko.json +1 -1662
  554. data/grammars/text.muse.json +1 -1471
  555. data/grammars/text.openbsd-pkg.desc.json +1 -78
  556. data/grammars/text.plain.json +1 -18
  557. data/grammars/text.python.console.json +1 -21
  558. data/grammars/text.python.traceback.json +1 -43
  559. data/grammars/text.rdoc.json +1 -44
  560. data/grammars/text.restructuredtext.clean.json +1 -24
  561. data/grammars/text.restructuredtext.json +1 -1765
  562. data/grammars/text.robot.json +1 -63
  563. data/grammars/text.robots-txt.json +1 -0
  564. data/grammars/text.roff.json +1 -6927
  565. data/grammars/text.rtf.json +1 -148
  566. data/grammars/text.runoff.json +1 -308
  567. data/grammars/text.sfd.json +1 -292
  568. data/grammars/text.shell-session.json +1 -29
  569. data/grammars/text.slim.json +1 -527
  570. data/grammars/text.srt.json +1 -166
  571. data/grammars/text.tex.json +1 -264
  572. data/grammars/text.tex.latex.beamer.json +1 -57
  573. data/grammars/text.tex.latex.haskell.json +1 -1826
  574. data/grammars/text.tex.latex.json +1 -1003
  575. data/grammars/text.tex.latex.memoir.json +1 -129
  576. data/grammars/text.tex.latex.rd.json +1 -111
  577. data/grammars/text.texinfo.json +1 -1525
  578. data/grammars/text.vim-help.json +1 -383
  579. data/grammars/text.xml.ant.json +1 -195
  580. data/grammars/text.xml.flex-config.json +1 -2628
  581. data/grammars/text.xml.genshi.json +1 -28
  582. data/grammars/text.xml.json +1 -351
  583. data/grammars/text.xml.plist.json +1 -664
  584. data/grammars/text.xml.pom.json +1 -769
  585. data/grammars/text.xml.svg.json +1 -562
  586. data/grammars/text.xml.xsl.json +1 -88
  587. data/grammars/text.zone_file.json +1 -67
  588. data/grammars/version +1 -1
  589. data/lib/linguist/VERSION +1 -1
  590. data/lib/linguist/classifier.rb +9 -5
  591. data/lib/linguist/generated.rb +10 -0
  592. data/lib/linguist/generic.yml +18 -0
  593. data/lib/linguist/heuristics.yml +77 -20
  594. data/lib/linguist/language.rb +7 -17
  595. data/lib/linguist/languages.json +1 -1
  596. data/lib/linguist/languages.yml +271 -49
  597. data/lib/linguist/linguist.bundle +0 -0
  598. data/lib/linguist/samples.json +1 -1
  599. data/lib/linguist/samples.rb +2 -2
  600. data/lib/linguist/strategy/extension.rb +13 -5
  601. data/lib/linguist/strategy/modeline.rb +64 -32
  602. data/lib/linguist/vendor.yml +1 -1
  603. metadata +37 -13
  604. data/ext/linguist/strndup.c +0 -10
  605. data/grammars/source.cake.json +0 -13
  606. data/grammars/source.csx.json +0 -13
  607. data/grammars/source.js.css.json +0 -328
  608. data/grammars/source.js.jsx.json +0 -2488
  609. data/grammars/source.perl6fe.json +0 -2769
  610. data/grammars/source.quoting.perl6fe.json +0 -2369
  611. data/grammars/source.regexp.perl6fe.json +0 -244
@@ -1,2519 +1 @@
1
- {
2
- "name": "Perl",
3
- "scopeName": "source.perl",
4
- "patterns": [
5
- {
6
- "include": "#line_comment"
7
- },
8
- {
9
- "name": "comment.block.documentation.perl",
10
- "begin": "^(?==[a-zA-Z]+)",
11
- "end": "^(=cut\\b.*$)",
12
- "patterns": [
13
- {
14
- "include": "#pod"
15
- }
16
- ],
17
- "endCaptures": {
18
- "1": {
19
- "patterns": [
20
- {
21
- "include": "#pod"
22
- }
23
- ]
24
- }
25
- }
26
- },
27
- {
28
- "include": "#variable"
29
- },
30
- {
31
- "begin": "\\b(?=qr\\s*[^\\s\\w])",
32
- "end": "((([egimosxradlupcn]*)))(?=(\\s+\\S|\\s*[;\\,\\#\\{\\}\\)]|\\s*$))",
33
- "patterns": [
34
- {
35
- "name": "string.regexp.compile.nested_braces.perl",
36
- "begin": "(qr)\\s*\\{",
37
- "end": "\\}",
38
- "patterns": [
39
- {
40
- "include": "#escaped_char"
41
- },
42
- {
43
- "include": "#variable"
44
- },
45
- {
46
- "include": "#nested_braces_interpolated"
47
- }
48
- ],
49
- "captures": {
50
- "0": {
51
- "name": "punctuation.definition.string.perl"
52
- },
53
- "1": {
54
- "name": "support.function.perl"
55
- }
56
- }
57
- },
58
- {
59
- "name": "string.regexp.compile.nested_brackets.perl",
60
- "begin": "(qr)\\s*\\[",
61
- "end": "\\]",
62
- "patterns": [
63
- {
64
- "include": "#escaped_char"
65
- },
66
- {
67
- "include": "#variable"
68
- },
69
- {
70
- "include": "#nested_brackets_interpolated"
71
- }
72
- ],
73
- "captures": {
74
- "0": {
75
- "name": "punctuation.definition.string.perl"
76
- },
77
- "1": {
78
- "name": "support.function.perl"
79
- }
80
- }
81
- },
82
- {
83
- "name": "string.regexp.compile.nested_ltgt.perl",
84
- "begin": "(qr)\\s*\u003c",
85
- "end": "\u003e",
86
- "patterns": [
87
- {
88
- "include": "#escaped_char"
89
- },
90
- {
91
- "include": "#variable"
92
- },
93
- {
94
- "include": "#nested_ltgt_interpolated"
95
- }
96
- ],
97
- "captures": {
98
- "0": {
99
- "name": "punctuation.definition.string.perl"
100
- },
101
- "1": {
102
- "name": "support.function.perl"
103
- }
104
- }
105
- },
106
- {
107
- "name": "string.regexp.compile.nested_parens.perl",
108
- "begin": "(qr)\\s*\\(",
109
- "end": "\\)",
110
- "patterns": [
111
- {
112
- "match": "\\$(?=[^\\s\\w\\\\'\\{\\[\\(\\\u003c])"
113
- },
114
- {
115
- "include": "#escaped_char"
116
- },
117
- {
118
- "include": "#variable"
119
- },
120
- {
121
- "include": "#nested_parens_interpolated"
122
- }
123
- ],
124
- "captures": {
125
- "0": {
126
- "name": "punctuation.definition.string.perl"
127
- },
128
- "1": {
129
- "name": "support.function.perl"
130
- }
131
- }
132
- },
133
- {
134
- "name": "string.regexp.compile.single-quote.perl",
135
- "begin": "(qr)\\s*'",
136
- "end": "'",
137
- "patterns": [
138
- {
139
- "include": "#escaped_char"
140
- }
141
- ],
142
- "captures": {
143
- "0": {
144
- "name": "punctuation.definition.string.perl"
145
- },
146
- "1": {
147
- "name": "support.function.perl"
148
- }
149
- }
150
- },
151
- {
152
- "name": "string.regexp.compile.simple-delimiter.perl",
153
- "begin": "(qr)\\s*([^\\s\\w'\\{\\[\\(\\\u003c])",
154
- "end": "\\2",
155
- "patterns": [
156
- {
157
- "name": "keyword.control.anchor.perl",
158
- "match": "\\$(?=[^\\s\\w'\\{\\[\\(\\\u003c])"
159
- },
160
- {
161
- "include": "#escaped_char"
162
- },
163
- {
164
- "include": "#variable"
165
- },
166
- {
167
- "include": "#nested_parens_interpolated"
168
- }
169
- ],
170
- "captures": {
171
- "0": {
172
- "name": "punctuation.definition.string.perl"
173
- },
174
- "1": {
175
- "name": "support.function.perl"
176
- }
177
- }
178
- }
179
- ],
180
- "endCaptures": {
181
- "1": {
182
- "name": "string.regexp.compile.perl"
183
- },
184
- "2": {
185
- "name": "punctuation.definition.string.perl"
186
- },
187
- "3": {
188
- "name": "keyword.control.regexp-option.perl"
189
- }
190
- },
191
- "applyEndPatternLast": true
192
- },
193
- {
194
- "begin": "(?\u003c!\\{|\\+|\\-)\\b(?=m\\s*[^\\sa-zA-Z0-9])",
195
- "end": "((([egimosxradlupcn]*)))(?=(\\s+\\S|\\s*[;\\,\\#\\{\\}\\)]|\\s*$))",
196
- "patterns": [
197
- {
198
- "name": "string.regexp.find-m.nested_braces.perl",
199
- "begin": "(m)\\s*\\{",
200
- "end": "\\}",
201
- "patterns": [
202
- {
203
- "include": "#escaped_char"
204
- },
205
- {
206
- "include": "#variable"
207
- },
208
- {
209
- "include": "#nested_braces_interpolated"
210
- }
211
- ],
212
- "captures": {
213
- "0": {
214
- "name": "punctuation.definition.string.perl"
215
- },
216
- "1": {
217
- "name": "support.function.perl"
218
- }
219
- }
220
- },
221
- {
222
- "name": "string.regexp.find-m.nested_brackets.perl",
223
- "begin": "(m)\\s*\\[",
224
- "end": "\\]",
225
- "patterns": [
226
- {
227
- "include": "#escaped_char"
228
- },
229
- {
230
- "include": "#variable"
231
- },
232
- {
233
- "include": "#nested_brackets_interpolated"
234
- }
235
- ],
236
- "captures": {
237
- "0": {
238
- "name": "punctuation.definition.string.perl"
239
- },
240
- "1": {
241
- "name": "support.function.perl"
242
- }
243
- }
244
- },
245
- {
246
- "name": "string.regexp.find-m.nested_ltgt.perl",
247
- "begin": "(m)\\s*\u003c",
248
- "end": "\u003e",
249
- "patterns": [
250
- {
251
- "include": "#escaped_char"
252
- },
253
- {
254
- "include": "#variable"
255
- },
256
- {
257
- "include": "#nested_ltgt_interpolated"
258
- }
259
- ],
260
- "captures": {
261
- "0": {
262
- "name": "punctuation.definition.string.perl"
263
- },
264
- "1": {
265
- "name": "support.function.perl"
266
- }
267
- }
268
- },
269
- {
270
- "name": "string.regexp.find-m.nested_parens.perl",
271
- "begin": "(m)\\s*\\(",
272
- "end": "\\)",
273
- "patterns": [
274
- {
275
- "include": "#escaped_char"
276
- },
277
- {
278
- "include": "#variable"
279
- },
280
- {
281
- "include": "#nested_parens_interpolated"
282
- }
283
- ],
284
- "captures": {
285
- "0": {
286
- "name": "punctuation.definition.string.perl"
287
- },
288
- "1": {
289
- "name": "support.function.perl"
290
- }
291
- }
292
- },
293
- {
294
- "name": "string.regexp.find-m.single-quote.perl",
295
- "begin": "(m)\\s*'",
296
- "end": "'",
297
- "patterns": [
298
- {
299
- "include": "#escaped_char"
300
- }
301
- ],
302
- "captures": {
303
- "0": {
304
- "name": "punctuation.definition.string.perl"
305
- },
306
- "1": {
307
- "name": "support.function.perl"
308
- }
309
- }
310
- },
311
- {
312
- "name": "string.regexp.find-m.simple-delimiter.perl",
313
- "begin": "\\G(?\u003c!\\{|\\+|\\-)(m)(?!_)\\s*([^\\sa-zA-Z0-9'\\{\\[\\(\\\u003c])",
314
- "end": "\\2",
315
- "patterns": [
316
- {
317
- "name": "keyword.control.anchor.perl",
318
- "match": "\\$(?=[^\\sa-zA-Z0-9'\\{\\[\\(\\\u003c])"
319
- },
320
- {
321
- "include": "#escaped_char"
322
- },
323
- {
324
- "include": "#variable"
325
- },
326
- {
327
- "name": "constant.other.character-class.set.perl",
328
- "begin": "\\[",
329
- "end": "\\]",
330
- "patterns": [
331
- {
332
- "name": "keyword.control.anchor.perl",
333
- "match": "\\$(?=[^\\s\\w'\\{\\[\\(\\\u003c])"
334
- },
335
- {
336
- "include": "#escaped_char"
337
- }
338
- ],
339
- "beginCaptures": {
340
- "1": {
341
- "name": "punctuation.definition.character-class.begin.perl"
342
- }
343
- },
344
- "endCaptures": {
345
- "1": {
346
- "name": "punctuation.definition.character-class.end.perl"
347
- }
348
- }
349
- },
350
- {
351
- "include": "#nested_parens_interpolated"
352
- }
353
- ],
354
- "captures": {
355
- "0": {
356
- "name": "punctuation.definition.string.perl"
357
- },
358
- "1": {
359
- "name": "support.function.perl"
360
- }
361
- }
362
- }
363
- ],
364
- "endCaptures": {
365
- "1": {
366
- "name": "string.regexp.find-m.perl"
367
- },
368
- "2": {
369
- "name": "punctuation.definition.string.perl"
370
- },
371
- "3": {
372
- "name": "keyword.control.regexp-option.perl"
373
- }
374
- },
375
- "applyEndPatternLast": true
376
- },
377
- {
378
- "begin": "\\b(?=(?\u003c!\\\u0026)(s)(\\s+\\S|\\s*[;\\,\\{\\}\\(\\)\\[\u003c]|$))",
379
- "end": "((([egimosxradlupcn]*)))(?=(\\s+\\S|\\s*[;\\,\\{\\}\\)\\]\u003e]|\\s*$))",
380
- "patterns": [
381
- {
382
- "name": "string.regexp.nested_braces.perl",
383
- "begin": "(s)\\s*\\{",
384
- "end": "\\}",
385
- "patterns": [
386
- {
387
- "include": "#escaped_char"
388
- },
389
- {
390
- "include": "#nested_braces"
391
- }
392
- ],
393
- "captures": {
394
- "0": {
395
- "name": "punctuation.definition.string.perl"
396
- },
397
- "1": {
398
- "name": "support.function.perl"
399
- }
400
- }
401
- },
402
- {
403
- "name": "string.regexp.nested_brackets.perl",
404
- "begin": "(s)\\s*\\[",
405
- "end": "\\]",
406
- "patterns": [
407
- {
408
- "include": "#escaped_char"
409
- },
410
- {
411
- "include": "#nested_brackets"
412
- }
413
- ],
414
- "captures": {
415
- "0": {
416
- "name": "punctuation.definition.string.perl"
417
- },
418
- "1": {
419
- "name": "support.function.perl"
420
- }
421
- }
422
- },
423
- {
424
- "name": "string.regexp.nested_ltgt.perl",
425
- "begin": "(s)\\s*\u003c",
426
- "end": "\u003e",
427
- "patterns": [
428
- {
429
- "include": "#escaped_char"
430
- },
431
- {
432
- "include": "#nested_ltgt"
433
- }
434
- ],
435
- "captures": {
436
- "0": {
437
- "name": "punctuation.definition.string.perl"
438
- },
439
- "1": {
440
- "name": "support.function.perl"
441
- }
442
- }
443
- },
444
- {
445
- "name": "string.regexp.nested_parens.perl",
446
- "begin": "(s)\\s*\\(",
447
- "end": "\\)",
448
- "patterns": [
449
- {
450
- "include": "#escaped_char"
451
- },
452
- {
453
- "include": "#nested_parens"
454
- }
455
- ],
456
- "captures": {
457
- "0": {
458
- "name": "punctuation.definition.string.perl"
459
- },
460
- "1": {
461
- "name": "support.function.perl"
462
- }
463
- }
464
- },
465
- {
466
- "name": "string.regexp.format.nested_braces.perl",
467
- "begin": "\\{",
468
- "end": "\\}",
469
- "patterns": [
470
- {
471
- "include": "#escaped_char"
472
- },
473
- {
474
- "include": "#variable"
475
- },
476
- {
477
- "include": "#nested_braces_interpolated"
478
- }
479
- ],
480
- "captures": {
481
- "0": {
482
- "name": "punctuation.definition.string.perl"
483
- }
484
- }
485
- },
486
- {
487
- "name": "string.regexp.format.nested_brackets.perl",
488
- "begin": "\\[",
489
- "end": "\\]",
490
- "patterns": [
491
- {
492
- "include": "#escaped_char"
493
- },
494
- {
495
- "include": "#variable"
496
- },
497
- {
498
- "include": "#nested_brackets_interpolated"
499
- }
500
- ],
501
- "captures": {
502
- "0": {
503
- "name": "punctuation.definition.string.perl"
504
- }
505
- }
506
- },
507
- {
508
- "name": "string.regexp.format.nested_ltgt.perl",
509
- "begin": "\u003c",
510
- "end": "\u003e",
511
- "patterns": [
512
- {
513
- "include": "#escaped_char"
514
- },
515
- {
516
- "include": "#variable"
517
- },
518
- {
519
- "include": "#nested_ltgt_interpolated"
520
- }
521
- ],
522
- "captures": {
523
- "0": {
524
- "name": "punctuation.definition.string.perl"
525
- }
526
- }
527
- },
528
- {
529
- "name": "string.regexp.format.nested_parens.perl",
530
- "begin": "\\(",
531
- "end": "\\)",
532
- "patterns": [
533
- {
534
- "include": "#escaped_char"
535
- },
536
- {
537
- "include": "#variable"
538
- },
539
- {
540
- "include": "#nested_parens_interpolated"
541
- }
542
- ],
543
- "captures": {
544
- "0": {
545
- "name": "punctuation.definition.string.perl"
546
- }
547
- }
548
- },
549
- {
550
- "name": "string.regexp.format.single_quote.perl",
551
- "begin": "'",
552
- "end": "'",
553
- "patterns": [
554
- {
555
- "name": "constant.character.escape.perl",
556
- "match": "\\\\['\\\\]"
557
- }
558
- ],
559
- "captures": {
560
- "0": {
561
- "name": "punctuation.definition.string.perl"
562
- }
563
- }
564
- },
565
- {
566
- "name": "string.regexp.format.simple_delimiter.perl",
567
- "begin": "([^\\s\\w\\[({\u003c;])",
568
- "end": "\\1",
569
- "patterns": [
570
- {
571
- "include": "#escaped_char"
572
- },
573
- {
574
- "include": "#variable"
575
- }
576
- ],
577
- "captures": {
578
- "0": {
579
- "name": "punctuation.definition.string.perl"
580
- }
581
- }
582
- },
583
- {
584
- "match": "\\s+"
585
- }
586
- ],
587
- "endCaptures": {
588
- "1": {
589
- "name": "string.regexp.replace.perl"
590
- },
591
- "2": {
592
- "name": "punctuation.definition.string.perl"
593
- },
594
- "3": {
595
- "name": "keyword.control.regexp-option.perl"
596
- }
597
- },
598
- "applyEndPatternLast": true
599
- },
600
- {
601
- "begin": "\\b(?=s([^\\sa-zA-Z0-9\\[({\u003c]).*\\1([egimosxradlupcn]*)([\\}\\)\\;\\,]|\\s+))",
602
- "end": "((([egimosxradlupcn]*)))(?=([\\}\\)\\;\\,]|\\s+|\\s*$))",
603
- "patterns": [
604
- {
605
- "name": "string.regexp.replaceXXX.simple_delimiter.perl",
606
- "begin": "(s\\s*)([^\\sa-zA-Z0-9\\[({\u003c])",
607
- "end": "(?=\\2)",
608
- "patterns": [
609
- {
610
- "include": "#escaped_char"
611
- }
612
- ],
613
- "captures": {
614
- "0": {
615
- "name": "punctuation.definition.string.perl"
616
- },
617
- "1": {
618
- "name": "support.function.perl"
619
- }
620
- }
621
- },
622
- {
623
- "name": "string.regexp.replaceXXX.format.single_quote.perl",
624
- "begin": "'",
625
- "end": "'",
626
- "patterns": [
627
- {
628
- "name": "constant.character.escape.perl.perl",
629
- "match": "\\\\['\\\\]"
630
- }
631
- ],
632
- "captures": {
633
- "0": {
634
- "name": "punctuation.definition.string.perl"
635
- }
636
- }
637
- },
638
- {
639
- "name": "string.regexp.replaceXXX.format.simple_delimiter.perl",
640
- "begin": "([^\\sa-zA-Z0-9\\[({\u003c])",
641
- "end": "\\1",
642
- "patterns": [
643
- {
644
- "include": "#escaped_char"
645
- },
646
- {
647
- "include": "#variable"
648
- }
649
- ],
650
- "captures": {
651
- "0": {
652
- "name": "punctuation.definition.string.perl"
653
- }
654
- }
655
- }
656
- ],
657
- "endCaptures": {
658
- "1": {
659
- "name": "string.regexp.replace.perl"
660
- },
661
- "2": {
662
- "name": "punctuation.definition.string.perl"
663
- },
664
- "3": {
665
- "name": "keyword.control.regexp-option.perl"
666
- }
667
- }
668
- },
669
- {
670
- "begin": "\\b(?=(?\u003c!\\\\)s\\s*([^\\s\\w\\[({\u003c\u003e]))",
671
- "end": "((([egimosradlupc]*x[egimosradlupc]*)))\\b",
672
- "patterns": [
673
- {
674
- "name": "string.regexp.replace.extended.simple_delimiter.perl",
675
- "begin": "(s)\\s*(.)",
676
- "end": "(?=\\2)",
677
- "patterns": [
678
- {
679
- "include": "#escaped_char"
680
- }
681
- ],
682
- "captures": {
683
- "0": {
684
- "name": "punctuation.definition.string.perl"
685
- },
686
- "1": {
687
- "name": "support.function.perl"
688
- }
689
- }
690
- },
691
- {
692
- "name": "string.regexp.replace.extended.simple_delimiter.perl",
693
- "begin": "'",
694
- "end": "'(?=[egimosradlupc]*x[egimosradlupc]*)\\b",
695
- "patterns": [
696
- {
697
- "include": "#escaped_char"
698
- }
699
- ],
700
- "captures": {
701
- "0": {
702
- "name": "punctuation.definition.string.perl"
703
- }
704
- }
705
- },
706
- {
707
- "name": "string.regexp.replace.extended.simple_delimiter.perl",
708
- "begin": "(.)",
709
- "end": "\\1(?=[egimosradlupc]*x[egimosradlupc]*)\\b",
710
- "patterns": [
711
- {
712
- "include": "#escaped_char"
713
- },
714
- {
715
- "include": "#variable"
716
- }
717
- ],
718
- "captures": {
719
- "0": {
720
- "name": "punctuation.definition.string.perl"
721
- }
722
- }
723
- }
724
- ],
725
- "endCaptures": {
726
- "1": {
727
- "name": "string.regexp.replace.perl"
728
- },
729
- "2": {
730
- "name": "punctuation.definition.string.perl"
731
- },
732
- "3": {
733
- "name": "keyword.control.regexp-option.perl"
734
- }
735
- }
736
- },
737
- {
738
- "contentName": "string.regexp.find.perl",
739
- "begin": "(?\u003c=\\(|\\{|~|\u0026|\\||if|unless|^)\\s*((\\/))",
740
- "end": "((\\1([egimosxradlupcn]*)))(?=(\\s+\\S|\\s*[;\\,\\#\\{\\}\\)]|\\s*$))",
741
- "patterns": [
742
- {
743
- "name": "keyword.control.anchor.perl",
744
- "match": "\\$(?=\\/)"
745
- },
746
- {
747
- "include": "#escaped_char"
748
- },
749
- {
750
- "include": "#variable"
751
- }
752
- ],
753
- "beginCaptures": {
754
- "1": {
755
- "name": "string.regexp.find.perl"
756
- },
757
- "2": {
758
- "name": "punctuation.definition.string.perl"
759
- }
760
- },
761
- "endCaptures": {
762
- "1": {
763
- "name": "string.regexp.find.perl"
764
- },
765
- "2": {
766
- "name": "punctuation.definition.string.perl"
767
- },
768
- "3": {
769
- "name": "keyword.control.regexp-option.perl"
770
- }
771
- }
772
- },
773
- {
774
- "match": "\\b(\\w+)\\s*(?==\u003e)",
775
- "captures": {
776
- "1": {
777
- "name": "constant.other.key.perl"
778
- }
779
- }
780
- },
781
- {
782
- "name": "constant.other.bareword.perl",
783
- "match": "(?\u003c={)\\s*\\w+\\s*(?=})"
784
- },
785
- {
786
- "name": "meta.class.perl",
787
- "match": "^\\s*(package)\\s+([^\\s;]+)",
788
- "captures": {
789
- "1": {
790
- "name": "keyword.control.perl"
791
- },
792
- "2": {
793
- "name": "entity.name.type.class.perl"
794
- }
795
- }
796
- },
797
- {
798
- "name": "meta.function.perl",
799
- "match": "\\b(sub)(?:\\s+([-a-zA-Z0-9_]+))?\\s*(?:\\([\\$\\@\\*;]*\\))?[^\\w\\{]",
800
- "captures": {
801
- "1": {
802
- "name": "storage.type.sub.perl"
803
- },
804
- "2": {
805
- "name": "entity.name.function.perl"
806
- },
807
- "3": {
808
- "name": "storage.type.method.perl"
809
- }
810
- }
811
- },
812
- {
813
- "name": "meta.function.perl",
814
- "match": "^\\s*(BEGIN|UNITCHECK|CHECK|INIT|END|DESTROY)\\b",
815
- "captures": {
816
- "1": {
817
- "name": "entity.name.function.perl"
818
- },
819
- "2": {
820
- "name": "punctuation.definition.parameters.perl"
821
- },
822
- "3": {
823
- "name": "variable.parameter.function.perl"
824
- }
825
- }
826
- },
827
- {
828
- "name": "meta.leading-tabs",
829
- "begin": "^(?=(\\t| {4}))",
830
- "end": "(?=[^\\t\\s])",
831
- "patterns": [
832
- {
833
- "match": "(\\t| {4})(\\t| {4})?",
834
- "captures": {
835
- "1": {
836
- "name": "meta.odd-tab"
837
- },
838
- "2": {
839
- "name": "meta.even-tab"
840
- }
841
- }
842
- }
843
- ]
844
- },
845
- {
846
- "name": "string.regexp.replace.perl",
847
- "match": "\\b(tr|y)\\s*([^A-Za-z0-9\\s])(.*?)(?\u003c!\\\\)(\\\\{2})*(\\2)(.*?)(?\u003c!\\\\)(\\\\{2})*(\\2)",
848
- "captures": {
849
- "1": {
850
- "name": "support.function.perl"
851
- },
852
- "2": {
853
- "name": "punctuation.definition.string.perl"
854
- },
855
- "5": {
856
- "name": "punctuation.definition.string.perl"
857
- },
858
- "8": {
859
- "name": "punctuation.definition.string.perl"
860
- }
861
- }
862
- },
863
- {
864
- "name": "constant.language.perl",
865
- "match": "\\b(__FILE__|__LINE__|__PACKAGE__|__SUB__)\\b"
866
- },
867
- {
868
- "contentName": "comment.block.documentation.perl",
869
- "begin": "\\b(__DATA__|__END__)\\n?",
870
- "end": "\\z",
871
- "patterns": [
872
- {
873
- "include": "#pod"
874
- }
875
- ],
876
- "beginCaptures": {
877
- "1": {
878
- "name": "constant.language.perl"
879
- }
880
- }
881
- },
882
- {
883
- "name": "keyword.control.perl",
884
- "match": "(?\u003c!-\u003e)\\b(continue|default|die|do|else|elsif|exit|for|foreach|given|goto|if|last|next|redo|return|select|unless|until|wait|when|while|switch|case|require|use|eval)\\b"
885
- },
886
- {
887
- "name": "storage.modifier.perl",
888
- "match": "\\b(my|our|local)\\b"
889
- },
890
- {
891
- "name": "keyword.operator.filetest.perl",
892
- "match": "(?\u003c!\\w)\\-[rwxoRWXOezsfdlpSbctugkTBMAC]\\b"
893
- },
894
- {
895
- "name": "keyword.operator.logical.perl",
896
- "match": "\\b(and|or|xor|as|not)\\b"
897
- },
898
- {
899
- "name": "keyword.operator.comparison.perl",
900
- "match": "(\u003c=\u003e|=\u003e|-\u003e)"
901
- },
902
- {
903
- "contentName": "text.html.embedded.perl",
904
- "begin": "(((\u003c\u003c) *\"HTML\"))(.*)\\n?",
905
- "end": "(^HTML$)",
906
- "patterns": [
907
- {
908
- "include": "#escaped_char"
909
- },
910
- {
911
- "include": "#variable"
912
- },
913
- {
914
- "include": "text.html.basic"
915
- }
916
- ],
917
- "captures": {
918
- "1": {
919
- "name": "punctuation.definition.string.perl"
920
- },
921
- "2": {
922
- "name": "string.unquoted.heredoc.doublequote.perl"
923
- },
924
- "3": {
925
- "name": "punctuation.definition.heredoc.perl"
926
- },
927
- "4": {
928
- "patterns": [
929
- {
930
- "include": "$self"
931
- }
932
- ]
933
- }
934
- }
935
- },
936
- {
937
- "contentName": "text.xml.embedded.perl",
938
- "begin": "(((\u003c\u003c) *\"XML\"))(.*)\\n?",
939
- "end": "(^XML$)",
940
- "patterns": [
941
- {
942
- "include": "#escaped_char"
943
- },
944
- {
945
- "include": "#variable"
946
- },
947
- {
948
- "include": "text.xml"
949
- }
950
- ],
951
- "captures": {
952
- "1": {
953
- "name": "punctuation.definition.string.perl"
954
- },
955
- "2": {
956
- "name": "string.unquoted.heredoc.doublequote.perl"
957
- },
958
- "3": {
959
- "name": "punctuation.definition.heredoc.perl"
960
- },
961
- "4": {
962
- "patterns": [
963
- {
964
- "include": "$self"
965
- }
966
- ]
967
- }
968
- }
969
- },
970
- {
971
- "contentName": "text.css.embedded.perl",
972
- "begin": "(((\u003c\u003c) *\"CSS\"))(.*)\\n?",
973
- "end": "(^CSS$)",
974
- "patterns": [
975
- {
976
- "include": "#escaped_char"
977
- },
978
- {
979
- "include": "#variable"
980
- },
981
- {
982
- "include": "source.css"
983
- }
984
- ],
985
- "captures": {
986
- "1": {
987
- "name": "punctuation.definition.string.perl"
988
- },
989
- "2": {
990
- "name": "string.unquoted.heredoc.doublequote.perl"
991
- },
992
- "3": {
993
- "name": "punctuation.definition.heredoc.perl"
994
- },
995
- "4": {
996
- "patterns": [
997
- {
998
- "include": "$self"
999
- }
1000
- ]
1001
- }
1002
- }
1003
- },
1004
- {
1005
- "contentName": "text.js.embedded.perl",
1006
- "begin": "(((\u003c\u003c) *\"JAVASCRIPT\"))(.*)\\n?",
1007
- "end": "(^JAVASCRIPT$)",
1008
- "patterns": [
1009
- {
1010
- "include": "#escaped_char"
1011
- },
1012
- {
1013
- "include": "#variable"
1014
- },
1015
- {
1016
- "include": "source.js"
1017
- }
1018
- ],
1019
- "captures": {
1020
- "1": {
1021
- "name": "punctuation.definition.string.perl"
1022
- },
1023
- "2": {
1024
- "name": "string.unquoted.heredoc.doublequote.perl"
1025
- },
1026
- "3": {
1027
- "name": "punctuation.definition.heredoc.perl"
1028
- },
1029
- "4": {
1030
- "patterns": [
1031
- {
1032
- "include": "$self"
1033
- }
1034
- ]
1035
- }
1036
- }
1037
- },
1038
- {
1039
- "contentName": "source.sql.embedded.perl",
1040
- "begin": "(((\u003c\u003c) *\"SQL\"))(.*)\\n?",
1041
- "end": "(^SQL$)",
1042
- "patterns": [
1043
- {
1044
- "include": "#escaped_char"
1045
- },
1046
- {
1047
- "include": "#variable"
1048
- },
1049
- {
1050
- "include": "source.sql"
1051
- }
1052
- ],
1053
- "captures": {
1054
- "1": {
1055
- "name": "punctuation.definition.string.perl"
1056
- },
1057
- "2": {
1058
- "name": "string.unquoted.heredoc.doublequote.perl"
1059
- },
1060
- "3": {
1061
- "name": "punctuation.definition.heredoc.perl"
1062
- },
1063
- "4": {
1064
- "patterns": [
1065
- {
1066
- "include": "$self"
1067
- }
1068
- ]
1069
- }
1070
- }
1071
- },
1072
- {
1073
- "contentName": "text.postscript.embedded.perl",
1074
- "begin": "(((\u003c\u003c) *\"POSTSCRIPT\"))(.*)\\n?",
1075
- "end": "(^POSTSCRIPT$)",
1076
- "patterns": [
1077
- {
1078
- "include": "#escaped_char"
1079
- },
1080
- {
1081
- "include": "#variable"
1082
- },
1083
- {
1084
- "include": "source.postscript"
1085
- }
1086
- ],
1087
- "captures": {
1088
- "1": {
1089
- "name": "punctuation.definition.string.perl"
1090
- },
1091
- "2": {
1092
- "name": "string.unquoted.heredoc.doublequote.perl"
1093
- },
1094
- "3": {
1095
- "name": "punctuation.definition.heredoc.perl"
1096
- },
1097
- "4": {
1098
- "patterns": [
1099
- {
1100
- "include": "$self"
1101
- }
1102
- ]
1103
- }
1104
- }
1105
- },
1106
- {
1107
- "contentName": "string.unquoted.heredoc.doublequote.perl",
1108
- "begin": "(((\u003c\u003c) *\"([^\"]*)\"))(.*)\\n?",
1109
- "end": "(^\\4$)",
1110
- "patterns": [
1111
- {
1112
- "include": "#escaped_char"
1113
- },
1114
- {
1115
- "include": "#variable"
1116
- }
1117
- ],
1118
- "captures": {
1119
- "1": {
1120
- "name": "punctuation.definition.string.perl"
1121
- },
1122
- "2": {
1123
- "name": "string.unquoted.heredoc.doublequote.perl"
1124
- },
1125
- "3": {
1126
- "name": "punctuation.definition.heredoc.perl"
1127
- },
1128
- "4": {
1129
- "patterns": [
1130
- {
1131
- "include": "$self"
1132
- }
1133
- ]
1134
- }
1135
- }
1136
- },
1137
- {
1138
- "contentName": "text.html.embedded.perl",
1139
- "begin": "(((\u003c\u003c) *'HTML'))(.*)\\n?",
1140
- "end": "(^HTML$)",
1141
- "patterns": [
1142
- {
1143
- "include": "text.html.basic"
1144
- }
1145
- ],
1146
- "captures": {
1147
- "1": {
1148
- "name": "punctuation.definition.string.perl"
1149
- },
1150
- "2": {
1151
- "name": "string.unquoted.heredoc.quote.perl"
1152
- },
1153
- "3": {
1154
- "name": "punctuation.definition.heredoc.perl"
1155
- },
1156
- "4": {
1157
- "patterns": [
1158
- {
1159
- "include": "$self"
1160
- }
1161
- ]
1162
- }
1163
- }
1164
- },
1165
- {
1166
- "contentName": "text.xml.embedded.perl",
1167
- "begin": "(((\u003c\u003c) *'XML'))(.*)\\n?",
1168
- "end": "(^XML$)",
1169
- "patterns": [
1170
- {
1171
- "include": "text.xml"
1172
- }
1173
- ],
1174
- "captures": {
1175
- "1": {
1176
- "name": "punctuation.definition.string.perl"
1177
- },
1178
- "2": {
1179
- "name": "string.unquoted.heredoc.quote.perl"
1180
- },
1181
- "3": {
1182
- "name": "punctuation.definition.heredoc.perl"
1183
- },
1184
- "4": {
1185
- "patterns": [
1186
- {
1187
- "include": "$self"
1188
- }
1189
- ]
1190
- }
1191
- }
1192
- },
1193
- {
1194
- "contentName": "text.css.embedded.perl",
1195
- "begin": "(((\u003c\u003c) *'CSS'))(.*)\\n?",
1196
- "end": "(^CSS$)",
1197
- "patterns": [
1198
- {
1199
- "include": "source.css"
1200
- }
1201
- ],
1202
- "captures": {
1203
- "1": {
1204
- "name": "punctuation.definition.string.perl"
1205
- },
1206
- "2": {
1207
- "name": "string.unquoted.heredoc.quote.perl"
1208
- },
1209
- "3": {
1210
- "name": "punctuation.definition.heredoc.perl"
1211
- },
1212
- "4": {
1213
- "patterns": [
1214
- {
1215
- "include": "$self"
1216
- }
1217
- ]
1218
- }
1219
- }
1220
- },
1221
- {
1222
- "contentName": "text.js.embedded.perl",
1223
- "begin": "(((\u003c\u003c) *'JAVASCRIPT'))(.*)\\n?",
1224
- "end": "(^JAVASCRIPT$)",
1225
- "patterns": [
1226
- {
1227
- "include": "source.js"
1228
- }
1229
- ],
1230
- "captures": {
1231
- "1": {
1232
- "name": "punctuation.definition.string.perl"
1233
- },
1234
- "2": {
1235
- "name": "string.unquoted.heredoc.quote.perl"
1236
- },
1237
- "3": {
1238
- "name": "punctuation.definition.heredoc.perl"
1239
- },
1240
- "4": {
1241
- "patterns": [
1242
- {
1243
- "include": "$self"
1244
- }
1245
- ]
1246
- }
1247
- }
1248
- },
1249
- {
1250
- "contentName": "source.sql.embedded.perl",
1251
- "begin": "(((\u003c\u003c) *'SQL'))(.*)\\n?",
1252
- "end": "(^SQL$)",
1253
- "patterns": [
1254
- {
1255
- "include": "source.sql"
1256
- }
1257
- ],
1258
- "captures": {
1259
- "1": {
1260
- "name": "punctuation.definition.string.perl"
1261
- },
1262
- "2": {
1263
- "name": "string.unquoted.heredoc.quote.perl"
1264
- },
1265
- "3": {
1266
- "name": "punctuation.definition.heredoc.perl"
1267
- },
1268
- "4": {
1269
- "patterns": [
1270
- {
1271
- "include": "$self"
1272
- }
1273
- ]
1274
- }
1275
- }
1276
- },
1277
- {
1278
- "contentName": "source.postscript.embedded.perl",
1279
- "begin": "(((\u003c\u003c) *'POSTSCRIPT'))(.*)\\n?",
1280
- "end": "(^POSTSCRIPT$)",
1281
- "patterns": [
1282
- {
1283
- "include": "source.postscript"
1284
- }
1285
- ],
1286
- "captures": {
1287
- "1": {
1288
- "name": "punctuation.definition.string.perl"
1289
- },
1290
- "2": {
1291
- "name": "string.unquoted.heredoc.quote.perl"
1292
- },
1293
- "3": {
1294
- "name": "punctuation.definition.heredoc.perl"
1295
- },
1296
- "4": {
1297
- "patterns": [
1298
- {
1299
- "include": "$self"
1300
- }
1301
- ]
1302
- }
1303
- }
1304
- },
1305
- {
1306
- "contentName": "string.unquoted.heredoc.quote.perl",
1307
- "begin": "(((\u003c\u003c) *'([^']*)'))(.*)\\n?",
1308
- "end": "(^\\4$)",
1309
- "captures": {
1310
- "1": {
1311
- "name": "punctuation.definition.string.perl"
1312
- },
1313
- "2": {
1314
- "name": "string.unquoted.heredoc.quote.perl"
1315
- },
1316
- "3": {
1317
- "name": "punctuation.definition.heredoc.perl"
1318
- },
1319
- "4": {
1320
- "patterns": [
1321
- {
1322
- "include": "$self"
1323
- }
1324
- ]
1325
- }
1326
- }
1327
- },
1328
- {
1329
- "contentName": "string.unquoted.heredoc.quote.perl",
1330
- "begin": "(((\u003c\u003c) *\\\\((?![=\\d\\$\\( ])[^;,'\"`\\s\\)]*)))(.*)\\n?",
1331
- "end": "(^\\4$)",
1332
- "captures": {
1333
- "1": {
1334
- "name": "punctuation.definition.string.perl"
1335
- },
1336
- "2": {
1337
- "name": "string.unquoted.heredoc.quote.perl"
1338
- },
1339
- "3": {
1340
- "name": "punctuation.definition.heredoc.perl"
1341
- },
1342
- "4": {
1343
- "patterns": [
1344
- {
1345
- "include": "$self"
1346
- }
1347
- ]
1348
- }
1349
- }
1350
- },
1351
- {
1352
- "contentName": "string.unquoted.heredoc.backtick.perl",
1353
- "begin": "(((\u003c\u003c) *`([^`]*)`))(.*)\\n?",
1354
- "end": "(^\\4$)",
1355
- "patterns": [
1356
- {
1357
- "include": "#escaped_char"
1358
- },
1359
- {
1360
- "include": "#variable"
1361
- }
1362
- ],
1363
- "captures": {
1364
- "1": {
1365
- "name": "punctuation.definition.string.perl"
1366
- },
1367
- "2": {
1368
- "name": "string.unquoted.heredoc.backtick.perl"
1369
- },
1370
- "3": {
1371
- "name": "punctuation.definition.heredoc.perl"
1372
- },
1373
- "4": {
1374
- "patterns": [
1375
- {
1376
- "include": "$self"
1377
- }
1378
- ]
1379
- }
1380
- }
1381
- },
1382
- {
1383
- "contentName": "text.html.embedded.perl",
1384
- "begin": "(((\u003c\u003c) *HTML\\b))(.*)\\n?",
1385
- "end": "(^HTML$)",
1386
- "patterns": [
1387
- {
1388
- "include": "#escaped_char"
1389
- },
1390
- {
1391
- "include": "#variable"
1392
- },
1393
- {
1394
- "include": "text.html.basic"
1395
- }
1396
- ],
1397
- "captures": {
1398
- "1": {
1399
- "name": "punctuation.definition.string.perl"
1400
- },
1401
- "2": {
1402
- "name": "string.unquoted.heredoc.perl"
1403
- },
1404
- "3": {
1405
- "name": "punctuation.definition.heredoc.perl"
1406
- },
1407
- "4": {
1408
- "patterns": [
1409
- {
1410
- "include": "$self"
1411
- }
1412
- ]
1413
- }
1414
- }
1415
- },
1416
- {
1417
- "contentName": "text.xml.embedded.perl",
1418
- "begin": "(((\u003c\u003c) *XML\\b))(.*)\\n?",
1419
- "end": "(^XML$)",
1420
- "patterns": [
1421
- {
1422
- "include": "#escaped_char"
1423
- },
1424
- {
1425
- "include": "#variable"
1426
- },
1427
- {
1428
- "include": "text.xml"
1429
- }
1430
- ],
1431
- "captures": {
1432
- "1": {
1433
- "name": "punctuation.definition.string.perl"
1434
- },
1435
- "2": {
1436
- "name": "string.unquoted.heredoc.perl"
1437
- },
1438
- "3": {
1439
- "name": "punctuation.definition.heredoc.perl"
1440
- },
1441
- "4": {
1442
- "patterns": [
1443
- {
1444
- "include": "$self"
1445
- }
1446
- ]
1447
- }
1448
- }
1449
- },
1450
- {
1451
- "contentName": "source.js.embedded.perl",
1452
- "begin": "(((\u003c\u003c) *JAVASCRIPT\\b))(.*)\\n?",
1453
- "end": "(^JAVASCRIPT$)",
1454
- "patterns": [
1455
- {
1456
- "include": "#escaped_char"
1457
- },
1458
- {
1459
- "include": "#variable"
1460
- },
1461
- {
1462
- "include": "source.js"
1463
- }
1464
- ],
1465
- "captures": {
1466
- "1": {
1467
- "name": "punctuation.definition.string.perl"
1468
- },
1469
- "2": {
1470
- "name": "string.unquoted.heredoc.perl"
1471
- },
1472
- "3": {
1473
- "name": "punctuation.definition.heredoc.perl"
1474
- },
1475
- "4": {
1476
- "patterns": [
1477
- {
1478
- "include": "$self"
1479
- }
1480
- ]
1481
- }
1482
- }
1483
- },
1484
- {
1485
- "contentName": "source.sql.embedded.perl",
1486
- "begin": "(((\u003c\u003c) *SQL\\b))(.*)\\n?",
1487
- "end": "(^SQL$)",
1488
- "patterns": [
1489
- {
1490
- "include": "#escaped_char"
1491
- },
1492
- {
1493
- "include": "#variable"
1494
- },
1495
- {
1496
- "include": "source.sql"
1497
- }
1498
- ],
1499
- "captures": {
1500
- "1": {
1501
- "name": "punctuation.definition.string.perl"
1502
- },
1503
- "2": {
1504
- "name": "string.unquoted.heredoc.perl"
1505
- },
1506
- "3": {
1507
- "name": "punctuation.definition.heredoc.perl"
1508
- },
1509
- "4": {
1510
- "patterns": [
1511
- {
1512
- "include": "$self"
1513
- }
1514
- ]
1515
- }
1516
- }
1517
- },
1518
- {
1519
- "contentName": "source.postscript.embedded.perl",
1520
- "begin": "(((\u003c\u003c) *POSTSCRIPT\\b))(.*)\\n?",
1521
- "end": "(^POSTSCRIPT$)",
1522
- "patterns": [
1523
- {
1524
- "include": "#escaped_char"
1525
- },
1526
- {
1527
- "include": "#variable"
1528
- },
1529
- {
1530
- "include": "source.postscript"
1531
- }
1532
- ],
1533
- "captures": {
1534
- "1": {
1535
- "name": "punctuation.definition.string.perl"
1536
- },
1537
- "2": {
1538
- "name": "string.unquoted.heredoc.perl"
1539
- },
1540
- "3": {
1541
- "name": "punctuation.definition.heredoc.perl"
1542
- },
1543
- "4": {
1544
- "patterns": [
1545
- {
1546
- "include": "$self"
1547
- }
1548
- ]
1549
- }
1550
- }
1551
- },
1552
- {
1553
- "contentName": "string.unquoted.heredoc.perl",
1554
- "begin": "(((\u003c\u003c) *((?![=\\d\\$\\( ])[^;,'\"`\\s\\)]*)))(.*)\\n?",
1555
- "end": "(^\\4$)",
1556
- "patterns": [
1557
- {
1558
- "include": "#escaped_char"
1559
- },
1560
- {
1561
- "include": "#variable"
1562
- }
1563
- ],
1564
- "captures": {
1565
- "1": {
1566
- "name": "punctuation.definition.string.perl"
1567
- },
1568
- "2": {
1569
- "name": "string.unquoted.heredoc.perl"
1570
- },
1571
- "3": {
1572
- "name": "punctuation.definition.heredoc.perl"
1573
- },
1574
- "5": {
1575
- "patterns": [
1576
- {
1577
- "include": "$self"
1578
- }
1579
- ]
1580
- }
1581
- }
1582
- },
1583
- {
1584
- "name": "string.quoted.other.qq.perl",
1585
- "begin": "\\bqq\\s*([^\\(\\{\\[\\\u003c\\w\\s])",
1586
- "end": "\\1",
1587
- "patterns": [
1588
- {
1589
- "include": "#escaped_char"
1590
- },
1591
- {
1592
- "include": "#variable"
1593
- }
1594
- ],
1595
- "beginCaptures": {
1596
- "0": {
1597
- "name": "punctuation.definition.string.begin.perl"
1598
- }
1599
- },
1600
- "endCaptures": {
1601
- "0": {
1602
- "name": "punctuation.definition.string.end.perl"
1603
- }
1604
- }
1605
- },
1606
- {
1607
- "name": "string.interpolated.qx.perl",
1608
- "begin": "\\bqx\\s*([^'\\(\\{\\[\\\u003c\\w\\s])",
1609
- "end": "\\1",
1610
- "patterns": [
1611
- {
1612
- "include": "#escaped_char"
1613
- },
1614
- {
1615
- "include": "#variable"
1616
- }
1617
- ],
1618
- "beginCaptures": {
1619
- "0": {
1620
- "name": "punctuation.definition.string.begin.perl"
1621
- }
1622
- },
1623
- "endCaptures": {
1624
- "0": {
1625
- "name": "punctuation.definition.string.end.perl"
1626
- }
1627
- }
1628
- },
1629
- {
1630
- "name": "string.interpolated.qx.single-quote.perl",
1631
- "begin": "\\bqx\\s*'",
1632
- "end": "'",
1633
- "patterns": [
1634
- {
1635
- "include": "#escaped_char"
1636
- }
1637
- ],
1638
- "beginCaptures": {
1639
- "0": {
1640
- "name": "punctuation.definition.string.begin.perl"
1641
- }
1642
- },
1643
- "endCaptures": {
1644
- "0": {
1645
- "name": "punctuation.definition.string.end.perl"
1646
- }
1647
- }
1648
- },
1649
- {
1650
- "name": "string.quoted.double.perl",
1651
- "begin": "\"",
1652
- "end": "\"",
1653
- "patterns": [
1654
- {
1655
- "include": "#escaped_char"
1656
- },
1657
- {
1658
- "include": "#variable"
1659
- }
1660
- ],
1661
- "beginCaptures": {
1662
- "0": {
1663
- "name": "punctuation.definition.string.begin.perl"
1664
- }
1665
- },
1666
- "endCaptures": {
1667
- "0": {
1668
- "name": "punctuation.definition.string.end.perl"
1669
- }
1670
- }
1671
- },
1672
- {
1673
- "name": "string.quoted.other.q.perl",
1674
- "begin": "(?\u003c!-\u003e)\\bqw?\\s*([^\\(\\{\\[\\\u003c\\w\\s])",
1675
- "end": "\\1",
1676
- "beginCaptures": {
1677
- "0": {
1678
- "name": "punctuation.definition.string.begin.perl"
1679
- }
1680
- },
1681
- "endCaptures": {
1682
- "0": {
1683
- "name": "punctuation.definition.string.end.perl"
1684
- }
1685
- }
1686
- },
1687
- {
1688
- "name": "string.quoted.single.perl",
1689
- "begin": "'",
1690
- "end": "'",
1691
- "patterns": [
1692
- {
1693
- "name": "constant.character.escape.perl",
1694
- "match": "\\\\['\\\\]"
1695
- }
1696
- ],
1697
- "beginCaptures": {
1698
- "0": {
1699
- "name": "punctuation.definition.string.begin.perl"
1700
- }
1701
- },
1702
- "endCaptures": {
1703
- "0": {
1704
- "name": "punctuation.definition.string.end.perl"
1705
- }
1706
- }
1707
- },
1708
- {
1709
- "name": "string.interpolated.perl",
1710
- "begin": "`",
1711
- "end": "`",
1712
- "patterns": [
1713
- {
1714
- "include": "#escaped_char"
1715
- },
1716
- {
1717
- "include": "#variable"
1718
- }
1719
- ],
1720
- "beginCaptures": {
1721
- "0": {
1722
- "name": "punctuation.definition.string.begin.perl"
1723
- }
1724
- },
1725
- "endCaptures": {
1726
- "0": {
1727
- "name": "punctuation.definition.string.end.perl"
1728
- }
1729
- }
1730
- },
1731
- {
1732
- "name": "string.quoted.other.qq-paren.perl",
1733
- "begin": "(?\u003c!-\u003e)\\bqq\\s*\\(",
1734
- "end": "\\)",
1735
- "patterns": [
1736
- {
1737
- "include": "#escaped_char"
1738
- },
1739
- {
1740
- "include": "#nested_parens_interpolated"
1741
- },
1742
- {
1743
- "include": "#variable"
1744
- }
1745
- ],
1746
- "beginCaptures": {
1747
- "0": {
1748
- "name": "punctuation.definition.string.begin.perl"
1749
- }
1750
- },
1751
- "endCaptures": {
1752
- "0": {
1753
- "name": "punctuation.definition.string.end.perl"
1754
- }
1755
- }
1756
- },
1757
- {
1758
- "name": "string.quoted.other.qq-brace.perl",
1759
- "begin": "\\bqq\\s*\\{",
1760
- "end": "\\}",
1761
- "patterns": [
1762
- {
1763
- "include": "#escaped_char"
1764
- },
1765
- {
1766
- "include": "#nested_braces_interpolated"
1767
- },
1768
- {
1769
- "include": "#variable"
1770
- }
1771
- ],
1772
- "beginCaptures": {
1773
- "0": {
1774
- "name": "punctuation.definition.string.begin.perl"
1775
- }
1776
- },
1777
- "endCaptures": {
1778
- "0": {
1779
- "name": "punctuation.definition.string.end.perl"
1780
- }
1781
- }
1782
- },
1783
- {
1784
- "name": "string.quoted.other.qq-bracket.perl",
1785
- "begin": "\\bqq\\s*\\[",
1786
- "end": "\\]",
1787
- "patterns": [
1788
- {
1789
- "include": "#escaped_char"
1790
- },
1791
- {
1792
- "include": "#nested_brackets_interpolated"
1793
- },
1794
- {
1795
- "include": "#variable"
1796
- }
1797
- ],
1798
- "beginCaptures": {
1799
- "0": {
1800
- "name": "punctuation.definition.string.begin.perl"
1801
- }
1802
- },
1803
- "endCaptures": {
1804
- "0": {
1805
- "name": "punctuation.definition.string.end.perl"
1806
- }
1807
- }
1808
- },
1809
- {
1810
- "name": "string.quoted.other.qq-ltgt.perl",
1811
- "begin": "\\bqq\\s*\\\u003c",
1812
- "end": "\\\u003e",
1813
- "patterns": [
1814
- {
1815
- "include": "#escaped_char"
1816
- },
1817
- {
1818
- "include": "#nested_ltgt_interpolated"
1819
- },
1820
- {
1821
- "include": "#variable"
1822
- }
1823
- ],
1824
- "beginCaptures": {
1825
- "0": {
1826
- "name": "punctuation.definition.string.begin.perl"
1827
- }
1828
- },
1829
- "endCaptures": {
1830
- "0": {
1831
- "name": "punctuation.definition.string.end.perl"
1832
- }
1833
- }
1834
- },
1835
- {
1836
- "name": "string.interpolated.qx-paren.perl",
1837
- "begin": "(?\u003c!-\u003e)\\bqx\\s*\\(",
1838
- "end": "\\)",
1839
- "patterns": [
1840
- {
1841
- "include": "#escaped_char"
1842
- },
1843
- {
1844
- "include": "#nested_parens_interpolated"
1845
- },
1846
- {
1847
- "include": "#variable"
1848
- }
1849
- ],
1850
- "beginCaptures": {
1851
- "0": {
1852
- "name": "punctuation.definition.string.begin.perl"
1853
- }
1854
- },
1855
- "endCaptures": {
1856
- "0": {
1857
- "name": "punctuation.definition.string.end.perl"
1858
- }
1859
- }
1860
- },
1861
- {
1862
- "name": "string.interpolated.qx-brace.perl",
1863
- "begin": "\\bqx\\s*\\{",
1864
- "end": "\\}",
1865
- "patterns": [
1866
- {
1867
- "include": "#escaped_char"
1868
- },
1869
- {
1870
- "include": "#nested_braces_interpolated"
1871
- },
1872
- {
1873
- "include": "#variable"
1874
- }
1875
- ],
1876
- "beginCaptures": {
1877
- "0": {
1878
- "name": "punctuation.definition.string.begin.perl"
1879
- }
1880
- },
1881
- "endCaptures": {
1882
- "0": {
1883
- "name": "punctuation.definition.string.end.perl"
1884
- }
1885
- }
1886
- },
1887
- {
1888
- "name": "string.interpolated.qx-bracket.perl",
1889
- "begin": "\\bqx\\s*\\[",
1890
- "end": "\\]",
1891
- "patterns": [
1892
- {
1893
- "include": "#escaped_char"
1894
- },
1895
- {
1896
- "include": "#nested_brackets_interpolated"
1897
- },
1898
- {
1899
- "include": "#variable"
1900
- }
1901
- ],
1902
- "beginCaptures": {
1903
- "0": {
1904
- "name": "punctuation.definition.string.begin.perl"
1905
- }
1906
- },
1907
- "endCaptures": {
1908
- "0": {
1909
- "name": "punctuation.definition.string.end.perl"
1910
- }
1911
- }
1912
- },
1913
- {
1914
- "name": "string.interpolated.qx-ltgt.perl",
1915
- "begin": "\\bqx\\s*\\\u003c",
1916
- "end": "\\\u003e",
1917
- "patterns": [
1918
- {
1919
- "include": "#escaped_char"
1920
- },
1921
- {
1922
- "include": "#nested_ltgt_interpolated"
1923
- },
1924
- {
1925
- "include": "#variable"
1926
- }
1927
- ],
1928
- "beginCaptures": {
1929
- "0": {
1930
- "name": "punctuation.definition.string.begin.perl"
1931
- }
1932
- },
1933
- "endCaptures": {
1934
- "0": {
1935
- "name": "punctuation.definition.string.end.perl"
1936
- }
1937
- }
1938
- },
1939
- {
1940
- "name": "string.quoted.other.q-paren.perl",
1941
- "begin": "(?\u003c!-\u003e)\\bqw?\\s*\\(",
1942
- "end": "\\)",
1943
- "patterns": [
1944
- {
1945
- "include": "#nested_parens"
1946
- }
1947
- ],
1948
- "beginCaptures": {
1949
- "0": {
1950
- "name": "punctuation.definition.string.begin.perl"
1951
- }
1952
- },
1953
- "endCaptures": {
1954
- "0": {
1955
- "name": "punctuation.definition.string.end.perl"
1956
- }
1957
- }
1958
- },
1959
- {
1960
- "name": "string.quoted.other.q-brace.perl",
1961
- "begin": "\\bqw?\\s*\\{",
1962
- "end": "\\}",
1963
- "patterns": [
1964
- {
1965
- "include": "#nested_braces"
1966
- }
1967
- ],
1968
- "beginCaptures": {
1969
- "0": {
1970
- "name": "punctuation.definition.string.begin.perl"
1971
- }
1972
- },
1973
- "endCaptures": {
1974
- "0": {
1975
- "name": "punctuation.definition.string.end.perl"
1976
- }
1977
- }
1978
- },
1979
- {
1980
- "name": "string.quoted.other.q-bracket.perl",
1981
- "begin": "\\bqw?\\s*\\[",
1982
- "end": "\\]",
1983
- "patterns": [
1984
- {
1985
- "include": "#nested_brackets"
1986
- }
1987
- ],
1988
- "beginCaptures": {
1989
- "0": {
1990
- "name": "punctuation.definition.string.begin.perl"
1991
- }
1992
- },
1993
- "endCaptures": {
1994
- "0": {
1995
- "name": "punctuation.definition.string.end.perl"
1996
- }
1997
- }
1998
- },
1999
- {
2000
- "name": "string.quoted.other.q-ltgt.perl",
2001
- "begin": "\\bqw?\\s*\\\u003c",
2002
- "end": "\\\u003e",
2003
- "patterns": [
2004
- {
2005
- "include": "#nested_ltgt"
2006
- }
2007
- ],
2008
- "beginCaptures": {
2009
- "0": {
2010
- "name": "punctuation.definition.string.begin.perl"
2011
- }
2012
- },
2013
- "endCaptures": {
2014
- "0": {
2015
- "name": "punctuation.definition.string.end.perl"
2016
- }
2017
- }
2018
- },
2019
- {
2020
- "name": "string.unquoted.program-block.perl",
2021
- "begin": "^__\\w+__",
2022
- "end": "$",
2023
- "beginCaptures": {
2024
- "0": {
2025
- "name": "punctuation.definition.string.begin.perl"
2026
- }
2027
- },
2028
- "endCaptures": {
2029
- "0": {
2030
- "name": "punctuation.definition.string.end.perl"
2031
- }
2032
- }
2033
- },
2034
- {
2035
- "name": "meta.format.perl",
2036
- "begin": "\\b(format)\\s+(\\w+)\\s*=",
2037
- "end": "^\\.\\s*$",
2038
- "patterns": [
2039
- {
2040
- "include": "#line_comment"
2041
- },
2042
- {
2043
- "include": "#variable"
2044
- }
2045
- ],
2046
- "beginCaptures": {
2047
- "1": {
2048
- "name": "support.function.perl"
2049
- },
2050
- "2": {
2051
- "name": "entity.name.function.format.perl"
2052
- }
2053
- }
2054
- },
2055
- {
2056
- "match": "\\b(x)\\s*(\\d+)\\b",
2057
- "captures": {
2058
- "1": {
2059
- "name": "support.function.perl"
2060
- },
2061
- "2": {
2062
- "name": "entity.name.function.perl"
2063
- }
2064
- }
2065
- },
2066
- {
2067
- "name": "support.function.perl",
2068
- "match": "\\b(ARGV|DATA|ENV|SIG|STDERR|STDIN|STDOUT|atan2|bind|binmode|bless|caller|chdir|chmod|chomp|chop|chown|chr|chroot|close|closedir|cmp|connect|cos|crypt|dbmclose|dbmopen|defined|delete|dump|each|endgrent|endhostent|endnetent|endprotoent|endpwent|endservent|eof|eq|eval|exec|exists|exp|fcntl|fileno|flock|fork|formline|ge|getc|getgrent|getgrgid|getgrnam|gethostbyaddr|gethostbyname|gethostent|getlogin|getnetbyaddr|getnetbyname|getnetent|getpeername|getpgrp|getppid|getpriority|getprotobyname|getprotobynumber|getprotoent|getpwent|getpwnam|getpwuid|getservbyname|getservbyport|getservent|getsockname|getsockopt|glob|gmtime|grep|gt|hex|import|index|int|ioctl|join|keys|kill|lc|lcfirst|le|length|link|listen|local|localtime|log|lstat|lt|m|map|mkdir|msgctl|msgget|msgrcv|msgsnd|ne|no|oct|open|opendir|ord|pack|pipe|pop|pos|print|printf|push|quotemeta|rand|read|readdir|readlink|recv|ref|rename|reset|reverse|rewinddir|rindex|rmdir|s|say|scalar|seek|seekdir|semctl|semget|semop|send|setgrent|sethostent|setnetent|setpgrp|setpriority|setprotoent|setpwent|setservent|setsockopt|shift|shmctl|shmget|shmread|shmwrite|shutdown|sin|sleep|socket|socketpair|sort|splice|split|sprintf|sqrt|srand|stat|study|substr|symlink|syscall|sysopen|sysread|system|syswrite|tell|telldir|tie|tied|time|times|tr|truncate|uc|ucfirst|umask|undef|unlink|unpack|unshift|untie|utime|values|vec|waitpid|wantarray|warn|write|y)\\b"
2069
- },
2070
- {
2071
- "match": "(\\{)(\\})",
2072
- "captures": {
2073
- "1": {
2074
- "name": "punctuation.section.scope.begin.perl"
2075
- },
2076
- "2": {
2077
- "name": "punctuation.section.scope.end.perl"
2078
- }
2079
- }
2080
- },
2081
- {
2082
- "match": "(\\()(\\))",
2083
- "captures": {
2084
- "1": {
2085
- "name": "punctuation.section.scope.begin.perl"
2086
- },
2087
- "2": {
2088
- "name": "punctuation.section.scope.end.perl"
2089
- }
2090
- }
2091
- }
2092
- ],
2093
- "repository": {
2094
- "escaped_char": {
2095
- "patterns": [
2096
- {
2097
- "name": "constant.character.escape.perl",
2098
- "match": "\\\\\\d+"
2099
- },
2100
- {
2101
- "name": "constant.character.escape.perl",
2102
- "match": "\\\\c[^\\s\\\\]"
2103
- },
2104
- {
2105
- "name": "constant.character.escape.perl",
2106
- "match": "\\\\g(?:\\{(?:\\w*|-\\d+)\\}|\\d+)"
2107
- },
2108
- {
2109
- "name": "constant.character.escape.perl",
2110
- "match": "\\\\k(?:\\{\\w*\\}|\u003c\\w*\u003e|'\\w*')"
2111
- },
2112
- {
2113
- "name": "constant.character.escape.perl",
2114
- "match": "\\\\N\\{[^\\}]*\\}"
2115
- },
2116
- {
2117
- "name": "constant.character.escape.perl",
2118
- "match": "\\\\o\\{\\d*\\}"
2119
- },
2120
- {
2121
- "name": "constant.character.escape.perl",
2122
- "match": "\\\\(?:p|P)(?:\\{\\w*\\}|P)"
2123
- },
2124
- {
2125
- "name": "constant.character.escape.perl",
2126
- "match": "\\\\x(?:[0-9a-zA-Z]{2}|\\{\\w*\\})?"
2127
- },
2128
- {
2129
- "name": "constant.character.escape.perl",
2130
- "match": "\\\\."
2131
- }
2132
- ]
2133
- },
2134
- "line_comment": {
2135
- "patterns": [
2136
- {
2137
- "begin": "(^[ \\t]+)?(?=#)",
2138
- "end": "(?!\\G)",
2139
- "patterns": [
2140
- {
2141
- "name": "comment.line.number-sign.perl",
2142
- "begin": "#",
2143
- "end": "\\n",
2144
- "beginCaptures": {
2145
- "0": {
2146
- "name": "punctuation.definition.comment.perl"
2147
- }
2148
- }
2149
- }
2150
- ],
2151
- "beginCaptures": {
2152
- "1": {
2153
- "name": "punctuation.whitespace.comment.leading.perl"
2154
- }
2155
- }
2156
- }
2157
- ]
2158
- },
2159
- "nested_braces": {
2160
- "begin": "\\{",
2161
- "end": "\\}",
2162
- "patterns": [
2163
- {
2164
- "include": "#escaped_char"
2165
- },
2166
- {
2167
- "include": "#nested_braces"
2168
- }
2169
- ],
2170
- "captures": {
2171
- "1": {
2172
- "name": "punctuation.section.scope.perl"
2173
- }
2174
- }
2175
- },
2176
- "nested_braces_interpolated": {
2177
- "begin": "\\{",
2178
- "end": "\\}",
2179
- "patterns": [
2180
- {
2181
- "include": "#escaped_char"
2182
- },
2183
- {
2184
- "include": "#variable"
2185
- },
2186
- {
2187
- "include": "#nested_braces_interpolated"
2188
- }
2189
- ],
2190
- "captures": {
2191
- "1": {
2192
- "name": "punctuation.section.scope.perl"
2193
- }
2194
- }
2195
- },
2196
- "nested_brackets": {
2197
- "begin": "\\[",
2198
- "end": "\\]",
2199
- "patterns": [
2200
- {
2201
- "include": "#escaped_char"
2202
- },
2203
- {
2204
- "include": "#nested_brackets"
2205
- }
2206
- ],
2207
- "captures": {
2208
- "1": {
2209
- "name": "punctuation.section.scope.perl"
2210
- }
2211
- }
2212
- },
2213
- "nested_brackets_interpolated": {
2214
- "begin": "\\[",
2215
- "end": "\\]",
2216
- "patterns": [
2217
- {
2218
- "include": "#escaped_char"
2219
- },
2220
- {
2221
- "include": "#variable"
2222
- },
2223
- {
2224
- "include": "#nested_brackets_interpolated"
2225
- }
2226
- ],
2227
- "captures": {
2228
- "1": {
2229
- "name": "punctuation.section.scope.perl"
2230
- }
2231
- }
2232
- },
2233
- "nested_ltgt": {
2234
- "begin": "\u003c",
2235
- "end": "\u003e",
2236
- "patterns": [
2237
- {
2238
- "include": "#nested_ltgt"
2239
- }
2240
- ],
2241
- "captures": {
2242
- "1": {
2243
- "name": "punctuation.section.scope.perl"
2244
- }
2245
- }
2246
- },
2247
- "nested_ltgt_interpolated": {
2248
- "begin": "\u003c",
2249
- "end": "\u003e",
2250
- "patterns": [
2251
- {
2252
- "include": "#variable"
2253
- },
2254
- {
2255
- "include": "#nested_ltgt_interpolated"
2256
- }
2257
- ],
2258
- "captures": {
2259
- "1": {
2260
- "name": "punctuation.section.scope.perl"
2261
- }
2262
- }
2263
- },
2264
- "nested_parens": {
2265
- "begin": "\\(",
2266
- "end": "\\)",
2267
- "patterns": [
2268
- {
2269
- "include": "#escaped_char"
2270
- },
2271
- {
2272
- "include": "#nested_parens"
2273
- }
2274
- ],
2275
- "captures": {
2276
- "1": {
2277
- "name": "punctuation.section.scope.perl"
2278
- }
2279
- }
2280
- },
2281
- "nested_parens_interpolated": {
2282
- "begin": "\\(",
2283
- "end": "\\)",
2284
- "patterns": [
2285
- {
2286
- "name": "keyword.control.anchor.perl",
2287
- "match": "\\$(?=[^\\s\\w'\\{\\[\\(\\\u003c])"
2288
- },
2289
- {
2290
- "include": "#escaped_char"
2291
- },
2292
- {
2293
- "include": "#variable"
2294
- },
2295
- {
2296
- "include": "#nested_parens_interpolated"
2297
- }
2298
- ],
2299
- "captures": {
2300
- "1": {
2301
- "name": "punctuation.section.scope.perl"
2302
- }
2303
- }
2304
- },
2305
- "pod": {
2306
- "patterns": [
2307
- {
2308
- "name": "storage.type.class.pod.perl",
2309
- "match": "^=(pod|back|cut)\\b"
2310
- },
2311
- {
2312
- "name": "meta.embedded.pod.perl",
2313
- "contentName": "text.embedded.html.basic",
2314
- "begin": "^(=begin)\\s+(html)\\s*$",
2315
- "end": "^(=end)\\s+(html)|^(?==cut)",
2316
- "patterns": [
2317
- {
2318
- "include": "text.html.basic"
2319
- }
2320
- ],
2321
- "beginCaptures": {
2322
- "1": {
2323
- "name": "storage.type.class.pod.perl"
2324
- },
2325
- "2": {
2326
- "name": "variable.other.pod.perl"
2327
- }
2328
- },
2329
- "endCaptures": {
2330
- "1": {
2331
- "name": "storage.type.class.pod.perl"
2332
- },
2333
- "2": {
2334
- "name": "variable.other.pod.perl"
2335
- }
2336
- }
2337
- },
2338
- {
2339
- "match": "^(=(?:head[1-4]|item|over|encoding|begin|end|for))\\b\\s*(.*)",
2340
- "captures": {
2341
- "1": {
2342
- "name": "storage.type.class.pod.perl"
2343
- },
2344
- "2": {
2345
- "name": "variable.other.pod.perl",
2346
- "patterns": [
2347
- {
2348
- "include": "#pod-formatting"
2349
- }
2350
- ]
2351
- }
2352
- }
2353
- },
2354
- {
2355
- "include": "#pod-formatting"
2356
- }
2357
- ]
2358
- },
2359
- "pod-formatting": {
2360
- "patterns": [
2361
- {
2362
- "name": "entity.name.type.instance.pod.perl",
2363
- "match": "I(?:\u003c([^\u003c\u003e]+)\u003e|\u003c+(\\s+(?:(?\u003c!\\s)\u003e|[^\u003e])+\\s+)\u003e+)",
2364
- "captures": {
2365
- "1": {
2366
- "name": "markup.italic.pod.perl"
2367
- },
2368
- "2": {
2369
- "name": "markup.italic.pod.perl"
2370
- }
2371
- }
2372
- },
2373
- {
2374
- "name": "entity.name.type.instance.pod.perl",
2375
- "match": "B(?:\u003c([^\u003c\u003e]+)\u003e|\u003c+(\\s+(?:(?\u003c!\\s)\u003e|[^\u003e])+\\s+)\u003e+)",
2376
- "captures": {
2377
- "1": {
2378
- "name": "markup.bold.pod.perl"
2379
- },
2380
- "2": {
2381
- "name": "markup.bold.pod.perl"
2382
- }
2383
- }
2384
- },
2385
- {
2386
- "name": "entity.name.type.instance.pod.perl",
2387
- "match": "C(?:\u003c([^\u003c\u003e]+)\u003e|\u003c+(\\\\s+(?:(?\u003c!\\\\s)\u003e|[^\u003e])+\\\\s+)\u003e+)",
2388
- "captures": {
2389
- "1": {
2390
- "name": "markup.raw.pod.perl"
2391
- },
2392
- "2": {
2393
- "name": "markup.raw.pod.perl"
2394
- }
2395
- }
2396
- },
2397
- {
2398
- "name": "entity.name.type.instance.pod.perl",
2399
- "match": "L\u003c([^\u003e]+)\u003e",
2400
- "captures": {
2401
- "1": {
2402
- "name": "markup.underline.link.hyperlink.pod.perl"
2403
- }
2404
- }
2405
- },
2406
- {
2407
- "name": "entity.name.type.instance.pod.perl",
2408
- "match": "[EFSXZ]\u003c[^\u003e]*\u003e"
2409
- }
2410
- ]
2411
- },
2412
- "variable": {
2413
- "patterns": [
2414
- {
2415
- "name": "variable.other.regexp.match.perl",
2416
- "match": "(\\$)\u0026(?![A-Za-z0-9_])",
2417
- "captures": {
2418
- "1": {
2419
- "name": "punctuation.definition.variable.perl"
2420
- }
2421
- }
2422
- },
2423
- {
2424
- "name": "variable.other.regexp.pre-match.perl",
2425
- "match": "(\\$)`(?![A-Za-z0-9_])",
2426
- "captures": {
2427
- "1": {
2428
- "name": "punctuation.definition.variable.perl"
2429
- }
2430
- }
2431
- },
2432
- {
2433
- "name": "variable.other.regexp.post-match.perl",
2434
- "match": "(\\$)'(?![A-Za-z0-9_])",
2435
- "captures": {
2436
- "1": {
2437
- "name": "punctuation.definition.variable.perl"
2438
- }
2439
- }
2440
- },
2441
- {
2442
- "name": "variable.other.regexp.last-paren-match.perl",
2443
- "match": "(\\$)\\+(?![A-Za-z0-9_])",
2444
- "captures": {
2445
- "1": {
2446
- "name": "punctuation.definition.variable.perl"
2447
- }
2448
- }
2449
- },
2450
- {
2451
- "name": "variable.other.readwrite.list-separator.perl",
2452
- "match": "(\\$)\"(?![A-Za-z0-9_])",
2453
- "captures": {
2454
- "1": {
2455
- "name": "punctuation.definition.variable.perl"
2456
- }
2457
- }
2458
- },
2459
- {
2460
- "name": "variable.other.predefined.program-name.perl",
2461
- "match": "(\\$)0(?![A-Za-z0-9_])",
2462
- "captures": {
2463
- "1": {
2464
- "name": "punctuation.definition.variable.perl"
2465
- }
2466
- }
2467
- },
2468
- {
2469
- "name": "variable.other.predefined.perl",
2470
- "match": "(\\$)[_ab\\*\\.\\/\\|,\\\\;#%=\\-~^:?!\\$\u003c\u003e\\(\\)\\[\\]@](?![A-Za-z0-9_])",
2471
- "captures": {
2472
- "1": {
2473
- "name": "punctuation.definition.variable.perl"
2474
- }
2475
- }
2476
- },
2477
- {
2478
- "name": "variable.other.subpattern.perl",
2479
- "match": "(\\$)[0-9]+(?![A-Za-z0-9_])",
2480
- "captures": {
2481
- "1": {
2482
- "name": "punctuation.definition.variable.perl"
2483
- }
2484
- }
2485
- },
2486
- {
2487
- "name": "variable.other.readwrite.global.perl",
2488
- "match": "([\\$\\@\\%](#)?)([a-zA-Zx7f-xff\\$]|::)([a-zA-Z0-9_x7f-xff\\$]|::)*\\b",
2489
- "captures": {
2490
- "1": {
2491
- "name": "punctuation.definition.variable.perl"
2492
- }
2493
- }
2494
- },
2495
- {
2496
- "name": "variable.other.readwrite.global.perl",
2497
- "match": "(\\$\\{)(?:[a-zA-Zx7f-xff\\$]|::)(?:[a-zA-Z0-9_x7f-xff\\$]|::)*(\\})",
2498
- "captures": {
2499
- "1": {
2500
- "name": "punctuation.definition.variable.perl"
2501
- },
2502
- "2": {
2503
- "name": "punctuation.definition.variable.perl"
2504
- }
2505
- }
2506
- },
2507
- {
2508
- "name": "variable.other.readwrite.global.special.perl",
2509
- "match": "([\\$\\@\\%](#)?)[0-9_]\\b",
2510
- "captures": {
2511
- "1": {
2512
- "name": "punctuation.definition.variable.perl"
2513
- }
2514
- }
2515
- }
2516
- ]
2517
- }
2518
- }
2519
- }
1
+ {"name":"Perl","scopeName":"source.perl","patterns":[{"include":"#line_comment"},{"name":"comment.block.documentation.perl","begin":"^(?==[a-zA-Z]+)","end":"^(=cut\\b.*$)","patterns":[{"include":"#pod"}],"endCaptures":{"1":{"patterns":[{"include":"#pod"}]}}},{"include":"#variable"},{"begin":"\\b(?=qr\\s*[^\\s\\w])","end":"((([egimosxradlupcn]*)))(?=(\\s+\\S|\\s*[;\\,\\#\\{\\}\\)]|\\s*$))","patterns":[{"name":"string.regexp.compile.nested_braces.perl","begin":"(qr)\\s*\\{","end":"\\}","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"#nested_braces_interpolated"}],"captures":{"0":{"name":"punctuation.definition.string.perl"},"1":{"name":"support.function.perl"}}},{"name":"string.regexp.compile.nested_brackets.perl","begin":"(qr)\\s*\\[","end":"\\]","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"#nested_brackets_interpolated"}],"captures":{"0":{"name":"punctuation.definition.string.perl"},"1":{"name":"support.function.perl"}}},{"name":"string.regexp.compile.nested_ltgt.perl","begin":"(qr)\\s*\u003c","end":"\u003e","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"#nested_ltgt_interpolated"}],"captures":{"0":{"name":"punctuation.definition.string.perl"},"1":{"name":"support.function.perl"}}},{"name":"string.regexp.compile.nested_parens.perl","begin":"(qr)\\s*\\(","end":"\\)","patterns":[{"match":"\\$(?=[^\\s\\w\\\\'\\{\\[\\(\\\u003c])"},{"include":"#escaped_char"},{"include":"#variable"},{"include":"#nested_parens_interpolated"}],"captures":{"0":{"name":"punctuation.definition.string.perl"},"1":{"name":"support.function.perl"}}},{"name":"string.regexp.compile.single-quote.perl","begin":"(qr)\\s*'","end":"'","patterns":[{"include":"#escaped_char"}],"captures":{"0":{"name":"punctuation.definition.string.perl"},"1":{"name":"support.function.perl"}}},{"name":"string.regexp.compile.simple-delimiter.perl","begin":"(qr)\\s*([^\\s\\w'\\{\\[\\(\\\u003c])","end":"\\2","patterns":[{"name":"keyword.control.anchor.perl","match":"\\$(?=[^\\s\\w'\\{\\[\\(\\\u003c])"},{"include":"#escaped_char"},{"include":"#variable"},{"include":"#nested_parens_interpolated"}],"captures":{"0":{"name":"punctuation.definition.string.perl"},"1":{"name":"support.function.perl"}}}],"endCaptures":{"1":{"name":"string.regexp.compile.perl"},"2":{"name":"punctuation.definition.string.perl"},"3":{"name":"keyword.control.regexp-option.perl"}},"applyEndPatternLast":true},{"begin":"(?\u003c!\\{|\\+|\\-)\\b(?=m\\s*[^\\sa-zA-Z0-9])","end":"((([egimosxradlupcn]*)))(?=(\\s+\\S|\\s*[;\\,\\#\\{\\}\\)]|\\s*$))","patterns":[{"name":"string.regexp.find-m.nested_braces.perl","begin":"(m)\\s*\\{","end":"\\}","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"#nested_braces_interpolated"}],"captures":{"0":{"name":"punctuation.definition.string.perl"},"1":{"name":"support.function.perl"}}},{"name":"string.regexp.find-m.nested_brackets.perl","begin":"(m)\\s*\\[","end":"\\]","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"#nested_brackets_interpolated"}],"captures":{"0":{"name":"punctuation.definition.string.perl"},"1":{"name":"support.function.perl"}}},{"name":"string.regexp.find-m.nested_ltgt.perl","begin":"(m)\\s*\u003c","end":"\u003e","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"#nested_ltgt_interpolated"}],"captures":{"0":{"name":"punctuation.definition.string.perl"},"1":{"name":"support.function.perl"}}},{"name":"string.regexp.find-m.nested_parens.perl","begin":"(m)\\s*\\(","end":"\\)","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"#nested_parens_interpolated"}],"captures":{"0":{"name":"punctuation.definition.string.perl"},"1":{"name":"support.function.perl"}}},{"name":"string.regexp.find-m.single-quote.perl","begin":"(m)\\s*'","end":"'","patterns":[{"include":"#escaped_char"}],"captures":{"0":{"name":"punctuation.definition.string.perl"},"1":{"name":"support.function.perl"}}},{"name":"string.regexp.find-m.simple-delimiter.perl","begin":"\\G(?\u003c!\\{|\\+|\\-)(m)(?!_)\\s*([^\\sa-zA-Z0-9'\\{\\[\\(\\\u003c])","end":"\\2","patterns":[{"name":"keyword.control.anchor.perl","match":"\\$(?=[^\\sa-zA-Z0-9'\\{\\[\\(\\\u003c])"},{"include":"#escaped_char"},{"include":"#variable"},{"name":"constant.other.character-class.set.perl","begin":"\\[","end":"\\]","patterns":[{"name":"keyword.control.anchor.perl","match":"\\$(?=[^\\s\\w'\\{\\[\\(\\\u003c])"},{"include":"#escaped_char"}],"beginCaptures":{"1":{"name":"punctuation.definition.character-class.begin.perl"}},"endCaptures":{"1":{"name":"punctuation.definition.character-class.end.perl"}}},{"include":"#nested_parens_interpolated"}],"captures":{"0":{"name":"punctuation.definition.string.perl"},"1":{"name":"support.function.perl"}}}],"endCaptures":{"1":{"name":"string.regexp.find-m.perl"},"2":{"name":"punctuation.definition.string.perl"},"3":{"name":"keyword.control.regexp-option.perl"}},"applyEndPatternLast":true},{"begin":"\\b(?=(?\u003c!\\\u0026)(s)(\\s+\\S|\\s*[;\\,\\{\\}\\(\\)\\[\u003c]|$))","end":"((([egimosxradlupcn]*)))(?=(\\s+\\S|\\s*[;\\,\\{\\}\\)\\]\u003e]|\\s*$))","patterns":[{"name":"string.regexp.nested_braces.perl","begin":"(s)\\s*\\{","end":"\\}","patterns":[{"include":"#escaped_char"},{"include":"#nested_braces"}],"captures":{"0":{"name":"punctuation.definition.string.perl"},"1":{"name":"support.function.perl"}}},{"name":"string.regexp.nested_brackets.perl","begin":"(s)\\s*\\[","end":"\\]","patterns":[{"include":"#escaped_char"},{"include":"#nested_brackets"}],"captures":{"0":{"name":"punctuation.definition.string.perl"},"1":{"name":"support.function.perl"}}},{"name":"string.regexp.nested_ltgt.perl","begin":"(s)\\s*\u003c","end":"\u003e","patterns":[{"include":"#escaped_char"},{"include":"#nested_ltgt"}],"captures":{"0":{"name":"punctuation.definition.string.perl"},"1":{"name":"support.function.perl"}}},{"name":"string.regexp.nested_parens.perl","begin":"(s)\\s*\\(","end":"\\)","patterns":[{"include":"#escaped_char"},{"include":"#nested_parens"}],"captures":{"0":{"name":"punctuation.definition.string.perl"},"1":{"name":"support.function.perl"}}},{"name":"string.regexp.format.nested_braces.perl","begin":"\\{","end":"\\}","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"#nested_braces_interpolated"}],"captures":{"0":{"name":"punctuation.definition.string.perl"}}},{"name":"string.regexp.format.nested_brackets.perl","begin":"\\[","end":"\\]","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"#nested_brackets_interpolated"}],"captures":{"0":{"name":"punctuation.definition.string.perl"}}},{"name":"string.regexp.format.nested_ltgt.perl","begin":"\u003c","end":"\u003e","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"#nested_ltgt_interpolated"}],"captures":{"0":{"name":"punctuation.definition.string.perl"}}},{"name":"string.regexp.format.nested_parens.perl","begin":"\\(","end":"\\)","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"#nested_parens_interpolated"}],"captures":{"0":{"name":"punctuation.definition.string.perl"}}},{"name":"string.regexp.format.single_quote.perl","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.perl","match":"\\\\['\\\\]"}],"captures":{"0":{"name":"punctuation.definition.string.perl"}}},{"name":"string.regexp.format.simple_delimiter.perl","begin":"([^\\s\\w\\[({\u003c;])","end":"\\1","patterns":[{"include":"#escaped_char"},{"include":"#variable"}],"captures":{"0":{"name":"punctuation.definition.string.perl"}}},{"match":"\\s+"}],"endCaptures":{"1":{"name":"string.regexp.replace.perl"},"2":{"name":"punctuation.definition.string.perl"},"3":{"name":"keyword.control.regexp-option.perl"}},"applyEndPatternLast":true},{"begin":"\\b(?=s([^\\sa-zA-Z0-9\\[({\u003c]).*\\1([egimosxradlupcn]*)([\\}\\)\\;\\,]|\\s+))","end":"((([egimosxradlupcn]*)))(?=([\\}\\)\\;\\,]|\\s+|\\s*$))","patterns":[{"name":"string.regexp.replaceXXX.simple_delimiter.perl","begin":"(s\\s*)([^\\sa-zA-Z0-9\\[({\u003c])","end":"(?=\\2)","patterns":[{"include":"#escaped_char"}],"captures":{"0":{"name":"punctuation.definition.string.perl"},"1":{"name":"support.function.perl"}}},{"name":"string.regexp.replaceXXX.format.single_quote.perl","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.perl.perl","match":"\\\\['\\\\]"}],"captures":{"0":{"name":"punctuation.definition.string.perl"}}},{"name":"string.regexp.replaceXXX.format.simple_delimiter.perl","begin":"([^\\sa-zA-Z0-9\\[({\u003c])","end":"\\1","patterns":[{"include":"#escaped_char"},{"include":"#variable"}],"captures":{"0":{"name":"punctuation.definition.string.perl"}}}],"endCaptures":{"1":{"name":"string.regexp.replace.perl"},"2":{"name":"punctuation.definition.string.perl"},"3":{"name":"keyword.control.regexp-option.perl"}}},{"begin":"\\b(?=(?\u003c!\\\\)s\\s*([^\\s\\w\\[({\u003c\u003e]))","end":"((([egimosradlupc]*x[egimosradlupc]*)))\\b","patterns":[{"name":"string.regexp.replace.extended.simple_delimiter.perl","begin":"(s)\\s*(.)","end":"(?=\\2)","patterns":[{"include":"#escaped_char"}],"captures":{"0":{"name":"punctuation.definition.string.perl"},"1":{"name":"support.function.perl"}}},{"name":"string.regexp.replace.extended.simple_delimiter.perl","begin":"'","end":"'(?=[egimosradlupc]*x[egimosradlupc]*)\\b","patterns":[{"include":"#escaped_char"}],"captures":{"0":{"name":"punctuation.definition.string.perl"}}},{"name":"string.regexp.replace.extended.simple_delimiter.perl","begin":"(.)","end":"\\1(?=[egimosradlupc]*x[egimosradlupc]*)\\b","patterns":[{"include":"#escaped_char"},{"include":"#variable"}],"captures":{"0":{"name":"punctuation.definition.string.perl"}}}],"endCaptures":{"1":{"name":"string.regexp.replace.perl"},"2":{"name":"punctuation.definition.string.perl"},"3":{"name":"keyword.control.regexp-option.perl"}}},{"contentName":"string.regexp.find.perl","begin":"(?\u003c=\\(|\\{|~|\u0026|\\||if|unless|^)\\s*((\\/))","end":"((\\1([egimosxradlupcn]*)))(?=(\\s+\\S|\\s*[;\\,\\#\\{\\}\\)]|\\s*$))","patterns":[{"name":"keyword.control.anchor.perl","match":"\\$(?=\\/)"},{"include":"#escaped_char"},{"include":"#variable"}],"beginCaptures":{"1":{"name":"string.regexp.find.perl"},"2":{"name":"punctuation.definition.string.perl"}},"endCaptures":{"1":{"name":"string.regexp.find.perl"},"2":{"name":"punctuation.definition.string.perl"},"3":{"name":"keyword.control.regexp-option.perl"}}},{"match":"\\b(\\w+)\\s*(?==\u003e)","captures":{"1":{"name":"constant.other.key.perl"}}},{"name":"constant.other.bareword.perl","match":"(?\u003c={)\\s*\\w+\\s*(?=})"},{"name":"meta.class.perl","match":"^\\s*(package)\\s+([^\\s;]+)","captures":{"1":{"name":"keyword.control.perl"},"2":{"name":"entity.name.type.class.perl"}}},{"name":"meta.function.perl","match":"\\b(sub)(?:\\s+([-a-zA-Z0-9_]+))?\\s*(?:\\([\\$\\@\\*;]*\\))?[^\\w\\{]","captures":{"1":{"name":"storage.type.sub.perl"},"2":{"name":"entity.name.function.perl"},"3":{"name":"storage.type.method.perl"}}},{"name":"meta.function.perl","match":"^\\s*(BEGIN|UNITCHECK|CHECK|INIT|END|DESTROY)\\b","captures":{"1":{"name":"entity.name.function.perl"},"2":{"name":"punctuation.definition.parameters.perl"},"3":{"name":"variable.parameter.function.perl"}}},{"name":"meta.leading-tabs","begin":"^(?=(\\t| {4}))","end":"(?=[^\\t\\s])","patterns":[{"match":"(\\t| {4})(\\t| {4})?","captures":{"1":{"name":"meta.odd-tab"},"2":{"name":"meta.even-tab"}}}]},{"name":"string.regexp.replace.perl","match":"\\b(tr|y)\\s*([^A-Za-z0-9\\s])(.*?)(?\u003c!\\\\)(\\\\{2})*(\\2)(.*?)(?\u003c!\\\\)(\\\\{2})*(\\2)","captures":{"1":{"name":"support.function.perl"},"2":{"name":"punctuation.definition.string.perl"},"5":{"name":"punctuation.definition.string.perl"},"8":{"name":"punctuation.definition.string.perl"}}},{"name":"constant.language.perl","match":"\\b(__FILE__|__LINE__|__PACKAGE__|__SUB__)\\b"},{"contentName":"comment.block.documentation.perl","begin":"\\b(__DATA__|__END__)\\n?","end":"\\z","patterns":[{"include":"#pod"}],"beginCaptures":{"1":{"name":"constant.language.perl"}}},{"name":"keyword.control.perl","match":"(?\u003c!-\u003e)\\b(continue|default|die|do|else|elsif|exit|for|foreach|given|goto|if|last|next|redo|return|select|unless|until|wait|when|while|switch|case|require|use|eval)\\b"},{"name":"storage.modifier.perl","match":"\\b(my|our|local)\\b"},{"name":"keyword.operator.filetest.perl","match":"(?\u003c!\\w)\\-[rwxoRWXOezsfdlpSbctugkTBMAC]\\b"},{"name":"keyword.operator.logical.perl","match":"\\b(and|or|xor|as|not)\\b"},{"name":"keyword.operator.comparison.perl","match":"(\u003c=\u003e|=\u003e|-\u003e)"},{"include":"#heredoc"},{"name":"string.quoted.other.qq.perl","begin":"\\bqq\\s*([^\\(\\{\\[\\\u003c\\w\\s])","end":"\\1","patterns":[{"include":"#escaped_char"},{"include":"#variable"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.perl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.perl"}}},{"name":"string.interpolated.qx.perl","begin":"\\bqx\\s*([^'\\(\\{\\[\\\u003c\\w\\s])","end":"\\1","patterns":[{"include":"#escaped_char"},{"include":"#variable"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.perl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.perl"}}},{"name":"string.interpolated.qx.single-quote.perl","begin":"\\bqx\\s*'","end":"'","patterns":[{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.perl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.perl"}}},{"name":"string.quoted.double.perl","begin":"\"","end":"\"","patterns":[{"include":"#escaped_char"},{"include":"#variable"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.perl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.perl"}}},{"name":"string.quoted.other.q.perl","begin":"(?\u003c!-\u003e)\\bqw?\\s*([^\\(\\{\\[\\\u003c\\w\\s])","end":"\\1","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.perl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.perl"}}},{"name":"string.quoted.single.perl","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.perl","match":"\\\\['\\\\]"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.perl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.perl"}}},{"name":"string.interpolated.perl","begin":"`","end":"`","patterns":[{"include":"#escaped_char"},{"include":"#variable"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.perl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.perl"}}},{"name":"string.quoted.other.qq-paren.perl","begin":"(?\u003c!-\u003e)\\bqq\\s*\\(","end":"\\)","patterns":[{"include":"#escaped_char"},{"include":"#nested_parens_interpolated"},{"include":"#variable"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.perl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.perl"}}},{"name":"string.quoted.other.qq-brace.perl","begin":"\\bqq\\s*\\{","end":"\\}","patterns":[{"include":"#escaped_char"},{"include":"#nested_braces_interpolated"},{"include":"#variable"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.perl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.perl"}}},{"name":"string.quoted.other.qq-bracket.perl","begin":"\\bqq\\s*\\[","end":"\\]","patterns":[{"include":"#escaped_char"},{"include":"#nested_brackets_interpolated"},{"include":"#variable"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.perl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.perl"}}},{"name":"string.quoted.other.qq-ltgt.perl","begin":"\\bqq\\s*\\\u003c","end":"\\\u003e","patterns":[{"include":"#escaped_char"},{"include":"#nested_ltgt_interpolated"},{"include":"#variable"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.perl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.perl"}}},{"name":"string.interpolated.qx-paren.perl","begin":"(?\u003c!-\u003e)\\bqx\\s*\\(","end":"\\)","patterns":[{"include":"#escaped_char"},{"include":"#nested_parens_interpolated"},{"include":"#variable"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.perl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.perl"}}},{"name":"string.interpolated.qx-brace.perl","begin":"\\bqx\\s*\\{","end":"\\}","patterns":[{"include":"#escaped_char"},{"include":"#nested_braces_interpolated"},{"include":"#variable"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.perl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.perl"}}},{"name":"string.interpolated.qx-bracket.perl","begin":"\\bqx\\s*\\[","end":"\\]","patterns":[{"include":"#escaped_char"},{"include":"#nested_brackets_interpolated"},{"include":"#variable"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.perl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.perl"}}},{"name":"string.interpolated.qx-ltgt.perl","begin":"\\bqx\\s*\\\u003c","end":"\\\u003e","patterns":[{"include":"#escaped_char"},{"include":"#nested_ltgt_interpolated"},{"include":"#variable"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.perl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.perl"}}},{"name":"string.quoted.other.q-paren.perl","begin":"(?\u003c!-\u003e)\\bqw?\\s*\\(","end":"\\)","patterns":[{"include":"#nested_parens"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.perl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.perl"}}},{"name":"string.quoted.other.q-brace.perl","begin":"\\bqw?\\s*\\{","end":"\\}","patterns":[{"include":"#nested_braces"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.perl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.perl"}}},{"name":"string.quoted.other.q-bracket.perl","begin":"\\bqw?\\s*\\[","end":"\\]","patterns":[{"include":"#nested_brackets"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.perl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.perl"}}},{"name":"string.quoted.other.q-ltgt.perl","begin":"\\bqw?\\s*\\\u003c","end":"\\\u003e","patterns":[{"include":"#nested_ltgt"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.perl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.perl"}}},{"name":"string.unquoted.program-block.perl","begin":"^__\\w+__","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.perl"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.perl"}}},{"name":"meta.format.perl","begin":"\\b(format)\\s+(\\w+)\\s*=","end":"^\\.\\s*$","patterns":[{"include":"#line_comment"},{"include":"#variable"}],"beginCaptures":{"1":{"name":"support.function.perl"},"2":{"name":"entity.name.function.format.perl"}}},{"match":"\\b(x)\\s*(\\d+)\\b","captures":{"1":{"name":"support.function.perl"},"2":{"name":"entity.name.function.perl"}}},{"name":"support.function.perl","match":"\\b(ARGV|DATA|ENV|SIG|STDERR|STDIN|STDOUT|atan2|bind|binmode|bless|caller|chdir|chmod|chomp|chop|chown|chr|chroot|close|closedir|cmp|connect|cos|crypt|dbmclose|dbmopen|defined|delete|dump|each|endgrent|endhostent|endnetent|endprotoent|endpwent|endservent|eof|eq|eval|exec|exists|exp|fcntl|fileno|flock|fork|formline|ge|getc|getgrent|getgrgid|getgrnam|gethostbyaddr|gethostbyname|gethostent|getlogin|getnetbyaddr|getnetbyname|getnetent|getpeername|getpgrp|getppid|getpriority|getprotobyname|getprotobynumber|getprotoent|getpwent|getpwnam|getpwuid|getservbyname|getservbyport|getservent|getsockname|getsockopt|glob|gmtime|grep|gt|hex|import|index|int|ioctl|join|keys|kill|lc|lcfirst|le|length|link|listen|local|localtime|log|lstat|lt|m|map|mkdir|msgctl|msgget|msgrcv|msgsnd|ne|no|oct|open|opendir|ord|pack|pipe|pop|pos|print|printf|push|quotemeta|rand|read|readdir|readlink|recv|ref|rename|reset|reverse|rewinddir|rindex|rmdir|s|say|scalar|seek|seekdir|semctl|semget|semop|send|setgrent|sethostent|setnetent|setpgrp|setpriority|setprotoent|setpwent|setservent|setsockopt|shift|shmctl|shmget|shmread|shmwrite|shutdown|sin|sleep|socket|socketpair|sort|splice|split|sprintf|sqrt|srand|stat|study|substr|symlink|syscall|sysopen|sysread|system|syswrite|tell|telldir|tie|tied|time|times|tr|truncate|uc|ucfirst|umask|undef|unlink|unpack|unshift|untie|utime|values|vec|waitpid|wantarray|warn|write|y)\\b"},{"match":"(\\{)(\\})","captures":{"1":{"name":"punctuation.section.scope.begin.perl"},"2":{"name":"punctuation.section.scope.end.perl"}}},{"match":"(\\()(\\))","captures":{"1":{"name":"punctuation.section.scope.begin.perl"},"2":{"name":"punctuation.section.scope.end.perl"}}}],"repository":{"escaped_char":{"patterns":[{"name":"constant.character.escape.perl","match":"\\\\\\d+"},{"name":"constant.character.escape.perl","match":"\\\\c[^\\s\\\\]"},{"name":"constant.character.escape.perl","match":"\\\\g(?:\\{(?:\\w*|-\\d+)\\}|\\d+)"},{"name":"constant.character.escape.perl","match":"\\\\k(?:\\{\\w*\\}|\u003c\\w*\u003e|'\\w*')"},{"name":"constant.character.escape.perl","match":"\\\\N\\{[^\\}]*\\}"},{"name":"constant.character.escape.perl","match":"\\\\o\\{\\d*\\}"},{"name":"constant.character.escape.perl","match":"\\\\(?:p|P)(?:\\{\\w*\\}|P)"},{"name":"constant.character.escape.perl","match":"\\\\x(?:[0-9a-zA-Z]{2}|\\{\\w*\\})?"},{"name":"constant.character.escape.perl","match":"\\\\."}]},"heredoc":{"patterns":[{"name":"meta.embedded.block.html","contentName":"string.unquoted.heredoc.raw.perl","begin":"((((\u003c\u003c(~)?) *')(HTML)(')))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"name":"text.html.basic","begin":"^","end":"\\n","patterns":[{"include":"text.html.basic"}]}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.raw.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.raw.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"name":"meta.embedded.block.xml","contentName":"string.unquoted.heredoc.raw.perl","begin":"((((\u003c\u003c(~)?) *')(XML)(')))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"name":"text.xml","begin":"^","end":"\\n","patterns":[{"include":"text.xml"}]}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.raw.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.raw.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"name":"meta.embedded.block.css","contentName":"string.unquoted.heredoc.raw.perl","begin":"((((\u003c\u003c(~)?) *')(CSS)(')))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"name":"source.css","begin":"^","end":"\\n","patterns":[{"include":"source.css"}]}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.raw.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.raw.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"name":"meta.embedded.block.js","contentName":"string.unquoted.heredoc.raw.perl","begin":"((((\u003c\u003c(~)?) *')(JAVASCRIPT)(')))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"name":"source.js","begin":"^","end":"\\n","patterns":[{"include":"source.js"}]}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.raw.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.raw.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"name":"meta.embedded.block.sql","contentName":"string.unquoted.heredoc.raw.perl","begin":"((((\u003c\u003c(~)?) *')(SQL)(')))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"name":"source.sql","begin":"^","end":"\\n","patterns":[{"include":"source.sql"}]}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.raw.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.raw.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"name":"meta.embedded.block.postscript","contentName":"string.unquoted.heredoc.raw.perl","begin":"((((\u003c\u003c(~)?) *')(POSTSCRIPT)(')))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"name":"source.postscript","begin":"^","end":"\\n","patterns":[{"include":"source.postscript"}]}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.raw.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.raw.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"contentName":"string.unquoted.heredoc.raw.perl","begin":"((((\u003c\u003c(~)?) *')([^']*)(')))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","beginCaptures":{"1":{"name":"string.unquoted.heredoc.raw.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.raw.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"contentName":"string.unquoted.heredoc.raw.perl","begin":"((((\u003c\u003c(~)?) *\\\\)((?![=\\d\\$\\( ])[^;,'\"`\\s\\)]*)()))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","beginCaptures":{"1":{"name":"string.unquoted.heredoc.raw.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.raw.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"name":"meta.embedded.block.html","contentName":"string.unquoted.heredoc.interpolated.perl","begin":"((((\u003c\u003c(~)?) *\")(HTML)(\")))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"name":"text.html.basic","begin":"^","end":"\\n","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"text.html.basic"}]}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.interpolated.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.interpolated.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"name":"meta.embedded.block.xml","contentName":"string.unquoted.heredoc.interpolated.perl","begin":"((((\u003c\u003c(~)?) *\")(XML)(\")))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"name":"text.xml","begin":"^","end":"\\n","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"text.xml"}]}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.interpolated.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.interpolated.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"name":"meta.embedded.block.css","contentName":"string.unquoted.heredoc.interpolated.perl","begin":"((((\u003c\u003c(~)?) *\")(CSS)(\")))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"name":"source.css","begin":"^","end":"\\n","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"source.css"}]}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.interpolated.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.interpolated.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"name":"meta.embedded.block.js","contentName":"string.unquoted.heredoc.interpolated.perl","begin":"((((\u003c\u003c(~)?) *\")(JAVASCRIPT)(\")))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"name":"source.js","begin":"^","end":"\\n","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"source.js"}]}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.interpolated.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.interpolated.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"name":"meta.embedded.block.sql","contentName":"string.unquoted.heredoc.interpolated.perl","begin":"((((\u003c\u003c(~)?) *\")(SQL)(\")))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"name":"source.sql","begin":"^","end":"\\n","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"source.sql"}]}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.interpolated.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.interpolated.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"name":"meta.embedded.block.postscript","contentName":"string.unquoted.heredoc.interpolated.perl","begin":"((((\u003c\u003c(~)?) *\")(POSTSCRIPT)(\")))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"name":"source.postscript","begin":"^","end":"\\n","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"source.postscript"}]}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.interpolated.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.interpolated.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"contentName":"string.unquoted.heredoc.interpolated.perl","begin":"((((\u003c\u003c(~)?) *\")([^\"]*)(\")))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"include":"#escaped_char"},{"include":"#variable"}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.interpolated.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.interpolated.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"name":"meta.embedded.block.html","contentName":"string.unquoted.heredoc.interpolated.perl","begin":"((((\u003c\u003c(~)?) *)(HTML)()))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"name":"text.html.basic","begin":"^","end":"\\n","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"text.html.basic"}]}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.interpolated.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.interpolated.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"name":"meta.embedded.block.xml","contentName":"string.unquoted.heredoc.interpolated.perl","begin":"((((\u003c\u003c(~)?) *)(XML)()))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"name":"text.xml","begin":"^","end":"\\n","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"text.xml"}]}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.interpolated.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.interpolated.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"name":"meta.embedded.block.css","contentName":"string.unquoted.heredoc.interpolated.perl","begin":"((((\u003c\u003c(~)?) *)(CSS)()))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"name":"source.css","begin":"^","end":"\\n","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"source.css"}]}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.interpolated.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.interpolated.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"name":"meta.embedded.block.js","contentName":"string.unquoted.heredoc.interpolated.perl","begin":"((((\u003c\u003c(~)?) *)(JAVASCRIPT)()))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"name":"source.js","begin":"^","end":"\\n","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"source.js"}]}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.interpolated.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.interpolated.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"name":"meta.embedded.block.sql","contentName":"string.unquoted.heredoc.interpolated.perl","begin":"((((\u003c\u003c(~)?) *)(SQL)()))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"name":"source.sql","begin":"^","end":"\\n","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"source.sql"}]}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.interpolated.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.interpolated.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"name":"meta.embedded.block.postscript","contentName":"string.unquoted.heredoc.interpolated.perl","begin":"((((\u003c\u003c(~)?) *)(POSTSCRIPT)()))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"name":"source.postscript","begin":"^","end":"\\n","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"source.postscript"}]}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.interpolated.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.interpolated.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"contentName":"string.unquoted.heredoc.interpolated.perl","begin":"((((\u003c\u003c(~)?) *)((?![=\\d\\$\\( ])[^;,'\"`\\s\\)]*)()))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"include":"#escaped_char"},{"include":"#variable"}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.interpolated.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.interpolated.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}},{"contentName":"string.unquoted.heredoc.shell.perl","begin":"((((\u003c\u003c(~)?) *`)([^`]*)(`)))(.*)\\n?","end":"^((?!\\5)\\s+)?((\\6))$","patterns":[{"include":"#escaped_char"},{"include":"#variable"}],"beginCaptures":{"1":{"name":"string.unquoted.heredoc.interpolated.perl"},"2":{"name":"punctuation.definition.string.begin.perl"},"3":{"name":"punctuation.definition.delimiter.begin.perl"},"7":{"name":"punctuation.definition.delimiter.end.perl"},"8":{"patterns":[{"include":"$self"}]}},"endCaptures":{"2":{"name":"string.unquoted.heredoc.interpolated.perl"},"3":{"name":"punctuation.definition.string.end.perl"}}}]},"line_comment":{"patterns":[{"begin":"(^[ \\t]+)?(?=#)","end":"(?!\\G)","patterns":[{"name":"comment.line.number-sign.perl","begin":"#","end":"\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.perl"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.perl"}}}]},"nested_braces":{"begin":"\\{","end":"\\}","patterns":[{"include":"#escaped_char"},{"include":"#nested_braces"}],"captures":{"1":{"name":"punctuation.section.scope.perl"}}},"nested_braces_interpolated":{"begin":"\\{","end":"\\}","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"#nested_braces_interpolated"}],"captures":{"1":{"name":"punctuation.section.scope.perl"}}},"nested_brackets":{"begin":"\\[","end":"\\]","patterns":[{"include":"#escaped_char"},{"include":"#nested_brackets"}],"captures":{"1":{"name":"punctuation.section.scope.perl"}}},"nested_brackets_interpolated":{"begin":"\\[","end":"\\]","patterns":[{"include":"#escaped_char"},{"include":"#variable"},{"include":"#nested_brackets_interpolated"}],"captures":{"1":{"name":"punctuation.section.scope.perl"}}},"nested_ltgt":{"begin":"\u003c","end":"\u003e","patterns":[{"include":"#nested_ltgt"}],"captures":{"1":{"name":"punctuation.section.scope.perl"}}},"nested_ltgt_interpolated":{"begin":"\u003c","end":"\u003e","patterns":[{"include":"#variable"},{"include":"#nested_ltgt_interpolated"}],"captures":{"1":{"name":"punctuation.section.scope.perl"}}},"nested_parens":{"begin":"\\(","end":"\\)","patterns":[{"include":"#escaped_char"},{"include":"#nested_parens"}],"captures":{"1":{"name":"punctuation.section.scope.perl"}}},"nested_parens_interpolated":{"begin":"\\(","end":"\\)","patterns":[{"name":"keyword.control.anchor.perl","match":"\\$(?=[^\\s\\w'\\{\\[\\(\\\u003c])"},{"include":"#escaped_char"},{"include":"#variable"},{"include":"#nested_parens_interpolated"}],"captures":{"1":{"name":"punctuation.section.scope.perl"}}},"pod":{"patterns":[{"name":"storage.type.class.pod.perl","match":"^=(pod|back|cut)\\b"},{"name":"meta.embedded.pod.perl","contentName":"text.embedded.html.basic","begin":"^(=begin)\\s+(html)\\s*$","end":"^(=end)\\s+(html)|^(?==cut)","patterns":[{"include":"text.html.basic"}],"beginCaptures":{"1":{"name":"storage.type.class.pod.perl"},"2":{"name":"variable.other.pod.perl"}},"endCaptures":{"1":{"name":"storage.type.class.pod.perl"},"2":{"name":"variable.other.pod.perl"}}},{"match":"^(=(?:head[1-4]|item|over|encoding|begin|end|for))\\b\\s*(.*)","captures":{"1":{"name":"storage.type.class.pod.perl"},"2":{"name":"variable.other.pod.perl","patterns":[{"include":"#pod-formatting"}]}}},{"include":"#pod-formatting"}]},"pod-formatting":{"patterns":[{"name":"entity.name.type.instance.pod.perl","match":"I(?:\u003c([^\u003c\u003e]+)\u003e|\u003c+(\\s+(?:(?\u003c!\\s)\u003e|[^\u003e])+\\s+)\u003e+)","captures":{"1":{"name":"markup.italic.pod.perl"},"2":{"name":"markup.italic.pod.perl"}}},{"name":"entity.name.type.instance.pod.perl","match":"B(?:\u003c([^\u003c\u003e]+)\u003e|\u003c+(\\s+(?:(?\u003c!\\s)\u003e|[^\u003e])+\\s+)\u003e+)","captures":{"1":{"name":"markup.bold.pod.perl"},"2":{"name":"markup.bold.pod.perl"}}},{"name":"entity.name.type.instance.pod.perl","match":"C(?:\u003c([^\u003c\u003e]+)\u003e|\u003c+(\\\\s+(?:(?\u003c!\\\\s)\u003e|[^\u003e])+\\\\s+)\u003e+)","captures":{"1":{"name":"markup.raw.pod.perl"},"2":{"name":"markup.raw.pod.perl"}}},{"name":"entity.name.type.instance.pod.perl","match":"L\u003c([^\u003e]+)\u003e","captures":{"1":{"name":"markup.underline.link.hyperlink.pod.perl"}}},{"name":"entity.name.type.instance.pod.perl","match":"[EFSXZ]\u003c[^\u003e]*\u003e"}]},"variable":{"patterns":[{"name":"variable.other.regexp.match.perl","match":"(\\$)\u0026(?![A-Za-z0-9_])","captures":{"1":{"name":"punctuation.definition.variable.perl"}}},{"name":"variable.other.regexp.pre-match.perl","match":"(\\$)`(?![A-Za-z0-9_])","captures":{"1":{"name":"punctuation.definition.variable.perl"}}},{"name":"variable.other.regexp.post-match.perl","match":"(\\$)'(?![A-Za-z0-9_])","captures":{"1":{"name":"punctuation.definition.variable.perl"}}},{"name":"variable.other.regexp.last-paren-match.perl","match":"(\\$)\\+(?![A-Za-z0-9_])","captures":{"1":{"name":"punctuation.definition.variable.perl"}}},{"name":"variable.other.readwrite.list-separator.perl","match":"(\\$)\"(?![A-Za-z0-9_])","captures":{"1":{"name":"punctuation.definition.variable.perl"}}},{"name":"variable.other.predefined.program-name.perl","match":"(\\$)0(?![A-Za-z0-9_])","captures":{"1":{"name":"punctuation.definition.variable.perl"}}},{"name":"variable.other.predefined.perl","match":"(\\$)[_ab\\*\\.\\/\\|,\\\\;#%=\\-~^:?!\\$\u003c\u003e\\(\\)\\[\\]@](?![A-Za-z0-9_])","captures":{"1":{"name":"punctuation.definition.variable.perl"}}},{"name":"variable.other.subpattern.perl","match":"(\\$)[0-9]+(?![A-Za-z0-9_])","captures":{"1":{"name":"punctuation.definition.variable.perl"}}},{"name":"variable.other.readwrite.global.perl","match":"([\\$\\@\\%](#)?)([a-zA-Zx7f-xff\\$]|::)([a-zA-Z0-9_x7f-xff\\$]|::)*\\b","captures":{"1":{"name":"punctuation.definition.variable.perl"}}},{"name":"variable.other.readwrite.global.perl","match":"(\\$\\{)(?:[a-zA-Zx7f-xff\\$]|::)(?:[a-zA-Z0-9_x7f-xff\\$]|::)*(\\})","captures":{"1":{"name":"punctuation.definition.variable.perl"},"2":{"name":"punctuation.definition.variable.perl"}}},{"name":"variable.other.readwrite.global.special.perl","match":"([\\$\\@\\%](#)?)[0-9_]\\b","captures":{"1":{"name":"punctuation.definition.variable.perl"}}}]}}}