github-linguist-grammars 4.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (335) hide show
  1. checksums.yaml +7 -0
  2. data/grammars/file.lasso.json +713 -0
  3. data/grammars/module.ceylon.json +54 -0
  4. data/grammars/objdump.x86asm.json +73 -0
  5. data/grammars/source.Inform7.json +45 -0
  6. data/grammars/source.Kotlin.json +774 -0
  7. data/grammars/source.LS.json +104 -0
  8. data/grammars/source.MCPOST.json +68 -0
  9. data/grammars/source.MOD.json +70 -0
  10. data/grammars/source.abap.json +176 -0
  11. data/grammars/source.abl.json +138 -0
  12. data/grammars/source.actionscript.3.json +1571 -0
  13. data/grammars/source.acucobol.json +16 -0
  14. data/grammars/source.ada.json +140 -0
  15. data/grammars/source.agda.json +254 -0
  16. data/grammars/source.ahk.json +171 -0
  17. data/grammars/source.alloy.json +44 -0
  18. data/grammars/source.ampl.json +157 -0
  19. data/grammars/source.antlr.json +300 -0
  20. data/grammars/source.apache-config.json +352 -0
  21. data/grammars/source.apache-config.mod_perl.json +70 -0
  22. data/grammars/source.apl.json +442 -0
  23. data/grammars/source.applescript.json +1385 -0
  24. data/grammars/source.apt.json +25 -0
  25. data/grammars/source.asm.x86.json +182 -0
  26. data/grammars/source.asp.json +157 -0
  27. data/grammars/source.aspectj.json +963 -0
  28. data/grammars/source.ats.json +170 -0
  29. data/grammars/source.autoit.3.json +132 -0
  30. data/grammars/source.awk.json +388 -0
  31. data/grammars/source.befunge.json +38 -0
  32. data/grammars/source.bf.json +36 -0
  33. data/grammars/source.bison.json +59 -0
  34. data/grammars/source.blitzmax.json +912 -0
  35. data/grammars/source.boo.json +452 -0
  36. data/grammars/source.brightauthorproject.json +29 -0
  37. data/grammars/source.brightscript.json +158 -0
  38. data/grammars/source.bro.json +409 -0
  39. data/grammars/source.bsv.json +283 -0
  40. data/grammars/source.c++.json +364 -0
  41. data/grammars/source.c++.qt.json +37 -0
  42. data/grammars/source.c.ec.json +39 -0
  43. data/grammars/source.c.json +727 -0
  44. data/grammars/source.c.platform.json +154 -0
  45. data/grammars/source.cache.cmake.json +75 -0
  46. data/grammars/source.cake.json +16 -0
  47. data/grammars/source.camlp4.ocaml.json +63 -0
  48. data/grammars/source.capnp.json +93 -0
  49. data/grammars/source.ceylon.json +77 -0
  50. data/grammars/source.cfscript.cfc.json +170 -0
  51. data/grammars/source.cfscript.json +744 -0
  52. data/grammars/source.chapel.json +240 -0
  53. data/grammars/source.cirru.json +66 -0
  54. data/grammars/source.clarion.json +159 -0
  55. data/grammars/source.clips.json +80 -0
  56. data/grammars/source.clojure.json +397 -0
  57. data/grammars/source.cm.json +54 -0
  58. data/grammars/source.cmake.json +181 -0
  59. data/grammars/source.cobol.json +528 -0
  60. data/grammars/source.coffee.json +678 -0
  61. data/grammars/source.compiled-papyrus.json +11 -0
  62. data/grammars/source.cool.json +103 -0
  63. data/grammars/source.coq.json +62 -0
  64. data/grammars/source.crystal.json +2760 -0
  65. data/grammars/source.cs.json +556 -0
  66. data/grammars/source.css.json +630 -0
  67. data/grammars/source.css.less.json +276 -0
  68. data/grammars/source.css.mss.json +256 -0
  69. data/grammars/source.csx.json +16 -0
  70. data/grammars/source.cuda-c++.json +137 -0
  71. data/grammars/source.cython.json +2108 -0
  72. data/grammars/source.d.json +722 -0
  73. data/grammars/source.dart.json +763 -0
  74. data/grammars/source.desktop.json +90 -0
  75. data/grammars/source.diff.json +162 -0
  76. data/grammars/source.dockerfile.json +89 -0
  77. data/grammars/source.dosbatch.json +70 -0
  78. data/grammars/source.dot.json +126 -0
  79. data/grammars/source.dylan.json +217 -0
  80. data/grammars/source.eiffel.json +138 -0
  81. data/grammars/source.elixir.json +737 -0
  82. data/grammars/source.elm.json +355 -0
  83. data/grammars/source.erazor.json +126 -0
  84. data/grammars/source.erlang.json +1674 -0
  85. data/grammars/source.essl.json +50 -0
  86. data/grammars/source.factor.json +260 -0
  87. data/grammars/source.fan.json +188 -0
  88. data/grammars/source.fancy.json +270 -0
  89. data/grammars/source.fish.json +214 -0
  90. data/grammars/source.forth.json +101 -0
  91. data/grammars/source.fortran.json +499 -0
  92. data/grammars/source.fortran.modern.json +226 -0
  93. data/grammars/source.fsharp.json +403 -0
  94. data/grammars/source.gap.json +167 -0
  95. data/grammars/source.gcode.json +25 -0
  96. data/grammars/source.gdscript.json +154 -0
  97. data/grammars/source.gfm.json +1270 -0
  98. data/grammars/source.glsl.json +71 -0
  99. data/grammars/source.gnuplot.json +276 -0
  100. data/grammars/source.go.json +552 -0
  101. data/grammars/source.golo.json +182 -0
  102. data/grammars/source.gosu.2.json +163 -0
  103. data/grammars/source.grace.json +679 -0
  104. data/grammars/source.groovy.gradle.json +73 -0
  105. data/grammars/source.groovy.json +1385 -0
  106. data/grammars/source.harbour.json +450 -0
  107. data/grammars/source.haskell.json +449 -0
  108. data/grammars/source.haxe.2.json +1243 -0
  109. data/grammars/source.hss.1.json +464 -0
  110. data/grammars/source.httpspec.json +287 -0
  111. data/grammars/source.hxml.json +26 -0
  112. data/grammars/source.hy.json +270 -0
  113. data/grammars/source.idl-dlm.json +112 -0
  114. data/grammars/source.idl.json +267 -0
  115. data/grammars/source.idris.json +537 -0
  116. data/grammars/source.ini.json +113 -0
  117. data/grammars/source.inno.json +65 -0
  118. data/grammars/source.io.json +164 -0
  119. data/grammars/source.ioke.json +272 -0
  120. data/grammars/source.isabelle.root.json +68 -0
  121. data/grammars/source.isabelle.theory.json +106 -0
  122. data/grammars/source.j.json +49 -0
  123. data/grammars/source.jade.json +1009 -0
  124. data/grammars/source.jasmin.json +299 -0
  125. data/grammars/source.java-properties.json +97 -0
  126. data/grammars/source.java.json +1026 -0
  127. data/grammars/source.jcl.json +49 -0
  128. data/grammars/source.jflex.json +490 -0
  129. data/grammars/source.jq.json +218 -0
  130. data/grammars/source.js.json +948 -0
  131. data/grammars/source.js.jsx.json +2937 -0
  132. data/grammars/source.js.objj.json +424 -0
  133. data/grammars/source.js.regexp.json +150 -0
  134. data/grammars/source.js.regexp.replacement.json +30 -0
  135. data/grammars/source.json.json +149 -0
  136. data/grammars/source.julia.json +407 -0
  137. data/grammars/source.lean.json +145 -0
  138. data/grammars/source.lid.json +23 -0
  139. data/grammars/source.lilypond.json +623 -0
  140. data/grammars/source.lisp.json +111 -0
  141. data/grammars/source.litcoffee.json +669 -0
  142. data/grammars/source.livescript.json +616 -0
  143. data/grammars/source.llvm.json +71 -0
  144. data/grammars/source.logos.json +31 -0
  145. data/grammars/source.logtalk.json +315 -0
  146. data/grammars/source.loomscript.json +214 -0
  147. data/grammars/source.lsl.json +216 -0
  148. data/grammars/source.lua.json +191 -0
  149. data/grammars/source.makefile.json +474 -0
  150. data/grammars/source.makegen.json +13 -0
  151. data/grammars/source.man.json +53 -0
  152. data/grammars/source.mask.json +701 -0
  153. data/grammars/source.mata.json +133 -0
  154. data/grammars/source.mathematica.json +429 -0
  155. data/grammars/source.matlab.json +776 -0
  156. data/grammars/source.mercury.json +251 -0
  157. data/grammars/source.ml.json +291 -0
  158. data/grammars/source.modelica.json +142 -0
  159. data/grammars/source.modula2.json +103 -0
  160. data/grammars/source.monkey.json +701 -0
  161. data/grammars/source.moonscript.json +149 -0
  162. data/grammars/source.mupad.json +149 -0
  163. data/grammars/source.nant-build.json +86 -0
  164. data/grammars/source.ncl.json +66 -0
  165. data/grammars/source.nemerle.json +137 -0
  166. data/grammars/source.nesc.json +27 -0
  167. data/grammars/source.netlinx.erb.json +47 -0
  168. data/grammars/source.netlinx.json +768 -0
  169. data/grammars/source.nginx.json +797 -0
  170. data/grammars/source.nim.json +1150 -0
  171. data/grammars/source.nim_filter.json +133 -0
  172. data/grammars/source.nimcfg.json +116 -0
  173. data/grammars/source.ninja.json +66 -0
  174. data/grammars/source.nit.json +238 -0
  175. data/grammars/source.nix.json +1200 -0
  176. data/grammars/source.nmml.json +87 -0
  177. data/grammars/source.nsis.json +150 -0
  178. data/grammars/source.objc++.json +19 -0
  179. data/grammars/source.objc.json +918 -0
  180. data/grammars/source.objc.platform.json +277 -0
  181. data/grammars/source.ocaml.json +1426 -0
  182. data/grammars/source.ocamllex.json +305 -0
  183. data/grammars/source.ocamlyacc.json +346 -0
  184. data/grammars/source.octave.json +451 -0
  185. data/grammars/source.ooc.json +692 -0
  186. data/grammars/source.opa.json +206 -0
  187. data/grammars/source.opal.json +415 -0
  188. data/grammars/source.opalsysdefs.json +70 -0
  189. data/grammars/source.opencobol.json +65 -0
  190. data/grammars/source.ox.json +97 -0
  191. data/grammars/source.oz.json +84 -0
  192. data/grammars/source.papyrus-assembly.json +266 -0
  193. data/grammars/source.papyrus.json +231 -0
  194. data/grammars/source.parrot.pir.json +117 -0
  195. data/grammars/source.pascal.json +150 -0
  196. data/grammars/source.perl.6.json +310 -0
  197. data/grammars/source.perl.json +2413 -0
  198. data/grammars/source.php.zephir.json +362 -0
  199. data/grammars/source.pig_latin.json +172 -0
  200. data/grammars/source.pike.json +62 -0
  201. data/grammars/source.plsql.oracle.json +642 -0
  202. data/grammars/source.po.json +232 -0
  203. data/grammars/source.pogoscript.json +85 -0
  204. data/grammars/source.postscript.json +231 -0
  205. data/grammars/source.powershell.json +755 -0
  206. data/grammars/source.processing.json +885 -0
  207. data/grammars/source.prolog.eclipse.json +206 -0
  208. data/grammars/source.prolog.json +292 -0
  209. data/grammars/source.protobuf.json +395 -0
  210. data/grammars/source.pubspec.json +13 -0
  211. data/grammars/source.puppet.json +494 -0
  212. data/grammars/source.purescript.json +818 -0
  213. data/grammars/source.pyjade.json +1010 -0
  214. data/grammars/source.python.django.json +34 -0
  215. data/grammars/source.python.json +1960 -0
  216. data/grammars/source.python.salt.json +13 -0
  217. data/grammars/source.qmake.json +217 -0
  218. data/grammars/source.qml.json +195 -0
  219. data/grammars/source.r.json +203 -0
  220. data/grammars/source.racket.json +119 -0
  221. data/grammars/source.rebol.json +647 -0
  222. data/grammars/source.red.json +652 -0
  223. data/grammars/source.regexp.babel.json +190 -0
  224. data/grammars/source.regexp.python.json +187 -0
  225. data/grammars/source.regexp.spin.json +188 -0
  226. data/grammars/source.ruby.json +1956 -0
  227. data/grammars/source.ruby.rspec.cucumber.steps.json +274 -0
  228. data/grammars/source.rust.json +269 -0
  229. data/grammars/source.sas.json +322 -0
  230. data/grammars/source.sas_log.json +26 -0
  231. data/grammars/source.sass.json +248 -0
  232. data/grammars/source.sbt.json +36 -0
  233. data/grammars/source.scad.json +152 -0
  234. data/grammars/source.scala.json +739 -0
  235. data/grammars/source.scaml.json +466 -0
  236. data/grammars/source.scheme.json +370 -0
  237. data/grammars/source.scilab.json +103 -0
  238. data/grammars/source.scss.json +1321 -0
  239. data/grammars/source.shell.json +1212 -0
  240. data/grammars/source.smali.json +1668 -0
  241. data/grammars/source.smalltalk.json +135 -0
  242. data/grammars/source.smt.json +173 -0
  243. data/grammars/source.sp.json +118 -0
  244. data/grammars/source.sparql.json +23 -0
  245. data/grammars/source.spin.json +936 -0
  246. data/grammars/source.sqf.json +112 -0
  247. data/grammars/source.sql.json +473 -0
  248. data/grammars/source.stata.json +208 -0
  249. data/grammars/source.strings.json +53 -0
  250. data/grammars/source.stylus.json +1021 -0
  251. data/grammars/source.swift.json +965 -0
  252. data/grammars/source.systemverilog.json +1050 -0
  253. data/grammars/source.tcl.json +277 -0
  254. data/grammars/source.tea.json +180 -0
  255. data/grammars/source.thrift.json +704 -0
  256. data/grammars/source.toml.json +327 -0
  257. data/grammars/source.ts.json +1094 -0
  258. data/grammars/source.tsx.json +1324 -0
  259. data/grammars/source.turtle.json +505 -0
  260. data/grammars/source.txl.json +62 -0
  261. data/grammars/source.ucfconstraints.json +72 -0
  262. data/grammars/source.vala.json +814 -0
  263. data/grammars/source.varnish.vcl.json +343 -0
  264. data/grammars/source.vbnet.json +338 -0
  265. data/grammars/source.verilog.json +302 -0
  266. data/grammars/source.vhdl.json +1349 -0
  267. data/grammars/source.viml.json +224 -0
  268. data/grammars/source.webidl.json +814 -0
  269. data/grammars/source.x10.json +68 -0
  270. data/grammars/source.x86asm.json +47 -0
  271. data/grammars/source.xc.json +379 -0
  272. data/grammars/source.xq.json +241 -0
  273. data/grammars/source.xquery.json +193 -0
  274. data/grammars/source.xtend.json +733 -0
  275. data/grammars/source.yaml.json +334 -0
  276. data/grammars/source.yaml.salt.json +348 -0
  277. data/grammars/text.bibtex.json +251 -0
  278. data/grammars/text.cfml.basic.json +736 -0
  279. data/grammars/text.dart-analysis-output.json +162 -0
  280. data/grammars/text.dart-doccomments.json +19 -0
  281. data/grammars/text.elixir.json +45 -0
  282. data/grammars/text.gherkin.feature.json +135 -0
  283. data/grammars/text.groff.json +113 -0
  284. data/grammars/text.haml.json +299 -0
  285. data/grammars/text.html.abl.json +24 -0
  286. data/grammars/text.html.asciidoc.json +492 -0
  287. data/grammars/text.html.asdoc.json +541 -0
  288. data/grammars/text.html.asp.json +58 -0
  289. data/grammars/text.html.basic.json +552 -0
  290. data/grammars/text.html.cfm.json +811 -0
  291. data/grammars/text.html.creole.json +329 -0
  292. data/grammars/text.html.django.json +69 -0
  293. data/grammars/text.html.elixir.json +18 -0
  294. data/grammars/text.html.erb.json +157 -0
  295. data/grammars/text.html.erlang.yaws.json +72 -0
  296. data/grammars/text.html.factor.json +27 -0
  297. data/grammars/text.html.handlebars.json +783 -0
  298. data/grammars/text.html.jsp.json +1203 -0
  299. data/grammars/text.html.liquid.json +35 -0
  300. data/grammars/text.html.mako.json +729 -0
  301. data/grammars/text.html.markdown.source.gfm.apib.json +1297 -0
  302. data/grammars/text.html.markdown.source.gfm.mson.json +1165 -0
  303. data/grammars/text.html.mediawiki.json +972 -0
  304. data/grammars/text.html.php.json +2607 -0
  305. data/grammars/text.html.slash.json +313 -0
  306. data/grammars/text.html.smarty.json +216 -0
  307. data/grammars/text.html.ssp.json +49 -0
  308. data/grammars/text.html.tcl.json +44 -0
  309. data/grammars/text.html.twig.json +1353 -0
  310. data/grammars/text.html.vue.json +642 -0
  311. data/grammars/text.idl-idldoc.json +14 -0
  312. data/grammars/text.junit-test-report.json +92 -0
  313. data/grammars/text.log.latex.json +86 -0
  314. data/grammars/text.python.console.json +25 -0
  315. data/grammars/text.python.traceback.json +46 -0
  316. data/grammars/text.rdoc.json +48 -0
  317. data/grammars/text.restructuredtext.json +561 -0
  318. data/grammars/text.robot.json +73 -0
  319. data/grammars/text.shell-session.json +48 -0
  320. data/grammars/text.slim.json +527 -0
  321. data/grammars/text.tex.json +271 -0
  322. data/grammars/text.tex.latex.beamer.json +63 -0
  323. data/grammars/text.tex.latex.haskell.json +56 -0
  324. data/grammars/text.tex.latex.json +1013 -0
  325. data/grammars/text.tex.latex.memoir.json +99 -0
  326. data/grammars/text.tex.latex.rd.json +117 -0
  327. data/grammars/text.xml.ant.json +202 -0
  328. data/grammars/text.xml.flex-config.json +2634 -0
  329. data/grammars/text.xml.genshi.json +34 -0
  330. data/grammars/text.xml.json +364 -0
  331. data/grammars/text.xml.pom.json +774 -0
  332. data/grammars/text.xml.xsl.json +94 -0
  333. data/grammars/text.zone_file.json +72 -0
  334. data/lib/linguist/grammars.rb +13 -0
  335. metadata +389 -0
@@ -0,0 +1,16 @@
1
+ {
2
+ "scopeName": "source.csx",
3
+ "name": "C# Script File",
4
+ "fileTypes": [
5
+ "csx"
6
+ ],
7
+ "patterns": [
8
+ {
9
+ "include": "source.cs"
10
+ },
11
+ {
12
+ "match": "^#(load|r)",
13
+ "name": "preprocessor.source.csx"
14
+ }
15
+ ]
16
+ }
@@ -0,0 +1,137 @@
1
+ {
2
+ "fileTypes": [
3
+ "cu",
4
+ "cuh",
5
+ "h"
6
+ ],
7
+ "firstLineMatch": "-\\*- C\\+\\+ -\\*-",
8
+ "foldingStartMarker": "(?x)\n\t\t /\\*\\*(?!\\*)\n\t\t|^(?![^{]*?//|[^{]*?/\\*(?!.*?\\*/.*?\\{)).*?\\{\\s*($|//|/\\*(?!.*?\\*/.*\\S))\n\t",
9
+ "foldingStopMarker": "(?<!\\*)\\*\\*/|^\\s*\\}",
10
+ "keyEquivalent": "^~C",
11
+ "name": "CUDA C++",
12
+ "patterns": [
13
+ {
14
+ "include": "source.c++"
15
+ },
16
+ {
17
+ "comment": "B.1 FUNCTION TYPE QUALIFIERS",
18
+ "match": "\\b__(global|device|host|noinline|forceinline)__\\b",
19
+ "name": "keyword.function.qualifier.cuda-c++"
20
+ },
21
+ {
22
+ "comment": "B.2 VARIABLE TYPE QUALIFIERS",
23
+ "match": "\\b__(device|constant|managed|shared|restrict)__\\b",
24
+ "name": "storage.modifier.cuda-c++"
25
+ },
26
+ {
27
+ "comment": "B.3 BUILT-IN VECTOR TYPES",
28
+ "match": "\\b(dim3|char[1-4]|uchar[1-4]|short[1-4]|ushort[1-4]|int[1-4]|uint[1-4]|long[1-4]|ulong[1-4]|longlong[1-4]|ulonglong[1-4]|float[1-4]|double[1-4])\\b",
29
+ "name": "support.type.cuda-c++"
30
+ },
31
+ {
32
+ "comment": "B.4 BUILT-IN VARIABLES",
33
+ "match": "\\b(gridDim|blockIdx|blockDim|threadIdx|warpSize)\\b",
34
+ "name": "variable.language.cuda-c++"
35
+ },
36
+ {
37
+ "comment": "B.5 MEMORY FENCE FUNCTIONS",
38
+ "match": "\\b__(threadfence_system|threadfence_block|threadfence)\\b",
39
+ "name": "support.function.cuda-c++"
40
+ },
41
+ {
42
+ "comment": "B.6 SYNCHRONIZATION FUNCTIONS",
43
+ "match": "\\b__(syncthreads_count|syncthreads_and|syncthreads_or|syncthreads)\\b",
44
+ "name": "support.function.cuda-c++"
45
+ },
46
+ {
47
+ "comment": "B.8 TEXTURE FUNCTIONS",
48
+ "match": "\\b(texCubemapLayered|tex1Dlayered|tex2Dlayered|tex2Dgather|tex1Dfetch|texCubemap|tex1D|tex2D|tex3D)\\b",
49
+ "name": "support.function.cuda-c++"
50
+ },
51
+ {
52
+ "comment": "B.9 SURFACE FUNCTIONS",
53
+ "match": "\\b(surfCubemapLayeredwrite|surfCubemapLayeredread|surf1DLayeredwrite|surf2DLayeredwrite|surf1DLayeredread|surf2DLayeredread|surfCubemapwrite|surfCubemapread|surf1Dwrite|surf2Dwrite|surf3Dwrite|surf1Dread|surf2Dread|surf3Dread)\\b",
54
+ "name": "support.function.cuda-c++"
55
+ },
56
+ {
57
+ "comment": "B.10 READ-ONLY DATA CACHE LOAD FUNCTION",
58
+ "match": "\\b__ldg\\b",
59
+ "name": "support.function.cuda-c++"
60
+ },
61
+ {
62
+ "comment": "B.11 TIME FUNCTION",
63
+ "match": "\\b(clock|clock64)\\b",
64
+ "name": "support.function.cuda-c++"
65
+ },
66
+ {
67
+ "comment": "B.12 ATOMIC FUNCTIONS",
68
+ "match": "\\b(atomicExch|atomicAdd|atomicSub|atomicMin|atomicMax|atomicInc|atomicDec|atomicCAS|atomicAnd|atomicXor|atomicOr)\\b",
69
+ "name": "support.function.cuda-c++"
70
+ },
71
+ {
72
+ "comment": "B.13 WARP VOTE FUNCTIONS",
73
+ "match": "\\b__(ballot|all|any)\\b",
74
+ "name": "support.function.cuda-c++"
75
+ },
76
+ {
77
+ "comment": "B.14 WARP SHUFFLE FUNCTIONS",
78
+ "match": "\\b__(shfl_down|shfl_xor|shfl_up|shfl)\\b",
79
+ "name": "support.function.cuda-c++"
80
+ },
81
+ {
82
+ "comment": "B.15 PROFILER COUNTER FUNCTION",
83
+ "match": "\\b__(prof_trigger)\\b",
84
+ "name": "support.function.cuda-c++"
85
+ },
86
+ {
87
+ "comment": "B.16 ASSERTION",
88
+ "match": "\\bassert\\b",
89
+ "name": "support.function.cuda-c++"
90
+ },
91
+ {
92
+ "comment": "B.17 FORMATTED OUTPUT",
93
+ "match": "\\printf\\b",
94
+ "name": "support.function.cuda-c++"
95
+ },
96
+ {
97
+ "comment": "B.18 DYNAMIC GLOBAL MEMORY ALLOCATION AND OPERATIONS",
98
+ "match": "\\b(malloc|free|memcpy|memset)\\b",
99
+ "name": "support.function.cuda-c++"
100
+ },
101
+ {
102
+ "begin": "(<<<)",
103
+ "comment": "B.19 EXECUTION CONFIGURATION",
104
+ "end": "(>>>)",
105
+ "name": "keyword.operator.cuda-c++",
106
+ "patterns": [
107
+ {
108
+ "include": "$base"
109
+ }
110
+ ]
111
+ },
112
+ {
113
+ "comment": "B.20 LAUNCH BOUNDS",
114
+ "match": "\\b__launch_bounds__\\b",
115
+ "name": "support.function.qualifier.cuda-c++"
116
+ },
117
+ {
118
+ "comment": "D.2 INTRINSIC FUNCTIONS Table 8",
119
+ "match": "\\b__(fdividef|sincosf|log10f|exp10f|log2f|logf|expf|powf|sinf|cosf|tanf)\\b",
120
+ "name": "support.function.cuda-c++"
121
+ },
122
+ {
123
+ "comment": "D.2 INTRINSIC FUNCTIONS Table 9",
124
+ "match": "\\b__((fsqrt|frcp|fadd|fsub|fmul|fmaf|fdiv)_(rn|rz|ru|rd)|frsqrt_rn)\\b",
125
+ "name": "support.function.cuda-c++"
126
+ },
127
+ {
128
+ "comment": "D.2 INTRINSIC FUNCTIONS Table 10",
129
+ "match": "\\b__(dsqrt|dadd|dsub|dmul|ddiv|drcp|fma)_(rn|rz|ru|rd)\\b",
130
+ "name": "support.function.cuda-c++"
131
+ }
132
+ ],
133
+ "repository": {
134
+ },
135
+ "scopeName": "source.cuda-c++",
136
+ "uuid": "e498cb33-bf6f-487b-8c77-02576bcb76dc"
137
+ }
@@ -0,0 +1,2108 @@
1
+ {
2
+ "bundleUUID": "E3BADC20-6B0E-11D9-9DC9-000D93589AF6",
3
+ "fileTypes": [
4
+ "pyx",
5
+ "pxi",
6
+ "pxd"
7
+ ],
8
+ "foldingStartMarker": "^\\s*((cp?)?def|class|property|struct|enum|union)\\s+([.a-zA-Z0-9_ <]+)\\s*(\\((.*)\\)|['\"]+.+['\"]+)?\\s*:|\\{\\s*$|\\(\\s*$|\\[\\s*$|^\\s*\"\"\"(?=.)(?!.*\"\"\")",
9
+ "foldingStopMarker": "^\\s*$|^\\s*\\}|^\\s*\\]|^\\s*\\)|^\\s*\"\"\"\\s*$",
10
+ "keyEquivalent": "^~C",
11
+ "name": "Cython",
12
+ "patterns": [
13
+ {
14
+ "captures": {
15
+ "1": {
16
+ "name": "punctuation.definition.comment.cython"
17
+ }
18
+ },
19
+ "match": "(#).*$\\n?",
20
+ "name": "comment.line.number-sign.cython"
21
+ },
22
+ {
23
+ "match": "\\b(?i:(0x\\h*)L)",
24
+ "name": "constant.numeric.integer.long.hexadecimal.cython"
25
+ },
26
+ {
27
+ "match": "\\b(?i:(0x\\h*))",
28
+ "name": "constant.numeric.integer.hexadecimal.cython"
29
+ },
30
+ {
31
+ "match": "\\b(?i:(0[0-7]+)L)",
32
+ "name": "constant.numeric.integer.long.octal.cython"
33
+ },
34
+ {
35
+ "match": "\\b(0[0-7]+)",
36
+ "name": "constant.numeric.integer.octal.cython"
37
+ },
38
+ {
39
+ "match": "\\b(?i:(((\\d+(\\.(?=[^a-zA-Z_])\\d*)?|(?<=[^0-9a-zA-Z_])\\.\\d+)(e[\\-\\+]?\\d+)?))J)",
40
+ "name": "constant.numeric.complex.cython"
41
+ },
42
+ {
43
+ "match": "\\b(?i:(\\d+\\.\\d*(e[\\-\\+]?\\d+)?))(?=[^a-zA-Z_])",
44
+ "name": "constant.numeric.float.cython"
45
+ },
46
+ {
47
+ "match": "(?<=[^0-9a-zA-Z_])(?i:(\\.\\d+(e[\\-\\+]?\\d+)?))",
48
+ "name": "constant.numeric.float.cython"
49
+ },
50
+ {
51
+ "match": "\\b(?i:(\\d+e[\\-\\+]?\\d+))",
52
+ "name": "constant.numeric.float.cython"
53
+ },
54
+ {
55
+ "match": "\\b(?i:([1-9]+[0-9]*|0)L)",
56
+ "name": "constant.numeric.integer.long.decimal.cython"
57
+ },
58
+ {
59
+ "match": "\\b([1-9]+[0-9]*|0)",
60
+ "name": "constant.numeric.integer.decimal.cython"
61
+ },
62
+ {
63
+ "captures": {
64
+ "1": {
65
+ "name": "storage.modifier.global.cython"
66
+ }
67
+ },
68
+ "match": "\\b(global|readonly|public|api|nogil|gil)\\b"
69
+ },
70
+ {
71
+ "captures": {
72
+ "1": {
73
+ "name": "keyword.control.import.cython"
74
+ },
75
+ "2": {
76
+ "name": "keyword.control.import.from.cython"
77
+ }
78
+ },
79
+ "match": "\\b(?:(c?import|include)|(from))\\b"
80
+ },
81
+ {
82
+ "match": "\\bexcept\\?",
83
+ "name": "keyword.control.flow.cython"
84
+ },
85
+ {
86
+ "comment": "keywords that delimit flow blocks",
87
+ "match": "\\b(elif|else|except|finally|for|if|try|while|with|IF|ELIF|ELSE)\\b",
88
+ "name": "keyword.control.flow.cython"
89
+ },
90
+ {
91
+ "match": "\\bDEF\\b",
92
+ "name": "keyword.control.define.cython"
93
+ },
94
+ {
95
+ "comment": "keywords that alter flow from within a block",
96
+ "match": "\\b(break|continue|pass|raise|return|yield)\\b",
97
+ "name": "keyword.control.flow.cython"
98
+ },
99
+ {
100
+ "comment": "keyword operators that evaluate to True or False",
101
+ "match": "\\b(and|in|is|not|or)\\b",
102
+ "name": "keyword.operator.logical.cython"
103
+ },
104
+ {
105
+ "captures": {
106
+ "1": {
107
+ "name": "keyword.other.cython"
108
+ }
109
+ },
110
+ "comment": "keywords that haven't fit into other groups (yet).",
111
+ "match": "\\b(as|assert|del|exec|print|by)\\b"
112
+ },
113
+ {
114
+ "match": "\\b(extern|register|restrict|static|volatile|inline)\\b",
115
+ "name": "storage.modifier.cython"
116
+ },
117
+ {
118
+ "captures": {
119
+ "2": {
120
+ "name": "storage.type.cython"
121
+ }
122
+ },
123
+ "match": "(<)\\s*(([a-zA-Z_][a-zA-Z0-9_]*)(\\s+[a-zA-Z_][a-zA-Z0-9_]*)*[ *]*)\\s*\\??\\s*(>)",
124
+ "name": "operator.cast.cython"
125
+ },
126
+ {
127
+ "match": "<\\=|>\\=|\\=\\=|<|>|<>",
128
+ "name": "keyword.operator.comparison.cython"
129
+ },
130
+ {
131
+ "match": "\\+\\=|-\\=|\\*\\=|/\\=|//\\=|%\\=|&\\=|\\|\\=|\\^\\=|>>\\=|<<\\=|\\*\\*\\=",
132
+ "name": "keyword.operator.assignment.augmented.cython"
133
+ },
134
+ {
135
+ "match": "\\+|\\-|\\*|\\*\\*|/|//|%|<<|>>|&|\\||\\^|~",
136
+ "name": "keyword.operator.arithmetic.cython"
137
+ },
138
+ {
139
+ "match": "\\=",
140
+ "name": "keyword.operator.assignment.cython"
141
+ },
142
+ {
143
+ "begin": "^(cdef)\\s+(extern|import)\\s+(from)",
144
+ "beginCaptures": {
145
+ "1": {
146
+ "name": "storage.type.cdef.cython"
147
+ },
148
+ "2": {
149
+ "name": "keyword.control.import.cython"
150
+ },
151
+ "3": {
152
+ "name": "keyword.control.import.from.cython"
153
+ }
154
+ },
155
+ "end": ":",
156
+ "name": "meta.cextern.cython",
157
+ "patterns": [
158
+ {
159
+ "include": "#strings"
160
+ }
161
+ ]
162
+ },
163
+ {
164
+ "begin": "^\\s*(cp?def\\s+)?(?!(raise|return|yield|assert|del|print|exec|def|class|if|elif|for|while|except|with|IF|ELIF)\\b)(([a-zA-Z_][a-zA-Z0-9_]*)(\\s+[a-zA-Z_][a-zA-Z0-9_]*)*([ *]*))\\s*(\\b[a-zA-Z_][a-zA-Z0-9_]*)\\s*(?=\\(|'|\")(?=.*\\()",
165
+ "beginCaptures": {
166
+ "1": {
167
+ "name": "storage.type.cdef.cython"
168
+ },
169
+ "3": {
170
+ "name": "storage.type.cython"
171
+ },
172
+ "7": {
173
+ "name": "entity.name.cfunction.cython"
174
+ },
175
+ "8": {
176
+ "name": "punctuation.definition.cfunction.cython"
177
+ }
178
+ },
179
+ "end": "(\\)):?",
180
+ "endCaptures": {
181
+ "1": {
182
+ "name": "punctuation.definition.cfunction.cython"
183
+ }
184
+ },
185
+ "name": "meta.cfunction.cython",
186
+ "patterns": [
187
+ {
188
+ "include": "#strings"
189
+ }
190
+ ]
191
+ },
192
+ {
193
+ "captures": {
194
+ "1": {
195
+ "name": "storage.type.property.cython"
196
+ },
197
+ "2": {
198
+ "name": "entity.name.type.property.cython"
199
+ }
200
+ },
201
+ "match": "^\\s*(property)\\s+([a-zA-Z_][a-zA-Z_0-9]*)",
202
+ "name": "meta.property.cython"
203
+ },
204
+ {
205
+ "captures": {
206
+ "1": {
207
+ "name": "storage.type.cdef.cython"
208
+ },
209
+ "3": {
210
+ "name": "storage.modifier.cython"
211
+ },
212
+ "4": {
213
+ "name": "storage.type.struct.cython"
214
+ },
215
+ "5": {
216
+ "name": "entity.name.type.struct.cython"
217
+ }
218
+ },
219
+ "match": "^\\s*(cdef\\s+)?((extern|api|public)\\s+)?(struct)\\s+([a-zA-Z_][a-zA-Z_0-9]*)",
220
+ "name": "meta.struct.cython"
221
+ },
222
+ {
223
+ "captures": {
224
+ "1": {
225
+ "name": "storage.type.cdef.cython"
226
+ },
227
+ "3": {
228
+ "name": "storage.modifier.cython"
229
+ },
230
+ "4": {
231
+ "name": "storage.type.union.cython"
232
+ },
233
+ "5": {
234
+ "name": "entity.name.type.union.cython"
235
+ }
236
+ },
237
+ "match": "^\\s*(cdef\\s+)?((extern|api|public)\\s+)?(union)\\s+([a-zA-Z_][a-zA-Z_0-9]*)",
238
+ "name": "meta.union.cython"
239
+ },
240
+ {
241
+ "captures": {
242
+ "1": {
243
+ "name": "storage.type.cdef.cython"
244
+ },
245
+ "3": {
246
+ "name": "storage.modifier.cython"
247
+ },
248
+ "4": {
249
+ "name": "storage.type.enum.cython"
250
+ },
251
+ "5": {
252
+ "name": "entity.name.type.enum.cython"
253
+ }
254
+ },
255
+ "match": "^\\s*(cdef\\s+)?((extern|api|public)\\s+)?(enum)\\s+([a-zA-Z_][a-zA-Z_0-9]*)",
256
+ "name": "meta.enum.cython"
257
+ },
258
+ {
259
+ "match": "\\b(object|asm|__asm__|auto|bool|_Bool|char|_Complex|double|enum|float|_Imaginary|int|long|short|signed|struct|ctypedef|typedef|union|unsigned|void)\\b",
260
+ "name": "storage.type.cython"
261
+ },
262
+ {
263
+ "begin": "^\\s*(cdef\\s+)?(class)\\s+(?=[a-zA-Z_][a-zA-Z_0-9]*\\s*\\:)",
264
+ "beginCaptures": {
265
+ "1": {
266
+ "name": "storage.type.cdef.cython"
267
+ },
268
+ "2": {
269
+ "name": "storage.type.class.cython"
270
+ }
271
+ },
272
+ "contentName": "entity.name.type.class.cython",
273
+ "end": "\\s*(:)",
274
+ "endCaptures": {
275
+ "1": {
276
+ "name": "punctuation.section.class.begin.cython"
277
+ }
278
+ },
279
+ "name": "meta.class.cython",
280
+ "patterns": [
281
+ {
282
+ "include": "#entity_name_class"
283
+ }
284
+ ]
285
+ },
286
+ {
287
+ "begin": "^\\s*(cdef\\s+)?((extern|api|public)\\s+)?(class)\\s+(?=[a-zA-Z_][a-zA-Z_0-9]*\\s*\\()",
288
+ "beginCaptures": {
289
+ "1": {
290
+ "name": "storage.type.cdef.cython"
291
+ },
292
+ "3": {
293
+ "name": "storage.modifier.cython"
294
+ },
295
+ "4": {
296
+ "name": "storage.type.class.cython"
297
+ }
298
+ },
299
+ "end": "(\\))\\s*(?:(\\:)|(.*$\\n?))",
300
+ "endCaptures": {
301
+ "1": {
302
+ "name": "punctuation.definition.inheritance.end.cython"
303
+ },
304
+ "2": {
305
+ "name": "punctuation.section.class.begin.cython"
306
+ },
307
+ "3": {
308
+ "name": "invalid.illegal.missing-section-begin.cython"
309
+ }
310
+ },
311
+ "name": "meta.class.cython",
312
+ "patterns": [
313
+ {
314
+ "begin": "(?=[A-Za-z_][A-Za-z0-9_]*)",
315
+ "contentName": "entity.name.type.class.cython",
316
+ "end": "(?![A-Za-z0-9_])",
317
+ "patterns": [
318
+ {
319
+ "include": "#entity_name_class"
320
+ }
321
+ ]
322
+ },
323
+ {
324
+ "begin": "(\\()",
325
+ "beginCaptures": {
326
+ "1": {
327
+ "name": "punctuation.definition.inheritance.begin.cython"
328
+ }
329
+ },
330
+ "contentName": "meta.class.inheritance.cython",
331
+ "end": "(?=\\)|:)",
332
+ "patterns": [
333
+ {
334
+ "begin": "(?<=\\(|,)\\s*",
335
+ "contentName": "entity.other.inherited-class.cython",
336
+ "end": "\\s*(?:(,)|(?=\\)))",
337
+ "endCaptures": {
338
+ "1": {
339
+ "name": "punctuation.separator.inheritance.cython"
340
+ }
341
+ },
342
+ "patterns": [
343
+ {
344
+ "include": "$self"
345
+ }
346
+ ]
347
+ }
348
+ ]
349
+ }
350
+ ]
351
+ },
352
+ {
353
+ "begin": "^\\s*(class)\\s+(?=[a-zA-Z_][a-zA-Z_0-9])",
354
+ "beginCaptures": {
355
+ "1": {
356
+ "name": "storage.type.class.cython"
357
+ }
358
+ },
359
+ "end": "(\\()|\\s*($\\n?|#.*$\\n?)",
360
+ "endCaptures": {
361
+ "1": {
362
+ "name": "punctuation.definition.inheritance.begin.cython"
363
+ },
364
+ "2": {
365
+ "name": "invalid.illegal.missing-inheritance.cython"
366
+ }
367
+ },
368
+ "name": "meta.class.cython",
369
+ "patterns": [
370
+ {
371
+ "begin": "(?=[A-Za-z_][A-Za-z0-9_]*)",
372
+ "contentName": "entity.name.type.class.cython",
373
+ "end": "(?![A-Za-z0-9_])",
374
+ "patterns": [
375
+ {
376
+ "include": "#entity_name_function"
377
+ }
378
+ ]
379
+ }
380
+ ]
381
+ },
382
+ {
383
+ "begin": "^\\s*(def)\\s+(?=[A-Za-z_][A-Za-z0-9_]*\\s*\\()",
384
+ "beginCaptures": {
385
+ "1": {
386
+ "name": "storage.type.function.cython"
387
+ }
388
+ },
389
+ "end": "(\\))\\s*(?:(\\:)|(.*$\\n?))",
390
+ "endCaptures": {
391
+ "1": {
392
+ "name": "punctuation.definition.parameters.end.cython"
393
+ },
394
+ "2": {
395
+ "name": "punctuation.section.function.begin.cython"
396
+ },
397
+ "3": {
398
+ "name": "invalid.illegal.missing-section-begin.cython"
399
+ }
400
+ },
401
+ "name": "meta.function.cython",
402
+ "patterns": [
403
+ {
404
+ "begin": "(?=[A-Za-z_][A-Za-z0-9_]*)",
405
+ "contentName": "entity.name.function.cython",
406
+ "end": "(?![A-Za-z0-9_])",
407
+ "patterns": [
408
+ {
409
+ "include": "#entity_name_function"
410
+ }
411
+ ]
412
+ },
413
+ {
414
+ "begin": "(\\()",
415
+ "beginCaptures": {
416
+ "1": {
417
+ "name": "punctuation.definition.parameters.begin.cython"
418
+ }
419
+ },
420
+ "contentName": "meta.function.parameters.cython",
421
+ "end": "(?=\\)\\s*\\:)",
422
+ "patterns": [
423
+ {
424
+ "include": "#keyword_arguments"
425
+ },
426
+ {
427
+ "include": "#typed_arguments"
428
+ },
429
+ {
430
+ "captures": {
431
+ "1": {
432
+ "name": "variable.parameter.function.cython"
433
+ },
434
+ "2": {
435
+ "name": "punctuation.separator.parameters.cython"
436
+ }
437
+ },
438
+ "match": "\\b([a-zA-Z_][a-zA-Z_0-9]*)\\s*(?:(,)|(?=[\\n\\)]))"
439
+ }
440
+ ]
441
+ }
442
+ ]
443
+ },
444
+ {
445
+ "begin": "^\\s*(def)\\s+(?=[A-Za-z_][A-Za-z0-9_]*)",
446
+ "beginCaptures": {
447
+ "1": {
448
+ "name": "storage.type.function.cython"
449
+ }
450
+ },
451
+ "end": "(\\()|\\s*($\\n?|#.*$\\n?)",
452
+ "endCaptures": {
453
+ "1": {
454
+ "name": "punctuation.definition.parameters.begin.cython"
455
+ },
456
+ "2": {
457
+ "name": "invalid.illegal.missing-parameters.cython"
458
+ }
459
+ },
460
+ "name": "meta.function.cython",
461
+ "patterns": [
462
+ {
463
+ "begin": "(?=[A-Za-z_][A-Za-z0-9_]*)",
464
+ "contentName": "entity.name.function.cython",
465
+ "end": "(?![A-Za-z0-9_])",
466
+ "patterns": [
467
+ {
468
+ "include": "#entity_name_function"
469
+ }
470
+ ]
471
+ }
472
+ ]
473
+ },
474
+ {
475
+ "begin": "(lambda)(?=\\s+)",
476
+ "beginCaptures": {
477
+ "1": {
478
+ "name": "storage.type.function.inline.cython"
479
+ }
480
+ },
481
+ "end": "(\\:)",
482
+ "endCaptures": {
483
+ "1": {
484
+ "name": "punctuation.definition.parameters.end.cython"
485
+ },
486
+ "2": {
487
+ "name": "punctuation.section.function.begin.cython"
488
+ },
489
+ "3": {
490
+ "name": "invalid.illegal.missing-section-begin.cython"
491
+ }
492
+ },
493
+ "name": "meta.function.inline.cython",
494
+ "patterns": [
495
+ {
496
+ "begin": "\\s+",
497
+ "contentName": "meta.function.inline.parameters.cython",
498
+ "end": "(?=\\:)",
499
+ "patterns": [
500
+ {
501
+ "include": "#keyword_arguments"
502
+ },
503
+ {
504
+ "captures": {
505
+ "1": {
506
+ "name": "variable.parameter.function.cython"
507
+ },
508
+ "2": {
509
+ "name": "punctuation.separator.parameters.cython"
510
+ }
511
+ },
512
+ "match": "\\b([a-zA-Z_][a-zA-Z_0-9]*)\\s*(?:(,)|(?=[\\n\\)\\:]))"
513
+ }
514
+ ]
515
+ }
516
+ ]
517
+ },
518
+ {
519
+ "begin": "^\\s*(?=@\\s*[A-Za-z_][A-Za-z0-9_]*(?:\\.[a-zA-Z_][a-zA-Z_0-9]*)*\\s*\\()",
520
+ "comment": "a decorator may be a function call which returns a decorator.",
521
+ "end": "(\\))",
522
+ "endCaptures": {
523
+ "1": {
524
+ "name": "punctuation.definition.arguments.end.cython"
525
+ }
526
+ },
527
+ "name": "meta.function.decorator.cython",
528
+ "patterns": [
529
+ {
530
+ "begin": "(?=(@)\\s*[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*\\s*\\()",
531
+ "beginCaptures": {
532
+ "1": {
533
+ "name": "punctuation.definition.decorator.cython"
534
+ }
535
+ },
536
+ "contentName": "entity.name.function.decorator.cython",
537
+ "end": "(?=\\s*\\()",
538
+ "patterns": [
539
+ {
540
+ "include": "#dotted_name"
541
+ }
542
+ ]
543
+ },
544
+ {
545
+ "begin": "(\\()",
546
+ "beginCaptures": {
547
+ "1": {
548
+ "name": "punctuation.definition.arguments.begin.cython"
549
+ }
550
+ },
551
+ "contentName": "meta.function.decorator.arguments.cython",
552
+ "end": "(?=\\))",
553
+ "patterns": [
554
+ {
555
+ "include": "#keyword_arguments"
556
+ },
557
+ {
558
+ "include": "$self"
559
+ }
560
+ ]
561
+ }
562
+ ]
563
+ },
564
+ {
565
+ "begin": "^\\s*(?=@\\s*[A-Za-z_][A-Za-z0-9_]*(?:\\.[a-zA-Z_][a-zA-Z_0-9]*)*)",
566
+ "contentName": "entity.name.function.decorator.cython",
567
+ "end": "(?=\\s|$\\n?|#)",
568
+ "name": "meta.function.decorator.cython",
569
+ "patterns": [
570
+ {
571
+ "begin": "(?=(@)\\s*[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*)",
572
+ "beginCaptures": {
573
+ "1": {
574
+ "name": "punctuation.definition.decorator.cython"
575
+ }
576
+ },
577
+ "end": "(?=\\s|$\\n?|#)",
578
+ "patterns": [
579
+ {
580
+ "include": "#dotted_name"
581
+ }
582
+ ]
583
+ }
584
+ ]
585
+ },
586
+ {
587
+ "begin": "(?<=\\)|\\])\\s*(\\()",
588
+ "beginCaptures": {
589
+ "1": {
590
+ "name": "punctuation.definition.arguments.begin.cython"
591
+ }
592
+ },
593
+ "contentName": "meta.function-call.arguments.cython",
594
+ "end": "(\\))",
595
+ "endCaptures": {
596
+ "1": {
597
+ "name": "punctuation.definition.arguments.end.cython"
598
+ }
599
+ },
600
+ "name": "meta.function-call.cython",
601
+ "patterns": [
602
+ {
603
+ "include": "#keyword_arguments"
604
+ },
605
+ {
606
+ "include": "$self"
607
+ }
608
+ ]
609
+ },
610
+ {
611
+ "begin": "(?=[A-Za-z_][A-Za-z0-9_]*(?:\\.[a-zA-Z_][a-zA-Z_0-9]*)*\\s*\\()",
612
+ "end": "(\\))",
613
+ "endCaptures": {
614
+ "1": {
615
+ "name": "punctuation.definition.arguments.end.cython"
616
+ }
617
+ },
618
+ "name": "meta.function-call.cython",
619
+ "patterns": [
620
+ {
621
+ "begin": "(?=[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*\\s*\\()",
622
+ "end": "(?=\\s*\\()",
623
+ "patterns": [
624
+ {
625
+ "include": "#dotted_name"
626
+ }
627
+ ]
628
+ },
629
+ {
630
+ "begin": "(\\()",
631
+ "beginCaptures": {
632
+ "1": {
633
+ "name": "punctuation.definition.arguments.begin.cython"
634
+ }
635
+ },
636
+ "contentName": "meta.function-call.arguments.cython",
637
+ "end": "(?=\\))",
638
+ "patterns": [
639
+ {
640
+ "include": "#keyword_arguments"
641
+ },
642
+ {
643
+ "include": "$self"
644
+ }
645
+ ]
646
+ }
647
+ ]
648
+ },
649
+ {
650
+ "begin": "(?=[A-Za-z_][A-Za-z0-9_]*(?:\\.[a-zA-Z_][a-zA-Z_0-9]*)*\\s*\\[)",
651
+ "end": "(\\])",
652
+ "endCaptures": {
653
+ "1": {
654
+ "name": "punctuation.definition.arguments.end.cython"
655
+ }
656
+ },
657
+ "name": "meta.item-access.cython",
658
+ "patterns": [
659
+ {
660
+ "begin": "(?=[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*\\s*\\[)",
661
+ "end": "(?=\\s*\\[)",
662
+ "patterns": [
663
+ {
664
+ "include": "#dotted_name"
665
+ }
666
+ ]
667
+ },
668
+ {
669
+ "begin": "(\\[)",
670
+ "beginCaptures": {
671
+ "1": {
672
+ "name": "punctuation.definition.arguments.begin.cython"
673
+ }
674
+ },
675
+ "contentName": "meta.item-access.arguments.cython",
676
+ "end": "(?=\\])",
677
+ "patterns": [
678
+ {
679
+ "include": "$self"
680
+ }
681
+ ]
682
+ }
683
+ ]
684
+ },
685
+ {
686
+ "begin": "(?<=\\)|\\])\\s*(\\[)",
687
+ "beginCaptures": {
688
+ "1": {
689
+ "name": "punctuation.definition.arguments.begin.cython"
690
+ }
691
+ },
692
+ "contentName": "meta.item-access.arguments.cython",
693
+ "end": "(\\])",
694
+ "endCaptures": {
695
+ "1": {
696
+ "name": "punctuation.definition.arguments.end.cython"
697
+ }
698
+ },
699
+ "name": "meta.item-access.cython",
700
+ "patterns": [
701
+ {
702
+ "include": "$self"
703
+ }
704
+ ]
705
+ },
706
+ {
707
+ "captures": {
708
+ "1": {
709
+ "name": "storage.type.function.cython"
710
+ }
711
+ },
712
+ "match": "\\b(def|lambda)\\b"
713
+ },
714
+ {
715
+ "captures": {
716
+ "1": {
717
+ "name": "storage.type.class.cython"
718
+ }
719
+ },
720
+ "match": "\\b(class)\\b"
721
+ },
722
+ {
723
+ "captures": {
724
+ "1": {
725
+ "name": "storage.type.cdef.cython"
726
+ }
727
+ },
728
+ "match": "\\b(cdef)\\b"
729
+ },
730
+ {
731
+ "include": "#line_continuation"
732
+ },
733
+ {
734
+ "include": "#language_variables"
735
+ },
736
+ {
737
+ "match": "\\b(None|True|False|Ellipsis|NotImplemented|NULL)\\b",
738
+ "name": "constant.language.cython"
739
+ },
740
+ {
741
+ "include": "#string_quoted_single"
742
+ },
743
+ {
744
+ "include": "#string_quoted_double"
745
+ },
746
+ {
747
+ "include": "#dotted_name"
748
+ },
749
+ {
750
+ "begin": "(\\()",
751
+ "end": "(\\))",
752
+ "patterns": [
753
+ {
754
+ "include": "$self"
755
+ }
756
+ ]
757
+ },
758
+ {
759
+ "captures": {
760
+ "1": {
761
+ "name": "punctuation.definition.list.begin.cython"
762
+ },
763
+ "2": {
764
+ "name": "meta.empty-list.cython"
765
+ },
766
+ "3": {
767
+ "name": "punctuation.definition.list.end.cython"
768
+ }
769
+ },
770
+ "match": "(\\[)(\\s*(\\]))\\b"
771
+ },
772
+ {
773
+ "begin": "(\\[)",
774
+ "beginCaptures": {
775
+ "1": {
776
+ "name": "punctuation.definition.list.begin.cython"
777
+ }
778
+ },
779
+ "end": "(\\])",
780
+ "endCaptures": {
781
+ "1": {
782
+ "name": "punctuation.definition.list.end.cython"
783
+ }
784
+ },
785
+ "name": "meta.structure.list.cython",
786
+ "patterns": [
787
+ {
788
+ "begin": "(?<=\\[|\\,)\\s*(?![\\],])",
789
+ "contentName": "meta.structure.list.item.cython",
790
+ "end": "\\s*(?:(,)|(?=\\]))",
791
+ "endCaptures": {
792
+ "1": {
793
+ "name": "punctuation.separator.list.cython"
794
+ }
795
+ },
796
+ "patterns": [
797
+ {
798
+ "include": "$self"
799
+ }
800
+ ]
801
+ }
802
+ ]
803
+ },
804
+ {
805
+ "captures": {
806
+ "1": {
807
+ "name": "punctuation.definition.tuple.begin.cython"
808
+ },
809
+ "2": {
810
+ "name": "meta.empty-tuple.cython"
811
+ },
812
+ "3": {
813
+ "name": "punctuation.definition.tuple.end.cython"
814
+ }
815
+ },
816
+ "match": "(\\()(\\s*(\\)))",
817
+ "name": "meta.structure.tuple.cython"
818
+ },
819
+ {
820
+ "captures": {
821
+ "1": {
822
+ "name": "punctuation.definition.dictionary.begin.cython"
823
+ },
824
+ "2": {
825
+ "name": "meta.empty-dictionary.cython"
826
+ },
827
+ "3": {
828
+ "name": "punctuation.definition.dictionary.end.cython"
829
+ }
830
+ },
831
+ "match": "(\\{)(\\s*(\\}))",
832
+ "name": "meta.structure.dictionary.cython"
833
+ },
834
+ {
835
+ "begin": "(\\{)",
836
+ "beginCaptures": {
837
+ "1": {
838
+ "name": "punctuation.definition.dictionary.begin.cython"
839
+ }
840
+ },
841
+ "end": "(\\})",
842
+ "endCaptures": {
843
+ "1": {
844
+ "name": "punctuation.definition.dictionary.end.cython"
845
+ }
846
+ },
847
+ "name": "meta.structure.dictionary.cython",
848
+ "patterns": [
849
+ {
850
+ "begin": "(?<=\\{|\\,|^)\\s*(?![\\},])",
851
+ "contentName": "meta.structure.dictionary.key.cython",
852
+ "end": "\\s*(?:(?=\\})|(\\:))",
853
+ "endCaptures": {
854
+ "1": {
855
+ "name": "punctuation.separator.valuepair.dictionary.cython"
856
+ }
857
+ },
858
+ "patterns": [
859
+ {
860
+ "include": "$self"
861
+ }
862
+ ]
863
+ },
864
+ {
865
+ "begin": "(?<=\\:|^)\\s*",
866
+ "contentName": "meta.structure.dictionary.value.cython",
867
+ "end": "\\s*(?:(?=\\})|(,))",
868
+ "endCaptures": {
869
+ "1": {
870
+ "name": "punctuation.separator.dictionary.cython"
871
+ }
872
+ },
873
+ "patterns": [
874
+ {
875
+ "include": "$self"
876
+ }
877
+ ]
878
+ }
879
+ ]
880
+ }
881
+ ],
882
+ "repository": {
883
+ "builtin_exceptions": {
884
+ "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",
885
+ "name": "support.type.exception.cython"
886
+ },
887
+ "builtin_functions": {
888
+ "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|sizeof\n\t\t\t)\\b",
889
+ "name": "support.function.builtin.cython"
890
+ },
891
+ "builtin_types": {
892
+ "match": "(?x)\\b(\n\t\t\t\tbasestring|bool|buffer|classmethod|complex|dict|enumerate|file|\n\t\t\t\tfloat|frozenset|int|list|long|open|reversed|set|\n\t\t\t\tslice|staticmethod|str|super|tuple|type|unicode|xrange\n\t\t\t)\\b",
893
+ "name": "support.type.cython"
894
+ },
895
+ "c_type": {
896
+ "match": "([a-zA-Z_][a-zA-Z0-9_]*)(\\s+[a-zA-Z_][a-zA-Z0-9_]*)*([ *]*)"
897
+ },
898
+ "constant_placeholder": {
899
+ "match": "(?i:%(\\([a-z_]+\\))?#?0?\\-?[ ]?\\+?([0-9]*|\\*)(\\.([0-9]*|\\*))?[hL]?[a-z%])",
900
+ "name": "constant.other.placeholder.cython"
901
+ },
902
+ "docstrings": {
903
+ "patterns": [
904
+ {
905
+ "begin": "^\\s*(?=[uU]?[rR]?\"\"\")",
906
+ "end": "(?<=\"\"\")",
907
+ "name": "comment.block.cython",
908
+ "patterns": [
909
+ {
910
+ "include": "#string_quoted_double"
911
+ }
912
+ ]
913
+ },
914
+ {
915
+ "begin": "^\\s*(?=[uU]?[rR]?''')",
916
+ "end": "(?<=''')",
917
+ "name": "comment.block.cython",
918
+ "patterns": [
919
+ {
920
+ "include": "#string_quoted_single"
921
+ }
922
+ ]
923
+ }
924
+ ]
925
+ },
926
+ "dotted_name": {
927
+ "begin": "(?=[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*)",
928
+ "end": "(?![A-Za-z0-9_\\.])",
929
+ "patterns": [
930
+ {
931
+ "begin": "(\\.)(?=[A-Za-z_][A-Za-z0-9_]*)",
932
+ "end": "(?![A-Za-z0-9_])",
933
+ "patterns": [
934
+ {
935
+ "include": "#magic_function_names"
936
+ },
937
+ {
938
+ "include": "#magic_variable_names"
939
+ },
940
+ {
941
+ "include": "#illegal_names"
942
+ },
943
+ {
944
+ "include": "#generic_names"
945
+ }
946
+ ]
947
+ },
948
+ {
949
+ "begin": "(?<!\\.)(?=[A-Za-z_][A-Za-z0-9_]*)",
950
+ "end": "(?![A-Za-z0-9_])",
951
+ "patterns": [
952
+ {
953
+ "include": "#builtin_functions"
954
+ },
955
+ {
956
+ "include": "#builtin_types"
957
+ },
958
+ {
959
+ "include": "#builtin_exceptions"
960
+ },
961
+ {
962
+ "include": "#illegal_names"
963
+ },
964
+ {
965
+ "include": "#magic_function_names"
966
+ },
967
+ {
968
+ "include": "#magic_variable_names"
969
+ },
970
+ {
971
+ "include": "#language_variables"
972
+ },
973
+ {
974
+ "include": "#generic_names"
975
+ }
976
+ ]
977
+ }
978
+ ]
979
+ },
980
+ "entity_name_class": {
981
+ "patterns": [
982
+ {
983
+ "include": "#illegal_names"
984
+ },
985
+ {
986
+ "include": "#generic_names"
987
+ }
988
+ ]
989
+ },
990
+ "entity_name_function": {
991
+ "patterns": [
992
+ {
993
+ "include": "#magic_function_names"
994
+ },
995
+ {
996
+ "include": "#illegal_names"
997
+ },
998
+ {
999
+ "include": "#generic_names"
1000
+ }
1001
+ ]
1002
+ },
1003
+ "escaped_char": {
1004
+ "captures": {
1005
+ "1": {
1006
+ "name": "constant.character.escape.hex.cython"
1007
+ },
1008
+ "10": {
1009
+ "name": "constant.character.escape.linefeed.cython"
1010
+ },
1011
+ "11": {
1012
+ "name": "constant.character.escape.return.cython"
1013
+ },
1014
+ "12": {
1015
+ "name": "constant.character.escape.tab.cython"
1016
+ },
1017
+ "13": {
1018
+ "name": "constant.character.escape.vertical-tab.cython"
1019
+ },
1020
+ "2": {
1021
+ "name": "constant.character.escape.octal.cython"
1022
+ },
1023
+ "3": {
1024
+ "name": "constant.character.escape.newline.cython"
1025
+ },
1026
+ "4": {
1027
+ "name": "constant.character.escape.backlash.cython"
1028
+ },
1029
+ "5": {
1030
+ "name": "constant.character.escape.double-quote.cython"
1031
+ },
1032
+ "6": {
1033
+ "name": "constant.character.escape.single-quote.cython"
1034
+ },
1035
+ "7": {
1036
+ "name": "constant.character.escape.bell.cython"
1037
+ },
1038
+ "8": {
1039
+ "name": "constant.character.escape.backspace.cython"
1040
+ },
1041
+ "9": {
1042
+ "name": "constant.character.escape.formfeed.cython"
1043
+ }
1044
+ },
1045
+ "match": "(\\\\x[0-9A-F]{2})|(\\\\[0-7]{3})|(\\\\\\n)|(\\\\\\\\)|(\\\\\\\")|(\\\\')|(\\\\a)|(\\\\b)|(\\\\f)|(\\\\n)|(\\\\r)|(\\\\t)|(\\\\v)"
1046
+ },
1047
+ "escaped_unicode_char": {
1048
+ "captures": {
1049
+ "1": {
1050
+ "name": "constant.character.escape.unicode.16-bit-hex.cython"
1051
+ },
1052
+ "2": {
1053
+ "name": "constant.character.escape.unicode.32-bit-hex.cython"
1054
+ },
1055
+ "3": {
1056
+ "name": "constant.character.escape.unicode.name.cython"
1057
+ }
1058
+ },
1059
+ "match": "(\\\\U[0-9A-Fa-f]{8})|(\\\\u[0-9A-Fa-f]{4})|(\\\\N\\{[a-zA-Z ]+\\})"
1060
+ },
1061
+ "function_name": {
1062
+ "patterns": [
1063
+ {
1064
+ "include": "#magic_function_names"
1065
+ },
1066
+ {
1067
+ "include": "#magic_variable_names"
1068
+ },
1069
+ {
1070
+ "include": "#builtin_exceptions"
1071
+ },
1072
+ {
1073
+ "include": "#builtin_functions"
1074
+ },
1075
+ {
1076
+ "include": "#builtin_types"
1077
+ },
1078
+ {
1079
+ "include": "#generic_names"
1080
+ }
1081
+ ]
1082
+ },
1083
+ "generic_names": {
1084
+ "match": "[A-Za-z_][A-Za-z0-9_]*"
1085
+ },
1086
+ "illegal_names": {
1087
+ "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",
1088
+ "name": "invalid.illegal.name.cython"
1089
+ },
1090
+ "keyword_arguments": {
1091
+ "begin": "\\b(([a-zA-Z_][a-zA-Z0-9_]*)(\\s+[a-zA-Z_][a-zA-Z0-9_]*)*([ *]+))?([a-zA-Z_][a-zA-Z_0-9]*)\\s*(=)(?!=)",
1092
+ "beginCaptures": {
1093
+ "1": {
1094
+ "name": "storage.type.cython"
1095
+ },
1096
+ "5": {
1097
+ "name": "variable.parameter.function.cython"
1098
+ },
1099
+ "6": {
1100
+ "name": "keyword.operator.assignment.cython"
1101
+ }
1102
+ },
1103
+ "end": "\\s*(?:(,)|(?=$\\n?|[\\)\\:]))",
1104
+ "endCaptures": {
1105
+ "1": {
1106
+ "name": "punctuation.separator.parameters.cython"
1107
+ }
1108
+ },
1109
+ "patterns": [
1110
+ {
1111
+ "include": "$self"
1112
+ }
1113
+ ]
1114
+ },
1115
+ "language_variables": {
1116
+ "match": "\\b(self|cls)\\b",
1117
+ "name": "variable.language.cython"
1118
+ },
1119
+ "line_continuation": {
1120
+ "captures": {
1121
+ "1": {
1122
+ "name": "punctuation.separator.continuation.line.cython"
1123
+ },
1124
+ "2": {
1125
+ "name": "invalid.illegal.unexpected-text.cython"
1126
+ }
1127
+ },
1128
+ "match": "(\\\\)(.*)$\\n?"
1129
+ },
1130
+ "magic_function_names": {
1131
+ "comment": "these methods have magic interpretation by cython and are generally called indirectly through syntactic constructs",
1132
+ "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|exit|float|\n\t\t\t\t\t\tfloordiv|get|getattr|getattribute|getitem|getslice|\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|len|\n\t\t\t\t\t\tlong|lshift|mod|mul|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|cinit|dealloc|richcmp|\n\t\t\t\t\t\tnext|index|getreadbuffer|getwritebuffer|getsegcount|getcharbuffer\n\t\t\t\t\t)__)\\b",
1133
+ "name": "support.function.magic.cython"
1134
+ },
1135
+ "magic_variable_names": {
1136
+ "comment": "magic variables which a class/module may have.",
1137
+ "match": "\\b__(all|bases|class|debug|dict|doc|file|members|metaclass|methods|name|slots|weakref)__\\b",
1138
+ "name": "support.variable.magic.cython"
1139
+ },
1140
+ "regular_expressions": {
1141
+ "comment": "Changed disabled to 1 to turn off syntax highlighting in “r” strings.",
1142
+ "disabled": 0,
1143
+ "patterns": [
1144
+ {
1145
+ "include": "source.regexp.cython"
1146
+ }
1147
+ ]
1148
+ },
1149
+ "string_quoted_double": {
1150
+ "patterns": [
1151
+ {
1152
+ "begin": "([uU]r)(\"\"\")",
1153
+ "beginCaptures": {
1154
+ "1": {
1155
+ "name": "storage.type.string.cython"
1156
+ },
1157
+ "2": {
1158
+ "name": "punctuation.definition.string.begin.cython"
1159
+ }
1160
+ },
1161
+ "comment": "single quoted unicode-raw string",
1162
+ "end": "((?<=\"\"\")(\")\"\"|\"\"\")",
1163
+ "endCaptures": {
1164
+ "1": {
1165
+ "name": "punctuation.definition.string.end.cython"
1166
+ },
1167
+ "2": {
1168
+ "name": "meta.empty-string.double.cython"
1169
+ }
1170
+ },
1171
+ "name": "string.quoted.double.block.unicode-raw-regex.cython",
1172
+ "patterns": [
1173
+ {
1174
+ "include": "#constant_placeholder"
1175
+ },
1176
+ {
1177
+ "include": "#escaped_unicode_char"
1178
+ },
1179
+ {
1180
+ "include": "#escaped_char"
1181
+ },
1182
+ {
1183
+ "include": "#regular_expressions"
1184
+ }
1185
+ ]
1186
+ },
1187
+ {
1188
+ "begin": "([uU]R)(\"\"\")",
1189
+ "beginCaptures": {
1190
+ "1": {
1191
+ "name": "storage.type.string.cython"
1192
+ },
1193
+ "2": {
1194
+ "name": "punctuation.definition.string.begin.cython"
1195
+ }
1196
+ },
1197
+ "comment": "single quoted unicode-raw string without regular expression highlighting",
1198
+ "end": "((?<=\"\"\")(\")\"\"|\"\"\")",
1199
+ "endCaptures": {
1200
+ "1": {
1201
+ "name": "punctuation.definition.string.end.cython"
1202
+ },
1203
+ "2": {
1204
+ "name": "meta.empty-string.double.cython"
1205
+ }
1206
+ },
1207
+ "name": "string.quoted.double.block.unicode-raw.cython",
1208
+ "patterns": [
1209
+ {
1210
+ "include": "#constant_placeholder"
1211
+ },
1212
+ {
1213
+ "include": "#escaped_unicode_char"
1214
+ },
1215
+ {
1216
+ "include": "#escaped_char"
1217
+ }
1218
+ ]
1219
+ },
1220
+ {
1221
+ "begin": "(r)(\"\"\")",
1222
+ "beginCaptures": {
1223
+ "1": {
1224
+ "name": "storage.type.string.cython"
1225
+ },
1226
+ "2": {
1227
+ "name": "punctuation.definition.string.begin.cython"
1228
+ }
1229
+ },
1230
+ "comment": "double quoted raw string",
1231
+ "end": "((?<=\"\"\")(\")\"\"|\"\"\")",
1232
+ "endCaptures": {
1233
+ "1": {
1234
+ "name": "punctuation.definition.string.end.cython"
1235
+ },
1236
+ "2": {
1237
+ "name": "meta.empty-string.double.cython"
1238
+ }
1239
+ },
1240
+ "name": "string.quoted.double.block.raw-regex.cython",
1241
+ "patterns": [
1242
+ {
1243
+ "include": "#constant_placeholder"
1244
+ },
1245
+ {
1246
+ "include": "#escaped_char"
1247
+ },
1248
+ {
1249
+ "include": "#regular_expressions"
1250
+ }
1251
+ ]
1252
+ },
1253
+ {
1254
+ "begin": "(R)(\"\"\")",
1255
+ "beginCaptures": {
1256
+ "1": {
1257
+ "name": "storage.type.string.cython"
1258
+ },
1259
+ "2": {
1260
+ "name": "punctuation.definition.string.begin.cython"
1261
+ }
1262
+ },
1263
+ "comment": "double quoted raw string",
1264
+ "end": "((?<=\"\"\")(\")\"\"|\"\"\")",
1265
+ "endCaptures": {
1266
+ "1": {
1267
+ "name": "punctuation.definition.string.end.cython"
1268
+ },
1269
+ "2": {
1270
+ "name": "meta.empty-string.double.cython"
1271
+ }
1272
+ },
1273
+ "name": "string.quoted.double.block.raw.cython",
1274
+ "patterns": [
1275
+ {
1276
+ "include": "#constant_placeholder"
1277
+ },
1278
+ {
1279
+ "include": "#escaped_char"
1280
+ }
1281
+ ]
1282
+ },
1283
+ {
1284
+ "begin": "([uU])(\"\"\")",
1285
+ "beginCaptures": {
1286
+ "1": {
1287
+ "name": "storage.type.string.cython"
1288
+ },
1289
+ "2": {
1290
+ "name": "punctuation.definition.string.begin.cython"
1291
+ }
1292
+ },
1293
+ "comment": "double quoted unicode string",
1294
+ "end": "((?<=\"\"\")(\")\"\"|\"\"\")",
1295
+ "endCaptures": {
1296
+ "1": {
1297
+ "name": "punctuation.definition.string.end.cython"
1298
+ },
1299
+ "2": {
1300
+ "name": "meta.empty-string.double.cython"
1301
+ }
1302
+ },
1303
+ "name": "string.quoted.double.block.unicode.cython",
1304
+ "patterns": [
1305
+ {
1306
+ "include": "#constant_placeholder"
1307
+ },
1308
+ {
1309
+ "include": "#escaped_unicode_char"
1310
+ },
1311
+ {
1312
+ "include": "#escaped_char"
1313
+ }
1314
+ ]
1315
+ },
1316
+ {
1317
+ "begin": "([uU]r)(\")",
1318
+ "beginCaptures": {
1319
+ "1": {
1320
+ "name": "storage.type.string.cython"
1321
+ },
1322
+ "2": {
1323
+ "name": "punctuation.definition.string.begin.cython"
1324
+ }
1325
+ },
1326
+ "comment": "double-quoted raw string",
1327
+ "end": "((?<=\")(\")|\")|(\\n)",
1328
+ "endCaptures": {
1329
+ "1": {
1330
+ "name": "punctuation.definition.string.end.cython"
1331
+ },
1332
+ "2": {
1333
+ "name": "meta.empty-string.double.cython"
1334
+ },
1335
+ "3": {
1336
+ "name": "invalid.illegal.unclosed-string.cython"
1337
+ }
1338
+ },
1339
+ "name": "string.quoted.double.single-line.unicode-raw-regex.cython",
1340
+ "patterns": [
1341
+ {
1342
+ "include": "#constant_placeholder"
1343
+ },
1344
+ {
1345
+ "include": "#escaped_unicode_char"
1346
+ },
1347
+ {
1348
+ "include": "#escaped_char"
1349
+ },
1350
+ {
1351
+ "include": "#regular_expressions"
1352
+ }
1353
+ ]
1354
+ },
1355
+ {
1356
+ "begin": "([uU]R)(\")",
1357
+ "beginCaptures": {
1358
+ "1": {
1359
+ "name": "storage.type.string.cython"
1360
+ },
1361
+ "2": {
1362
+ "name": "punctuation.definition.string.begin.cython"
1363
+ }
1364
+ },
1365
+ "comment": "double-quoted raw string",
1366
+ "end": "((?<=\")(\")|\")|(\\n)",
1367
+ "endCaptures": {
1368
+ "1": {
1369
+ "name": "punctuation.definition.string.end.cython"
1370
+ },
1371
+ "2": {
1372
+ "name": "meta.empty-string.double.cython"
1373
+ },
1374
+ "3": {
1375
+ "name": "invalid.illegal.unclosed-string.cython"
1376
+ }
1377
+ },
1378
+ "name": "string.quoted.double.single-line.unicode-raw.cython",
1379
+ "patterns": [
1380
+ {
1381
+ "include": "#constant_placeholder"
1382
+ },
1383
+ {
1384
+ "include": "#escaped_unicode_char"
1385
+ },
1386
+ {
1387
+ "include": "#escaped_char"
1388
+ }
1389
+ ]
1390
+ },
1391
+ {
1392
+ "begin": "(r)(\")",
1393
+ "beginCaptures": {
1394
+ "1": {
1395
+ "name": "storage.type.string.cython"
1396
+ },
1397
+ "2": {
1398
+ "name": "punctuation.definition.string.begin.cython"
1399
+ }
1400
+ },
1401
+ "comment": "double-quoted raw string",
1402
+ "end": "((?<=\")(\")|\")|(\\n)",
1403
+ "endCaptures": {
1404
+ "1": {
1405
+ "name": "punctuation.definition.string.end.cython"
1406
+ },
1407
+ "2": {
1408
+ "name": "meta.empty-string.double.cython"
1409
+ },
1410
+ "3": {
1411
+ "name": "invalid.illegal.unclosed-string.cython"
1412
+ }
1413
+ },
1414
+ "name": "string.quoted.double.single-line.raw-regex.cython",
1415
+ "patterns": [
1416
+ {
1417
+ "include": "#constant_placeholder"
1418
+ },
1419
+ {
1420
+ "include": "#escaped_char"
1421
+ },
1422
+ {
1423
+ "include": "#regular_expressions"
1424
+ }
1425
+ ]
1426
+ },
1427
+ {
1428
+ "begin": "(R)(\")",
1429
+ "beginCaptures": {
1430
+ "1": {
1431
+ "name": "storage.type.string.cython"
1432
+ },
1433
+ "2": {
1434
+ "name": "punctuation.definition.string.begin.cython"
1435
+ }
1436
+ },
1437
+ "comment": "double-quoted raw string",
1438
+ "end": "((?<=\")(\")|\")|(\\n)",
1439
+ "endCaptures": {
1440
+ "1": {
1441
+ "name": "punctuation.definition.string.end.cython"
1442
+ },
1443
+ "2": {
1444
+ "name": "meta.empty-string.double.cython"
1445
+ },
1446
+ "3": {
1447
+ "name": "invalid.illegal.unclosed-string.cython"
1448
+ }
1449
+ },
1450
+ "name": "string.quoted.double.single-line.raw.cython",
1451
+ "patterns": [
1452
+ {
1453
+ "include": "#constant_placeholder"
1454
+ },
1455
+ {
1456
+ "include": "#escaped_char"
1457
+ }
1458
+ ]
1459
+ },
1460
+ {
1461
+ "begin": "([uU])(\")",
1462
+ "beginCaptures": {
1463
+ "1": {
1464
+ "name": "storage.type.string.cython"
1465
+ },
1466
+ "2": {
1467
+ "name": "punctuation.definition.string.begin.cython"
1468
+ }
1469
+ },
1470
+ "comment": "double quoted unicode string",
1471
+ "end": "((?<=\")(\")|\")|(\\n)",
1472
+ "endCaptures": {
1473
+ "1": {
1474
+ "name": "punctuation.definition.string.end.cython"
1475
+ },
1476
+ "2": {
1477
+ "name": "meta.empty-string.double.cython"
1478
+ },
1479
+ "3": {
1480
+ "name": "invalid.illegal.unclosed-string.cython"
1481
+ }
1482
+ },
1483
+ "name": "string.quoted.double.single-line.unicode.cython",
1484
+ "patterns": [
1485
+ {
1486
+ "include": "#constant_placeholder"
1487
+ },
1488
+ {
1489
+ "include": "#escaped_unicode_char"
1490
+ },
1491
+ {
1492
+ "include": "#escaped_char"
1493
+ }
1494
+ ]
1495
+ },
1496
+ {
1497
+ "begin": "(\"\"\")(?=\\s*(SELECT|INSERT|UPDATE|DELETE|CREATE|REPLACE|ALTER))",
1498
+ "beginCaptures": {
1499
+ "1": {
1500
+ "name": "punctuation.definition.string.begin.cython"
1501
+ }
1502
+ },
1503
+ "comment": "double quoted string",
1504
+ "end": "((?<=\"\"\")(\")\"\"|\"\"\")",
1505
+ "endCaptures": {
1506
+ "1": {
1507
+ "name": "punctuation.definition.string.end.cython"
1508
+ },
1509
+ "2": {
1510
+ "name": "meta.empty-string.double.cython"
1511
+ }
1512
+ },
1513
+ "name": "string.quoted.double.block.sql.cython",
1514
+ "patterns": [
1515
+ {
1516
+ "include": "#constant_placeholder"
1517
+ },
1518
+ {
1519
+ "include": "#escaped_char"
1520
+ },
1521
+ {
1522
+ "include": "source.sql"
1523
+ }
1524
+ ]
1525
+ },
1526
+ {
1527
+ "begin": "(\")(?=\\s*(SELECT|INSERT|UPDATE|DELETE|CREATE|REPLACE|ALTER))",
1528
+ "beginCaptures": {
1529
+ "1": {
1530
+ "name": "punctuation.definition.string.begin.cython"
1531
+ }
1532
+ },
1533
+ "comment": "double quoted string",
1534
+ "end": "((?<=\")(\")|\")|(\\n)",
1535
+ "endCaptures": {
1536
+ "1": {
1537
+ "name": "punctuation.definition.string.end.cython"
1538
+ },
1539
+ "2": {
1540
+ "name": "meta.empty-string.double.cython"
1541
+ },
1542
+ "3": {
1543
+ "name": "invalid.illegal.unclosed-string.cython"
1544
+ }
1545
+ },
1546
+ "name": "string.quoted.double.single-line.sql.cython",
1547
+ "patterns": [
1548
+ {
1549
+ "include": "#constant_placeholder"
1550
+ },
1551
+ {
1552
+ "include": "#escaped_char"
1553
+ },
1554
+ {
1555
+ "include": "source.sql"
1556
+ }
1557
+ ]
1558
+ },
1559
+ {
1560
+ "begin": "(\"\"\")",
1561
+ "beginCaptures": {
1562
+ "1": {
1563
+ "name": "punctuation.definition.string.begin.cython"
1564
+ }
1565
+ },
1566
+ "comment": "double quoted string",
1567
+ "end": "((?<=\"\"\")(\")\"\"|\"\"\")",
1568
+ "endCaptures": {
1569
+ "1": {
1570
+ "name": "punctuation.definition.string.end.cython"
1571
+ },
1572
+ "2": {
1573
+ "name": "meta.empty-string.double.cython"
1574
+ }
1575
+ },
1576
+ "name": "string.quoted.double.block.cython",
1577
+ "patterns": [
1578
+ {
1579
+ "include": "#constant_placeholder"
1580
+ },
1581
+ {
1582
+ "include": "#escaped_char"
1583
+ }
1584
+ ]
1585
+ },
1586
+ {
1587
+ "begin": "(\")",
1588
+ "beginCaptures": {
1589
+ "1": {
1590
+ "name": "punctuation.definition.string.begin.cython"
1591
+ }
1592
+ },
1593
+ "comment": "double quoted string",
1594
+ "end": "((?<=\")(\")|\")|(\\n)",
1595
+ "endCaptures": {
1596
+ "1": {
1597
+ "name": "punctuation.definition.string.end.cython"
1598
+ },
1599
+ "2": {
1600
+ "name": "meta.empty-string.double.cython"
1601
+ },
1602
+ "3": {
1603
+ "name": "invalid.illegal.unclosed-string.cython"
1604
+ }
1605
+ },
1606
+ "name": "string.quoted.double.single-line.cython",
1607
+ "patterns": [
1608
+ {
1609
+ "include": "#constant_placeholder"
1610
+ },
1611
+ {
1612
+ "include": "#escaped_char"
1613
+ }
1614
+ ]
1615
+ }
1616
+ ]
1617
+ },
1618
+ "string_quoted_single": {
1619
+ "patterns": [
1620
+ {
1621
+ "captures": {
1622
+ "1": {
1623
+ "name": "punctuation.definition.string.begin.cython"
1624
+ },
1625
+ "2": {
1626
+ "name": "punctuation.definition.string.end.cython"
1627
+ },
1628
+ "3": {
1629
+ "name": "meta.empty-string.single.cython"
1630
+ }
1631
+ },
1632
+ "match": "(?<!')(')(('))(?!')",
1633
+ "name": "string.quoted.single.single-line.cython"
1634
+ },
1635
+ {
1636
+ "begin": "([uU]r)(''')",
1637
+ "beginCaptures": {
1638
+ "1": {
1639
+ "name": "storage.type.string.cython"
1640
+ },
1641
+ "2": {
1642
+ "name": "punctuation.definition.string.begin.cython"
1643
+ }
1644
+ },
1645
+ "comment": "single quoted unicode-raw string",
1646
+ "end": "((?<=''')(')''|''')",
1647
+ "endCaptures": {
1648
+ "1": {
1649
+ "name": "punctuation.definition.string.end.cython"
1650
+ },
1651
+ "2": {
1652
+ "name": "meta.empty-string.single.cython"
1653
+ }
1654
+ },
1655
+ "name": "string.quoted.single.block.unicode-raw-regex.cython",
1656
+ "patterns": [
1657
+ {
1658
+ "include": "#constant_placeholder"
1659
+ },
1660
+ {
1661
+ "include": "#escaped_unicode_char"
1662
+ },
1663
+ {
1664
+ "include": "#escaped_char"
1665
+ },
1666
+ {
1667
+ "include": "#regular_expressions"
1668
+ }
1669
+ ]
1670
+ },
1671
+ {
1672
+ "begin": "([uU]R)(''')",
1673
+ "beginCaptures": {
1674
+ "1": {
1675
+ "name": "storage.type.string.cython"
1676
+ },
1677
+ "2": {
1678
+ "name": "punctuation.definition.string.begin.cython"
1679
+ }
1680
+ },
1681
+ "comment": "single quoted unicode-raw string",
1682
+ "end": "((?<=''')(')''|''')",
1683
+ "endCaptures": {
1684
+ "1": {
1685
+ "name": "punctuation.definition.string.end.cython"
1686
+ },
1687
+ "2": {
1688
+ "name": "meta.empty-string.single.cython"
1689
+ }
1690
+ },
1691
+ "name": "string.quoted.single.block.unicode-raw.cython",
1692
+ "patterns": [
1693
+ {
1694
+ "include": "#constant_placeholder"
1695
+ },
1696
+ {
1697
+ "include": "#escaped_unicode_char"
1698
+ },
1699
+ {
1700
+ "include": "#escaped_char"
1701
+ }
1702
+ ]
1703
+ },
1704
+ {
1705
+ "begin": "(r)(''')",
1706
+ "beginCaptures": {
1707
+ "1": {
1708
+ "name": "storage.type.string.cython"
1709
+ },
1710
+ "2": {
1711
+ "name": "punctuation.definition.string.begin.cython"
1712
+ }
1713
+ },
1714
+ "comment": "single quoted raw string",
1715
+ "end": "((?<=''')(')''|''')",
1716
+ "endCaptures": {
1717
+ "1": {
1718
+ "name": "punctuation.definition.string.end.cython"
1719
+ },
1720
+ "2": {
1721
+ "name": "meta.empty-string.single.cython"
1722
+ }
1723
+ },
1724
+ "name": "string.quoted.single.block.raw-regex.cython",
1725
+ "patterns": [
1726
+ {
1727
+ "include": "#constant_placeholder"
1728
+ },
1729
+ {
1730
+ "include": "#escaped_char"
1731
+ },
1732
+ {
1733
+ "include": "#regular_expressions"
1734
+ }
1735
+ ]
1736
+ },
1737
+ {
1738
+ "begin": "(R)(''')",
1739
+ "beginCaptures": {
1740
+ "1": {
1741
+ "name": "storage.type.string.cython"
1742
+ },
1743
+ "2": {
1744
+ "name": "punctuation.definition.string.begin.cython"
1745
+ }
1746
+ },
1747
+ "comment": "single quoted raw string",
1748
+ "end": "((?<=''')(')''|''')",
1749
+ "endCaptures": {
1750
+ "1": {
1751
+ "name": "punctuation.definition.string.end.cython"
1752
+ },
1753
+ "2": {
1754
+ "name": "meta.empty-string.single.cython"
1755
+ }
1756
+ },
1757
+ "name": "string.quoted.single.block.raw.cython",
1758
+ "patterns": [
1759
+ {
1760
+ "include": "#constant_placeholder"
1761
+ },
1762
+ {
1763
+ "include": "#escaped_char"
1764
+ }
1765
+ ]
1766
+ },
1767
+ {
1768
+ "begin": "([uU])(''')",
1769
+ "beginCaptures": {
1770
+ "1": {
1771
+ "name": "storage.type.string.cython"
1772
+ },
1773
+ "2": {
1774
+ "name": "punctuation.definition.string.begin.cython"
1775
+ }
1776
+ },
1777
+ "comment": "single quoted unicode string",
1778
+ "end": "((?<=''')(')''|''')",
1779
+ "endCaptures": {
1780
+ "1": {
1781
+ "name": "punctuation.definition.string.end.cython"
1782
+ },
1783
+ "2": {
1784
+ "name": "meta.empty-string.single.cython"
1785
+ }
1786
+ },
1787
+ "name": "string.quoted.single.block.unicode.cython",
1788
+ "patterns": [
1789
+ {
1790
+ "include": "#constant_placeholder"
1791
+ },
1792
+ {
1793
+ "include": "#escaped_unicode_char"
1794
+ },
1795
+ {
1796
+ "include": "#escaped_char"
1797
+ }
1798
+ ]
1799
+ },
1800
+ {
1801
+ "begin": "([uU]r)(')",
1802
+ "beginCaptures": {
1803
+ "1": {
1804
+ "name": "storage.type.string.cython"
1805
+ },
1806
+ "2": {
1807
+ "name": "punctuation.definition.string.begin.cython"
1808
+ }
1809
+ },
1810
+ "comment": "single quoted raw string",
1811
+ "end": "(')|(\\n)",
1812
+ "endCaptures": {
1813
+ "1": {
1814
+ "name": "punctuation.definition.string.end.cython"
1815
+ },
1816
+ "2": {
1817
+ "name": "invalid.illegal.unclosed-string.cython"
1818
+ }
1819
+ },
1820
+ "name": "string.quoted.single.single-line.unicode-raw-regex.cython",
1821
+ "patterns": [
1822
+ {
1823
+ "include": "#constant_placeholder"
1824
+ },
1825
+ {
1826
+ "include": "#escaped_unicode_char"
1827
+ },
1828
+ {
1829
+ "include": "#escaped_char"
1830
+ },
1831
+ {
1832
+ "include": "#regular_expressions"
1833
+ }
1834
+ ]
1835
+ },
1836
+ {
1837
+ "begin": "([uU]R)(')",
1838
+ "beginCaptures": {
1839
+ "1": {
1840
+ "name": "storage.type.string.cython"
1841
+ },
1842
+ "2": {
1843
+ "name": "punctuation.definition.string.begin.cython"
1844
+ }
1845
+ },
1846
+ "comment": "single quoted raw string",
1847
+ "end": "(')|(\\n)",
1848
+ "endCaptures": {
1849
+ "1": {
1850
+ "name": "punctuation.definition.string.end.cython"
1851
+ },
1852
+ "2": {
1853
+ "name": "invalid.illegal.unclosed-string.cython"
1854
+ }
1855
+ },
1856
+ "name": "string.quoted.single.single-line.unicode-raw.cython",
1857
+ "patterns": [
1858
+ {
1859
+ "include": "#constant_placeholder"
1860
+ },
1861
+ {
1862
+ "include": "#escaped_unicode_char"
1863
+ },
1864
+ {
1865
+ "include": "#escaped_char"
1866
+ }
1867
+ ]
1868
+ },
1869
+ {
1870
+ "begin": "(r)(')",
1871
+ "beginCaptures": {
1872
+ "1": {
1873
+ "name": "storage.type.string.cython"
1874
+ },
1875
+ "2": {
1876
+ "name": "punctuation.definition.string.begin.cython"
1877
+ }
1878
+ },
1879
+ "comment": "single quoted raw string",
1880
+ "end": "(')|(\\n)",
1881
+ "endCaptures": {
1882
+ "1": {
1883
+ "name": "punctuation.definition.string.end.cython"
1884
+ },
1885
+ "2": {
1886
+ "name": "invalid.illegal.unclosed-string.cython"
1887
+ }
1888
+ },
1889
+ "name": "string.quoted.single.single-line.raw-regex.cython",
1890
+ "patterns": [
1891
+ {
1892
+ "include": "#constant_placeholder"
1893
+ },
1894
+ {
1895
+ "include": "#escaped_char"
1896
+ },
1897
+ {
1898
+ "include": "#regular_expressions"
1899
+ }
1900
+ ]
1901
+ },
1902
+ {
1903
+ "begin": "(R)(')",
1904
+ "beginCaptures": {
1905
+ "1": {
1906
+ "name": "storage.type.string.cython"
1907
+ },
1908
+ "2": {
1909
+ "name": "punctuation.definition.string.begin.cython"
1910
+ }
1911
+ },
1912
+ "comment": "single quoted raw string",
1913
+ "end": "(')|(\\n)",
1914
+ "endCaptures": {
1915
+ "1": {
1916
+ "name": "punctuation.definition.string.end.cython"
1917
+ },
1918
+ "2": {
1919
+ "name": "invalid.illegal.unclosed-string.cython"
1920
+ }
1921
+ },
1922
+ "name": "string.quoted.single.single-line.raw.cython",
1923
+ "patterns": [
1924
+ {
1925
+ "include": "#constant_placeholder"
1926
+ },
1927
+ {
1928
+ "include": "#escaped_char"
1929
+ }
1930
+ ]
1931
+ },
1932
+ {
1933
+ "begin": "([uU])(')",
1934
+ "beginCaptures": {
1935
+ "1": {
1936
+ "name": "storage.type.string.cython"
1937
+ },
1938
+ "2": {
1939
+ "name": "punctuation.definition.string.begin.cython"
1940
+ }
1941
+ },
1942
+ "comment": "single quoted unicode string",
1943
+ "end": "(')|(\\n)",
1944
+ "endCaptures": {
1945
+ "1": {
1946
+ "name": "punctuation.definition.string.end.cython"
1947
+ },
1948
+ "2": {
1949
+ "name": "invalid.illegal.unclosed-string.cython"
1950
+ }
1951
+ },
1952
+ "name": "string.quoted.single.single-line.unicode.cython",
1953
+ "patterns": [
1954
+ {
1955
+ "include": "#constant_placeholder"
1956
+ },
1957
+ {
1958
+ "include": "#escaped_unicode_char"
1959
+ },
1960
+ {
1961
+ "include": "#escaped_char"
1962
+ }
1963
+ ]
1964
+ },
1965
+ {
1966
+ "begin": "(''')(?=\\s*(SELECT|INSERT|UPDATE|DELETE|CREATE|REPLACE|ALTER))",
1967
+ "beginCaptures": {
1968
+ "1": {
1969
+ "name": "punctuation.definition.string.begin.cython"
1970
+ }
1971
+ },
1972
+ "comment": "single quoted string",
1973
+ "end": "((?<=''')(')''|''')",
1974
+ "endCaptures": {
1975
+ "1": {
1976
+ "name": "punctuation.definition.string.end.cython"
1977
+ },
1978
+ "2": {
1979
+ "name": "meta.empty-string.single.cython"
1980
+ }
1981
+ },
1982
+ "name": "string.quoted.single.block.cython",
1983
+ "patterns": [
1984
+ {
1985
+ "include": "#constant_placeholder"
1986
+ },
1987
+ {
1988
+ "include": "#escaped_char"
1989
+ },
1990
+ {
1991
+ "include": "source.sql"
1992
+ }
1993
+ ]
1994
+ },
1995
+ {
1996
+ "begin": "(')(?=\\s*(SELECT|INSERT|UPDATE|DELETE|CREATE|REPLACE|ALTER))",
1997
+ "beginCaptures": {
1998
+ "1": {
1999
+ "name": "punctuation.definition.string.begin.cython"
2000
+ }
2001
+ },
2002
+ "comment": "single quoted string",
2003
+ "end": "(')|(\\n)",
2004
+ "endCaptures": {
2005
+ "1": {
2006
+ "name": "punctuation.definition.string.end.cython"
2007
+ },
2008
+ "2": {
2009
+ "name": "invalid.illegal.unclosed-string.cython"
2010
+ }
2011
+ },
2012
+ "name": "string.quoted.single.single-line.cython",
2013
+ "patterns": [
2014
+ {
2015
+ "include": "#constant_placeholder"
2016
+ },
2017
+ {
2018
+ "include": "#escaped_char"
2019
+ },
2020
+ {
2021
+ "include": "source.sql"
2022
+ }
2023
+ ]
2024
+ },
2025
+ {
2026
+ "begin": "(''')",
2027
+ "beginCaptures": {
2028
+ "1": {
2029
+ "name": "punctuation.definition.string.begin.cython"
2030
+ }
2031
+ },
2032
+ "comment": "single quoted string",
2033
+ "end": "((?<=''')(')''|''')",
2034
+ "endCaptures": {
2035
+ "1": {
2036
+ "name": "punctuation.definition.string.end.cython"
2037
+ },
2038
+ "2": {
2039
+ "name": "meta.empty-string.single.cython"
2040
+ }
2041
+ },
2042
+ "name": "string.quoted.single.block.cython",
2043
+ "patterns": [
2044
+ {
2045
+ "include": "#constant_placeholder"
2046
+ },
2047
+ {
2048
+ "include": "#escaped_char"
2049
+ }
2050
+ ]
2051
+ },
2052
+ {
2053
+ "begin": "(')",
2054
+ "beginCaptures": {
2055
+ "1": {
2056
+ "name": "punctuation.definition.string.begin.cython"
2057
+ }
2058
+ },
2059
+ "comment": "single quoted string",
2060
+ "end": "(')|(\\n)",
2061
+ "endCaptures": {
2062
+ "1": {
2063
+ "name": "punctuation.definition.string.end.cython"
2064
+ },
2065
+ "2": {
2066
+ "name": "invalid.illegal.unclosed-string.cython"
2067
+ }
2068
+ },
2069
+ "name": "string.quoted.single.single-line.cython",
2070
+ "patterns": [
2071
+ {
2072
+ "include": "#constant_placeholder"
2073
+ },
2074
+ {
2075
+ "include": "#escaped_char"
2076
+ }
2077
+ ]
2078
+ }
2079
+ ]
2080
+ },
2081
+ "strings": {
2082
+ "patterns": [
2083
+ {
2084
+ "include": "#string_quoted_double"
2085
+ },
2086
+ {
2087
+ "include": "#string_quoted_single"
2088
+ }
2089
+ ]
2090
+ },
2091
+ "typed_arguments": {
2092
+ "captures": {
2093
+ "1": {
2094
+ "name": "storage.type.cython"
2095
+ },
2096
+ "6": {
2097
+ "name": "variable.parameter.function.cython"
2098
+ },
2099
+ "7": {
2100
+ "name": "storage.type.conditional.cython"
2101
+ }
2102
+ },
2103
+ "match": "(([a-zA-Z_][a-zA-Z0-9_]*)(\\s+[a-zA-Z_][a-zA-Z0-9_]*)*([ *]+))(?!(not|None)\\b)([a-zA-Z_][a-zA-Z0-9_]*)(\\s+not\\s*None)?"
2104
+ }
2105
+ },
2106
+ "scopeName": "source.cython",
2107
+ "uuid": "8CD92F62-B42C-4130-9936-5E864FA2AC79"
2108
+ }