github-linguist 7.11.1 → 7.14.0

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