github-linguist 7.11.0 → 7.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/linguist/lex.linguist_yy.c +1123 -623
- data/ext/linguist/lex.linguist_yy.h +433 -66
- data/ext/linguist/linguist.c +5 -35
- data/ext/linguist/linguist.h +0 -18
- data/ext/linguist/tokenizer.l +83 -65
- data/grammars/annotation.liquidhaskell.haskell.json +1 -1835
- data/grammars/config.xcompose.json +1 -80
- data/grammars/documentation.markdown.injection.haxe.json +1 -22
- data/grammars/etc.json +1 -987
- data/grammars/file.lasso.json +1 -702
- data/grammars/hidden.manref.json +1 -29
- data/grammars/hidden.regexp.injection-shell.json +1 -28
- data/grammars/hint.haskell.json +1 -1762
- data/grammars/hint.message.haskell.json +1 -1786
- data/grammars/hint.type.haskell.json +1 -1759
- data/grammars/injections.etc.json +1 -659
- data/grammars/inline.prisma.json +1 -55
- data/grammars/markdown.hack.codeblock.json +1 -20
- data/grammars/markdown.haxe.codeblock.json +1 -26
- data/grammars/markdown.hxml.codeblock.json +1 -26
- data/grammars/markdown.lean.codeblock.json +1 -0
- data/grammars/markdown.plantuml.codeblock.json +1 -26
- data/grammars/objdump.x86asm.json +1 -69
- data/grammars/source.4dm.json +1 -1156
- data/grammars/source.SASLog.json +1 -18
- data/grammars/source.abap.json +1 -335
- data/grammars/source.abapcds.json +1 -0
- data/grammars/source.abl.json +1 -734
- data/grammars/source.abnf.json +1 -294
- data/grammars/source.actionscript.3.json +1 -1538
- data/grammars/source.acucobol.json +1 -13
- data/grammars/source.ada.json +1 -133
- data/grammars/source.afm.json +1 -1207
- data/grammars/source.agc.json +1 -87
- data/grammars/source.agda.json +1 -72
- data/grammars/source.ahk.json +1 -195
- data/grammars/source.al.json +1 -130
- data/grammars/source.alloy.json +1 -40
- data/grammars/source.ampl.json +1 -151
- data/grammars/source.angelscript.json +1 -186
- data/grammars/source.antlr.json +1 -295
- data/grammars/source.apache-config.json +1 -346
- data/grammars/source.apache-config.mod_perl.json +1 -65
- data/grammars/source.apl.json +1 -1427
- data/grammars/source.applescript.json +1 -1384
- data/grammars/source.asl.json +1 -56
- data/grammars/source.asn.json +1 -55
- data/grammars/source.asp.json +1 -151
- data/grammars/source.aspectj.json +1 -960
- data/grammars/source.assembly.json +1 -116
- data/grammars/source.ats.json +1 -164
- data/grammars/source.autoit.json +1 -167
- data/grammars/source.avro.json +1 -381
- data/grammars/source.awk.json +1 -384
- data/grammars/source.ballerina.json +1 -1785
- data/grammars/source.batchfile.json +1 -732
- data/grammars/source.bdf.json +1 -425
- data/grammars/source.befunge.json +1 -34
- data/grammars/source.bf.json +1 -30
- data/grammars/source.blitzmax.json +1 -905
- data/grammars/source.bnf.json +1 -191
- data/grammars/source.boo.json +1 -448
- data/grammars/source.boogie.json +1 -0
- data/grammars/source.brightauthorproject.json +1 -24
- data/grammars/source.brightscript.json +1 -148
- data/grammars/source.bsl.json +1 -451
- data/grammars/source.bsv.json +1 -277
- data/grammars/source.c++.json +1 -436
- data/grammars/source.c++.qt.json +1 -29
- data/grammars/source.c.ec.json +1 -33
- data/grammars/source.c.json +1 -712
- data/grammars/source.c.nwscript.json +1 -0
- data/grammars/source.c.platform.json +1 -1115
- data/grammars/source.c2hs.json +1 -24
- data/grammars/source.cabal.json +1 -63
- data/grammars/source.cache.cmake.json +1 -70
- data/grammars/source.cake.json +1 -13
- data/grammars/source.camlp4.ocaml.json +1 -60
- data/grammars/source.capnp.json +1 -88
- data/grammars/source.ceylon.json +1 -93
- data/grammars/source.cfscript.cfc.json +1 -162
- data/grammars/source.cfscript.json +1 -737
- data/grammars/source.changelogs.rpm-spec.json +1 -91
- data/grammars/source.chapel.json +1 -265
- data/grammars/source.cirru.json +1 -61
- data/grammars/source.clarion.json +1 -146
- data/grammars/source.clean.json +1 -222
- data/grammars/source.click.json +1 -107
- data/grammars/source.clips.json +1 -67
- data/grammars/source.clojure.json +1 -429
- data/grammars/source.cm.json +1 -49
- data/grammars/source.cmake.json +1 -173
- data/grammars/source.cobol.json +1 -485
- data/grammars/source.coffee.json +1 -1310
- data/grammars/source.cool.json +1 -96
- data/grammars/source.coq.json +1 -58
- data/grammars/source.crystal.json +1 -2694
- data/grammars/source.cs.json +1 -4323
- data/grammars/source.csound-document.json +1 -175
- data/grammars/source.csound-score.json +1 -191
- data/grammars/source.csound.json +1 -824
- data/grammars/source.css.json +1 -1859
- data/grammars/source.css.less.json +1 -536
- data/grammars/source.css.mss.json +1 -249
- data/grammars/source.css.postcss.sugarss.json +1 -260
- data/grammars/source.css.scss.json +1 -1873
- data/grammars/source.csx.json +1 -13
- data/grammars/source.cuda-c++.json +1 -103
- data/grammars/source.curlrc.json +1 -984
- data/grammars/source.cwl.json +1 -103
- data/grammars/source.cython.json +1 -1912
- data/grammars/source.d.json +1 -741
- data/grammars/source.dart.json +1 -433
- data/grammars/source.data-weave.json +1 -1580
- data/grammars/source.desktop.json +1 -86
- data/grammars/source.diff.json +1 -153
- data/grammars/source.dircolors.json +1 -137
- data/grammars/source.direct-x.json +1 -135
- data/grammars/source.disasm.json +1 -30
- data/grammars/source.ditroff.desc.json +1 -411
- data/grammars/source.ditroff.json +1 -1280
- data/grammars/source.dm.json +1 -628
- data/grammars/source.dmf.json +1 -96
- data/grammars/source.dockerfile.json +1 -88
- data/grammars/source.dosbox-conf.json +1 -97
- data/grammars/source.dot.json +1 -117
- data/grammars/source.dylan.json +1 -212
- data/grammars/source.ebnf.json +1 -240
- data/grammars/source.editorconfig.json +1 -365
- data/grammars/source.eiffel.json +1 -133
- data/grammars/source.elixir.json +1 -965
- data/grammars/source.elm.json +1 -375
- data/grammars/source.emacs.lisp.json +1 -1301
- data/grammars/source.erlang.json +1 -1647
- data/grammars/source.essl.json +1 -37
- data/grammars/source.factor.json +1 -252
- data/grammars/source.fan.json +1 -341
- data/grammars/source.fancy.json +1 -245
- data/grammars/source.faust.json +1 -119
- data/grammars/source.figctrl.json +1 -252
- data/grammars/source.figfont.json +1 -121
- data/grammars/source.firestore.json +1 -289
- data/grammars/source.fish.json +1 -190
- data/grammars/source.fontdir.json +1 -99
- data/grammars/source.fontforge.json +1 -355
- data/grammars/source.forth.json +1 -84
- data/grammars/source.fortran.json +1 -464
- data/grammars/source.fortran.modern.json +1 -200
- data/grammars/source.fsharp.fsi.json +1 -9
- data/grammars/source.fsharp.fsl.json +1 -9
- data/grammars/source.fsharp.fsx.json +1 -13
- data/grammars/source.fsharp.json +1 -452
- data/grammars/source.fstar.json +1 -439
- data/grammars/source.futhark.json +1 -167
- data/grammars/source.gap.json +1 -163
- data/grammars/source.gcode.json +1 -176
- data/grammars/source.gdb.json +1 -160
- data/grammars/source.gdb.session.json +1 -70
- data/grammars/source.gdbregs.json +1 -14
- data/grammars/source.gdscript.json +1 -245
- data/grammars/source.gedcom.json +1 -196
- data/grammars/source.generic-db.json +1 -41
- data/grammars/source.gerber.json +1 -321
- data/grammars/source.gf.json +1 -51
- data/grammars/source.gfm.blade.json +1 -15
- data/grammars/source.gfm.json +1 -1913
- data/grammars/source.gitattributes.json +1 -111
- data/grammars/source.gitconfig.json +1 -450
- data/grammars/source.gitignore.json +1 -140
- data/grammars/source.glsl.json +1 -139
- data/grammars/source.gn.json +1 -345
- data/grammars/source.gnuplot.json +1 -260
- data/grammars/source.go.json +1 -540
- data/grammars/source.golo.json +1 -177
- data/grammars/source.gosu.2.json +1 -153
- data/grammars/source.grace.json +1 -675
- data/grammars/source.graphql.json +1 -978
- data/grammars/source.gremlin.json +1 -200
- data/grammars/source.groovy.gradle.json +1 -69
- data/grammars/source.groovy.json +1 -1374
- data/grammars/source.hack.json +1 -2595
- data/grammars/source.haproxy-config.json +1 -152
- data/grammars/source.harbour.json +1 -388
- data/grammars/source.haskell.json +1 -1760
- data/grammars/source.hc.json +1 -709
- data/grammars/source.hgignore.json +1 -34
- data/grammars/source.hlsl.json +1 -211
- data/grammars/source.hosts.json +1 -40
- data/grammars/source.hql.json +1 -492
- data/grammars/source.hsc2hs.json +1 -9
- data/grammars/source.hsig.json +1 -1760
- data/grammars/source.httpspec.json +1 -283
- data/grammars/source.hx.argument.json +1 -80
- data/grammars/source.hx.json +1 -2428
- data/grammars/source.hx.type.json +1 -8
- data/grammars/source.hxml.json +1 -59
- data/grammars/source.hy.json +1 -429
- data/grammars/source.ideal.json +1 -356
- data/grammars/source.idl-dlm.json +1 -105
- data/grammars/source.idl.json +1 -246
- data/grammars/source.idris.json +1 -523
- data/grammars/source.igor.json +1 -369
- data/grammars/source.inform7.json +1 -183
- data/grammars/source.ini.json +1 -107
- data/grammars/source.ini.npmrc.json +1 -311
- data/grammars/source.inno.json +1 -133
- data/grammars/source.inputrc.json +1 -500
- data/grammars/source.io.json +1 -156
- data/grammars/source.ioke.json +1 -266
- data/grammars/source.isabelle.root.json +1 -64
- data/grammars/source.isabelle.theory.json +1 -102
- data/grammars/source.j.json +1 -260
- data/grammars/source.jasmin.json +1 -294
- data/grammars/source.java-properties.json +1 -87
- data/grammars/source.java.json +1 -1020
- data/grammars/source.jcl.json +1 -46
- data/grammars/source.jflex.json +1 -484
- data/grammars/source.jison.json +1 -711
- data/grammars/source.jisonlex-injection.json +1 -10
- data/grammars/source.jisonlex.json +1 -434
- data/grammars/source.jolie.json +1 -132
- data/grammars/source.jq.json +1 -211
- data/grammars/source.js.json +1 -1897
- data/grammars/source.js.objj.json +1 -419
- data/grammars/source.js.regexp.json +1 -152
- data/grammars/source.js.regexp.replacement.json +1 -26
- data/grammars/source.jsdoc.json +1 -460
- data/grammars/source.json.json +1 -139
- data/grammars/source.jsonnet.json +1 -197
- data/grammars/source.julia.console.json +1 -51
- data/grammars/source.julia.json +1 -991
- data/grammars/source.kotlin.json +1 -704
- data/grammars/source.lark.json +1 -0
- data/grammars/source.lbnf.json +1 -0
- data/grammars/source.lcov.json +1 -398
- data/grammars/source.lean.json +1 -226
- data/grammars/source.lean.markdown.json +1 -2598
- data/grammars/source.lex.json +1 -232
- data/grammars/source.lex.regexp.json +1 -269
- data/grammars/source.lid.json +1 -19
- data/grammars/source.lilypond.json +1 -869
- data/grammars/source.lisp.json +1 -101
- data/grammars/source.litcoffee.json +1 -654
- data/grammars/source.livescript.json +1 -603
- data/grammars/source.llvm.json +1 -61
- data/grammars/source.logos.json +1 -24
- data/grammars/source.logtalk.json +1 -310
- data/grammars/source.loomscript.json +1 -208
- data/grammars/source.lsl.json +1 -241
- data/grammars/source.ltspice.symbol.json +1 -294
- data/grammars/source.lua.json +1 -275
- data/grammars/source.m2.json +1 -125
- data/grammars/source.m4.json +1 -229
- data/grammars/source.m68k.json +1 -412
- data/grammars/source.mailmap.json +1 -28
- data/grammars/source.makefile.json +1 -470
- data/grammars/source.makegen.json +1 -9
- data/grammars/source.man-conf.json +1 -153
- data/grammars/source.mask.json +1 -816
- data/grammars/source.mata.json +1 -125
- data/grammars/source.mathematica.json +1 -416
- data/grammars/source.matlab.json +1 -1096
- data/grammars/source.maxscript.json +1 -465
- data/grammars/source.mcfunction-snapshot.json +1 -24480
- data/grammars/source.mcfunction.json +1 -1354
- data/grammars/source.mercury.json +1 -246
- data/grammars/source.meson.json +1 -165
- data/grammars/source.meta-info.json +1 -146
- data/grammars/source.ml.json +1 -285
- data/grammars/source.mlir.json +1 -109
- data/grammars/source.modelica.json +1 -142
- data/grammars/source.modula-3.json +1 -88
- data/grammars/source.modula2.json +1 -94
- data/grammars/source.monkey.json +1 -694
- data/grammars/source.moonscript.json +1 -144
- data/grammars/source.mql5.json +1 -187
- data/grammars/source.msl.json +1 -755
- data/grammars/source.mupad.json +1 -131
- data/grammars/source.nanorc.json +1 -333
- data/grammars/source.nasl.json +1 -155
- data/grammars/source.ncl.json +1 -53
- data/grammars/source.ne.json +1 -105
- data/grammars/source.nemerle.json +1 -132
- data/grammars/source.neon.json +1 -381
- data/grammars/source.nesc.json +1 -21
- data/grammars/source.netlinx.erb.json +1 -34
- data/grammars/source.netlinx.json +1 -704
- data/grammars/source.nextflow-groovy.json +1 -1359
- data/grammars/source.nextflow.json +1 -94
- data/grammars/source.nginx.json +1 -815
- data/grammars/source.nim.comment.json +1 -82
- data/grammars/source.nim.json +1 -1083
- data/grammars/source.nim_filter.json +1 -113
- data/grammars/source.nimcfg.json +1 -103
- data/grammars/source.ninja.json +1 -248
- data/grammars/source.nit.json +1 -234
- data/grammars/source.nix.json +1 -1196
- data/grammars/source.nsis.json +1 -152
- data/grammars/source.nu.json +1 -516
- data/grammars/source.nunjucks.json +1 -0
- data/grammars/source.nut.json +1 -262
- data/grammars/source.objc++.json +1 -12
- data/grammars/source.objc.json +1 -910
- data/grammars/source.objc.platform.json +1 -842
- data/grammars/source.objectscript.json +1 -309
- data/grammars/source.objectscript_class.json +1 -674
- data/grammars/source.objectscript_csp.json +1 -19
- data/grammars/source.objectscript_macros.json +1 -226
- data/grammars/source.ocaml.json +1 -1418
- data/grammars/source.ocamllex.json +1 -298
- data/grammars/source.ocamlyacc.json +1 -339
- data/grammars/source.odin-ehr.json +1 -806
- data/grammars/source.odin.json +1 -402
- data/grammars/source.ooc.json +1 -685
- data/grammars/source.opa.json +1 -196
- data/grammars/source.opal.json +1 -410
- data/grammars/source.opalsysdefs.json +1 -66
- data/grammars/source.openbsd-pkg.contents.json +1 -128
- data/grammars/source.opencobol.json +1 -62
- data/grammars/source.opentype.json +1 -448
- data/grammars/source.opts.json +1 -108
- data/grammars/source.ox.json +1 -89
- data/grammars/source.oz.json +1 -77
- data/grammars/source.p4.json +1 -122
- data/grammars/source.paket.dependencies.json +1 -0
- data/grammars/source.paket.lock.json +1 -0
- data/grammars/source.pan.json +1 -706
- data/grammars/source.papyrus.skyrim.json +1 -1272
- data/grammars/source.parrot.pir.json +1 -145
- data/grammars/source.pascal.json +1 -143
- data/grammars/source.pawn.json +1 -1194
- data/grammars/source.pcb.board.json +1 -285
- data/grammars/source.pcb.schematic.json +1 -424
- data/grammars/source.pcb.sexp.json +1 -232
- data/grammars/source.pep8.json +1 -118
- data/grammars/source.perl.6.json +1 -309
- data/grammars/source.perl.json +1 -2519
- data/grammars/source.php.zephir.json +1 -353
- data/grammars/source.pic.json +1 -908
- data/grammars/source.pig_latin.json +1 -168
- data/grammars/source.pike.json +1 -49
- data/grammars/source.plist.json +1 -336
- data/grammars/source.po.json +1 -222
- data/grammars/source.pogoscript.json +1 -79
- data/grammars/source.pony.json +1 -245
- data/grammars/source.postcss.json +1 -370
- data/grammars/source.postscript.json +1 -477
- data/grammars/source.pov-ray sdl.json +1 -82
- data/grammars/source.powershell.json +1 -981
- data/grammars/source.prisma.json +1 -435
- data/grammars/source.processing.json +1 -872
- data/grammars/source.prolog.eclipse.json +1 -201
- data/grammars/source.prolog.json +1 -286
- data/grammars/source.protobuf.json +1 -471
- data/grammars/source.puppet.json +1 -433
- data/grammars/source.purescript.json +1 -861
- data/grammars/source.pyjade.json +1 -996
- data/grammars/source.python.django.json +1 -29
- data/grammars/source.python.json +1 -5292
- data/grammars/source.python.salt.json +1 -9
- data/grammars/source.q.json +1 -215
- data/grammars/source.q_output.json +1 -348
- data/grammars/source.qasm.json +1 -66
- data/grammars/source.ql.json +1 -1408
- data/grammars/source.qmake.json +1 -210
- data/grammars/source.qml.json +1 -174
- data/grammars/source.qsharp.json +1 -120
- data/grammars/source.quake.json +1 -44
- data/grammars/source.quoting.raku.json +1 -0
- data/grammars/source.r.json +1 -194
- data/grammars/source.racket.json +1 -98
- data/grammars/source.raku.json +1 -0
- data/grammars/source.rascal.json +1 -283
- data/grammars/source.reason.hover.type.json +1 -14
- data/grammars/source.reason.json +1 -3382
- data/grammars/source.rebol.json +1 -637
- data/grammars/source.record-jar.json +1 -0
- data/grammars/source.red.json +1 -644
- data/grammars/source.reg.json +1 -159
- data/grammars/source.regexp.extended.json +1 -558
- data/grammars/source.regexp.json +1 -1434
- data/grammars/source.regexp.posix.json +1 -0
- data/grammars/source.regexp.python.json +1 -490
- data/grammars/source.regexp.raku.json +1 -0
- data/grammars/source.regexp.spin.json +1 -179
- data/grammars/source.rego.json +1 -124
- data/grammars/source.renpy.json +1 -1948
- data/grammars/source.rescript.json +1 -0
- data/grammars/source.rexx.json +1 -52
- data/grammars/source.ring.json +1 -247
- data/grammars/source.rpm-spec.json +1 -765
- data/grammars/source.ruby.gemfile.json +1 -24
- data/grammars/source.ruby.json +1 -2605
- data/grammars/source.ruby.rspec.cucumber.steps.json +1 -261
- data/grammars/source.rust.json +1 -629
- data/grammars/source.sas.json +1 -286
- data/grammars/source.sass.json +1 -1089
- data/grammars/source.sassdoc.json +1 -346
- data/grammars/source.scad.json +1 -145
- data/grammars/source.scala.json +1 -1121
- data/grammars/source.scaml.json +1 -451
- data/grammars/source.scheme.json +1 -353
- data/grammars/source.scilab.json +1 -96
- data/grammars/source.sdbl.json +1 -90
- data/grammars/source.sed.json +1 -1520
- data/grammars/source.shaderlab.json +1 -198
- data/grammars/source.shell.json +1 -1272
- data/grammars/source.shen.json +1 -143
- data/grammars/source.sieve.json +1 -383
- data/grammars/source.slice.json +1 -2755
- data/grammars/source.smali.json +1 -1610
- data/grammars/source.smalltalk.json +1 -187
- data/grammars/source.smpl.json +1 -314
- data/grammars/source.smt.json +1 -158
- data/grammars/source.solidity.json +1 -189
- data/grammars/source.sourcepawn.json +1 -651
- data/grammars/source.sparql.json +1 -18
- data/grammars/source.spin.json +1 -916
- data/grammars/source.sqf.json +1 -111
- data/grammars/source.sql.json +1 -459
- data/grammars/source.ssh-config.json +1 -97
- data/grammars/source.stan.json +1 -388
- data/grammars/source.stata.json +1 -197
- data/grammars/source.strings.json +1 -49
- data/grammars/source.stylus.json +1 -1018
- data/grammars/source.supercollider.json +1 -93
- data/grammars/source.svelte.json +1 -827
- data/grammars/source.swift.json +1 -3134
- data/grammars/source.sy.json +1 -2954
- data/grammars/source.systemverilog.json +1 -1036
- data/grammars/source.tags.json +1 -266
- data/grammars/source.tcl.json +1 -260
- data/grammars/source.tea.json +1 -174
- data/grammars/source.terra.json +1 -138
- data/grammars/source.terraform.json +1 -694
- data/grammars/source.thrift.json +1 -698
- data/grammars/source.tl.json +1 -259
- data/grammars/source.tla.json +1 -140
- data/grammars/source.tnsaudit.json +1 -256
- data/grammars/source.toc.json +1 -52
- data/grammars/source.toml.json +1 -426
- data/grammars/source.ts.json +1 -5581
- data/grammars/source.tsql.json +1 -507
- data/grammars/source.tsx.json +1 -5834
- data/grammars/source.turing.json +1 -1553
- data/grammars/source.turtle.json +1 -489
- data/grammars/source.txl.json +1 -48
- data/grammars/source.ucd.nameslist.json +1 -444
- data/grammars/source.ucd.unidata.json +1 -570
- data/grammars/source.ucfconstraints.json +1 -67
- data/grammars/source.ur.json +1 -31
- data/grammars/source.v.json +1 -1010
- data/grammars/source.vala.json +1 -800
- data/grammars/source.varnish.vcl.json +1 -331
- data/grammars/source.vbnet.json +1 -239
- data/grammars/source.verilog.json +1 -296
- data/grammars/source.vhdl.json +1 -1374
- data/grammars/source.vim-snippet.json +1 -645
- data/grammars/source.viml.json +1 -1197
- data/grammars/source.vtt.json +1 -702
- data/grammars/source.vyper.json +1 -213
- data/grammars/source.wavefront.mtl.json +1 -1190
- data/grammars/source.wavefront.obj.json +1 -1341
- data/grammars/source.wdl.json +1 -220
- data/grammars/source.webassembly.json +1 -349
- data/grammars/source.webidl.json +1 -807
- data/grammars/source.wgetrc.json +1 -1640
- data/grammars/source.wollok.json +1 -100
- data/grammars/source.wsd.json +1 -781
- data/grammars/source.x10.json +1 -64
- data/grammars/source.x86.json +1 -299
- data/grammars/source.x86asm.json +1 -42
- data/grammars/source.xc.json +1 -371
- data/grammars/source.xlfd.json +1 -462
- data/grammars/source.xojo.json +1 -85
- data/grammars/source.xq.json +1 -230
- data/grammars/source.xtend.json +1 -724
- data/grammars/source.yacc.json +1 -626
- data/grammars/source.yaml.json +1 -443
- data/grammars/source.yaml.salt.json +1 -345
- data/grammars/source.yang.json +1 -78
- data/grammars/source.yara.json +1 -99
- data/grammars/source.yasnippet.json +1 -377
- data/grammars/source.zap.json +1 -260
- data/grammars/source.zeek.json +1 -412
- data/grammars/source.zenscript.json +1 -282
- data/grammars/source.zig.json +1 -547
- data/grammars/source.zil.json +1 -750
- data/grammars/text.bibtex.json +1 -246
- data/grammars/text.browserslist.json +1 -0
- data/grammars/text.cfml.basic.json +1 -735
- data/grammars/text.checksums.json +1 -0
- data/grammars/text.conllu.json +1 -45
- data/grammars/text.dfy.dafny.json +1 -188
- data/grammars/text.elixir.json +1 -52
- data/grammars/text.eml.basic.json +1 -296
- data/grammars/text.error-list.json +1 -53
- data/grammars/text.find-refs.json +1 -926
- data/grammars/text.gherkin.feature.json +1 -127
- data/grammars/text.haml.json +1 -518
- data/grammars/text.hamlc.json +1 -219
- data/grammars/text.html.asciidoc.json +1 -478
- data/grammars/text.html.asdoc.json +1 -529
- data/grammars/text.html.asp.json +1 -53
- data/grammars/text.html.basic.json +1 -908
- data/grammars/text.html.cfm.json +1 -802
- data/grammars/text.html.creole.json +1 -317
- data/grammars/text.html.cshtml.json +1 -356
- data/grammars/text.html.django.json +1 -63
- data/grammars/text.html.ecr.json +1 -48
- data/grammars/text.html.elixir.json +1 -21
- data/grammars/text.html.erb.json +1 -150
- data/grammars/text.html.erlang.yaws.json +1 -67
- data/grammars/text.html.factor.json +1 -19
- data/grammars/text.html.ftl.json +1 -76
- data/grammars/text.html.handlebars.json +1 -845
- data/grammars/text.html.javadoc.json +1 -426
- data/grammars/text.html.js.json +1 -24
- data/grammars/text.html.jsp.json +1 -1196
- data/grammars/text.html.liquid.json +1 -25
- data/grammars/text.html.mako.json +1 -726
- data/grammars/text.html.markdown.source.gfm.apib.json +1 -1298
- data/grammars/text.html.markdown.source.gfm.mson.json +1 -1156
- data/grammars/text.html.mediawiki.elm-build-output.json +1 -97
- data/grammars/text.html.mediawiki.elm-documentation.json +1 -17
- data/grammars/text.html.mediawiki.json +1 -946
- data/grammars/text.html.nunjucks.json +1 -0
- data/grammars/text.html.php.blade.json +1 -3833
- data/grammars/text.html.php.json +1 -2507
- data/grammars/text.html.riot.json +1 -788
- data/grammars/text.html.slash.json +1 -307
- data/grammars/text.html.smarty.json +1 -232
- data/grammars/text.html.soy.json +1 -606
- data/grammars/text.html.ssp.json +1 -43
- data/grammars/text.html.tcl.json +1 -37
- data/grammars/text.html.twig.json +1 -1344
- data/grammars/text.html.vue.json +1 -963
- data/grammars/text.idl-idldoc.json +1 -10
- data/grammars/text.jade.json +1 -963
- data/grammars/text.junit-test-report.json +1 -89
- data/grammars/text.log.latex.json +1 -84
- data/grammars/text.marko.json +1 -1662
- data/grammars/text.muse.json +1 -1471
- data/grammars/text.openbsd-pkg.desc.json +1 -78
- data/grammars/text.plain.json +1 -18
- data/grammars/text.python.console.json +1 -21
- data/grammars/text.python.traceback.json +1 -43
- data/grammars/text.rdoc.json +1 -44
- data/grammars/text.restructuredtext.clean.json +1 -24
- data/grammars/text.restructuredtext.json +1 -1765
- data/grammars/text.robot.json +1 -63
- data/grammars/text.roff.json +1 -6927
- data/grammars/text.rtf.json +1 -148
- data/grammars/text.runoff.json +1 -308
- data/grammars/text.sfd.json +1 -292
- data/grammars/text.shell-session.json +1 -29
- data/grammars/text.slim.json +1 -527
- data/grammars/text.srt.json +1 -166
- data/grammars/text.tex.json +1 -264
- data/grammars/text.tex.latex.beamer.json +1 -57
- data/grammars/text.tex.latex.haskell.json +1 -1826
- data/grammars/text.tex.latex.json +1 -1003
- data/grammars/text.tex.latex.memoir.json +1 -129
- data/grammars/text.tex.latex.rd.json +1 -111
- data/grammars/text.texinfo.json +1 -1525
- data/grammars/text.vim-help.json +1 -383
- data/grammars/text.xml.ant.json +1 -195
- data/grammars/text.xml.flex-config.json +1 -2628
- data/grammars/text.xml.genshi.json +1 -28
- data/grammars/text.xml.json +1 -351
- data/grammars/text.xml.plist.json +1 -664
- data/grammars/text.xml.pom.json +1 -769
- data/grammars/text.xml.svg.json +1 -562
- data/grammars/text.xml.xsl.json +1 -88
- data/grammars/text.zone_file.json +1 -67
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/classifier.rb +28 -17
- data/lib/linguist/generated.rb +23 -3
- data/lib/linguist/generic.yml +18 -0
- data/lib/linguist/heuristics.yml +57 -22
- data/lib/linguist/language.rb +4 -2
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +142 -25
- data/lib/linguist/linguist.bundle +0 -0
- data/lib/linguist/samples.json +1 -1
- data/lib/linguist/samples.rb +4 -4
- data/lib/linguist/{md5.rb → sha256.rb} +3 -3
- data/lib/linguist/strategy/extension.rb +13 -5
- data/lib/linguist/vendor.yml +1 -1
- metadata +23 -10
- data/ext/linguist/strndup.c +0 -10
- data/grammars/source.js.css.json +0 -328
- data/grammars/source.js.jsx.json +0 -2488
- data/grammars/source.perl6fe.json +0 -2769
- data/grammars/source.quoting.perl6fe.json +0 -2369
- data/grammars/source.regexp.perl6fe.json +0 -244
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"Regular Expressions in Raku","scopeName":"source.regexp.raku","patterns":[{"include":"#regexp"}],"repository":{"re_strings":{"patterns":[{"name":"string.literal.raku","begin":"(?\u003c!\\\\)\\'","end":"(?\u003c=\\\\\\\\)\\'|(?\u003c!\\\\)\\'"},{"name":"string.literal.raku","begin":"(?\u003c!\\\\)‘","end":"(?\u003c=\\\\\\\\)\\’|(?\u003c!\\\\)’","patterns":[{"include":"source.raku#q_left_single_right_single_string_content"}]},{"name":"string.literal.raku","begin":"(?\u003c!\\\\)\\\"","end":"(?\u003c=\\\\\\\\)\\\"|(?\u003c!\\\\)\\\""}]},"regexp":{"patterns":[{"begin":"(^[ \\t]+)?(?=#)","end":"(?!\\G)","patterns":[{"name":"comment.line.number-sign.raku","begin":"#","end":"\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.raku"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.raku"}}},{"include":"#re_strings"},{"name":"constant.character.escape.class.regexp.raku","match":"\\\\[dDhHnNsStTvVwW]"},{"name":"entity.name.section.adverb.raku","match":":\\w+"},{"name":"entity.name.section.boundary.regexp.raku","match":"\\^\\^|(?\u003c!\\.)\\^(?!\\.)|\\$\\$|\\$(?!\\d|\u003c)|\u003c\u003c|\u003e\u003e"},{"name":"keyword.other.special-method.match.variable.numbered.perlt6e","match":"(?\u003c!\\\\)\\$\\d"},{"name":"meta.match.variable.raku","match":"(\\$)(\\\u003c)(\\w+)(\\\u003e)\\s*(=)","captures":{"1":{"name":"variable.other.identifier.sigil.regexp.perl6"},"2":{"name":"support.class.match.name.delimiter.regexp.raku"},"3":{"name":"variable.other.identifier.regexp.perl6"},"4":{"name":"support.class.match.name.delimiter.regexp.raku"},"5":{"name":"storage.modifier.match.assignment.regexp.raku"}}},{"name":"meta.interpolation.raku","begin":"(\\\u003c(?:\\?|\\!)\\{)","end":"(\\}\\\u003e)","patterns":[{"include":"source.raku"}],"beginCaptures":{"1":{"name":"punctuation.section.embedded.begin.raku"}},"endCaptures":{"1":{"name":"punctuation.section.embedded.end.raku"}}},{"name":"keyword.operator.capture.marker.regexp.raku","match":"\u003c\\(|\\)\u003e"},{"name":"meta.property.regexp.raku","begin":"(?!\\\\)\u003c","end":"\u003e","patterns":[{"include":"#re_strings"},{"name":"meta.assertion.lookaround.raku","begin":"(\\?|\\!)(before|after)\\s+","end":"(?=\u003e)","patterns":[{"include":"#regexp"}],"beginCaptures":{"1":{"name":"keyword.operator.negativity.raku"},"2":{"name":"entity.name.section.assertion.raku"}}},{"name":"meta.capture.assignment.raku","match":"(\\w+)(=)","captures":{"1":{"name":"entity.name.function.capturename.raku"},"2":{"name":"storage.modifier.capture.assignment.raku"}}},{"name":"meta.property.name.regexp.raku","match":"(:)(\\w+)","captures":{"1":{"name":"punctuation.definition.property.regexp.raku"},"2":{"name":"variable.other.identifier.property.regexp.raku"}}},{"name":"keyword.operator.property.regexp.raku","match":"[+|\u0026\\-^]"},{"contentName":"constant.character.custom.property.regexp.raku","begin":"\\[","end":"\\]","patterns":[{"include":"source.raku#hex_escapes"},{"name":"constant.character.custom.property.regexp.raku","match":"(?\u003c!\\\\)\\\\\\]"}],"beginCaptures":{"0":{"name":"keyword.operator.charclass.open.regexp.raku"}},"endCaptures":{"0":{"name":"keyword.operator.charclass.close.regexp.raku"}}},{"name":"comment.suppressed.capture.property.regexp.raku","match":"\\.\\w+\\b"},{"name":"variable.other.identifier.regexname.raku","match":"\\b\\w+\\b"},{"name":"meta.rule.signature.raku","begin":"(?\u003c=\\w)\\(","end":"\\)","patterns":[{"include":"source.raku"}]}],"beginCaptures":{"0":{"name":"punctuation.delimiter.property.regexp.raku"}},"endCaptures":{"0":{"name":"punctuation.delimiter.property.regexp.raku"}}},{"name":"variable.other.identifier.whatever.regexp.raku","match":"(?\u003c=\\.\\.)\\*"},{"name":"keyword.operator.quantifiers.regexp.raku","match":"\\+|\\*\\*|\\*|\\?|%|\\.\\.|\\.|(?\u003c=\\.\\.|\\s|\\d)\\^"},{"name":"support.function.alternation.regexp.raku","match":"(?\u003c!\\\\)\\|{1,2}"}]}}}
|
@@ -1,179 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "Regular Expressions (spin)",
|
3
|
-
"scopeName": "source.regexp.spin",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"name": "keyword.control.anchor.regexp",
|
7
|
-
"match": "\\\\[bBAZzG]|\\^|\\$"
|
8
|
-
},
|
9
|
-
{
|
10
|
-
"name": "keyword.other.back-reference.regexp",
|
11
|
-
"match": "\\\\[1-9][0-9]?"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"name": "keyword.operator.quantifier.regexp",
|
15
|
-
"match": "[?+*][?+]?|\\{(\\d+,\\d+|\\d+,|,\\d+|\\d+)\\}\\??"
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"name": "keyword.operator.or.regexp",
|
19
|
-
"match": "\\|"
|
20
|
-
},
|
21
|
-
{
|
22
|
-
"name": "comment.block.regexp",
|
23
|
-
"begin": "\\(\\?\\#",
|
24
|
-
"end": "\\)"
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"name": "comment.line.number-sign.regexp",
|
28
|
-
"match": "(?\u003c=^|\\s)#\\s[[a-zA-Z0-9,. \\t?!-:][^\\x{00}-\\x{7F}]]*$"
|
29
|
-
},
|
30
|
-
{
|
31
|
-
"name": "keyword.other.option-toggle.regexp",
|
32
|
-
"match": "\\(\\?[iLmsux]+\\)"
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"name": "keyword.other.back-reference.named.regexp",
|
36
|
-
"match": "(\\()(\\?P=([a-zA-Z_][a-zA-Z_0-9]*\\w*))(\\))"
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"name": "meta.group.assertion.regexp",
|
40
|
-
"begin": "(\\()((\\?=)|(\\?!)|(\\?\u003c=)|(\\?\u003c!))",
|
41
|
-
"end": "(\\))",
|
42
|
-
"patterns": [
|
43
|
-
{
|
44
|
-
"include": "$self"
|
45
|
-
}
|
46
|
-
],
|
47
|
-
"beginCaptures": {
|
48
|
-
"1": {
|
49
|
-
"name": "punctuation.definition.group.regexp"
|
50
|
-
},
|
51
|
-
"2": {
|
52
|
-
"name": "punctuation.definition.group.assertion.regexp"
|
53
|
-
},
|
54
|
-
"3": {
|
55
|
-
"name": "meta.assertion.look-ahead.regexp"
|
56
|
-
},
|
57
|
-
"4": {
|
58
|
-
"name": "meta.assertion.negative-look-ahead.regexp"
|
59
|
-
},
|
60
|
-
"5": {
|
61
|
-
"name": "meta.assertion.look-behind.regexp"
|
62
|
-
},
|
63
|
-
"6": {
|
64
|
-
"name": "meta.assertion.negative-look-behind.regexp"
|
65
|
-
}
|
66
|
-
},
|
67
|
-
"endCaptures": {
|
68
|
-
"1": {
|
69
|
-
"name": "punctuation.definition.group.regexp"
|
70
|
-
}
|
71
|
-
}
|
72
|
-
},
|
73
|
-
{
|
74
|
-
"name": "meta.group.assertion.conditional.regexp",
|
75
|
-
"begin": "(\\()(\\?\\(([1-9][0-9]?|[a-zA-Z_][a-zA-Z_0-9]*)\\))",
|
76
|
-
"end": "(\\))",
|
77
|
-
"patterns": [
|
78
|
-
{
|
79
|
-
"include": "$self"
|
80
|
-
}
|
81
|
-
],
|
82
|
-
"beginCaptures": {
|
83
|
-
"1": {
|
84
|
-
"name": "punctuation.definition.group.regexp"
|
85
|
-
},
|
86
|
-
"2": {
|
87
|
-
"name": "punctuation.definition.group.assertion.conditional.regexp"
|
88
|
-
},
|
89
|
-
"3": {
|
90
|
-
"name": "entity.name.section.back-reference.regexp"
|
91
|
-
}
|
92
|
-
}
|
93
|
-
},
|
94
|
-
{
|
95
|
-
"name": "meta.group.regexp",
|
96
|
-
"begin": "(\\()((\\?P\u003c)([a-z]\\w*)(\u003e)|(\\?:))?",
|
97
|
-
"end": "(\\))",
|
98
|
-
"patterns": [
|
99
|
-
{
|
100
|
-
"include": "$self"
|
101
|
-
}
|
102
|
-
],
|
103
|
-
"beginCaptures": {
|
104
|
-
"1": {
|
105
|
-
"name": "punctuation.definition.group.regexp"
|
106
|
-
},
|
107
|
-
"3": {
|
108
|
-
"name": "punctuation.definition.group.capture.regexp"
|
109
|
-
},
|
110
|
-
"4": {
|
111
|
-
"name": "entity.name.section.group.regexp"
|
112
|
-
},
|
113
|
-
"5": {
|
114
|
-
"name": "punctuation.definition.group.capture.regexp"
|
115
|
-
},
|
116
|
-
"6": {
|
117
|
-
"name": "punctuation.definition.group.no-capture.regexp"
|
118
|
-
}
|
119
|
-
},
|
120
|
-
"endCaptures": {
|
121
|
-
"1": {
|
122
|
-
"name": "punctuation.definition.group.regexp"
|
123
|
-
}
|
124
|
-
}
|
125
|
-
},
|
126
|
-
{
|
127
|
-
"include": "#character-class"
|
128
|
-
}
|
129
|
-
],
|
130
|
-
"repository": {
|
131
|
-
"character-class": {
|
132
|
-
"patterns": [
|
133
|
-
{
|
134
|
-
"name": "constant.character.character-class.regexp",
|
135
|
-
"match": "\\\\[wWsSdDhH]|\\."
|
136
|
-
},
|
137
|
-
{
|
138
|
-
"name": "constant.character.escape.backslash.regexp",
|
139
|
-
"match": "\\\\."
|
140
|
-
},
|
141
|
-
{
|
142
|
-
"name": "constant.other.character-class.set.regexp",
|
143
|
-
"begin": "(\\[)(\\^)?",
|
144
|
-
"end": "(\\])",
|
145
|
-
"patterns": [
|
146
|
-
{
|
147
|
-
"include": "#character-class"
|
148
|
-
},
|
149
|
-
{
|
150
|
-
"name": "constant.other.character-class.range.regexp",
|
151
|
-
"match": "((\\\\.)|.)\\-((\\\\.)|[^\\]])",
|
152
|
-
"captures": {
|
153
|
-
"2": {
|
154
|
-
"name": "constant.character.escape.backslash.regexp"
|
155
|
-
},
|
156
|
-
"4": {
|
157
|
-
"name": "constant.character.escape.backslash.regexp"
|
158
|
-
}
|
159
|
-
}
|
160
|
-
}
|
161
|
-
],
|
162
|
-
"beginCaptures": {
|
163
|
-
"1": {
|
164
|
-
"name": "punctuation.definition.character-class.regexp"
|
165
|
-
},
|
166
|
-
"2": {
|
167
|
-
"name": "keyword.operator.negation.regexp"
|
168
|
-
}
|
169
|
-
},
|
170
|
-
"endCaptures": {
|
171
|
-
"1": {
|
172
|
-
"name": "punctuation.definition.character-class.regexp"
|
173
|
-
}
|
174
|
-
}
|
175
|
-
}
|
176
|
-
]
|
177
|
-
}
|
178
|
-
}
|
179
|
-
}
|
1
|
+
{"name":"Regular Expressions (spin)","scopeName":"source.regexp.spin","patterns":[{"name":"keyword.control.anchor.regexp","match":"\\\\[bBAZzG]|\\^|\\$"},{"name":"keyword.other.back-reference.regexp","match":"\\\\[1-9][0-9]?"},{"name":"keyword.operator.quantifier.regexp","match":"[?+*][?+]?|\\{(\\d+,\\d+|\\d+,|,\\d+|\\d+)\\}\\??"},{"name":"keyword.operator.or.regexp","match":"\\|"},{"name":"comment.block.regexp","begin":"\\(\\?\\#","end":"\\)"},{"name":"comment.line.number-sign.regexp","match":"(?\u003c=^|\\s)#\\s[[a-zA-Z0-9,. \\t?!-:][^\\x{00}-\\x{7F}]]*$"},{"name":"keyword.other.option-toggle.regexp","match":"\\(\\?[iLmsux]+\\)"},{"name":"keyword.other.back-reference.named.regexp","match":"(\\()(\\?P=([a-zA-Z_][a-zA-Z_0-9]*\\w*))(\\))"},{"name":"meta.group.assertion.regexp","begin":"(\\()((\\?=)|(\\?!)|(\\?\u003c=)|(\\?\u003c!))","end":"(\\))","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"punctuation.definition.group.regexp"},"2":{"name":"punctuation.definition.group.assertion.regexp"},"3":{"name":"meta.assertion.look-ahead.regexp"},"4":{"name":"meta.assertion.negative-look-ahead.regexp"},"5":{"name":"meta.assertion.look-behind.regexp"},"6":{"name":"meta.assertion.negative-look-behind.regexp"}},"endCaptures":{"1":{"name":"punctuation.definition.group.regexp"}}},{"name":"meta.group.assertion.conditional.regexp","begin":"(\\()(\\?\\(([1-9][0-9]?|[a-zA-Z_][a-zA-Z_0-9]*)\\))","end":"(\\))","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"punctuation.definition.group.regexp"},"2":{"name":"punctuation.definition.group.assertion.conditional.regexp"},"3":{"name":"entity.name.section.back-reference.regexp"}}},{"name":"meta.group.regexp","begin":"(\\()((\\?P\u003c)([a-z]\\w*)(\u003e)|(\\?:))?","end":"(\\))","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"punctuation.definition.group.regexp"},"3":{"name":"punctuation.definition.group.capture.regexp"},"4":{"name":"entity.name.section.group.regexp"},"5":{"name":"punctuation.definition.group.capture.regexp"},"6":{"name":"punctuation.definition.group.no-capture.regexp"}},"endCaptures":{"1":{"name":"punctuation.definition.group.regexp"}}},{"include":"#character-class"}],"repository":{"character-class":{"patterns":[{"name":"constant.character.character-class.regexp","match":"\\\\[wWsSdDhH]|\\."},{"name":"constant.character.escape.backslash.regexp","match":"\\\\."},{"name":"constant.other.character-class.set.regexp","begin":"(\\[)(\\^)?","end":"(\\])","patterns":[{"include":"#character-class"},{"name":"constant.other.character-class.range.regexp","match":"((\\\\.)|.)\\-((\\\\.)|[^\\]])","captures":{"2":{"name":"constant.character.escape.backslash.regexp"},"4":{"name":"constant.character.escape.backslash.regexp"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"},"2":{"name":"keyword.operator.negation.regexp"}},"endCaptures":{"1":{"name":"punctuation.definition.character-class.regexp"}}}]}}}
|
data/grammars/source.rego.json
CHANGED
@@ -1,124 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "Rego",
|
3
|
-
"scopeName": "source.rego",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"include": "#comment"
|
7
|
-
},
|
8
|
-
{
|
9
|
-
"include": "#keyword"
|
10
|
-
},
|
11
|
-
{
|
12
|
-
"include": "#operator"
|
13
|
-
},
|
14
|
-
{
|
15
|
-
"include": "#head"
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"include": "#term"
|
19
|
-
}
|
20
|
-
],
|
21
|
-
"repository": {
|
22
|
-
"call": {
|
23
|
-
"name": "meta.function-call.rego",
|
24
|
-
"match": "([a-zA-Z_][a-zA-Z0-9_]*)\\(",
|
25
|
-
"captures": {
|
26
|
-
"1": {
|
27
|
-
"name": "support.function.any-method.rego"
|
28
|
-
}
|
29
|
-
}
|
30
|
-
},
|
31
|
-
"comment": {
|
32
|
-
"name": "comment.line.number-sign.rego",
|
33
|
-
"match": "(#).*$\\n?",
|
34
|
-
"captures": {
|
35
|
-
"1": {
|
36
|
-
"name": "punctuation.definition.comment.rego"
|
37
|
-
}
|
38
|
-
}
|
39
|
-
},
|
40
|
-
"constant": {
|
41
|
-
"name": "constant.language.rego",
|
42
|
-
"match": "\\b(?:true|false|null)\\b"
|
43
|
-
},
|
44
|
-
"head": {
|
45
|
-
"name": "meta.function.rego",
|
46
|
-
"begin": "^([[:alpha:]_][[:alnum:]_]*)",
|
47
|
-
"end": "(=|{|\\n)",
|
48
|
-
"patterns": [
|
49
|
-
{
|
50
|
-
"include": "#term"
|
51
|
-
}
|
52
|
-
],
|
53
|
-
"beginCaptures": {
|
54
|
-
"1": {
|
55
|
-
"name": "entity.name.function.declaration"
|
56
|
-
}
|
57
|
-
}
|
58
|
-
},
|
59
|
-
"keyword": {
|
60
|
-
"name": "keyword.other.rego",
|
61
|
-
"match": "(^|\\s+)(?:(default|not|package|import|as|with|else|some))\\s+"
|
62
|
-
},
|
63
|
-
"number": {
|
64
|
-
"name": "constant.numeric.rego",
|
65
|
-
"match": "(?x: # turn on extended mode\n -? # an optional minus\n (?:\n 0 # a zero\n | # ...or...\n [1-9] # a 1-9 character\n \\d* # followed by zero or more digits\n )\n (?:\n (?:\n \\. # a period\n \\d+ # followed by one or more digits\n )?\n (?:\n [eE] # an e character\n [+-]? # followed by an option +/-\n \\d+ # followed by one or more digits\n )? # make exponent optional\n )? # make decimal portion optional\n )"
|
66
|
-
},
|
67
|
-
"operator": {
|
68
|
-
"patterns": [
|
69
|
-
{
|
70
|
-
"name": "keyword.operator.comparison.rego",
|
71
|
-
"match": "\\=|\\!\\=|\u003e|\u003c|\u003c\\=|\u003e\\=|\\+|-|\\*|%|/|\\||\u0026|:\\="
|
72
|
-
}
|
73
|
-
]
|
74
|
-
},
|
75
|
-
"string": {
|
76
|
-
"name": "string.quoted.double.rego",
|
77
|
-
"begin": "\"",
|
78
|
-
"end": "\"",
|
79
|
-
"patterns": [
|
80
|
-
{
|
81
|
-
"name": "constant.character.escape.rego",
|
82
|
-
"match": "(?x: # turn on extended mode\n\t \\\\ # a literal backslash\n\t (?: # ...followed by...\n\t [\"\\\\/bfnrt] # one of these characters\n\t | # ...or...\n\t u # a u\n\t [0-9a-fA-F]{4} # and four hex digits\n\t )\n\t )"
|
83
|
-
},
|
84
|
-
{
|
85
|
-
"name": "invalid.illegal.unrecognized-string-escape.rego",
|
86
|
-
"match": "\\\\."
|
87
|
-
}
|
88
|
-
],
|
89
|
-
"beginCaptures": {
|
90
|
-
"0": {
|
91
|
-
"name": "punctuation.definition.string.begin.rego"
|
92
|
-
}
|
93
|
-
},
|
94
|
-
"endCaptures": {
|
95
|
-
"0": {
|
96
|
-
"name": "punctuation.definition.string.end.rego"
|
97
|
-
}
|
98
|
-
}
|
99
|
-
},
|
100
|
-
"term": {
|
101
|
-
"patterns": [
|
102
|
-
{
|
103
|
-
"include": "#constant"
|
104
|
-
},
|
105
|
-
{
|
106
|
-
"include": "#string"
|
107
|
-
},
|
108
|
-
{
|
109
|
-
"include": "#number"
|
110
|
-
},
|
111
|
-
{
|
112
|
-
"include": "#call"
|
113
|
-
},
|
114
|
-
{
|
115
|
-
"include": "#variable"
|
116
|
-
}
|
117
|
-
]
|
118
|
-
},
|
119
|
-
"variable": {
|
120
|
-
"name": "meta.identifier.rego",
|
121
|
-
"match": "\\b[[:alpha:]_][[:alnum:]_]*\\b"
|
122
|
-
}
|
123
|
-
}
|
124
|
-
}
|
1
|
+
{"name":"Rego","scopeName":"source.rego","patterns":[{"include":"#comment"},{"include":"#keyword"},{"include":"#operator"},{"include":"#head"},{"include":"#term"}],"repository":{"call":{"name":"meta.function-call.rego","match":"([a-zA-Z_][a-zA-Z0-9_]*)\\(","captures":{"1":{"name":"support.function.any-method.rego"}}},"comment":{"name":"comment.line.number-sign.rego","match":"(#).*$\\n?","captures":{"1":{"name":"punctuation.definition.comment.rego"}}},"constant":{"name":"constant.language.rego","match":"\\b(?:true|false|null)\\b"},"head":{"name":"meta.function.rego","begin":"^([[:alpha:]_][[:alnum:]_]*)","end":"(=|{|\\n)","patterns":[{"include":"#term"}],"beginCaptures":{"1":{"name":"entity.name.function.declaration"}}},"keyword":{"name":"keyword.other.rego","match":"(^|\\s+)(?:(default|not|package|import|as|with|else|some))\\s+"},"number":{"name":"constant.numeric.rego","match":"(?x: # turn on extended mode\n -? # an optional minus\n (?:\n 0 # a zero\n | # ...or...\n [1-9] # a 1-9 character\n \\d* # followed by zero or more digits\n )\n (?:\n (?:\n \\. # a period\n \\d+ # followed by one or more digits\n )?\n (?:\n [eE] # an e character\n [+-]? # followed by an option +/-\n \\d+ # followed by one or more digits\n )? # make exponent optional\n )? # make decimal portion optional\n )"},"operator":{"patterns":[{"name":"keyword.operator.comparison.rego","match":"\\=|\\!\\=|\u003e|\u003c|\u003c\\=|\u003e\\=|\\+|-|\\*|%|/|\\||\u0026|:\\="}]},"string":{"name":"string.quoted.double.rego","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.rego","match":"(?x: # turn on extended mode\n\t \\\\ # a literal backslash\n\t (?: # ...followed by...\n\t [\"\\\\/bfnrt] # one of these characters\n\t | # ...or...\n\t u # a u\n\t [0-9a-fA-F]{4} # and four hex digits\n\t )\n\t )"},{"name":"invalid.illegal.unrecognized-string-escape.rego","match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.rego"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.rego"}}},"term":{"patterns":[{"include":"#constant"},{"include":"#string"},{"include":"#number"},{"include":"#call"},{"include":"#variable"}]},"variable":{"name":"meta.identifier.rego","match":"\\b[[:alpha:]_][[:alnum:]_]*\\b"}}}
|
data/grammars/source.renpy.json
CHANGED
@@ -1,1948 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "Ren'Py",
|
3
|
-
"scopeName": "source.renpy",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"begin": "(^[ \\t]+)?(?=#)",
|
7
|
-
"end": "(?!\\G)",
|
8
|
-
"patterns": [
|
9
|
-
{
|
10
|
-
"name": "comment.line.number-sign.python.renpy",
|
11
|
-
"begin": "#",
|
12
|
-
"end": "\\n",
|
13
|
-
"beginCaptures": {
|
14
|
-
"0": {
|
15
|
-
"name": "punctuation.definition.comment.python.renpy"
|
16
|
-
}
|
17
|
-
}
|
18
|
-
}
|
19
|
-
],
|
20
|
-
"beginCaptures": {
|
21
|
-
"1": {
|
22
|
-
"name": "punctuation.whitespace.comment.leading.python.renpy"
|
23
|
-
}
|
24
|
-
}
|
25
|
-
},
|
26
|
-
{
|
27
|
-
"name": "constant.numeric.integer.long.hexadecimal.python.renpy",
|
28
|
-
"match": "\\b(?i:(0x[[:xdigit:]]*)L)"
|
29
|
-
},
|
30
|
-
{
|
31
|
-
"name": "constant.numeric.integer.hexadecimal.python.renpy",
|
32
|
-
"match": "\\b(?i:(0x[[:xdigit:]]*))"
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"name": "constant.numeric.integer.long.octal.python.renpy",
|
36
|
-
"match": "\\b(?i:(0[0-7]+)L)"
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"name": "constant.numeric.integer.octal.python.renpy",
|
40
|
-
"match": "\\b(0[0-7]+)"
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"name": "constant.numeric.complex.python.renpy",
|
44
|
-
"match": "\\b(?i:(((\\d+(\\.(?=[^a-zA-Z_])\\d*)?|(?\u003c=[^0-9a-zA-Z_])\\.\\d+)(e[\\-\\+]?\\d+)?))J)"
|
45
|
-
},
|
46
|
-
{
|
47
|
-
"name": "constant.numeric.float.python.renpy",
|
48
|
-
"match": "\\b(?i:(\\d+\\.\\d*(e[\\-\\+]?\\d+)?))(?=[^a-zA-Z_])"
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"name": "constant.numeric.float.python.renpy",
|
52
|
-
"match": "(?\u003c=[^0-9a-zA-Z_])(?i:(\\.\\d+(e[\\-\\+]?\\d+)?))"
|
53
|
-
},
|
54
|
-
{
|
55
|
-
"name": "constant.numeric.float.python.renpy",
|
56
|
-
"match": "\\b(?i:(\\d+e[\\-\\+]?\\d+))"
|
57
|
-
},
|
58
|
-
{
|
59
|
-
"name": "constant.numeric.integer.long.decimal.python.renpy",
|
60
|
-
"match": "\\b(?i:([1-9]+[0-9]*|0)L)"
|
61
|
-
},
|
62
|
-
{
|
63
|
-
"name": "constant.numeric.integer.decimal.python.renpy",
|
64
|
-
"match": "\\b([1-9]+[0-9]*|0)"
|
65
|
-
},
|
66
|
-
{
|
67
|
-
"match": "\\b(global)\\b",
|
68
|
-
"captures": {
|
69
|
-
"1": {
|
70
|
-
"name": "storage.modifier.global.python.renpy"
|
71
|
-
}
|
72
|
-
}
|
73
|
-
},
|
74
|
-
{
|
75
|
-
"match": "\\b(nonlocal)\\b",
|
76
|
-
"captures": {
|
77
|
-
"1": {
|
78
|
-
"name": "storage.modifier.nonlocal.python.renpy"
|
79
|
-
}
|
80
|
-
}
|
81
|
-
},
|
82
|
-
{
|
83
|
-
"match": "\\b(?:(import)|(from))\\b",
|
84
|
-
"captures": {
|
85
|
-
"1": {
|
86
|
-
"name": "keyword.control.import.python.renpy"
|
87
|
-
},
|
88
|
-
"2": {
|
89
|
-
"name": "keyword.control.import.from.python.renpy"
|
90
|
-
}
|
91
|
-
}
|
92
|
-
},
|
93
|
-
{
|
94
|
-
"name": "keyword.control.conditional.python.renpy",
|
95
|
-
"match": "\\b(if|elif|else)\\b"
|
96
|
-
},
|
97
|
-
{
|
98
|
-
"name": "keyword.control.exception.python.renpy",
|
99
|
-
"match": "\\b(except|finally|try|raise)\\b"
|
100
|
-
},
|
101
|
-
{
|
102
|
-
"name": "keyword.control.repeat.python.renpy",
|
103
|
-
"match": "\\b(for|while)\\b"
|
104
|
-
},
|
105
|
-
{
|
106
|
-
"match": "\\b(assert|del|exec|print)\\b",
|
107
|
-
"captures": {
|
108
|
-
"1": {
|
109
|
-
"name": "keyword.other.python.renpy"
|
110
|
-
}
|
111
|
-
}
|
112
|
-
},
|
113
|
-
{
|
114
|
-
"name": "invalid.deprecated.operator.python.renpy",
|
115
|
-
"match": "\u003c\u003e"
|
116
|
-
},
|
117
|
-
{
|
118
|
-
"name": "keyword.operator.comparison.python.renpy",
|
119
|
-
"match": "\u003c\\=|\u003e\\=|\\=\\=|\u003c|\u003e|\\!\\="
|
120
|
-
},
|
121
|
-
{
|
122
|
-
"name": "keyword.operator.assignment.augmented.python.renpy",
|
123
|
-
"match": "\\+\\=|-\\=|\\*\\=|/\\=|//\\=|%\\=|\u0026\\=|\\|\\=|\\^\\=|\u003e\u003e\\=|\u003c\u003c\\=|\\*\\*\\="
|
124
|
-
},
|
125
|
-
{
|
126
|
-
"name": "keyword.operator.arithmetic.python.renpy",
|
127
|
-
"match": "\\+|\\-|\\*|\\*\\*|/|//|%|\u003c\u003c|\u003e\u003e|\u0026|\\||\\^|~"
|
128
|
-
},
|
129
|
-
{
|
130
|
-
"name": "keyword.operator.assignment.python.renpy",
|
131
|
-
"match": "\\="
|
132
|
-
},
|
133
|
-
{
|
134
|
-
"match": "^\\s*(label)\\s*([a-zA-Z_][a-zA-Z_0-9]*)",
|
135
|
-
"captures": {
|
136
|
-
"1": {
|
137
|
-
"name": "keyword.python.renpy"
|
138
|
-
},
|
139
|
-
"2": {
|
140
|
-
"name": "entity.name.section.python.renpy.label.renpy"
|
141
|
-
}
|
142
|
-
}
|
143
|
-
},
|
144
|
-
{
|
145
|
-
"match": "^\\s*(menu)\\s*([a-zA-Z_][a-zA-Z_0-9]*)",
|
146
|
-
"captures": {
|
147
|
-
"1": {
|
148
|
-
"name": "keyword.python.renpy"
|
149
|
-
},
|
150
|
-
"2": {
|
151
|
-
"name": "entity.name.section.python.renpy.menu.renpy"
|
152
|
-
}
|
153
|
-
}
|
154
|
-
},
|
155
|
-
{
|
156
|
-
"match": "^\\s*(screen)\\s*([a-zA-Z_][a-zA-Z_0-9]*)",
|
157
|
-
"captures": {
|
158
|
-
"1": {
|
159
|
-
"name": "keyword.python.renpy"
|
160
|
-
},
|
161
|
-
"2": {
|
162
|
-
"name": "entity.name.class.python.renpy.screen.renpy"
|
163
|
-
}
|
164
|
-
}
|
165
|
-
},
|
166
|
-
{
|
167
|
-
"match": "^\\s*(image)\\s+([a-zA-Z_0-9 ]*)",
|
168
|
-
"captures": {
|
169
|
-
"1": {
|
170
|
-
"name": "keyword.python.renpy"
|
171
|
-
},
|
172
|
-
"2": {
|
173
|
-
"name": "entity.name.class.image.python.renpy"
|
174
|
-
}
|
175
|
-
}
|
176
|
-
},
|
177
|
-
{
|
178
|
-
"match": "^\\s*(transform)\\s+([a-zA-Z_][a-zA-Z_0-9]*)",
|
179
|
-
"captures": {
|
180
|
-
"1": {
|
181
|
-
"name": "keyword.python.renpy"
|
182
|
-
},
|
183
|
-
"2": {
|
184
|
-
"name": "entity.name.section.python.renpy.transform.renpy"
|
185
|
-
}
|
186
|
-
}
|
187
|
-
},
|
188
|
-
{
|
189
|
-
"match": "^\\s*(style)\\s+([a-zA-Z_][a-zA-Z_0-9]*)",
|
190
|
-
"captures": {
|
191
|
-
"1": {
|
192
|
-
"name": "keyword.python.renpy"
|
193
|
-
},
|
194
|
-
"2": {
|
195
|
-
"name": "entity.name.tag.python.renpy.style.renpy"
|
196
|
-
}
|
197
|
-
}
|
198
|
-
},
|
199
|
-
{
|
200
|
-
"match": "^\\s*(define|default)\\s+([a-zA-Z_0-9\\.]*)",
|
201
|
-
"captures": {
|
202
|
-
"1": {
|
203
|
-
"name": "keyword.python.renpy"
|
204
|
-
},
|
205
|
-
"2": {
|
206
|
-
"name": "meta.definition.variable.python.renpy.renpy"
|
207
|
-
}
|
208
|
-
}
|
209
|
-
},
|
210
|
-
{
|
211
|
-
"name": "meta.class.old-style.python.renpy",
|
212
|
-
"contentName": "entity.name.type.class.python.renpy",
|
213
|
-
"begin": "^\\s*(class)\\s+(?=[a-zA-Z_][a-zA-Z_0-9]*\\s*\\:)",
|
214
|
-
"end": "\\s*(:)",
|
215
|
-
"patterns": [
|
216
|
-
{
|
217
|
-
"include": "#entity_name_class"
|
218
|
-
}
|
219
|
-
],
|
220
|
-
"beginCaptures": {
|
221
|
-
"1": {
|
222
|
-
"name": "storage.type.class.python.renpy"
|
223
|
-
}
|
224
|
-
},
|
225
|
-
"endCaptures": {
|
226
|
-
"1": {
|
227
|
-
"name": "punctuation.section.class.begin.python.renpy"
|
228
|
-
}
|
229
|
-
}
|
230
|
-
},
|
231
|
-
{
|
232
|
-
"name": "meta.class.python.renpy",
|
233
|
-
"begin": "^\\s*(class)\\s+(?=[a-zA-Z_][a-zA-Z_0-9]*\\s*\\()",
|
234
|
-
"end": "(\\))\\s*(?:(\\:)|(.*$\\n?))",
|
235
|
-
"patterns": [
|
236
|
-
{
|
237
|
-
"contentName": "entity.name.type.class.python.renpy",
|
238
|
-
"begin": "(?=[A-Za-z_][A-Za-z0-9_]*)",
|
239
|
-
"end": "(?![A-Za-z0-9_])",
|
240
|
-
"patterns": [
|
241
|
-
{
|
242
|
-
"include": "#entity_name_class"
|
243
|
-
}
|
244
|
-
]
|
245
|
-
},
|
246
|
-
{
|
247
|
-
"contentName": "meta.class.inheritance.python.renpy",
|
248
|
-
"begin": "(\\()",
|
249
|
-
"end": "(?=\\)|:)",
|
250
|
-
"patterns": [
|
251
|
-
{
|
252
|
-
"contentName": "entity.other.inherited-class.python.renpy",
|
253
|
-
"begin": "(?\u003c=\\(|,)\\s*",
|
254
|
-
"end": "\\s*(?:(,)|(?=\\)))",
|
255
|
-
"patterns": [
|
256
|
-
{
|
257
|
-
"include": "$self"
|
258
|
-
}
|
259
|
-
],
|
260
|
-
"endCaptures": {
|
261
|
-
"1": {
|
262
|
-
"name": "punctuation.separator.inheritance.python.renpy"
|
263
|
-
}
|
264
|
-
}
|
265
|
-
}
|
266
|
-
],
|
267
|
-
"beginCaptures": {
|
268
|
-
"1": {
|
269
|
-
"name": "punctuation.definition.inheritance.begin.python.renpy"
|
270
|
-
}
|
271
|
-
}
|
272
|
-
}
|
273
|
-
],
|
274
|
-
"beginCaptures": {
|
275
|
-
"1": {
|
276
|
-
"name": "storage.type.class.python.renpy"
|
277
|
-
}
|
278
|
-
},
|
279
|
-
"endCaptures": {
|
280
|
-
"1": {
|
281
|
-
"name": "punctuation.definition.inheritance.end.python.renpy"
|
282
|
-
},
|
283
|
-
"2": {
|
284
|
-
"name": "punctuation.section.class.begin.python.renpy"
|
285
|
-
},
|
286
|
-
"3": {
|
287
|
-
"name": "invalid.illegal.missing-section-begin.python.renpy"
|
288
|
-
}
|
289
|
-
}
|
290
|
-
},
|
291
|
-
{
|
292
|
-
"name": "meta.class.python.renpy",
|
293
|
-
"begin": "^\\s*(class)\\s+(?=[a-zA-Z_][a-zA-Z_0-9])",
|
294
|
-
"end": "(\\()|(\\s*$\\n?|#.*$\\n?)",
|
295
|
-
"patterns": [
|
296
|
-
{
|
297
|
-
"contentName": "entity.name.type.class.python.renpy",
|
298
|
-
"begin": "(?=[A-Za-z_][A-Za-z0-9_]*)",
|
299
|
-
"end": "(?![A-Za-z0-9_])",
|
300
|
-
"patterns": [
|
301
|
-
{
|
302
|
-
"include": "#entity_name_function"
|
303
|
-
}
|
304
|
-
]
|
305
|
-
}
|
306
|
-
],
|
307
|
-
"beginCaptures": {
|
308
|
-
"1": {
|
309
|
-
"name": "storage.type.class.python.renpy"
|
310
|
-
}
|
311
|
-
},
|
312
|
-
"endCaptures": {
|
313
|
-
"1": {
|
314
|
-
"name": "punctuation.definition.inheritance.begin.python.renpy"
|
315
|
-
},
|
316
|
-
"2": {
|
317
|
-
"name": "invalid.illegal.missing-inheritance.python.renpy"
|
318
|
-
}
|
319
|
-
}
|
320
|
-
},
|
321
|
-
{
|
322
|
-
"name": "meta.function.python.renpy",
|
323
|
-
"begin": "^\\s*(def)\\s+(?=[A-Za-z_][A-Za-z0-9_]*\\s*\\()",
|
324
|
-
"end": "(\\))\\s*(?:(\\:)|(.*$\\n?))",
|
325
|
-
"patterns": [
|
326
|
-
{
|
327
|
-
"contentName": "entity.name.function.python.renpy",
|
328
|
-
"begin": "(?=[A-Za-z_][A-Za-z0-9_]*)",
|
329
|
-
"end": "(?![A-Za-z0-9_])",
|
330
|
-
"patterns": [
|
331
|
-
{
|
332
|
-
"include": "#entity_name_function"
|
333
|
-
}
|
334
|
-
]
|
335
|
-
},
|
336
|
-
{
|
337
|
-
"contentName": "meta.function.parameters.python.renpy",
|
338
|
-
"begin": "(\\()",
|
339
|
-
"end": "(?=\\)\\s*\\:)",
|
340
|
-
"patterns": [
|
341
|
-
{
|
342
|
-
"include": "#keyword_arguments"
|
343
|
-
},
|
344
|
-
{
|
345
|
-
"match": "\\b([a-zA-Z_][a-zA-Z_0-9]*)\\s*(?:(,)|(?=[\\n\\)]))",
|
346
|
-
"captures": {
|
347
|
-
"1": {
|
348
|
-
"name": "variable.parameter.function.python.renpy"
|
349
|
-
},
|
350
|
-
"2": {
|
351
|
-
"name": "punctuation.separator.parameters.python.renpy"
|
352
|
-
}
|
353
|
-
}
|
354
|
-
}
|
355
|
-
],
|
356
|
-
"beginCaptures": {
|
357
|
-
"1": {
|
358
|
-
"name": "punctuation.definition.parameters.begin.python.renpy"
|
359
|
-
}
|
360
|
-
}
|
361
|
-
}
|
362
|
-
],
|
363
|
-
"beginCaptures": {
|
364
|
-
"1": {
|
365
|
-
"name": "storage.type.function.python.renpy"
|
366
|
-
}
|
367
|
-
},
|
368
|
-
"endCaptures": {
|
369
|
-
"1": {
|
370
|
-
"name": "punctuation.definition.parameters.end.python.renpy"
|
371
|
-
},
|
372
|
-
"2": {
|
373
|
-
"name": "punctuation.section.function.begin.python.renpy"
|
374
|
-
},
|
375
|
-
"3": {
|
376
|
-
"name": "invalid.illegal.missing-section-begin.python.renpy"
|
377
|
-
}
|
378
|
-
}
|
379
|
-
},
|
380
|
-
{
|
381
|
-
"name": "meta.function.python.renpy",
|
382
|
-
"begin": "^\\s*(def)\\s+(?=[A-Za-z_][A-Za-z0-9_]*)",
|
383
|
-
"end": "(\\()|\\s*($\\n?|#.*$\\n?)",
|
384
|
-
"patterns": [
|
385
|
-
{
|
386
|
-
"contentName": "entity.name.function.python.renpy",
|
387
|
-
"begin": "(?=[A-Za-z_][A-Za-z0-9_]*)",
|
388
|
-
"end": "(?![A-Za-z0-9_])",
|
389
|
-
"patterns": [
|
390
|
-
{
|
391
|
-
"include": "#entity_name_function"
|
392
|
-
}
|
393
|
-
]
|
394
|
-
}
|
395
|
-
],
|
396
|
-
"beginCaptures": {
|
397
|
-
"1": {
|
398
|
-
"name": "storage.type.function.python.renpy"
|
399
|
-
}
|
400
|
-
},
|
401
|
-
"endCaptures": {
|
402
|
-
"1": {
|
403
|
-
"name": "punctuation.definition.parameters.begin.python.renpy"
|
404
|
-
},
|
405
|
-
"2": {
|
406
|
-
"name": "invalid.illegal.missing-parameters.python.renpy"
|
407
|
-
}
|
408
|
-
}
|
409
|
-
},
|
410
|
-
{
|
411
|
-
"name": "meta.function.inline.python.renpy",
|
412
|
-
"begin": "(lambda)(?=\\s+)",
|
413
|
-
"end": "(\\:)",
|
414
|
-
"patterns": [
|
415
|
-
{
|
416
|
-
"contentName": "meta.function.inline.parameters.python.renpy",
|
417
|
-
"begin": "\\s+",
|
418
|
-
"end": "(?=\\:)",
|
419
|
-
"patterns": [
|
420
|
-
{
|
421
|
-
"include": "#keyword_arguments"
|
422
|
-
},
|
423
|
-
{
|
424
|
-
"match": "\\b([a-zA-Z_][a-zA-Z_0-9]*)\\s*(?:(,)|(?=[\\n\\)\\:]))",
|
425
|
-
"captures": {
|
426
|
-
"1": {
|
427
|
-
"name": "variable.parameter.function.python.renpy"
|
428
|
-
},
|
429
|
-
"2": {
|
430
|
-
"name": "punctuation.separator.parameters.python.renpy"
|
431
|
-
}
|
432
|
-
}
|
433
|
-
}
|
434
|
-
]
|
435
|
-
}
|
436
|
-
],
|
437
|
-
"beginCaptures": {
|
438
|
-
"1": {
|
439
|
-
"name": "storage.type.function.inline.python.renpy"
|
440
|
-
}
|
441
|
-
},
|
442
|
-
"endCaptures": {
|
443
|
-
"1": {
|
444
|
-
"name": "punctuation.definition.parameters.end.python.renpy"
|
445
|
-
},
|
446
|
-
"2": {
|
447
|
-
"name": "punctuation.section.function.begin.python.renpy"
|
448
|
-
},
|
449
|
-
"3": {
|
450
|
-
"name": "invalid.illegal.missing-section-begin.python.renpy"
|
451
|
-
}
|
452
|
-
}
|
453
|
-
},
|
454
|
-
{
|
455
|
-
"match": "\\b(def|lambda)\\b",
|
456
|
-
"captures": {
|
457
|
-
"1": {
|
458
|
-
"name": "storage.type.function.python.renpy"
|
459
|
-
}
|
460
|
-
}
|
461
|
-
},
|
462
|
-
{
|
463
|
-
"match": "\\b(class)\\b",
|
464
|
-
"captures": {
|
465
|
-
"1": {
|
466
|
-
"name": "storage.type.class.python.renpy"
|
467
|
-
}
|
468
|
-
}
|
469
|
-
},
|
470
|
-
{
|
471
|
-
"name": "keyword.python.renpy",
|
472
|
-
"match": "\\$"
|
473
|
-
},
|
474
|
-
{
|
475
|
-
"name": "keyword.python.renpy",
|
476
|
-
"match": "\\b(\\$|add|always|and|animation|as|assert|at|attribute|auto|bar|behind|block|break|button|call|choice|circles|class|clear|clockwise|contains|continue|counterclockwise|def|default|define|del|drag|draggroup|elif|else|event|except|exec|expression|finally|fixed|for|frame|from|function|global|grid|group|has|hbox|hide|hotbar|hotspot|if|image|imagebutton|imagemap|import|in|index|init|input|is|jump|key|knot|label|lambda|layeredimage|menu|monologue|mousearea|music|new|nointeract|not|null|nvl|offset|old|on|onlayer|or|parallel|pass|pause|play|print|python|queue|raise|repeat|return|rpy|scene|screen|show|showif|side|sound|stop|strings|style|sustain|tag|take|testcase|text|textbutton|time|timer|transclude|transform|translate|try|use|vbar|vbox|viewport|voice|vpgrid|while|window|with|yield|zorder)\\b"
|
477
|
-
},
|
478
|
-
{
|
479
|
-
"name": "entity.other.attribute-name.python.renpy",
|
480
|
-
"match": "\\b((?:action|activate_sound|activated|adjustment|allow|alpha|alternate|alternate_keysym|arguments|arrowkeys|at|auto|cache|caption|changed|child_size|clicked|cols|copypaste|default|drag_handle|drag_joined|drag_name|drag_offscreen|drag_raise|draggable|dragged|drop_allowable|droppable|dropped|edgescroll|exclude|focus|focus_mask|ground|height|hover|hovered|id|idle|image_style|insensitive|keysym|layer|length|min_overlap|modal|mouse_drop|mousewheel|pagekeys|pixel_width|predict|prefix|properties|range|repeat|rows|scope|scrollbars|selected|selected_hover|selected_idle|selected_insensitive|sensitive|slow|slow_done|spacing|style|style_group|style_prefix|style_suffix|substitute|suffix|text_style|transpose|unhovered|value|variant|width|xadjustment|xinitial|yadjustment|yinitial|zorder))\\b"
|
481
|
-
},
|
482
|
-
{
|
483
|
-
"name": "entity.other.attribute-name.python.renpy",
|
484
|
-
"match": "\\b((?:|activate_|hover_|idle_|insensitive_|selected_|selected_activate_|selected_hover_|selected_idle_|selected_insensitive_)(?:additive|adjust_spacing|align|alignaround|alpha|alt|anchor|angle|antialias|area|around|background|bar_invert|bar_resizing|bar_vertical|base_bar|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_layout|box_reverse|box_wrap|box_wrap_spacing|caret|child|clipping|color|corner1|corner2|crop|crop_relative|debug|delay|drop_shadow|drop_shadow_color|events|first_indent|first_spacing|fit_first|focus_mask|font|foreground|hinting|hyperlink_functions|italic|justify|kerning|key_events|keyboard_focus|language|layout|left_bar|left_gutter|left_margin|left_padding|line_leading|line_spacing|margin|maximum|maxsize|min_width|minimum|minwidth|mouse|nearest|newline_indent|offset|order_reverse|outline_scaling|outlines|padding|pos|radius|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|size|size_group|slow_abortable|slow_cps|slow_cps_multiplier|sound|spacing|strikethrough|subpixel|text_align|text_y_fudge|thumb|thumb_offset|thumb_shadow|tooltip|top_bar|top_gutter|top_margin|top_padding|transform_anchor|underline|unscrollable|vertical|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xfit|xmargin|xmaximum|xminimum|xoffset|xpadding|xpan|xpos|xsize|xspacing|xtile|xysize|xzoom|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yfit|ymargin|ymaximum|yminimum|yoffset|ypadding|ypan|ypos|ysize|yspacing|ytile|yzoom|zoom))\\b"
|
485
|
-
},
|
486
|
-
{
|
487
|
-
"name": "entity.other.attribute-name.python.renpy",
|
488
|
-
"match": "\\b((?:vscrollbar_|scrollbar_)(?:|activate_|hover_|idle_|insensitive_|selected_|selected_activate_|selected_hover_|selected_idle_|selected_insensitive_)(?:align|alt|anchor|area|bar_invert|bar_resizing|bar_vertical|base_bar|bottom_bar|bottom_gutter|clipping|debug|keyboard_focus|left_bar|left_gutter|maximum|mouse|offset|pos|right_bar|right_gutter|thumb|thumb_offset|thumb_shadow|tooltip|top_bar|top_gutter|unscrollable|xalign|xanchor|xcenter|xfill|xmaximum|xoffset|xpos|xsize|xysize|yalign|yanchor|ycenter|yfill|ymaximum|yoffset|ypos|ysize))\\b"
|
489
|
-
},
|
490
|
-
{
|
491
|
-
"name": "entity.other.attribute-name.python.renpy",
|
492
|
-
"match": "\\b(side_(?:|activate_|hover_|idle_|insensitive_|selected_|selected_activate_|selected_hover_|selected_idle_|selected_insensitive_)(?:align|alt|anchor|area|clipping|debug|maximum|offset|pos|spacing|tooltip|xalign|xanchor|xcenter|xfill|xmaximum|xoffset|xpos|xsize|xysize|yalign|yanchor|ycenter|yfill|ymaximum|yoffset|ypos|ysize))\\b"
|
493
|
-
},
|
494
|
-
{
|
495
|
-
"name": "entity.other.attribute-name.python.renpy",
|
496
|
-
"match": "\\b(text_(?:|activate_|hover_|idle_|insensitive_|selected_|selected_activate_|selected_hover_|selected_idle_|selected_insensitive_)(?:adjust_spacing|align|alt|anchor|antialias|area|black_color|bold|clipping|color|debug|drop_shadow|drop_shadow_color|first_indent|font|hinting|hyperlink_functions|italic|justify|kerning|language|layout|line_leading|line_spacing|maximum|min_width|minimum|minwidth|newline_indent|offset|outline_scaling|outlines|pos|rest_indent|ruby_style|size|slow_abortable|slow_cps|slow_cps_multiplier|strikethrough|text_align|text_y_fudge|tooltip|underline|vertical|xalign|xanchor|xcenter|xfill|xmaximum|xminimum|xoffset|xpos|xsize|xysize|yalign|yanchor|ycenter|yfill|ymaximum|yminimum|yoffset|ypos|ysize))\\b"
|
497
|
-
},
|
498
|
-
{
|
499
|
-
"name": "entity.other.attribute-name.python.renpy",
|
500
|
-
"match": "\\b(viewport_(?:|activate_|hover_|idle_|insensitive_|selected_|selected_activate_|selected_hover_|selected_idle_|selected_insensitive_)(?:align|alt|anchor|area|clipping|debug|maximum|offset|pos|tooltip|xalign|xanchor|xcenter|xfill|xmaximum|xoffset|xpos|xsize|xysize|yalign|yanchor|ycenter|yfill|ymaximum|yoffset|ypos|ysize))\\b"
|
501
|
-
},
|
502
|
-
{
|
503
|
-
"name": "meta.function.decorator.python.renpy",
|
504
|
-
"begin": "^\\s*(?=@\\s*[A-Za-z_][A-Za-z0-9_]*(?:\\.[a-zA-Z_][a-zA-Z_0-9]*)*\\s*\\()",
|
505
|
-
"end": "(\\))",
|
506
|
-
"patterns": [
|
507
|
-
{
|
508
|
-
"contentName": "entity.name.function.decorator.python.renpy",
|
509
|
-
"begin": "(?=(@)\\s*[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*\\s*\\()",
|
510
|
-
"end": "(?=\\s*\\()",
|
511
|
-
"patterns": [
|
512
|
-
{
|
513
|
-
"include": "#dotted_name"
|
514
|
-
}
|
515
|
-
],
|
516
|
-
"beginCaptures": {
|
517
|
-
"1": {
|
518
|
-
"name": "punctuation.definition.decorator.python.renpy"
|
519
|
-
}
|
520
|
-
}
|
521
|
-
},
|
522
|
-
{
|
523
|
-
"contentName": "meta.function.decorator.arguments.python.renpy",
|
524
|
-
"begin": "(\\()",
|
525
|
-
"end": "(?=\\))",
|
526
|
-
"patterns": [
|
527
|
-
{
|
528
|
-
"include": "#keyword_arguments"
|
529
|
-
},
|
530
|
-
{
|
531
|
-
"include": "$self"
|
532
|
-
}
|
533
|
-
],
|
534
|
-
"beginCaptures": {
|
535
|
-
"1": {
|
536
|
-
"name": "punctuation.definition.arguments.begin.python.renpy"
|
537
|
-
}
|
538
|
-
}
|
539
|
-
}
|
540
|
-
],
|
541
|
-
"endCaptures": {
|
542
|
-
"1": {
|
543
|
-
"name": "punctuation.definition.arguments.end.python.renpy"
|
544
|
-
}
|
545
|
-
}
|
546
|
-
},
|
547
|
-
{
|
548
|
-
"name": "meta.function.decorator.python.renpy",
|
549
|
-
"contentName": "entity.name.function.decorator.python.renpy",
|
550
|
-
"begin": "^\\s*(?=@\\s*[A-Za-z_][A-Za-z0-9_]*(?:\\.[a-zA-Z_][a-zA-Z_0-9]*)*)",
|
551
|
-
"end": "(?=\\s|$\\n?|#)",
|
552
|
-
"patterns": [
|
553
|
-
{
|
554
|
-
"begin": "(?=(@)\\s*[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*)",
|
555
|
-
"end": "(?=\\s|$\\n?|#)",
|
556
|
-
"patterns": [
|
557
|
-
{
|
558
|
-
"include": "#dotted_name"
|
559
|
-
}
|
560
|
-
],
|
561
|
-
"beginCaptures": {
|
562
|
-
"1": {
|
563
|
-
"name": "punctuation.definition.decorator.python.renpy"
|
564
|
-
}
|
565
|
-
}
|
566
|
-
}
|
567
|
-
]
|
568
|
-
},
|
569
|
-
{
|
570
|
-
"name": "meta.function-call.python.renpy",
|
571
|
-
"contentName": "meta.function-call.arguments.python.renpy",
|
572
|
-
"begin": "(?\u003c=\\)|\\])\\s*(\\()",
|
573
|
-
"end": "(\\))",
|
574
|
-
"patterns": [
|
575
|
-
{
|
576
|
-
"include": "#keyword_arguments"
|
577
|
-
},
|
578
|
-
{
|
579
|
-
"include": "$self"
|
580
|
-
}
|
581
|
-
],
|
582
|
-
"beginCaptures": {
|
583
|
-
"1": {
|
584
|
-
"name": "punctuation.definition.arguments.begin.python.renpy"
|
585
|
-
}
|
586
|
-
},
|
587
|
-
"endCaptures": {
|
588
|
-
"1": {
|
589
|
-
"name": "punctuation.definition.arguments.end.python.renpy"
|
590
|
-
}
|
591
|
-
}
|
592
|
-
},
|
593
|
-
{
|
594
|
-
"name": "meta.function-call.python.renpy",
|
595
|
-
"begin": "(?=[A-Za-z_][A-Za-z0-9_]*(?:\\.[a-zA-Z_][a-zA-Z_0-9]*)*\\s*\\()",
|
596
|
-
"end": "(\\))",
|
597
|
-
"patterns": [
|
598
|
-
{
|
599
|
-
"begin": "(?=[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*\\s*\\()",
|
600
|
-
"end": "(?=\\s*\\()",
|
601
|
-
"patterns": [
|
602
|
-
{
|
603
|
-
"include": "#dotted_name"
|
604
|
-
}
|
605
|
-
]
|
606
|
-
},
|
607
|
-
{
|
608
|
-
"contentName": "meta.function-call.arguments.python.renpy",
|
609
|
-
"begin": "(\\()",
|
610
|
-
"end": "(?=\\))",
|
611
|
-
"patterns": [
|
612
|
-
{
|
613
|
-
"include": "#keyword_arguments"
|
614
|
-
},
|
615
|
-
{
|
616
|
-
"include": "$self"
|
617
|
-
}
|
618
|
-
],
|
619
|
-
"beginCaptures": {
|
620
|
-
"1": {
|
621
|
-
"name": "punctuation.definition.arguments.begin.python.renpy"
|
622
|
-
}
|
623
|
-
}
|
624
|
-
}
|
625
|
-
],
|
626
|
-
"endCaptures": {
|
627
|
-
"1": {
|
628
|
-
"name": "punctuation.definition.arguments.end.python.renpy"
|
629
|
-
}
|
630
|
-
}
|
631
|
-
},
|
632
|
-
{
|
633
|
-
"name": "meta.item-access.python.renpy",
|
634
|
-
"begin": "(?=[A-Za-z_][A-Za-z0-9_]*(?:\\.[a-zA-Z_][a-zA-Z_0-9]*)*\\s*\\[)",
|
635
|
-
"end": "(\\])",
|
636
|
-
"patterns": [
|
637
|
-
{
|
638
|
-
"begin": "(?=[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*\\s*\\[)",
|
639
|
-
"end": "(?=\\s*\\[)",
|
640
|
-
"patterns": [
|
641
|
-
{
|
642
|
-
"include": "#dotted_name"
|
643
|
-
}
|
644
|
-
]
|
645
|
-
},
|
646
|
-
{
|
647
|
-
"contentName": "meta.item-access.arguments.python.renpy",
|
648
|
-
"begin": "(\\[)",
|
649
|
-
"end": "(?=\\])",
|
650
|
-
"patterns": [
|
651
|
-
{
|
652
|
-
"include": "$self"
|
653
|
-
}
|
654
|
-
],
|
655
|
-
"beginCaptures": {
|
656
|
-
"1": {
|
657
|
-
"name": "punctuation.definition.arguments.begin.python.renpy"
|
658
|
-
}
|
659
|
-
}
|
660
|
-
}
|
661
|
-
],
|
662
|
-
"endCaptures": {
|
663
|
-
"1": {
|
664
|
-
"name": "punctuation.definition.arguments.end.python.renpy"
|
665
|
-
}
|
666
|
-
}
|
667
|
-
},
|
668
|
-
{
|
669
|
-
"name": "meta.item-access.python.renpy",
|
670
|
-
"contentName": "meta.item-access.arguments.python.renpy",
|
671
|
-
"begin": "(?\u003c=\\)|\\])\\s*(\\[)",
|
672
|
-
"end": "(\\])",
|
673
|
-
"patterns": [
|
674
|
-
{
|
675
|
-
"include": "$self"
|
676
|
-
}
|
677
|
-
],
|
678
|
-
"beginCaptures": {
|
679
|
-
"1": {
|
680
|
-
"name": "punctuation.definition.arguments.begin.python.renpy"
|
681
|
-
}
|
682
|
-
},
|
683
|
-
"endCaptures": {
|
684
|
-
"1": {
|
685
|
-
"name": "punctuation.definition.arguments.end.python.renpy"
|
686
|
-
}
|
687
|
-
}
|
688
|
-
},
|
689
|
-
{
|
690
|
-
"include": "#line_continuation"
|
691
|
-
},
|
692
|
-
{
|
693
|
-
"include": "#language_variables"
|
694
|
-
},
|
695
|
-
{
|
696
|
-
"name": "constant.language.python.renpy",
|
697
|
-
"match": "\\b(None|True|False|Ellipsis|NotImplemented)\\b"
|
698
|
-
},
|
699
|
-
{
|
700
|
-
"include": "#string_quoted_single"
|
701
|
-
},
|
702
|
-
{
|
703
|
-
"include": "#string_quoted_double"
|
704
|
-
},
|
705
|
-
{
|
706
|
-
"include": "#dotted_name"
|
707
|
-
},
|
708
|
-
{
|
709
|
-
"begin": "(\\()",
|
710
|
-
"end": "(\\))",
|
711
|
-
"patterns": [
|
712
|
-
{
|
713
|
-
"include": "$self"
|
714
|
-
}
|
715
|
-
]
|
716
|
-
},
|
717
|
-
{
|
718
|
-
"match": "(\\[)(\\s*(\\]))\\b",
|
719
|
-
"captures": {
|
720
|
-
"1": {
|
721
|
-
"name": "punctuation.definition.list.begin.python.renpy"
|
722
|
-
},
|
723
|
-
"2": {
|
724
|
-
"name": "meta.empty-list.python.renpy"
|
725
|
-
},
|
726
|
-
"3": {
|
727
|
-
"name": "punctuation.definition.list.end.python.renpy"
|
728
|
-
}
|
729
|
-
}
|
730
|
-
},
|
731
|
-
{
|
732
|
-
"name": "meta.structure.list.python.renpy",
|
733
|
-
"begin": "(\\[)",
|
734
|
-
"end": "(\\])",
|
735
|
-
"patterns": [
|
736
|
-
{
|
737
|
-
"contentName": "meta.structure.list.item.python.renpy",
|
738
|
-
"begin": "(?\u003c=\\[|\\,)\\s*(?![\\],])",
|
739
|
-
"end": "\\s*(?:(,)|(?=\\]))",
|
740
|
-
"patterns": [
|
741
|
-
{
|
742
|
-
"include": "$self"
|
743
|
-
}
|
744
|
-
],
|
745
|
-
"endCaptures": {
|
746
|
-
"1": {
|
747
|
-
"name": "punctuation.separator.list.python.renpy"
|
748
|
-
}
|
749
|
-
}
|
750
|
-
}
|
751
|
-
],
|
752
|
-
"beginCaptures": {
|
753
|
-
"1": {
|
754
|
-
"name": "punctuation.definition.list.begin.python.renpy"
|
755
|
-
}
|
756
|
-
},
|
757
|
-
"endCaptures": {
|
758
|
-
"1": {
|
759
|
-
"name": "punctuation.definition.list.end.python.renpy"
|
760
|
-
}
|
761
|
-
}
|
762
|
-
},
|
763
|
-
{
|
764
|
-
"name": "meta.structure.tuple.python.renpy",
|
765
|
-
"match": "(\\()(\\s*(\\)))",
|
766
|
-
"captures": {
|
767
|
-
"1": {
|
768
|
-
"name": "punctuation.definition.tuple.begin.python.renpy"
|
769
|
-
},
|
770
|
-
"2": {
|
771
|
-
"name": "meta.empty-tuple.python.renpy"
|
772
|
-
},
|
773
|
-
"3": {
|
774
|
-
"name": "punctuation.definition.tuple.end.python.renpy"
|
775
|
-
}
|
776
|
-
}
|
777
|
-
},
|
778
|
-
{
|
779
|
-
"name": "meta.structure.dictionary.python.renpy",
|
780
|
-
"match": "(\\{)(\\s*(\\}))",
|
781
|
-
"captures": {
|
782
|
-
"1": {
|
783
|
-
"name": "punctuation.definition.dictionary.begin.python.renpy"
|
784
|
-
},
|
785
|
-
"2": {
|
786
|
-
"name": "meta.empty-dictionary.python.renpy"
|
787
|
-
},
|
788
|
-
"3": {
|
789
|
-
"name": "punctuation.definition.dictionary.end.python.renpy"
|
790
|
-
}
|
791
|
-
}
|
792
|
-
},
|
793
|
-
{
|
794
|
-
"name": "meta.structure.dictionary.python.renpy",
|
795
|
-
"begin": "(\\{)",
|
796
|
-
"end": "(\\})",
|
797
|
-
"patterns": [
|
798
|
-
{
|
799
|
-
"contentName": "meta.structure.dictionary.key.python.renpy",
|
800
|
-
"begin": "(?\u003c=\\{|\\,|^)\\s*(?![\\},])",
|
801
|
-
"end": "\\s*(?:(?=\\})|(\\:))",
|
802
|
-
"patterns": [
|
803
|
-
{
|
804
|
-
"include": "$self"
|
805
|
-
}
|
806
|
-
],
|
807
|
-
"endCaptures": {
|
808
|
-
"1": {
|
809
|
-
"name": "punctuation.separator.valuepair.dictionary.python.renpy"
|
810
|
-
}
|
811
|
-
}
|
812
|
-
},
|
813
|
-
{
|
814
|
-
"contentName": "meta.structure.dictionary.value.python.renpy",
|
815
|
-
"begin": "(?\u003c=\\:|^)\\s*",
|
816
|
-
"end": "\\s*(?:(?=\\})|(,))",
|
817
|
-
"patterns": [
|
818
|
-
{
|
819
|
-
"include": "$self"
|
820
|
-
}
|
821
|
-
],
|
822
|
-
"endCaptures": {
|
823
|
-
"1": {
|
824
|
-
"name": "punctuation.separator.dictionary.python.renpy"
|
825
|
-
}
|
826
|
-
}
|
827
|
-
}
|
828
|
-
],
|
829
|
-
"beginCaptures": {
|
830
|
-
"1": {
|
831
|
-
"name": "punctuation.definition.dictionary.begin.python.renpy"
|
832
|
-
}
|
833
|
-
},
|
834
|
-
"endCaptures": {
|
835
|
-
"1": {
|
836
|
-
"name": "punctuation.definition.dictionary.end.python.renpy"
|
837
|
-
}
|
838
|
-
}
|
839
|
-
}
|
840
|
-
],
|
841
|
-
"repository": {
|
842
|
-
"builtin_exceptions": {
|
843
|
-
"name": "support.type.exception.python.renpy",
|
844
|
-
"match": "(?x)\\b(\n\t\t\t\t(\n\t\t\t\t\tArithmetic|Assertion|Attribute|BlockingIO|BrokenPipe|Buffer|ChildProcess|\n\t\t\t\t\tConnection(Aborted|Refused|Reset)?|EOF|Environment|FileExists|\n\t\t\t\t\tFileNotFound|FloatingPoint|Interrupted|IO|IsADirectoryError|\n\t\t\t\t\tImport|Indentation|Index|Key|Lookup|Memory|Name|NotADirectory|\n\t\t\t\t\tNotImplemented|OS|Overflow|Permission|ProcessLookup|Reference|\n\t\t\t\t\tRuntime|Standard|Syntax|System|Tab|Timeout|Type|UnboundLocal|\n\t\t\t\t\tUnicode(Encode|Decode|Translate)?|Value|VMS|Windows|ZeroDivision\n\t\t\t\t)Error|\n\t\t\t\t((Pending)?Deprecation|Runtime|Syntax|User|Future|Import|Unicode|Bytes)?Warning|\n\t\t\t\t(Base)?Exception|\n\t\t\t\tSystemExit|StopIteration|NotImplemented|KeyboardInterrupt|GeneratorExit\n\t\t\t)\\b"
|
845
|
-
},
|
846
|
-
"builtin_functions": {
|
847
|
-
"name": "support.function.builtin.python.renpy",
|
848
|
-
"match": "(?x)\\b(\n\t\t\t\t__import__|all|abs|any|apply|ascii|bin|callable|chr|classmethod|cmp|coerce|\n\t\t\t\tcompile|delattr|dir|divmod|enumerate|eval|execfile|filter|format|getattr|\n\t\t\t\tglobals|hasattr|hash|help|hex|id|input|intern|isinstance|issubclass|iter|\n\t\t\t\tlen|locals|map|max|min|next|oct|open|ord|pow|print|property|range|\n\t\t\t\traw_input|reduce|reload|repr|reversed|round|setattr|sorted|staticmethod|\n\t\t\t\tsum|super|type|unichr|vars|zip\n\t\t\t)\\b"
|
849
|
-
},
|
850
|
-
"builtin_types": {
|
851
|
-
"name": "support.type.python.renpy",
|
852
|
-
"match": "(?x)\\b(\n\t\t\t\tbasestring|bool|buffer|bytearray|bytes|complex|dict|float|frozenset|int|\n\t\t\t\tlist|long|memoryview|object|range|set|slice|str|tuple|unicode|xrange\n\t\t\t)\\b"
|
853
|
-
},
|
854
|
-
"constant_placeholder": {
|
855
|
-
"name": "constant.other.placeholder.tags.renpy",
|
856
|
-
"match": "\\{[^}]*\\}|\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]"
|
857
|
-
},
|
858
|
-
"docstrings": {
|
859
|
-
"patterns": [
|
860
|
-
{
|
861
|
-
"name": "comment.block.python.renpy",
|
862
|
-
"begin": "^\\s*(?=[uU]?[rR]?\"\"\")",
|
863
|
-
"end": "(?\u003c=\"\"\")",
|
864
|
-
"patterns": [
|
865
|
-
{
|
866
|
-
"include": "#string_quoted_double"
|
867
|
-
}
|
868
|
-
]
|
869
|
-
},
|
870
|
-
{
|
871
|
-
"name": "comment.block.python.renpy",
|
872
|
-
"begin": "^\\s*(?=[uU]?[rR]?''')",
|
873
|
-
"end": "(?\u003c=''')",
|
874
|
-
"patterns": [
|
875
|
-
{
|
876
|
-
"include": "#string_quoted_single"
|
877
|
-
}
|
878
|
-
]
|
879
|
-
}
|
880
|
-
]
|
881
|
-
},
|
882
|
-
"dotted_name": {
|
883
|
-
"begin": "(?=[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*)",
|
884
|
-
"end": "(?![A-Za-z0-9_\\.])",
|
885
|
-
"patterns": [
|
886
|
-
{
|
887
|
-
"begin": "(\\.)(?=[A-Za-z_][A-Za-z0-9_]*)",
|
888
|
-
"end": "(?![A-Za-z0-9_])",
|
889
|
-
"patterns": [
|
890
|
-
{
|
891
|
-
"include": "#magic_function_names"
|
892
|
-
},
|
893
|
-
{
|
894
|
-
"include": "#magic_variable_names"
|
895
|
-
},
|
896
|
-
{
|
897
|
-
"include": "#illegal_names"
|
898
|
-
},
|
899
|
-
{
|
900
|
-
"include": "#generic_names"
|
901
|
-
}
|
902
|
-
]
|
903
|
-
},
|
904
|
-
{
|
905
|
-
"begin": "(?\u003c!\\.)(?=[A-Za-z_][A-Za-z0-9_]*)",
|
906
|
-
"end": "(?![A-Za-z0-9_])",
|
907
|
-
"patterns": [
|
908
|
-
{
|
909
|
-
"include": "#builtin_functions"
|
910
|
-
},
|
911
|
-
{
|
912
|
-
"include": "#builtin_types"
|
913
|
-
},
|
914
|
-
{
|
915
|
-
"include": "#builtin_exceptions"
|
916
|
-
},
|
917
|
-
{
|
918
|
-
"include": "#illegal_names"
|
919
|
-
},
|
920
|
-
{
|
921
|
-
"include": "#magic_function_names"
|
922
|
-
},
|
923
|
-
{
|
924
|
-
"include": "#magic_variable_names"
|
925
|
-
},
|
926
|
-
{
|
927
|
-
"include": "#language_variables"
|
928
|
-
},
|
929
|
-
{
|
930
|
-
"include": "#generic_names"
|
931
|
-
}
|
932
|
-
]
|
933
|
-
}
|
934
|
-
]
|
935
|
-
},
|
936
|
-
"entity_name_class": {
|
937
|
-
"patterns": [
|
938
|
-
{
|
939
|
-
"include": "#illegal_names"
|
940
|
-
},
|
941
|
-
{
|
942
|
-
"include": "#generic_names"
|
943
|
-
}
|
944
|
-
]
|
945
|
-
},
|
946
|
-
"entity_name_function": {
|
947
|
-
"patterns": [
|
948
|
-
{
|
949
|
-
"include": "#magic_function_names"
|
950
|
-
},
|
951
|
-
{
|
952
|
-
"include": "#illegal_names"
|
953
|
-
},
|
954
|
-
{
|
955
|
-
"include": "#generic_names"
|
956
|
-
}
|
957
|
-
]
|
958
|
-
},
|
959
|
-
"escaped_char": {
|
960
|
-
"match": "(\\\\x[0-9A-F]{2})|(\\\\[0-7]{3})|(\\\\\\n)|(\\\\\\\\)|(\\\\\\\")|(\\\\')|(\\\\a)|(\\\\b)|(\\\\f)|(\\\\n)|(\\\\r)|(\\\\t)|(\\\\v)",
|
961
|
-
"captures": {
|
962
|
-
"1": {
|
963
|
-
"name": "constant.character.escape.hex.python.renpy"
|
964
|
-
},
|
965
|
-
"10": {
|
966
|
-
"name": "constant.character.escape.linefeed.python.renpy"
|
967
|
-
},
|
968
|
-
"11": {
|
969
|
-
"name": "constant.character.escape.return.python.renpy"
|
970
|
-
},
|
971
|
-
"12": {
|
972
|
-
"name": "constant.character.escape.tab.python.renpy"
|
973
|
-
},
|
974
|
-
"13": {
|
975
|
-
"name": "constant.character.escape.vertical-tab.python.renpy"
|
976
|
-
},
|
977
|
-
"2": {
|
978
|
-
"name": "constant.character.escape.octal.python.renpy"
|
979
|
-
},
|
980
|
-
"3": {
|
981
|
-
"name": "constant.character.escape.newline.python.renpy"
|
982
|
-
},
|
983
|
-
"4": {
|
984
|
-
"name": "constant.character.escape.backlash.python.renpy"
|
985
|
-
},
|
986
|
-
"5": {
|
987
|
-
"name": "constant.character.escape.double-quote.python.renpy"
|
988
|
-
},
|
989
|
-
"6": {
|
990
|
-
"name": "constant.character.escape.single-quote.python.renpy"
|
991
|
-
},
|
992
|
-
"7": {
|
993
|
-
"name": "constant.character.escape.bell.python.renpy"
|
994
|
-
},
|
995
|
-
"8": {
|
996
|
-
"name": "constant.character.escape.backspace.python.renpy"
|
997
|
-
},
|
998
|
-
"9": {
|
999
|
-
"name": "constant.character.escape.formfeed.python.renpy"
|
1000
|
-
}
|
1001
|
-
}
|
1002
|
-
},
|
1003
|
-
"escaped_placeholder": {
|
1004
|
-
"name": "constant.character.escape.placeholder.python.renpy",
|
1005
|
-
"match": "\\{\\{|\\[\\["
|
1006
|
-
},
|
1007
|
-
"escaped_unicode_char": {
|
1008
|
-
"match": "(\\\\U[0-9A-Fa-f]{8})|(\\\\u[0-9A-Fa-f]{4})|(\\\\N\\{[a-zA-Z ]+\\})",
|
1009
|
-
"captures": {
|
1010
|
-
"1": {
|
1011
|
-
"name": "constant.character.escape.unicode.16-bit-hex.python.renpy"
|
1012
|
-
},
|
1013
|
-
"2": {
|
1014
|
-
"name": "constant.character.escape.unicode.32-bit-hex.python.renpy"
|
1015
|
-
},
|
1016
|
-
"3": {
|
1017
|
-
"name": "constant.character.escape.unicode.name.python.renpy"
|
1018
|
-
}
|
1019
|
-
}
|
1020
|
-
},
|
1021
|
-
"function_name": {
|
1022
|
-
"patterns": [
|
1023
|
-
{
|
1024
|
-
"include": "#magic_function_names"
|
1025
|
-
},
|
1026
|
-
{
|
1027
|
-
"include": "#magic_variable_names"
|
1028
|
-
},
|
1029
|
-
{
|
1030
|
-
"include": "#builtin_exceptions"
|
1031
|
-
},
|
1032
|
-
{
|
1033
|
-
"include": "#builtin_functions"
|
1034
|
-
},
|
1035
|
-
{
|
1036
|
-
"include": "#builtin_types"
|
1037
|
-
},
|
1038
|
-
{
|
1039
|
-
"include": "#generic_names"
|
1040
|
-
}
|
1041
|
-
]
|
1042
|
-
},
|
1043
|
-
"generic_names": {
|
1044
|
-
"match": "[A-Za-z_][A-Za-z0-9_]*"
|
1045
|
-
},
|
1046
|
-
"illegal_names": {
|
1047
|
-
"name": "invalid.illegal.name.python.renpy",
|
1048
|
-
"match": "\\b(and|as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|global|if|import|in|is|lambda|nonlocal|not|or|print|raise|try|while|with|yield)\\b"
|
1049
|
-
},
|
1050
|
-
"keyword_arguments": {
|
1051
|
-
"begin": "\\b([a-zA-Z_][a-zA-Z_0-9]*)\\s*(=)(?!=)",
|
1052
|
-
"end": "\\s*(?:(,)|(?=$\\n?|[\\)\\:]))",
|
1053
|
-
"patterns": [
|
1054
|
-
{
|
1055
|
-
"include": "$self"
|
1056
|
-
}
|
1057
|
-
],
|
1058
|
-
"beginCaptures": {
|
1059
|
-
"1": {
|
1060
|
-
"name": "variable.parameter.function.python.renpy"
|
1061
|
-
},
|
1062
|
-
"2": {
|
1063
|
-
"name": "keyword.operator.assignment.python.renpy"
|
1064
|
-
}
|
1065
|
-
},
|
1066
|
-
"endCaptures": {
|
1067
|
-
"1": {
|
1068
|
-
"name": "punctuation.separator.parameters.python.renpy"
|
1069
|
-
}
|
1070
|
-
}
|
1071
|
-
},
|
1072
|
-
"language_variables": {
|
1073
|
-
"name": "variable.language.python.renpy",
|
1074
|
-
"match": "\\b(self|cls)\\b"
|
1075
|
-
},
|
1076
|
-
"line_continuation": {
|
1077
|
-
"match": "(\\\\)(.*)$\\n?",
|
1078
|
-
"captures": {
|
1079
|
-
"1": {
|
1080
|
-
"name": "punctuation.separator.continuation.line.python.renpy"
|
1081
|
-
},
|
1082
|
-
"2": {
|
1083
|
-
"name": "invalid.illegal.unexpected-text.python.renpy"
|
1084
|
-
}
|
1085
|
-
}
|
1086
|
-
},
|
1087
|
-
"magic_function_names": {
|
1088
|
-
"name": "support.function.magic.python.renpy",
|
1089
|
-
"match": "(?x)\\b(__(?:\n\t\t\t\t\t\tabs|add|and|cmp|coerce|complex|contains|del|delattr|\n\t\t\t\t\t\tdelete|delitem|delslice|div|divmod|enter|eq|exit|float|\n\t\t\t\t\t\tfloordiv|ge|get|getattr|getattribute|getitem|getslice|gt|\n\t\t\t\t\t\thash|hex|iadd|iand|idiv|ifloordiv|ilshift|imod|imul|init|\n\t\t\t\t\t\tint|invert|ior|ipow|irshift|isub|iter|itruediv|ixor|le|len|\n\t\t\t\t\t\tlong|lshift|lt|mod|mul|ne|neg|new|nonzero|oct|or|pos|pow|\n\t\t\t\t\t\tradd|rand|rdiv|rdivmod|repr|rfloordiv|rlshift|rmod|rmul|ror|\n\t\t\t\t\t\trpow|rrshift|rshift|rsub|rtruediv|rxor|set|setattr|setitem|\n\t\t\t\t\t\tsetslice|str|sub|truediv|unicode|xor\n\t\t\t\t\t)__)\\b"
|
1090
|
-
},
|
1091
|
-
"magic_variable_names": {
|
1092
|
-
"name": "support.variable.magic.python.renpy",
|
1093
|
-
"match": "\\b__(all|bases|class|debug|dict|doc|file|members|metaclass|methods|name|slots|weakref)__\\b"
|
1094
|
-
},
|
1095
|
-
"regular_expressions": {
|
1096
|
-
"patterns": [
|
1097
|
-
{
|
1098
|
-
"include": "source.regexp.python"
|
1099
|
-
}
|
1100
|
-
]
|
1101
|
-
},
|
1102
|
-
"string_quoted_double": {
|
1103
|
-
"patterns": [
|
1104
|
-
{
|
1105
|
-
"name": "string.quoted.double.block.unicode-raw-regex.python.renpy",
|
1106
|
-
"begin": "([uU]r)(\"\"\")",
|
1107
|
-
"end": "((?\u003c=\"\"\")(\")\"\"|\"\"\")",
|
1108
|
-
"patterns": [
|
1109
|
-
{
|
1110
|
-
"include": "#escaped_placeholder"
|
1111
|
-
},
|
1112
|
-
{
|
1113
|
-
"include": "#constant_placeholder"
|
1114
|
-
},
|
1115
|
-
{
|
1116
|
-
"include": "#escaped_unicode_char"
|
1117
|
-
},
|
1118
|
-
{
|
1119
|
-
"include": "#escaped_char"
|
1120
|
-
},
|
1121
|
-
{
|
1122
|
-
"include": "#regular_expressions"
|
1123
|
-
}
|
1124
|
-
],
|
1125
|
-
"beginCaptures": {
|
1126
|
-
"1": {
|
1127
|
-
"name": "storage.type.string.python.renpy"
|
1128
|
-
},
|
1129
|
-
"2": {
|
1130
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1131
|
-
}
|
1132
|
-
},
|
1133
|
-
"endCaptures": {
|
1134
|
-
"1": {
|
1135
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1136
|
-
},
|
1137
|
-
"2": {
|
1138
|
-
"name": "meta.empty-string.double.python.renpy"
|
1139
|
-
}
|
1140
|
-
}
|
1141
|
-
},
|
1142
|
-
{
|
1143
|
-
"name": "string.quoted.double.block.unicode-raw.python.renpy",
|
1144
|
-
"begin": "([uU]R)(\"\"\")",
|
1145
|
-
"end": "((?\u003c=\"\"\")(\")\"\"|\"\"\")",
|
1146
|
-
"patterns": [
|
1147
|
-
{
|
1148
|
-
"include": "#escaped_placeholder"
|
1149
|
-
},
|
1150
|
-
{
|
1151
|
-
"include": "#constant_placeholder"
|
1152
|
-
},
|
1153
|
-
{
|
1154
|
-
"include": "#escaped_unicode_char"
|
1155
|
-
},
|
1156
|
-
{
|
1157
|
-
"include": "#escaped_char"
|
1158
|
-
}
|
1159
|
-
],
|
1160
|
-
"beginCaptures": {
|
1161
|
-
"1": {
|
1162
|
-
"name": "storage.type.string.python.renpy"
|
1163
|
-
},
|
1164
|
-
"2": {
|
1165
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1166
|
-
}
|
1167
|
-
},
|
1168
|
-
"endCaptures": {
|
1169
|
-
"1": {
|
1170
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1171
|
-
},
|
1172
|
-
"2": {
|
1173
|
-
"name": "meta.empty-string.double.python.renpy"
|
1174
|
-
}
|
1175
|
-
}
|
1176
|
-
},
|
1177
|
-
{
|
1178
|
-
"name": "string.quoted.double.block.raw-regex.python.renpy",
|
1179
|
-
"begin": "(r)(\"\"\")",
|
1180
|
-
"end": "((?\u003c=\"\"\")(\")\"\"|\"\"\")",
|
1181
|
-
"patterns": [
|
1182
|
-
{
|
1183
|
-
"include": "#escaped_placeholder"
|
1184
|
-
},
|
1185
|
-
{
|
1186
|
-
"include": "#constant_placeholder"
|
1187
|
-
},
|
1188
|
-
{
|
1189
|
-
"include": "#escaped_char"
|
1190
|
-
},
|
1191
|
-
{
|
1192
|
-
"include": "#regular_expressions"
|
1193
|
-
}
|
1194
|
-
],
|
1195
|
-
"beginCaptures": {
|
1196
|
-
"1": {
|
1197
|
-
"name": "storage.type.string.python.renpy"
|
1198
|
-
},
|
1199
|
-
"2": {
|
1200
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1201
|
-
}
|
1202
|
-
},
|
1203
|
-
"endCaptures": {
|
1204
|
-
"1": {
|
1205
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1206
|
-
},
|
1207
|
-
"2": {
|
1208
|
-
"name": "meta.empty-string.double.python.renpy"
|
1209
|
-
}
|
1210
|
-
}
|
1211
|
-
},
|
1212
|
-
{
|
1213
|
-
"name": "string.quoted.double.block.raw.python.renpy",
|
1214
|
-
"begin": "(R)(\"\"\")",
|
1215
|
-
"end": "((?\u003c=\"\"\")(\")\"\"|\"\"\")",
|
1216
|
-
"patterns": [
|
1217
|
-
{
|
1218
|
-
"include": "#escaped_placeholder"
|
1219
|
-
},
|
1220
|
-
{
|
1221
|
-
"include": "#constant_placeholder"
|
1222
|
-
},
|
1223
|
-
{
|
1224
|
-
"include": "#escaped_char"
|
1225
|
-
}
|
1226
|
-
],
|
1227
|
-
"beginCaptures": {
|
1228
|
-
"1": {
|
1229
|
-
"name": "storage.type.string.python.renpy"
|
1230
|
-
},
|
1231
|
-
"2": {
|
1232
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1233
|
-
}
|
1234
|
-
},
|
1235
|
-
"endCaptures": {
|
1236
|
-
"1": {
|
1237
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1238
|
-
},
|
1239
|
-
"2": {
|
1240
|
-
"name": "meta.empty-string.double.python.renpy"
|
1241
|
-
}
|
1242
|
-
}
|
1243
|
-
},
|
1244
|
-
{
|
1245
|
-
"name": "string.quoted.double.block.unicode.python.renpy",
|
1246
|
-
"begin": "([uU])(\"\"\")",
|
1247
|
-
"end": "((?\u003c=\"\"\")(\")\"\"|\"\"\")",
|
1248
|
-
"patterns": [
|
1249
|
-
{
|
1250
|
-
"include": "#escaped_placeholder"
|
1251
|
-
},
|
1252
|
-
{
|
1253
|
-
"include": "#constant_placeholder"
|
1254
|
-
},
|
1255
|
-
{
|
1256
|
-
"include": "#escaped_unicode_char"
|
1257
|
-
},
|
1258
|
-
{
|
1259
|
-
"include": "#escaped_char"
|
1260
|
-
}
|
1261
|
-
],
|
1262
|
-
"beginCaptures": {
|
1263
|
-
"1": {
|
1264
|
-
"name": "storage.type.string.python.renpy"
|
1265
|
-
},
|
1266
|
-
"2": {
|
1267
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1268
|
-
}
|
1269
|
-
},
|
1270
|
-
"endCaptures": {
|
1271
|
-
"1": {
|
1272
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1273
|
-
},
|
1274
|
-
"2": {
|
1275
|
-
"name": "meta.empty-string.double.python.renpy"
|
1276
|
-
}
|
1277
|
-
}
|
1278
|
-
},
|
1279
|
-
{
|
1280
|
-
"name": "string.quoted.double.single-line.unicode-raw-regex.python.renpy",
|
1281
|
-
"match": "([uU]r)(\")((?:[^\"\\\\]|\\\\.)*)(\")",
|
1282
|
-
"captures": {
|
1283
|
-
"1": {
|
1284
|
-
"name": "storage.type.string.python.renpy"
|
1285
|
-
},
|
1286
|
-
"2": {
|
1287
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1288
|
-
},
|
1289
|
-
"3": {
|
1290
|
-
"patterns": [
|
1291
|
-
{
|
1292
|
-
"include": "#escaped_placeholder"
|
1293
|
-
},
|
1294
|
-
{
|
1295
|
-
"include": "#constant_placeholder"
|
1296
|
-
},
|
1297
|
-
{
|
1298
|
-
"include": "#escaped_unicode_char"
|
1299
|
-
},
|
1300
|
-
{
|
1301
|
-
"include": "#escaped_char"
|
1302
|
-
},
|
1303
|
-
{
|
1304
|
-
"include": "#regular_expressions"
|
1305
|
-
}
|
1306
|
-
]
|
1307
|
-
},
|
1308
|
-
"4": {
|
1309
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1310
|
-
}
|
1311
|
-
}
|
1312
|
-
},
|
1313
|
-
{
|
1314
|
-
"name": "string.quoted.double.single-line.unicode-raw.python.renpy",
|
1315
|
-
"begin": "([uU]R)(\")",
|
1316
|
-
"end": "((?\u003c=\")(\")|\")",
|
1317
|
-
"patterns": [
|
1318
|
-
{
|
1319
|
-
"include": "#escaped_placeholder"
|
1320
|
-
},
|
1321
|
-
{
|
1322
|
-
"include": "#constant_placeholder"
|
1323
|
-
},
|
1324
|
-
{
|
1325
|
-
"include": "#escaped_unicode_char"
|
1326
|
-
},
|
1327
|
-
{
|
1328
|
-
"include": "#escaped_char"
|
1329
|
-
}
|
1330
|
-
],
|
1331
|
-
"beginCaptures": {
|
1332
|
-
"1": {
|
1333
|
-
"name": "storage.type.string.python.renpy"
|
1334
|
-
},
|
1335
|
-
"2": {
|
1336
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1337
|
-
}
|
1338
|
-
},
|
1339
|
-
"endCaptures": {
|
1340
|
-
"1": {
|
1341
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1342
|
-
},
|
1343
|
-
"2": {
|
1344
|
-
"name": "meta.empty-string.double.python.renpy"
|
1345
|
-
},
|
1346
|
-
"3": {
|
1347
|
-
"name": "invalid.illegal.unclosed-string.python.renpy"
|
1348
|
-
}
|
1349
|
-
}
|
1350
|
-
},
|
1351
|
-
{
|
1352
|
-
"name": "string.quoted.double.single-line.raw-regex.python.renpy",
|
1353
|
-
"match": "(r)(\")((?:[^\"\\\\]|\\\\.)*)(\")",
|
1354
|
-
"captures": {
|
1355
|
-
"1": {
|
1356
|
-
"name": "storage.type.string.python.renpy"
|
1357
|
-
},
|
1358
|
-
"2": {
|
1359
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1360
|
-
},
|
1361
|
-
"3": {
|
1362
|
-
"patterns": [
|
1363
|
-
{
|
1364
|
-
"include": "#escaped_placeholder"
|
1365
|
-
},
|
1366
|
-
{
|
1367
|
-
"include": "#constant_placeholder"
|
1368
|
-
},
|
1369
|
-
{
|
1370
|
-
"include": "#escaped_char"
|
1371
|
-
},
|
1372
|
-
{
|
1373
|
-
"include": "#regular_expressions"
|
1374
|
-
}
|
1375
|
-
]
|
1376
|
-
},
|
1377
|
-
"4": {
|
1378
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1379
|
-
}
|
1380
|
-
}
|
1381
|
-
},
|
1382
|
-
{
|
1383
|
-
"name": "string.quoted.double.single-line.raw.python.renpy",
|
1384
|
-
"begin": "(R)(\")",
|
1385
|
-
"end": "((?\u003c=\")(\")|\")|(\\n)",
|
1386
|
-
"patterns": [
|
1387
|
-
{
|
1388
|
-
"include": "#escaped_placeholder"
|
1389
|
-
},
|
1390
|
-
{
|
1391
|
-
"include": "#constant_placeholder"
|
1392
|
-
},
|
1393
|
-
{
|
1394
|
-
"include": "#escaped_char"
|
1395
|
-
}
|
1396
|
-
],
|
1397
|
-
"beginCaptures": {
|
1398
|
-
"1": {
|
1399
|
-
"name": "storage.type.string.python.renpy"
|
1400
|
-
},
|
1401
|
-
"2": {
|
1402
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1403
|
-
}
|
1404
|
-
},
|
1405
|
-
"endCaptures": {
|
1406
|
-
"1": {
|
1407
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1408
|
-
},
|
1409
|
-
"2": {
|
1410
|
-
"name": "meta.empty-string.double.python.renpy"
|
1411
|
-
},
|
1412
|
-
"3": {
|
1413
|
-
"name": "invalid.illegal.unclosed-string.python.renpy"
|
1414
|
-
}
|
1415
|
-
}
|
1416
|
-
},
|
1417
|
-
{
|
1418
|
-
"name": "string.quoted.double.single-line.unicode.python.renpy",
|
1419
|
-
"begin": "([uU])(\")",
|
1420
|
-
"end": "((?\u003c=\")(\")|\")",
|
1421
|
-
"patterns": [
|
1422
|
-
{
|
1423
|
-
"include": "#escaped_placeholder"
|
1424
|
-
},
|
1425
|
-
{
|
1426
|
-
"include": "#constant_placeholder"
|
1427
|
-
},
|
1428
|
-
{
|
1429
|
-
"include": "#escaped_unicode_char"
|
1430
|
-
},
|
1431
|
-
{
|
1432
|
-
"include": "#escaped_char"
|
1433
|
-
}
|
1434
|
-
],
|
1435
|
-
"beginCaptures": {
|
1436
|
-
"1": {
|
1437
|
-
"name": "storage.type.string.python.renpy"
|
1438
|
-
},
|
1439
|
-
"2": {
|
1440
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1441
|
-
}
|
1442
|
-
},
|
1443
|
-
"endCaptures": {
|
1444
|
-
"1": {
|
1445
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1446
|
-
},
|
1447
|
-
"2": {
|
1448
|
-
"name": "meta.empty-string.double.python.renpy"
|
1449
|
-
},
|
1450
|
-
"3": {
|
1451
|
-
"name": "invalid.illegal.unclosed-string.python.renpy"
|
1452
|
-
}
|
1453
|
-
}
|
1454
|
-
},
|
1455
|
-
{
|
1456
|
-
"name": "string.quoted.double.block.python.renpy",
|
1457
|
-
"begin": "(\"\"\")",
|
1458
|
-
"end": "((?\u003c=\"\"\")(\")\"\"|\"\"\")",
|
1459
|
-
"patterns": [
|
1460
|
-
{
|
1461
|
-
"include": "#escaped_placeholder"
|
1462
|
-
},
|
1463
|
-
{
|
1464
|
-
"include": "#constant_placeholder"
|
1465
|
-
},
|
1466
|
-
{
|
1467
|
-
"include": "#escaped_char"
|
1468
|
-
}
|
1469
|
-
],
|
1470
|
-
"beginCaptures": {
|
1471
|
-
"1": {
|
1472
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1473
|
-
}
|
1474
|
-
},
|
1475
|
-
"endCaptures": {
|
1476
|
-
"1": {
|
1477
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1478
|
-
},
|
1479
|
-
"2": {
|
1480
|
-
"name": "meta.empty-string.double.python.renpy"
|
1481
|
-
}
|
1482
|
-
}
|
1483
|
-
},
|
1484
|
-
{
|
1485
|
-
"name": "string.quoted.double.single-line.python.renpy",
|
1486
|
-
"begin": "(\")",
|
1487
|
-
"end": "((?\u003c=\")(\")|\")",
|
1488
|
-
"patterns": [
|
1489
|
-
{
|
1490
|
-
"include": "#escaped_placeholder"
|
1491
|
-
},
|
1492
|
-
{
|
1493
|
-
"include": "#constant_placeholder"
|
1494
|
-
},
|
1495
|
-
{
|
1496
|
-
"include": "#escaped_char"
|
1497
|
-
}
|
1498
|
-
],
|
1499
|
-
"beginCaptures": {
|
1500
|
-
"1": {
|
1501
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1502
|
-
}
|
1503
|
-
},
|
1504
|
-
"endCaptures": {
|
1505
|
-
"1": {
|
1506
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1507
|
-
},
|
1508
|
-
"2": {
|
1509
|
-
"name": "meta.empty-string.double.python.renpy"
|
1510
|
-
},
|
1511
|
-
"3": {
|
1512
|
-
"name": "invalid.illegal.unclosed-string.python.renpy"
|
1513
|
-
}
|
1514
|
-
}
|
1515
|
-
}
|
1516
|
-
]
|
1517
|
-
},
|
1518
|
-
"string_quoted_single": {
|
1519
|
-
"patterns": [
|
1520
|
-
{
|
1521
|
-
"name": "string.quoted.single.single-line.python.renpy",
|
1522
|
-
"match": "(?\u003c!')(')(('))(?!')",
|
1523
|
-
"captures": {
|
1524
|
-
"1": {
|
1525
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1526
|
-
},
|
1527
|
-
"2": {
|
1528
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1529
|
-
},
|
1530
|
-
"3": {
|
1531
|
-
"name": "meta.empty-string.single.python.renpy"
|
1532
|
-
}
|
1533
|
-
}
|
1534
|
-
},
|
1535
|
-
{
|
1536
|
-
"name": "string.quoted.single.block.unicode-raw-regex.python.renpy",
|
1537
|
-
"begin": "([uU]r)(''')",
|
1538
|
-
"end": "((?\u003c=''')(')''|''')",
|
1539
|
-
"patterns": [
|
1540
|
-
{
|
1541
|
-
"include": "#escaped_placeholder"
|
1542
|
-
},
|
1543
|
-
{
|
1544
|
-
"include": "#constant_placeholder"
|
1545
|
-
},
|
1546
|
-
{
|
1547
|
-
"include": "#escaped_unicode_char"
|
1548
|
-
},
|
1549
|
-
{
|
1550
|
-
"include": "#escaped_char"
|
1551
|
-
},
|
1552
|
-
{
|
1553
|
-
"include": "#regular_expressions"
|
1554
|
-
}
|
1555
|
-
],
|
1556
|
-
"beginCaptures": {
|
1557
|
-
"1": {
|
1558
|
-
"name": "storage.type.string.python.renpy"
|
1559
|
-
},
|
1560
|
-
"2": {
|
1561
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1562
|
-
}
|
1563
|
-
},
|
1564
|
-
"endCaptures": {
|
1565
|
-
"1": {
|
1566
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1567
|
-
},
|
1568
|
-
"2": {
|
1569
|
-
"name": "meta.empty-string.single.python.renpy"
|
1570
|
-
}
|
1571
|
-
}
|
1572
|
-
},
|
1573
|
-
{
|
1574
|
-
"name": "string.quoted.single.block.unicode-raw.python.renpy",
|
1575
|
-
"begin": "([uU]R)(''')",
|
1576
|
-
"end": "((?\u003c=''')(')''|''')",
|
1577
|
-
"patterns": [
|
1578
|
-
{
|
1579
|
-
"include": "#escaped_placeholder"
|
1580
|
-
},
|
1581
|
-
{
|
1582
|
-
"include": "#constant_placeholder"
|
1583
|
-
},
|
1584
|
-
{
|
1585
|
-
"include": "#escaped_unicode_char"
|
1586
|
-
},
|
1587
|
-
{
|
1588
|
-
"include": "#escaped_char"
|
1589
|
-
}
|
1590
|
-
],
|
1591
|
-
"beginCaptures": {
|
1592
|
-
"1": {
|
1593
|
-
"name": "storage.type.string.python.renpy"
|
1594
|
-
},
|
1595
|
-
"2": {
|
1596
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1597
|
-
}
|
1598
|
-
},
|
1599
|
-
"endCaptures": {
|
1600
|
-
"1": {
|
1601
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1602
|
-
},
|
1603
|
-
"2": {
|
1604
|
-
"name": "meta.empty-string.single.python.renpy"
|
1605
|
-
}
|
1606
|
-
}
|
1607
|
-
},
|
1608
|
-
{
|
1609
|
-
"name": "string.quoted.single.block.raw-regex.python.renpy",
|
1610
|
-
"begin": "(r)(''')",
|
1611
|
-
"end": "((?\u003c=''')(')''|''')",
|
1612
|
-
"patterns": [
|
1613
|
-
{
|
1614
|
-
"include": "#escaped_placeholder"
|
1615
|
-
},
|
1616
|
-
{
|
1617
|
-
"include": "#constant_placeholder"
|
1618
|
-
},
|
1619
|
-
{
|
1620
|
-
"include": "#escaped_char"
|
1621
|
-
},
|
1622
|
-
{
|
1623
|
-
"include": "#regular_expressions"
|
1624
|
-
}
|
1625
|
-
],
|
1626
|
-
"beginCaptures": {
|
1627
|
-
"1": {
|
1628
|
-
"name": "storage.type.string.python.renpy"
|
1629
|
-
},
|
1630
|
-
"2": {
|
1631
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1632
|
-
}
|
1633
|
-
},
|
1634
|
-
"endCaptures": {
|
1635
|
-
"1": {
|
1636
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1637
|
-
},
|
1638
|
-
"2": {
|
1639
|
-
"name": "meta.empty-string.single.python.renpy"
|
1640
|
-
}
|
1641
|
-
}
|
1642
|
-
},
|
1643
|
-
{
|
1644
|
-
"name": "string.quoted.single.block.raw.python.renpy",
|
1645
|
-
"begin": "(R)(''')",
|
1646
|
-
"end": "((?\u003c=''')(')''|''')",
|
1647
|
-
"patterns": [
|
1648
|
-
{
|
1649
|
-
"include": "#escaped_placeholder"
|
1650
|
-
},
|
1651
|
-
{
|
1652
|
-
"include": "#constant_placeholder"
|
1653
|
-
},
|
1654
|
-
{
|
1655
|
-
"include": "#escaped_char"
|
1656
|
-
}
|
1657
|
-
],
|
1658
|
-
"beginCaptures": {
|
1659
|
-
"1": {
|
1660
|
-
"name": "storage.type.string.python.renpy"
|
1661
|
-
},
|
1662
|
-
"2": {
|
1663
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1664
|
-
}
|
1665
|
-
},
|
1666
|
-
"endCaptures": {
|
1667
|
-
"1": {
|
1668
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1669
|
-
},
|
1670
|
-
"2": {
|
1671
|
-
"name": "meta.empty-string.single.python.renpy"
|
1672
|
-
}
|
1673
|
-
}
|
1674
|
-
},
|
1675
|
-
{
|
1676
|
-
"name": "string.quoted.single.block.unicode.python.renpy",
|
1677
|
-
"begin": "([uU])(''')",
|
1678
|
-
"end": "((?\u003c=''')(')''|''')",
|
1679
|
-
"patterns": [
|
1680
|
-
{
|
1681
|
-
"include": "#escaped_placeholder"
|
1682
|
-
},
|
1683
|
-
{
|
1684
|
-
"include": "#constant_placeholder"
|
1685
|
-
},
|
1686
|
-
{
|
1687
|
-
"include": "#escaped_unicode_char"
|
1688
|
-
},
|
1689
|
-
{
|
1690
|
-
"include": "#escaped_char"
|
1691
|
-
}
|
1692
|
-
],
|
1693
|
-
"beginCaptures": {
|
1694
|
-
"1": {
|
1695
|
-
"name": "storage.type.string.python.renpy"
|
1696
|
-
},
|
1697
|
-
"2": {
|
1698
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1699
|
-
}
|
1700
|
-
},
|
1701
|
-
"endCaptures": {
|
1702
|
-
"1": {
|
1703
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1704
|
-
},
|
1705
|
-
"2": {
|
1706
|
-
"name": "meta.empty-string.single.python.renpy"
|
1707
|
-
}
|
1708
|
-
}
|
1709
|
-
},
|
1710
|
-
{
|
1711
|
-
"name": "string.quoted.single.single-line.unicode-raw-regex.python.renpy",
|
1712
|
-
"match": "([uU]r)(')((?:[^'\\\\]|\\\\.)*)(')",
|
1713
|
-
"captures": {
|
1714
|
-
"1": {
|
1715
|
-
"name": "storage.type.string.python.renpy"
|
1716
|
-
},
|
1717
|
-
"2": {
|
1718
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1719
|
-
},
|
1720
|
-
"3": {
|
1721
|
-
"patterns": [
|
1722
|
-
{
|
1723
|
-
"include": "#escaped_placeholder"
|
1724
|
-
},
|
1725
|
-
{
|
1726
|
-
"include": "#constant_placeholder"
|
1727
|
-
},
|
1728
|
-
{
|
1729
|
-
"include": "#escaped_unicode_char"
|
1730
|
-
},
|
1731
|
-
{
|
1732
|
-
"include": "#escaped_char"
|
1733
|
-
},
|
1734
|
-
{
|
1735
|
-
"include": "#regular_expressions"
|
1736
|
-
}
|
1737
|
-
]
|
1738
|
-
},
|
1739
|
-
"4": {
|
1740
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1741
|
-
}
|
1742
|
-
}
|
1743
|
-
},
|
1744
|
-
{
|
1745
|
-
"name": "string.quoted.single.single-line.unicode-raw.python.renpy",
|
1746
|
-
"begin": "([uU]R)(')",
|
1747
|
-
"end": "(')",
|
1748
|
-
"patterns": [
|
1749
|
-
{
|
1750
|
-
"include": "#escaped_placeholder"
|
1751
|
-
},
|
1752
|
-
{
|
1753
|
-
"include": "#constant_placeholder"
|
1754
|
-
},
|
1755
|
-
{
|
1756
|
-
"include": "#escaped_unicode_char"
|
1757
|
-
},
|
1758
|
-
{
|
1759
|
-
"include": "#escaped_char"
|
1760
|
-
}
|
1761
|
-
],
|
1762
|
-
"beginCaptures": {
|
1763
|
-
"1": {
|
1764
|
-
"name": "storage.type.string.python.renpy"
|
1765
|
-
},
|
1766
|
-
"2": {
|
1767
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1768
|
-
}
|
1769
|
-
},
|
1770
|
-
"endCaptures": {
|
1771
|
-
"1": {
|
1772
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1773
|
-
},
|
1774
|
-
"2": {
|
1775
|
-
"name": "invalid.illegal.unclosed-string.python.renpy"
|
1776
|
-
}
|
1777
|
-
}
|
1778
|
-
},
|
1779
|
-
{
|
1780
|
-
"name": "string.quoted.single.single-line.raw-regex.python.renpy",
|
1781
|
-
"match": "(r)(')((?:[^'\\\\]|\\\\.)*)(')",
|
1782
|
-
"captures": {
|
1783
|
-
"1": {
|
1784
|
-
"name": "storage.type.string.python.renpy"
|
1785
|
-
},
|
1786
|
-
"2": {
|
1787
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1788
|
-
},
|
1789
|
-
"3": {
|
1790
|
-
"patterns": [
|
1791
|
-
{
|
1792
|
-
"include": "#escaped_placeholder"
|
1793
|
-
},
|
1794
|
-
{
|
1795
|
-
"include": "#constant_placeholder"
|
1796
|
-
},
|
1797
|
-
{
|
1798
|
-
"include": "#escaped_char"
|
1799
|
-
},
|
1800
|
-
{
|
1801
|
-
"include": "#regular_expressions"
|
1802
|
-
}
|
1803
|
-
]
|
1804
|
-
},
|
1805
|
-
"4": {
|
1806
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1807
|
-
}
|
1808
|
-
}
|
1809
|
-
},
|
1810
|
-
{
|
1811
|
-
"name": "string.quoted.single.single-line.raw.python.renpy",
|
1812
|
-
"begin": "(R)(')",
|
1813
|
-
"end": "(')|(\\n)",
|
1814
|
-
"patterns": [
|
1815
|
-
{
|
1816
|
-
"include": "#escaped_placeholder"
|
1817
|
-
},
|
1818
|
-
{
|
1819
|
-
"include": "#constant_placeholder"
|
1820
|
-
},
|
1821
|
-
{
|
1822
|
-
"include": "#escaped_char"
|
1823
|
-
}
|
1824
|
-
],
|
1825
|
-
"beginCaptures": {
|
1826
|
-
"1": {
|
1827
|
-
"name": "storage.type.string.python.renpy"
|
1828
|
-
},
|
1829
|
-
"2": {
|
1830
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1831
|
-
}
|
1832
|
-
},
|
1833
|
-
"endCaptures": {
|
1834
|
-
"1": {
|
1835
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1836
|
-
},
|
1837
|
-
"2": {
|
1838
|
-
"name": "invalid.illegal.unclosed-string.python.renpy"
|
1839
|
-
}
|
1840
|
-
}
|
1841
|
-
},
|
1842
|
-
{
|
1843
|
-
"name": "string.quoted.single.single-line.unicode.python.renpy",
|
1844
|
-
"begin": "([uU])(')",
|
1845
|
-
"end": "(')",
|
1846
|
-
"patterns": [
|
1847
|
-
{
|
1848
|
-
"include": "#escaped_placeholder"
|
1849
|
-
},
|
1850
|
-
{
|
1851
|
-
"include": "#constant_placeholder"
|
1852
|
-
},
|
1853
|
-
{
|
1854
|
-
"include": "#escaped_unicode_char"
|
1855
|
-
},
|
1856
|
-
{
|
1857
|
-
"include": "#escaped_char"
|
1858
|
-
}
|
1859
|
-
],
|
1860
|
-
"beginCaptures": {
|
1861
|
-
"1": {
|
1862
|
-
"name": "storage.type.string.python.renpy"
|
1863
|
-
},
|
1864
|
-
"2": {
|
1865
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1866
|
-
}
|
1867
|
-
},
|
1868
|
-
"endCaptures": {
|
1869
|
-
"1": {
|
1870
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1871
|
-
},
|
1872
|
-
"2": {
|
1873
|
-
"name": "invalid.illegal.unclosed-string.python.renpy"
|
1874
|
-
}
|
1875
|
-
}
|
1876
|
-
},
|
1877
|
-
{
|
1878
|
-
"name": "string.quoted.single.block.python.renpy",
|
1879
|
-
"begin": "(''')",
|
1880
|
-
"end": "((?\u003c=''')(')''|''')",
|
1881
|
-
"patterns": [
|
1882
|
-
{
|
1883
|
-
"include": "#escaped_placeholder"
|
1884
|
-
},
|
1885
|
-
{
|
1886
|
-
"include": "#constant_placeholder"
|
1887
|
-
},
|
1888
|
-
{
|
1889
|
-
"include": "#escaped_char"
|
1890
|
-
}
|
1891
|
-
],
|
1892
|
-
"beginCaptures": {
|
1893
|
-
"1": {
|
1894
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1895
|
-
}
|
1896
|
-
},
|
1897
|
-
"endCaptures": {
|
1898
|
-
"1": {
|
1899
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1900
|
-
},
|
1901
|
-
"2": {
|
1902
|
-
"name": "meta.empty-string.single.python.renpy"
|
1903
|
-
}
|
1904
|
-
}
|
1905
|
-
},
|
1906
|
-
{
|
1907
|
-
"name": "string.quoted.single.single-line.python.renpy",
|
1908
|
-
"begin": "(')",
|
1909
|
-
"end": "(')",
|
1910
|
-
"patterns": [
|
1911
|
-
{
|
1912
|
-
"include": "#escaped_placeholder"
|
1913
|
-
},
|
1914
|
-
{
|
1915
|
-
"include": "#constant_placeholder"
|
1916
|
-
},
|
1917
|
-
{
|
1918
|
-
"include": "#escaped_char"
|
1919
|
-
}
|
1920
|
-
],
|
1921
|
-
"beginCaptures": {
|
1922
|
-
"1": {
|
1923
|
-
"name": "punctuation.definition.string.begin.python.renpy"
|
1924
|
-
}
|
1925
|
-
},
|
1926
|
-
"endCaptures": {
|
1927
|
-
"1": {
|
1928
|
-
"name": "punctuation.definition.string.end.python.renpy"
|
1929
|
-
},
|
1930
|
-
"2": {
|
1931
|
-
"name": "invalid.illegal.unclosed-string.python.renpy"
|
1932
|
-
}
|
1933
|
-
}
|
1934
|
-
}
|
1935
|
-
]
|
1936
|
-
},
|
1937
|
-
"strings": {
|
1938
|
-
"patterns": [
|
1939
|
-
{
|
1940
|
-
"include": "#string_quoted_double"
|
1941
|
-
},
|
1942
|
-
{
|
1943
|
-
"include": "#string_quoted_single"
|
1944
|
-
}
|
1945
|
-
]
|
1946
|
-
}
|
1947
|
-
}
|
1948
|
-
}
|
1
|
+
{"name":"Ren'Py","scopeName":"source.renpy","patterns":[{"begin":"(^[ \\t]+)?(?=#)","end":"(?!\\G)","patterns":[{"name":"comment.line.number-sign.python.renpy","begin":"#","end":"\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.python.renpy"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.python.renpy"}}},{"name":"constant.numeric.integer.long.hexadecimal.python.renpy","match":"\\b(?i:(0x[[:xdigit:]]*)L)"},{"name":"constant.numeric.integer.hexadecimal.python.renpy","match":"\\b(?i:(0x[[:xdigit:]]*))"},{"name":"constant.numeric.integer.long.octal.python.renpy","match":"\\b(?i:(0[0-7]+)L)"},{"name":"constant.numeric.integer.octal.python.renpy","match":"\\b(0[0-7]+)"},{"name":"constant.numeric.complex.python.renpy","match":"\\b(?i:(((\\d+(\\.(?=[^a-zA-Z_])\\d*)?|(?\u003c=[^0-9a-zA-Z_])\\.\\d+)(e[\\-\\+]?\\d+)?))J)"},{"name":"constant.numeric.float.python.renpy","match":"\\b(?i:(\\d+\\.\\d*(e[\\-\\+]?\\d+)?))(?=[^a-zA-Z_])"},{"name":"constant.numeric.float.python.renpy","match":"(?\u003c=[^0-9a-zA-Z_])(?i:(\\.\\d+(e[\\-\\+]?\\d+)?))"},{"name":"constant.numeric.float.python.renpy","match":"\\b(?i:(\\d+e[\\-\\+]?\\d+))"},{"name":"constant.numeric.integer.long.decimal.python.renpy","match":"\\b(?i:([1-9]+[0-9]*|0)L)"},{"name":"constant.numeric.integer.decimal.python.renpy","match":"\\b([1-9]+[0-9]*|0)"},{"match":"\\b(global)\\b","captures":{"1":{"name":"storage.modifier.global.python.renpy"}}},{"match":"\\b(nonlocal)\\b","captures":{"1":{"name":"storage.modifier.nonlocal.python.renpy"}}},{"match":"\\b(?:(import)|(from))\\b","captures":{"1":{"name":"keyword.control.import.python.renpy"},"2":{"name":"keyword.control.import.from.python.renpy"}}},{"name":"keyword.control.conditional.python.renpy","match":"\\b(if|elif|else)\\b"},{"name":"keyword.control.exception.python.renpy","match":"\\b(except|finally|try|raise)\\b"},{"name":"keyword.control.repeat.python.renpy","match":"\\b(for|while)\\b"},{"match":"\\b(assert|del|exec|print)\\b","captures":{"1":{"name":"keyword.other.python.renpy"}}},{"name":"invalid.deprecated.operator.python.renpy","match":"\u003c\u003e"},{"name":"keyword.operator.comparison.python.renpy","match":"\u003c\\=|\u003e\\=|\\=\\=|\u003c|\u003e|\\!\\="},{"name":"keyword.operator.assignment.augmented.python.renpy","match":"\\+\\=|-\\=|\\*\\=|/\\=|//\\=|%\\=|\u0026\\=|\\|\\=|\\^\\=|\u003e\u003e\\=|\u003c\u003c\\=|\\*\\*\\="},{"name":"keyword.operator.arithmetic.python.renpy","match":"\\+|\\-|\\*|\\*\\*|/|//|%|\u003c\u003c|\u003e\u003e|\u0026|\\||\\^|~"},{"name":"keyword.operator.assignment.python.renpy","match":"\\="},{"match":"^\\s*(label)\\s*([a-zA-Z_][a-zA-Z_0-9]*)","captures":{"1":{"name":"keyword.python.renpy"},"2":{"name":"entity.name.section.python.renpy.label.renpy"}}},{"match":"^\\s*(menu)\\s*([a-zA-Z_][a-zA-Z_0-9]*)","captures":{"1":{"name":"keyword.python.renpy"},"2":{"name":"entity.name.section.python.renpy.menu.renpy"}}},{"match":"^\\s*(screen)\\s*([a-zA-Z_][a-zA-Z_0-9]*)","captures":{"1":{"name":"keyword.python.renpy"},"2":{"name":"entity.name.class.python.renpy.screen.renpy"}}},{"match":"^\\s*(image)\\s+([a-zA-Z_0-9 ]*)","captures":{"1":{"name":"keyword.python.renpy"},"2":{"name":"entity.name.class.image.python.renpy"}}},{"match":"^\\s*(transform)\\s+([a-zA-Z_][a-zA-Z_0-9]*)","captures":{"1":{"name":"keyword.python.renpy"},"2":{"name":"entity.name.section.python.renpy.transform.renpy"}}},{"match":"^\\s*(style)\\s+([a-zA-Z_][a-zA-Z_0-9]*)","captures":{"1":{"name":"keyword.python.renpy"},"2":{"name":"entity.name.tag.python.renpy.style.renpy"}}},{"match":"^\\s*(define|default)\\s+([a-zA-Z_0-9\\.]*)","captures":{"1":{"name":"keyword.python.renpy"},"2":{"name":"meta.definition.variable.python.renpy.renpy"}}},{"name":"meta.class.old-style.python.renpy","contentName":"entity.name.type.class.python.renpy","begin":"^\\s*(class)\\s+(?=[a-zA-Z_][a-zA-Z_0-9]*\\s*\\:)","end":"\\s*(:)","patterns":[{"include":"#entity_name_class"}],"beginCaptures":{"1":{"name":"storage.type.class.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.section.class.begin.python.renpy"}}},{"name":"meta.class.python.renpy","begin":"^\\s*(class)\\s+(?=[a-zA-Z_][a-zA-Z_0-9]*\\s*\\()","end":"(\\))\\s*(?:(\\:)|(.*$\\n?))","patterns":[{"contentName":"entity.name.type.class.python.renpy","begin":"(?=[A-Za-z_][A-Za-z0-9_]*)","end":"(?![A-Za-z0-9_])","patterns":[{"include":"#entity_name_class"}]},{"contentName":"meta.class.inheritance.python.renpy","begin":"(\\()","end":"(?=\\)|:)","patterns":[{"contentName":"entity.other.inherited-class.python.renpy","begin":"(?\u003c=\\(|,)\\s*","end":"\\s*(?:(,)|(?=\\)))","patterns":[{"include":"$self"}],"endCaptures":{"1":{"name":"punctuation.separator.inheritance.python.renpy"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.inheritance.begin.python.renpy"}}}],"beginCaptures":{"1":{"name":"storage.type.class.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.inheritance.end.python.renpy"},"2":{"name":"punctuation.section.class.begin.python.renpy"},"3":{"name":"invalid.illegal.missing-section-begin.python.renpy"}}},{"name":"meta.class.python.renpy","begin":"^\\s*(class)\\s+(?=[a-zA-Z_][a-zA-Z_0-9])","end":"(\\()|(\\s*$\\n?|#.*$\\n?)","patterns":[{"contentName":"entity.name.type.class.python.renpy","begin":"(?=[A-Za-z_][A-Za-z0-9_]*)","end":"(?![A-Za-z0-9_])","patterns":[{"include":"#entity_name_function"}]}],"beginCaptures":{"1":{"name":"storage.type.class.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.inheritance.begin.python.renpy"},"2":{"name":"invalid.illegal.missing-inheritance.python.renpy"}}},{"name":"meta.function.python.renpy","begin":"^\\s*(def)\\s+(?=[A-Za-z_][A-Za-z0-9_]*\\s*\\()","end":"(\\))\\s*(?:(\\:)|(.*$\\n?))","patterns":[{"contentName":"entity.name.function.python.renpy","begin":"(?=[A-Za-z_][A-Za-z0-9_]*)","end":"(?![A-Za-z0-9_])","patterns":[{"include":"#entity_name_function"}]},{"contentName":"meta.function.parameters.python.renpy","begin":"(\\()","end":"(?=\\)\\s*\\:)","patterns":[{"include":"#keyword_arguments"},{"match":"\\b([a-zA-Z_][a-zA-Z_0-9]*)\\s*(?:(,)|(?=[\\n\\)]))","captures":{"1":{"name":"variable.parameter.function.python.renpy"},"2":{"name":"punctuation.separator.parameters.python.renpy"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.python.renpy"}}}],"beginCaptures":{"1":{"name":"storage.type.function.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.python.renpy"},"2":{"name":"punctuation.section.function.begin.python.renpy"},"3":{"name":"invalid.illegal.missing-section-begin.python.renpy"}}},{"name":"meta.function.python.renpy","begin":"^\\s*(def)\\s+(?=[A-Za-z_][A-Za-z0-9_]*)","end":"(\\()|\\s*($\\n?|#.*$\\n?)","patterns":[{"contentName":"entity.name.function.python.renpy","begin":"(?=[A-Za-z_][A-Za-z0-9_]*)","end":"(?![A-Za-z0-9_])","patterns":[{"include":"#entity_name_function"}]}],"beginCaptures":{"1":{"name":"storage.type.function.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.begin.python.renpy"},"2":{"name":"invalid.illegal.missing-parameters.python.renpy"}}},{"name":"meta.function.inline.python.renpy","begin":"(lambda)(?=\\s+)","end":"(\\:)","patterns":[{"contentName":"meta.function.inline.parameters.python.renpy","begin":"\\s+","end":"(?=\\:)","patterns":[{"include":"#keyword_arguments"},{"match":"\\b([a-zA-Z_][a-zA-Z_0-9]*)\\s*(?:(,)|(?=[\\n\\)\\:]))","captures":{"1":{"name":"variable.parameter.function.python.renpy"},"2":{"name":"punctuation.separator.parameters.python.renpy"}}}]}],"beginCaptures":{"1":{"name":"storage.type.function.inline.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.python.renpy"},"2":{"name":"punctuation.section.function.begin.python.renpy"},"3":{"name":"invalid.illegal.missing-section-begin.python.renpy"}}},{"match":"\\b(def|lambda)\\b","captures":{"1":{"name":"storage.type.function.python.renpy"}}},{"match":"\\b(class)\\b","captures":{"1":{"name":"storage.type.class.python.renpy"}}},{"name":"keyword.python.renpy","match":"\\$"},{"name":"keyword.python.renpy","match":"\\b(\\$|add|always|and|animation|as|assert|at|attribute|auto|bar|behind|block|break|button|call|choice|circles|class|clear|clockwise|contains|continue|counterclockwise|def|default|define|del|drag|draggroup|elif|else|event|except|exec|expression|finally|fixed|for|frame|from|function|global|grid|group|has|hbox|hide|hotbar|hotspot|if|image|imagebutton|imagemap|import|in|index|init|input|is|jump|key|knot|label|lambda|layeredimage|menu|monologue|mousearea|music|new|nointeract|not|null|nvl|offset|old|on|onlayer|or|parallel|pass|pause|play|print|python|queue|raise|repeat|return|rpy|scene|screen|show|showif|side|sound|stop|strings|style|sustain|tag|take|testcase|text|textbutton|time|timer|transclude|transform|translate|try|use|vbar|vbox|viewport|voice|vpgrid|while|window|with|yield|zorder)\\b"},{"name":"entity.other.attribute-name.python.renpy","match":"\\b((?:action|activate_sound|activated|adjustment|allow|alpha|alternate|alternate_keysym|arguments|arrowkeys|at|auto|cache|caption|changed|child_size|clicked|cols|copypaste|default|drag_handle|drag_joined|drag_name|drag_offscreen|drag_raise|draggable|dragged|drop_allowable|droppable|dropped|edgescroll|exclude|focus|focus_mask|ground|height|hover|hovered|id|idle|image_style|insensitive|keysym|layer|length|min_overlap|modal|mouse_drop|mousewheel|pagekeys|pixel_width|predict|prefix|properties|range|repeat|rows|scope|scrollbars|selected|selected_hover|selected_idle|selected_insensitive|sensitive|slow|slow_done|spacing|style|style_group|style_prefix|style_suffix|substitute|suffix|text_style|transpose|unhovered|value|variant|width|xadjustment|xinitial|yadjustment|yinitial|zorder))\\b"},{"name":"entity.other.attribute-name.python.renpy","match":"\\b((?:|activate_|hover_|idle_|insensitive_|selected_|selected_activate_|selected_hover_|selected_idle_|selected_insensitive_)(?:additive|adjust_spacing|align|alignaround|alpha|alt|anchor|angle|antialias|area|around|background|bar_invert|bar_resizing|bar_vertical|base_bar|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_layout|box_reverse|box_wrap|box_wrap_spacing|caret|child|clipping|color|corner1|corner2|crop|crop_relative|debug|delay|drop_shadow|drop_shadow_color|events|first_indent|first_spacing|fit_first|focus_mask|font|foreground|hinting|hyperlink_functions|italic|justify|kerning|key_events|keyboard_focus|language|layout|left_bar|left_gutter|left_margin|left_padding|line_leading|line_spacing|margin|maximum|maxsize|min_width|minimum|minwidth|mouse|nearest|newline_indent|offset|order_reverse|outline_scaling|outlines|padding|pos|radius|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|size|size_group|slow_abortable|slow_cps|slow_cps_multiplier|sound|spacing|strikethrough|subpixel|text_align|text_y_fudge|thumb|thumb_offset|thumb_shadow|tooltip|top_bar|top_gutter|top_margin|top_padding|transform_anchor|underline|unscrollable|vertical|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xfit|xmargin|xmaximum|xminimum|xoffset|xpadding|xpan|xpos|xsize|xspacing|xtile|xysize|xzoom|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yfit|ymargin|ymaximum|yminimum|yoffset|ypadding|ypan|ypos|ysize|yspacing|ytile|yzoom|zoom))\\b"},{"name":"entity.other.attribute-name.python.renpy","match":"\\b((?:vscrollbar_|scrollbar_)(?:|activate_|hover_|idle_|insensitive_|selected_|selected_activate_|selected_hover_|selected_idle_|selected_insensitive_)(?:align|alt|anchor|area|bar_invert|bar_resizing|bar_vertical|base_bar|bottom_bar|bottom_gutter|clipping|debug|keyboard_focus|left_bar|left_gutter|maximum|mouse|offset|pos|right_bar|right_gutter|thumb|thumb_offset|thumb_shadow|tooltip|top_bar|top_gutter|unscrollable|xalign|xanchor|xcenter|xfill|xmaximum|xoffset|xpos|xsize|xysize|yalign|yanchor|ycenter|yfill|ymaximum|yoffset|ypos|ysize))\\b"},{"name":"entity.other.attribute-name.python.renpy","match":"\\b(side_(?:|activate_|hover_|idle_|insensitive_|selected_|selected_activate_|selected_hover_|selected_idle_|selected_insensitive_)(?:align|alt|anchor|area|clipping|debug|maximum|offset|pos|spacing|tooltip|xalign|xanchor|xcenter|xfill|xmaximum|xoffset|xpos|xsize|xysize|yalign|yanchor|ycenter|yfill|ymaximum|yoffset|ypos|ysize))\\b"},{"name":"entity.other.attribute-name.python.renpy","match":"\\b(text_(?:|activate_|hover_|idle_|insensitive_|selected_|selected_activate_|selected_hover_|selected_idle_|selected_insensitive_)(?:adjust_spacing|align|alt|anchor|antialias|area|black_color|bold|clipping|color|debug|drop_shadow|drop_shadow_color|first_indent|font|hinting|hyperlink_functions|italic|justify|kerning|language|layout|line_leading|line_spacing|maximum|min_width|minimum|minwidth|newline_indent|offset|outline_scaling|outlines|pos|rest_indent|ruby_style|size|slow_abortable|slow_cps|slow_cps_multiplier|strikethrough|text_align|text_y_fudge|tooltip|underline|vertical|xalign|xanchor|xcenter|xfill|xmaximum|xminimum|xoffset|xpos|xsize|xysize|yalign|yanchor|ycenter|yfill|ymaximum|yminimum|yoffset|ypos|ysize))\\b"},{"name":"entity.other.attribute-name.python.renpy","match":"\\b(viewport_(?:|activate_|hover_|idle_|insensitive_|selected_|selected_activate_|selected_hover_|selected_idle_|selected_insensitive_)(?:align|alt|anchor|area|clipping|debug|maximum|offset|pos|tooltip|xalign|xanchor|xcenter|xfill|xmaximum|xoffset|xpos|xsize|xysize|yalign|yanchor|ycenter|yfill|ymaximum|yoffset|ypos|ysize))\\b"},{"name":"meta.function.decorator.python.renpy","begin":"^\\s*(?=@\\s*[A-Za-z_][A-Za-z0-9_]*(?:\\.[a-zA-Z_][a-zA-Z_0-9]*)*\\s*\\()","end":"(\\))","patterns":[{"contentName":"entity.name.function.decorator.python.renpy","begin":"(?=(@)\\s*[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*\\s*\\()","end":"(?=\\s*\\()","patterns":[{"include":"#dotted_name"}],"beginCaptures":{"1":{"name":"punctuation.definition.decorator.python.renpy"}}},{"contentName":"meta.function.decorator.arguments.python.renpy","begin":"(\\()","end":"(?=\\))","patterns":[{"include":"#keyword_arguments"},{"include":"$self"}],"beginCaptures":{"1":{"name":"punctuation.definition.arguments.begin.python.renpy"}}}],"endCaptures":{"1":{"name":"punctuation.definition.arguments.end.python.renpy"}}},{"name":"meta.function.decorator.python.renpy","contentName":"entity.name.function.decorator.python.renpy","begin":"^\\s*(?=@\\s*[A-Za-z_][A-Za-z0-9_]*(?:\\.[a-zA-Z_][a-zA-Z_0-9]*)*)","end":"(?=\\s|$\\n?|#)","patterns":[{"begin":"(?=(@)\\s*[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*)","end":"(?=\\s|$\\n?|#)","patterns":[{"include":"#dotted_name"}],"beginCaptures":{"1":{"name":"punctuation.definition.decorator.python.renpy"}}}]},{"name":"meta.function-call.python.renpy","contentName":"meta.function-call.arguments.python.renpy","begin":"(?\u003c=\\)|\\])\\s*(\\()","end":"(\\))","patterns":[{"include":"#keyword_arguments"},{"include":"$self"}],"beginCaptures":{"1":{"name":"punctuation.definition.arguments.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.arguments.end.python.renpy"}}},{"name":"meta.function-call.python.renpy","begin":"(?=[A-Za-z_][A-Za-z0-9_]*(?:\\.[a-zA-Z_][a-zA-Z_0-9]*)*\\s*\\()","end":"(\\))","patterns":[{"begin":"(?=[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*\\s*\\()","end":"(?=\\s*\\()","patterns":[{"include":"#dotted_name"}]},{"contentName":"meta.function-call.arguments.python.renpy","begin":"(\\()","end":"(?=\\))","patterns":[{"include":"#keyword_arguments"},{"include":"$self"}],"beginCaptures":{"1":{"name":"punctuation.definition.arguments.begin.python.renpy"}}}],"endCaptures":{"1":{"name":"punctuation.definition.arguments.end.python.renpy"}}},{"name":"meta.item-access.python.renpy","begin":"(?=[A-Za-z_][A-Za-z0-9_]*(?:\\.[a-zA-Z_][a-zA-Z_0-9]*)*\\s*\\[)","end":"(\\])","patterns":[{"begin":"(?=[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*\\s*\\[)","end":"(?=\\s*\\[)","patterns":[{"include":"#dotted_name"}]},{"contentName":"meta.item-access.arguments.python.renpy","begin":"(\\[)","end":"(?=\\])","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"punctuation.definition.arguments.begin.python.renpy"}}}],"endCaptures":{"1":{"name":"punctuation.definition.arguments.end.python.renpy"}}},{"name":"meta.item-access.python.renpy","contentName":"meta.item-access.arguments.python.renpy","begin":"(?\u003c=\\)|\\])\\s*(\\[)","end":"(\\])","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"punctuation.definition.arguments.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.arguments.end.python.renpy"}}},{"include":"#line_continuation"},{"include":"#language_variables"},{"name":"constant.language.python.renpy","match":"\\b(None|True|False|Ellipsis|NotImplemented)\\b"},{"include":"#string_quoted_single"},{"include":"#string_quoted_double"},{"include":"#dotted_name"},{"begin":"(\\()","end":"(\\))","patterns":[{"include":"$self"}]},{"match":"(\\[)(\\s*(\\]))\\b","captures":{"1":{"name":"punctuation.definition.list.begin.python.renpy"},"2":{"name":"meta.empty-list.python.renpy"},"3":{"name":"punctuation.definition.list.end.python.renpy"}}},{"name":"meta.structure.list.python.renpy","begin":"(\\[)","end":"(\\])","patterns":[{"contentName":"meta.structure.list.item.python.renpy","begin":"(?\u003c=\\[|\\,)\\s*(?![\\],])","end":"\\s*(?:(,)|(?=\\]))","patterns":[{"include":"$self"}],"endCaptures":{"1":{"name":"punctuation.separator.list.python.renpy"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.list.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.list.end.python.renpy"}}},{"name":"meta.structure.tuple.python.renpy","match":"(\\()(\\s*(\\)))","captures":{"1":{"name":"punctuation.definition.tuple.begin.python.renpy"},"2":{"name":"meta.empty-tuple.python.renpy"},"3":{"name":"punctuation.definition.tuple.end.python.renpy"}}},{"name":"meta.structure.dictionary.python.renpy","match":"(\\{)(\\s*(\\}))","captures":{"1":{"name":"punctuation.definition.dictionary.begin.python.renpy"},"2":{"name":"meta.empty-dictionary.python.renpy"},"3":{"name":"punctuation.definition.dictionary.end.python.renpy"}}},{"name":"meta.structure.dictionary.python.renpy","begin":"(\\{)","end":"(\\})","patterns":[{"contentName":"meta.structure.dictionary.key.python.renpy","begin":"(?\u003c=\\{|\\,|^)\\s*(?![\\},])","end":"\\s*(?:(?=\\})|(\\:))","patterns":[{"include":"$self"}],"endCaptures":{"1":{"name":"punctuation.separator.valuepair.dictionary.python.renpy"}}},{"contentName":"meta.structure.dictionary.value.python.renpy","begin":"(?\u003c=\\:|^)\\s*","end":"\\s*(?:(?=\\})|(,))","patterns":[{"include":"$self"}],"endCaptures":{"1":{"name":"punctuation.separator.dictionary.python.renpy"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.dictionary.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.dictionary.end.python.renpy"}}}],"repository":{"builtin_exceptions":{"name":"support.type.exception.python.renpy","match":"(?x)\\b(\n\t\t\t\t(\n\t\t\t\t\tArithmetic|Assertion|Attribute|BlockingIO|BrokenPipe|Buffer|ChildProcess|\n\t\t\t\t\tConnection(Aborted|Refused|Reset)?|EOF|Environment|FileExists|\n\t\t\t\t\tFileNotFound|FloatingPoint|Interrupted|IO|IsADirectoryError|\n\t\t\t\t\tImport|Indentation|Index|Key|Lookup|Memory|Name|NotADirectory|\n\t\t\t\t\tNotImplemented|OS|Overflow|Permission|ProcessLookup|Reference|\n\t\t\t\t\tRuntime|Standard|Syntax|System|Tab|Timeout|Type|UnboundLocal|\n\t\t\t\t\tUnicode(Encode|Decode|Translate)?|Value|VMS|Windows|ZeroDivision\n\t\t\t\t)Error|\n\t\t\t\t((Pending)?Deprecation|Runtime|Syntax|User|Future|Import|Unicode|Bytes)?Warning|\n\t\t\t\t(Base)?Exception|\n\t\t\t\tSystemExit|StopIteration|NotImplemented|KeyboardInterrupt|GeneratorExit\n\t\t\t)\\b"},"builtin_functions":{"name":"support.function.builtin.python.renpy","match":"(?x)\\b(\n\t\t\t\t__import__|all|abs|any|apply|ascii|bin|callable|chr|classmethod|cmp|coerce|\n\t\t\t\tcompile|delattr|dir|divmod|enumerate|eval|execfile|filter|format|getattr|\n\t\t\t\tglobals|hasattr|hash|help|hex|id|input|intern|isinstance|issubclass|iter|\n\t\t\t\tlen|locals|map|max|min|next|oct|open|ord|pow|print|property|range|\n\t\t\t\traw_input|reduce|reload|repr|reversed|round|setattr|sorted|staticmethod|\n\t\t\t\tsum|super|type|unichr|vars|zip\n\t\t\t)\\b"},"builtin_types":{"name":"support.type.python.renpy","match":"(?x)\\b(\n\t\t\t\tbasestring|bool|buffer|bytearray|bytes|complex|dict|float|frozenset|int|\n\t\t\t\tlist|long|memoryview|object|range|set|slice|str|tuple|unicode|xrange\n\t\t\t)\\b"},"constant_placeholder":{"name":"constant.other.placeholder.tags.renpy","match":"\\{[^}]*\\}|\\[([^\\[\\]]|\\[[^\\[\\]]*\\])*\\]"},"docstrings":{"patterns":[{"name":"comment.block.python.renpy","begin":"^\\s*(?=[uU]?[rR]?\"\"\")","end":"(?\u003c=\"\"\")","patterns":[{"include":"#string_quoted_double"}]},{"name":"comment.block.python.renpy","begin":"^\\s*(?=[uU]?[rR]?''')","end":"(?\u003c=''')","patterns":[{"include":"#string_quoted_single"}]}]},"dotted_name":{"begin":"(?=[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*)","end":"(?![A-Za-z0-9_\\.])","patterns":[{"begin":"(\\.)(?=[A-Za-z_][A-Za-z0-9_]*)","end":"(?![A-Za-z0-9_])","patterns":[{"include":"#magic_function_names"},{"include":"#magic_variable_names"},{"include":"#illegal_names"},{"include":"#generic_names"}]},{"begin":"(?\u003c!\\.)(?=[A-Za-z_][A-Za-z0-9_]*)","end":"(?![A-Za-z0-9_])","patterns":[{"include":"#builtin_functions"},{"include":"#builtin_types"},{"include":"#builtin_exceptions"},{"include":"#illegal_names"},{"include":"#magic_function_names"},{"include":"#magic_variable_names"},{"include":"#language_variables"},{"include":"#generic_names"}]}]},"entity_name_class":{"patterns":[{"include":"#illegal_names"},{"include":"#generic_names"}]},"entity_name_function":{"patterns":[{"include":"#magic_function_names"},{"include":"#illegal_names"},{"include":"#generic_names"}]},"escaped_char":{"match":"(\\\\x[0-9A-F]{2})|(\\\\[0-7]{3})|(\\\\\\n)|(\\\\\\\\)|(\\\\\\\")|(\\\\')|(\\\\a)|(\\\\b)|(\\\\f)|(\\\\n)|(\\\\r)|(\\\\t)|(\\\\v)","captures":{"1":{"name":"constant.character.escape.hex.python.renpy"},"10":{"name":"constant.character.escape.linefeed.python.renpy"},"11":{"name":"constant.character.escape.return.python.renpy"},"12":{"name":"constant.character.escape.tab.python.renpy"},"13":{"name":"constant.character.escape.vertical-tab.python.renpy"},"2":{"name":"constant.character.escape.octal.python.renpy"},"3":{"name":"constant.character.escape.newline.python.renpy"},"4":{"name":"constant.character.escape.backlash.python.renpy"},"5":{"name":"constant.character.escape.double-quote.python.renpy"},"6":{"name":"constant.character.escape.single-quote.python.renpy"},"7":{"name":"constant.character.escape.bell.python.renpy"},"8":{"name":"constant.character.escape.backspace.python.renpy"},"9":{"name":"constant.character.escape.formfeed.python.renpy"}}},"escaped_placeholder":{"name":"constant.character.escape.placeholder.python.renpy","match":"\\{\\{|\\[\\["},"escaped_unicode_char":{"match":"(\\\\U[0-9A-Fa-f]{8})|(\\\\u[0-9A-Fa-f]{4})|(\\\\N\\{[a-zA-Z ]+\\})","captures":{"1":{"name":"constant.character.escape.unicode.16-bit-hex.python.renpy"},"2":{"name":"constant.character.escape.unicode.32-bit-hex.python.renpy"},"3":{"name":"constant.character.escape.unicode.name.python.renpy"}}},"function_name":{"patterns":[{"include":"#magic_function_names"},{"include":"#magic_variable_names"},{"include":"#builtin_exceptions"},{"include":"#builtin_functions"},{"include":"#builtin_types"},{"include":"#generic_names"}]},"generic_names":{"match":"[A-Za-z_][A-Za-z0-9_]*"},"illegal_names":{"name":"invalid.illegal.name.python.renpy","match":"\\b(and|as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|global|if|import|in|is|lambda|nonlocal|not|or|print|raise|try|while|with|yield)\\b"},"keyword_arguments":{"begin":"\\b([a-zA-Z_][a-zA-Z_0-9]*)\\s*(=)(?!=)","end":"\\s*(?:(,)|(?=$\\n?|[\\)\\:]))","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"variable.parameter.function.python.renpy"},"2":{"name":"keyword.operator.assignment.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.separator.parameters.python.renpy"}}},"language_variables":{"name":"variable.language.python.renpy","match":"\\b(self|cls)\\b"},"line_continuation":{"match":"(\\\\)(.*)$\\n?","captures":{"1":{"name":"punctuation.separator.continuation.line.python.renpy"},"2":{"name":"invalid.illegal.unexpected-text.python.renpy"}}},"magic_function_names":{"name":"support.function.magic.python.renpy","match":"(?x)\\b(__(?:\n\t\t\t\t\t\tabs|add|and|cmp|coerce|complex|contains|del|delattr|\n\t\t\t\t\t\tdelete|delitem|delslice|div|divmod|enter|eq|exit|float|\n\t\t\t\t\t\tfloordiv|ge|get|getattr|getattribute|getitem|getslice|gt|\n\t\t\t\t\t\thash|hex|iadd|iand|idiv|ifloordiv|ilshift|imod|imul|init|\n\t\t\t\t\t\tint|invert|ior|ipow|irshift|isub|iter|itruediv|ixor|le|len|\n\t\t\t\t\t\tlong|lshift|lt|mod|mul|ne|neg|new|nonzero|oct|or|pos|pow|\n\t\t\t\t\t\tradd|rand|rdiv|rdivmod|repr|rfloordiv|rlshift|rmod|rmul|ror|\n\t\t\t\t\t\trpow|rrshift|rshift|rsub|rtruediv|rxor|set|setattr|setitem|\n\t\t\t\t\t\tsetslice|str|sub|truediv|unicode|xor\n\t\t\t\t\t)__)\\b"},"magic_variable_names":{"name":"support.variable.magic.python.renpy","match":"\\b__(all|bases|class|debug|dict|doc|file|members|metaclass|methods|name|slots|weakref)__\\b"},"regular_expressions":{"patterns":[{"include":"source.regexp.python"}]},"string_quoted_double":{"patterns":[{"name":"string.quoted.double.block.unicode-raw-regex.python.renpy","begin":"([uU]r)(\"\"\")","end":"((?\u003c=\"\"\")(\")\"\"|\"\"\")","patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_unicode_char"},{"include":"#escaped_char"},{"include":"#regular_expressions"}],"beginCaptures":{"1":{"name":"storage.type.string.python.renpy"},"2":{"name":"punctuation.definition.string.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.python.renpy"},"2":{"name":"meta.empty-string.double.python.renpy"}}},{"name":"string.quoted.double.block.unicode-raw.python.renpy","begin":"([uU]R)(\"\"\")","end":"((?\u003c=\"\"\")(\")\"\"|\"\"\")","patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_unicode_char"},{"include":"#escaped_char"}],"beginCaptures":{"1":{"name":"storage.type.string.python.renpy"},"2":{"name":"punctuation.definition.string.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.python.renpy"},"2":{"name":"meta.empty-string.double.python.renpy"}}},{"name":"string.quoted.double.block.raw-regex.python.renpy","begin":"(r)(\"\"\")","end":"((?\u003c=\"\"\")(\")\"\"|\"\"\")","patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_char"},{"include":"#regular_expressions"}],"beginCaptures":{"1":{"name":"storage.type.string.python.renpy"},"2":{"name":"punctuation.definition.string.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.python.renpy"},"2":{"name":"meta.empty-string.double.python.renpy"}}},{"name":"string.quoted.double.block.raw.python.renpy","begin":"(R)(\"\"\")","end":"((?\u003c=\"\"\")(\")\"\"|\"\"\")","patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_char"}],"beginCaptures":{"1":{"name":"storage.type.string.python.renpy"},"2":{"name":"punctuation.definition.string.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.python.renpy"},"2":{"name":"meta.empty-string.double.python.renpy"}}},{"name":"string.quoted.double.block.unicode.python.renpy","begin":"([uU])(\"\"\")","end":"((?\u003c=\"\"\")(\")\"\"|\"\"\")","patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_unicode_char"},{"include":"#escaped_char"}],"beginCaptures":{"1":{"name":"storage.type.string.python.renpy"},"2":{"name":"punctuation.definition.string.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.python.renpy"},"2":{"name":"meta.empty-string.double.python.renpy"}}},{"name":"string.quoted.double.single-line.unicode-raw-regex.python.renpy","match":"([uU]r)(\")((?:[^\"\\\\]|\\\\.)*)(\")","captures":{"1":{"name":"storage.type.string.python.renpy"},"2":{"name":"punctuation.definition.string.begin.python.renpy"},"3":{"patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_unicode_char"},{"include":"#escaped_char"},{"include":"#regular_expressions"}]},"4":{"name":"punctuation.definition.string.end.python.renpy"}}},{"name":"string.quoted.double.single-line.unicode-raw.python.renpy","begin":"([uU]R)(\")","end":"((?\u003c=\")(\")|\")","patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_unicode_char"},{"include":"#escaped_char"}],"beginCaptures":{"1":{"name":"storage.type.string.python.renpy"},"2":{"name":"punctuation.definition.string.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.python.renpy"},"2":{"name":"meta.empty-string.double.python.renpy"},"3":{"name":"invalid.illegal.unclosed-string.python.renpy"}}},{"name":"string.quoted.double.single-line.raw-regex.python.renpy","match":"(r)(\")((?:[^\"\\\\]|\\\\.)*)(\")","captures":{"1":{"name":"storage.type.string.python.renpy"},"2":{"name":"punctuation.definition.string.begin.python.renpy"},"3":{"patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_char"},{"include":"#regular_expressions"}]},"4":{"name":"punctuation.definition.string.end.python.renpy"}}},{"name":"string.quoted.double.single-line.raw.python.renpy","begin":"(R)(\")","end":"((?\u003c=\")(\")|\")|(\\n)","patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_char"}],"beginCaptures":{"1":{"name":"storage.type.string.python.renpy"},"2":{"name":"punctuation.definition.string.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.python.renpy"},"2":{"name":"meta.empty-string.double.python.renpy"},"3":{"name":"invalid.illegal.unclosed-string.python.renpy"}}},{"name":"string.quoted.double.single-line.unicode.python.renpy","begin":"([uU])(\")","end":"((?\u003c=\")(\")|\")","patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_unicode_char"},{"include":"#escaped_char"}],"beginCaptures":{"1":{"name":"storage.type.string.python.renpy"},"2":{"name":"punctuation.definition.string.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.python.renpy"},"2":{"name":"meta.empty-string.double.python.renpy"},"3":{"name":"invalid.illegal.unclosed-string.python.renpy"}}},{"name":"string.quoted.double.block.python.renpy","begin":"(\"\"\")","end":"((?\u003c=\"\"\")(\")\"\"|\"\"\")","patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_char"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.python.renpy"},"2":{"name":"meta.empty-string.double.python.renpy"}}},{"name":"string.quoted.double.single-line.python.renpy","begin":"(\")","end":"((?\u003c=\")(\")|\")","patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_char"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.python.renpy"},"2":{"name":"meta.empty-string.double.python.renpy"},"3":{"name":"invalid.illegal.unclosed-string.python.renpy"}}}]},"string_quoted_single":{"patterns":[{"name":"string.quoted.single.single-line.python.renpy","match":"(?\u003c!')(')(('))(?!')","captures":{"1":{"name":"punctuation.definition.string.begin.python.renpy"},"2":{"name":"punctuation.definition.string.end.python.renpy"},"3":{"name":"meta.empty-string.single.python.renpy"}}},{"name":"string.quoted.single.block.unicode-raw-regex.python.renpy","begin":"([uU]r)(''')","end":"((?\u003c=''')(')''|''')","patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_unicode_char"},{"include":"#escaped_char"},{"include":"#regular_expressions"}],"beginCaptures":{"1":{"name":"storage.type.string.python.renpy"},"2":{"name":"punctuation.definition.string.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.python.renpy"},"2":{"name":"meta.empty-string.single.python.renpy"}}},{"name":"string.quoted.single.block.unicode-raw.python.renpy","begin":"([uU]R)(''')","end":"((?\u003c=''')(')''|''')","patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_unicode_char"},{"include":"#escaped_char"}],"beginCaptures":{"1":{"name":"storage.type.string.python.renpy"},"2":{"name":"punctuation.definition.string.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.python.renpy"},"2":{"name":"meta.empty-string.single.python.renpy"}}},{"name":"string.quoted.single.block.raw-regex.python.renpy","begin":"(r)(''')","end":"((?\u003c=''')(')''|''')","patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_char"},{"include":"#regular_expressions"}],"beginCaptures":{"1":{"name":"storage.type.string.python.renpy"},"2":{"name":"punctuation.definition.string.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.python.renpy"},"2":{"name":"meta.empty-string.single.python.renpy"}}},{"name":"string.quoted.single.block.raw.python.renpy","begin":"(R)(''')","end":"((?\u003c=''')(')''|''')","patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_char"}],"beginCaptures":{"1":{"name":"storage.type.string.python.renpy"},"2":{"name":"punctuation.definition.string.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.python.renpy"},"2":{"name":"meta.empty-string.single.python.renpy"}}},{"name":"string.quoted.single.block.unicode.python.renpy","begin":"([uU])(''')","end":"((?\u003c=''')(')''|''')","patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_unicode_char"},{"include":"#escaped_char"}],"beginCaptures":{"1":{"name":"storage.type.string.python.renpy"},"2":{"name":"punctuation.definition.string.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.python.renpy"},"2":{"name":"meta.empty-string.single.python.renpy"}}},{"name":"string.quoted.single.single-line.unicode-raw-regex.python.renpy","match":"([uU]r)(')((?:[^'\\\\]|\\\\.)*)(')","captures":{"1":{"name":"storage.type.string.python.renpy"},"2":{"name":"punctuation.definition.string.begin.python.renpy"},"3":{"patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_unicode_char"},{"include":"#escaped_char"},{"include":"#regular_expressions"}]},"4":{"name":"punctuation.definition.string.end.python.renpy"}}},{"name":"string.quoted.single.single-line.unicode-raw.python.renpy","begin":"([uU]R)(')","end":"(')","patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_unicode_char"},{"include":"#escaped_char"}],"beginCaptures":{"1":{"name":"storage.type.string.python.renpy"},"2":{"name":"punctuation.definition.string.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.python.renpy"},"2":{"name":"invalid.illegal.unclosed-string.python.renpy"}}},{"name":"string.quoted.single.single-line.raw-regex.python.renpy","match":"(r)(')((?:[^'\\\\]|\\\\.)*)(')","captures":{"1":{"name":"storage.type.string.python.renpy"},"2":{"name":"punctuation.definition.string.begin.python.renpy"},"3":{"patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_char"},{"include":"#regular_expressions"}]},"4":{"name":"punctuation.definition.string.end.python.renpy"}}},{"name":"string.quoted.single.single-line.raw.python.renpy","begin":"(R)(')","end":"(')|(\\n)","patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_char"}],"beginCaptures":{"1":{"name":"storage.type.string.python.renpy"},"2":{"name":"punctuation.definition.string.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.python.renpy"},"2":{"name":"invalid.illegal.unclosed-string.python.renpy"}}},{"name":"string.quoted.single.single-line.unicode.python.renpy","begin":"([uU])(')","end":"(')","patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_unicode_char"},{"include":"#escaped_char"}],"beginCaptures":{"1":{"name":"storage.type.string.python.renpy"},"2":{"name":"punctuation.definition.string.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.python.renpy"},"2":{"name":"invalid.illegal.unclosed-string.python.renpy"}}},{"name":"string.quoted.single.block.python.renpy","begin":"(''')","end":"((?\u003c=''')(')''|''')","patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_char"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.python.renpy"},"2":{"name":"meta.empty-string.single.python.renpy"}}},{"name":"string.quoted.single.single-line.python.renpy","begin":"(')","end":"(')","patterns":[{"include":"#escaped_placeholder"},{"include":"#constant_placeholder"},{"include":"#escaped_char"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.python.renpy"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.python.renpy"},"2":{"name":"invalid.illegal.unclosed-string.python.renpy"}}}]},"strings":{"patterns":[{"include":"#string_quoted_double"},{"include":"#string_quoted_single"}]}}}
|