github-linguist 7.18.0 → 7.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. checksums.yaml +4 -4
  2. data/bin/github-linguist +1 -0
  3. data/grammars/liquid.injection.json +1 -0
  4. data/grammars/markdown.cadence.codeblock.json +1 -0
  5. data/grammars/markdown.curry.codeblock.json +1 -0
  6. data/grammars/markdown.prisma.codeblock.json +1 -0
  7. data/grammars/markdown.textproto.codeblock.json +1 -0
  8. data/grammars/source.2da.json +1 -0
  9. data/grammars/source.abap.json +1 -1
  10. data/grammars/source.abl.json +1 -1
  11. data/grammars/source.acucobol.json +1 -1
  12. data/grammars/source.aidl.json +1 -1
  13. data/grammars/source.alloy.json +1 -1
  14. data/grammars/source.astro.json +1 -0
  15. data/grammars/source.ats.json +1 -1
  16. data/grammars/source.ballerina.json +1 -1
  17. data/grammars/source.berry.bytecode.json +1 -0
  18. data/grammars/source.berry.json +1 -0
  19. data/grammars/source.bms.json +1 -0
  20. data/grammars/source.bmsmap.json +1 -0
  21. data/grammars/source.bnd.json +1 -0
  22. data/grammars/source.brs.json +1 -0
  23. data/grammars/source.cadence.json +1 -0
  24. data/grammars/source.cairo.json +1 -0
  25. data/grammars/source.cds.json +1 -0
  26. data/grammars/source.cl.json +1 -0
  27. data/grammars/source.clar.json +1 -0
  28. data/grammars/source.clojure.json +1 -1
  29. data/grammars/source.cmd.json +1 -0
  30. data/grammars/source.cobol.json +1 -1
  31. data/grammars/source.cobol_acu_listfile.json +1 -0
  32. data/grammars/source.cobol_mf_listfile.json +1 -0
  33. data/grammars/source.cobol_mfprep.json +1 -0
  34. data/grammars/source.cobol_pcob_listfile.json +1 -0
  35. data/grammars/source.cobolit.json +1 -0
  36. data/grammars/source.cobsql_dir.json +1 -0
  37. data/grammars/source.cs.json +1 -1
  38. data/grammars/source.csound.json +1 -1
  39. data/grammars/source.css.json +1 -1
  40. data/grammars/source.csswg.json +1 -0
  41. data/grammars/source.curlrc.json +1 -1
  42. data/grammars/source.curry.json +1 -0
  43. data/grammars/source.dart.json +1 -1
  44. data/grammars/source.data-weave.json +1 -1
  45. data/grammars/source.dds.dspf.json +1 -0
  46. data/grammars/source.dds.icff.json +1 -0
  47. data/grammars/source.dds.lf.json +1 -0
  48. data/grammars/source.dds.pf.json +1 -0
  49. data/grammars/source.dds.prtf.json +1 -0
  50. data/grammars/source.deb-control.json +1 -0
  51. data/grammars/source.debian.makefile.json +1 -0
  52. data/grammars/source.denizenscript.json +1 -0
  53. data/grammars/source.dir.json +1 -0
  54. data/grammars/source.ditroff.json +1 -1
  55. data/grammars/source.elixir.json +1 -1
  56. data/grammars/source.euphoria.json +1 -0
  57. data/grammars/source.fsharp.json +1 -1
  58. data/grammars/source.gdresource.json +1 -0
  59. data/grammars/source.gdscript.json +1 -1
  60. data/grammars/source.gdshader.json +1 -0
  61. data/grammars/source.genero-forms.json +1 -0
  62. data/grammars/source.genero.json +1 -0
  63. data/grammars/source.git-revlist.json +1 -0
  64. data/grammars/source.gitignore.json +1 -1
  65. data/grammars/source.gleam.json +1 -0
  66. data/grammars/source.gsc.json +1 -0
  67. data/grammars/source.hack.json +1 -1
  68. data/grammars/source.hlasm.json +1 -0
  69. data/grammars/source.hoon.json +1 -0
  70. data/grammars/source.hx.json +1 -1
  71. data/grammars/source.icurry.json +1 -0
  72. data/grammars/source.janet.json +1 -0
  73. data/grammars/source.jcl.json +1 -1
  74. data/grammars/source.js.json +1 -1
  75. data/grammars/source.jsligo.json +1 -0
  76. data/grammars/source.julia.json +1 -1
  77. data/grammars/source.kotlin.json +1 -1
  78. data/grammars/source.ligo.json +1 -0
  79. data/grammars/source.mc.json +1 -0
  80. data/grammars/source.mfu.json +1 -0
  81. data/grammars/source.mfupp_dir.json +1 -0
  82. data/grammars/source.mi.json +1 -0
  83. data/grammars/source.miniyaml.json +1 -0
  84. data/grammars/source.mint.json +1 -0
  85. data/grammars/source.mligo.json +1 -0
  86. data/grammars/source.mlir.json +1 -1
  87. data/grammars/source.mo.json +1 -1
  88. data/grammars/source.pcb.schematic.json +1 -1
  89. data/grammars/source.pcb.sexp.json +1 -1
  90. data/grammars/source.pli.json +1 -0
  91. data/grammars/source.pnlgrp.json +1 -0
  92. data/grammars/source.pony.json +1 -1
  93. data/grammars/source.portugol.json +1 -0
  94. data/grammars/source.procfile.json +1 -0
  95. data/grammars/source.proto.json +1 -1
  96. data/grammars/source.python.kivy.json +1 -0
  97. data/grammars/source.q.json +1 -1
  98. data/grammars/source.qsharp.json +1 -1
  99. data/grammars/source.rego.json +1 -1
  100. data/grammars/source.religo.json +1 -0
  101. data/grammars/source.renpy.json +1 -1
  102. data/grammars/source.rescript.json +1 -1
  103. data/grammars/source.rpg.json +1 -0
  104. data/grammars/source.rpgle.json +1 -0
  105. data/grammars/source.scala.json +1 -1
  106. data/grammars/source.shell.json +1 -1
  107. data/grammars/source.shellcheckrc.json +1 -1
  108. data/grammars/source.smali.json +1 -1
  109. data/grammars/source.solidity.json +1 -1
  110. data/grammars/source.sqf.json +1 -1
  111. data/grammars/source.stan.json +1 -1
  112. data/grammars/source.star.json +1 -0
  113. data/grammars/source.stl.json +1 -0
  114. data/grammars/source.swift.json +1 -1
  115. data/grammars/source.talon.json +1 -0
  116. data/grammars/source.textproto.json +1 -0
  117. data/grammars/source.ts.json +1 -1
  118. data/grammars/source.tsx.json +1 -1
  119. data/grammars/source.utreport.json +1 -0
  120. data/grammars/source.v.json +1 -1
  121. data/grammars/source.vyper.json +1 -1
  122. data/grammars/source.whiley.json +1 -0
  123. data/grammars/source.win32-messages.json +1 -0
  124. data/grammars/source.witcherscript.json +1 -0
  125. data/grammars/source.wsd.json +1 -1
  126. data/grammars/source.yara.json +1 -1
  127. data/grammars/source.yul.json +1 -0
  128. data/grammars/text.hash-commented.json +1 -0
  129. data/grammars/text.html.liquid.json +1 -1
  130. data/grammars/text.html.markdown.astro.json +1 -1
  131. data/grammars/text.html.statamic.json +1 -0
  132. data/grammars/text.rtf.json +1 -1
  133. data/grammars/text.savane.json +1 -0
  134. data/grammars/text.srt.json +1 -1
  135. data/grammars/text.vtt.json +1 -0
  136. data/grammars/version +1 -1
  137. data/lib/linguist/VERSION +1 -1
  138. data/lib/linguist/generated.rb +13 -1
  139. data/lib/linguist/generic.yml +2 -0
  140. data/lib/linguist/heuristics.yml +84 -1
  141. data/lib/linguist/languages.json +1 -1
  142. data/lib/linguist/languages.yml +455 -7
  143. data/lib/linguist/samples.json +1 -1
  144. data/lib/linguist/vendor.yml +4 -1
  145. metadata +112 -40
  146. data/grammars/source.brightauthorproject.json +0 -1
  147. data/grammars/source.brightscript.json +0 -1
  148. data/grammars/source.opencobol.json +0 -1
  149. data/grammars/source.vtt.json +0 -1
  150. data/grammars/text.html.astro.json +0 -1
  151. data/lib/linguist/linguist.so +0 -0
@@ -0,0 +1 @@
1
+ {"name":"Monkey C","scopeName":"source.mc","patterns":[{"include":"#statements"}],"repository":{"access-modifier":{"patterns":[{"name":"storage.modifier.mc","match":"(?\u003c!\\.|\\$)\\b(hidden|static)\\b(?!\\$)"}]},"after-operator-block":{"name":"meta.objectliteral.mc","begin":"(?\u003c=[=(,\\[?+!]|return|throw|in|of|typeof|\u0026\u0026|\\|\\||\\*)\\s*(\\{)","end":"\\}","patterns":[{"include":"#object-member"}],"beginCaptures":{"1":{"name":"punctuation.definition.block.mc"}},"endCaptures":{"0":{"name":"punctuation.definition.block.mc"}}},"array-literal":{"name":"meta.array.literal.mc","begin":"\\[","end":"\\]","patterns":[{"include":"#expression"},{"include":"#punctuation-comma"}],"beginCaptures":{"0":{"name":"meta.brace.square.mc"}},"endCaptures":{"0":{"name":"meta.brace.square.mc"}}},"boolean-literal":{"patterns":[{"name":"constant.language.boolean.true.mc","match":"(?\u003c!\\.|\\$)\\btrue\\b(?!\\$)"},{"name":"constant.language.boolean.false.mc","match":"(?\u003c!\\.|\\$)\\bfalse\\b(?!\\$)"}]},"case-clause":{"name":"case-clause.expr.mc","begin":"(?\u003c!\\.|\\$)\\b(case|default(?=:))\\b(?!\\$)","end":":","patterns":[{"include":"#expression"}],"beginCaptures":{"1":{"name":"keyword.control.switch.mc"}},"endCaptures":{"0":{"name":"punctuation.definition.section.case-statement.mc"}}},"class-body":{"begin":"\\{","end":"\\}","patterns":[{"include":"#string"},{"include":"#comment"},{"include":"#decorator"},{"include":"#method-declaration"},{"include":"#enum-declaration"},{"include":"#field-declaration"},{"include":"#access-modifier"},{"include":"#after-operator-block"},{"include":"#decl-block"},{"include":"#expression"},{"include":"#punctuation-semicolon"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.mc"}},"endCaptures":{"0":{"name":"punctuation.definition.block.mc"}}},"class-declaration":{"name":"meta.class.mc","begin":"(?\u003c!\\.|\\$)\\b(?:(class))\\b","end":"(?\u003c=\\})","patterns":[{"include":"#comment"},{"include":"#class-heritage"},{"match":"[_$[:alpha:]][_$[:alnum:]]*","captures":{"0":{"name":"entity.name.type.class.mc"}}},{"include":"#class-body"}],"beginCaptures":{"1":{"name":"storage.type.class.mc"}},"endCaptures":{"1":{"name":"punctuation.definition.block.mc"}}},"class-heritage":{"begin":"(?\u003c!\\.|\\$)(?:\\b(extends)\\b)(?!\\$)","end":"(?=\\{)","patterns":[{"include":"#comment"},{"include":"#class-heritage"},{"match":"([_$[:alpha:]][_$[:alnum:]]*)\\s*(\\.)(?=\\s*[_$[:alpha:]][_$[:alnum:]]*(\\s*\\.\\s*[_$[:alpha:]][_$[:alnum:]]*)*\\s*([,\u003c{]|extends|//|/\\*))","captures":{"1":{"name":"entity.name.type.module.mc"},"2":{"name":"punctuation.accessor.mc"}}},{"match":"([_$[:alpha:]][_$[:alnum:]]*)(?=\\s*([,\u003c{]|extends|//|/\\*))","captures":{"1":{"name":"entity.other.inherited-class.mc"}}},{"include":"#expression"}],"beginCaptures":{"1":{"name":"storage.modifier.mc"}},"endCaptures":{"1":{"name":"punctuation.definition.block.mc"}}},"comment":{"patterns":[{"name":"comment.block.documentation.mc","begin":"/\\*\\*(?!/)","end":"\\*/","beginCaptures":{"0":{"name":"punctuation.definition.comment.mc"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.mc"}}},{"name":"comment.block.mc","begin":"/\\*","end":"\\*/","beginCaptures":{"0":{"name":"punctuation.definition.comment.mc"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.mc"}}},{"begin":"(^[ \\t]+)?(?=//)","end":"(?=$)","patterns":[{"name":"comment.line.double-slash.mc","begin":"//","end":"(?=$)","beginCaptures":{"0":{"name":"punctuation.definition.comment.mc"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.mc"}}}]},"control-statement":{"patterns":[{"name":"keyword.control.trycatch.mc","match":"(?\u003c!\\.|\\$)\\b(catch|finally|throw|try)\\b(?!\\$)"},{"name":"keyword.control.loop.mc","match":"(?\u003c!\\.|\\$)\\b(break|continue|do|while)\\b(?!\\$)"},{"name":"keyword.control.flow.mc","match":"(?\u003c!\\.|\\$)\\b(return)\\b(?!\\$)"},{"name":"keyword.control.switch.mc","match":"(?\u003c!\\.|\\$)\\b(case|default|switch)\\b(?!\\$)"},{"name":"keyword.control.conditional.mc","match":"(?\u003c!\\.|\\$)\\b(else|if)\\b(?!\\$)"}]},"decl-block":{"name":"meta.block.mc","begin":"\\{","end":"\\}","patterns":[{"include":"#statements"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.mc"}},"endCaptures":{"0":{"name":"punctuation.definition.block.mc"}}},"declaration":{"name":"meta.declaration.mc","patterns":[{"include":"#decorator"},{"include":"#var-expr"},{"include":"#function-declaration"},{"include":"#class-declaration"},{"include":"#enum-declaration"},{"include":"#namespace-declaration"},{"include":"#import-declaration"}]},"decorator":{"name":"meta.decorator.mc","patterns":[{"match":"(?\u003c!\\.|\\$)(\\(:([_$[:alpha:]][_$[:alnum:]]*)\\))","captures":{"0":{"name":"storage.type.decorator.mc"}}}]},"enum-declaration":{"name":"meta.enum.declaration.mc","begin":"(?\u003c!\\.|\\$)\\b(enum)\\b","end":"(?\u003c=\\})","patterns":[{"include":"#comment"},{"begin":"\\{","end":"\\}","patterns":[{"include":"#comment"},{"begin":"([_$[:alpha:]][_$[:alnum:]]*)","end":"(?=,|\\}|$)","patterns":[{"include":"#comment"},{"include":"#variable-initializer"}],"beginCaptures":{"0":{"name":"variable.other.enummember.mc"}}},{"begin":"(?=((\\'[^']*\\')|(\\\"[^\"]*\\\")|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\])))","end":"(?=,|\\}|$)","patterns":[{"include":"#string"},{"include":"#array-literal"},{"include":"#comment"},{"include":"#variable-initializer"}]},{"include":"#punctuation-comma"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.mc"}},"endCaptures":{"0":{"name":"punctuation.definition.block.mc"}}}],"beginCaptures":{"1":{"name":"storage.type.enum.mc"}}},"expression":{"name":"meta.expression.mc","patterns":[{"include":"#string"},{"include":"#comment"},{"include":"#literal"},{"include":"#function-declaration"},{"include":"#class-declaration"},{"include":"#ternary-expression"},{"include":"#new-expr"},{"include":"#object-literal"},{"include":"#expression-operators"},{"include":"#function-call"},{"include":"#support-objects"},{"include":"#identifiers"},{"include":"#paren-expression"},{"include":"#punctuation-comma"},{"include":"#punctuation-accessor"}]},"expression-operators":{"patterns":[{"name":"keyword.operator.expression.instanceof.mc","match":"(?\u003c!\\.|\\$)\\binstanceof\\b(?!\\$)"},{"name":"keyword.operator.expression.has.mc","match":"(?\u003c!\\.|\\$)\\bhas\\b(?!\\$)"},{"name":"keyword.operator.new.mc","match":"(?\u003c!\\.|\\$)\\bnew\\b(?!\\$)"},{"name":"keyword.operator.expression.void.mc","match":"(?\u003c!\\.|\\$)\\bvoid\\b(?!\\$)"},{"name":"keyword.operator.assignment.compound.mc","match":"\\*=|(?\u003c!\\()/=|%=|\\+=|\\-="},{"name":"keyword.operator.assignment.compound.bitwise.mc","match":"\\\u0026=|\\^=|\u003c\u003c=|\u003e\u003e=|\\|="},{"name":"keyword.operator.bitwise.shift.mc","match":"\u003c\u003c|\u003e\u003e"},{"name":"keyword.operator.comparison.mc","match":"==|!="},{"name":"keyword.operator.relational.mc","match":"\u003c=|\u003e=|\u003c\u003e|\u003c|\u003e"},{"name":"keyword.operator.logical.mc","match":"\\!|\u0026\u0026|\\|\\|"},{"name":"keyword.operator.expression.logical.mc","match":"(?\u003c!\\.|\\$)\\band|or|not\\b(?!\\$)"},{"name":"keyword.operator.bitwise.mc","match":"\\\u0026|~|\\^|\\|"},{"name":"keyword.operator.assignment.mc","match":"\\="},{"name":"keyword.operator.decrement.mc","match":"--"},{"name":"keyword.operator.increment.mc","match":"\\+\\+"},{"name":"keyword.operator.arithmetic.mc","match":"%|\\*|/|-|\\+"},{"match":"(?\u003c=[_$[:alnum:])])\\s*(/)(?![/*])","captures":{"1":{"name":"keyword.operator.arithmetic.mc"}}}]},"field-declaration":{"name":"meta.field.declaration.mc","begin":"(?\u003c!\\()(?:(?\u003c!\\.|\\$)\\b(const|var)\\s+)(?=(([_$[:alpha:]][_$[:alnum:]]*)|(\\'[^']*\\')|(\\\"[^\"]*\\\")|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(\\?\\s*)?(=)?)","end":"(?=\\}|;|,|$)|(?\u003c=\\})","patterns":[{"include":"#variable-initializer"}],"beginCaptures":{"1":{"name":"storage.type.mc"}}},"for-loop":{"begin":"(?\u003c!\\.|\\$)\\b(for)\\s*(\\()","end":"\\)","patterns":[{"include":"#var-expr"},{"include":"#expression"},{"include":"#punctuation-semicolon"}],"beginCaptures":{"1":{"name":"keyword.control.loop.mc"},"2":{"name":"meta.brace.round.mc"}},"endCaptures":{"0":{"name":"meta.brace.round.mc"}}},"function-call":{"begin":"(?=(\\.\\s*)?([_$[:alpha:]][_$[:alnum:]]*)\\s*(\u003c([^\u003c\u003e]|\\\u003c[^\u003c\u003e]+\\\u003e)+\u003e\\s*)?\\()","end":"(?\u003c=\\))(?!(\\.\\s*)?([_$[:alpha:]][_$[:alnum:]]*)\\s*(\u003c([^\u003c\u003e]|\\\u003c[^\u003c\u003e]+\\\u003e)+\u003e\\s*)?\\()","patterns":[{"include":"#support-objects"},{"include":"#punctuation-accessor"},{"name":"entity.name.function.mc","match":"([_$[:alpha:]][_$[:alnum:]]*)"},{"include":"#comment"},{"include":"#paren-expression"}]},"function-declaration":{"name":"meta.function.mc","begin":"(?\u003c!\\.|\\$)\\b(function\\b)(?:(?:\\s+|(?\u003c=\\*))([_$[:alpha:]][_$[:alnum:]]*))?\\s*","end":"(?=$|;|\\})|(?\u003c=\\})","patterns":[{"include":"#comment"},{"include":"#function-parameters"},{"include":"#decl-block"}],"beginCaptures":{"1":{"name":"storage.type.function.mc"},"2":{"name":"entity.name.function.mc"}}},"function-parameters":{"name":"meta.parameters.mc","begin":"\\(","end":"\\)","patterns":[{"include":"#comment"},{"include":"#decorator"},{"include":"#parameter-name"},{"include":"#variable-initializer"},{"name":"punctuation.separator.parameter.mc","match":","}],"beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.mc"}},"endCaptures":{"0":{"name":"punctuation.definition.parameters.end.mc"}}},"identifiers":{"patterns":[{"name":"support.class.mc","match":"([_$[:alpha:]][_$[:alnum:]]*)(?=\\s*\\.\\s*prototype\\b(?!\\$))"},{"match":"(?x)(\\.)\\s*(?:\n ([[:upper:]][_$[:digit:][:upper:]]*) |\n ([_$[:alpha:]][_$[:alnum:]]*)\n)(?=\\s*\\.\\s*[_$[:alpha:]][_$[:alnum:]]*)","captures":{"1":{"name":"punctuation.accessor.mc"},"2":{"name":"variable.other.constant.object.property.mc"},"3":{"name":"variable.other.object.property.mc"}}},{"match":"(?x)(?:(\\.)\\s*)?([_$[:alpha:]][_$[:alnum:]]*)(?=\\s*=\\s*(\n (function\\s*[(\u003c])|(function\\s+)|\n ([_$[:alpha:]][_$[:alnum:]]*\\s*=\u003e)|\n ([(]\\s*(([)]\\s*:)|([_$[:alpha:]][_$[:alnum:]]*\\s*:) )) |\n ([\u003c]\\s*[_$[:alpha:]][_$[:alnum:]]*((\\s+extends\\s*[^=\u003e])|(\\s*[,]))) |\n ((\u003c([^\u003c\u003e]|\\\u003c[^\u003c\u003e]+\\\u003e)+\u003e\\s*)?\\(([^()]|\\([^()]*\\))*\\)(\\s*:\\s*(.)*)?\\s*=\u003e)))","captures":{"1":{"name":"punctuation.accessor.mc"},"2":{"name":"entity.name.function.mc"}}},{"match":"(\\.)\\s*([[:upper:]][_$[:digit:][:upper:]]*)(?![_$[:alnum:]])","captures":{"1":{"name":"punctuation.accessor.mc"},"2":{"name":"variable.other.constant.property.mc"}}},{"match":"(\\.)\\s*([_$[:alpha:]][_$[:alnum:]]*)","captures":{"1":{"name":"punctuation.accessor.mc"},"2":{"name":"variable.other.property.mc"}}},{"match":"(?x)(?:\n ([[:upper:]][_$[:digit:][:upper:]]*) |\n ([_$[:alpha:]][_$[:alnum:]]*)\n)(?=\\s*\\.\\s*[_$[:alpha:]][_$[:alnum:]]*)","captures":{"1":{"name":"variable.other.constant.object.mc"},"2":{"name":"variable.other.object.mc"}}},{"name":"variable.other.constant.mc","match":"([[:upper:]][_$[:digit:][:upper:]]*)(?![_$[:alnum:]])"},{"name":"variable.other.readwrite.mc","match":"[_$[:alpha:]][_$[:alnum:]]*"}]},"import-declaration":{"name":"meta.import.mc","begin":"(?\u003c!\\.|\\$)\\b(using)(?!(\\s*:)|(\\$))\\b","end":"(?=;|$)","patterns":[{"include":"#import-export-declaration"}],"beginCaptures":{"1":{"name":"keyword.control.import.mc"}}},"import-export-clause":{"patterns":[{"include":"#comment"},{"match":"(?x) ([_$[:alpha:]][_$[:alnum:]]*) \\s+ \n (as) \\s+ ([_$[:alpha:]][_$[:alnum:]]*)","captures":{"1":{"name":"variable.other.readwrite.mc"},"2":{"name":"keyword.control.as.mc"},"3":{"name":"entity.name.type.alias.mc"}}},{"include":"#punctuation-comma"},{"name":"constant.language.import-export-all.mc","match":"\\*"},{"name":"keyword.control.default.mc","match":"\\b(default)\\b"},{"name":"variable.other.readwrite.alias.mc","match":"([_$[:alpha:]][_$[:alnum:]]*)"}]},"import-export-declaration":{"patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#import-export-clause"}]},"literal":{"name":"literal.mc","patterns":[{"include":"#numeric-literal"},{"include":"#boolean-literal"},{"include":"#null-literal"},{"include":"#numericConstant-literal"},{"include":"#array-literal"}]},"method-declaration":{"name":"meta.method.declaration.mc","begin":"(?\u003c!\\.|\\$)(?:\\b(hidden)\\s+)?(?:\\b(function)\\s+)(?:(?:\\b(?:(initialize)|(initialize))\\b(?!\\$|:))|(?:(\\*)\\s*)?(?=((([_$[:alpha:]][_$[:alnum:]]*)|(\\'[^']*\\')|(\\\"[^\"]*\\\")|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(\\??))?\\s*[\\(\\\u003c]))","end":"(?=\\}|;|,|$)|(?\u003c=\\})","patterns":[{"include":"#method-declaration-name"},{"include":"#comment"},{"include":"#function-parameters"},{"include":"#decl-block"}],"beginCaptures":{"1":{"name":"storage.modifier.mc"},"2":{"name":"storage.type.function.mc"},"3":{"name":"keyword.operator.new.mc"},"4":{"name":"storage.type.mc"},"5":{"name":"keyword.generator.asterisk.mc"}}},"method-declaration-name":{"begin":"(?=(([_$[:alpha:]][_$[:alnum:]]*)|(\\'[^']*\\')|(\\\"[^\"]*\\\")|(\\[([^\\[\\]]|\\[[^\\[\\]]*\\])+\\]))\\s*(\\??)\\s*[\\(\\\u003c])","end":"(?=\\(|\\\u003c)","patterns":[{"include":"#string"},{"include":"#array-literal"},{"name":"entity.name.function.mc","match":"[_$[:alpha:]][_$[:alnum:]]*"}]},"namespace-declaration":{"name":"meta.namespace.declaration.mc","begin":"(?\u003c!\\.|\\$)\\b(module)\\s+(?=[_$[:alpha:]\"'`])","end":"(?=$|\\{)","patterns":[{"include":"#comment"},{"include":"#string"},{"name":"entity.name.type.module.mc","match":"([_$[:alpha:]][_$[:alnum:]]*)"},{"include":"#punctuation-accessor"}],"beginCaptures":{"1":{"name":"storage.type.namespace.mc"}}},"new-expr":{"name":"new.expr.mc","begin":"(?\u003c!\\.|\\$)\\b(new)\\b(?!\\$)","end":"(?\u003c=\\))|(?=[;),}]|$|((?\u003c!\\.|\\$)\\bnew\\b(?!\\$)))","patterns":[{"include":"#paren-expression"},{"include":"#class-declaration"},{"include":"#type"}],"beginCaptures":{"1":{"name":"keyword.operator.new.mc"}}},"null-literal":{"patterns":[{"name":"constant.language.null.mc","match":"(?\u003c!\\.|\\$)\\bnull\\b(?!\\$)"}]},"numeric-literal":{"patterns":[{"name":"constant.numeric.hex.mc","match":"\\b(?\u003c!\\$)0(x|X)[0-9a-fA-F]+\\b(?!\\$)"},{"name":"constant.numeric.binary.mc","match":"\\b(?\u003c!\\$)0(b|B)[01]+\\b(?!\\$)"},{"name":"constant.numeric.octal.mc","match":"\\b(?\u003c!\\$)0(o|O)?[0-7]+\\b(?!\\$)"},{"match":"(?x)\n(?\u003c!\\$)(?:\n (?:\\b[0-9]+(\\.)[0-9]+[eE][+-]?[0-9]+[ld]?\\b)| # 1.1E+3\n (?:\\b[0-9]+(\\.)[eE][+-]?[0-9]+[ld]?\\b)| # 1.E+3\n (?:\\B(\\.)[0-9]+[eE][+-]?[0-9]+[ld]?\\b)| # .1E+3\n (?:\\b[0-9]+[eE][+-]?[0-9]+[ld]?\\b)| # 1E+3\n (?:\\b[0-9]+(\\.)[0-9]+[ld]?\\b)| # 1.1\n (?:\\b[0-9]+(\\.)[ld]?\\B)| # 1.\n (?:\\B(\\.)[0-9]+[ld]?\\b)| # .1\n (?:\\b[0-9]+[ld]?\\b(?!\\.)) # 1\n)(?!\\$)","captures":{"0":{"name":"constant.numeric.decimal.mc"},"1":{"name":"meta.delimiter.decimal.period.mc"},"2":{"name":"meta.delimiter.decimal.period.mc"},"3":{"name":"meta.delimiter.decimal.period.mc"},"4":{"name":"meta.delimiter.decimal.period.mc"},"5":{"name":"meta.delimiter.decimal.period.mc"},"6":{"name":"meta.delimiter.decimal.period.mc"}}}]},"numericConstant-literal":{"patterns":[{"name":"constant.language.nan.mc","match":"(?\u003c!\\.|\\$)\\bNaN\\b(?!\\$)"}]},"object-literal":{"name":"meta.objectliteral.mc","begin":"\\{","end":"\\}","patterns":[{"include":"#object-member"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.mc"}},"endCaptures":{"0":{"name":"punctuation.definition.block.mc"}}},"object-member":{"patterns":[{"include":"#comment"},{"name":"meta.object.member.mc","begin":"(?:[:_$[:alpha:]][_$[:alnum:]]*)\\s*(=\u003e)","end":"(?=,|\\})","patterns":[{"include":"#expression"}],"beginCaptures":{"0":{"name":"meta.object-literal.key.mc"},"1":{"name":"punctuation.separator.key-value.mc"}}},{"include":"#punctuation-comma"}]},"parameter-name":{"patterns":[{"match":"\\s*\\b(hidden)(?=\\s+(hidden)\\s+)","captures":{"1":{"name":"storage.modifier.mc"}}},{"match":"(?x)(?:\\s*\\b(hidden|static)\\s+)?(\\.\\.\\.)?\\s*(?\u003c!=|:)([_$[:alpha:]][_$[:alnum:]]*)\\s*(\\??)(?=\\s*\n (=\\s*(\n (function\\s*[(\u003c]) |\n (function\\s+) |\n ([_$[:alpha:]][_$[:alnum:]]*\\s*=\u003e) |\n ([(]\\s*(([)]\\s*:)|([_$[:alpha:]][_$[:alnum:]]*\\s*:)|(\\.\\.\\.) )) |\n ([\u003c]\\s*[_$[:alpha:]][_$[:alnum:]]*((\\s+extends\\s*[^=\u003e])|(\\s*[,]))) |\n ((\u003c([^\u003c\u003e]|\\\u003c[^\u003c\u003e]+\\\u003e)+\u003e\\s*)?\\(([^()]|\\([^()]*\\))*\\)(\\s*:\\s*(.)*)?\\s*=\u003e))\n ) |\n (:\\s*(\n (\u003c) |\n ([(]\\s*(\n ([)]) |\n (\\.\\.\\.) |\n ([_$[:alnum:]]+\\s*(\n ([:,?=])|\n ([)]\\s*=\u003e)\n ))\n )))\n )\n)","captures":{"1":{"name":"storage.modifier.mc"},"2":{"name":"keyword.operator.rest.mc"},"3":{"name":"entity.name.function.mc"},"4":{"name":"keyword.operator.optional.mc"}}},{"match":"(?:\\s*\\b(hidden|static)\\s+)?\\s*(?\u003c!=|:)([_$[:alpha:]][_$[:alnum:]]*)\\s*","captures":{"1":{"name":"storage.modifier.mc"},"2":{"name":"keyword.operator.rest.mc"},"3":{"name":"variable.parameter.mc"}}}]},"paren-expression":{"begin":"\\(","end":"\\)","patterns":[{"include":"#expression"},{"include":"#punctuation-comma"}],"beginCaptures":{"0":{"name":"meta.brace.round.mc"}},"endCaptures":{"0":{"name":"meta.brace.round.mc"}}},"punctuation-accessor":{"name":"punctuation.accessor.mc","match":"\\."},"punctuation-comma":{"name":"punctuation.separator.comma.mc","match":","},"punctuation-semicolon":{"name":"punctuation.terminator.statement.mc","match":";"},"qstring-double":{"name":"string.quoted.double.mc","begin":"\"","end":"(\")|((?:[^\\\\\\n])$)","patterns":[{"include":"#string-character-escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.mc"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.mc"},"2":{"name":"invalid.illegal.newline.mc"}}},"qstring-single":{"name":"string.quoted.single.mc","begin":"'","end":"(\\')|((?:[^\\\\\\n])$)","patterns":[{"include":"#string-character-escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.mc"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.mc"},"2":{"name":"invalid.illegal.newline.mc"}}},"statements":{"patterns":[{"include":"#string"},{"include":"#comment"},{"include":"#literal"},{"include":"#declaration"},{"include":"#switch-statement"},{"include":"#for-loop"},{"include":"#after-operator-block"},{"include":"#decl-block"},{"include":"#control-statement"},{"include":"#expression"},{"include":"#punctuation-semicolon"}]},"string":{"patterns":[{"include":"#qstring-single"},{"include":"#qstring-double"}]},"string-character-escape":{"name":"constant.character.escape.mc","match":"\\\\(x[[:xdigit:]]{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.|$)"},"support-objects":{"patterns":[{"match":"(?x)(?\u003c!\\.|\\$)\\b(Math)(?:\\s*(\\.)\\s*(?:\n (abs|acos|acosh|asin|asinh|atan|atan2|atanh|cbrt|ceil|clz32|cos|cosh|exp|\n expm1|floor|fround|hypot|imul|log|log10|log1p|log2|max|min|pow|random|\n round|sign|sin|sinh|sqrt|tan|tanh|trunc)\n |\n (E|LN10|LN2|LOG10E|LOG2E|PI|SQRT1_2|SQRT2)))?\\b(?!\\$)","captures":{"1":{"name":"support.constant.math.mc"},"2":{"name":"punctuation.accessor.mc"},"3":{"name":"support.function.math.mc"},"4":{"name":"support.constant.property.math.mc"}}},{"match":"(?x)(?\u003c!\\.|\\$)\\b(System)(?:\\s*(\\.)\\s*(\n print|println|getTimer|getClockTime|getSystemStats|trap|exit|error))?\\b(?!\\$)","captures":{"1":{"name":"support.class.system.mc"},"2":{"name":"punctuation.accessor.mc"},"3":{"name":"support.function.system.mc"}}},{"match":"(?x) (\\.) \\s* \n(?:\n (method)\n)(?=\\s*\\()","captures":{"1":{"name":"punctuation.accessor.js"},"2":{"name":"support.function.js"}}}]},"switch-block":{"name":"switch-block.expr.mc","begin":"\\{","end":"(?=\\})","patterns":[{"include":"#case-clause"},{"include":"#statements"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.mc"}}},"switch-expression":{"name":"switch-expression.expr.mc","begin":"(?\u003c!\\.|\\$)\\b(switch)\\s*(\\()","end":"\\)","patterns":[{"include":"#expression"}],"beginCaptures":{"1":{"name":"keyword.control.switch.mc"},"2":{"name":"meta.brace.round.mc"}},"endCaptures":{"0":{"name":"meta.brace.round.mc"}}},"switch-statement":{"name":"switch-statement.expr.mc","begin":"(?\u003c!\\.|\\$)(?=\\bswitch\\s*\\()","end":"\\}","patterns":[{"include":"#switch-expression"},{"include":"#switch-block"}],"endCaptures":{"0":{"name":"punctuation.definition.block.mc"}}},"ternary-expression":{"begin":"(\\?)","end":"(:)","patterns":[{"include":"#expression"}],"beginCaptures":{"0":{"name":"keyword.operator.ternary.mc"}},"endCaptures":{"0":{"name":"keyword.operator.ternary.mc"}}},"type":{"name":"meta.type.mc","patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#numeric-literal"},{"include":"#type-builtin-literals"},{"include":"#type-fn-type-parameters"},{"include":"#type-paren-or-function-parameters"},{"include":"#type-name"}]},"type-builtin-literals":{"name":"support.type.builtin.mc","match":"(?\u003c!\\.|\\$)\\b(this|true|false|null)\\b(?!\\$)"},"type-fn-type-parameters":{"patterns":[{"name":"meta.type.constructor.mc","match":"(?\u003c!\\.|\\$)\\b(new)\\b(?=\\s*\\\u003c)","captures":{"1":{"name":"keyword.control.new.mc"}}},{"name":"meta.type.constructor.mc","begin":"(?\u003c!\\.|\\$)\\b(new)\\b\\s*(?=\\()","end":"(?\u003c=\\))","patterns":[{"include":"#function-parameters"}],"beginCaptures":{"1":{"name":"keyword.control.new.mc"}}},{"name":"meta.type.function.mc","begin":"(?\u003c=\\\u003e)\\s*(?=\\()","end":"(?\u003c=\\))","patterns":[{"include":"#function-parameters"}]},{"name":"meta.type.function.mc","begin":"(?x)(\n (?=\n [(]\\s*(\n ([)]) | \n (\\.\\.\\.) |\n ([_$[:alnum:]]+\\s*(\n ([:,?=])|\n ([)]\\s*=\u003e)\n ))\n )\n )\n)","end":"(?\u003c=\\))","patterns":[{"include":"#function-parameters"}]}]},"type-name":{"patterns":[{"match":"([_$[:alpha:]][_$[:alnum:]]*)\\s*(\\.)","captures":{"1":{"name":"entity.name.type.module.mc"},"2":{"name":"punctuation.accessor.mc"}}},{"name":"entity.name.type.mc","match":"[_$[:alpha:]][_$[:alnum:]]*"}]},"type-paren-or-function-parameters":{"name":"meta.type.paren.cover.mc","begin":"\\(","end":"\\)","patterns":[{"include":"#type"},{"include":"#function-parameters"}],"beginCaptures":{"0":{"name":"meta.brace.round.mc"}},"endCaptures":{"0":{"name":"meta.brace.round.mc"}}},"var-expr":{"name":"meta.var.expr.mc","begin":"(?\u003c!\\.|\\$)\\b(var|const(?!\\s+enum\\b))\\b(?!\\$)","end":"(?=$|;|})","patterns":[{"include":"#var-single-variable"},{"include":"#variable-initializer"},{"include":"#comment"},{"include":"#punctuation-comma"}],"beginCaptures":{"1":{"name":"storage.type.mc"}}},"var-single-variable":{"patterns":[{"name":"meta.var-single-variable.expr.mc","begin":"(?x)([_$[:alpha:]][_$[:alnum:]]*)(?=\\s*\n (=\\s*(\n (function\\s*[(\u003c]) |\n (function\\s+) |\n ([_$[:alpha:]][_$[:alnum:]]*\\s*=\u003e) |\n ([(]\\s*(([)]\\s*:)|([_$[:alpha:]][_$[:alnum:]]*\\s*:)|(\\.\\.\\.) )) |\n ([\u003c]\\s*[_$[:alpha:]][_$[:alnum:]]*((\\s+extends\\s*[^=\u003e])|(\\s*[,]))) |\n ((\u003c([^\u003c\u003e]|\\\u003c[^\u003c\u003e]+\\\u003e)+\u003e\\s*)?\\(([^()]|\\([^()]*\\))*\\)(\\s*:\\s*(.)*)?\\s*=\u003e))\n ) |\n (:\\s*(\n (\u003c) |\n ([(]\\s*(\n ([)]) |\n (\\.\\.\\.) |\n ([_$[:alnum:]]+\\s*(\n ([:,?=])|\n ([)]\\s*=\u003e)\n ))\n )))\n )\n)","end":"(?=$|[;,=}]|(\\s+(of|in)\\s+))","patterns":[{"include":"#string"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"entity.name.function.mc"}}},{"name":"meta.var-single-variable.expr.mc","begin":"([[:upper:]][_$[:digit:][:upper:]]*)(?![_$[:alnum:]])","end":"(?=$|[;,=}]|(\\s+(of|in)\\s+))","beginCaptures":{"1":{"name":"variable.other.constant.mc"}}},{"name":"meta.var-single-variable.expr.mc","begin":"([_$[:alpha:]][_$[:alnum:]]*)","end":"(?=$|[;,=}]|(\\s+(of|in)\\s+))","patterns":[{"include":"#string"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"variable.other.readwrite.mc"}}}]},"variable-initializer":{"patterns":[{"begin":"(?\u003c!=|!)(=)(?!=)(?=\\s*\\S)","end":"(?=$|[,);}\\]])","patterns":[{"include":"#expression"}],"beginCaptures":{"1":{"name":"keyword.operator.assignment.mc"}}},{"begin":"(?\u003c!=|!)(=)(?!=)","end":"(?=[,);}\\]])|(?=^\\s*$)","patterns":[{"include":"#expression"}],"beginCaptures":{"1":{"name":"keyword.operator.assignment.mc"}}}]}}}
@@ -0,0 +1 @@
1
+ {"name":"mfu","scopeName":"source.mfu","patterns":[{"begin":"(^[ \\t]+)?(?=#)","end":"(?!\\G)","patterns":[{"name":"comment.line.number-sign.mfu","begin":"#","end":"\\n","beginCaptures":{"1":{"name":"punctuation.definition.comment.mfu"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.mfu"}}},{"begin":"(^[ \\t]+)?(?=;)","end":"(?!\\G)","patterns":[{"name":"comment.line.semicolon.mfu","begin":";","end":"\\n","beginCaptures":{"1":{"name":"punctuation.definition.comment.mfu"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.mfu"}}},{"name":"entity.name.tag.mfu","match":"^(\\[)(MFUT.*?)(\\])$","captures":{"1":{"name":"punctuation.definition.entity.mfu"}}},{"match":"\\b(reportfile|fixture-filename|outdir|testcase|es-syscat|preferred-cwd|jcl-filename|source.filename|source.seqfilename)\\b\\s*(=)(.*)","captures":{"1":{"name":"keyword.other.definition.mfu"},"2":{"name":"punctuation.definition.tag.mfu"},"3":{"name":"storage.mfu"}}},{"match":"\\b(description|traits)\\b\\s*(=)(.*)","captures":{"1":{"name":"keyword.other.definition.mfu"},"2":{"name":"punctuation.definition.tag.mfu"},"3":{"name":"variable.parameter.mfu"}}},{"match":"\\b([a-zA-Z0-9_.-]+)\\b\\s*(=)","captures":{"1":{"name":"keyword.other.definition.mfu"},"2":{"name":"punctuation.definition.tag.mfu"}}},{"name":"entity.name.variable.mfu","match":"^(\\[)(.*?)(\\])","captures":{"1":{"name":"punctuation.definition.entity.mfu"}}},{"name":"string.quoted.single.mfu","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.mfu","match":"\\\\."}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.mfu"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.mfu"}}},{"name":"string.quoted.double.mfu","begin":"\"","end":"\"","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.mfu"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.mfu"}}},{"name":"constant.numeric.mfu","match":"([0-9])+(s$|ms$|$)"},{"name":"constant.language","match":"(?i:true|false|separate|isolate|printfile|noprintfile|nojunit|junit|markdown|nomarkdown|nunit|nonunit|core|debug|junit-attachments|timings-csv)"}]}
@@ -0,0 +1 @@
1
+ {"name":"mfupp_dir","scopeName":"source.mfupp_dir","patterns":[{"name":"comment.line.mfupp_dir","match":"^(\\s*)\u0026.*$"},{"name":"string.brackets.mfupp_dir","match":"(\\(.*\\))"},{"name":"string.quoted.mfupp_dir","match":"(\".*\")$"},{"name":"keyword.mfupp_dir","match":"^(\\s*)(?i:(NOMOCK|NOCONFIRM|NOPD-PREFIX|NOPDP|NOVERBOSE|NOWS-PREFIX|NOWSP|NOC|NOIPP|NOIL|NOM|NOPDP|NOWSP|NOV))(?=\"|\\(|\\s+|$)"},{"name":"keyword.other.unit.mfupp_dir","match":"^(\\s*)(?i:(CONFIRM|IGNORE-PRG-PREFIX|INSERT-LS|MOCK|PD-PREFIX|WS-PREFIX|C|IPP|IL|M|PDP|WSP|VERBOSE|V))(?=\"|\\(|\\s+|$)"},{"name":"token.warn-token","match":"^(\\s*\\+.*)"},{"name":"invalid.illegal.mfupp_dir","match":"([0-9a-zA-Z\\-]+)"}]}
@@ -0,0 +1 @@
1
+ {"name":"MI","scopeName":"source.mi","patterns":[{"include":"#comments"},{"include":"#constants"},{"include":"#keywords"},{"include":"#strings"},{"include":"#support"}],"repository":{"comments":{"patterns":[{"name":"comment.line.mi","begin":"(\\/\\*)","end":"(\\*\\/)"}]},"constants":{"patterns":[{"name":"constant.language.mi","match":"(?i)[*]\\b(IN)([0-9]{0,2})\\b"},{"name":"constant.numeric.mi","match":"(\\b[0-9]+)|([0-9]*[.][0-9]*)"},{"name":"constant.language.mi","match":"[*][a-zA-Z][a-zA-Z0-9]*"}]},"keywords":{"patterns":[{"name":"keyword.control.mi.label","match":"^\\s*[a-zA-Z_][a-zA-Z0-9_\\-]*:"},{"name":"keyword.other.mi","match":"\\b(?i)(YIELD|XORSTR|XOR|XLATWTDS|XLATEWT|XLATEMB|XLATEB1|XLATEB|XLATE|XFRLOCK|XCTL|WAITTIME|VERIFY|UNLOCKSL|UNLOCK|UNLKMTX|UNLCKTSL|TSTRPLC|TSTINLTH|TSTBUM|TSTBTS|TRIML|TESTULA|TESTTOBJ|TESTSUBSET|TESTRPL|TESTPTR|TESTPDC|TESTINTR|TESTEXCP|TESTEAU|TESTAU|TANH|TAN|SYNCSTG|SUBSPPFO|SUBSPP|SUBN|SUBLC|STSPPO|STPLLEN|SSCA|SNSEXCPD|STRNCPYNULLPAD|STRNCPYNULL|STRNCMPNULL|STRLENNULL|SINH|SIN|SIGEXCP|SETSPPO|SETSPPFP|SETSPPD|SETSPP|SETSPFP|SETIP|SETINVF|SETIEXIT|SETHSSMK|SETDPAT|SETDPADR|SETDP|SETCA|SETBTS|SETALLEN|SETACST|SEARCH|SCANX|SCANWC|SCAN|SCALE|RTX|RTNEXCP|RSLVSP|RSLVDP|RMVINXEN|RINZSTAT|RETTSADR|RETTHID|RETTHCNT|RETINVF|RETEXCPD|RETCA|REM|REALCHSS|QUANTIZEBV|QUANTIZEBE|PROPB|POWER|POPPAR8|POPPAR4|POPCNTB|POPCNT8|POPCNT4|PCOPTR2|PCOPTR|OVRPGATR|ORSTR|OR|OPM_PARM_CNT|OPM_PARM_ADDR|NPM_PARMLIST_ADDR|NOT|NOOPS|NOOP|NEG|MPYSUB|MPYADD|MULT|MODS2|MODS1|MODS|MODINVAU|MODINX|MODEXCPD|MODASA|MEMUSEHINT|MEMMOVE|MEMCPY|MEMCMP|MATUPID|MATUP|MATTODAT|MATSOBJ|MATS|MATSELLK|MATRMD|MATQMSGQ|MATQAT|MATPGMNM|MATPG|MVLICOPT|MATPRMTX|MATPRMSG|MATPRLK|MATPRECL|MATPRATR|MATPRAGP|MATPTRL|MATPTRIF|MATPTR|MATOBJLCK|MATMTX|MATMIF|MATMDATA|MATMATR1|MATMATR|MATJSAT|MATJPAT|MATJOBJ|MATJOAT|MATINVS|MATINVE|MATINVAT|MATINV|MATINAT|MATINXAT|MATEXCPD|MATDMPS|MATDRECL|MATBPGM|MATAUU|MATAUOBJ|MATAL|MATAU|MATAOL|MATHSAT|MATAGPAT|MATACTEX|MATACTAT|MATAGAT|LN|LOCKTSL|LOCKSL|LOCKMTX|LOCK|INVP|INSINXEN|INITEHCA|INCTS|INCT|INCD|GENUUID|FREHSSMK|FREHSS|FNDRINVN|FNDINXEN|STRCHRNULL|MEMCHR|FINDBYTE|EXTRMAG|EXTREXP|ECSCAN|EEXP|EXCHBY|ENSOBJ|ENQ|END|EDITPD|LBEDIT|EDIT|DIVREM|DIV|DESS|DESMTX|DESINX|DESHS|DEQWAIT|DEQ|DECTS|DECT|DECD|DCPDATA|DEACTPG|CVTTS|CVTT|CVTSC|CVTNC|CVTMC|CVTHC|CVTFPDF|CVTEFN|CVTDFFP|CVTD|CVTCS|CVTCN|CVTCM|CVTCH|CVTCB|CVTBC|CRTMTX|CRTINX|CRTHS|CNTLZ8|CNTLZ4|COT|COSH|COS|LBCPYNVR|LBCPYNV|CPYNV|STRCPYNULL|CPYHEXZZ|CPYHEXZN|CPYHEXNZ|CPYHEXNN|CPYECLAP|CPYBWP|CPYBRAP|CPYBRA|CPYBREP|CPYBO|CPYBOLAP|CPYBOLA|CPYBLAP|CPYBLA|CPYBBTL|CPYBBTA|CPYBYTES|CPYBTRLS|CPYBTRAS|CPYBTLLS|CPYBTL|CPYBTA|CPRDATA|CAT|CMPTOPAD|CMPSWP|CMPSW|CMPSPAD|CMPPTRT|CMPPTRE|CMPPTRA|CMPPSPAD|CMPNV|STRCMPNULL|CMPBRAP|CMPBRA|CMPBLAP|CMPBLA|CMF2|CMF1|CDD|CAI|COMSTR|CLRLKVAL|CLRINVF|CLRIEXIT|CLRBTS|CIPHER|CHKLKVAL|CALLPGMV|CALLI|CALLX|BITPERM|ATMCOR|ATMCAND|ATMCADD|ATANH|ATAN|ASIN|ACOS|ANDSTR|ANDCSTR|AND|ALCHSS|ADDSPP|ADDN|ADDLC|ACTPG|ACTBPGM)\\b"},{"name":"keyword.other.mi","match":"\\s+(?i)(MATCTX|B|CRTS|CTSD|CTD)\\b"},{"name":"keyword.other.mi","match":"\\b(?i)(ENTRY|DCL|PARM_LIST|PARM|PEND|EXT)\\b"},{"name":"keyword.other.mi","match":"\\b(([\\|](\\||\u003e|\u003c))|\\+|\u003e=|\u003c=|=|\u003e|\u003c|:)\\b"},{"name":"keyword.other.mi","match":"\\*"}]},"strings":{"patterns":[{"name":"string.other.mi.hex","begin":"(?i)x'","end":"'"},{"name":"string.quoted.single.mi","begin":"('|\")","end":"'|\"","patterns":[{"name":"constant.character.escape.mi","match":"\\\\."}]}]},"support":{"patterns":[{"name":"support.type.mi","match":"\\b(?i)(SPCPTR|SYSPTR|OL|DD)"},{"name":"support.function.mi","match":"\\b(?i)[A-Za-z]+\\s*(?=\\()"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"MiniYAML","scopeName":"source.miniyaml","patterns":[{"include":"#comment"},{"include":"#node"}],"repository":{"block-pair":{"name":"entity.name.tag.yaml","match":"^\\t*(\\S+?)(?=@|:)","patterns":[{"include":"#node-identifier"}]},"comment":{"name":"comment.line.number-sign.yaml","begin":"(?\u003c=^|\\s)#(?!{)","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.yaml"}}},"constants":{"name":"constant.language.yaml","match":"(?::\\s)(true|false|True|False|TRUE|FALSE|~)(?=\\s*$)"},"node":{"patterns":[{"include":"#node-removal"},{"include":"#block-pair"},{"include":"#node-identifier"},{"include":"#scalar-content"}]},"node-identifier":{"name":"support.yaml","match":"(?\u003c=\\S)(@\\S+)(?=:\\s)"},"node-removal":{"name":"entity.yaml","match":"^\\t+(-.+?)(?=@|:\\s)"},"numeric":{"patterns":[{"name":"constant.numeric.integer.yaml","match":"(?::\\s)[-+]?[0-9]+(?=\\s*($|#(?!#{)))"},{"name":"constant.numeric.octal.yaml","match":"(?::\\s)0o[0-7]+(?=\\s*($|#(?!#{)))"},{"name":"constant.numeric.hexadecimal.yaml","match":"(?::\\s)0x[0-9a-fA-F]+(?=\\s*($|#(?!#{)))"},{"name":"constant.numeric.float.yaml","match":"(?::\\s)[-+]?(.[0-9]+|[0-9]+(.[0-9]*)?)([eE][-+]?[0-9]+)?(?=\\s*($|#(?!#{)))"},{"name":"constant.numeric.float.yaml","match":"(?::\\s)[-+]?(.inf|.Inf|.INF)(?=\\s*($|#(?!#{)))"},{"name":"constant.numeric.float.yaml","match":"(?::\\s)(.nan|.NaN|.NAN)(?=\\s*($|#(?!#{)))"}]},"scalar-content":{"patterns":[{"include":"#comment"},{"include":"#constants"},{"include":"#numeric"},{"include":"#strings"}]},"strings":{"patterns":[{"name":"string.unquoted.yaml","match":"[^\\s\"'\\n](?!\\s*#(?!{))([^#\\n]|((?\u003c!\\s)#))*"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"Mint","scopeName":"source.mint","patterns":[{"include":"#comments"},{"include":"#html"},{"include":"#regex"},{"include":"#style"},{"include":"#js"},{"include":"#routes"},{"include":"#keywords"},{"include":"#strings"},{"include":"#directives"}],"repository":{"comments":{"patterns":[{"name":"comment.block.mint","begin":"/\\*","end":"\\*/"},{"match":"((//).*)$","captures":{"1":{"name":"comment.line.double-slash.mint"}}}]},"css":{"patterns":[{"match":"//"},{"include":"#style-nesting"},{"include":"source.css#pseudo-classes"},{"include":"source.css#pseudo-elements"},{"include":"source.css.scss#general"},{"include":"source.css.scss#selectors"},{"include":"source.css.scss#properties"},{"include":"source.css.scss#at_rule_import"},{"include":"source.css.scss#at_rule_media"},{"include":"source.css.scss#at_rule_charset"},{"include":"source.css.scss#at_rule_namespace"},{"include":"source.css.scss#at_rule_fontface"},{"include":"source.css.scss#at_rule_page"},{"include":"source.css.scss#at_rule_supports"},{"name":"meta.at-rule.keyframes.scss","begin":"(?\u003c=^|\\s)(@)(?:-(?:webkit|moz)-)?keyframes\\b","end":"(?\u003c=})","patterns":[{"match":"(?\u003c=@keyframes)\\s+((?:[_A-Za-z][-\\w]|-[_A-Za-z])[-\\w]*)","captures":{"1":{"name":"entity.name.function.scss"}}},{"name":"string.quoted.double.scss","contentName":"entity.name.function.scss","begin":"(?\u003c=@keyframes)\\s+(\")","end":"\"","patterns":[{"name":"constant.character.escape.scss","match":"\\\\([[:xdigit:]]{1,6}|.)"},{"include":"source.css.scss#interpolation"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.scss"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.scss"}}},{"name":"string.quoted.single.scss","contentName":"entity.name.function.scss","begin":"(?\u003c=@keyframes)\\s+(')","end":"'","patterns":[{"name":"constant.character.escape.scss","match":"\\\\([[:xdigit:]]{1,6}|.)"},{"include":"source.css.scss#interpolation"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.scss"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.scss"}}},{"begin":"{","end":"}","patterns":[{"include":"#comments"},{"name":"entity.other.attribute-name.scss","match":"\\b(?:(?:100|[1-9]\\d|\\d)%|from|to)(?=\\s*{)"},{"include":"#style-nesting"}],"beginCaptures":{"0":{"name":"punctuation.section.keyframes.begin.scss"}},"endCaptures":{"0":{"name":"punctuation.section.keyframes.end.scss"}}}],"beginCaptures":{"0":{"name":"keyword.control.at-rule.keyframes.scss"},"1":{"name":"punctuation.definition.keyword.scss"}}}]},"directives":{"begin":"(@(svg|format|documentation))((\\().*\\))?","end":"\\G","beginCaptures":{"0":{"name":"keyword.directive.mint","patterns":[{"name":"string.unquoted.mint","match":"(?\u003c=@svg\\()[^\\)]*"},{"name":"entity.name.class.mint","match":"(?\u003c=@documentation\\()[^\\)]*"}]}}},"html":{"name":"meta.tag.html.mint","begin":"\u003c{?","end":"}?\u003e","patterns":[{"name":"punctuation.definition.tag.html.mint","match":"(?\u003c=\u003c)/|/(?=\u003e)"},{"name":"entity.name.tag.block.any.html.mint","match":"(?\u003c=\u003c|\u003c/)[^A-Z|{][a-z]*[^\\s|:|\u003e|/]*"},{"name":"entity.name.tag.css.mint","match":"(?![A-Z][a-z]*)(?\u003c=::)[^\\s|\u003e|::|\\(|/]*"},{"include":"#html"},{"include":"#directives"},{"include":"#regex"},{"include":"#js"},{"include":"#strings"},{"include":"#keywords"}],"beginCaptures":{"0":{"name":"punctuation.definition.tag.html.mint"}},"endCaptures":{"0":{"name":"punctuation.definition.tag.html.mint"}}},"interpolation":{"name":"meta.embedded.line.mint","begin":"#{","end":"}","patterns":[{"name":"punctuation.accessor.mint","match":"\\."},{"include":"#keywords"}],"beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.mint"}},"endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.mint"}}},"js":{"name":"meta.embedded.block.js.mint","begin":"`","end":"`","patterns":[{"include":"source.js"}]},"keywords":{"patterns":[{"name":"keyword.control.mint","match":"(?\u003c!\\.|[a-zA-Z0-9])\\b(global|state|encode|decode|for|module|provider|suite|test|parallel|sequence|case|try|catch|finally|next|with|component|property|fun|style|routes|get|connect|exposing|record|store|use|when|if|else|where|enum|using|const|as|or)\\b(?![a-zA-Z0-9]|\\.|\\s*(=|}))"},{"name":"entity.name.class.mint","match":"\\b[A-Z][A-Za-z0-9]*\\b|\\b[A-Z_]+\\b"},{"name":"constant.numeric.mint","match":"\\d\\.?"},{"name":"storage.type.function.arrow.mint","match":"=\u003e"},{"name":"punctuation.accessor.mint","match":"(?\u003c!\\.)\\.(?!\\.)"},{"name":"punctuation.block.open.mint","match":"{"},{"name":"punctuation.block.close.mint","match":"}"},{"name":"punctuation.separator.mint","match":"(?\u003c!:):(?!:)"},{"name":"keyword.operator.class.mint","match":"(?\u003c!:|\\s)::(?!:|\\s)"},{"name":"punctuation.params.open.mint","match":"\\("},{"name":"punctuation.params.close.mint","match":"\\)"},{"name":"punctuation.array.open.mint","match":"\\["},{"name":"punctuation.array.close.mint","match":"\\]"},{"name":"punctuation.separator.comma.mint","match":","},{"name":"keyword.operator.arithmetic.mint","match":"\\+|-|/|\\*"},{"name":"keyword.operator.relational.mint","match":"(?\u003c=\\w|\\d|\\s)\u003e=?|\u003c=?(?=\\s|\\d|\\w)"},{"name":"keyword.operator.assignment.mint","match":"(?\u003c!=)=(?!=)"},{"name":"keyword.operator.equality.mint","match":"(?\u003c!=)==(?!=)"},{"name":"keyword.operator.spread.mint","match":"\\.\\.\\."},{"name":"keyword.operator.pipe.mint","match":"\\|\u003e"},{"name":"keyword.operator.copy.mint","match":"\\|(?!\u003e)"},{"name":"constant.language.boolean.mint","match":"\\b(true|false)\\b"},{"name":"keyword.operator.expression.of.mint","match":"(?\u003c!\\.)\\bof\\b"},{"name":"entity.name.function.mint","match":"(?\u003c=\\s\\bfun\\b\\s)[^\\(|:|{]*"},{"name":"entity.name.function.mint","match":"\\b(?\u003c=[^A-Za-z]|\\.|\\s)[a-z][a-zA-Z0-9]*\\b(?=\\()"},{"name":"keyword.other.env.mint","match":"@[A-Z]+"},{"name":"support.type.property-name.mint","match":"\\b[a-z][a-zA-Z0-9\\-]*\\b"}]},"regex":{"patterns":[{"name":"string.regexp.mint","match":"/(?:\\\\/|[^/])+/"},{"name":"constant.regexp","match":"(?\u003c=/)(g|i|m|y|u|s)"}]},"routes":{"name":"meta.block.routes.mint","begin":"(?\u003c=routes\\s{)","end":"}","patterns":[{"include":"#comments"},{"name":"string.route.name.mint","match":"(/|\\*)[^{]*"},{"include":"#routes-nesting"},{"include":"#keywords"}],"beginCaptures":{"0":{"name":"meta.block.open.routes.mint"}},"endCaptures":{"0":{"name":"meta.block.close.routes.mint"}}},"routes-nesting":{"name":"meta.block.nested.routes.mint","begin":"{","end":"}","patterns":[{"include":"#comments"},{"include":"#routes-nesting"},{"include":"#keywords"}],"beginCaptures":{"0":{"name":"meta.block.open.nested.routes.mint"}},"endCaptures":{"0":{"name":"meta.block.close.nested.routes.mint"}}},"strings":{"name":"string.quoted.double.mint","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.mint","match":"\\\\."},{"include":"#interpolation"}]},"style":{"name":"meta.block.style.mint","begin":"(?\u003c=style\\s)[^{]*\\s{","end":"}","patterns":[{"include":"#style-conditionals"},{"include":"#css"}],"beginCaptures":{"0":{"name":"meta.block.open.style.mint","patterns":[{"name":"punctuation.params.style.mint","begin":"\\(","end":"\\)","patterns":[{"include":"#keywords"}]},{"name":"entity.name.tag.css.mint","match":"\\b[^\\s|\\(|\\:]*\\b"}]}},"endCaptures":{"0":{"name":"meta.block.close.style.mint"}}},"style-conditionals":{"begin":"((?:else\\s*)?if\\s*\\(.*\\)\\s*{|(?\u003c=})\\s*else\\s*(?!if){|case\\s*\\(.*\\)\\s*{)","end":"}","patterns":[{"include":"#comments"},{"name":"meta.embedded.line.scss.mint","begin":"(?=:\\s[^A-Z])","end":"[^;]*$","patterns":[{"include":"#css"}]},{"include":"#strings"},{"include":"#keywords"}],"beginCaptures":{"0":{"name":"meta.block.open.style.conditional.mint","patterns":[{"include":"#keywords"}]}},"endCaptures":{"0":{"name":"meta.block.close.style.conditional.mint","patterns":[{"include":"#keywords"}]}}},"style-nesting":{"name":"meta.block.nested.style.mint","begin":"{","end":"}","patterns":[{"include":"#style-conditionals"},{"include":"#css"}],"beginCaptures":{"0":{"name":"meta.block.open.nested.style.mint"}},"endCaptures":{"0":{"name":"meta.block.close.nested.style.mint"}}}}}
@@ -0,0 +1 @@
1
+ {"name":"mligo","scopeName":"source.mligo","patterns":[{"include":"#string"},{"include":"#block_comment"},{"include":"#line_comment"},{"include":"#attribute"},{"include":"#macro"},{"include":"#letbinding"},{"include":"#lambda"},{"include":"#typedefinition"},{"include":"#controlkeywords"},{"include":"#numericliterals"},{"include":"#operators"},{"include":"#identifierconstructor"},{"include":"#module"}],"repository":{"attribute":{"name":"keyword.control.attribute.mligo","match":"\\[@.*\\]"},"block_comment":{"name":"comment.block.mligo","begin":"\\(\\*","end":"\\*\\)"},"controlkeywords":{"name":"keyword.control.mligo","match":"\\b(match|with|if|then|else|assert|failwith|begin|end|in)\\b"},"identifierconstructor":{"match":"\\b([A-Z][a-zA-Z0-9_$]*)\\s+","captures":{"1":{"name":"variable.other.enummember.mligo"}}},"lambda":{"begin":"\\b(fun)\\b","end":"(-\u003e)","beginCaptures":{"1":{"name":"keyword.other.mligo"}},"endCaptures":{"1":{"name":"keyword.operator.mligo"}}},"letbinding":{"match":"\\b(let)\\b\\s*\\b(rec|)\\s*\\b([a-zA-Z$_][a-zA-Z0-9$_]*)","captures":{"1":{"name":"keyword.other.mligo"},"2":{"name":"storage.modifier.mligo"},"3":{"name":"entity.name.function.mligo"}}},"line_comment":{"name":"comment.block.mligo","match":"\\/\\/.*$"},"macro":{"name":"meta.preprocessor.mligo","match":"^\\#[a-zA-Z]+"},"module":{"match":"\\b([A-Z][a-zA-Z0-9_$]*)\\.([a-z][a-zA-Z0-9_$]*)","captures":{"1":{"name":"storage.class.mligo"},"2":{"name":"storage.var.mligo"}}},"numericliterals":{"name":"constant.numeric.mligo","match":"(\\+|\\-)?[0-9]+(n|tz|tez|mutez|)\\b"},"operators":{"name":"keyword.operator.mligo","match":"\\s+(::|\\-|\\+|mod|land|lor|lxor|lsl|lsr|\u0026\u0026|\\|\\||\u003e|\u003c\u003e|\u003c=|=\u003e|\u003c|\u003e)\\s+"},"string":{"name":"string.quoted.double.mligo","begin":"\\\"","end":"\\\""},"typedefinition":{"name":"entity.name.type.mligo","match":"\\b(type)\\b"}}}
@@ -1 +1 @@
1
- {"name":"MLIR","scopeName":"source.mlir","patterns":[{"include":"#comment"},{"include":"#string"},{"name":"support.function.mlir","match":"\\b(func)\\b\\s*(@[\\w_][\\w\\d_.$]*)","captures":{"1":{"name":"keyword.function.mlir"},"2":{"name":"entity.name.function.mlir"}}},{"name":"keyword.module.mlir","match":"\\b(attributes|br|call|constant|loc|return)\\b"},{"include":"#identifier"},{"include":"#branch_target"},{"include":"#attribute"},{"include":"#types"},{"include":"#integer"}],"repository":{"attribute":{"name":"meta.attribute.mlir","match":"\\W[\\w_][\\w\\d_.$]*\\s*="},"branch_target":{"name":"entity.name.label.mlir","match":"\\^bb[\\w\\d_$\\.-]+"},"comment":{"name":"comment.line.double-slash.mlir","match":"//.*$"},"identifier":{"name":"meta.identifier.mlir","match":"[\\%#@][\\w_][\\w\\d_.$]*","captures":{"0":{"name":"variable.mlir"}}},"integer":{"name":"meta.identifier.mlir","match":"[\\Wx]([0-9]+)","captures":{"1":{"name":"constant.numeric.mlir"}}},"string":{"name":"string.quoted.double.mlir","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.mlir","match":"\\\\[nt\"]"},{"name":"invalid.illegal.mlir","match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.mlir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.mlir"}}},"types":{"name":"meta.types.simple.mlir","match":"[\\Wx](index|i[1-9][0-9]*|f16|bf16|f32|f64|memref|tensor|vector)\\b","captures":{"1":{"name":"storage.type.mlir"}}}}}
1
+ {"name":"MLIR","scopeName":"source.mlir","patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#top_level_entity"}],"repository":{"attribute_alias_def":{"match":"^\\s*(\\#\\w+)\\b\\s+\\=","captures":{"1":{"name":"constant.language.mlir"}}},"attribute_dictionary_body":{"patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#attribute_value"},{"name":"variable.other.mlir","match":"(\\%)?\\b([\\w\\.\\-\\$\\:0-9]+)\\b\\s*(?=\\=|\\,|\\})"}]},"attribute_value":{"patterns":[{"include":"#string"},{"include":"#comment"},{"include":"#number"},{"name":"constant.language.mlir","match":"\\b(false|true|unit)\\b"},{"begin":"\\b(affine_map|affine_set)\\s*\\\u003c","end":"\\)\\\u003e","patterns":[{"name":"entity.name.function.mlir","match":"\\b(ceildiv|floordiv|mod|symbol)\\b"},{"name":"variable.mlir","match":"\\b([\\w\\.\\$\\-]+)\\b"},{"include":"#number"}],"beginCaptures":{"1":{"name":"constant.language.mlir"}}},{"begin":"\\b(dense|opaque|sparse)\\s*\\\u003c","end":"\\\u003e","patterns":[{"include":"#attribute_value"}],"beginCaptures":{"1":{"name":"constant.language.mlir"}}},{"begin":"\\[","end":"\\]","patterns":[{"include":"#attribute_value"},{"include":"#operation_body"}]},{"begin":"\\{","end":"\\}","patterns":[{"include":"#attribute_dictionary_body"}]},{"name":"entity.name.function.mlir","match":"(\\@[\\w+\\$\\-\\.]*)"},{"begin":"(\\#[\\w\\$\\-\\.]+)\\\u003c","end":"\\\u003e","patterns":[{"include":"#attribute_value"},{"match":"\\-\\\u003e|\\\u003e\\="},{"include":"#bare_identifier"}],"beginCaptures":{"1":{"name":"constant.language.mlir"}}},{"name":"constant.language.mlir","match":"\\#[\\w\\$\\-\\.]+\\b"},{"include":"#type_value"},{"begin":"\\\u003c","end":"\\\u003e","patterns":[{"include":"#attribute_value"},{"include":"#bare_identifier"}]}]},"bare_identifier":{"name":"keyword.other.mlir","match":"\\b([\\w\\.\\$\\-]+)\\b"},"block":{"name":"keyword.control.mlir","match":"\\^[\\w\\d_$\\.-]+"},"comment":{"name":"comment.line.double-slash.mlir","match":"//.*$"},"number":{"patterns":[{"name":"constant.numeric.mlir","match":"(\\W)?([0-9]+\\.[0-9]*)([eE][+-]?[0-9]+)?"},{"match":"([\\W])?(0x[0-9a-zA-Z]+)","captures":{"2":{"name":"constant.numeric.mlir"}}},{"match":"([\\Wx])?([0-9]+)","captures":{"2":{"name":"constant.numeric.mlir"}}}]},"operation":{"patterns":[{"match":"^\\s*(\\%[\\%\\w\\:\\,\\s]+)\\s+\\=\\s+([\\w\\.\\$\\-]+)\\b","captures":{"1":{"patterns":[{"include":"#ssa_value"}]},"2":{"name":"variable.other.enummember.mlir"}}},{"name":"variable.other.enummember.mlir","match":"^\\s*([\\w\\.\\$\\-]+)\\b(?=[^\\\u003c\\:])"}]},"operation_body":{"patterns":[{"include":"#operation"},{"include":"#region_body_or_attr_dict"},{"include":"#comment"},{"include":"#ssa_value"},{"include":"#block"},{"include":"#attribute_value"},{"include":"#bare_identifier"}]},"region_body_or_attr_dict":{"patterns":[{"begin":"\\{\\s*(?=\\%|\\/|\\^)","end":"\\}","patterns":[{"include":"#operation_body"}]},{"begin":"\\{\\s*(?=[^\\}]*$)","end":"\\}","patterns":[{"include":"#operation_body"}]},{"begin":"\\{\\s*(?=\\%)","end":"\\}","patterns":[{"include":"#operation_body"}]},{"begin":"\\{\\s*(?=.*$)","end":"\\}","patterns":[{"include":"#attribute_dictionary_body"}]}]},"ssa_value":{"name":"variable.other.mlir","match":"\\%[\\w\\.\\$\\:\\#]+"},"string":{"name":"string.quoted.double.mlir","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.mlir","match":"\\\\[nt\"]"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.mlir"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.mlir"}}},"top_level_entity":{"patterns":[{"include":"#attribute_alias_def"},{"include":"#type_alias_def"},{"include":"#operation_body"}]},"type_alias_def":{"match":"^\\s*(\\!\\w+)\\b\\s+\\=","captures":{"1":{"name":"entity.name.type.mlir"}}},"type_value":{"patterns":[{"begin":"(\\![\\w\\$\\-\\.]+)\\\u003c","end":"\\\u003e","patterns":[{"include":"#attribute_value"},{"name":"punctuation.other.mlir","match":"\\-\\\u003e|\\\u003e\\="},{"include":"#bare_identifier"}],"beginCaptures":{"1":{"name":"entity.name.type.mlir"}}},{"name":"entity.name.type.mlir","match":"\\![\\w\\$\\-\\.]+\\b"},{"begin":"(complex|memref|tensor|tuple|vector)\\\u003c","end":"\\\u003e","patterns":[{"match":"[\\?x0-9\\[\\]]+","captures":{"0":{"patterns":[{"include":"#number"}]}}},{"include":"#attribute_value"},{"name":"punctuation.other.mlir","match":"\\-\\\u003e|\\\u003e\\="},{"include":"#bare_identifier"}],"beginCaptures":{"1":{"name":"entity.name.type.mlir"}}},{"name":"entity.name.type.mlir","match":"bf16|f16|f32|f64|f80|f128|index|none|(u|s)?i[0-9]+"}]}}}
@@ -1 +1 @@
1
- {"name":"Swift","scopeName":"source.mo","patterns":[{"include":"#shebang-line"},{"include":"#comment"},{"include":"#attribute"},{"include":"#literal"},{"include":"#operator"},{"include":"#declaration"},{"include":"#storage-type"},{"include":"#keyword"},{"include":"#type"},{"include":"#boolean"}],"repository":{"access-level-modifier":{"name":"keyword.other.access-level-modifier.swift","match":"\\b(open|public|internal|fileprivate|private)\\b(?:\\(set\\))?"},"arithmetic-operator":{"name":"keyword.operator.arithmetic.swift","match":"(?\u003c![/=\\-+!*%\u003c\u003e\u0026|\\^~.])(\\+|\\-|\\*|\\/)(?![/=\\-+!*%\u003c\u003e\u0026|\\^~.])"},"array-type":{"name":"meta.array.swift","begin":"\\b(Array)(\u003c)","end":"(\u003e)","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"support.type.array.swift"},"2":{"name":"punctuation.array.begin.swift"}},"endCaptures":{"1":{"name":"punctuation.array.end.swift"}}},"assignment-operator":{"name":"keyword.operator.assignment.swift","match":"(?\u003c![/=\\-+!*%\u003c\u003e\u0026|\\^~.])(\\+|\\-|\\*|\\/|%|\u003c\u003c|\u003e\u003e|\u0026|\\^|\\||\u0026\u0026|\\|\\|)?=(?![/=\\-+!*%\u003c\u003e\u0026|\\^~.])"},"attribute":{"name":"meta.attribute.swift","patterns":[{"contentName":"meta.attribute.arguments.swift","begin":"((@)(\\B\\$[0-9]+|\\b[\\w^\\d][\\w\\d]*\\b|\\B`[\\w^\\d][\\w\\d]*`\\B))(\\()","end":"\\)","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"storage.modifier.attribute.swift"},"2":{"name":"punctuation.definition.attribute.swift"},"3":{"name":"punctuation.definition.attribute-arguments.begin.swift"}},"endCaptures":{"0":{"name":"punctuation.definition.attribute-arguments.end.swift"}}},{"match":"((@)(\\B\\$[0-9]+|\\b[\\w^\\d][\\w\\d]*\\b|\\B`[\\w^\\d][\\w\\d]*`\\B))","captures":{"1":{"name":"storage.modifier.attribute.swift"},"2":{"name":"punctuation.definition.attribute.swift"}}}]},"bitwise-operator":{"name":"keyword.operator.bitwise.swift","match":"(?\u003c![/=\\-+!*%\u003c\u003e\u0026|\\^~.])(\u0026|\\||\\^|\u003c\u003c|\u003e\u003e)(?![/=\\-+!*%\u003c\u003e\u0026|\\^~.])"},"block-comment":{"name":"comment.block.swift","begin":"/\\*","end":"\\*/","beginCaptures":{"0":{"name":"punctuation.definition.comment.block.begin.swift"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.block.end.swift"}}},"boolean":{"name":"keyword.constant.boolean.swift","match":"\\b(true|false)\\b"},"branch-statement-keyword":{"name":"keyword.control.branch.swift","patterns":[{"include":"#if-statement-keyword"},{"include":"#switch-statement-keyword"}]},"catch-statement-keyword":{"name":"kewyord.control.catch.swift","match":"\\b(catch|do)\\b"},"code-block":{"begin":"(\\{)","end":"(\\})","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"punctuation.definition.code-block.begin.swift"}},"endCaptures":{"1":{"name":"punctuation.definition.code-block.end.swift"}}},"collection-type":{"patterns":[{"include":"#array-type"},{"include":"#dictionary-type"},{"name":"support.type.swift","match":"\\b(Array|Dictionary)\\b"}]},"comment":{"patterns":[{"include":"#documentation-comment"},{"include":"#block-comment"},{"include":"#in-line-comment"}]},"comparative-operator":{"name":"keyword.operator.comparative.swift","match":"(?\u003c![/=\\-+!*%\u003c\u003e\u0026|\\^~.])((=|!)==?|(\u003c|\u003e)=?|~=)(?![/=\\-+!*%\u003c\u003e\u0026|\\^~.])"},"control-transfer-statement-keyword":{"name":"keyword.control.transfer.swift","match":"\\b(continue|break|fallthrough|return)\\b"},"custom-operator":{"patterns":[{"name":"keyword.operator.custom.prefix.unary.swift","match":"(?\u003c=[\\s(\\[{,;:])([/=\\-+!*%\u003c\u003e\u0026|\\^~.]++)(?![\\s)\\]},;:])"},{"name":"keyword.operator.custom.postfix.unary.swift","match":"(?\u003c![\\s(\\[{,;:])([/=\\-+!*%\u003c\u003e\u0026|\\^~.]++)(?![\\s)\\]},;:\\.])"},{"name":"keyword.operator.custom.binary.swift","match":"(?\u003c=[\\s(\\[{,;:])([/=\\-+!*%\u003c\u003e\u0026|\\^~.]++)(?=[\\s)\\]},;:])"}]},"declaration":{"name":"meta.declaration.swift","patterns":[{"include":"#import-declaration"},{"include":"#function-declaration"}]},"declaration-modifier":{"name":"keyword.other.declaration-modifier.swift","match":"\\b(class|object|type|shared|convenience|dynamic|final|lazy|(non)?mutating|optional|override|required|static|unowned((un)?safe)?|weak)\\b"},"dictionary-type":{"name":"meta.dictionary.swift","begin":"\\b(Dictionary)(\u003c)","end":"(\u003e)","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"support.type.dictionary.swift"},"2":{"name":"punctuation.dictionary.begin.swift"}},"endCaptures":{"1":{"name":"punctuation.dictionary.end.swift"}}},"documentation-comment":{"name":"comment.block.documentation.swift","begin":"/\\*\\*","end":"\\*/","beginCaptures":{"0":{"name":"punctuation.definition.comment.block.documentation.begin.swift"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.block.documentation.end.swift"}}},"floating-point-literal":{"name":"constant.numeric.floating-point.swift","patterns":[{"match":"\\b([0-9][0-9_]*)(\\.([0-9][0-9_]*))?([eE][+\\-]?([0-9][0-9_]*))?\\b"},{"match":"\\b(0x[[:xdigit:]][[[:xdigit:]]_]*)(\\.(0x[[:xdigit:]][[[:xdigit:]]_]*))?([pP][+\\-]?(0x[[:xdigit:]][[[:xdigit:]]_]*))\\b"}]},"function-body":{"name":"meta.function-body.swift","patterns":[{"include":"#code-block"}]},"function-declaration":{"name":"meta.function-declaration.swift","begin":"\\b(func)\\s+(\\B\\$[0-9]+|\\b[\\w^\\d][\\w\\d]*\\b|\\B`[\\w^\\d][\\w\\d]*`\\B|[/=\\-+!*%\u003c\u003e\u0026|\\^~.]+)\\s*(?=\\(|\u003c)","end":"(?\u003c=\\})","patterns":[{"include":"#generic-parameter-clause"},{"include":"#parameter-clause"},{"include":"#function-result"},{"include":"#function-body"}],"beginCaptures":{"1":{"name":"storage.type.function.swift"},"2":{"name":"entity.type.function.swift"}}},"function-result":{"name":"meta.function-result.swift","begin":"(?\u003c![/=\\-+!*%\u003c\u003e\u0026|\\^~.])(\\-\u003e)(?![/=\\-+!*%\u003c\u003e\u0026|\\^~.])\\s*","end":"\\s*(?=\\{)","patterns":[{"include":"#type"}],"beginCaptures":{"1":{"name":"keyword.operator.function-result.swift"}}},"generic-parameter-clause":{"name":"meta.generic-parameter-clause.swift","begin":"(\u003c)","end":"(\u003e)","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"punctuation.definition.generic-parameter-clause.begin.swift"}},"endCaptures":{"1":{"name":"punctuation.definition.generic-parameter-clause.end.swift"}}},"identifier":{"name":"meta.identifier.swift","match":"(\\B\\$[0-9]+|\\b[\\w^\\d][\\w\\d]*\\b|\\B`[\\w^\\d][\\w\\d]*`\\B)"},"if-statement-keyword":{"name":"keyword.control.if.swift","match":"\\b(if|else)\\b"},"import-declaration":{"name":"meta.import.swift","match":"\\b(import)\\s+(?:(class|var|func)\\s+)?((?:\\B\\$[0-9]+|\\b[\\w^\\d][\\w\\d]*\\b|\\B`[\\w^\\d][\\w\\d]*`\\B|[/=\\-+!*%\u003c\u003e\u0026|\\^~.]+)(?:\\.(?:\\B\\$[0-9]+|\\b[\\w^\\d][\\w\\d]*\\b|\\B`[\\w^\\d][\\w\\d]*`\\B|[/=\\-+!*%\u003c\u003e\u0026|\\^~.]+))*)","captures":{"1":{"name":"keyword.other.import.swift"},"2":{"name":"storage.modifier.swift"},"3":{"name":"support.type.module.import.swift"}}},"in-line-comment":{"name":"comment.line.double-slash.swift","match":"(//).*","captures":{"1":{"name":"punctuation.definition.comment.line.double-slash.swift"}}},"increment-decrement-operator":{"name":"keyword.operator.increment-or-decrement.swift","match":"(?\u003c![/=\\-+!*%\u003c\u003e\u0026|\\^~.])(\\+\\+|\\-\\-)(?![/=\\-+!*%\u003c\u003e\u0026|\\^~.])"},"integer-literal":{"name":"constant.numeric.integer.swift","patterns":[{"name":"constant.numeric.integer.binary.swift","match":"(\\B\\-|\\b)(0b[01][01_]*)\\b"},{"name":"constant.numeric.integer.octal.swift","match":"(\\B\\-|\\b)(0o[0-7][0-7_]*)\\b"},{"name":"constant.numeric.integer.decimal.swift","match":"(\\B\\-|\\b)([0-9][0-9_]*)\\b"},{"name":"constant.numeric.integer.hexadecimal.swift","match":"(\\B\\-|\\b)(0x[[:xdigit:]][[[:xdigit:]]_]*)\\b"}]},"integer-type":{"name":"support.type.swift","match":"\\bU?Int(8|16|32|64)?\\b"},"keyword":{"patterns":[{"include":"#branch-statement-keyword"},{"include":"#control-transfer-statement-keyword"},{"include":"#loop-statement-keyword"},{"include":"#catch-statement-keyword"},{"include":"#operator-declaration-modifier"},{"include":"#declaration-modifier"},{"include":"#access-level-modifier"},{"name":"keyword.declaration.swift","match":"\\b(async|actor|and|class|func|import|let|module|not|or)\\b"},{"name":"keyword.statement.swift","match":"\\b(assert|async|await|break|case|continue|default|debug|debug_show|else|if|in|for|return|switch|while|loop|try|throw|query)\\b"},{"name":"keyword.other.swift","match":"\\b(associativity|didSet|get|infix|inout|left|mutating|none|nonmutating|operator|override|postfix|precedence|prefix|right|set|unowned((un)?safe)?|weak|willSet)\\b"}]},"literal":{"patterns":[{"include":"#integer-literal"},{"include":"#floating-point-literal"},{"include":"#nil-literal"},{"include":"#string-literal"},{"include":"#special-literal"}]},"logical-operator":{"name":"keyword.operator.logical.swift","match":"(?\u003c![/=\\-+!*%\u003c\u003e\u0026|\\^~.])(!|\u0026\u0026|\\|\\|)(?![/=\\-+!*%\u003c\u003e\u0026|\\^~.])"},"loop-statement-keyword":{"name":"keyword.control.loop.swift","match":"\\b(while|repeat|for|in|loop)\\b"},"nil-literal":{"name":"constant.nil.swift","match":"\\bnil\\b"},"operator":{"patterns":[{"include":"#comparative-operator"},{"include":"#assignment-operator"},{"include":"#logical-operator"},{"include":"#remainder-operator"},{"include":"#increment-decrement-operator"},{"include":"#overflow-operator"},{"include":"#range-operator"},{"include":"#bitwise-operator"},{"include":"#arithmetic-operator"},{"include":"#ternary-operator"},{"include":"#type-casting-operator"},{"include":"#custom-operator"}]},"operator-declaration-modifier":{"name":"keyword.other.operator.swift","match":"\\b(operator|prefix|infix|postfix)\\b"},"optional-type":{"name":"meta.optional.swift","match":"\\b(Optional)(\u003c)","end":"(\u003e)","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"support.type.optional.swift"},"2":{"name":"punctuation.optional.begin.swift"}},"endCaptures":{"1":{"name":"punctuation.optional.end.swift"}}},"overflow-operator":{"name":"keyword.operator.overflow.swift","match":"(?\u003c![/=\\-+!*%\u003c\u003e\u0026|\\^~.])\\\u0026(\\+|\\-|\\*|\\/|%)(?![/=\\-+!*%\u003c\u003e\u0026|\\^~.])"},"parameter-clause":{"name":"meta.parameter-clause.swift","begin":"(\\()","end":"(\\))","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"punctuation.definition.function-arguments.begin.swift"}},"endCaptures":{"1":{"name":"punctuation.definition.function-arguments.end.swift"}}},"primitive-type":{"name":"support.type.swift","match":"\\b[A-Z].*?\\b"},"protocol-composition-type":{"name":"meta.protocol.swift","match":"\\b(protocol)(\u003c)","end":"(\u003e)","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"support.type.protocol.swift"},"2":{"name":"punctuation.protocol.begin.swift"}},"endCaptures":{"1":{"name":"punctuation.protocol.end.swift"}}},"range-operator":{"name":"keyword.operator.range.swift","match":"(?\u003c![/=\\-+!*%\u003c\u003e\u0026|\\^~.])\\.\\.(?:\\.)?(?![/=\\-+!*%\u003c\u003e\u0026|\\^~.])"},"remainder-operator":{"name":"keyword.operator.remainder.swift","match":"(?\u003c![/=\\-+!*%\u003c\u003e\u0026|\\^~.])\\%(?![/=\\-+!*%\u003c\u003e\u0026|\\^~.])"},"shebang-line":{"name":"comment.line.shebang.swift","match":"^(#!).*$","captures":{"1":{"name":"punctuation.definition.comment.line.shebang.swift"}}},"special-literal":{"name":"keyword.other.literal.swift","match":"\\b__(FILE|LINE|COLUMN|FUNCTION)__\\b"},"storage-type":{"name":"storage.type.swift","match":"\\b(var|func|let|class|enum)\\b"},"string-literal":{"name":"meta.literal.string.swift","begin":"\\\"","end":"\\\"","patterns":[{"name":"constant.character.escape.swift","match":"\\\\([0tnr\\\"\\'\\\\]|x[[:xdigit:]]{2}|u[[:xdigit:]]{4}|U[[:xdigit:]]{8})"},{"contentName":"meta.expression.swift","begin":"(\\\\\\()","end":"(\\))","patterns":[{"include":"source.swift"}],"beginCaptures":{"1":{"name":"support.punctuation.expression.begin.swift"}},"endCaptures":{"1":{"name":"support.punctuation.expression.end.swift"}}},{"name":"invalid.illegal.swift","match":"(\\\"|\\\\)"},{"name":"string.quoted.double.swift","match":"(.)"}],"beginCaptures":{"0":{"name":"string.quoted.double.swift"}},"endCaptures":{"0":{"name":"string.quoted.double.swift"}}},"switch-statement-keyword":{"name":"keyword.control.switch.swift","match":"\\b(switch|case|default|where)\\b"},"ternary-operator":{"name":"keyword.operator.ternary.swift","match":"(?\u003c=[\\s(\\[{,;:])(\\?|:)(?=[\\s)\\]},;:])"},"type":{"patterns":[{"include":"#primitive-type"},{"include":"#integer-type"},{"include":"#collection-type"},{"include":"#optional-type"},{"include":"#protocol-composition-type"}]},"type-casting-operator":{"name":"keyword.operator.type-casting.swift","match":"\\b(is\\b|as(\\?\\B|\\b))"}}}
1
+ {"name":"Swift","scopeName":"source.mo","patterns":[{"include":"#shebang-line"},{"include":"#comment"},{"include":"#attribute"},{"include":"#literal"},{"include":"#operator"},{"include":"#declaration"},{"include":"#storage-type"},{"include":"#keyword"},{"include":"#type"},{"include":"#boolean"}],"repository":{"access-level-modifier":{"name":"keyword.other.access-level-modifier.swift","match":"\\b(public|system|private)\\b"},"arithmetic-operator":{"name":"keyword.operator.arithmetic.swift","match":"(?\u003c![/=\\-+!*%\u003c\u003e\u0026|\\^~.])(\\+|\\-|\\*|\\/)(?![/=\\-+!*%\u003c\u003e\u0026|\\^~.])"},"array-type":{"name":"meta.array.swift","begin":"\\b(Array)(\u003c)","end":"(\u003e)","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"support.type.array.swift"},"2":{"name":"punctuation.array.begin.swift"}},"endCaptures":{"1":{"name":"punctuation.array.end.swift"}}},"assignment-operator":{"name":"keyword.operator.assignment.swift","match":"(?\u003c![/=\\-+!*%\u003c\u003e\u0026|\\^~.])(\\+|\\-|\\*|\\/|%|\u003c\u003c|\u003e\u003e|\u0026|\\^|\\||\u0026\u0026|\\|\\|)?=(?![/=\\-+!*%\u003c\u003e\u0026|\\^~.])"},"attribute":{"name":"meta.attribute.swift","patterns":[{"contentName":"meta.attribute.arguments.swift","begin":"((@)(\\B\\$[0-9]+|\\b[\\w^\\d][\\w\\d]*\\b|\\B`[\\w^\\d][\\w\\d]*`\\B))(\\()","end":"\\)","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"storage.modifier.attribute.swift"},"2":{"name":"punctuation.definition.attribute.swift"},"3":{"name":"punctuation.definition.attribute-arguments.begin.swift"}},"endCaptures":{"0":{"name":"punctuation.definition.attribute-arguments.end.swift"}}},{"match":"((@)(\\B\\$[0-9]+|\\b[\\w^\\d][\\w\\d]*\\b|\\B`[\\w^\\d][\\w\\d]*`\\B))","captures":{"1":{"name":"storage.modifier.attribute.swift"},"2":{"name":"punctuation.definition.attribute.swift"}}}]},"bitwise-operator":{"name":"keyword.operator.bitwise.swift","match":"(?\u003c![/=\\-+!*%\u003c\u003e\u0026|\\^~.])(\u0026|\\||\\^|\u003c\u003c|\u003e\u003e)(?![/=\\-+!*%\u003c\u003e\u0026|\\^~.])"},"block-comment":{"name":"comment.block.swift","begin":"/\\*","end":"\\*/","beginCaptures":{"0":{"name":"punctuation.definition.comment.block.begin.swift"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.block.end.swift"}}},"boolean":{"name":"keyword.constant.boolean.swift","match":"\\b(true|false)\\b"},"branch-statement-keyword":{"name":"keyword.control.branch.swift","patterns":[{"include":"#if-statement-keyword"},{"include":"#switch-statement-keyword"}]},"catch-statement-keyword":{"name":"kewyord.control.catch.swift","match":"\\b(catch|do)\\b"},"code-block":{"begin":"(\\{)","end":"(\\})","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"punctuation.definition.code-block.begin.swift"}},"endCaptures":{"1":{"name":"punctuation.definition.code-block.end.swift"}}},"collection-type":{"patterns":[{"include":"#array-type"},{"include":"#dictionary-type"},{"name":"support.type.swift","match":"\\b(Array|Dictionary)\\b"}]},"comment":{"patterns":[{"include":"#documentation-comment"},{"include":"#block-comment"},{"include":"#in-line-comment"}]},"comparative-operator":{"name":"keyword.operator.comparative.swift","match":"(?\u003c![/=\\-+!*%\u003c\u003e\u0026|\\^~.])((=|!)==?|(\u003c|\u003e)=?|~=)(?![/=\\-+!*%\u003c\u003e\u0026|\\^~.])"},"control-transfer-statement-keyword":{"name":"keyword.control.transfer.swift","match":"\\b(continue|break|fallthrough|return)\\b"},"custom-operator":{"patterns":[{"name":"keyword.operator.custom.prefix.unary.swift","match":"(?\u003c=[\\s(\\[{,;:])([/=\\-+!*%\u003c\u003e\u0026|\\^~.]++)(?![\\s)\\]},;:])"},{"name":"keyword.operator.custom.postfix.unary.swift","match":"(?\u003c![\\s(\\[{,;:])([/=\\-+!*%\u003c\u003e\u0026|\\^~.]++)(?![\\s)\\]},;:\\.])"},{"name":"keyword.operator.custom.binary.swift","match":"(?\u003c=[\\s(\\[{,;:])([/=\\-+!*%\u003c\u003e\u0026|\\^~.]++)(?=[\\s)\\]},;:])"}]},"declaration":{"name":"meta.declaration.swift","patterns":[{"include":"#import-declaration"},{"include":"#function-declaration"}]},"declaration-modifier":{"name":"keyword.other.declaration-modifier.swift","match":"\\b(class|object|type|shared|convenience|dynamic|final|lazy|(non)?mutating|optional|override|required|static|unowned((un)?safe)?|weak)\\b"},"dictionary-type":{"name":"meta.dictionary.swift","begin":"\\b(Dictionary)(\u003c)","end":"(\u003e)","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"support.type.dictionary.swift"},"2":{"name":"punctuation.dictionary.begin.swift"}},"endCaptures":{"1":{"name":"punctuation.dictionary.end.swift"}}},"documentation-comment":{"name":"comment.block.documentation.swift","begin":"/\\*\\*","end":"\\*/","beginCaptures":{"0":{"name":"punctuation.definition.comment.block.documentation.begin.swift"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.block.documentation.end.swift"}}},"floating-point-literal":{"name":"constant.numeric.floating-point.swift","patterns":[{"match":"\\b([0-9][0-9_]*)(\\.([0-9][0-9_]*))?([eE][+\\-]?([0-9][0-9_]*))?\\b"},{"match":"\\b(0x[[:xdigit:]][[[:xdigit:]]_]*)(\\.(0x[[:xdigit:]][[[:xdigit:]]_]*))?([pP][+\\-]?(0x[[:xdigit:]][[[:xdigit:]]_]*))\\b"}]},"function-body":{"name":"meta.function-body.swift","patterns":[{"include":"#code-block"}]},"function-declaration":{"name":"meta.function-declaration.swift","begin":"\\b(func)\\s+(\\B\\$[0-9]+|\\b[\\w^\\d][\\w\\d]*\\b|\\B`[\\w^\\d][\\w\\d]*`\\B|[/=\\-+!*%\u003c\u003e\u0026|\\^~.]+)\\s*(?=\\(|\u003c)","end":"(?\u003c=\\})","patterns":[{"include":"#generic-parameter-clause"},{"include":"#parameter-clause"},{"include":"#function-result"},{"include":"#function-body"}],"beginCaptures":{"1":{"name":"storage.type.function.swift"},"2":{"name":"entity.type.function.swift"}}},"function-result":{"name":"meta.function-result.swift","begin":"(?\u003c![/=\\-+!*%\u003c\u003e\u0026|\\^~.])(\\-\u003e)(?![/=\\-+!*%\u003c\u003e\u0026|\\^~.])\\s*","end":"\\s*(?=\\{)","patterns":[{"include":"#type"}],"beginCaptures":{"1":{"name":"keyword.operator.function-result.swift"}}},"generic-parameter-clause":{"name":"meta.generic-parameter-clause.swift","begin":"(\u003c)","end":"(\u003e)","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"punctuation.definition.generic-parameter-clause.begin.swift"}},"endCaptures":{"1":{"name":"punctuation.definition.generic-parameter-clause.end.swift"}}},"identifier":{"name":"meta.identifier.swift","match":"(\\B\\$[0-9]+|\\b[\\w^\\d][\\w\\d]*\\b|\\B`[\\w^\\d][\\w\\d]*`\\B)"},"if-statement-keyword":{"name":"keyword.control.if.swift","match":"\\b(if|else)\\b"},"import-declaration":{"name":"meta.import.swift","match":"\\b(import)\\s+(?:(class|var|func)\\s+)?((?:\\B\\$[0-9]+|\\b[\\w^\\d][\\w\\d]*\\b|\\B`[\\w^\\d][\\w\\d]*`\\B|[/=\\-+!*%\u003c\u003e\u0026|\\^~.]+)(?:\\.(?:\\B\\$[0-9]+|\\b[\\w^\\d][\\w\\d]*\\b|\\B`[\\w^\\d][\\w\\d]*`\\B|[/=\\-+!*%\u003c\u003e\u0026|\\^~.]+))*)","captures":{"1":{"name":"keyword.other.import.swift"},"2":{"name":"storage.modifier.swift"},"3":{"name":"support.type.module.import.swift"}}},"in-line-comment":{"name":"comment.line.double-slash.swift","match":"(//).*","captures":{"1":{"name":"punctuation.definition.comment.line.double-slash.swift"}}},"increment-decrement-operator":{"name":"keyword.operator.increment-or-decrement.swift","match":"(?\u003c![/=\\-+!*%\u003c\u003e\u0026|\\^~.])(\\+\\+|\\-\\-)(?![/=\\-+!*%\u003c\u003e\u0026|\\^~.])"},"integer-literal":{"name":"constant.numeric.integer.swift","patterns":[{"name":"constant.numeric.integer.binary.swift","match":"(\\B\\-|\\b)(0b[01][01_]*)\\b"},{"name":"constant.numeric.integer.octal.swift","match":"(\\B\\-|\\b)(0o[0-7][0-7_]*)\\b"},{"name":"constant.numeric.integer.decimal.swift","match":"(\\B\\-|\\b)([0-9][0-9_]*)\\b"},{"name":"constant.numeric.integer.hexadecimal.swift","match":"(\\B\\-|\\b)(0x[[:xdigit:]][[[:xdigit:]]_]*)\\b"}]},"integer-type":{"name":"support.type.swift","match":"\\bU?Int(8|16|32|64)?\\b"},"keyword":{"patterns":[{"include":"#branch-statement-keyword"},{"include":"#control-transfer-statement-keyword"},{"include":"#loop-statement-keyword"},{"include":"#catch-statement-keyword"},{"include":"#operator-declaration-modifier"},{"include":"#declaration-modifier"},{"include":"#access-level-modifier"},{"name":"keyword.declaration.swift","match":"\\b(async|actor|and|class|func|import|let|module|not|or)\\b"},{"name":"keyword.statement.swift","match":"\\b(assert|async|await|break|case|continue|default|debug|debug_show|else|if|ignore|in|for|label|return|switch|while|loop|try|throw)\\b"},{"name":"keyword.other.swift","match":"\\b(flexible|query|stable)\\b"}]},"literal":{"patterns":[{"include":"#integer-literal"},{"include":"#floating-point-literal"},{"include":"#nil-literal"},{"include":"#string-literal"},{"include":"#special-literal"}]},"logical-operator":{"name":"keyword.operator.logical.swift","match":"(?\u003c![/=\\-+!*%\u003c\u003e\u0026|\\^~.])(!|\u0026\u0026|\\|\\|)(?![/=\\-+!*%\u003c\u003e\u0026|\\^~.])"},"loop-statement-keyword":{"name":"keyword.control.loop.swift","match":"\\b(while|repeat|for|in|loop)\\b"},"nil-literal":{"name":"constant.nil.swift","match":"\\bnil\\b"},"operator":{"patterns":[{"include":"#comparative-operator"},{"include":"#assignment-operator"},{"include":"#logical-operator"},{"include":"#remainder-operator"},{"include":"#increment-decrement-operator"},{"include":"#overflow-operator"},{"include":"#range-operator"},{"include":"#bitwise-operator"},{"include":"#arithmetic-operator"},{"include":"#ternary-operator"},{"include":"#type-casting-operator"},{"include":"#custom-operator"}]},"operator-declaration-modifier":{"name":"keyword.other.operator.swift","match":"\\b(operator|prefix|infix|postfix)\\b"},"optional-type":{"name":"meta.optional.swift","match":"\\b(Optional)(\u003c)","end":"(\u003e)","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"support.type.optional.swift"},"2":{"name":"punctuation.optional.begin.swift"}},"endCaptures":{"1":{"name":"punctuation.optional.end.swift"}}},"overflow-operator":{"name":"keyword.operator.overflow.swift","match":"(?\u003c![/=\\-+!*%\u003c\u003e\u0026|\\^~.])\\\u0026(\\+|\\-|\\*|\\/|%)(?![/=\\-+!*%\u003c\u003e\u0026|\\^~.])"},"parameter-clause":{"name":"meta.parameter-clause.swift","begin":"(\\()","end":"(\\))","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"punctuation.definition.function-arguments.begin.swift"}},"endCaptures":{"1":{"name":"punctuation.definition.function-arguments.end.swift"}}},"primitive-type":{"name":"support.type.swift","match":"\\b[A-Z].*?\\b"},"protocol-composition-type":{"name":"meta.protocol.swift","match":"\\b(protocol)(\u003c)","end":"(\u003e)","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"support.type.protocol.swift"},"2":{"name":"punctuation.protocol.begin.swift"}},"endCaptures":{"1":{"name":"punctuation.protocol.end.swift"}}},"range-operator":{"name":"keyword.operator.range.swift","match":"(?\u003c![/=\\-+!*%\u003c\u003e\u0026|\\^~.])\\.\\.(?:\\.)?(?![/=\\-+!*%\u003c\u003e\u0026|\\^~.])"},"remainder-operator":{"name":"keyword.operator.remainder.swift","match":"(?\u003c![/=\\-+!*%\u003c\u003e\u0026|\\^~.])\\%(?![/=\\-+!*%\u003c\u003e\u0026|\\^~.])"},"shebang-line":{"name":"comment.line.shebang.swift","match":"^(#!).*$","captures":{"1":{"name":"punctuation.definition.comment.line.shebang.swift"}}},"special-literal":{"name":"keyword.other.literal.swift","match":"\\b__(FILE|LINE|COLUMN|FUNCTION)__\\b"},"storage-type":{"name":"storage.type.swift","match":"\\b(var|func|let|class|enum)\\b"},"string-literal":{"name":"meta.literal.string.swift","begin":"\\\"","end":"\\\"","patterns":[{"name":"constant.character.escape.swift","match":"\\\\([0tnr\\\"\\'\\\\]|x[[:xdigit:]]{2}|u[[:xdigit:]]{4}|U[[:xdigit:]]{8})"},{"contentName":"meta.expression.swift","begin":"(\\\\\\()","end":"(\\))","patterns":[{"include":"source.swift"}],"beginCaptures":{"1":{"name":"support.punctuation.expression.begin.swift"}},"endCaptures":{"1":{"name":"support.punctuation.expression.end.swift"}}},{"name":"invalid.illegal.swift","match":"(\\\"|\\\\)"},{"name":"string.quoted.double.swift","match":"(.)"}],"beginCaptures":{"0":{"name":"string.quoted.double.swift"}},"endCaptures":{"0":{"name":"string.quoted.double.swift"}}},"switch-statement-keyword":{"name":"keyword.control.switch.swift","match":"\\b(switch|case|default|where)\\b"},"ternary-operator":{"name":"keyword.operator.ternary.swift","match":"(?\u003c=[\\s(\\[{,;:])(\\?|:)(?=[\\s)\\]},;:])"},"type":{"patterns":[{"include":"#primitive-type"},{"include":"#integer-type"},{"include":"#collection-type"},{"include":"#optional-type"},{"include":"#protocol-composition-type"}]},"type-casting-operator":{"name":"keyword.operator.type-casting.swift","match":"\\b(is\\b|as(\\?\\B|\\b))"}}}
@@ -1 +1 @@
1
- {"name":"KiCad Schematic","scopeName":"source.pcb.schematic","patterns":[{"contentName":"source.eagle.pcb.board","begin":"\\A(?=\u003c\\?xml\\s+version=\"[\\d.]+\"\\s)","end":"(?=A)B","patterns":[{"include":"text.xml"}]},{"contentName":"source.scheme","begin":"\\A\\s*(?=;|\\()","end":"(?=A)B","patterns":[{"include":"source.scheme"}]},{"name":"meta.header.pcb.schematic","begin":"^\\s*(EESchema\\s+(?:Schematic|-LIBRARY)\\s+\\S+.*)\\s*$","end":"(?\u003c=\\$EndDescr)(?=\\s|$)","patterns":[{"match":"^\\s*(LIBS(:))\\s*(.+)","captures":{"1":{"name":"variable.assignment.libs.pcb.schematic"},"2":{"name":"punctuation.separator.key-value.pcb.schematic"},"3":{"patterns":[{"name":"punctuation.delimiter.list.comma.pcb.schematic","match":","},{"name":"constant.other.lib-name.pcb.schematic","match":"[^\\s,]+"}]}}},{"name":"meta.eelayer.pcb.schematic","begin":"^\\s*(EELAYER)((?:\\s+[-+]?[\\d.]+)*)\\s*$","end":"^\\s*(EELAYER)\\s+(END)\\s*$","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"entity.name.var.pcb.schematic"},"2":{"patterns":[{"include":"#numbers"}]}},"endCaptures":{"1":{"name":"entity.name.var.pcb.schematic"},"2":{"name":"keyword.control.pcb.schematic"}}},{"name":"meta.description.pcb.schematic","begin":"^\\s*((\\$)Descr)(?=\\s)","end":"^\\s*((\\$)EndDescr)(?=\\s)","patterns":[{"match":"\\G\\s+([A-E][0-9]?)(?=\\s)","captures":{"1":{"name":"constant.language.paper-size.pcb.schematic"}}},{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.control.section.pcb.schematic"},"2":{"name":"punctuation.section.begin.pcb.schematic"}},"endCaptures":{"1":{"name":"keyword.control.section.pcb.schematic"},"2":{"name":"punctuation.section.end.pcb.schematic"}}},{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.control.header.pcb.schematic"}},"endCaptures":{"1":{"name":"keyword.control.header.pcb.schematic"},"2":{"name":"punctuation.definition.header.pcb.schematic"}}},{"name":"meta.bitmap.pcb.schematic","begin":"^\\s*((\\$)Bitmap)\\s*$","end":"^\\s*((\\$)EndBitmap)(?=\\s|$)","patterns":[{"contentName":"string.unquoted.heredoc.bytestream.pcb.schematic","begin":"^\\s*(Data)\\s*$","end":"^\\s*(EndData)\\s*$","patterns":[{"name":"comment.ignored.pcb.schematic","match":"\\s+((\\$)EndBitmap)\\s*$"},{"name":"invalid.illegal.syntax.pcb.schematic","match":"(?\u003c=\\s|^)(?![A-Fa-f0-9]{2}(?:\\s|$))(\\S+)"}],"beginCaptures":{"1":{"name":"keyword.control.data.section.begin.pcb.schematic"}},"endCaptures":{"1":{"name":"keyword.control.data.section.end.pcb.schematic"}}},{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.control.section.pcb.schematic"},"2":{"name":"punctuation.section.begin.pcb.schematic"}},"endCaptures":{"1":{"name":"keyword.control.section.pcb.schematic"},"2":{"name":"punctuation.section.end.pcb.schematic"}}},{"name":"meta.component.${1:/downcase}.pcb.schematic","begin":"^\\s*(DEF|DRAW)(?:\\s+(\\S+)\\s+(.+))?\\s*$","end":"^\\s*(END\\1)(?=\\s|$)","patterns":[{"include":"#params"}],"beginCaptures":{"1":{"name":"storage.type.class.definition.pcb.schematic"},"2":{"name":"entity.name.var.pcb.schematic"},"3":{"patterns":[{"include":"#params"}]}},"endCaptures":{"1":{"name":"storage.type.class.definition.pcb.schematic"}}},{"name":"meta.aliases.pcb.schematic","match":"^\\s*(ALIAS)\\s+(.+)\\s*$","captures":{"1":{"name":"storage.type.class.alias.pcb.schematic"},"2":{"patterns":[{"include":"#quotedString"},{"name":"entity.name.var.pcb.schematic","match":"\\S+"}]}}},{"name":"meta.${3:/downcase}.pcb.schematic","begin":"^\\s*((\\$)([A-Za-z]\\w+))\\s*$","end":"^\\s*((\\$)[Ee]nd\\3)(?=\\s|$)","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.control.section.pcb.schematic"},"2":{"name":"punctuation.section.begin.pcb.schematic"}},"endCaptures":{"1":{"name":"keyword.control.section.pcb.schematic"},"2":{"name":"punctuation.section.end.pcb.schematic"}}},{"name":"meta.wire.pcb.schematic","match":"^\\s*(Wire)\\s+(Wire|Bus|Line)\\s+(Line)\\s*$","captures":{"1":{"name":"entity.name.var.pcb.schematic"},"2":{"name":"entity.name.type.pcb.schematic"},"3":{"name":"constant.language.other.pch.schematic"}}},{"name":"meta.text.pcb.schematic","begin":"^\\s*(Text)\\s+(\\w+)\\s+(.+)\\s+(?:(~)|(\\w+))\\s*$","end":"^\\s*(\\S.*)$","beginCaptures":{"1":{"name":"entity.name.var.pcb.schematic"},"2":{"name":"entity.name.type.pcb.schematic"},"3":{"patterns":[{"include":"$self"}]},"4":{"patterns":[{"include":"#tilde"}]},"5":{"name":"constant.language.other.pch.schematic"}},"endCaptures":{"0":{"name":"string.unquoted.herestring.pcb.schematic"}}},{"begin":"^\\s*([A-Za-z]\\w*)(?=\\s)","end":"$","patterns":[{"include":"#params"}],"beginCaptures":{"1":{"name":"entity.name.var.pcb.schematic"}}},{"include":"#shared"}],"repository":{"comments":{"match":"^\\s*((#).*$)","captures":{"1":{"name":"comment.line.number-sign.pcb.schematic"},"2":{"name":"punctuation.definition.comment.pcb.board"}}},"lowerCaseName":{"name":"variable.parameter.identifier.pcb.schematic","match":"(?\u003c=\\s)[A-Za-z_][-\\w]+(?=\\s|$)"},"numbers":{"patterns":[{"name":"constant.numeric.integer.decimal.pcb.schematic","match":"(?\u003c![-\\w])[-+]?\\d+(?=\\s|$)"},{"name":"constant.numeric.float.decimal.pcb.schematic","match":"(?\u003c![-\\w])[-+]?\\d*\\.\\d+"}]},"params":{"patterns":[{"include":"#upperCaseName"},{"include":"#lowerCaseName"},{"include":"$self"}]},"quotedString":{"name":"string.quoted.double.pcb.schematic","begin":"\"","end":"\"|^|$","patterns":[{"include":"#stringInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.pcb.schematic"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.pcb.schematic"}}},"shared":{"patterns":[{"include":"#comments"},{"include":"#capsConstant"},{"include":"#tilde"},{"include":"#quotedString"},{"include":"#numbers"}]},"tilde":{"name":"keyword.operator.pcb.schematic","match":"~"},"upperCaseName":{"name":"constant.language.other.pcb.schematic","match":"(?\u003c=\\s)([+#])?[A-Z0-9_]+(?:\\s|$)","captures":{"1":{"name":"punctuation.definition.constant.pcb.schematic"}}}}}
1
+ {"name":"KiCad Schematic","scopeName":"source.pcb.schematic","patterns":[{"contentName":"source.eagle.pcb.board","begin":"\\A(?=\u003c\\?xml\\s+version=\"[\\d.]+\"\\s)","end":"(?=A)B","patterns":[{"include":"text.xml"}]},{"contentName":"source.pcb.sexp","begin":"\\A\\s*(?=\\(kicad_sch(?:\\s|$|\\())","end":"(?=A)B","patterns":[{"include":"source.pcb.sexp"}]},{"contentName":"source.scheme","begin":"\\A\\s*(?=;|\\()","end":"(?=A)B","patterns":[{"include":"source.scheme"}]},{"name":"meta.header.pcb.schematic","begin":"^\\s*(EESchema(?:\\s+Schematic|-(?:DOCLIB|LIBRARY))\\s+\\S+.*)\\s*$","end":"(?\u003c=\\$EndDescr)(?=\\s|$)","patterns":[{"match":"^\\s*(LIBS(:))\\s*(.+)","captures":{"1":{"name":"variable.assignment.libs.pcb.schematic"},"2":{"name":"punctuation.separator.key-value.pcb.schematic"},"3":{"patterns":[{"name":"punctuation.delimiter.list.comma.pcb.schematic","match":","},{"name":"constant.other.lib-name.pcb.schematic","match":"[^\\s,]+"}]}}},{"name":"meta.eelayer.pcb.schematic","begin":"^\\s*(EELAYER)((?:\\s+[-+]?[\\d.]+)*)\\s*$","end":"^\\s*(EELAYER)\\s+(END)\\s*$","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"entity.name.var.pcb.schematic"},"2":{"patterns":[{"include":"#numbers"}]}},"endCaptures":{"1":{"name":"entity.name.var.pcb.schematic"},"2":{"name":"keyword.control.pcb.schematic"}}},{"name":"meta.description.pcb.schematic","begin":"^\\s*((\\$)Descr)(?=\\s)","end":"^\\s*((\\$)EndDescr)(?=\\s)","patterns":[{"match":"\\G\\s+([A-E][0-9]?)(?=\\s)","captures":{"1":{"name":"constant.language.paper-size.pcb.schematic"}}},{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.control.section.pcb.schematic"},"2":{"name":"punctuation.section.begin.pcb.schematic"}},"endCaptures":{"1":{"name":"keyword.control.section.pcb.schematic"},"2":{"name":"punctuation.section.end.pcb.schematic"}}},{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.control.header.pcb.schematic"}},"endCaptures":{"1":{"name":"keyword.control.header.pcb.schematic"},"2":{"name":"punctuation.definition.header.pcb.schematic"}}},{"name":"meta.bitmap.pcb.schematic","begin":"^\\s*((\\$)Bitmap)\\s*$","end":"^\\s*((\\$)EndBitmap)(?=\\s|$)","patterns":[{"contentName":"string.unquoted.heredoc.bytestream.pcb.schematic","begin":"^\\s*(Data)\\s*$","end":"^\\s*(EndData)\\s*$","patterns":[{"name":"comment.ignored.pcb.schematic","match":"\\s+((\\$)EndBitmap)\\s*$"},{"name":"invalid.illegal.syntax.pcb.schematic","match":"(?\u003c=\\s|^)(?![A-Fa-f0-9]{2}(?:\\s|$))(\\S+)"}],"beginCaptures":{"1":{"name":"keyword.control.data.section.begin.pcb.schematic"}},"endCaptures":{"1":{"name":"keyword.control.data.section.end.pcb.schematic"}}},{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.control.section.pcb.schematic"},"2":{"name":"punctuation.section.begin.pcb.schematic"}},"endCaptures":{"1":{"name":"keyword.control.section.pcb.schematic"},"2":{"name":"punctuation.section.end.pcb.schematic"}}},{"name":"meta.component.${1:/downcase}.pcb.schematic","begin":"^\\s*(DEF|DRAW)(?:\\s+(\\S+)\\s+(.+))?\\s*$","end":"^\\s*(END\\1)(?=\\s|$)","patterns":[{"include":"#params"}],"beginCaptures":{"1":{"name":"storage.type.class.definition.pcb.schematic"},"2":{"name":"entity.name.var.pcb.schematic"},"3":{"patterns":[{"include":"#params"}]}},"endCaptures":{"1":{"name":"storage.type.class.definition.pcb.schematic"}}},{"name":"meta.aliases.pcb.schematic","match":"^\\s*(ALIAS)\\s+(.+)\\s*$","captures":{"1":{"name":"storage.type.class.alias.pcb.schematic"},"2":{"patterns":[{"include":"#quotedString"},{"name":"entity.name.var.pcb.schematic","match":"\\S+"}]}}},{"name":"meta.${3:/downcase}.pcb.schematic","begin":"^\\s*((\\$)([A-Za-z]\\w+))\\s*$","end":"^\\s*((\\$)[Ee]nd\\3)(?=\\s|$)","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"keyword.control.section.pcb.schematic"},"2":{"name":"punctuation.section.begin.pcb.schematic"}},"endCaptures":{"1":{"name":"keyword.control.section.pcb.schematic"},"2":{"name":"punctuation.section.end.pcb.schematic"}}},{"name":"meta.wire.pcb.schematic","match":"^\\s*(Wire)\\s+(Wire|Bus|Line)\\s+(Line)\\s*$","captures":{"1":{"name":"entity.name.var.pcb.schematic"},"2":{"name":"entity.name.type.pcb.schematic"},"3":{"name":"constant.language.other.pch.schematic"}}},{"name":"meta.text.pcb.schematic","begin":"^\\s*(Text)\\s+(\\w+)\\s+(.+)\\s+(?:(~)|(\\w+))\\s*$","end":"^\\s*(\\S.*)$","beginCaptures":{"1":{"name":"entity.name.var.pcb.schematic"},"2":{"name":"entity.name.type.pcb.schematic"},"3":{"patterns":[{"include":"$self"}]},"4":{"patterns":[{"include":"#tilde"}]},"5":{"name":"constant.language.other.pch.schematic"}},"endCaptures":{"0":{"name":"string.unquoted.herestring.pcb.schematic"}}},{"begin":"^\\s*([A-Za-z]\\w*)(?=\\s)","end":"$","patterns":[{"include":"#params"}],"beginCaptures":{"1":{"name":"entity.name.var.pcb.schematic"}}},{"include":"#shared"}],"repository":{"comments":{"match":"^\\s*((#).*$)","captures":{"1":{"name":"comment.line.number-sign.pcb.schematic"},"2":{"name":"punctuation.definition.comment.pcb.board"}}},"lowerCaseName":{"name":"variable.parameter.identifier.pcb.schematic","match":"(?\u003c=\\s)[A-Za-z_][-\\w]+(?=\\s|$)"},"numbers":{"patterns":[{"name":"constant.numeric.integer.decimal.pcb.schematic","match":"(?\u003c![-\\w])[-+]?\\d+(?=\\s|$)"},{"name":"constant.numeric.float.decimal.pcb.schematic","match":"(?\u003c![-\\w])[-+]?\\d*\\.\\d+"}]},"params":{"patterns":[{"include":"#upperCaseName"},{"include":"#lowerCaseName"},{"include":"$self"}]},"quotedString":{"name":"string.quoted.double.pcb.schematic","begin":"\"","end":"\"|^|$","patterns":[{"include":"source.pcb.sexp#stringInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.pcb.schematic"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.pcb.schematic"}}},"shared":{"patterns":[{"include":"#comments"},{"include":"#tilde"},{"include":"#quotedString"},{"include":"#numbers"}]},"tilde":{"name":"keyword.operator.pcb.schematic","match":"~"},"upperCaseName":{"name":"constant.language.other.pcb.schematic","match":"(?\u003c=\\s)([+#])?[A-Z0-9_]+(?:\\s|$)","captures":{"1":{"name":"punctuation.definition.constant.pcb.schematic"}}}}}
@@ -1 +1 @@
1
- {"name":"KiCad PCB (S-expressions)","scopeName":"source.pcb.sexp","patterns":[{"name":"meta.expression.layers.pcb.sexp","begin":"(\\()\\s*(layers)(?=\\s|$|\\()","end":"\\)","patterns":[{"name":"meta.expression.layer.pcb.sexp","begin":"(\\()\\s*(\\d+)(?:\\s+|(?=$|\\())","end":"\\)","patterns":[{"match":"\\G\\s*(-?(?:(?![\\s\\(\\)])[\\0-\\x7F])+)","captures":{"1":{"name":"entity.name.function.pcb.sexp"}}},{"include":"#shared"}],"beginCaptures":{"1":{"name":"punctuation.section.expression.begin.pcb.sexp"},"2":{"name":"constant.numeric.integer.decimal.pcb.sexp"}},"endCaptures":{"0":{"name":"punctuation.section.expression.end.pcb.sexp"}}},{"include":"#shared"}],"beginCaptures":{"1":{"name":"punctuation.section.expression.begin.pcb.sexp"},"2":{"name":"storage.type.class.layers.pcb.sexp"}},"endCaptures":{"0":{"name":"punctuation.section.expression.end.pcb.sexp"}}},{"name":"meta.expression.comment.pcb.sexp","contentName":"comment.block.expression.pcb.sexp","begin":"(\\()\\s*(comment)(?=\\s|$|\\()","end":"\\)","patterns":[{"begin":"\"","end":"\"|^|$","patterns":[{"include":"#stringInnards"}]}],"beginCaptures":{"1":{"name":"punctuation.section.expression.begin.pcb.sexp"},"2":{"name":"entity.name.function.comment.pcb.sexp"}},"endCaptures":{"0":{"name":"punctuation.section.expression.end.pcb.sexp"}}},{"name":"meta.expression.pcb.sexp","begin":"\\(","end":"\\)","patterns":[{"match":"\\G\\s*(kicad_pcb|module|page_layout|fp_lib_table)(?=\\s|$|\\()","captures":{"1":{"name":"storage.type.class.pcb.sexp"}}},{"match":"\\G\\s*(string_quote)\\s+(\")(?=\\))","captures":{"1":{"name":"entity.name.function.pcb.sexp"},"2":{"name":"constant.character.quote.pcb.sexp"}}},{"match":"\\G\\s*(-?(?:(?![\\s\\(\\)])[\\0-\\x7F])+)","captures":{"1":{"name":"entity.name.function.pcb.sexp"}}},{"include":"#shared"}],"beginCaptures":{"0":{"name":"punctuation.section.expression.begin.pcb.sexp"}},"endCaptures":{"0":{"name":"punctuation.section.expression.end.pcb.sexp"}}}],"repository":{"shared":{"patterns":[{"include":"#values"},{"include":"$self"}]},"stringInnards":{"patterns":[{"name":"constant.character.escape.pcb.sexp","match":"\\\\\\S"},{"name":"invalid.illegal.unclosed.string.pcb.sexp","match":"\\G(?:[^\"\\\\]|\\\\.)+(?=$)"}]},"values":{"patterns":[{"name":"constant.numeric.float.decimal.pcb.sexp","match":"[-+]?\\d*\\.\\d+"},{"name":"constant.numeric.integer.decimal.pcb.sexp","match":"[-+]?\\d+(?=\\s|\\))"},{"name":"constant.numeric.integer.hex.pcb.sexp","match":"0x[A-Fa-f0-9]+(?:_[A-Fa-f0-9]+)*"},{"name":"constant.language.boolean.$1.pcb.sexp","match":"(?\u003c=\\s|\\(|\\))(true|false|yes|no)(?=\\s|\\(|\\))"},{"name":"string.quoted.double.empty.pcb.sexp","match":"(\")(\")","captures":{"1":{"name":"punctuation.definition.string.begin.pcb.sexp"},"2":{"name":"punctuation.definition.string.end.pcb.sexp"}}},{"name":"string.quoted.double.pcb.sexp","begin":"\"","end":"\"|^|$","patterns":[{"include":"#stringInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.pcb.sexp"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.pcb.sexp"}}},{"name":"meta.embedded.source.pcb.sexp","match":"(\\${)([^\\s}\\(\\)]+)(})","captures":{"1":{"name":"punctuation.section.embedded.bracket.curly.begin.pcb.sexp"},"2":{"name":"string.interpolated.embedded.pcb.sexp"},"3":{"name":"punctuation.section.embedded.bracket.curly.end.pcb.sexp"}}},{"name":"variable.parameter.identifier.pcb.sexp","match":"[^\\s\\(\\)]+"}]}}}
1
+ {"name":"KiCad PCB (S-expressions)","scopeName":"source.pcb.sexp","patterns":[{"name":"meta.expression.layers.pcb.sexp","begin":"(\\()\\s*(layers)(?=\\s|$|\\()","end":"\\)","patterns":[{"name":"meta.expression.layer.pcb.sexp","begin":"(\\()\\s*(\\d+)(?:\\s+|(?=$|\\())","end":"\\)","patterns":[{"match":"\\G\\s*(-?(?:(?![\\s\\(\\)])[\\0-\\x7F])+)","captures":{"1":{"name":"entity.name.function.pcb.sexp"}}},{"include":"#shared"}],"beginCaptures":{"1":{"name":"punctuation.section.expression.begin.pcb.sexp"},"2":{"name":"constant.numeric.integer.decimal.pcb.sexp"}},"endCaptures":{"0":{"name":"punctuation.section.expression.end.pcb.sexp"}}},{"include":"#shared"}],"beginCaptures":{"1":{"name":"punctuation.section.expression.begin.pcb.sexp"},"2":{"name":"storage.type.class.layers.pcb.sexp"}},"endCaptures":{"0":{"name":"punctuation.section.expression.end.pcb.sexp"}}},{"name":"meta.expression.comment.pcb.sexp","contentName":"comment.block.expression.pcb.sexp","begin":"(\\()\\s*(comment)(?=\\s|$|\\()","end":"\\)","patterns":[{"begin":"\"","end":"\"|^|$","patterns":[{"include":"#stringInnards"}]}],"beginCaptures":{"1":{"name":"punctuation.section.expression.begin.pcb.sexp"},"2":{"name":"entity.name.function.comment.pcb.sexp"}},"endCaptures":{"0":{"name":"punctuation.section.expression.end.pcb.sexp"}}},{"name":"meta.expression.pcb.sexp","begin":"\\(","end":"\\)","patterns":[{"match":"\\G\\s*(kicad_pcb|kicad_sch|module|page_layout|fp_lib_table|sym_lib_table)(?=\\s|$|\\()","captures":{"1":{"name":"storage.type.class.pcb.sexp"}}},{"match":"\\G\\s*(string_quote)\\s+(\")(?=\\))","captures":{"1":{"name":"entity.name.function.pcb.sexp"},"2":{"name":"constant.character.quote.pcb.sexp"}}},{"match":"\\G\\s*(-?(?:(?![\\s\\(\\)])[\\0-\\x7F])+)","captures":{"1":{"name":"entity.name.function.pcb.sexp"}}},{"include":"#shared"}],"beginCaptures":{"0":{"name":"punctuation.section.expression.begin.pcb.sexp"}},"endCaptures":{"0":{"name":"punctuation.section.expression.end.pcb.sexp"}}}],"repository":{"shared":{"patterns":[{"include":"#values"},{"include":"$self"}]},"stringInnards":{"patterns":[{"name":"constant.character.escape.pcb.sexp","match":"\\\\\\S"},{"name":"invalid.illegal.unclosed.string.pcb.sexp","match":"\\G(?:[^\"\\\\]|\\\\.)+(?=$)"}]},"values":{"patterns":[{"name":"constant.numeric.float.decimal.pcb.sexp","match":"[-+]?\\d*\\.\\d+"},{"name":"constant.numeric.integer.decimal.pcb.sexp","match":"[-+]?\\d+(?=\\s|\\))"},{"name":"constant.numeric.integer.hex.pcb.sexp","match":"0x[A-Fa-f0-9]+(?:_[A-Fa-f0-9]+)*"},{"name":"constant.language.boolean.$1.pcb.sexp","match":"(?\u003c=\\s|\\(|\\))(true|false|yes|no)(?=\\s|\\(|\\))"},{"name":"string.quoted.double.empty.pcb.sexp","match":"(\")(\")","captures":{"1":{"name":"punctuation.definition.string.begin.pcb.sexp"},"2":{"name":"punctuation.definition.string.end.pcb.sexp"}}},{"name":"string.quoted.double.pcb.sexp","begin":"\"","end":"\"|^|$","patterns":[{"include":"#stringInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.pcb.sexp"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.pcb.sexp"}}},{"name":"meta.embedded.source.pcb.sexp","match":"(\\${)([^\\s}\\(\\)]+)(})","captures":{"1":{"name":"punctuation.section.embedded.bracket.curly.begin.pcb.sexp"},"2":{"name":"string.interpolated.embedded.pcb.sexp"},"3":{"name":"punctuation.section.embedded.bracket.curly.end.pcb.sexp"}}},{"name":"variable.parameter.identifier.pcb.sexp","match":"[^\\s\\(\\)]+"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"PLI","scopeName":"source.pli","patterns":[{"name":"constant.numeric.pl1","match":"\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)\\b"},{"name":"comment.block.pl1","contentName":"comment.block.pl1","begin":"\\/\\*","end":"\\*\\/"},{"name":"string.quoted.double.pl1","contentName":"string.quoted.double.pl1","begin":"\"","end":"\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.pl1"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.pl1"}}},{"name":"string.quoted.single.pl1","contentName":"string.quoted.single.pl1","begin":"'","end":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.pl1"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.pl1"}}},{"name":"keyword.pli","match":"(?\u003c![-_a-zA-Z0-9])(?i:ABNORMAL|ABS|ACOS|ACOSF|ADD|ADDBUFF|ADDR|ADDRDATA|ALIAS|ALIGNED|ALL|ALLOC|ALLOCATION|ALLOCN|ALLOCSIZE|ANY|ANYCONDITION|AREA|ASCII|ASIN|ASINF|ASM|ASMTDLI|ASSEMBLER|ASSIGNABLE|ATAN|ATAND|ATANF|ATANH|ATTENTION|ATTN|AUTO|AUTOMATIC|AVAILABLEAREA|BACKWARDS|BASED|BIGENDIAN|BIN|BINARY|BINARYVALUE|BIND|BINVALUE|BIT|BITLOCATION|BKWD|BLKSIZE|BOOL|BUF|BUFFERED|BUFFERS|BUFND|BUFNI|BUFOFF|BUFSP|BUILTIN|BX|BY|BYADDR|BYTE|BYVALUE|B4|CAST|CDS|CEIL|CENTERLEFT|CENTERRIGHT|CENTRELEFT|CENTRERIGHT|CHAR|CHARACTER|CHARG|CHARGRAPHIC|CHARVAL|CHECK|CHECKSTG|CMPAT|COBOL|COL|COLLATE|COLUMN|COMMENT|COMPARE|COMPILEDATE|COMPILETIME|COMPLETION|COMPLEX|COND|CONDITION|CONJG|CONN|CONNECTED|CONSECUTIVE|CONTROLLED|CONV|CONVERSION|COPY|COS|COSD|COSF|COSH|COUNT|COUNTER|CPLN|CPLX|CS|CSTG|CTL|CTLASA|CTL360|CURRENTSIZE|CURRENTSTORAGE|DATA|DATAFIELD|DATE|DATETIME|DAYS|DAYSTODATE|DAYSTOSECS|DB|DCL|DEC|DECIMAL|DEF|DEFINE|DEFINED|DESCRIPTOR|DESCRIPTORS|DFT|DIM|DIMENSION|DIRECT|DIVIDE|DOWNTHRU|EDIT|ELSE|EMPTY|ENDFILE|ENDPAGE|ENTRYADDR|ENV|ENVIRONMENT|EPSILON|ERF|ERFC|ERROR|EVENT|EXCL|EXCLUSIVE|EXIT|EXP|EXPF|EXPONENT|EXPORTS|EXT|EXTERNAL|FB|FBS|FILE|FILEDDINT|FILEDDTEST|FILEDDWORD|FILEID|FILEOPEN|FILEREAD|FILESEEK|FILETELL|FILEWRITE|FINISH|FIRST|FILETELL|FILEWRITE|FINISH|FIRST|FIXED|FIXEDOVERFLOW|FLOAT|FLOOR|FLUSH|FOFL|FORTRAN|FROM|FROMALIEN|FS|GAMMA|GENERIC|GENKEY|GETENV|GO|GRAPHIC|GX|HANDLE|HBOUND|HEX|HEXADEC|HEXIMAGE|HIGH|HUGE|IAND|IEEE|IEOR|IGNORE|IMAG|IN|INDEX|INDEXAREA|INDEXED|INIT|INITIAL|INLINE|INOT|INPUT|INT|INTER|INTERNAL|INTO|IOR|IRRED|IRREDUCIBLE|ISIGNED|ISLL|ISMAIN|ISRL|IUNSIGNED|KEY|KEYED|KEYFROM|KEYLENGTH|KEYLOC|KEYTO|LABEL|LAST|LBOUND|LEFT|LENGTH|LIKE|LIMITED|LINE|LINENO|LINESIZE|LINKAGE|LIST|LITTLEENDIAN|LOCATE|LOCATION|LOG|LOGF|LOGGAMMA|LOG10|LOG10F|LOG2|LOW|LOWERCASE|LOWER2|MACCOL|MACLMAR|MACNAME|MACRMAR|MAIN|MAX|MAXEXP|MAXLENGTH|MEMINDEX|MEMSEARCH|MEMVERIFY|MEMVERIFYR|MESEARCHR|MIN|MINEXP|MOD|MPSTR|MULTIPLY|NAME|NATIVE|NCP|NEW|NOCHARG|NOCHARGRAPHIC|NOCHECK|NOCMPAT|NOCONV|NOCONVERSION|NODESCRIPTOR|NOEXECOPS|NOFIXEDOVERFLOW|NOFOFL|NOINLINE|NOLOCK|NOMAP|NOMAPIN|NOMAPOUT|NONASSIGNABLE|NONCONNECTED|NONNATIVE|NOOFL|NOOVERFLOW|NORESCAN|NORMAL|NOSIZE|NOSTRG|NOSTRINGRANGE|NOSTRINGSIZE|NOSTRZ|NOSUBRG|NOSUBSCRIPTRANGE|NOUFL|NOUNDERFLOW|NOWRITE|NOZDIV|NOZERODIVIDE|OFFSET|OFFSETADD|OFFSETDIFF|OFFSETSUBTRACT|OFFSETVALUE|OFL|OMITTED|ONCHAR|ONCODE|ONCONDCOND|ONCONDID|ONCOUNT|ONFILE|ONGSOURCE|ONKEY|ONLOC|ONSOURCE|ONSUBCODE|ONWCHAR|ONWSOURCE|OPTIONAL|OPTIONS|ORDER|ORDINAL|ORDINALNAME|ORDINALPRED|ORDINALSUCC|OTHER|OTHERWISE|OUTPUT|OVERFLOW|PACKAGENAME|PAGE|PAGENO|PAGESIZE|PARAMETER|PARMSET|PASSWORD|PENDING|PIC|PICTURE|PLACES|POINTER|POINTERADD|POINTERDIFF|POINTERSUBTRACT|POINTERVALUE|POLY|POS|POSITION|PREC|PRECISION|PRED|PRESENT|PRINT|PRIORITY|PROC|PROCEDURENAME|PROD|PTR|PTRADD|PTRVALUE|PUTENV|QUOTE|RADIX|RAISE2|RANDOM|RANGE|RANK|REAL|RECORD|RECSIZE|RECURSIVE|RED|REDUCIBLE|REENTRANT|REFER|REGIONAL|REM|REORDER|REPATTERN|REPEAT|REPLACEBY2|REPLY|REREAD|RESCAN|RESERVED|RESERVES|RESIGNAL|RESPEC|RETCODE|RETURNS|REUSE|REVERSE|RIGHT|ROUND|SAMEKEY|SCALARVARYING|SCALE|SEARCH|SEARCHR|SECS|SECSTODATE|SECSTODAYS|SEQL|SEQUENTIAL|SERIALIZE4|SET|SIGN|SIGNED|SIN|SIND|SINF|SINH|SIS|SIZE|SKIP|SNAP|SOURCEFILE|SOURCELINE|SQRT|SQRTF|STATEMENT|STATIC|STATUS|STG|STMT|STORAGE|STREAM|STRG|STRING|STRINGRANGE|STRINGSIZE|STRUCTURE|STRZ|SUBRG|SUBSCRIPTRANGE|SUBSTR|SUBTRACT|SUCC|SUM|SYSIN|SYSNULL|SYSPARM|SYSPRINT|SYSTEM|SYSVERSION|TALLY|TAN|TAND|TANF|TANH|TASK|THEN|THREADID|TIME|TINY|TITLE|TO|TOTAL|TPK|TPM|TRANSIENT|TRANSLATE|TRANSMIT|TRIM|TRKOFL|TRUNC|TYPE|UFL|UNAL|UNALIGNED|UNALLOCATED|UNBUF|UNBUFFERED|UNDEFINEDFILE|UNDERFLOW|UNDF|UNLOCK|UNSIGNED|UNSPEC|UNTIL|UPDATE|UPPERCASE|UPTHRU|VALID|VALIDDATE|VALUE|VAR|VARGLIST|VARGSIZE|VARIABLE|VARYING|VARYINGZ|VB|VBS|VERIFY|VERIFYR|VS|VSAM|WAIT|WCHAR|WCHARVAL|WEEKDAY|WHEN|WHIGH|WHILE|WIDECHAR|WHEN|WHIGH|WHILE|WIDECHAR|WLOW|XMLCHAR|Y4DATE|Y4JULIAN|Y4YEAR|ZDIV|ZERODIVIDE)(?=\\s+|;|\\(|\\))"},{"name":"support.function.pli","match":"(?:^|\\s+)(?i:PLIASCII|PLICTF|PLICTFHX|PLIDUMP|PLIEBCDIC|PLIFILL|PLIMOVE|PLIOVER|PLIRETC|PLIRETV|PLISAXA|PLISAXB|PLISAXC|PLISRTx|PLITEST)(?=\\s+|;|\\(|\\))"},{"name":"meta.preprocessor.pli","match":"(?:^|\\s+)(?i:%ACTIVATE|%ACT|%INCLUDE|%DECLARE|%DCL|%LIST|%NOLIST|%OPTION|%PAGE|%POP|%PRINT|%NOPRINT|%PROCESS|%PUSH|%REPLACE|%SKIP|%XINCLUDE)(?=\\s+|;|\\(|\\))"},{"name":"meta.preprocessor.pli","match":"(?:^|\\s+)(?i:%[0-9a-zA-Z]*|%[0-9a-zA-Z]*)(?=\\s+|;|:|\\(|\\))"},{"name":"keyword.pli","match":"(?:^|\\s+)(?i:BEGIN|CALL|CLOSE|DECLARE|DEFAULT|DEFINEALIAS|DELAY|DELETE|DISPLAY|DO|END|ENTRY|FETCH|FORMAT|FREE|GET|GOTO|IF|LEAVE|NULL|ON|OPEN|PACKAGE|PROCEDURE|PUT|READ|RELEASE|RETURN|REVERT|REWRITE|SELECT|SIGNAL|STOP|WRITE)(?=\\s+|;|\\(|\\))"}]}
@@ -0,0 +1 @@
1
+ {"name":"PNLGRP","scopeName":"source.pnlgrp","patterns":[{"include":"#comments"},{"include":"#symbols"},{"include":"#tags"}],"repository":{"comments":{"patterns":[{"name":"comment.line.pnlgrp","begin":"^(\\.\\*).*","end":"\n"}]},"symbols":{"patterns":[{"name":"support.function.pnlgrp","match":"(?i)(\u0026(AMP|COLON|CONT|MSG\\(.*\\)|PERIOD|SLR)\\.?)"}]},"tags":{"patterns":[{"name":"keyword.other.pnlgrp.help","begin":"(?i)(?\u003c=(:(HELP)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.help","match":"(?i)\\b(:(HELP)[ ])"},{"name":"support.function.pnlgrp.help.attribute.name","match":"(?i)\\b(NAME|WIDTH|DEPTH)[=]"},{"name":"support.variable.pnlgrp.help.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32}|\\*)['])"}]},{"name":"keyword.other.pnlgrp.import","begin":"(?i)(?\u003c=(:(IMPORT)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.import","match":"(?i)\\b(:(IMPORT)[ ])"},{"name":"support.function.pnlgrp.import.attribute.name","match":"(?i)\\b(NEWNAME|NAME|PNLGRP|PRDLIB)[=]"},{"name":"support.variable.pnlgrp.import.attribute.value","match":"(?i)([A-Z0-9]{1,32}|[']([A-Z0-9_\\/]{1,32}|\\*)['])"}]},{"name":"keyword.other.pnlgrp.isch","begin":"(?i)(?\u003c=(:(ISCH)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.isch","match":"(?i)\\b(:(ISCH)[ ])"},{"name":"support.function.pnlgrp.isch.attribute.name","match":"(?i)\\b(ROOTS)[=]"},{"name":"support.variable.pnlgrp.isch.attribute.value","match":"(?i)(['](([A-Z0-9]{1,20}[ ]*){1,50})['])"}]},{"name":"keyword.other.pnlgrp.ischsubt","begin":"(?i)(?\u003c=(:(ISCHSUBT)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.ischsubt","match":"(?i)\\b(:(ISCHSUBT)[ ])"},{"name":"support.function.pnlgrp.ischsubt.attribute.name","match":"(?i)\\b(TOPICS)[=]"},{"name":"support.variable.pnlgrp.ischsubt.attribute.value","match":"(?i)(['](([A-Z0-9_\\/]{1,32}[ ]*){1,16})['])"}]},{"name":"keyword.other.pnlgrp.ischsyn","begin":"(?i)(?\u003c=(:(ISCHSYN)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.ischsyn","match":"(?i)\\b(:(ISCHSYN)[ ])"},{"name":"support.function.pnlgrp.ischsyn.attribute.name","match":"(?i)\\b(ROOT)[=]"},{"name":"support.variable.pnlgrp.ischsyn.attribute.value","match":"(?i)(['](([A-Z0-9]{1,20}){1})['])"}]},{"name":"keyword.other.pnlgrp.link","begin":"(?i)(?\u003c=(:(LINK)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.link","match":"(?i)\\b(:(LINK)[ ])"},{"name":"support.function.pnlgrp.link.attribute.name","match":"(?i)\\b(PERFORM|UNLESS[1-4]|THENDO[1-4]|LINKWHEN)[=]"},{"name":"support.variable.pnlgrp.link.attribute.value","match":"(?i)'((DSPHELP ([A-Z0-9_/]{1,32})([ ]+[A-Z][A-Z0-9@#$]{0,9}/[A-Z][A-Z0-9@#$]{0,9}([ ]+[A-Z][A-Z0-9@#$]{0,9})?)?)|(CHKOBJ\\(\"[A-Z][A-Z0-9@#$]{0,9}\",\"\\*[A-Z]{0,9}\"(,\"(\\*(CHANGE|ALL|USE|EXCLUDE|AUTLMGT)|(\\*(OBJEXIST|OBJMGT|OBJOPR|OBJALTER|OBJREF|ADD|DLT|READ|UPD|EXECUTE)[ ]*){1,7})?\")\\))|(CHKPGM\\(\"(\\*LIBL/|[A-Z][A-Z0-9@#$]{0,9}/)?[A-Z][A-Z0-9@#$]{0,9}\"\\))|(CHKUSRCLS\\(\\*(SECOFR|SECADM|PGMR|SYSOPR|USER)\\)))'"}]},{"name":"keyword.other.pnlgrp.list","begin":"(?i)(?\u003c=(:(DL|OL|SL|UL)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.list","match":"(?i)\\b(:(DL|OL|SL|UL)[ ])"},{"name":"support.function.pnlgrp.list.attribute.name","match":"(?i)\\b(COMPACT)"}]},{"name":"keyword.other.pnlgrp.pk","begin":"(?i)(?\u003c=(:(PK)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.pk.attribute.name","match":"(?i)\\b(DEF)"}]},{"name":"keyword.other.pnlgrp.pnlgrp","begin":"(?i)(?\u003c=(:(PNLGRP)[ ]))","end":"\\.","patterns":[{"name":"support.function.pnlgrp.pnlgrp","match":"(?i)\\b(:(PNLGRP)[ ])"},{"name":"support.function.pnlgrp.pnlgrp.attribute.name","match":"(?i)\\b(SCHIDX|ENBGUI|TXTMODE|TXTCHRID|BIDI|NBRSHAPE|DFTMSGF|SUBMSGF)[=]"},{"name":"support.variable.pnlgrp.pnlgrp.attribute.value","match":"(?i)(([A-Z][A-Z0-9#@$]{1,9}/[A-Z][A-Z0-9#@$]{1,9})|NONE|NO|YES|SBCS|DBCS|LTR|RTL|ARABIC|HINDI|('[0-9]{2,5}'))"}]},{"name":"keyword.other.pnlgrp","match":"(?i)(:(XMP|XH[1-4]|VARRCD|VAR|UL|TTROW|TT|TOPINST|TL|TI|TEXT|SL|RT|PV|PT|PT|PRTTRAIL|PRTPNL|PRTHEAD|PNLGRP).?)"},{"name":"keyword.other.pnlgrp","match":"(?i)(:(PK|PDFLDC|PDFLD|PDACCEL|PD|PC|PARML|PANEL|P|OPTLINE|OL|NT|NOTE|MENUI|MENUGRP|MENU|MBARC|MBAR|LP).?)"},{"name":"keyword.other.pnlgrp","match":"(?i)(:(LISTVIEW|LISTGRP|LISTDEF|LISTCOL|LISTACT|LIST|LINK|LINES|LI|KEYL|KEYI|ISCHSYN|ISCHSUBT|ISCH|INFO).?)"},{"name":"keyword.other.pnlgrp","match":"(?i)(:(IMPORT|IMHELP|HP[0-9]|HELP|H[1-4]|FIG|EXMP|EUL|ETT|ETL|ESL|ERT|EPV|EPT|EPRTPNL|EPRTHEAD|EPNLGRP|EPK).?)"},{"name":"keyword.other.pnlgrp","match":"(?i)(:(EPDFLD|EPARML|EPANEL|EOL|ENT|ENOTE|EMENUGRP|EMENU|EMBARC|EMBAR|ELISTGRP|ELIST|ELINK|ELINES|EKEYL|EINFO).?)"},{"name":"keyword.other.pnlgrp","match":"(?i)(:(EHP[0-9]|EHELP|EFIG|EDL|EDATAGRP|EDATA|ECLASS|ECIT|DTHD|DT|DL|DDHD|DD|DATASLTC|DATASLT|DATAIX|DATAI).?)"},{"name":"keyword.other.pnlgrp","match":"(?i)(:(DATAGRP|DATACOL|DATAC|DATA|COPYR|COND|CMDLINE|CLASS|CIT|CHECK|BOTINST|APPFMT).?)"}]}}}
@@ -1 +1 @@
1
- {"name":"Pony","scopeName":"source.pony","patterns":[{"include":"#block-comments"},{"include":"#line-comments"},{"include":"#typedeclarations"},{"include":"#methoddeclarations"},{"include":"#keywords"},{"include":"#constants"},{"include":"#identifiers"},{"include":"#strings"}],"repository":{"block-comments":{"name":"comment.block.pony","begin":"/\\*","end":"\\*/","patterns":[{"include":"#block-comments"}]},"constants":{"patterns":[{"name":"constant.other.pony","match":"\\b(this)\\b"},{"name":"constant.language.pony","match":"\\b(true|false)\\b"},{"name":"constant.numeric.pony","match":"\\b((0b[0-1_]*)|(0x[0-9a-fA-F_]*)|([0-9][0-9_]*(\\.[0-9][0-9_]*)?((e|E)(\\+|-)?[0-9_]+)?))\\b"}]},"identifiers":{"patterns":[{"match":"\\b([_a-z][_a-zA-Z0-9]*)\\b(\\(|\\[)","captures":{"1":{"name":"support.function.pony"}}},{"match":"\\.\\s*([_a-z][_a-zA-Z0-9]*)\\b[^\\(\\[]","captures":{"1":{"name":"variable.parameter.pony"}}},{"match":"@\\s*([_a-zA-z][_a-zA-Z0-9]*)\\s*(\\(|\\[)","captures":{"1":{"name":"support.function.pony"}}},{"name":"entity.name.class.pony","match":"\\b(_*[A-Z][_a-zA-Z0-9]*)\\b"},{"match":"\\b(_*[a-z][_a-zA-Z0-9']*)"}]},"keywords":{"patterns":[{"name":"keyword.other.intrinsic.pony","match":"\\b(compile_intrinsic|compile_error)\\b"},{"name":"keyword.other.import.pony","match":"\\b(use)\\b"},{"name":"keyword.other.declaration.pony","match":"\\b(var|let|embed|delegate)\\b"},{"name":"entity.other.attribute-name.pony","match":"\\b(iso|trn|ref|val|box|tag)\\b"},{"name":"keyword.control.jump.pony","match":"\\b(break|continue|return|error)\\b"},{"name":"keyword.control.pony","match":"\\b(if|ifdef|then|elseif|else|end|match|where|try|with|as|recover|consume|object|digestof)\\b"},{"name":"keyword.control.loop.pony","match":"\\b(while|do|repeat|until|for|in)\\b"},{"match":"(\\?|[-=]\u003e)"},{"match":"(\\-|\\+|\\*|/(?![/*])|%|\u003c\u003c|\u003e\u003e)"},{"match":"(==|!=|\u003c=|\u003e=|\u003c|\u003e)"},{"match":"\\b(is|isnt|not|and|or|xor)\\b"},{"match":"="},{"match":"(\\||\\\u0026|\\,|\\^)"}]},"line-comments":{"name":"comment.line.double-slash.pony","begin":"//","end":"\\n"},"methoddeclarations":{"match":"\\b(new|be|fun)\\s+(iso|trn|ref|val|box|tag)?\\b\\s*([_a-z][_a-zA-Z0-9]*)","captures":{"1":{"name":"keyword.declaration.pony"},"2":{"name":"keyword.other.capability.pony"},"3":{"name":"entity.name.function.pony"}}},"strings":{"patterns":[{"name":"constant.character.pony","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.pony","match":"\\\\(?:[abfnrtv\\\\\"0]|x[0-9A-Fa-f]{2})"},{"name":"invalid.illegal.pony","match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.character.begin.pony"}},"endCaptures":{"0":{"name":"punctuation.definition.character.end.pony"}}},{"name":"variable.parameter.pony","begin":"\"\"\"","end":"\"\"\"(?!\")","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.pony"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.pony"}}},{"name":"string.quoted.double.pony","begin":"\"","end":"\"","patterns":[{"name":"constant.string.escape.pony","match":"\\\\(?:[abfnrtv\\\\\"0]|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{6})"},{"name":"invalid.illegal.pony","match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.pony"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.pony"}}}]},"typedeclarations":{"match":"\\b(type|interface|trait|primitive|struct|class|actor)\\s+(iso|trn|ref|val|box|tag)?@?\\s*([_A-Z][_a-zA-Z0-9]*)","captures":{"1":{"name":"keyword.declaration.pony"},"2":{"name":"keyword.other.capability.pony"},"3":{"name":"entity.name.type.pony"}}}}}
1
+ {"name":"Pony","scopeName":"source.pony","patterns":[{"include":"#block-comments"},{"include":"#line-comments"},{"include":"#typedeclarations"},{"include":"#methoddeclarations"},{"include":"#keywords"},{"include":"#constants"},{"include":"#identifiers"},{"include":"#strings"}],"repository":{"block-comments":{"name":"comment.block.pony","begin":"/\\*","end":"\\*/","patterns":[{"include":"#block-comments"}]},"constants":{"patterns":[{"name":"constant.other.pony","match":"\\b(this)\\b"},{"name":"constant.language.pony","match":"\\b(true|false)\\b"},{"name":"constant.numeric.pony","match":"\\b((0b[0-1_]*)|(0x[0-9a-fA-F_]*)|([0-9][0-9_]*(\\.[0-9][0-9_]*)?((e|E)(\\+|-)?[0-9_]+)?))\\b"}]},"identifiers":{"patterns":[{"match":"\\b([_a-z][_a-zA-Z0-9]*)\\b(\\(|\\[)","captures":{"1":{"name":"support.function.pony"}}},{"match":"\\.\\s*([_a-z][_a-zA-Z0-9]*)\\b[^\\(\\[]","captures":{"1":{"name":"variable.parameter.pony"}}},{"match":"@\\s*([_a-zA-z][_a-zA-Z0-9]*)\\s*(\\(|\\[)","captures":{"1":{"name":"support.function.pony"}}},{"name":"entity.name.class.pony","match":"\\b(_*[A-Z][_a-zA-Z0-9]*)\\b"},{"match":"\\b(_*[a-z][_a-zA-Z0-9']*)"}]},"keywords":{"patterns":[{"name":"keyword.other.intrinsic.pony","match":"\\b(compile_intrinsic|compile_error)\\b"},{"name":"keyword.other.import.pony","match":"\\b(use)\\b"},{"name":"keyword.other.declaration.pony","match":"\\b(var|let|embed|delegate)\\b"},{"name":"entity.other.attribute-name.pony","match":"\\b(iso|trn|ref|val|box|tag)\\b"},{"name":"keyword.control.jump.pony","match":"\\b(break|continue|return|error)\\b"},{"name":"keyword.control.pony","match":"\\b(if|ifdef|then|elseif|else|end|match|where|try|with|as|recover|consume|object|digestof)\\b"},{"name":"keyword.control.loop.pony","match":"\\b(while|do|repeat|until|for|in)\\b"},{"match":"(\\?|[-=]\u003e)"},{"match":"(\\-|\\+|\\*|/(?![/*])|%|\u003c\u003c|\u003e\u003e)"},{"match":"(==|!=|\u003c=|\u003e=|\u003c|\u003e)"},{"match":"\\b(is|isnt|not|and|or|xor)\\b"},{"match":"="},{"match":"(\\||\\\u0026|\\,|\\^)"}]},"line-comments":{"name":"comment.line.double-slash.pony","begin":"//","end":"\\n"},"methoddeclarations":{"match":"\\b(new|be|fun)\\s+(\\\\[_a-z][_a-zA-Z0-9]*\\\\)?\\s*(iso|trn|ref|val|box|tag)?\\b\\s*([_a-z][_a-zA-Z0-9]*)","captures":{"1":{"name":"keyword.declaration.pony"},"2":{"name":"support.other.annotation.pony"},"3":{"name":"keyword.other.capability.pony"},"4":{"name":"entity.name.function.pony"}}},"strings":{"patterns":[{"name":"constant.character.pony","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.pony","match":"\\\\(?:[abfnrtv\\\\\"0]|x[0-9A-Fa-f]{2})"},{"name":"invalid.illegal.pony","match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.character.begin.pony"}},"endCaptures":{"0":{"name":"punctuation.definition.character.end.pony"}}},{"name":"variable.parameter.pony","begin":"\"\"\"","end":"\"\"\"(?!\")","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.pony"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.pony"}}},{"name":"string.quoted.double.pony","begin":"\"","end":"\"","patterns":[{"name":"constant.string.escape.pony","match":"\\\\(?:[abfnrtv\\\\\"0]|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{6})"},{"name":"invalid.illegal.pony","match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.pony"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.pony"}}}]},"typedeclarations":{"match":"\\b(type|interface|trait|primitive|struct|class|actor)\\s+(\\\\[_a-z][_a-zA-Z0-9]*\\\\)?\\s*(iso|trn|ref|val|box|tag)?@?\\s*([_A-Z][_a-zA-Z0-9]*)","captures":{"1":{"name":"keyword.declaration.pony"},"2":{"name":"support.other.annotation.pony"},"3":{"name":"keyword.other.capability.pony"},"4":{"name":"entity.name.type.pony"}}}}}
@@ -0,0 +1 @@
1
+ {"name":"Portugol","scopeName":"source.portugol","patterns":[{"name":"comment.block.portugol","begin":"/\\*","end":"\\*/"},{"name":"comment.double-slash.portugol","match":"//.*"},{"name":"string.quoted.double.portugol","begin":"\"","end":"\""},{"name":"string.quoted.single.portugol","begin":"'","end":"'"},{"name":"keyword.control.portugol","match":"\\b(para|caso|continue|senao|para|se|escolha|enquanto|e|ou)\\b"},{"name":"keyword.other.portugol","match":"\\b(inclua|biblioteca|programa)\\b"},{"name":"keyword.operator.new.portugol","match":"\\b(=|!|\u003c|\u003e|\u0026|\\+|raiz|sen|cos|mod|div|-|\\^|\\*|\\/|\\|)\\b"},{"name":"constant.numeric.portugol","match":"\\b(\\d+|\\d+.?(f)?)\\b"},{"name":"constant.rgb-value.portugol","match":"(#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b(?!.*?(?\u003c!@){)"},{"name":"constant.language.portugol","match":"\\b(falso|NULL|verdadeiro)\\b"},{"name":"storage.type.portugol","match":"\\b(enum|struct|state|array)\\b"},{"name":"variable.language.portugol","match":"\\b(this|parent|super)\\b"},{"begin":"(funcao)\\s*(\\/\\*.*\\*\\/)?\\s*(\\w+)\\s*\\(","end":"\\)(\\s*:\\s*(array\\s*\u003c\\s*\\w+\\s*\u003e|\\w*))?","patterns":[{"match":"\\s*(out|optional)?\\s*(\\w+)\\s*:\\s*(array\\s*\u003c\\s*\\w+\\s*\u003e|\\w*|),?","captures":{"1":{"name":"keyword.other.portugol"},"2":{"name":"support.variable.portugol"},"3":{"patterns":[{"include":"#witcherscript-var-types"}]}}}],"beginCaptures":{"1":{"name":"support.type.portugol"},"2":{"name":"comment.block.portugol"},"3":{"name":"support.function.portugol"}},"endCaptures":{"2":{"patterns":[{"include":"#witcherscript-var-types"}]}}},{"begin":"\\b(variavel)\\b\\s*","end":":\\s*(array\\s*\u003c\\s*\\w+\\s*\u003e|\\w*)\\s*;","patterns":[{"name":"support.variable.portugol","match":"(\\w+)\\s*,?"}],"beginCaptures":{"1":{"name":"storage.type.portugol"}},"endCaptures":{"1":{"patterns":[{"include":"#witcherscript-var-types"}]}}},{"match":"(default)\\s*(\\w+)","captures":{"1":{"name":"keyword.control.portugol"},"2":{"name":"support.variable"}}},{"match":"(escreva|leia)\\s*(\\w*)","captures":{"1":{"name":"keyword.other.portugol"},"2":{"name":"support.class.portugol"}}},{"match":"\\(\\s*(\\s*[A-Z]\\w+\\s*)\\s*\\)\\s*\\(","captures":{"1":{"name":"support.class.portugol"}}},{"match":"\\(\\s*\\(\\s*([A-Z]\\w+)\\s*\\)","captures":{"1":{"name":"support.class.portugol"}}},{"match":"(novo|nova)\\s*(\\w+)\\s*(in)\\s*(this)","captures":{"1":{"name":"variable.language.portugol"},"2":{"name":"support.class.portugol"},"3":{"name":"variable.language.portugol"},"4":{"name":"variable.language.portugol"}}},{"include":"#witcherscript-data-types"}],"repository":{"witcherscript-data-types":{"patterns":[{"name":"storage.type.portugol","match":"\\b(cadeia|inteiro|caractere|logico|real)\\b"}]},"witcherscript-object-types":{"patterns":[{"name":"support.class.portugol","match":"[A-Z]\\w+"}]},"witcherscript-var-types":{"patterns":[{"include":"#witcherscript-object-types"},{"match":"(array)\\s*\u003c\\s*(\\w+)\\s*\u003e","captures":{"1":{"name":"storage.type.portugol"},"2":{"patterns":[{"include":"#witcherscript-object-types"},{"include":"#witcherscript-data-types"}]}}},{"include":"#witcherscript-data-types"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"Procfile","scopeName":"source.procfile","patterns":[{"include":"#process"},{"include":"#ignored"}],"repository":{"ignored":{"name":"comment.line.procfile","match":"^(?![\\w-]+:).*$"},"process":{"contentName":"meta.function.procfile","begin":"^(?=[\\w-]+:)","end":"$","patterns":[{"contentName":"support.function.procfile","begin":"^(?=[\\w-]+:)","end":"(?\u003c=:)","patterns":[{"name":"keyword.heroku.procfile","match":"^(web|release)(?=:)"},{"name":"entity.name.function.procfile","match":"^[\\w-]+(?=:)"},{"name":"punctuation.separator.colon.procfile","match":"(?\u003c=[\\w-]):"}]},{"name":"meta.embedded.line.shell","begin":"(?\u003c=[\\w-]:)","end":"$","patterns":[{"include":"source.shell"}]}]}}}
@@ -1 +1 @@
1
- {"name":"Protocol Buffer 3","scopeName":"source.proto","patterns":[{"include":"#comments"},{"include":"#syntax"},{"include":"#package"},{"include":"#import"},{"include":"#optionStmt"},{"include":"#message"},{"include":"#enum"},{"include":"#service"}],"repository":{"comments":{"patterns":[{"name":"comment.block.proto","begin":"/\\*","end":"\\*/"},{"name":"comment.line.double-slash.proto","begin":"//","end":"$\\n?"}]},"constants":{"name":"constant.language.proto","match":"\\b(true|false|max|[A-Z_]+)\\b"},"enum":{"begin":"(enum)(\\s+)([A-Za-z][A-Za-z0-9_]*)(\\s*)(\\{)?","end":"\\}","patterns":[{"include":"#reserved"},{"include":"#optionStmt"},{"include":"#comments"},{"begin":"([A-Za-z][A-Za-z0-9_]*)\\s*=\\s*(0[xX][0-9a-fA-F]+|[0-9]+)","end":";","patterns":[{"include":"#fieldOptions"}],"beginCaptures":{"1":{"name":"variable.other.proto"},"2":{"name":"constant.numeric.proto"}}}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"3":{"name":"entity.name.class.proto"}}},"field":{"begin":"\\s*(optional|repeated|required)?\\s*\\b([\\w.]+)\\s+(\\w+)\\s*=\\s*(0[xX][0-9a-fA-F]+|[0-9]+)","end":";","patterns":[{"include":"#fieldOptions"}],"beginCaptures":{"1":{"name":"storage.modifier.proto"},"2":{"name":"storage.type.proto"},"3":{"name":"variable.other.proto"},"4":{"name":"constant.numeric.proto"}}},"fieldOptions":{"begin":"\\[","end":"\\]","patterns":[{"include":"#constants"},{"include":"#number"},{"include":"#string"},{"include":"#subMsgOption"},{"include":"#optionName"}]},"ident":{"name":"entity.name.class.proto","match":"[A-Za-z][A-Za-z0-9_]*"},"import":{"match":"\\s*(import)\\s+(weak|public)?\\s*(\"[^\"]+\")\\s*;","captures":{"1":{"name":"keyword.other.proto"},"2":{"name":"keyword.other.proto"},"3":{"name":"string.quoted.double.proto.import"}}},"kv":{"begin":"(\\w+)\\s*:","end":";|,|(?=[}/_a-zA-Z])","patterns":[{"include":"#constants"},{"include":"#number"},{"include":"#string"},{"include":"#subMsgOption"}],"beginCaptures":{"1":{"name":"keyword.other.proto"}}},"mapfield":{"begin":"\\s*(map)\\s*\u003c\\s*([\\w.]+)\\s*,\\s*([\\w.]+)\\s*\u003e\\s+(\\w+)\\s*=\\s*(\\d+)","end":";","patterns":[{"include":"#fieldOptions"}],"beginCaptures":{"1":{"name":"storage.type.proto"},"2":{"name":"storage.type.proto"},"3":{"name":"storage.type.proto"},"4":{"name":"variable.other.proto"},"5":{"name":"constant.numeric.proto"}}},"message":{"begin":"(message|extend)(\\s+)([A-Za-z_][A-Za-z0-9_.]*)(\\s*)(\\{)?","end":"\\}","patterns":[{"include":"#reserved"},{"include":"$self"},{"include":"#enum"},{"include":"#optionStmt"},{"include":"#comments"},{"include":"#oneof"},{"include":"#field"},{"include":"#mapfield"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"3":{"name":"entity.name.class.message.proto"}}},"method":{"begin":"(rpc)\\s+([A-Za-z][A-Za-z0-9_]*)","end":"\\}|;","patterns":[{"include":"#comments"},{"include":"#optionStmt"},{"include":"#rpcKeywords"},{"include":"#ident"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"2":{"name":"entity.name.function"}}},"number":{"name":"constant.numeric.proto","match":"\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)\\b"},"oneof":{"begin":"(oneof)\\s+([A-Za-z][A-Za-z0-9_]*)\\s*\\{?","end":"\\}","patterns":[{"include":"#optionStmt"},{"include":"#comments"},{"include":"#field"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"2":{"name":"variable.other.proto"}}},"optionName":{"match":"(\\w+|\\(\\w+(\\.\\w+)*\\))(\\.\\w+)*","captures":{"1":{"name":"support.other.proto"},"2":{"name":"support.other.proto"},"3":{"name":"support.other.proto"}}},"optionStmt":{"begin":"(option)\\s+(\\w+|\\(\\w+(\\.\\w+)*\\))(\\.\\w+)*\\s*=","end":";","patterns":[{"include":"#constants"},{"include":"#number"},{"include":"#string"},{"include":"#subMsgOption"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"2":{"name":"support.other.proto"},"3":{"name":"support.other.proto"},"4":{"name":"support.other.proto"}}},"package":{"match":"\\s*(package)\\s+([\\w.]+)\\s*;","captures":{"1":{"name":"keyword.other.proto"},"2":{"name":"string.unquoted.proto.package"}}},"reserved":{"begin":"(reserved)\\s+","end":";","patterns":[{"match":"(\\d+)(\\s+(to)\\s+(\\d+))?","captures":{"1":{"name":"constant.numeric.proto"},"3":{"name":"keyword.other.proto"},"4":{"name":"constant.numeric.proto"}}},{"include":"#string"}],"beginCaptures":{"1":{"name":"keyword.other.proto"}}},"rpcKeywords":{"name":"keyword.other.proto","match":"\\b(stream|returns)\\b"},"service":{"begin":"(service)\\s+([A-Za-z][A-Za-z0-9_.]*)\\s*\\{?","end":"\\}","patterns":[{"include":"#comments"},{"include":"#optionStmt"},{"include":"#method"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"2":{"name":"entity.name.class.message.proto"}}},"storagetypes":{"name":"storage.type.proto","match":"\\b(double|float|int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string|bytes)\\b"},"string":{"name":"string.quoted.double.proto","match":"('([^']|\\')*')|(\"([^\"]|\\\")*\")"},"subMsgOption":{"begin":"\\{","end":"\\}","patterns":[{"include":"#kv"},{"include":"#comments"}]},"syntax":{"match":"\\s*(syntax)\\s*=\\s*(\"proto[23]\")\\s*;","captures":{"1":{"name":"keyword.other.proto"},"2":{"name":"string.quoted.double.proto.syntax"}}}}}
1
+ {"name":"Protocol Buffer 3","scopeName":"source.proto","patterns":[{"include":"#comments"},{"include":"#syntax"},{"include":"#package"},{"include":"#import"},{"include":"#optionStmt"},{"include":"#message"},{"include":"#enum"},{"include":"#service"}],"repository":{"comments":{"patterns":[{"name":"comment.block.proto","begin":"/\\*","end":"\\*/"},{"name":"comment.line.double-slash.proto","begin":"//","end":"$\\n?"}]},"constants":{"name":"constant.language.proto","match":"\\b(true|false|max|[A-Z_]+)\\b"},"enum":{"begin":"(enum)(\\s+)([A-Za-z][A-Za-z0-9_]*)(\\s*)(\\{)?","end":"\\}","patterns":[{"include":"#reserved"},{"include":"#optionStmt"},{"include":"#comments"},{"begin":"([A-Za-z][A-Za-z0-9_]*)\\s*(=)\\s*(0[xX][0-9a-fA-F]+|[0-9]+)","end":"(;)","patterns":[{"include":"#fieldOptions"}],"beginCaptures":{"1":{"name":"variable.other.proto"},"2":{"name":"keyword.operator.assignment.proto"},"3":{"name":"constant.numeric.proto"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"3":{"name":"entity.name.class.proto"}}},"field":{"begin":"\\s*(optional|repeated|required)?\\s*\\b([\\w.]+)\\s+(\\w+)\\s*(=)\\s*(0[xX][0-9a-fA-F]+|[0-9]+)","end":"(;)","patterns":[{"include":"#fieldOptions"}],"beginCaptures":{"1":{"name":"storage.modifier.proto"},"2":{"name":"storage.type.proto"},"3":{"name":"variable.other.proto"},"4":{"name":"keyword.operator.assignment.proto"},"5":{"name":"constant.numeric.proto"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}},"fieldOptions":{"begin":"\\[","end":"\\]","patterns":[{"include":"#constants"},{"include":"#number"},{"include":"#string"},{"include":"#subMsgOption"},{"include":"#optionName"}]},"ident":{"name":"entity.name.class.proto","match":"[A-Za-z][A-Za-z0-9_]*"},"import":{"match":"\\s*(import)\\s+(weak|public)?\\s*(\"[^\"]+\")\\s*(;)","captures":{"1":{"name":"keyword.other.proto"},"2":{"name":"keyword.other.proto"},"3":{"name":"string.quoted.double.proto.import"},"4":{"name":"punctuation.terminator.proto"}}},"kv":{"begin":"(\\w+)\\s*(:)","end":"(;)|,|(?=[}/_a-zA-Z])","patterns":[{"include":"#constants"},{"include":"#number"},{"include":"#string"},{"include":"#subMsgOption"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"2":{"name":"punctuation.separator.key-value.proto"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}},"mapfield":{"begin":"\\s*(map)\\s*(\u003c)\\s*([\\w.]+)\\s*,\\s*([\\w.]+)\\s*(\u003e)\\s+(\\w+)\\s*(=)\\s*(\\d+)","end":"(;)","patterns":[{"include":"#fieldOptions"}],"beginCaptures":{"1":{"name":"storage.type.proto"},"2":{"name":"punctuation.definition.typeparameters.begin.proto"},"3":{"name":"storage.type.proto"},"4":{"name":"storage.type.proto"},"5":{"name":"punctuation.definition.typeparameters.end.proto"},"6":{"name":"variable.other.proto"},"7":{"name":"keyword.operator.assignment.proto"},"8":{"name":"constant.numeric.proto"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}},"message":{"begin":"(message|extend)(\\s+)([A-Za-z_][A-Za-z0-9_.]*)(\\s*)(\\{)?","end":"\\}","patterns":[{"include":"#reserved"},{"include":"$self"},{"include":"#enum"},{"include":"#optionStmt"},{"include":"#comments"},{"include":"#oneof"},{"include":"#field"},{"include":"#mapfield"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"3":{"name":"entity.name.class.message.proto"}}},"method":{"begin":"(rpc)\\s+([A-Za-z][A-Za-z0-9_]*)","end":"\\}|(;)","patterns":[{"include":"#comments"},{"include":"#optionStmt"},{"include":"#rpcKeywords"},{"include":"#ident"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"2":{"name":"entity.name.function"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}},"number":{"name":"constant.numeric.proto","match":"\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)\\b"},"oneof":{"begin":"(oneof)\\s+([A-Za-z][A-Za-z0-9_]*)\\s*\\{?","end":"\\}","patterns":[{"include":"#optionStmt"},{"include":"#comments"},{"include":"#field"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"2":{"name":"variable.other.proto"}}},"optionName":{"match":"(\\w+|\\(\\w+(\\.\\w+)*\\))(\\.\\w+)*","captures":{"1":{"name":"support.other.proto"},"2":{"name":"support.other.proto"},"3":{"name":"support.other.proto"}}},"optionStmt":{"begin":"(option)\\s+(\\w+|\\(\\w+(\\.\\w+)*\\))(\\.\\w+)*\\s*(=)","end":"(;)","patterns":[{"include":"#constants"},{"include":"#number"},{"include":"#string"},{"include":"#subMsgOption"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"2":{"name":"support.other.proto"},"3":{"name":"support.other.proto"},"4":{"name":"support.other.proto"},"5":{"name":"keyword.operator.assignment.proto"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}},"package":{"match":"\\s*(package)\\s+([\\w.]+)\\s*(;)","captures":{"1":{"name":"keyword.other.proto"},"2":{"name":"string.unquoted.proto.package"},"3":{"name":"punctuation.terminator.proto"}}},"reserved":{"begin":"(reserved)\\s+","end":"(;)","patterns":[{"match":"(\\d+)(\\s+(to)\\s+(\\d+))?","captures":{"1":{"name":"constant.numeric.proto"},"3":{"name":"keyword.other.proto"},"4":{"name":"constant.numeric.proto"}}},{"include":"#string"}],"beginCaptures":{"1":{"name":"keyword.other.proto"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}},"rpcKeywords":{"name":"keyword.other.proto","match":"\\b(stream|returns)\\b"},"service":{"begin":"(service)\\s+([A-Za-z][A-Za-z0-9_.]*)\\s*\\{?","end":"\\}","patterns":[{"include":"#comments"},{"include":"#optionStmt"},{"include":"#method"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"2":{"name":"entity.name.class.message.proto"}}},"storagetypes":{"name":"storage.type.proto","match":"\\b(double|float|int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string|bytes)\\b"},"string":{"name":"string.quoted.double.proto","match":"('([^']|\\')*')|(\"([^\"]|\\\")*\")"},"subMsgOption":{"begin":"\\{","end":"\\}","patterns":[{"include":"#kv"},{"include":"#comments"}]},"syntax":{"match":"\\s*(syntax)\\s*(=)\\s*(\"proto[23]\")\\s*(;)","captures":{"1":{"name":"keyword.other.proto"},"2":{"name":"keyword.operator.assignment.proto"},"3":{"name":"string.quoted.double.proto.syntax"},"4":{"name":"punctuation.terminator.proto"}}}}}
@@ -0,0 +1 @@
1
+ {"name":"Kivy Language","scopeName":"source.python.kivy","patterns":[{"name":"support.type.kivy","match":"#:.*?$"},{"name":"comment.kivy","match":"#.*?$"},{"name":"support.class.kivy","match":"\\\u003c.+\\\u003e"},{"name":"support.function.kivy","match":"[A-Za-z][A-Za-z0-9]+$"},{"name":"support.function.kivy","match":".*?:$"},{"name":"entity.name.section.kivy","match":"(.*?):$"},{"include":"source.python"}]}
@@ -1 +1 @@
1
- {"name":"q/kdb","scopeName":"source.q","patterns":[{"name":"comment.block.q","begin":"^\\s*/\\s*$\\n","end":"^\\s*\\\\\\s*$\\n"},{"name":"comment.block.q","begin":"^\\\\\\s*\\n","end":"'As far as I know, there is no way to exit this kind of block comment'"},{"name":"comment.line.q","match":"\\s/.+$\\n?|^/.+$\\n"},{"name":"string.quoted.string.source.q","begin":"\"","end":"\"","patterns":[{"name":"constant.numeric.complex.source.q","match":"\\\\[trn\\\\\\\"]"},{"name":"constant.numeric.complex.source.q","match":"\\\\[0-9]{3}"},{"name":"message.error.q","match":"\\\\[0-9]{1,2}"}]},{"name":"string.interpolated.symbol.q","match":"(`:[:/a-zA-Z0-9_.]*)|(`[:a-zA-Z0-9_.]*)"},{"begin":"(?=(\\W|\\b))(\\.[a-zA-Z]+[a-zA-Z0-9_]*)(\\.[a-zA-Z0-9_]*)*\\s*\\[(?=.*\\]\\s*([,+\\-*%@$!?\u003c\u003e=~|\u0026\\#]?)(::|:))","end":"\\]([,+\\-*%@$!?\u003c\u003e=~|\u0026\\#]?)(::|:)","patterns":[{"include":"$self"}],"beginCaptures":{"2":{"name":"variable.parameter.complex.namespace_dict_assign.q"},"3":{"name":"variable.parameter.complex.namespace_dict_assign.q"}},"endCaptures":{"1":{"name":"support.function.assignment.q"},"2":{"name":"support.function.assignment.q"}}},{"name":"variable.parameter.complex.namespace_assignment.q","match":"(?=(\\W|\\b))(\\.[a-zA-Z]+[a-zA-Z0-9_]*)(\\.[a-zA-Z0-9_]*)*\\s*([,+\\-*%@$!?\u003c\u003e=~|\u0026\\#]?)(::|:)","captures":{"4":{"name":"support.function.assignment.q"},"5":{"name":"support.function.assignment.q"}}},{"name":"support.function.namespace.q","match":"\\.[qQhkozj]\\.\\w+"},{"name":"source.other_namespaces.q","match":"(?=(\\W|\\b))(\\.[a-zA-Z]+[a-zA-Z0-9_]*)(\\.[a-zA-Z0-9_]*)*(?=(\\W|\\b))"},{"name":"other.assignment.q","match":"(?\u003c=([^a-zA-Z0-9])|(?\u003c=\\b))([a-zA-Z]+[a-zA-Z0-9_]*)\\s*([,+\\-*%@$!?\u003c\u003e=~|\u0026\\#]?)(::|:)","captures":{"2":{"name":"variable.parameter.complex.assignment.q"},"3":{"name":"support.function.q"},"4":{"name":"support.function.q"}}},{"begin":"(?=([^a-zA-Z0-9]|\\b))([a-zA-Z]+[a-zA-Z0-9_]*)\\s*\\[(?=.*\\]\\s*([,+\\-*%@$!?\u003c\u003e=~|\u0026\\#]?)(::|:))","end":"\\]([,+\\-*%@$!?\u003c\u003e=~|\u0026\\#]?)(::|:)","patterns":[{"include":"$self"}],"beginCaptures":{"2":{"name":"variable.parameter.complex.dict_assign.q"}},"endCaptures":{"1":{"name":"support.function.assignment.q"},"2":{"name":"support.function.assignment.q"}}},{"contentName":"meta.function.parameters.q","begin":"(\\{\\s*\\[)","end":"]","patterns":[{"match":"\\b([a-zA-Z_][a-zA-Z0-9_]*)\\s*(?:(;)|(?=[\\]\\)]))","captures":{"1":{"name":"entity.other.inherited-class.q"},"2":{"name":"punctuation.separator.parameters.q"}}}]},{"name":"keyword.other.complex.keyword.q","match":"(?=(\\W|\\b))(abs|acos|aj|aj0|all|and|any|asc|asin|asof|atan|attr|avg|avgs|bin|binr|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|each|ej|ema|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|idesc|if|ij|ijf|in|insert|inter|inv|key|keys|last|like|lj|ljf|load|log|lower|lsq|ltime|ltrim|mavg|max|maxs|mcount|md5|mdev|med|meta|min|mins|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|prd|prds|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ss|ssr|string|sublist|sum|sums|sv|svar|system|tables|tan|til|trim|type|uj|ujf|ungroup|union|update|upper|upsert|value|var|view|views|vs|wavg|where|while|within|wj|wj1|wsum|xasc|xbar|xcol|xcols|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)(?=(\\W|\\b))"},{"name":"constant.numeric.complex.timestamp.q","match":"(?=(\\W|\\b))([0-9]{4}\\.[0-9]{2}\\.[0-9]{2}D[0-9]{2}(:[0-5][0-9]){0,2}(\\.[0-9]{3}([a-zA-CE-SU-Z0-9]*[ABCEFGHIJKLMNOPQRSUVWXYZagklnopqrtuvwxy0-9])?|\\.[0-9]*|:)?)(?=(\\W|\\b))"},{"name":"constant.numeric.complex.datetime.q","match":"(?=(\\W|\\b))([0-9]{4}\\.[0-9]{2}\\.[0-9]{2}T[0-9]{2}(:[0-5][0-9]){0,2}(\\.[0-9]{3}([a-zA-CE-Z0-9]*[ABCEFGHIJKLMNOPQRSUVWXYZagklnopqrtuvwxy0-9])?|\\.[0-9]*|:)?)(?=(\\W|\\b))"},{"name":"constant.numeric.complex.timespan.q","match":"(?=(\\W|\\b))(([0-9]{1,6}D([0-9]{1,2})((:[0-5][0-9]){0,2}|:)(\\.[0-9]{0,9}[a-zA-Z0-9]*[A-Zacgklnopqrtuvwxy0-9])?)|([0-9]{2}:[0-5][0-9](:[0-5][0-9]\\.[0-9]{4,}|:[0-5][0-9]\\.[0-9]{9,}[a-zA-Z0-9]*[ABCEFGHIJKLMNOPQRSUVWXYZagklnopqrtuvwxy0-9])|\\.[0-9]{8,}))(?=(\\W|\\b))"},{"name":"constant.numeric.complex.time.q","match":"(?=(\\W|\\b))([0-9]{2}:[0-5][0-9]((:[0-9]{2}(((([ABCEFGHIJKLMNOPQRSUVWXYZacgklnopqrtuvwxy0-9:]){1,2})?([0-5][0-9]){1,2})|\\.[0-9]{3}[ABCEFGHIJKLMNOPQRSUVWXYZacgklnopqrtuvwxy0-9]?|\\.[0-9]{0,3}))|\\.[0-9]{4,7}))(?=(\\W|\\b))"},{"name":"constant.numeric.complex.second.q","match":"(?=(\\W|\\b))([0-9]{2}:[0-5][0-9]([0-5][0-9]([0-5][0-9])?|\\.[0-9]{2}|:[0-9]{2}|([a-zA-Z]){0,2}[0-5][0-9]))(?=(\\W|\\b))"},{"name":"constant.numeric.complex.minute.q","match":"(?=(\\W|\\b))([0-9]{2}:([0-5][0-9]([ABCEFGHIJKLMNOPQRSUVWXYZacgklnopqrtuvwxy0-9:])?)?)(?=(\\W|\\b))"},{"name":"constant.numeric.complex.date.q","match":"(?=(\\W|\\b))([0-9]{4}\\.[0-9]{2}\\.[0-9]{2})(?=(\\W|\\b))"},{"name":"constant.numeric.complex.month.q","match":"(?=(\\W|\\b))([0-9]{4,}\\.([0][1-9]|[1][0-2])m)(?=(\\W|\\b))"},{"name":"support.function.io.q","match":"0:|1:|2:"},{"name":"constant.numeric.complex.q","match":"((?\u003c=(\\W))|(?\u003c=_)|(?\u003c=\\b))([-]?[0-9]+[bhijf]?(\\.[0-9]+[m]?)?|0x[a-fA-F0-9]+)(?=(\\W|\\b)|_)"},{"name":"constant.numeric.complex.real.q","match":"((?\u003c=\\W)|(?\u003c=_)|(?\u003c=\\b))([-]?[0-9]+e[-]?[0-9]+)(?=(\\W|\\b))"},{"name":"constant.numeric.complex.null.q","match":"((?\u003c=\\W)|(?\u003c=_)|(?\u003c=\\b))(0n|0N[ghijepmdznuvt]?)(?=(\\W|\\b))"},{"name":"constant.numeric.complex.inf.q","match":"((?\u003c=\\W)|(?\u003c=_)|(?\u003c=\\b))(0w|0W[hijepdznuvt]?)(?=(\\W|\\b))"},{"name":"support.function.q","match":"[!$@\\\\/#?|',`\\\\:]"},{"name":"support.function.q","match":"\\.(?=\\W)"},{"name":"source.q","match":"[a-zA-Z][a-zA-Z0-9_]+"},{"name":"support.function.q","match":"(?\u003c=[0-9\\s])_"}]}
1
+ {"name":"q/kdb","scopeName":"source.q","patterns":[{"name":"comment.block.q","begin":"^\\s*/\\s*$\\n","end":"^\\s*\\\\\\s*$\\n"},{"name":"comment.block.q","begin":"^\\\\\\s*\\n","end":"'As far as I know, there is no way to exit this kind of block comment'"},{"name":"comment.line.q","match":"\\s/.+$\\n?|^/.+$\\n"},{"name":"string.quoted.string.source.q","begin":"\"","end":"\"","patterns":[{"name":"constant.numeric.complex.source.q","match":"\\\\[trn\\\\\\\"]"},{"name":"constant.numeric.complex.source.q","match":"\\\\[0-9]{3}"},{"name":"message.error.q","match":"\\\\[0-9]{1,2}"}]},{"name":"string.interpolated.symbol.q","match":"(`:[:/a-zA-Z0-9_.]*)|(`[:a-zA-Z0-9_.]*)"},{"begin":"(?=(\\W|\\b))(\\.[a-zA-Z]+[a-zA-Z0-9_]*)(\\.[a-zA-Z0-9_]*)*\\s*\\[(?=.*\\]\\s*([,+\\-*%@$!?\u003c\u003e=~|\u0026\\#]?)(::|:))","end":"\\]([,+\\-*%@$!?\u003c\u003e=~|\u0026\\#]?)(::|:)","patterns":[{"include":"$self"}],"beginCaptures":{"2":{"name":"variable.parameter.complex.namespace_dict_assign.q"},"3":{"name":"variable.parameter.complex.namespace_dict_assign.q"}},"endCaptures":{"1":{"name":"support.function.assignment.q"},"2":{"name":"support.function.assignment.q"}}},{"name":"variable.parameter.complex.namespace_assignment.q","match":"(?=(\\W|\\b))(\\.[a-zA-Z]+[a-zA-Z0-9_]*)(\\.[a-zA-Z0-9_]*)*\\s*([,+\\-*%@$!?\u003c\u003e=~|\u0026\\#]?)(::|:)","captures":{"4":{"name":"support.function.assignment.q"},"5":{"name":"support.function.assignment.q"}}},{"name":"support.function.namespace.q","match":"\\.[qQhkozj]\\.\\w+"},{"name":"source.other_namespaces.q","match":"(?=(\\W|\\b))(\\.[a-zA-Z]+[a-zA-Z0-9_]*)(\\.[a-zA-Z0-9_]*)*(?=(\\W|\\b))"},{"name":"other.assignment.q","match":"(?\u003c=([^a-zA-Z0-9])|(?\u003c=\\b))([a-zA-Z]+[a-zA-Z0-9_]*)\\s*([,+\\-*%@$!?\u003c\u003e=~|\u0026\\#]?)(::|:)","captures":{"2":{"name":"variable.parameter.complex.assignment.q"},"3":{"name":"support.function.q"},"4":{"name":"support.function.q"}}},{"begin":"(?=([^a-zA-Z0-9]|\\b))([a-zA-Z]+[a-zA-Z0-9_]*)\\s*\\[(?=.*\\]\\s*([,+\\-*%@$!?\u003c\u003e=~|\u0026\\#]?)(::|:))","end":"\\]([,+\\-*%@$!?\u003c\u003e=~|\u0026\\#]?)(::|:)","patterns":[{"include":"$self"}],"beginCaptures":{"2":{"name":"variable.parameter.complex.dict_assign.q"}},"endCaptures":{"1":{"name":"support.function.assignment.q"},"2":{"name":"support.function.assignment.q"}}},{"contentName":"meta.function.parameters.q","begin":"(\\{\\s*\\[)","end":"]","patterns":[{"match":"\\b([a-zA-Z_][a-zA-Z0-9_]*)\\s*(?:(;)|(?=[\\]\\)]))","captures":{"1":{"name":"entity.other.inherited-class.q"},"2":{"name":"punctuation.separator.parameters.q"}}}]},{"name":"keyword.other.complex.keyword.q","match":"(?=(\\W|\\b))(abs|acos|aj|aj0|ajf|ajf0|all|and|any|asc|asin|asof|atan|attr|avg|avgs|bin|binr|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|each|ej|ema|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|idesc|if|ij|ijf|in|insert|inter|inv|key|keys|last|like|lj|ljf|load|log|lower|lsq|ltime|ltrim|mavg|max|maxs|mcount|md5|mdev|med|meta|min|mins|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|prd|prds|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ss|ssr|string|sublist|sum|sums|sv|svar|system|tables|tan|til|trim|type|uj|ujf|ungroup|union|update|upper|upsert|value|var|view|views|vs|wavg|where|while|within|wj|wj1|ww|wsum|xasc|xbar|xcol|xcols|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)(?=(\\W|\\b))"},{"name":"constant.numeric.complex.timestamp.q","match":"(?=(\\W|\\b))([0-9]{4}\\.[0-9]{2}\\.[0-9]{2}D[0-9]{2}(:[0-5][0-9]){0,2}(\\.[0-9]{3}([a-zA-CE-SU-Z0-9]*[ABCEFGHIJKLMNOPQRSUVWXYZagklnopqrtuvwxy0-9])?|\\.[0-9]*|:)?)(?=(\\W|\\b))"},{"name":"constant.numeric.complex.datetime.q","match":"(?=(\\W|\\b))([0-9]{4}\\.[0-9]{2}\\.[0-9]{2}T[0-9]{2}(:[0-5][0-9]){0,2}(\\.[0-9]{3}([a-zA-CE-Z0-9]*[ABCEFGHIJKLMNOPQRSUVWXYZagklnopqrtuvwxy0-9])?|\\.[0-9]*|:)?)(?=(\\W|\\b))"},{"name":"constant.numeric.complex.timespan.q","match":"(?=(\\W|\\b))(([0-9]{1,6}D([0-9]{1,2})((:[0-5][0-9]){0,2}|:)(\\.[0-9]{0,9}[a-zA-Z0-9]*[A-Zacgklnopqrtuvwxy0-9])?)|([0-9]{2}:[0-5][0-9](:[0-5][0-9]\\.[0-9]{4,}|:[0-5][0-9]\\.[0-9]{9,}[a-zA-Z0-9]*[ABCEFGHIJKLMNOPQRSUVWXYZagklnopqrtuvwxy0-9])|\\.[0-9]{8,}))(?=(\\W|\\b))"},{"name":"constant.numeric.complex.time.q","match":"(?=(\\W|\\b))([0-9]{2}:[0-5][0-9]((:[0-9]{2}(((([ABCEFGHIJKLMNOPQRSUVWXYZacgklnopqrtuvwxy0-9:]){1,2})?([0-5][0-9]){1,2})|\\.[0-9]{3}[ABCEFGHIJKLMNOPQRSUVWXYZacgklnopqrtuvwxy0-9]?|\\.[0-9]{0,3}))|\\.[0-9]{4,7}))(?=(\\W|\\b))"},{"name":"constant.numeric.complex.second.q","match":"(?=(\\W|\\b))([0-9]{2}:[0-5][0-9]([0-5][0-9]([0-5][0-9])?|\\.[0-9]{2}|:[0-9]{2}|([a-zA-Z]){0,2}[0-5][0-9]))(?=(\\W|\\b))"},{"name":"constant.numeric.complex.minute.q","match":"(?=(\\W|\\b))([0-9]{2}:([0-5][0-9]([ABCEFGHIJKLMNOPQRSUVWXYZacgklnopqrtuvwxy0-9:])?)?)(?=(\\W|\\b))"},{"name":"constant.numeric.complex.date.q","match":"(?=(\\W|\\b))([0-9]{4}\\.[0-9]{2}\\.[0-9]{2})(?=(\\W|\\b))"},{"name":"constant.numeric.complex.month.q","match":"(?=(\\W|\\b))([0-9]{4,}\\.([0][1-9]|[1][0-2])m)(?=(\\W|\\b))"},{"name":"support.function.io.q","match":"0:|1:|2:"},{"name":"constant.numeric.complex.q","match":"((?\u003c=(\\W))|(?\u003c=_)|(?\u003c=\\b))([-]?[0-9]+[bhijf]?(\\.[0-9]+[m]?)?|0x[a-fA-F0-9]+)(?=(\\W|\\b)|_)"},{"name":"constant.numeric.complex.real.q","match":"((?\u003c=\\W)|(?\u003c=_)|(?\u003c=\\b))([-]?[0-9]+e[-]?[0-9]+)(?=(\\W|\\b))"},{"name":"constant.numeric.complex.null.q","match":"((?\u003c=\\W)|(?\u003c=_)|(?\u003c=\\b))(0n|0N[ghijepmdznuvt]?)(?=(\\W|\\b))"},{"name":"constant.numeric.complex.inf.q","match":"((?\u003c=\\W)|(?\u003c=_)|(?\u003c=\\b))(0w|0W[hijepdznuvt]?)(?=(\\W|\\b))"},{"name":"support.function.q","match":"[!$@\\\\/#?|',`\\\\:]"},{"name":"support.function.q","match":"\\.(?=\\W)"},{"name":"source.q","match":"[a-zA-Z][a-zA-Z0-9_]+"},{"name":"support.function.q","match":"(?\u003c=[0-9\\s])_"}]}
@@ -1 +1 @@
1
- {"name":"qsharp","scopeName":"source.qsharp","patterns":[{"include":"#comments"},{"include":"#keywords"},{"include":"#library"},{"include":"#operations"},{"include":"#types"},{"include":"#constants"},{"include":"#strings"}],"repository":{"comments":{"patterns":[{"name":"comment.line.double-slash","match":"\\/\\/.*$"},{"name":"comment.documentation","match":"\\/\\/\\/.*$"}]},"constants":{"patterns":[{"name":"constant.language.qsharp","match":"\\b(true|false|Pauli(I|X|Y|Z)|One|Zero)\\b"}]},"keywords":{"patterns":[{"name":"keyword.control.qsharp","match":"\\b(use|using|borrow|borrowing|mutable|let|set|if|elif|else|repeat|until|fixup|for|in|while|return|fail|within|apply)\\b"},{"name":"keyword.other.qsharp","match":"\\b(new|not|and|or|w/)\\b"},{"name":"invalid.illegal.ad.qsharp","match":"\\b(abstract|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|do|double)\\b"},{"name":"invalid.illegal.el.qsharp","match":"\\b(enum|event|explicit|extern|finally|fixed|float|foreach|goto|implicit|int|interface|lock|long)\\b"},{"name":"invalid.illegal.ns.qsharp","match":"\\b(null|object|operator|out|override|params|private|protected|public|readonly|ref|sbyte|sealed|short|sizeof|stackalloc)\\b"},{"name":"invalid.illegal.sv.qsharp","match":"\\b(static|string|struct|switch|this|throw|try|typeof|unit|ulong|unchecked|unsafe|ushort|virtual|void|volatile)\\b"}]},"library":{"patterns":[{"name":"support.function.quantum.qsharp","match":"\\b(X|Y|Z|H|HY|S|T|SWAP|CNOT|CCNOT|MultiX|R|RFrac|Rx|Ry|Rz|R1|R1Frac|Exp|ExpFrac|Measure|M|MultiM)\\b"},{"name":"support.function.builtin.qsharp","match":"\\b(Message|Length|Floor)\\b"}]},"operations":{"patterns":[{"name":"keyword.other.qsharp","match":"\\b(namespace|open|as|internal|newtype|operation|function|body|(a|A)djoint|(c|C)ontrolled|self|auto|distribute|invert|intrinsic)\\b"}]},"strings":{"patterns":[{"name":"string.quoted.double.qsharp","begin":"(\\$|)\"","end":"\"","patterns":[{"name":"constant.character.escape.qsharp","match":"\\\\."}]}]},"types":{"patterns":[{"name":"storage.type.qsharp","match":"\\b(Int|BigInt|Double|Bool|Qubit|Pauli|Result|Range|String|Unit|Ctl|Adj|is)\\b"}]}}}
1
+ {"name":"qsharp","scopeName":"source.qsharp","patterns":[{"include":"#comments"},{"include":"#keywords"},{"include":"#library"},{"include":"#operations"},{"include":"#types"},{"include":"#constants"},{"include":"#strings"}],"repository":{"comments":{"patterns":[{"name":"comment.line.double-slash","match":"\\/\\/.*$"},{"name":"comment.documentation","match":"\\/\\/\\/.*$"}]},"constants":{"patterns":[{"name":"constant.language.qsharp","match":"\\b(true|false|Pauli(I|X|Y|Z)|One|Zero)\\b"}]},"keywords":{"patterns":[{"name":"keyword.control.qsharp","match":"\\b(use|using|borrow|borrowing|mutable|let|set|if|elif|else|repeat|until|fixup|for|in|while|return|fail|within|apply)\\b"},{"name":"keyword.other.qsharp","match":"\\b(new|not|and|or|w/)\\b"},{"name":"invalid.illegal.ad.qsharp","match":"\\b(abstract|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|do|double)\\b"},{"name":"invalid.illegal.el.qsharp","match":"\\b(enum|event|explicit|extern|finally|fixed|float|foreach|goto|implicit|int|interface|lock|long)\\b"},{"name":"invalid.illegal.ns.qsharp","match":"\\b(null|object|operator|out|override|params|private|protected|public|readonly|ref|sbyte|sealed|short|sizeof|stackalloc)\\b"},{"name":"invalid.illegal.sv.qsharp","match":"\\b(static|string|struct|switch|this|throw|try|typeof|unit|ulong|unchecked|unsafe|ushort|virtual|void|volatile)\\b"}]},"library":{"patterns":[{"name":"support.function.quantum.qsharp","match":"\\b(I|X|Y|Z|H|HY|S|T|SWAP|CNOT|CCNOT|MultiX|R|RFrac|Rx|Ry|Rz|R1|R1Frac|Exp|ExpFrac|Measure|M|MultiM)\\b"},{"name":"support.function.builtin.qsharp","match":"\\b(Message|Length|Floor)\\b"}]},"operations":{"patterns":[{"name":"keyword.other.qsharp","match":"\\b(namespace|open|as|internal|newtype|operation|function|body|(a|A)djoint|(c|C)ontrolled|self|auto|distribute|invert|intrinsic)\\b"}]},"strings":{"patterns":[{"name":"string.quoted.double.qsharp","begin":"(\\$|)\"","end":"\"","patterns":[{"name":"constant.character.escape.qsharp","match":"\\\\."}]}]},"types":{"patterns":[{"name":"storage.type.qsharp","match":"\\b(Int|BigInt|Double|Bool|Qubit|Pauli|Result|Range|String|Unit|Ctl|Adj|is)\\b"}]}}}