github-linguist 4.7.6 → 4.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/git-linguist +1 -1
- data/grammars/file.lasso.json +713 -0
- data/grammars/module.ceylon.json +54 -0
- data/grammars/objdump.x86asm.json +73 -0
- data/grammars/source.Kotlin.json +777 -0
- data/grammars/source.LS.json +104 -0
- data/grammars/source.MCPOST.json +68 -0
- data/grammars/source.MOD.json +70 -0
- data/grammars/source.abap.json +176 -0
- data/grammars/source.abl.json +138 -0
- data/grammars/source.actionscript.3.json +1571 -0
- data/grammars/source.acucobol.json +16 -0
- data/grammars/source.ada.json +140 -0
- data/grammars/source.agda.json +254 -0
- data/grammars/source.ahk.json +171 -0
- data/grammars/source.alloy.json +44 -0
- data/grammars/source.ampl.json +157 -0
- data/grammars/source.antlr.json +300 -0
- data/grammars/source.apache-config.json +352 -0
- data/grammars/source.apache-config.mod_perl.json +70 -0
- data/grammars/source.apl.json +442 -0
- data/grammars/source.applescript.json +1385 -0
- data/grammars/source.apt.json +25 -0
- data/grammars/source.asm.x86.json +182 -0
- data/grammars/source.asp.json +157 -0
- data/grammars/source.aspectj.json +966 -0
- data/grammars/source.ats.json +240 -0
- data/grammars/source.autoit.3.json +132 -0
- data/grammars/source.awk.json +388 -0
- data/grammars/source.befunge.json +38 -0
- data/grammars/source.bf.json +36 -0
- data/grammars/source.bison.json +59 -0
- data/grammars/source.blitzmax.json +912 -0
- data/grammars/source.boo.json +452 -0
- data/grammars/source.brightauthorproject.json +29 -0
- data/grammars/source.brightscript.json +158 -0
- data/grammars/source.bro.json +409 -0
- data/grammars/source.bsv.json +283 -0
- data/grammars/source.c++.json +364 -0
- data/grammars/source.c++.qt.json +37 -0
- data/grammars/source.c.ec.json +39 -0
- data/grammars/source.c.json +727 -0
- data/grammars/source.c.platform.json +154 -0
- data/grammars/source.cache.cmake.json +75 -0
- data/grammars/source.cake.json +16 -0
- data/grammars/source.camlp4.ocaml.json +63 -0
- data/grammars/source.capnp.json +93 -0
- data/grammars/source.ceylon.json +77 -0
- data/grammars/source.cfscript.cfc.json +170 -0
- data/grammars/source.cfscript.json +744 -0
- data/grammars/source.chapel.json +240 -0
- data/grammars/source.cirru.json +66 -0
- data/grammars/source.clarion.json +159 -0
- data/grammars/source.click.json +99 -0
- data/grammars/source.clips.json +80 -0
- data/grammars/source.clojure.json +414 -0
- data/grammars/source.cm.json +54 -0
- data/grammars/source.cmake.json +181 -0
- data/grammars/source.cobol.json +498 -0
- data/grammars/source.coffee.json +682 -0
- data/grammars/source.compiled-papyrus.json +11 -0
- data/grammars/source.cool.json +103 -0
- data/grammars/source.coq.json +62 -0
- data/grammars/source.crystal.json +2760 -0
- data/grammars/source.cs.json +566 -0
- data/grammars/source.css.json +630 -0
- data/grammars/source.css.less.json +614 -0
- data/grammars/source.css.mss.json +256 -0
- data/grammars/source.csx.json +16 -0
- data/grammars/source.cuda-c++.json +137 -0
- data/grammars/source.cython.json +2108 -0
- data/grammars/source.d.json +726 -0
- data/grammars/source.dart.json +763 -0
- data/grammars/source.desktop.json +90 -0
- data/grammars/source.diff.json +162 -0
- data/grammars/source.dockerfile.json +89 -0
- data/grammars/source.dosbatch.json +70 -0
- data/grammars/source.dot.json +126 -0
- data/grammars/source.dylan.json +217 -0
- data/grammars/source.eiffel.json +138 -0
- data/grammars/source.elixir.json +971 -0
- data/grammars/source.elm.json +356 -0
- data/grammars/source.erazor.json +126 -0
- data/grammars/source.erlang.json +1674 -0
- data/grammars/source.essl.json +50 -0
- data/grammars/source.factor.json +258 -0
- data/grammars/source.fan.json +188 -0
- data/grammars/source.fancy.json +270 -0
- data/grammars/source.fish.json +214 -0
- data/grammars/source.forth.json +101 -0
- data/grammars/source.fortran.json +499 -0
- data/grammars/source.fortran.modern.json +226 -0
- data/grammars/source.fsharp.fsi.json +14 -0
- data/grammars/source.fsharp.fsl.json +14 -0
- data/grammars/source.fsharp.fsx.json +18 -0
- data/grammars/source.fsharp.json +527 -0
- data/grammars/source.gap.json +167 -0
- data/grammars/source.gcode.json +25 -0
- data/grammars/source.gdscript.json +154 -0
- data/grammars/source.gfm.json +1392 -0
- data/grammars/source.glsl.json +74 -0
- data/grammars/source.gnuplot.json +276 -0
- data/grammars/source.go.json +552 -0
- data/grammars/source.golo.json +182 -0
- data/grammars/source.gosu.2.json +163 -0
- data/grammars/source.grace.json +679 -0
- data/grammars/source.groovy.gradle.json +73 -0
- data/grammars/source.groovy.json +1385 -0
- data/grammars/source.harbour.json +450 -0
- data/grammars/source.haskell.json +449 -0
- data/grammars/source.haxe.2.json +1278 -0
- data/grammars/source.hss.1.json +464 -0
- data/grammars/source.httpspec.json +287 -0
- data/grammars/source.hxml.json +26 -0
- data/grammars/source.hy.json +270 -0
- data/grammars/source.idl-dlm.json +112 -0
- data/grammars/source.idl.json +267 -0
- data/grammars/source.idris.json +537 -0
- data/grammars/source.inform7.json +187 -0
- data/grammars/source.ini.json +113 -0
- data/grammars/source.inno.json +69 -0
- data/grammars/source.io.json +164 -0
- data/grammars/source.ioke.json +272 -0
- data/grammars/source.isabelle.root.json +68 -0
- data/grammars/source.isabelle.theory.json +106 -0
- data/grammars/source.j.json +49 -0
- data/grammars/source.jasmin.json +299 -0
- data/grammars/source.java-properties.json +97 -0
- data/grammars/source.java.json +1026 -0
- data/grammars/source.jcl.json +49 -0
- data/grammars/source.jflex.json +490 -0
- data/grammars/source.jq.json +218 -0
- data/grammars/source.js.json +1646 -0
- data/grammars/source.js.jsx.json +3185 -0
- data/grammars/source.js.objj.json +424 -0
- data/grammars/source.js.regexp.json +150 -0
- data/grammars/source.js.regexp.replacement.json +30 -0
- data/grammars/source.json.json +149 -0
- data/grammars/source.julia.json +407 -0
- data/grammars/source.lean.json +145 -0
- data/grammars/source.lid.json +23 -0
- data/grammars/source.lilypond.json +623 -0
- data/grammars/source.lisp.json +111 -0
- data/grammars/source.litcoffee.json +667 -0
- data/grammars/source.livescript.json +616 -0
- data/grammars/source.llvm.json +71 -0
- data/grammars/source.logos.json +31 -0
- data/grammars/source.logtalk.json +315 -0
- data/grammars/source.loomscript.json +214 -0
- data/grammars/source.lsl.json +216 -0
- data/grammars/source.lua.json +191 -0
- data/grammars/source.makefile.json +474 -0
- data/grammars/source.makegen.json +13 -0
- data/grammars/source.man.json +53 -0
- data/grammars/source.mask.json +795 -0
- data/grammars/source.mata.json +133 -0
- data/grammars/source.mathematica.json +429 -0
- data/grammars/source.matlab.json +1109 -0
- data/grammars/source.maxscript.json +453 -0
- data/grammars/source.mercury.json +251 -0
- data/grammars/source.meta-info.json +156 -0
- data/grammars/source.ml.json +291 -0
- data/grammars/source.modelica.json +142 -0
- data/grammars/source.modula2.json +103 -0
- data/grammars/source.monkey.json +701 -0
- data/grammars/source.moonscript.json +149 -0
- data/grammars/source.mupad.json +149 -0
- data/grammars/source.nant-build.json +86 -0
- data/grammars/source.ncl.json +66 -0
- data/grammars/source.nemerle.json +137 -0
- data/grammars/source.nesc.json +27 -0
- data/grammars/source.netlinx.erb.json +47 -0
- data/grammars/source.netlinx.json +768 -0
- data/grammars/source.nginx.json +824 -0
- data/grammars/source.nim.json +1169 -0
- data/grammars/source.nim_filter.json +133 -0
- data/grammars/source.nimcfg.json +116 -0
- data/grammars/source.ninja.json +66 -0
- data/grammars/source.nit.json +238 -0
- data/grammars/source.nix.json +1200 -0
- data/grammars/source.nmml.json +87 -0
- data/grammars/source.nsis.json +158 -0
- data/grammars/source.objc++.json +19 -0
- data/grammars/source.objc.json +918 -0
- data/grammars/source.objc.platform.json +277 -0
- data/grammars/source.ocaml.json +1426 -0
- data/grammars/source.ocamllex.json +305 -0
- data/grammars/source.ocamlyacc.json +346 -0
- data/grammars/source.octave.json +451 -0
- data/grammars/source.ooc.json +692 -0
- data/grammars/source.opa.json +206 -0
- data/grammars/source.opal.json +415 -0
- data/grammars/source.opalsysdefs.json +70 -0
- data/grammars/source.opencobol.json +65 -0
- data/grammars/source.ox.json +97 -0
- data/grammars/source.oz.json +84 -0
- data/grammars/source.papyrus-assembly.json +266 -0
- data/grammars/source.papyrus.json +231 -0
- data/grammars/source.parrot.pir.json +117 -0
- data/grammars/source.pascal.json +150 -0
- data/grammars/source.perl.6.json +318 -0
- data/grammars/source.perl.json +2424 -0
- data/grammars/source.perl6fe.json +1755 -0
- data/grammars/source.php.zephir.json +362 -0
- data/grammars/source.pig_latin.json +172 -0
- data/grammars/source.pike.json +62 -0
- data/grammars/source.plsql.oracle.json +642 -0
- data/grammars/source.po.json +232 -0
- data/grammars/source.pogoscript.json +85 -0
- data/grammars/source.pony.json +255 -0
- data/grammars/source.postscript.json +231 -0
- data/grammars/source.pov-ray sdl.json +88 -0
- data/grammars/source.powershell.json +755 -0
- data/grammars/source.processing.json +885 -0
- data/grammars/source.prolog.eclipse.json +206 -0
- data/grammars/source.prolog.json +292 -0
- data/grammars/source.protobuf.json +395 -0
- data/grammars/source.pubspec.json +13 -0
- data/grammars/source.puppet.json +494 -0
- data/grammars/source.purescript.json +833 -0
- data/grammars/source.pyjade.json +1010 -0
- data/grammars/source.python.django.json +34 -0
- data/grammars/source.python.json +3435 -0
- data/grammars/source.python.salt.json +13 -0
- data/grammars/source.qmake.json +217 -0
- data/grammars/source.qml.json +195 -0
- data/grammars/source.r.json +203 -0
- data/grammars/source.racket.json +119 -0
- data/grammars/source.rebol.json +647 -0
- data/grammars/source.red.json +652 -0
- data/grammars/source.regexp.babel.json +190 -0
- data/grammars/source.regexp.perl6fe.json +220 -0
- data/grammars/source.regexp.python.json +434 -0
- data/grammars/source.regexp.spin.json +188 -0
- data/grammars/source.renpy.json +2181 -0
- data/grammars/source.ruby.json +1956 -0
- data/grammars/source.ruby.rspec.cucumber.steps.json +274 -0
- data/grammars/source.rust.json +212 -0
- data/grammars/source.sas.json +370 -0
- data/grammars/source.sas_log.json +26 -0
- data/grammars/source.sass.json +248 -0
- data/grammars/source.sbt.json +36 -0
- data/grammars/source.scad.json +152 -0
- data/grammars/source.scala.json +739 -0
- data/grammars/source.scaml.json +466 -0
- data/grammars/source.scheme.json +370 -0
- data/grammars/source.scilab.json +103 -0
- data/grammars/source.scss.json +1321 -0
- data/grammars/source.shell.json +1308 -0
- data/grammars/source.smali.json +1671 -0
- data/grammars/source.smalltalk.json +135 -0
- data/grammars/source.smt.json +173 -0
- data/grammars/source.sp.json +118 -0
- data/grammars/source.sparql.json +23 -0
- data/grammars/source.spin.json +936 -0
- data/grammars/source.sqf.json +112 -0
- data/grammars/source.sql.json +473 -0
- data/grammars/source.stan.json +312 -0
- data/grammars/source.stata.json +208 -0
- data/grammars/source.strings.json +53 -0
- data/grammars/source.stylus.json +1017 -0
- data/grammars/source.supercollider.json +100 -0
- data/grammars/source.swift.json +983 -0
- data/grammars/source.systemverilog.json +1050 -0
- data/grammars/source.tcl.json +277 -0
- data/grammars/source.tea.json +180 -0
- data/grammars/source.thrift.json +704 -0
- data/grammars/source.toml.json +327 -0
- data/grammars/source.ts.json +1188 -0
- data/grammars/source.tsx.json +1421 -0
- data/grammars/source.turtle.json +505 -0
- data/grammars/source.txl.json +62 -0
- data/grammars/source.ucfconstraints.json +72 -0
- data/grammars/source.ur.json +43 -0
- data/grammars/source.vala.json +814 -0
- data/grammars/source.varnish.vcl.json +343 -0
- data/grammars/source.vbnet.json +338 -0
- data/grammars/source.verilog.json +302 -0
- data/grammars/source.vhdl.json +1349 -0
- data/grammars/source.viml.json +224 -0
- data/grammars/source.webidl.json +814 -0
- data/grammars/source.x10.json +68 -0
- data/grammars/source.x86asm.json +47 -0
- data/grammars/source.xc.json +379 -0
- data/grammars/source.xq.json +241 -0
- data/grammars/source.xquery.json +193 -0
- data/grammars/source.xtend.json +733 -0
- data/grammars/source.yaml.json +341 -0
- data/grammars/source.yaml.salt.json +348 -0
- data/grammars/source.yang.json +81 -0
- data/grammars/text.bibtex.json +251 -0
- data/grammars/text.cfml.basic.json +736 -0
- data/grammars/text.dart-analysis-output.json +162 -0
- data/grammars/text.dart-doccomments.json +19 -0
- data/grammars/text.elixir.json +45 -0
- data/grammars/text.gherkin.feature.json +135 -0
- data/grammars/text.groff.json +113 -0
- data/grammars/text.haml.json +299 -0
- data/grammars/text.html.abl.json +75 -0
- data/grammars/text.html.asciidoc.json +492 -0
- data/grammars/text.html.asdoc.json +541 -0
- data/grammars/text.html.asp.json +58 -0
- data/grammars/text.html.basic.json +552 -0
- data/grammars/text.html.cfm.json +811 -0
- data/grammars/text.html.creole.json +329 -0
- data/grammars/text.html.django.json +69 -0
- data/grammars/text.html.elixir.json +18 -0
- data/grammars/text.html.erb.json +157 -0
- data/grammars/text.html.erlang.yaws.json +72 -0
- data/grammars/text.html.factor.json +25 -0
- data/grammars/text.html.ftl.json +85 -0
- data/grammars/text.html.handlebars.json +838 -0
- data/grammars/text.html.jsp.json +1203 -0
- data/grammars/text.html.liquid.json +35 -0
- data/grammars/text.html.mako.json +729 -0
- data/grammars/text.html.markdown.source.gfm.apib.json +1297 -0
- data/grammars/text.html.markdown.source.gfm.mson.json +1165 -0
- data/grammars/text.html.mediawiki.json +972 -0
- data/grammars/text.html.php.json +2615 -0
- data/grammars/text.html.slash.json +313 -0
- data/grammars/text.html.smarty.json +216 -0
- data/grammars/text.html.ssp.json +49 -0
- data/grammars/text.html.tcl.json +44 -0
- data/grammars/text.html.twig.json +1353 -0
- data/grammars/text.html.vue.json +642 -0
- data/grammars/text.idl-idldoc.json +14 -0
- data/grammars/text.jade.json +1024 -0
- data/grammars/text.junit-test-report.json +92 -0
- data/grammars/text.log.latex.json +86 -0
- data/grammars/text.python.console.json +25 -0
- data/grammars/text.python.traceback.json +46 -0
- data/grammars/text.rdoc.json +48 -0
- data/grammars/text.restructuredtext.json +561 -0
- data/grammars/text.robot.json +73 -0
- data/grammars/text.shell-session.json +32 -0
- data/grammars/text.slim.json +527 -0
- data/grammars/text.tex.json +271 -0
- data/grammars/text.tex.latex.beamer.json +63 -0
- data/grammars/text.tex.latex.haskell.json +56 -0
- data/grammars/text.tex.latex.json +1013 -0
- data/grammars/text.tex.latex.memoir.json +136 -0
- data/grammars/text.tex.latex.rd.json +117 -0
- data/grammars/text.xml.ant.json +202 -0
- data/grammars/text.xml.flex-config.json +2634 -0
- data/grammars/text.xml.genshi.json +34 -0
- data/grammars/text.xml.json +364 -0
- data/grammars/text.xml.pom.json +774 -0
- data/grammars/text.xml.xsl.json +94 -0
- data/grammars/text.zone_file.json +72 -0
- data/lib/linguist.rb +79 -0
- data/lib/linguist/blob_helper.rb +2 -2
- data/lib/linguist/grammars.rb +10 -0
- data/lib/linguist/heuristics.rb +17 -1
- data/lib/linguist/language.rb +2 -36
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +50 -2
- data/lib/linguist/samples.json +2580 -116
- data/lib/linguist/vendor.yml +11 -1
- data/lib/linguist/version.rb +1 -1
- metadata +365 -2
@@ -0,0 +1,1755 @@
|
|
1
|
+
{
|
2
|
+
"scopeName": "source.perl6fe",
|
3
|
+
"name": "Perl 6 FE",
|
4
|
+
"fileTypes": [
|
5
|
+
"p6",
|
6
|
+
"pl6",
|
7
|
+
"pm6",
|
8
|
+
"t",
|
9
|
+
"t6",
|
10
|
+
"pod6",
|
11
|
+
"nqp"
|
12
|
+
],
|
13
|
+
"patterns": [
|
14
|
+
{
|
15
|
+
"begin": "^(=)(finish)",
|
16
|
+
"beginCaptures": {
|
17
|
+
"1": {
|
18
|
+
"name": "storage.modifier.block.finish.perl6fe"
|
19
|
+
},
|
20
|
+
"2": {
|
21
|
+
"name": "keyword.operator.block.finish.perl6fe"
|
22
|
+
}
|
23
|
+
},
|
24
|
+
"contentName": "comment.block.finish.perl6fe",
|
25
|
+
"patterns": [
|
26
|
+
{
|
27
|
+
"include": "#comment-block-syntax"
|
28
|
+
}
|
29
|
+
]
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"include": "#comment-block-delimited"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"begin": "^(=)(?:(para)|(for)\\s+(\\w+))",
|
36
|
+
"beginCaptures": {
|
37
|
+
"1": {
|
38
|
+
"name": "storage.modifier.block.paragraph.perl6fe"
|
39
|
+
},
|
40
|
+
"2": {
|
41
|
+
"name": "keyword.operator.block.paragraph.perl6fe"
|
42
|
+
},
|
43
|
+
"3": {
|
44
|
+
"name": "entity.other.attribute-name.paragraph.perl6fe"
|
45
|
+
}
|
46
|
+
},
|
47
|
+
"end": "^\\s*$",
|
48
|
+
"contentName": "comment.block.paragraph.perl6fe",
|
49
|
+
"patterns": [
|
50
|
+
{
|
51
|
+
"include": "#comment-block-syntax"
|
52
|
+
}
|
53
|
+
]
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"include": "#comment-block-abbreviated"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"match": "^\\s*(#)([\\|\\=])(.*)\\n",
|
60
|
+
"captures": {
|
61
|
+
"1": {
|
62
|
+
"name": "comment.punctuation.pound.perl6fe"
|
63
|
+
},
|
64
|
+
"2": {
|
65
|
+
"name": "meta.declarator.perl6fe"
|
66
|
+
},
|
67
|
+
"3": {
|
68
|
+
"name": "comment.inline.declarator.perl6fe"
|
69
|
+
}
|
70
|
+
},
|
71
|
+
"name": "meta.documentation.block.declarator.perl6fe"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"begin": "#`\\(",
|
75
|
+
"end": "\\)",
|
76
|
+
"name": "comment.multiline.hash-tick.parens.perl6fe",
|
77
|
+
"patterns": [
|
78
|
+
{
|
79
|
+
"begin": "\\(",
|
80
|
+
"end": "\\)",
|
81
|
+
"name": "comment.internal.parens.perl6fe"
|
82
|
+
}
|
83
|
+
]
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"begin": "#`\\[",
|
87
|
+
"end": "\\]",
|
88
|
+
"name": "comment.multiline.hash-tick.brackets.perl6fe",
|
89
|
+
"patterns": [
|
90
|
+
{
|
91
|
+
"begin": "\\[",
|
92
|
+
"end": "\\]",
|
93
|
+
"name": "comment.internal.brackets.perl6fe"
|
94
|
+
}
|
95
|
+
]
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"begin": "#`\\{",
|
99
|
+
"end": "\\}",
|
100
|
+
"name": "comment.multiline.hash-tick.braces.perl6fe",
|
101
|
+
"patterns": [
|
102
|
+
{
|
103
|
+
"begin": "\\{",
|
104
|
+
"end": "\\}",
|
105
|
+
"name": "comment.internal.braces.perl6fe"
|
106
|
+
}
|
107
|
+
]
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"begin": "#`\\「",
|
111
|
+
"end": "\\」",
|
112
|
+
"name": "comment.multiline.hash-tick.perl6fe",
|
113
|
+
"patterns": [
|
114
|
+
{
|
115
|
+
"begin": "\\「",
|
116
|
+
"end": "\\」",
|
117
|
+
"name": "comment.internal.parens.perl6fe"
|
118
|
+
}
|
119
|
+
]
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"begin": "(?<!\\+\\<)(?<=\\<)(?!\\=)(?=[^\\<]*[^\\<\\}]\\>)",
|
123
|
+
"end": "(?<!\\})(?=\\>)",
|
124
|
+
"name": "string.array.words.perl6fe"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"begin": "(^[ \\t]+)?(?=#)",
|
128
|
+
"beginCaptures": {
|
129
|
+
"1": {
|
130
|
+
"name": "punctuation.whitespace.comment.leading.perl6fe"
|
131
|
+
}
|
132
|
+
},
|
133
|
+
"end": "(?!\\G)",
|
134
|
+
"patterns": [
|
135
|
+
{
|
136
|
+
"begin": "#",
|
137
|
+
"beginCaptures": {
|
138
|
+
"0": {
|
139
|
+
"name": "punctuation.definition.comment.perl6fe"
|
140
|
+
}
|
141
|
+
},
|
142
|
+
"end": "\\n",
|
143
|
+
"name": "comment.line.number-sign.perl6fe"
|
144
|
+
}
|
145
|
+
]
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"match": "(?x) \\x{2208}|\\(elem\\)|\\x{2209}|\\!\\(elem\\)| \\x{220B}|\\(cont\\)|\\x{220C}|\\!\\(cont\\)| \\x{2286}|\\(<=\\) |\\x{2288}|\\!\\(<=\\) | \\x{2282}|\\(<\\) |\\x{2284}|\\!\\(<\\) | \\x{2287}|\\(>=\\) |\\x{2289}|\\!\\(>=\\) | \\x{2283}|\\(>\\) |\\x{2285}|\\!\\(>\\) | \\x{227C}|\\(<\\+\\)|\\x{227D}|\\(>\\+\\) | \\x{222A}|\\(\\|\\) |\\x{2229}|\\(&\\) | \\x{2216}|\\(\\-\\) |\\x{2296}|\\(\\^\\) | \\x{228D}|\\(\\.\\) |\\x{228E}|\\(\\+\\)",
|
149
|
+
"name": "keyword.operator.setbagmix.perl6fe"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"captures": {
|
153
|
+
"1": {
|
154
|
+
"name": "storage.type.class.perl6fe"
|
155
|
+
},
|
156
|
+
"3": {
|
157
|
+
"name": "entity.name.type.class.perl6fe"
|
158
|
+
}
|
159
|
+
},
|
160
|
+
"match": "(?x) ( class|enum|grammar|knowhow|module| package|role|slang|subset|monitor|actor ) (\\s+) ( ( (?:::|')? (?: ([a-zA-Z_À-ÿ\\$]) ([a-zA-Z0-9_À-ÿ\\$]|[\\-'][a-zA-Z0-9_À-ÿ\\$])* ) )+ )",
|
161
|
+
"name": "meta.class.perl6fe"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"include": "#p5_regex"
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"begin": "(?x) (?<=^|[\\=,\\(\\[\\~]|when) \\s* (?:(m|rx)((?:(?<!\\:P5)\\s*:\\w+(?!\\s*\\:P5))*))? \\s* (\\/)",
|
168
|
+
"beginCaptures": {
|
169
|
+
"1": {
|
170
|
+
"name": "string.regexp.construct.perl6fe"
|
171
|
+
},
|
172
|
+
"2": {
|
173
|
+
"name": "entity.name.section.adverb.regexp.perl6fe"
|
174
|
+
},
|
175
|
+
"3": {
|
176
|
+
"name": "punctuation.definition.regexp.perl6fe"
|
177
|
+
}
|
178
|
+
},
|
179
|
+
"end": "(?<!\\\\)(\\/)",
|
180
|
+
"endCaptures": {
|
181
|
+
"1": {
|
182
|
+
"name": "punctuation.definition.regexp.perl6fe"
|
183
|
+
}
|
184
|
+
},
|
185
|
+
"contentName": "string.regexp.perl6fe",
|
186
|
+
"patterns": [
|
187
|
+
{
|
188
|
+
"include": "#interpolation"
|
189
|
+
},
|
190
|
+
{
|
191
|
+
"include": "source.regexp.perl6fe"
|
192
|
+
}
|
193
|
+
]
|
194
|
+
},
|
195
|
+
{
|
196
|
+
"begin": "(?<![\\w\\/])(m|rx)((?:\\s*:\\w+)*)\\s*(\\{)",
|
197
|
+
"beginCaptures": {
|
198
|
+
"1": {
|
199
|
+
"name": "string.regexp.construct.perl6fe"
|
200
|
+
},
|
201
|
+
"2": {
|
202
|
+
"name": "entity.name.section.adverb.regexp.perl6fe"
|
203
|
+
},
|
204
|
+
"3": {
|
205
|
+
"name": "punctuation.definition.regexp.perl6fe"
|
206
|
+
}
|
207
|
+
},
|
208
|
+
"end": "(?<!\\\\)(\\})",
|
209
|
+
"endCaptures": {
|
210
|
+
"1": {
|
211
|
+
"name": "punctuation.definition.regexp.perl6fe"
|
212
|
+
}
|
213
|
+
},
|
214
|
+
"contentName": "string.regexp.perl6fe",
|
215
|
+
"patterns": [
|
216
|
+
{
|
217
|
+
"include": "#interpolation"
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"include": "source.regexp.perl6fe"
|
221
|
+
}
|
222
|
+
]
|
223
|
+
},
|
224
|
+
{
|
225
|
+
"begin": "(?<![\\w\\/])(m|rx)((?:\\s*:\\w+)*)\\s*(\\[)",
|
226
|
+
"beginCaptures": {
|
227
|
+
"1": {
|
228
|
+
"name": "string.regexp.construct.perl6fe"
|
229
|
+
},
|
230
|
+
"2": {
|
231
|
+
"name": "entity.name.section.adverb.regexp.perl6fe"
|
232
|
+
},
|
233
|
+
"3": {
|
234
|
+
"name": "punctuation.definition.regexp.perl6fe"
|
235
|
+
}
|
236
|
+
},
|
237
|
+
"end": "(?<!\\\\)(\\])",
|
238
|
+
"endCaptures": {
|
239
|
+
"1": {
|
240
|
+
"name": "punctuation.definition.regexp.perl6fe"
|
241
|
+
}
|
242
|
+
},
|
243
|
+
"contentName": "string.regexp.perl6fe",
|
244
|
+
"patterns": [
|
245
|
+
{
|
246
|
+
"include": "#interpolation"
|
247
|
+
},
|
248
|
+
{
|
249
|
+
"include": "source.regexp.perl6fe"
|
250
|
+
}
|
251
|
+
]
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"begin": "(?<![\\w\\/])(m|rx)((?:\\s*:\\w+)*)\\s*(\\|)",
|
255
|
+
"beginCaptures": {
|
256
|
+
"1": {
|
257
|
+
"name": "string.regexp.construct.perl6fe"
|
258
|
+
},
|
259
|
+
"2": {
|
260
|
+
"name": "entity.name.section.adverb.regexp.perl6fe"
|
261
|
+
},
|
262
|
+
"3": {
|
263
|
+
"name": "punctuation.definition.regexp.perl6fe"
|
264
|
+
}
|
265
|
+
},
|
266
|
+
"end": "(?<!\\\\)(\\|)",
|
267
|
+
"endCaptures": {
|
268
|
+
"1": {
|
269
|
+
"name": "punctuation.definition.regexp.perl6fe"
|
270
|
+
}
|
271
|
+
},
|
272
|
+
"contentName": "string.regexp.perl6fe",
|
273
|
+
"patterns": [
|
274
|
+
{
|
275
|
+
"include": "#interpolation"
|
276
|
+
},
|
277
|
+
{
|
278
|
+
"include": "source.regexp.perl6fe"
|
279
|
+
}
|
280
|
+
]
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"begin": "(?<![\\w\\/])(m|rx)((?:\\s*:\\w+)*)\\s*(\\!)",
|
284
|
+
"beginCaptures": {
|
285
|
+
"1": {
|
286
|
+
"name": "string.regexp.construct.perl6fe"
|
287
|
+
},
|
288
|
+
"2": {
|
289
|
+
"name": "entity.name.section.adverb.regexp.perl6fe"
|
290
|
+
},
|
291
|
+
"3": {
|
292
|
+
"name": "punctuation.definition.regexp.perl6fe"
|
293
|
+
}
|
294
|
+
},
|
295
|
+
"end": "(?<!\\\\)(\\!)",
|
296
|
+
"endCaptures": {
|
297
|
+
"1": {
|
298
|
+
"name": "punctuation.definition.regexp.perl6fe"
|
299
|
+
}
|
300
|
+
},
|
301
|
+
"contentName": "string.regexp.perl6fe",
|
302
|
+
"patterns": [
|
303
|
+
{
|
304
|
+
"include": "#interpolation"
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"include": "source.regexp.perl6fe"
|
308
|
+
}
|
309
|
+
]
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"begin": "(?<![\\w\\/])(m|rx)((?:\\s*:\\w+)*)\\s*(~)",
|
313
|
+
"beginCaptures": {
|
314
|
+
"1": {
|
315
|
+
"name": "string.regexp.construct.perl6fe"
|
316
|
+
},
|
317
|
+
"2": {
|
318
|
+
"name": "entity.name.section.adverb.regexp.perl6fe"
|
319
|
+
},
|
320
|
+
"3": {
|
321
|
+
"name": "punctuation.definition.regexp.perl6fe"
|
322
|
+
}
|
323
|
+
},
|
324
|
+
"end": "(?<!\\\\)(\\~)",
|
325
|
+
"endCaptures": {
|
326
|
+
"1": {
|
327
|
+
"name": "punctuation.definition.regexp.perl6fe"
|
328
|
+
}
|
329
|
+
},
|
330
|
+
"contentName": "string.regexp.perl6fe",
|
331
|
+
"patterns": [
|
332
|
+
{
|
333
|
+
"include": "#interpolation"
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"include": "source.regexp.perl6fe"
|
337
|
+
}
|
338
|
+
]
|
339
|
+
},
|
340
|
+
{
|
341
|
+
"begin": "(?<=\\W|^)'",
|
342
|
+
"beginCaptures": {
|
343
|
+
"0": {
|
344
|
+
"name": "punctuation.definition.string.begin.perl6fe"
|
345
|
+
}
|
346
|
+
},
|
347
|
+
"end": "'",
|
348
|
+
"endCaptures": {
|
349
|
+
"0": {
|
350
|
+
"name": "punctuation.definition.string.end.perl6fe"
|
351
|
+
}
|
352
|
+
},
|
353
|
+
"name": "string.quoted.single.perl6fe",
|
354
|
+
"patterns": [
|
355
|
+
{
|
356
|
+
"match": "\\\\['\\\\]",
|
357
|
+
"name": "constant.character.escape.perl6fe"
|
358
|
+
}
|
359
|
+
]
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"begin": "\"",
|
363
|
+
"beginCaptures": {
|
364
|
+
"0": {
|
365
|
+
"name": "punctuation.definition.string.begin.perl6fe"
|
366
|
+
}
|
367
|
+
},
|
368
|
+
"end": "\"",
|
369
|
+
"endCaptures": {
|
370
|
+
"0": {
|
371
|
+
"name": "punctuation.definition.string.end.perl6fe"
|
372
|
+
}
|
373
|
+
},
|
374
|
+
"name": "string.quoted.double.perl6fe",
|
375
|
+
"patterns": [
|
376
|
+
{
|
377
|
+
"match": "\\\\[abtnfre\"\\\\\\{\\}]",
|
378
|
+
"name": "constant.character.escape.perl6fe"
|
379
|
+
},
|
380
|
+
{
|
381
|
+
"include": "#interpolation"
|
382
|
+
},
|
383
|
+
{
|
384
|
+
"include": "#special_variables"
|
385
|
+
}
|
386
|
+
]
|
387
|
+
},
|
388
|
+
{
|
389
|
+
"include": "#shellquotes"
|
390
|
+
},
|
391
|
+
{
|
392
|
+
"include": "#heredocs"
|
393
|
+
},
|
394
|
+
{
|
395
|
+
"begin": "(?x) (q{1,2}(?:x|w|ww|v|s|a|h|f|c|b|p)?|Q) ((?: \\s*:(?: x|exec|w|words|ww|quotewords|v|val|q|single|qq|double| s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash| regexp|substr|trans|codes|p|path ) )*) \\s*({{)",
|
396
|
+
"beginCaptures": {
|
397
|
+
"1": {
|
398
|
+
"name": "string.quoted.q.operator.perl6fe"
|
399
|
+
},
|
400
|
+
"2": {
|
401
|
+
"name": "support.function.quote.adverb.perl6fe"
|
402
|
+
},
|
403
|
+
"3": {
|
404
|
+
"name": "punctuation.definition.string.perl6fe"
|
405
|
+
}
|
406
|
+
},
|
407
|
+
"end": "}}",
|
408
|
+
"endCaptures": {
|
409
|
+
"0": {
|
410
|
+
"name": "punctuation.definition.string.perl6fe"
|
411
|
+
}
|
412
|
+
},
|
413
|
+
"contentName": "string.quoted.q.double.brace.perl6fe",
|
414
|
+
"patterns": [
|
415
|
+
{
|
416
|
+
"include": "#qq_brace_string_content"
|
417
|
+
}
|
418
|
+
]
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"begin": "(?x) (q{1,2}(?:x|w|ww|v|s|a|h|f|c|b|p)?|Q) ((?: \\s*:(?: x|exec|w|words|ww|quotewords|v|val|q|single|qq|double| s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash| regexp|substr|trans|codes|p|path ) )*) \\s*(<<)",
|
422
|
+
"beginCaptures": {
|
423
|
+
"1": {
|
424
|
+
"name": "string.quoted.q.operator.perl6fe"
|
425
|
+
},
|
426
|
+
"2": {
|
427
|
+
"name": "support.function.quote.adverb.perl6fe"
|
428
|
+
},
|
429
|
+
"3": {
|
430
|
+
"name": "punctuation.definition.string.perl6fe"
|
431
|
+
}
|
432
|
+
},
|
433
|
+
"end": ">>",
|
434
|
+
"endCaptures": {
|
435
|
+
"0": {
|
436
|
+
"name": "punctuation.definition.string.perl6fe"
|
437
|
+
}
|
438
|
+
},
|
439
|
+
"contentName": "string.quoted.q.double.angle.perl6fe",
|
440
|
+
"patterns": [
|
441
|
+
{
|
442
|
+
"include": "#qq_angle_string_content"
|
443
|
+
}
|
444
|
+
]
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"begin": "(?x) (q{1,2}(?:x|w|ww|v|s|a|h|f|c|b|p)?|Q) ((?: \\s*:(?: x|exec|w|words|ww|quotewords|v|val|q|single|qq|double| s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash| regexp|substr|trans|codes|p|path ) )*) \\s*(\\(\\()",
|
448
|
+
"beginCaptures": {
|
449
|
+
"1": {
|
450
|
+
"name": "string.quoted.q.operator.perl6fe"
|
451
|
+
},
|
452
|
+
"2": {
|
453
|
+
"name": "support.function.quote.adverb.perl6fe"
|
454
|
+
},
|
455
|
+
"3": {
|
456
|
+
"name": "punctuation.definition.string.perl6fe"
|
457
|
+
}
|
458
|
+
},
|
459
|
+
"end": "\\)\\)",
|
460
|
+
"endCaptures": {
|
461
|
+
"0": {
|
462
|
+
"name": "punctuation.definition.string.perl6fe"
|
463
|
+
}
|
464
|
+
},
|
465
|
+
"contentName": "string.quoted.q.double.paren.perl6fe",
|
466
|
+
"patterns": [
|
467
|
+
{
|
468
|
+
"include": "#qq_paren_string_content"
|
469
|
+
}
|
470
|
+
]
|
471
|
+
},
|
472
|
+
{
|
473
|
+
"begin": "(?x) (q{1,2}(?:x|w|ww|v|s|a|h|f|c|b|p)?|Q) ((?: \\s*:(?: x|exec|w|words|ww|quotewords|v|val|q|single|qq|double| s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash| regexp|substr|trans|codes|p|path ) )*) \\s*(\\[\\[)",
|
474
|
+
"beginCaptures": {
|
475
|
+
"1": {
|
476
|
+
"name": "string.quoted.q.operator.perl6fe"
|
477
|
+
},
|
478
|
+
"2": {
|
479
|
+
"name": "support.function.quote.adverb.perl6fe"
|
480
|
+
},
|
481
|
+
"3": {
|
482
|
+
"name": "punctuation.definition.string.perl6fe"
|
483
|
+
}
|
484
|
+
},
|
485
|
+
"end": "\\]\\]",
|
486
|
+
"endCaptures": {
|
487
|
+
"0": {
|
488
|
+
"name": "punctuation.definition.string.perl6fe"
|
489
|
+
}
|
490
|
+
},
|
491
|
+
"contentName": "string.quoted.q.double.bracket.perl6fe",
|
492
|
+
"patterns": [
|
493
|
+
{
|
494
|
+
"include": "#qq_bracket_string_content"
|
495
|
+
}
|
496
|
+
]
|
497
|
+
},
|
498
|
+
{
|
499
|
+
"begin": "(?x) (q{1,2}(?:x|w|ww|v|s|a|h|f|c|b|p)?|Q) ((?: \\s*:(?: x|exec|w|words|ww|quotewords|v|val|q|single|qq|double| s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash| regexp|substr|trans|codes|p|path ) )*) \\s*({)",
|
500
|
+
"beginCaptures": {
|
501
|
+
"1": {
|
502
|
+
"name": "string.quoted.q.operator.perl6fe"
|
503
|
+
},
|
504
|
+
"2": {
|
505
|
+
"name": "support.function.quote.adverb.perl6fe"
|
506
|
+
},
|
507
|
+
"3": {
|
508
|
+
"name": "punctuation.definition.string.perl6fe"
|
509
|
+
}
|
510
|
+
},
|
511
|
+
"end": "}",
|
512
|
+
"endCaptures": {
|
513
|
+
"0": {
|
514
|
+
"name": "punctuation.definition.string.perl6fe"
|
515
|
+
}
|
516
|
+
},
|
517
|
+
"contentName": "string.quoted.q.single.brace.perl6fe",
|
518
|
+
"patterns": [
|
519
|
+
{
|
520
|
+
"include": "#qq_brace_string_content"
|
521
|
+
}
|
522
|
+
]
|
523
|
+
},
|
524
|
+
{
|
525
|
+
"begin": "(?x) (q{1,2}(?:x|w|ww|v|s|a|h|f|c|b|p)?|Q) ((?: \\s*:(?: x|exec|w|words|ww|quotewords|v|val|q|single|qq|double| s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash| regexp|substr|trans|codes|p|path ) )*) \\s*(<)",
|
526
|
+
"beginCaptures": {
|
527
|
+
"1": {
|
528
|
+
"name": "string.quoted.q.operator.perl6fe"
|
529
|
+
},
|
530
|
+
"2": {
|
531
|
+
"name": "support.function.quote.adverb.perl6fe"
|
532
|
+
},
|
533
|
+
"3": {
|
534
|
+
"name": "punctuation.definition.string.perl6fe"
|
535
|
+
}
|
536
|
+
},
|
537
|
+
"end": ">",
|
538
|
+
"endCaptures": {
|
539
|
+
"0": {
|
540
|
+
"name": "punctuation.definition.string.perl6fe"
|
541
|
+
}
|
542
|
+
},
|
543
|
+
"contentName": "string.quoted.q.single.angle.perl6fe",
|
544
|
+
"patterns": [
|
545
|
+
{
|
546
|
+
"include": "#qq_angle_string_content"
|
547
|
+
}
|
548
|
+
]
|
549
|
+
},
|
550
|
+
{
|
551
|
+
"begin": "(?x) (q{1,2}(?:x|w|ww|v|s|a|h|f|c|b|p)?|Q) ((?: \\s*:(?: x|exec|w|words|ww|quotewords|v|val|q|single|qq|double| s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash| regexp|substr|trans|codes|p|path ) )*) \\s*(/)",
|
552
|
+
"beginCaptures": {
|
553
|
+
"1": {
|
554
|
+
"name": "string.quoted.q.operator.perl6fe"
|
555
|
+
},
|
556
|
+
"2": {
|
557
|
+
"name": "support.function.quote.adverb.perl6fe"
|
558
|
+
},
|
559
|
+
"3": {
|
560
|
+
"name": "punctuation.definition.string.perl6fe"
|
561
|
+
}
|
562
|
+
},
|
563
|
+
"end": "/",
|
564
|
+
"endCaptures": {
|
565
|
+
"0": {
|
566
|
+
"name": "punctuation.definition.string.perl6fe"
|
567
|
+
}
|
568
|
+
},
|
569
|
+
"contentName": "string.quoted.q.single.slash.perl6fe",
|
570
|
+
"patterns": [
|
571
|
+
{
|
572
|
+
"include": "#qq_slash_string_content"
|
573
|
+
}
|
574
|
+
]
|
575
|
+
},
|
576
|
+
{
|
577
|
+
"begin": "(?x) (q{1,2}(?:x|w|ww|v|s|a|h|f|c|b|p)?|Q) ((?: \\s*:(?: x|exec|w|words|ww|quotewords|v|val|q|single|qq|double| s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash| regexp|substr|trans|codes|p|path ) )*) \\s*(\\()",
|
578
|
+
"beginCaptures": {
|
579
|
+
"1": {
|
580
|
+
"name": "string.quoted.q.operator.perl6fe"
|
581
|
+
},
|
582
|
+
"2": {
|
583
|
+
"name": "support.function.quote.adverb.perl6fe"
|
584
|
+
},
|
585
|
+
"3": {
|
586
|
+
"name": "punctuation.definition.string.perl6fe"
|
587
|
+
}
|
588
|
+
},
|
589
|
+
"end": "\\)",
|
590
|
+
"endCaptures": {
|
591
|
+
"0": {
|
592
|
+
"name": "punctuation.definition.string.perl6fe"
|
593
|
+
}
|
594
|
+
},
|
595
|
+
"contentName": "string.quoted.q.single.paren.perl6fe",
|
596
|
+
"patterns": [
|
597
|
+
{
|
598
|
+
"include": "#qq_paren_string_content"
|
599
|
+
}
|
600
|
+
]
|
601
|
+
},
|
602
|
+
{
|
603
|
+
"begin": "(?x) (q{1,2}(?:x|w|ww|v|s|a|h|f|c|b|p)?|Q) ((?: \\s*:(?: x|exec|w|words|ww|quotewords|v|val|q|single|qq|double| s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash| regexp|substr|trans|codes|p|path ) )*) \\s*(\\[)",
|
604
|
+
"beginCaptures": {
|
605
|
+
"1": {
|
606
|
+
"name": "string.quoted.q.operator.perl6fe"
|
607
|
+
},
|
608
|
+
"2": {
|
609
|
+
"name": "support.function.quote.adverb.perl6fe"
|
610
|
+
},
|
611
|
+
"3": {
|
612
|
+
"name": "punctuation.definition.string.perl6fe"
|
613
|
+
}
|
614
|
+
},
|
615
|
+
"end": "\\]",
|
616
|
+
"endCaptures": {
|
617
|
+
"0": {
|
618
|
+
"name": "punctuation.definition.string.perl6fe"
|
619
|
+
}
|
620
|
+
},
|
621
|
+
"contentName": "string.quoted.q.single.bracket.perl6fe",
|
622
|
+
"patterns": [
|
623
|
+
{
|
624
|
+
"include": "#qq_bracket_string_content"
|
625
|
+
}
|
626
|
+
]
|
627
|
+
},
|
628
|
+
{
|
629
|
+
"begin": "(?x) (q{1,2}(?:x|w|ww|v|s|a|h|f|c|b|p)?|Q) ((?: \\s*:(?: x|exec|w|words|ww|quotewords|v|val|q|single|qq|double| s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash| regexp|substr|trans|codes|p|path ) )*) \\s*(')",
|
630
|
+
"beginCaptures": {
|
631
|
+
"1": {
|
632
|
+
"name": "string.quoted.q.operator.perl6fe"
|
633
|
+
},
|
634
|
+
"2": {
|
635
|
+
"name": "support.function.quote.adverb.perl6fe"
|
636
|
+
},
|
637
|
+
"3": {
|
638
|
+
"name": "punctuation.definition.string.perl6fe"
|
639
|
+
}
|
640
|
+
},
|
641
|
+
"end": "'",
|
642
|
+
"endCaptures": {
|
643
|
+
"0": {
|
644
|
+
"name": "punctuation.definition.string.perl6fe"
|
645
|
+
}
|
646
|
+
},
|
647
|
+
"contentName": "string.quoted.q.single.apostrophe.perl6fe",
|
648
|
+
"patterns": [
|
649
|
+
{
|
650
|
+
"include": "#qq_single_string_content"
|
651
|
+
}
|
652
|
+
]
|
653
|
+
},
|
654
|
+
{
|
655
|
+
"begin": "(?x) (q{1,2}(?:x|w|ww|v|s|a|h|f|c|b|p)?|Q) ((?: \\s*:(?: x|exec|w|words|ww|quotewords|v|val|q|single|qq|double| s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash| regexp|substr|trans|codes|p|path ) )*) \\s*(\")",
|
656
|
+
"beginCaptures": {
|
657
|
+
"1": {
|
658
|
+
"name": "string.quoted.q.operator.perl6fe"
|
659
|
+
},
|
660
|
+
"2": {
|
661
|
+
"name": "support.function.quote.adverb.perl6fe"
|
662
|
+
},
|
663
|
+
"3": {
|
664
|
+
"name": "punctuation.definition.string.perl6fe"
|
665
|
+
}
|
666
|
+
},
|
667
|
+
"end": "\"",
|
668
|
+
"endCaptures": {
|
669
|
+
"0": {
|
670
|
+
"name": "punctuation.definition.string.perl6fe"
|
671
|
+
}
|
672
|
+
},
|
673
|
+
"contentName": "string.quoted.q.single.quote.perl6fe",
|
674
|
+
"patterns": [
|
675
|
+
{
|
676
|
+
"include": "#qq_double_string_content"
|
677
|
+
}
|
678
|
+
]
|
679
|
+
},
|
680
|
+
{
|
681
|
+
"match": "\\b\\$\\w+\\b",
|
682
|
+
"name": "variable.other.perl6fe"
|
683
|
+
},
|
684
|
+
{
|
685
|
+
"match": "(?x)\\b(?<![\\-:])( macro|sub|submethod|method |multi|proto|only|category )(?!\\-)\\b",
|
686
|
+
"name": "storage.type.declare.routine.perl6fe"
|
687
|
+
},
|
688
|
+
{
|
689
|
+
"begin": "(?x)(?<= macro|sub|submethod|method )(?!\\-)\\s+(!)?(?=\\w)",
|
690
|
+
"beginCaptures": {
|
691
|
+
"1": {
|
692
|
+
"name": "support.class.method.private.perl6fe"
|
693
|
+
}
|
694
|
+
},
|
695
|
+
"end": "\\s*(?=[\\(\\{])",
|
696
|
+
"contentName": "entity.name.function.perl6fe"
|
697
|
+
},
|
698
|
+
{
|
699
|
+
"begin": "(?<!\\.)(regex|rule|token)(?!\\s*=>)",
|
700
|
+
"beginCaptures": {
|
701
|
+
"1": {
|
702
|
+
"name": "storage.type.declare.regexp.named.perl6fe"
|
703
|
+
}
|
704
|
+
},
|
705
|
+
"end": "(?<!\\\\)\\}",
|
706
|
+
"endCaptures": {
|
707
|
+
"0": {
|
708
|
+
"name": "punctuation.definition.regexp.named.perl6fe"
|
709
|
+
}
|
710
|
+
},
|
711
|
+
"name": "meta.regexp.named.perl6fe",
|
712
|
+
"patterns": [
|
713
|
+
{
|
714
|
+
"match": "\\w+",
|
715
|
+
"name": "entity.name.function.regexp.named.perl6fe"
|
716
|
+
},
|
717
|
+
{
|
718
|
+
"match": "(:)(\\w+)",
|
719
|
+
"captures": {
|
720
|
+
"1": {
|
721
|
+
"name": "punctuation.definition.regexp.adverb.perl6fe"
|
722
|
+
},
|
723
|
+
"2": {
|
724
|
+
"name": "support.type.class.adverb.perl6fe"
|
725
|
+
}
|
726
|
+
},
|
727
|
+
"name": "meta.regexp.named.adverb.perl6fe"
|
728
|
+
},
|
729
|
+
{
|
730
|
+
"begin": "\\x{00AB}|\\<",
|
731
|
+
"end": "(\\x{00BB}|\\>)(?=[\\s\\{])",
|
732
|
+
"contentName": "string.array.words.perl6fe"
|
733
|
+
},
|
734
|
+
{
|
735
|
+
"begin": "\\(",
|
736
|
+
"end": "(?<!\\\\)\\)",
|
737
|
+
"captures": {
|
738
|
+
"0": {
|
739
|
+
"name": "punctuation.definition.regexp.named.signature.perlfe"
|
740
|
+
}
|
741
|
+
},
|
742
|
+
"name": "meta.regexp.named.signature.perl6fe",
|
743
|
+
"patterns": [
|
744
|
+
{
|
745
|
+
"include": "$self"
|
746
|
+
}
|
747
|
+
]
|
748
|
+
},
|
749
|
+
{
|
750
|
+
"begin": "\\{",
|
751
|
+
"end": "(?=\\})",
|
752
|
+
"captures": {
|
753
|
+
"0": {
|
754
|
+
"name": "punctuation.definition.regex.named.perl6fe"
|
755
|
+
}
|
756
|
+
},
|
757
|
+
"name": "meta.regexp.named.block.perl6fe",
|
758
|
+
"patterns": [
|
759
|
+
{
|
760
|
+
"include": "#interpolation"
|
761
|
+
},
|
762
|
+
{
|
763
|
+
"include": "source.regexp.perl6fe"
|
764
|
+
}
|
765
|
+
]
|
766
|
+
}
|
767
|
+
]
|
768
|
+
},
|
769
|
+
{
|
770
|
+
"match": "\\b(?<![\\-:])(self)(?!\\-)\\b",
|
771
|
+
"name": "variable.language.perl6fe"
|
772
|
+
},
|
773
|
+
{
|
774
|
+
"match": "\\b(?<![\\-:])(use|require|no|need)(?!\\-)\\b",
|
775
|
+
"name": "keyword.other.include.perl6fe"
|
776
|
+
},
|
777
|
+
{
|
778
|
+
"match": "(?x)\\b(?<![\\-:])( if|else|elsif|unless|with|orwith|without )(?!\\-)\\b",
|
779
|
+
"name": "keyword.control.conditional.perl6fe"
|
780
|
+
},
|
781
|
+
{
|
782
|
+
"match": "\\b(?<![\\-:])(let|my|our|state|temp|has|constant)(?!\\-)\\b",
|
783
|
+
"name": "storage.modifier.declarator.perl6fe"
|
784
|
+
},
|
785
|
+
{
|
786
|
+
"match": "([+\\-.*/]|\\|\\|)?(?<!\\=)=(?![\\>\\=\\~])",
|
787
|
+
"name": "storage.modifier.assignment.perl6fe"
|
788
|
+
},
|
789
|
+
{
|
790
|
+
"match": "\\b(for|loop|repeat|while|until|gather|given)(?!\\-)\\b",
|
791
|
+
"name": "keyword.control.repeat.perl6fe"
|
792
|
+
},
|
793
|
+
{
|
794
|
+
"match": "(?x)\\b(?<![\\-:])( take|do|when|next|last|redo|return |contend|maybe|defer|default|exit |make|made|continue|break|goto|leave|supply |async|lift|await|start|react|whenever )(?!\\-)\\b",
|
795
|
+
"name": "keyword.control.flowcontrol.perl6fe"
|
796
|
+
},
|
797
|
+
{
|
798
|
+
"match": "(?x)\\b(?<![\\-:])( is|does|as|but|trusts|of|returns|handles|where|augment|supersede )(?!\\-)\\b",
|
799
|
+
"name": "storage.modifier.type.constraints.perl6fe"
|
800
|
+
},
|
801
|
+
{
|
802
|
+
"match": "(?x)\\b(?<![\\-:])( BEGIN|CHECK|INIT |START|FIRST|ENTER |LEAVE|KEEP|UNDO |NEXT|LAST|PRE |POST|END|CATCH |CONTROL|TEMP|QUIT )(?!\\-)\\b",
|
803
|
+
"name": "keyword.control.closure.trait.perl6fe"
|
804
|
+
},
|
805
|
+
{
|
806
|
+
"match": "\\b(?<![\\-:])(die|fail|try|warn)(?!\\-)\\b",
|
807
|
+
"name": "keyword.control.control-handlers.perl6fe"
|
808
|
+
},
|
809
|
+
{
|
810
|
+
"match": "(?x)\\b(?<![\\-:])( prec|irs|ofs|ors|export|deep |binary|unary|reparsed|rw|parsed |cached|readonly|defequiv|will |ref|copy|inline|tighter|looser |equiv|assoc|required )(?!\\-)\\b",
|
811
|
+
"name": "entity.name.type.trait.perl6fe"
|
812
|
+
},
|
813
|
+
{
|
814
|
+
"match": "\\b(NaN|Inf)(?!\\-)\\b",
|
815
|
+
"name": "constant.numeric.perl6fe"
|
816
|
+
},
|
817
|
+
{
|
818
|
+
"match": "\\b(True|False)\\b",
|
819
|
+
"name": "constant.language.boolean.perl6fe"
|
820
|
+
},
|
821
|
+
{
|
822
|
+
"match": "(?x)\\b(?<![\\-:])( fatal|internals|MONKEY\\-TYPING|nqp| strict|trace|worries|invocant|parameters| cur|soft|variables|attributes|v6|lib )(?!\\-)\\b",
|
823
|
+
"name": "constant.language.pragma.perl6fe"
|
824
|
+
},
|
825
|
+
{
|
826
|
+
"match": "(?x)(?<![:\\-\\w]) (Backtrace|Exception|Failure|X) (?: \\:\\:[a-zA-Z]+ )* \\b",
|
827
|
+
"captures": {
|
828
|
+
"0": {
|
829
|
+
"name": "support.type.exception.perl6fe"
|
830
|
+
}
|
831
|
+
}
|
832
|
+
},
|
833
|
+
{
|
834
|
+
"match": "(?x)\\b(?<!:)( AST|Any|Array|Associative|Attribute|Bag|BagHash|Baggy| Blob|Block|Bool|Callable|Capture|Channel|Code|Complex|Cool| CurrentThreadScheduler|Cursor|Date|DateTime|Dateish|Duration| Enum|FatRat|Grammar|Hash|IO|Instant|Iterable| Iterator|Junction|Label|List|Lock|Macro|Map|Match|Metamodel| Method|Mix|MixHash|Mixy|Mu|Nil|Num|Numeric|ObjAt|Pair|Parameter| Pod|Positional|PositionalBindFailover|Proc|Promise|Proxy| QuantHash|Range|Rat|Rational|Real|Regex|Routine|Scheduler|Seq| Set|SetHash|Setty|Signature|Slip|Stash|Str|Stringy|Sub| Submethod|Supply|Tap|Temporal|Thread|ThreadPoolScheduler| Variable|Version|Whatever|WhateverCode|bool|size_t| Int|int|int1|int2|int4|int8|int16|int32|int64| Rat|rat|rat1|rat2|rat4|rat8|rat16|rat32|rat64| Buf|buf|buf1|buf2|buf4|buf8|buf16|buf32|buf64| UInt|uint|uint1|uint2|uint4|uint8|uint16|uint32|uint64| utf8|utf16|utf32 )(?!\\:\\:)(?:\\:([DU]))?\\b",
|
835
|
+
"captures": {
|
836
|
+
"1": {
|
837
|
+
"name": "support.type.perl6fe"
|
838
|
+
},
|
839
|
+
"2": {
|
840
|
+
"name": "support.class.type.adverb.perl6fe"
|
841
|
+
}
|
842
|
+
}
|
843
|
+
},
|
844
|
+
{
|
845
|
+
"match": "(?x)\\b( div|mod|gcd|lcm|x|xx|temp|let|but|cmp|leg| eq|ne|gt|ge|lt|le|before|after|eqv|min|max|ff|fff|not|so|Z| and|andthen|or|orelse )\\b| \\b(X)(?!:)\\b",
|
846
|
+
"name": "keyword.operator.word.perl6fe"
|
847
|
+
},
|
848
|
+
{
|
849
|
+
"match": "(=)(~)(=)",
|
850
|
+
"captures": {
|
851
|
+
"1": {
|
852
|
+
"name": "keyword.operator.approx-equal.perl6fe"
|
853
|
+
},
|
854
|
+
"2": {
|
855
|
+
"name": "keyword.operator.approx-equal.perl6fe"
|
856
|
+
},
|
857
|
+
"3": {
|
858
|
+
"name": "keyword.operator.approx-equal.perl6fe"
|
859
|
+
}
|
860
|
+
},
|
861
|
+
"name": "meta.operator.non.ligature.perl6fe"
|
862
|
+
},
|
863
|
+
{
|
864
|
+
"match": "(?x) <=> | => | -> | \\+\\| | \\+\\+ | -- | \\*\\* | \\?\\?\\? | \\?\\? | \\!\\!\\! | \\!\\! | && | \\+\\^ | \\?\\^ | %% | \\+& | \\+< | \\+> | \\+\\^ | \\.\\.(?!\\.) | \\.\\.\\^ | \\^\\.\\. | \\^\\.\\.\\^ | \\?\\| | !=(?!\\=) | !==(?!\\=) | <=(?!>) | >= | === | == | =:= | ~~ | \\x{2245} | \\|\\| | \\^\\^ | \\/\\/ | := | ::= | \\.\\.\\.",
|
865
|
+
"name": "keyword.operator.multi-symbol.perl6fe"
|
866
|
+
},
|
867
|
+
{
|
868
|
+
"include": "#special_variables"
|
869
|
+
},
|
870
|
+
{
|
871
|
+
"include": "#variables"
|
872
|
+
},
|
873
|
+
{
|
874
|
+
"match": "(?x)\\b(?<![\\-:]|\\\\)( eager|hyper|substr|index|rindex|grep|map|sort|join|lines|hints |chmod|split|reduce|min|max|reverse|truncate|zip|cat|roundrobin |classify|first|sum|keys|values|pairs|defined|delete|exists |elems|end|kv|any|all|one|wrap|shape|key|value|name|pop|push |shift|splice|unshift|floor|ceiling|abs|exp|log|log10|rand|sign |sqrt|sin|cos|tan|round|strand|roots|cis|unpolar|polar|atan2 |pick|chop|chomp|lc|lcfirst|uc|ucfirst|capitalize |normalize|pack|unpack|quotemeta|comb|samecase|sameaccent|chars |nfd|nfc|nfkd|nfkc|printf|sprintf|caller|evalfile|run|runinstead |nothing|want|bless|chr|ord|gmtime|time|eof|localtime|gethost |getpw|chroot|getlogin|getpeername|kill|fork|wait|perl|graphs |codes|bytes|clone|print|open|read|write|readline|say|seek|close |opendir|readdir|slurp|spurt|shell|run|pos|fmt|vec|link|unlink |symlink|unique|pair|asin|atan|sec|cosec|cotan|asec|acosec|acotan |sinh|cosh|tanh|asinh|done|acos|acosh|atanh|sech|cosech|cotanh |sech|acosech|acotanh|asech|ok|nok|plan-ok|dies-ok|lives-ok|skip |todo|pass|flunk|force-todo|use-ok|isa-ok|diag|is-deeply|isnt |like|skip-rest|unlike|cmp-ok|eval-dies-ok|nok-error |eval-lives-ok|approx|is-approx|throws-ok|version-lt|plan|EVAL |succ|pred|times|nonce|once|signature|new|connect|operator|undef |undefine|sleep|from|to|infix|postfix|prefix|circumfix |postcircumfix|minmax|lazy|count|unwrap|getc|pi|tau|e|context|void |quasi|body|each|contains|rewinddir|subst|can|isa|flush|arity |assuming|rewind|callwith|callsame|nextwith|nextsame|attr |eval-elsewhere|none|srand|trim|trim-start|trim-end|lastcall |WHAT|WHY|WHERE|HOW|WHICH|VAR|WHO|WHENCE|ACCEPTS|REJECTS|not |iterator|by|re|im|invert|flip|gist|flat|tree|is-prime |throws-like|trans|race|hyper|tap|emit|done|quit|dd|note |starts-with|ends-with|put|append|tail|\\x{03C0}|\\x{03C4}|\\x{212F} )(?!\\-)\\b(?!\\s*=>)",
|
875
|
+
"name": "support.function.perl6fe"
|
876
|
+
},
|
877
|
+
{
|
878
|
+
"match": "(?x) (?<!\\(|\\*)\\%| [\\^\\+><\\*\\!\\?~\\/\\|]| (?<!\\$)\\.| (?<!:):(?!:)| (?<=\\s)\\-(?=[\\s\\(\\{\\[])| (?<!\\w)[o\\x{2218}](?!\\w)",
|
879
|
+
"name": "keyword.operator.generic.perl6fe"
|
880
|
+
},
|
881
|
+
{
|
882
|
+
"match": "(?x) ([a-zA-Z_À-ÿ\\$]) ( [a-zA-Z0-9_À-ÿ\\$]| [\\-'][a-zA-Z_À-ÿ\\$][a-zA-Z0-9_À-ÿ\\$] )*",
|
883
|
+
"name": "routine.name.perl6fe"
|
884
|
+
},
|
885
|
+
{
|
886
|
+
"include": "#numbers"
|
887
|
+
},
|
888
|
+
{
|
889
|
+
"begin": "(?<=\\:)(\\d+)(<)",
|
890
|
+
"beginCaptures": {
|
891
|
+
"1": {
|
892
|
+
"name": "support.type.radix.perl6fe"
|
893
|
+
},
|
894
|
+
"2": {
|
895
|
+
"name": "punctuation.definition.radix.perl6fe"
|
896
|
+
}
|
897
|
+
},
|
898
|
+
"end": ">",
|
899
|
+
"endCaptures": {
|
900
|
+
"0": {
|
901
|
+
"name": "punctuation.definition.radix.perl6fe"
|
902
|
+
}
|
903
|
+
},
|
904
|
+
"contentName": "constant.numeric.perl6fe"
|
905
|
+
},
|
906
|
+
{
|
907
|
+
"begin": "\\{",
|
908
|
+
"beginCaptures": {
|
909
|
+
"0": {
|
910
|
+
"name": "punctuation.definition.block.perl6fe"
|
911
|
+
}
|
912
|
+
},
|
913
|
+
"end": "\\}",
|
914
|
+
"endCaptures": {
|
915
|
+
"0": {
|
916
|
+
"name": "punctuation.definition.block.perl6fe"
|
917
|
+
}
|
918
|
+
},
|
919
|
+
"name": "meta.block.perl6fe",
|
920
|
+
"patterns": [
|
921
|
+
{
|
922
|
+
"include": "$self"
|
923
|
+
}
|
924
|
+
]
|
925
|
+
}
|
926
|
+
],
|
927
|
+
"repository": {
|
928
|
+
"numbers": {
|
929
|
+
"patterns": [
|
930
|
+
{
|
931
|
+
"match": "(?<=[=,;\\^\\s\\{\\[\\(\\/]|\\.\\.)0[bodx]\\w+",
|
932
|
+
"name": "constant.numeric.radix.perl6fe"
|
933
|
+
},
|
934
|
+
{
|
935
|
+
"match": "(?x) (?<=[=,;\\^\\s\\{\\[\\(\\/]|\\.\\.) (?:[\\+\\-])? (?: \\d+ (?:[\\_\\d]+\\d)? ) (?: \\. \\d+ (?:[\\_\\d]+\\d)? )? (?: e \\d+ (?:[\\_\\d]+\\d)? )?",
|
936
|
+
"name": "constant.numeric.perl6fe"
|
937
|
+
}
|
938
|
+
]
|
939
|
+
},
|
940
|
+
"comment-block-delimited": {
|
941
|
+
"patterns": [
|
942
|
+
{
|
943
|
+
"begin": "^(=)(begin)\\s+(\\w+)",
|
944
|
+
"end": "^(=)(end)\\s+(\\w+)",
|
945
|
+
"captures": {
|
946
|
+
"1": {
|
947
|
+
"name": "storage.modifier.block.delimited.perl6fe"
|
948
|
+
},
|
949
|
+
"2": {
|
950
|
+
"name": "keyword.operator.block.delimited.perl6fe"
|
951
|
+
},
|
952
|
+
"3": {
|
953
|
+
"name": "entity.other.attribute-name.block.delimited.perl6fe"
|
954
|
+
}
|
955
|
+
},
|
956
|
+
"contentName": "comment.block.delimited.perl6fe",
|
957
|
+
"patterns": [
|
958
|
+
{
|
959
|
+
"include": "#comment-block-syntax"
|
960
|
+
}
|
961
|
+
]
|
962
|
+
}
|
963
|
+
]
|
964
|
+
},
|
965
|
+
"comment-block-abbreviated": {
|
966
|
+
"patterns": [
|
967
|
+
{
|
968
|
+
"match": "^(=)(\\w+)\\s+(.+)$",
|
969
|
+
"captures": {
|
970
|
+
"1": {
|
971
|
+
"name": "storage.modifier.block.abbreviated.perl6fe"
|
972
|
+
},
|
973
|
+
"2": {
|
974
|
+
"name": "entity.other.attribute-name.block.abbreviated.perl6fe"
|
975
|
+
},
|
976
|
+
"3": {
|
977
|
+
"name": "entity.name.section.abbreviated.perl6fe"
|
978
|
+
}
|
979
|
+
},
|
980
|
+
"name": "meta.block.abbreviated.perl6fe"
|
981
|
+
}
|
982
|
+
]
|
983
|
+
},
|
984
|
+
"shellquotes": {
|
985
|
+
"patterns": [
|
986
|
+
{
|
987
|
+
"begin": "(qx)\\s*({{)",
|
988
|
+
"beginCaptures": {
|
989
|
+
"1": {
|
990
|
+
"name": "string.quoted.q.shell.operator.perl6fe"
|
991
|
+
},
|
992
|
+
"2": {
|
993
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
994
|
+
}
|
995
|
+
},
|
996
|
+
"end": "}}",
|
997
|
+
"endCaptures": {
|
998
|
+
"0": {
|
999
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1000
|
+
}
|
1001
|
+
},
|
1002
|
+
"name": "meta.shell.quote.single.perl6fe",
|
1003
|
+
"patterns": [
|
1004
|
+
{
|
1005
|
+
"include": "source.shell"
|
1006
|
+
}
|
1007
|
+
]
|
1008
|
+
},
|
1009
|
+
{
|
1010
|
+
"begin": "(qx)\\s*({)",
|
1011
|
+
"beginCaptures": {
|
1012
|
+
"1": {
|
1013
|
+
"name": "string.quoted.q.shell.operator.perl6fe"
|
1014
|
+
},
|
1015
|
+
"2": {
|
1016
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1017
|
+
}
|
1018
|
+
},
|
1019
|
+
"end": "}",
|
1020
|
+
"endCaptures": {
|
1021
|
+
"0": {
|
1022
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1023
|
+
}
|
1024
|
+
},
|
1025
|
+
"name": "meta.shell.quote.single.perl6fe",
|
1026
|
+
"patterns": [
|
1027
|
+
{
|
1028
|
+
"include": "source.shell"
|
1029
|
+
}
|
1030
|
+
]
|
1031
|
+
},
|
1032
|
+
{
|
1033
|
+
"begin": "(qx)\\s*(\\[\\[)",
|
1034
|
+
"beginCaptures": {
|
1035
|
+
"1": {
|
1036
|
+
"name": "string.quoted.q.shell.operator.perl6fe"
|
1037
|
+
},
|
1038
|
+
"2": {
|
1039
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1040
|
+
}
|
1041
|
+
},
|
1042
|
+
"end": "\\]\\]",
|
1043
|
+
"endCaptures": {
|
1044
|
+
"0": {
|
1045
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1046
|
+
}
|
1047
|
+
},
|
1048
|
+
"name": "meta.shell.quote.single.perl6fe",
|
1049
|
+
"patterns": [
|
1050
|
+
{
|
1051
|
+
"include": "source.shell"
|
1052
|
+
}
|
1053
|
+
]
|
1054
|
+
},
|
1055
|
+
{
|
1056
|
+
"begin": "(qx)\\s*(\\[)",
|
1057
|
+
"beginCaptures": {
|
1058
|
+
"1": {
|
1059
|
+
"name": "string.quoted.q.shell.operator.perl6fe"
|
1060
|
+
},
|
1061
|
+
"2": {
|
1062
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1063
|
+
}
|
1064
|
+
},
|
1065
|
+
"end": "\\]",
|
1066
|
+
"endCaptures": {
|
1067
|
+
"0": {
|
1068
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1069
|
+
}
|
1070
|
+
},
|
1071
|
+
"name": "meta.shell.quote.single.perl6fe",
|
1072
|
+
"patterns": [
|
1073
|
+
{
|
1074
|
+
"include": "source.shell"
|
1075
|
+
}
|
1076
|
+
]
|
1077
|
+
},
|
1078
|
+
{
|
1079
|
+
"begin": "(qx)\\s*(\\|)",
|
1080
|
+
"beginCaptures": {
|
1081
|
+
"1": {
|
1082
|
+
"name": "string.quoted.q.shell.operator.perl6fe"
|
1083
|
+
},
|
1084
|
+
"2": {
|
1085
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1086
|
+
}
|
1087
|
+
},
|
1088
|
+
"end": "\\|",
|
1089
|
+
"endCaptures": {
|
1090
|
+
"0": {
|
1091
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1092
|
+
}
|
1093
|
+
},
|
1094
|
+
"name": "meta.shell.quote.single.perl6fe",
|
1095
|
+
"patterns": [
|
1096
|
+
{
|
1097
|
+
"include": "source.shell"
|
1098
|
+
}
|
1099
|
+
]
|
1100
|
+
},
|
1101
|
+
{
|
1102
|
+
"begin": "(qx)\\s*(\\/)",
|
1103
|
+
"beginCaptures": {
|
1104
|
+
"1": {
|
1105
|
+
"name": "string.quoted.q.shell.operator.perl6fe"
|
1106
|
+
},
|
1107
|
+
"2": {
|
1108
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1109
|
+
}
|
1110
|
+
},
|
1111
|
+
"end": "(?<!\\\\)\\/",
|
1112
|
+
"endCaptures": {
|
1113
|
+
"0": {
|
1114
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1115
|
+
}
|
1116
|
+
},
|
1117
|
+
"name": "meta.shell.quote.single.perl6fe",
|
1118
|
+
"patterns": [
|
1119
|
+
{
|
1120
|
+
"match": "\\\\\\/",
|
1121
|
+
"name": "constant.character.escape.perl6fe"
|
1122
|
+
},
|
1123
|
+
{
|
1124
|
+
"include": "source.shell"
|
1125
|
+
}
|
1126
|
+
]
|
1127
|
+
},
|
1128
|
+
{
|
1129
|
+
"begin": "(qqx)\\s*({{)",
|
1130
|
+
"beginCaptures": {
|
1131
|
+
"1": {
|
1132
|
+
"name": "string.quoted.q.shell.operator.perl6fe"
|
1133
|
+
},
|
1134
|
+
"2": {
|
1135
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1136
|
+
}
|
1137
|
+
},
|
1138
|
+
"end": "}}",
|
1139
|
+
"endCaptures": {
|
1140
|
+
"0": {
|
1141
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1142
|
+
}
|
1143
|
+
},
|
1144
|
+
"name": "meta.shell.quote.double.perl6fe",
|
1145
|
+
"patterns": [
|
1146
|
+
{
|
1147
|
+
"include": "#interpolation"
|
1148
|
+
},
|
1149
|
+
{
|
1150
|
+
"include": "source.shell"
|
1151
|
+
}
|
1152
|
+
]
|
1153
|
+
},
|
1154
|
+
{
|
1155
|
+
"begin": "(qqx)\\s*({)",
|
1156
|
+
"beginCaptures": {
|
1157
|
+
"1": {
|
1158
|
+
"name": "string.quoted.q.shell.operator.perl6fe"
|
1159
|
+
},
|
1160
|
+
"2": {
|
1161
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1162
|
+
}
|
1163
|
+
},
|
1164
|
+
"end": "}",
|
1165
|
+
"endCaptures": {
|
1166
|
+
"0": {
|
1167
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1168
|
+
}
|
1169
|
+
},
|
1170
|
+
"name": "meta.shell.quote.double.perl6fe",
|
1171
|
+
"patterns": [
|
1172
|
+
{
|
1173
|
+
"include": "#interpolation"
|
1174
|
+
},
|
1175
|
+
{
|
1176
|
+
"include": "source.shell"
|
1177
|
+
}
|
1178
|
+
]
|
1179
|
+
},
|
1180
|
+
{
|
1181
|
+
"begin": "(qqx)\\s*(\\[\\[)",
|
1182
|
+
"beginCaptures": {
|
1183
|
+
"1": {
|
1184
|
+
"name": "string.quoted.q.shell.operator.perl6fe"
|
1185
|
+
},
|
1186
|
+
"2": {
|
1187
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1188
|
+
}
|
1189
|
+
},
|
1190
|
+
"end": "\\]\\]",
|
1191
|
+
"endCaptures": {
|
1192
|
+
"0": {
|
1193
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1194
|
+
}
|
1195
|
+
},
|
1196
|
+
"name": "meta.shell.quote.double.perl6fe",
|
1197
|
+
"patterns": [
|
1198
|
+
{
|
1199
|
+
"include": "#interpolation"
|
1200
|
+
},
|
1201
|
+
{
|
1202
|
+
"include": "source.shell"
|
1203
|
+
}
|
1204
|
+
]
|
1205
|
+
},
|
1206
|
+
{
|
1207
|
+
"begin": "(qqx)\\s*(\\[)",
|
1208
|
+
"beginCaptures": {
|
1209
|
+
"1": {
|
1210
|
+
"name": "string.quoted.q.shell.operator.perl6fe"
|
1211
|
+
},
|
1212
|
+
"2": {
|
1213
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1214
|
+
}
|
1215
|
+
},
|
1216
|
+
"end": "\\]",
|
1217
|
+
"endCaptures": {
|
1218
|
+
"0": {
|
1219
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1220
|
+
}
|
1221
|
+
},
|
1222
|
+
"name": "meta.shell.quote.double.perl6fe",
|
1223
|
+
"patterns": [
|
1224
|
+
{
|
1225
|
+
"include": "#interpolation"
|
1226
|
+
},
|
1227
|
+
{
|
1228
|
+
"include": "source.shell"
|
1229
|
+
}
|
1230
|
+
]
|
1231
|
+
},
|
1232
|
+
{
|
1233
|
+
"begin": "(qqx)\\s*(\\|)",
|
1234
|
+
"beginCaptures": {
|
1235
|
+
"1": {
|
1236
|
+
"name": "string.quoted.q.shell.operator.perl6fe"
|
1237
|
+
},
|
1238
|
+
"2": {
|
1239
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1240
|
+
}
|
1241
|
+
},
|
1242
|
+
"end": "\\|",
|
1243
|
+
"endCaptures": {
|
1244
|
+
"0": {
|
1245
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1246
|
+
}
|
1247
|
+
},
|
1248
|
+
"name": "meta.shell.quote.double.perl6fe",
|
1249
|
+
"patterns": [
|
1250
|
+
{
|
1251
|
+
"include": "#interpolation"
|
1252
|
+
},
|
1253
|
+
{
|
1254
|
+
"include": "source.shell"
|
1255
|
+
}
|
1256
|
+
]
|
1257
|
+
},
|
1258
|
+
{
|
1259
|
+
"begin": "(qqx)\\s*(\\/)",
|
1260
|
+
"beginCaptures": {
|
1261
|
+
"1": {
|
1262
|
+
"name": "string.quoted.q.shell.operator.perl6fe"
|
1263
|
+
},
|
1264
|
+
"2": {
|
1265
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1266
|
+
}
|
1267
|
+
},
|
1268
|
+
"end": "(?<!\\\\)\\/",
|
1269
|
+
"endCaptures": {
|
1270
|
+
"0": {
|
1271
|
+
"name": "punctuation.section.embedded.shell.begin.perl6fe"
|
1272
|
+
}
|
1273
|
+
},
|
1274
|
+
"name": "meta.shell.quote.double.perl6fe",
|
1275
|
+
"patterns": [
|
1276
|
+
{
|
1277
|
+
"match": "\\\\\\/",
|
1278
|
+
"name": "constant.character.escape.perl6fe"
|
1279
|
+
},
|
1280
|
+
{
|
1281
|
+
"include": "#interpolation"
|
1282
|
+
},
|
1283
|
+
{
|
1284
|
+
"include": "source.shell"
|
1285
|
+
}
|
1286
|
+
]
|
1287
|
+
}
|
1288
|
+
]
|
1289
|
+
},
|
1290
|
+
"comment-block-syntax": {
|
1291
|
+
"patterns": [
|
1292
|
+
{
|
1293
|
+
"include": "#comment-block-delimited"
|
1294
|
+
},
|
1295
|
+
{
|
1296
|
+
"include": "#comment-block-abbreviated"
|
1297
|
+
},
|
1298
|
+
{
|
1299
|
+
"match": "(L)(\\<)(.+?)(?:(\\|)(.+?))?(\\>)",
|
1300
|
+
"captures": {
|
1301
|
+
"1": {
|
1302
|
+
"name": "support.function.pod.link.perl6fe"
|
1303
|
+
},
|
1304
|
+
"2": {
|
1305
|
+
"name": "punctuation.section.embedded.pod.link.perl6fe"
|
1306
|
+
},
|
1307
|
+
"3": {
|
1308
|
+
"name": "entity.name.type.pod.link.perl6fe"
|
1309
|
+
},
|
1310
|
+
"4": {
|
1311
|
+
"name": "punctuation.section.embedded.pod.link.perl6fe"
|
1312
|
+
},
|
1313
|
+
"5": {
|
1314
|
+
"name": "markup.underline.link.pod.perl6fe"
|
1315
|
+
},
|
1316
|
+
"6": {
|
1317
|
+
"name": "punctuation.section.embedded.pod.link.perl6fe"
|
1318
|
+
}
|
1319
|
+
},
|
1320
|
+
"name": "meta.pod.l.perl6fe"
|
1321
|
+
},
|
1322
|
+
{
|
1323
|
+
"match": "([CKT])(?:(\\<\\<)(.+?)(\\>\\>)|(\\<)(.+?)(\\>))",
|
1324
|
+
"captures": {
|
1325
|
+
"1": {
|
1326
|
+
"name": "support.function.pod.code.perl6fe"
|
1327
|
+
},
|
1328
|
+
"2": {
|
1329
|
+
"name": "punctuation.section.embedded.pod.code.perl6fe"
|
1330
|
+
},
|
1331
|
+
"3": {
|
1332
|
+
"name": "markup.raw.code.perl6fe"
|
1333
|
+
},
|
1334
|
+
"4": {
|
1335
|
+
"name": "punctuation.section.embedded.pod.code.perl6fe"
|
1336
|
+
},
|
1337
|
+
"5": {
|
1338
|
+
"name": "punctuation.section.embedded.pod.code.perl6fe"
|
1339
|
+
},
|
1340
|
+
"6": {
|
1341
|
+
"name": "markup.raw.code.perl6fe"
|
1342
|
+
},
|
1343
|
+
"7": {
|
1344
|
+
"name": "punctuation.section.embedded.pod.code.perl6fe"
|
1345
|
+
}
|
1346
|
+
},
|
1347
|
+
"name": "meta.pod.c.perl6fe"
|
1348
|
+
},
|
1349
|
+
{
|
1350
|
+
"match": "(U)(\\<)(.+?)(\\>)",
|
1351
|
+
"captures": {
|
1352
|
+
"1": {
|
1353
|
+
"name": "support.function.pod.code.perl6fe"
|
1354
|
+
},
|
1355
|
+
"2": {
|
1356
|
+
"name": "punctuation.section.embedded.pod.code.perl6fe"
|
1357
|
+
},
|
1358
|
+
"3": {
|
1359
|
+
"name": "markup.underline.perl6fe"
|
1360
|
+
},
|
1361
|
+
"4": {
|
1362
|
+
"name": "punctuation.section.embedded.pod.code.perl6fe"
|
1363
|
+
}
|
1364
|
+
},
|
1365
|
+
"name": "meta.pod.c.perl6fe"
|
1366
|
+
},
|
1367
|
+
{
|
1368
|
+
"match": "(I)(\\<)(.+?)(\\>)",
|
1369
|
+
"captures": {
|
1370
|
+
"1": {
|
1371
|
+
"name": "support.function.pod.code.perl6fe"
|
1372
|
+
},
|
1373
|
+
"2": {
|
1374
|
+
"name": "punctuation.section.embedded.pod.code.perl6fe"
|
1375
|
+
},
|
1376
|
+
"3": {
|
1377
|
+
"name": "markup.italic.perl6fe"
|
1378
|
+
},
|
1379
|
+
"4": {
|
1380
|
+
"name": "punctuation.section.embedded.pod.code.perl6fe"
|
1381
|
+
}
|
1382
|
+
},
|
1383
|
+
"name": "meta.pod.c.perl6fe"
|
1384
|
+
},
|
1385
|
+
{
|
1386
|
+
"match": "(B)(\\<)(.+?)(\\>)",
|
1387
|
+
"captures": {
|
1388
|
+
"1": {
|
1389
|
+
"name": "support.function.pod.code.perl6fe"
|
1390
|
+
},
|
1391
|
+
"2": {
|
1392
|
+
"name": "punctuation.section.embedded.pod.code.perl6fe"
|
1393
|
+
},
|
1394
|
+
"3": {
|
1395
|
+
"name": "markup.bold.perl6fe"
|
1396
|
+
},
|
1397
|
+
"4": {
|
1398
|
+
"name": "punctuation.section.embedded.pod.code.perl6fe"
|
1399
|
+
}
|
1400
|
+
},
|
1401
|
+
"name": "meta.pod.c.perl6fe"
|
1402
|
+
}
|
1403
|
+
]
|
1404
|
+
},
|
1405
|
+
"heredocs": {
|
1406
|
+
"patterns": [
|
1407
|
+
{
|
1408
|
+
"begin": "(?x) (?: ([qQ](?!/)|qq|qw|qww|qx|qqx) \\s* ((?:\\s*:\\w+)*\\s*:(?:to|heredoc))\\s* | (qto|qqto|Qto) \\s* ((?:\\s*:\\w+)*)\\s* ) /(\\w+)/",
|
1409
|
+
"beginCaptures": {
|
1410
|
+
"1": {
|
1411
|
+
"name": "string.quoted.construct.perl6fe"
|
1412
|
+
},
|
1413
|
+
"2": {
|
1414
|
+
"name": "support.function.adverb.perl6fe"
|
1415
|
+
},
|
1416
|
+
"3": {
|
1417
|
+
"name": "string.quoted.construct.perl6fe"
|
1418
|
+
},
|
1419
|
+
"4": {
|
1420
|
+
"name": "support.function.adverb.perl6fe"
|
1421
|
+
},
|
1422
|
+
"5": {
|
1423
|
+
"name": "entity.other.attribute-name.heredoc.delimiter.perl6fe"
|
1424
|
+
}
|
1425
|
+
},
|
1426
|
+
"end": "\\s*\\5",
|
1427
|
+
"endCaptures": {
|
1428
|
+
"0": {
|
1429
|
+
"name": "entity.other.attribute-name.heredoc.delimiter.perl6fe"
|
1430
|
+
}
|
1431
|
+
},
|
1432
|
+
"patterns": [
|
1433
|
+
{
|
1434
|
+
"begin": "(?<=/)",
|
1435
|
+
"end": "\\n",
|
1436
|
+
"patterns": [
|
1437
|
+
{
|
1438
|
+
"include": "$self"
|
1439
|
+
}
|
1440
|
+
],
|
1441
|
+
"name": "meta.heredoc.continuation.perl6fe"
|
1442
|
+
},
|
1443
|
+
{
|
1444
|
+
"match": "^(?:.|\\n)*$",
|
1445
|
+
"name": "string.quoted.heredoc.perl6fe"
|
1446
|
+
}
|
1447
|
+
],
|
1448
|
+
"name": "meta.heredoc.perl6fe"
|
1449
|
+
}
|
1450
|
+
]
|
1451
|
+
},
|
1452
|
+
"p5_regex": {
|
1453
|
+
"patterns": [
|
1454
|
+
{
|
1455
|
+
"begin": "(?x)(?<![\\w\\/])(m|rx) \\s*((?:\\s*:\\w+)*)?(:P5)((?:\\s*:\\w+)*)?\\s* (\\{)",
|
1456
|
+
"beginCaptures": {
|
1457
|
+
"1": {
|
1458
|
+
"name": "string.regexp.construct.perl6fe"
|
1459
|
+
},
|
1460
|
+
"2": {
|
1461
|
+
"name": "entity.name.section.adverb.regexp.perl6fe"
|
1462
|
+
},
|
1463
|
+
"3": {
|
1464
|
+
"name": "entity.name.section.p5.adverb.regexp.perl6fe"
|
1465
|
+
},
|
1466
|
+
"4": {
|
1467
|
+
"name": "entity.name.section.adverb.regexp.perl6fe"
|
1468
|
+
},
|
1469
|
+
"5": {
|
1470
|
+
"name": "punctuation.definition.regexp.perl6fe"
|
1471
|
+
}
|
1472
|
+
},
|
1473
|
+
"end": "(?<!\\\\)(\\})([gmixXsuUAJ]+)?",
|
1474
|
+
"endCaptures": {
|
1475
|
+
"1": {
|
1476
|
+
"name": "punctuation.definition.regexp.perl6fe"
|
1477
|
+
},
|
1478
|
+
"2": {
|
1479
|
+
"name": "invalid.illegal.p5.regexp.modifier.perl6fe"
|
1480
|
+
}
|
1481
|
+
},
|
1482
|
+
"contentName": "string.regexp.p5.perl6fe",
|
1483
|
+
"patterns": [
|
1484
|
+
{
|
1485
|
+
"include": "#p5_escaped_char"
|
1486
|
+
},
|
1487
|
+
{
|
1488
|
+
"include": "#qq_brace_string_content"
|
1489
|
+
}
|
1490
|
+
]
|
1491
|
+
},
|
1492
|
+
{
|
1493
|
+
"begin": "(?x)(?<![\\w\\/])(m|rx) \\s*((?:\\s*:\\w+)*)?(:P5)((?:\\s*:\\w+)*)?\\s* (\\[)",
|
1494
|
+
"beginCaptures": {
|
1495
|
+
"1": {
|
1496
|
+
"name": "string.regexp.construct.perl6fe"
|
1497
|
+
},
|
1498
|
+
"2": {
|
1499
|
+
"name": "entity.name.section.adverb.regexp.perl6fe"
|
1500
|
+
},
|
1501
|
+
"3": {
|
1502
|
+
"name": "entity.name.section.p5.adverb.regexp.perl6fe"
|
1503
|
+
},
|
1504
|
+
"4": {
|
1505
|
+
"name": "entity.name.section.adverb.regexp.perl6fe"
|
1506
|
+
},
|
1507
|
+
"5": {
|
1508
|
+
"name": "punctuation.definition.regexp.perl6fe"
|
1509
|
+
}
|
1510
|
+
},
|
1511
|
+
"end": "(?<!\\\\)(\\])([gmixXsuUAJ]+)?",
|
1512
|
+
"endCaptures": {
|
1513
|
+
"1": {
|
1514
|
+
"name": "punctuation.definition.regexp.perl6fe"
|
1515
|
+
},
|
1516
|
+
"2": {
|
1517
|
+
"name": "invalid.illegal.p5.regexp.modifier.perl6fe"
|
1518
|
+
}
|
1519
|
+
},
|
1520
|
+
"contentName": "string.regexp.p5.perl6fe",
|
1521
|
+
"patterns": [
|
1522
|
+
{
|
1523
|
+
"include": "#p5_escaped_char"
|
1524
|
+
},
|
1525
|
+
{
|
1526
|
+
"include": "#qq_bracket_string_content"
|
1527
|
+
}
|
1528
|
+
]
|
1529
|
+
},
|
1530
|
+
{
|
1531
|
+
"begin": "(?x)(?<![\\w\\/])(m|rx) \\s*((?:\\s*:\\w+)*)?(:P5)((?:\\s*:\\w+)*)?\\s* (\\/)",
|
1532
|
+
"beginCaptures": {
|
1533
|
+
"1": {
|
1534
|
+
"name": "string.regexp.construct.perl6fe"
|
1535
|
+
},
|
1536
|
+
"2": {
|
1537
|
+
"name": "entity.name.section.adverb.regexp.perl6fe"
|
1538
|
+
},
|
1539
|
+
"3": {
|
1540
|
+
"name": "entity.name.section.p5.adverb.regexp.perl6fe"
|
1541
|
+
},
|
1542
|
+
"4": {
|
1543
|
+
"name": "entity.name.section.adverb.regexp.perl6fe"
|
1544
|
+
},
|
1545
|
+
"5": {
|
1546
|
+
"name": "punctuation.definition.regexp.perl6fe"
|
1547
|
+
}
|
1548
|
+
},
|
1549
|
+
"end": "(?<!\\\\)(\\/)([gmixXsuUAJ]+)?",
|
1550
|
+
"endCaptures": {
|
1551
|
+
"1": {
|
1552
|
+
"name": "punctuation.definition.regexp.perl6fe"
|
1553
|
+
},
|
1554
|
+
"2": {
|
1555
|
+
"name": "invalid.illegal.p5.regexp.modifier.perl6fe"
|
1556
|
+
}
|
1557
|
+
},
|
1558
|
+
"contentName": "string.regexp.p5.perl6fe",
|
1559
|
+
"patterns": [
|
1560
|
+
{
|
1561
|
+
"include": "#p5_escaped_char"
|
1562
|
+
},
|
1563
|
+
{
|
1564
|
+
"include": "#qq_slash_string_content"
|
1565
|
+
}
|
1566
|
+
]
|
1567
|
+
}
|
1568
|
+
]
|
1569
|
+
},
|
1570
|
+
"p5_escaped_char": {
|
1571
|
+
"patterns": [
|
1572
|
+
{
|
1573
|
+
"match": "\\\\\\d+",
|
1574
|
+
"name": "constant.character.escape.perl"
|
1575
|
+
},
|
1576
|
+
{
|
1577
|
+
"match": "\\\\c[^\\s\\\\]",
|
1578
|
+
"name": "constant.character.escape.perl"
|
1579
|
+
},
|
1580
|
+
{
|
1581
|
+
"match": "\\\\g(?:\\{(?:\\w*|-\\d+)\\}|\\d+)",
|
1582
|
+
"name": "constant.character.escape.perl"
|
1583
|
+
},
|
1584
|
+
{
|
1585
|
+
"match": "\\\\k(?:\\{\\w*\\}|<\\w*>|'\\w*')",
|
1586
|
+
"name": "constant.character.escape.perl"
|
1587
|
+
},
|
1588
|
+
{
|
1589
|
+
"match": "\\\\N\\{[^\\}]*\\}",
|
1590
|
+
"name": "constant.character.escape.perl"
|
1591
|
+
},
|
1592
|
+
{
|
1593
|
+
"match": "\\\\o\\{\\d*\\}",
|
1594
|
+
"name": "constant.character.escape.perl"
|
1595
|
+
},
|
1596
|
+
{
|
1597
|
+
"match": "\\\\(?:p|P)(?:\\{\\w*\\}|P)",
|
1598
|
+
"name": "constant.character.escape.perl"
|
1599
|
+
},
|
1600
|
+
{
|
1601
|
+
"match": "\\\\x(?:[0-9a-zA-Z]{2}|\\{\\w*\\})?",
|
1602
|
+
"name": "constant.character.escape.perl"
|
1603
|
+
},
|
1604
|
+
{
|
1605
|
+
"match": "\\\\.",
|
1606
|
+
"name": "constant.character.escape.perl"
|
1607
|
+
}
|
1608
|
+
]
|
1609
|
+
},
|
1610
|
+
"special_variables": {
|
1611
|
+
"patterns": [
|
1612
|
+
{
|
1613
|
+
"match": "(?x) [\\$\\@](?=[\\s,;\\{\\[\\(])| (?<=[\\(\\,])\\s*%(?![\\w\\*\\!\\?\\.\\^:=~])| \\$_| \\$\\/| \\$\\!(?!\\w)| \\$\\d(?!\\w)",
|
1614
|
+
"name": "keyword.other.special-method.perl6fe"
|
1615
|
+
}
|
1616
|
+
]
|
1617
|
+
},
|
1618
|
+
"variables": {
|
1619
|
+
"patterns": [
|
1620
|
+
{
|
1621
|
+
"begin": "\\$(?=\\<)",
|
1622
|
+
"beginCaptures": {
|
1623
|
+
"0": {
|
1624
|
+
"name": "variable.other.identifier.sigil.regexp.perl6"
|
1625
|
+
}
|
1626
|
+
},
|
1627
|
+
"end": "(?![\\w\\<\\>])",
|
1628
|
+
"name": "meta.match.variable.perl6fe",
|
1629
|
+
"patterns": [
|
1630
|
+
{
|
1631
|
+
"match": "(\\<)([\\w\\-]+)(\\>)",
|
1632
|
+
"captures": {
|
1633
|
+
"1": {
|
1634
|
+
"name": "support.class.match.name.delimiter.regexp.perl6fe"
|
1635
|
+
},
|
1636
|
+
"2": {
|
1637
|
+
"name": "variable.other.identifier.regexp.perl6"
|
1638
|
+
},
|
1639
|
+
"3": {
|
1640
|
+
"name": "support.class.match.name.delimiter.regexp.perl6fe"
|
1641
|
+
}
|
1642
|
+
}
|
1643
|
+
}
|
1644
|
+
]
|
1645
|
+
},
|
1646
|
+
{
|
1647
|
+
"match": "(?x) (\\$|@|%|&) (\\.|\\*|:|!|\\^|~|=|\\?)? ( (?:\\p{Alpha}) (?: [a-zA-Z0-9_À-ÿ\\$]| [\\-'][a-zA-Z_À-ÿ\\$] )* )",
|
1648
|
+
"captures": {
|
1649
|
+
"1": {
|
1650
|
+
"name": "variable.other.identifier.sigil.perl6fe"
|
1651
|
+
},
|
1652
|
+
"2": {
|
1653
|
+
"name": "support.class.twigil.perl6fe"
|
1654
|
+
},
|
1655
|
+
"3": {
|
1656
|
+
"name": "variable.other.identifier.perl6fe"
|
1657
|
+
}
|
1658
|
+
},
|
1659
|
+
"name": "meta.variable.container.perl6fe"
|
1660
|
+
}
|
1661
|
+
]
|
1662
|
+
},
|
1663
|
+
"interpolation": {
|
1664
|
+
"patterns": [
|
1665
|
+
{
|
1666
|
+
"match": "(?x)(?<!\\\\) (\\$|@|%|&)(?!\\$) (\\.|\\*|:|!|\\^|~|=|\\?)? ([a-zA-Z_À-ÿ\\$]) ( [a-zA-Z0-9_À-ÿ\\$]| [\\-'][a-zA-Z_À-ÿ\\$][a-zA-Z0-9_À-ÿ\\$] )*",
|
1667
|
+
"name": "variable.other.identifier.interpolated.perl6fe"
|
1668
|
+
},
|
1669
|
+
{
|
1670
|
+
"begin": "(\\{)",
|
1671
|
+
"beginCaptures": {
|
1672
|
+
"1": {
|
1673
|
+
"name": "punctuation.section.embedded.begin.perl6fe"
|
1674
|
+
}
|
1675
|
+
},
|
1676
|
+
"end": "(\\})",
|
1677
|
+
"endCaptures": {
|
1678
|
+
"1": {
|
1679
|
+
"name": "punctuation.section.embedded.end.perl6fe"
|
1680
|
+
}
|
1681
|
+
},
|
1682
|
+
"patterns": [
|
1683
|
+
{
|
1684
|
+
"include": "$self"
|
1685
|
+
}
|
1686
|
+
],
|
1687
|
+
"name": "meta.interpolation.perl6fe"
|
1688
|
+
}
|
1689
|
+
]
|
1690
|
+
},
|
1691
|
+
"qq_angle_string_content": {
|
1692
|
+
"begin": "<",
|
1693
|
+
"end": ">",
|
1694
|
+
"patterns": [
|
1695
|
+
{
|
1696
|
+
"include": "#qq_angle_string_content"
|
1697
|
+
}
|
1698
|
+
]
|
1699
|
+
},
|
1700
|
+
"qq_brace_string_content": {
|
1701
|
+
"begin": "{",
|
1702
|
+
"end": "}",
|
1703
|
+
"patterns": [
|
1704
|
+
{
|
1705
|
+
"include": "#qq_brace_string_content"
|
1706
|
+
}
|
1707
|
+
]
|
1708
|
+
},
|
1709
|
+
"qq_bracket_string_content": {
|
1710
|
+
"begin": "\\[",
|
1711
|
+
"end": "\\]",
|
1712
|
+
"patterns": [
|
1713
|
+
{
|
1714
|
+
"include": "#qq_bracket_string_content"
|
1715
|
+
}
|
1716
|
+
]
|
1717
|
+
},
|
1718
|
+
"qq_double_string_content": {
|
1719
|
+
"begin": "\"",
|
1720
|
+
"end": "\"",
|
1721
|
+
"patterns": [
|
1722
|
+
{
|
1723
|
+
"include": "#qq_double_string_content"
|
1724
|
+
}
|
1725
|
+
]
|
1726
|
+
},
|
1727
|
+
"qq_paren_string_content": {
|
1728
|
+
"begin": "\\(",
|
1729
|
+
"end": "\\)",
|
1730
|
+
"patterns": [
|
1731
|
+
{
|
1732
|
+
"include": "#qq_paren_string_content"
|
1733
|
+
}
|
1734
|
+
]
|
1735
|
+
},
|
1736
|
+
"qq_single_string_content": {
|
1737
|
+
"begin": "'",
|
1738
|
+
"end": "'",
|
1739
|
+
"patterns": [
|
1740
|
+
{
|
1741
|
+
"include": "#qq_single_string_content"
|
1742
|
+
}
|
1743
|
+
]
|
1744
|
+
},
|
1745
|
+
"qq_slash_string_content": {
|
1746
|
+
"begin": "\\\\/",
|
1747
|
+
"end": "\\\\/",
|
1748
|
+
"patterns": [
|
1749
|
+
{
|
1750
|
+
"include": "#qq_slash_string_content"
|
1751
|
+
}
|
1752
|
+
]
|
1753
|
+
}
|
1754
|
+
}
|
1755
|
+
}
|