@codingame/monaco-languageclient-wrapper 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/dist/main.js +6 -5
  2. package/dist/monaco-languageclient-wrapper.d.ts +1478 -0
  3. package/dist/tsdoc-metadata.json +11 -0
  4. package/package.json +13 -13
  5. package/stats.html +205 -795
  6. package/dist/BSV.tmLanguage.js +0 -299
  7. package/dist/COBOL Copybook.js +0 -2017
  8. package/dist/COBOL.js +0 -2017
  9. package/dist/COBOL.tmLanguage.js +0 -149
  10. package/dist/CodinGameMonacoWorkspace.d.ts +0 -13
  11. package/dist/Configuration.d.ts +0 -15
  12. package/dist/Erlang.plist.js +0 -1752
  13. package/dist/JSON.tmLanguage.js +0 -221
  14. package/dist/JSONC.tmLanguage.js +0 -221
  15. package/dist/JavaScript.tmLanguage.js +0 -5894
  16. package/dist/Kotlin.tmLanguage.js +0 -724
  17. package/dist/MagicPython.tmLanguage.js +0 -5340
  18. package/dist/MagicRegExp.tmLanguage.js +0 -505
  19. package/dist/Regular Expressions (JavaScript).tmLanguage.js +0 -166
  20. package/dist/SQL.plist.js +0 -482
  21. package/dist/Scala.tmLanguage.js +0 -1255
  22. package/dist/TypeScript.tmLanguage.js +0 -5641
  23. package/dist/WatchableConsoleWindow.d.ts +0 -22
  24. package/dist/_rollupPluginBabelHelpers.js +0 -54
  25. package/dist/asp-vb-net.tmlanguage.js +0 -247
  26. package/dist/bsv.js +0 -49
  27. package/dist/c.js +0 -18
  28. package/dist/c.tmLanguage.js +0 -3347
  29. package/dist/cabal.tmLanguage.js +0 -66
  30. package/dist/clojure.tmLanguage.js +0 -443
  31. package/dist/codeblock-cabal.js +0 -42
  32. package/dist/codeblock-haskell.js +0 -42
  33. package/dist/codeblock-literate-haskell.js +0 -42
  34. package/dist/codeblock.js +0 -36
  35. package/dist/codeblock2.js +0 -95
  36. package/dist/coffeescript.js +0 -18
  37. package/dist/coffeescript.tmLanguage.js +0 -1324
  38. package/dist/configuration/index.d.ts +0 -5
  39. package/dist/cpp.js +0 -18
  40. package/dist/cpp.tmLanguage.js +0 -19996
  41. package/dist/csharp.js +0 -18
  42. package/dist/csharp.tmLanguage.js +0 -4750
  43. package/dist/css.tmLanguage.js +0 -1873
  44. package/dist/css.worker.js +0 -6
  45. package/dist/cssContribution.js +0 -10
  46. package/dist/cuda-cpp.tmLanguage.js +0 -19993
  47. package/dist/d.js +0 -3159
  48. package/dist/dart.js +0 -530
  49. package/dist/diet.js +0 -758
  50. package/dist/diet2.js +0 -92
  51. package/dist/dml.js +0 -169
  52. package/dist/eex.js +0 -55
  53. package/dist/elixir.js +0 -2341
  54. package/dist/elixir2.js +0 -184
  55. package/dist/erlang.js +0 -195
  56. package/dist/expression.js +0 -846
  57. package/dist/extensions/autofold.d.ts +0 -2
  58. package/dist/extensions/cobol.d.ts +0 -2
  59. package/dist/extensions/index.d.ts +0 -2
  60. package/dist/features/cssContribution.d.ts +0 -1
  61. package/dist/features/htmlContribution.d.ts +0 -1
  62. package/dist/features/jsonContribution.d.ts +0 -1
  63. package/dist/features/typescriptContribution.d.ts +0 -1
  64. package/dist/fsharp.js +0 -18
  65. package/dist/fsharp.tmLanguage.js +0 -1811
  66. package/dist/go.tmLanguage.js +0 -1025
  67. package/dist/groovy.js +0 -229
  68. package/dist/groovy.tmLanguage.js +0 -1391
  69. package/dist/haskell.tmLanguage.js +0 -629
  70. package/dist/html (eex).js +0 -31
  71. package/dist/html-derivative.tmLanguage.js +0 -57
  72. package/dist/html.tmLanguage.js +0 -2652
  73. package/dist/html.tmLanguage2.js +0 -97
  74. package/dist/html.worker.js +0 -6
  75. package/dist/htmlContribution.js +0 -10
  76. package/dist/inline-styles.js +0 -104
  77. package/dist/inline-template.js +0 -88
  78. package/dist/java.js +0 -18
  79. package/dist/java.tmLanguage.js +0 -1863
  80. package/dist/javascript.js +0 -196
  81. package/dist/javascriptreact.js +0 -196
  82. package/dist/jsdoc.js.injection.tmLanguage.js +0 -32
  83. package/dist/jsdoc.ts.injection.tmLanguage.js +0 -32
  84. package/dist/json.worker.js +0 -6
  85. package/dist/jsonContribution.js +0 -78
  86. package/dist/keybindings/index.d.ts +0 -2
  87. package/dist/keybindings/keybindingHelper.d.ts +0 -2
  88. package/dist/keybindings/vim.d.ts +0 -3
  89. package/dist/kotlin.js +0 -117
  90. package/dist/kotlinscript.js +0 -117
  91. package/dist/languages/extensions/grammarLoader.d.ts +0 -91037
  92. package/dist/languages/extensions/snippetLoader.d.ts +0 -4578
  93. package/dist/languages/index.d.ts +0 -3
  94. package/dist/languages/monarch/index.d.ts +0 -7
  95. package/dist/languages/monarch/list.d.ts +0 -7
  96. package/dist/languages/monarch/stub-generator.d.ts +0 -2
  97. package/dist/languages/snippets/index.d.ts +0 -1
  98. package/dist/languages/textMate/CGTMGrammarFactory.d.ts +0 -5
  99. package/dist/languages/textMate/TextMateTokensProvider.d.ts +0 -11
  100. package/dist/languages/textMate/index.d.ts +0 -2
  101. package/dist/literateHaskell.tmLanguage.js +0 -70
  102. package/dist/lua.tmLanguage.js +0 -289
  103. package/dist/markdown.js +0 -103
  104. package/dist/markdown.tmLanguage.js +0 -2784
  105. package/dist/merlin.js +0 -111
  106. package/dist/monaco.d.ts +0 -8
  107. package/dist/objective-c.tmLanguage.js +0 -3618
  108. package/dist/ocaml-hover-info.js +0 -34
  109. package/dist/ocaml-hover-type.js +0 -24
  110. package/dist/ocaml-markdown-codeblock.js +0 -42
  111. package/dist/ocaml.js +0 -2979
  112. package/dist/ocamlbuild.js +0 -239
  113. package/dist/opam.js +0 -149
  114. package/dist/pascal.js +0 -382
  115. package/dist/pascal.tmLanguage.js +0 -169
  116. package/dist/perl.tmLanguage.js +0 -2986
  117. package/dist/perl6.tmLanguage.js +0 -323
  118. package/dist/pgsql.tmLanguage.js +0 -284
  119. package/dist/php.js +0 -265
  120. package/dist/php.tmLanguage.js +0 -3791
  121. package/dist/platform.tmLanguage.js +0 -1135
  122. package/dist/powershell.js +0 -18
  123. package/dist/powershell.tmLanguage.js +0 -1037
  124. package/dist/r.tmLanguage.js +0 -551
  125. package/dist/reason-hover-info.js +0 -34
  126. package/dist/reason-hover-signature.js +0 -21
  127. package/dist/reason-hover-type.js +0 -21
  128. package/dist/reason-markdown-codeblock.js +0 -42
  129. package/dist/reason.js +0 -100
  130. package/dist/ruby.tmLanguage.js +0 -2784
  131. package/dist/rust.tmLanguage.js +0 -1178
  132. package/dist/sassdoc.tmLanguage.js +0 -362
  133. package/dist/scss.tmLanguage.js +0 -1887
  134. package/dist/sdc.tmLanguage.js +0 -712
  135. package/dist/sdl.js +0 -162
  136. package/dist/services/EditorModelResolverService.d.ts +0 -8
  137. package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +0 -7
  138. package/dist/shell-unix-bash.tmLanguage.js +0 -1291
  139. package/dist/sql.js +0 -21
  140. package/dist/stub-generator.js +0 -15
  141. package/dist/swift.js +0 -183
  142. package/dist/swift.tmLanguage.js +0 -3288
  143. package/dist/systemverilog.js +0 -208
  144. package/dist/systemverilog.tmLanguage.js +0 -1067
  145. package/dist/tcl.js +0 -151
  146. package/dist/tcl.tmlanguage.yaml.js +0 -5484
  147. package/dist/template.js +0 -207
  148. package/dist/theme/index.d.ts +0 -3
  149. package/dist/theme/registry.d.ts +0 -4
  150. package/dist/theme/semanticHighlight.d.ts +0 -1
  151. package/dist/theme/tools.d.ts +0 -13
  152. package/dist/tools.d.ts +0 -3
  153. package/dist/ts.worker.js +0 -6
  154. package/dist/typescript.js +0 -312
  155. package/dist/typescriptContribution.js +0 -36
  156. package/dist/typescriptreact.js +0 -312
  157. package/dist/ucf.tmLanguage.js +0 -36
  158. package/dist/vb.js +0 -88
  159. package/dist/verilog.js +0 -432
  160. package/dist/verilog.tmLanguage.js +0 -321
  161. package/dist/worker.d.ts +0 -6
  162. package/dist/worker.js +0 -54
  163. package/dist/xml.tmLanguage.js +0 -395
  164. package/dist/xsl.tmLanguage.js +0 -102
  165. package/dist/yaml.tmLanguage.js +0 -629
@@ -1,323 +0,0 @@
1
- var information_for_contributors = [
2
- "This file has been converted from https://github.com/microsoft/vscode/blob/master/extensions/perl/",
3
- "If you want to provide a fix or improvement, please create a pull request against the original repository.",
4
- "Once accepted there, we are happy to receive an update request."
5
- ];
6
- var version = "https://github.com/textmate/perl.tmbundle/commit/d9841a0878239fa43f88c640f8d458590f97e8f5";
7
- var name = "Perl 6";
8
- var scopeName = "source.perl.6";
9
- var patterns = [
10
- {
11
- begin: "^=begin",
12
- end: "^=end",
13
- name: "comment.block.perl"
14
- },
15
- {
16
- begin: "(^[ \\t]+)?(?=#)",
17
- beginCaptures: {
18
- "1": {
19
- name: "punctuation.whitespace.comment.leading.perl"
20
- }
21
- },
22
- end: "(?!\\G)",
23
- patterns: [
24
- {
25
- begin: "#",
26
- beginCaptures: {
27
- "0": {
28
- name: "punctuation.definition.comment.perl"
29
- }
30
- },
31
- end: "\\n",
32
- name: "comment.line.number-sign.perl"
33
- }
34
- ]
35
- },
36
- {
37
- captures: {
38
- "1": {
39
- name: "storage.type.class.perl.6"
40
- },
41
- "3": {
42
- name: "entity.name.type.class.perl.6"
43
- }
44
- },
45
- match: "(class|enum|grammar|knowhow|module|package|role|slang|subset)(\\s+)(((?:::|')?(?:([a-zA-Z_\\x{C0}-\\x{FF}\\$])([a-zA-Z0-9_\\x{C0}-\\x{FF}\\\\$]|[\\-'][a-zA-Z0-9_\\x{C0}-\\x{FF}\\$])*))+)",
46
- name: "meta.class.perl.6"
47
- },
48
- {
49
- begin: "(?<=\\s)'",
50
- beginCaptures: {
51
- "0": {
52
- name: "punctuation.definition.string.begin.perl"
53
- }
54
- },
55
- end: "'",
56
- endCaptures: {
57
- "0": {
58
- name: "punctuation.definition.string.end.perl"
59
- }
60
- },
61
- name: "string.quoted.single.perl",
62
- patterns: [
63
- {
64
- match: "\\\\['\\\\]",
65
- name: "constant.character.escape.perl"
66
- }
67
- ]
68
- },
69
- {
70
- begin: "\"",
71
- beginCaptures: {
72
- "0": {
73
- name: "punctuation.definition.string.begin.perl"
74
- }
75
- },
76
- end: "\"",
77
- endCaptures: {
78
- "0": {
79
- name: "punctuation.definition.string.end.perl"
80
- }
81
- },
82
- name: "string.quoted.double.perl",
83
- patterns: [
84
- {
85
- match: "\\\\[abtnfre\"\\\\]",
86
- name: "constant.character.escape.perl"
87
- }
88
- ]
89
- },
90
- {
91
- begin: "q(q|to|heredoc)*\\s*:?(q|to|heredoc)*\\s*/(.+)/",
92
- end: "\\3",
93
- name: "string.quoted.single.heredoc.perl"
94
- },
95
- {
96
- begin: "(q|Q)(x|exec|w|words|ww|quotewords|v|val|q|single|qq|double|s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash|regexp|substr|trans|codes|p|path)*\\s*:?(x|exec|w|words|ww|quotewords|v|val|q|single|qq|double|s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash|regexp|substr|trans|codes|p|path)*\\s*{{",
97
- end: "}}",
98
- name: "string.quoted.double.heredoc.brace.perl",
99
- patterns: [
100
- {
101
- include: "#qq_brace_string_content"
102
- }
103
- ]
104
- },
105
- {
106
- begin: "(q|Q)(x|exec|w|words|ww|quotewords|v|val|q|single|qq|double|s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash|regexp|substr|trans|codes|p|path)*\\s*:?(x|exec|w|words|ww|quotewords|v|val|q|single|qq|double|s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash|regexp|substr|trans|codes|p|path)*\\s*\\(\\(",
107
- end: "\\)\\)",
108
- name: "string.quoted.double.heredoc.paren.perl",
109
- patterns: [
110
- {
111
- include: "#qq_paren_string_content"
112
- }
113
- ]
114
- },
115
- {
116
- begin: "(q|Q)(x|exec|w|words|ww|quotewords|v|val|q|single|qq|double|s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash|regexp|substr|trans|codes|p|path)*\\s*:?(x|exec|w|words|ww|quotewords|v|val|q|single|qq|double|s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash|regexp|substr|trans|codes|p|path)*\\s*\\[\\[",
117
- end: "\\]\\]",
118
- name: "string.quoted.double.heredoc.bracket.perl",
119
- patterns: [
120
- {
121
- include: "#qq_bracket_string_content"
122
- }
123
- ]
124
- },
125
- {
126
- begin: "(q|Q)(x|exec|w|words|ww|quotewords|v|val|q|single|qq|double|s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash|regexp|substr|trans|codes|p|path)*\\s*:?(x|exec|w|words|ww|quotewords|v|val|q|single|qq|double|s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash|regexp|substr|trans|codes|p|path)*\\s*{",
127
- end: "}",
128
- name: "string.quoted.single.heredoc.brace.perl",
129
- patterns: [
130
- {
131
- include: "#qq_brace_string_content"
132
- }
133
- ]
134
- },
135
- {
136
- begin: "(q|Q)(x|exec|w|words|ww|quotewords|v|val|q|single|qq|double|s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash|regexp|substr|trans|codes|p|path)*\\s*:?(x|exec|w|words|ww|quotewords|v|val|q|single|qq|double|s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash|regexp|substr|trans|codes|p|path)*\\s*/",
137
- end: "/",
138
- name: "string.quoted.single.heredoc.slash.perl",
139
- patterns: [
140
- {
141
- include: "#qq_slash_string_content"
142
- }
143
- ]
144
- },
145
- {
146
- begin: "(q|Q)(x|exec|w|words|ww|quotewords|v|val|q|single|qq|double|s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash|regexp|substr|trans|codes|p|path)*\\s*:?(x|exec|w|words|ww|quotewords|v|val|q|single|qq|double|s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash|regexp|substr|trans|codes|p|path)*\\s*\\(",
147
- end: "\\)",
148
- name: "string.quoted.single.heredoc.paren.perl",
149
- patterns: [
150
- {
151
- include: "#qq_paren_string_content"
152
- }
153
- ]
154
- },
155
- {
156
- begin: "(q|Q)(x|exec|w|words|ww|quotewords|v|val|q|single|qq|double|s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash|regexp|substr|trans|codes|p|path)*\\s*:?(x|exec|w|words|ww|quotewords|v|val|q|single|qq|double|s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash|regexp|substr|trans|codes|p|path)*\\s*\\[",
157
- end: "\\]",
158
- name: "string.quoted.single.heredoc.bracket.perl",
159
- patterns: [
160
- {
161
- include: "#qq_bracket_string_content"
162
- }
163
- ]
164
- },
165
- {
166
- begin: "(q|Q)(x|exec|w|words|ww|quotewords|v|val|q|single|qq|double|s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash|regexp|substr|trans|codes|p|path)*\\s*:?(x|exec|w|words|ww|quotewords|v|val|q|single|qq|double|s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash|regexp|substr|trans|codes|p|path)*\\s*'",
167
- end: "'",
168
- name: "string.quoted.single.heredoc.single.perl",
169
- patterns: [
170
- {
171
- include: "#qq_single_string_content"
172
- }
173
- ]
174
- },
175
- {
176
- begin: "(q|Q)(x|exec|w|words|ww|quotewords|v|val|q|single|qq|double|s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash|regexp|substr|trans|codes|p|path)*\\s*:?(x|exec|w|words|ww|quotewords|v|val|q|single|qq|double|s|scalar|a|array|h|hash|f|function|c|closure|b|blackslash|regexp|substr|trans|codes|p|path)*\\s*\"",
177
- end: "\"",
178
- name: "string.quoted.single.heredoc.double.perl",
179
- patterns: [
180
- {
181
- include: "#qq_double_string_content"
182
- }
183
- ]
184
- },
185
- {
186
- match: "\\b\\$\\w+\\b",
187
- name: "variable.other.perl"
188
- },
189
- {
190
- match: "\\b(macro|sub|submethod|method|multi|proto|only|rule|token|regex|category)\\b",
191
- name: "storage.type.declare.routine.perl"
192
- },
193
- {
194
- match: "\\b(self)\\b",
195
- name: "variable.language.perl"
196
- },
197
- {
198
- match: "\\b(use|require)\\b",
199
- name: "keyword.other.include.perl"
200
- },
201
- {
202
- match: "\\b(if|else|elsif|unless)\\b",
203
- name: "keyword.control.conditional.perl"
204
- },
205
- {
206
- match: "\\b(let|my|our|state|temp|has|constant)\\b",
207
- name: "storage.type.variable.perl"
208
- },
209
- {
210
- match: "\\b(for|loop|repeat|while|until|gather|given)\\b",
211
- name: "keyword.control.repeat.perl"
212
- },
213
- {
214
- match: "\\b(take|do|when|next|last|redo|return|contend|maybe|defer|default|exit|make|continue|break|goto|leave|async|lift)\\b",
215
- name: "keyword.control.flowcontrol.perl"
216
- },
217
- {
218
- match: "\\b(is|as|but|trusts|of|returns|handles|where|augment|supersede)\\b",
219
- name: "storage.modifier.type.constraints.perl"
220
- },
221
- {
222
- match: "\\b(BEGIN|CHECK|INIT|START|FIRST|ENTER|LEAVE|KEEP|UNDO|NEXT|LAST|PRE|POST|END|CATCH|CONTROL|TEMP)\\b",
223
- name: "meta.function.perl"
224
- },
225
- {
226
- match: "\\b(die|fail|try|warn)\\b",
227
- name: "keyword.control.control-handlers.perl"
228
- },
229
- {
230
- match: "\\b(prec|irs|ofs|ors|export|deep|binary|unary|reparsed|rw|parsed|cached|readonly|defequiv|will|ref|copy|inline|tighter|looser|equiv|assoc|required)\\b",
231
- name: "storage.modifier.perl"
232
- },
233
- {
234
- match: "\\b(NaN|Inf)\\b",
235
- name: "constant.numeric.perl"
236
- },
237
- {
238
- match: "\\b(oo|fatal)\\b",
239
- name: "keyword.other.pragma.perl"
240
- },
241
- {
242
- match: "\\b(Object|Any|Junction|Whatever|Capture|MatchSignature|Proxy|Matcher|Package|Module|ClassGrammar|Scalar|Array|Hash|KeyHash|KeySet|KeyBagPair|List|Seq|Range|Set|Bag|Mapping|Void|UndefFailure|Exception|Code|Block|Routine|Sub|MacroMethod|Submethod|Regex|Str|str|Blob|Char|ByteCodepoint|Grapheme|StrPos|StrLen|Version|NumComplex|num|complex|Bit|bit|bool|True|FalseIncreasing|Decreasing|Ordered|Callable|AnyCharPositional|Associative|Ordering|KeyExtractorComparator|OrderingPair|IO|KitchenSink|RoleInt|int|int1|int2|int4|int8|int16|int32|int64Rat|rat|rat1|rat2|rat4|rat8|rat16|rat32|rat64Buf|buf|buf1|buf2|buf4|buf8|buf16|buf32|buf64UInt|uint|uint1|uint2|uint4|uint8|uint16|uint32uint64|Abstraction|utf8|utf16|utf32)\\b",
243
- name: "support.type.perl6"
244
- },
245
- {
246
- match: "\\b(div|xx|x|mod|also|leg|cmp|before|after|eq|ne|le|lt|not|gt|ge|eqv|ff|fff|and|andthen|or|xor|orelse|extra|lcm|gcd)\\b",
247
- name: "keyword.operator.perl"
248
- },
249
- {
250
- match: "(\\$|@|%|&)(\\*|:|!|\\^|~|=|\\?|(<(?=.+>)))?([a-zA-Z_\\x{C0}-\\x{FF}\\$])([a-zA-Z0-9_\\x{C0}-\\x{FF}\\$]|[\\-'][a-zA-Z0-9_\\x{C0}-\\x{FF}\\$])*",
251
- name: "variable.other.identifier.perl.6"
252
- },
253
- {
254
- match: "\\b(eager|hyper|substr|index|rindex|grep|map|sort|join|lines|hints|chmod|split|reduce|min|max|reverse|truncate|zip|cat|roundrobin|classify|first|sum|keys|values|pairs|defined|delete|exists|elems|end|kv|any|all|one|wrap|shape|key|value|name|pop|push|shift|splice|unshift|floor|ceiling|abs|exp|log|log10|rand|sign|sqrt|sin|cos|tan|round|strand|roots|cis|unpolar|polar|atan2|pick|chop|p5chop|chomp|p5chomp|lc|lcfirst|uc|ucfirst|capitalize|normalize|pack|unpack|quotemeta|comb|samecase|sameaccent|chars|nfd|nfc|nfkd|nfkc|printf|sprintf|caller|evalfile|run|runinstead|nothing|want|bless|chr|ord|gmtime|time|eof|localtime|gethost|getpw|chroot|getlogin|getpeername|kill|fork|wait|perl|graphs|codes|bytes|clone|print|open|read|write|readline|say|seek|close|opendir|readdir|slurp|spurt|shell|run|pos|fmt|vec|link|unlink|symlink|uniq|pair|asin|atan|sec|cosec|cotan|asec|acosec|acotan|sinh|cosh|tanh|asinh|done|acos|acosh|atanh|sech|cosech|cotanh|sech|acosech|acotanh|asech|ok|nok|plan_ok|dies_ok|lives_ok|skip|todo|pass|flunk|force_todo|use_ok|isa_ok|diag|is_deeply|isnt|like|skip_rest|unlike|cmp_ok|eval_dies_ok|nok_error|eval_lives_ok|approx|is_approx|throws_ok|version_lt|plan|EVAL|succ|pred|times|nonce|once|signature|new|connect|operator|undef|undefine|sleep|from|to|infix|postfix|prefix|circumfix|postcircumfix|minmax|lazy|count|unwrap|getc|pi|e|context|void|quasi|body|each|contains|rewinddir|subst|can|isa|flush|arity|assuming|rewind|callwith|callsame|nextwith|nextsame|attr|eval_elsewhere|none|srand|trim|trim_start|trim_end|lastcall|WHAT|WHERE|HOW|WHICH|VAR|WHO|WHENCE|ACCEPTS|REJECTS|not|true|iterator|by|re|im|invert|flip|gist|flat|tree|is-prime|throws_like|trans)\\b",
255
- name: "support.function.perl"
256
- }
257
- ];
258
- var repository = {
259
- qq_brace_string_content: {
260
- begin: "{",
261
- end: "}",
262
- patterns: [
263
- {
264
- include: "#qq_brace_string_content"
265
- }
266
- ]
267
- },
268
- qq_bracket_string_content: {
269
- begin: "\\[",
270
- end: "\\]",
271
- patterns: [
272
- {
273
- include: "#qq_bracket_string_content"
274
- }
275
- ]
276
- },
277
- qq_double_string_content: {
278
- begin: "\"",
279
- end: "\"",
280
- patterns: [
281
- {
282
- include: "#qq_double_string_content"
283
- }
284
- ]
285
- },
286
- qq_paren_string_content: {
287
- begin: "\\(",
288
- end: "\\)",
289
- patterns: [
290
- {
291
- include: "#qq_paren_string_content"
292
- }
293
- ]
294
- },
295
- qq_single_string_content: {
296
- begin: "'",
297
- end: "'",
298
- patterns: [
299
- {
300
- include: "#qq_single_string_content"
301
- }
302
- ]
303
- },
304
- qq_slash_string_content: {
305
- begin: "\\\\/",
306
- end: "\\\\/",
307
- patterns: [
308
- {
309
- include: "#qq_slash_string_content"
310
- }
311
- ]
312
- }
313
- };
314
- var perl6_tmLanguage = {
315
- information_for_contributors: information_for_contributors,
316
- version: version,
317
- name: name,
318
- scopeName: scopeName,
319
- patterns: patterns,
320
- repository: repository
321
- };
322
-
323
- export { perl6_tmLanguage as default, information_for_contributors, name, patterns, repository, scopeName, version };
@@ -1,284 +0,0 @@
1
- var fileTypes = [
2
- "pgsql",
3
- "psql"
4
- ];
5
- var foldingStartMarker = "\\s*\\(\\s*$";
6
- var foldingStopMarker = "^\\s*\\)";
7
- var name = "SQL (PostgreSQL)";
8
- var patterns = [
9
- {
10
- include: "#comments"
11
- },
12
- {
13
- begin: "(?i)^\\s*(create)\\s+(or\\s+replace\\s+)?(function|view)\\s+((?:(?:[\\w]+|\".+\")\\.)?(?:[\\w]+|\".+\"))",
14
- beginCaptures: {
15
- "1": {
16
- name: "keyword.other.create.pgsql"
17
- },
18
- "2": {
19
- name: "keyword.other.pgsql"
20
- },
21
- "3": {
22
- name: "keyword.other.pgsql"
23
- },
24
- "4": {
25
- name: "entity.name.function.pgsql"
26
- }
27
- },
28
- end: ";\\s*",
29
- name: "meta.statement.pgsql.create",
30
- patterns: [
31
- {
32
- include: "#dollar_quotes"
33
- },
34
- {
35
- include: "#comments"
36
- },
37
- {
38
- include: "#strings"
39
- },
40
- {
41
- include: "#keywords"
42
- },
43
- {
44
- include: "#misc"
45
- }
46
- ]
47
- },
48
- {
49
- begin: "(?i:^\\s*(create)\\s+(aggregate|collation|conversion|database|domain|event trigger|group|(?:unique\\s+)?index|language|operator class|operator|rule|schema|sequence|(?:global\\s+|local\\s+)?(?:temp\\s+|temporary\\s+|unlogged\\s+)?table|tablespace|trigger|type|user|(?:materialized\\s+)?view)\\s+)(if\\s+not\\s+exists\\s+)?((?:(?:[\\w]+|\".+\")\\.)?(?:[\\w]+|\".+\"))",
50
- beginCaptures: {
51
- "1": {
52
- name: "keyword.other.create.pgsql"
53
- },
54
- "2": {
55
- name: "keyword.other.pgsql"
56
- },
57
- "3": {
58
- name: "keyword.other.pgsql"
59
- },
60
- "4": {
61
- name: "entity.name.function.pgsql"
62
- }
63
- },
64
- end: ";\\s*",
65
- name: "meta.statement.pgsql.create",
66
- patterns: [
67
- {
68
- include: "#dollar_quotes"
69
- },
70
- {
71
- include: "#comments"
72
- },
73
- {
74
- include: "#strings"
75
- },
76
- {
77
- include: "#keywords"
78
- },
79
- {
80
- include: "#misc"
81
- }
82
- ]
83
- },
84
- {
85
- begin: "(^\\s*[a-zA-Z]+)",
86
- beginCaptures: {
87
- "0": {
88
- name: "keyword.other.pgsql"
89
- }
90
- },
91
- comment: "Last update (including keywords below) using postgres 9.3. See classes/Help.php for update method. Testing change below to just assume starting word is a SQL keyword.",
92
- end: ";\\s*",
93
- name: "meta.statement.pgsql",
94
- patterns: [
95
- {
96
- include: "#dollar_quotes"
97
- },
98
- {
99
- include: "#comments"
100
- },
101
- {
102
- include: "#strings"
103
- },
104
- {
105
- include: "#keywords"
106
- },
107
- {
108
- include: "#misc"
109
- }
110
- ]
111
- },
112
- {
113
- begin: "^(\\\\[\\S]+)",
114
- beginCaptures: {
115
- "0": {
116
- name: "meta.preprocessor.pgsql"
117
- }
118
- },
119
- comment: "psql directives",
120
- end: "\\n",
121
- name: "meta.statement.pgsql.psql"
122
- }
123
- ];
124
- var repository = {
125
- comments: {
126
- patterns: [
127
- {
128
- captures: {
129
- "1": {
130
- name: "punctuation.definition.comment.pgsql"
131
- }
132
- },
133
- match: "(--).*$\\n?",
134
- name: "comment.line.double-dash.pgsql"
135
- },
136
- {
137
- begin: "/\\*",
138
- captures: {
139
- "0": {
140
- name: "punctuation.definition.comment.pgsql"
141
- }
142
- },
143
- end: "\\*/",
144
- name: "comment.block.c"
145
- }
146
- ]
147
- },
148
- dollar_quotes: {
149
- patterns: [
150
- {
151
- begin: "(\\$[\\w_0-9]*\\$)$",
152
- comment: "Assume multiline dollar quote is SQL; start if quote is at the end of the line.\n\t\t This could easily support other PL languages like PHP and Ruby -- see PHP heredoc as an example.",
153
- end: "\\1",
154
- name: "meta.dollar-quote.pgsql",
155
- patterns: [
156
- {
157
- include: "#dollar_quotes"
158
- },
159
- {
160
- include: "#comments"
161
- },
162
- {
163
- include: "#strings"
164
- },
165
- {
166
- include: "#keywords"
167
- },
168
- {
169
- include: "#misc"
170
- }
171
- ]
172
- }
173
- ]
174
- },
175
- keywords: {
176
- patterns: [
177
- {
178
- captures: {
179
- "1": {
180
- name: "keyword.other.pgsql"
181
- }
182
- },
183
- match: "(?xi)\\b(abort|absolute|access|action|add|admin|after|aggregate|all|also|alter|always|analyse|analyze|and|any|array|as|asc|assertion|assignment|asymmetric|at|attribute|authorization|backward|before|begin|between|bigint|binary|bit|boolean|both|by|cache|called|cascade|cascaded|case|cast|catalog|chain|char|character|characteristics|check|checkpoint|class|close|cluster|coalesce|collate|collation|column|comment|comments|commit|committed|concurrently|configuration|connection|constraint|constraints|content|continue|conversion|copy|cost|create|cross|csv|current|current_catalog|current_date|current_role|current_schema|current_time|current_timestamp|current_user|cursor|cycle|data|database|day|deallocate|dec|decimal|declare|default|defaults|deferrable|deferred|definer|delete|delimiter|delimiters|desc|dictionary|disable|discard|distinct|do|document|domain|double|drop|each|else|enable|encoding|encrypted|end|enum|escape|event|except|exclude|excluding|exclusive|execute|exists|explain|extension|external|extract|false|family|fetch|first|float|following|for|force|foreign|forward|freeze|from|full|function|functions|global|grant|granted|greatest|group|handler|having|header|hold|hour|identity|if|ilike|immediate|immutable|implicit|in|including|increment|index|indexes|inherit|inherits|initially|inline|inner|inout|input|insensitive|insert|instead|int|integer|intersect|interval|into|invoker|is|isnull|isolation|join|key|label|language|large|last|lateral|lc_collate|lc_ctype|leading|leakproof|least|left|level|like|limit|listen|load|local|localtime|localtimestamp|location|lock|mapping|match|materialized|maxvalue|minute|minvalue|mode|month|move|name|names|national|natural|nchar|next|no|none|not|nothing|notify|notnull|nowait|null|nullif|nulls|numeric|object|of|off|offset|oids|on|only|operator|option|options|or|order|out|outer|over|overlaps|overlay|owned|owner|parser|partial|partition|passing|password|placing|plans|position|preceding|precision|prepare|prepared|preserve|primary|prior|privileges|procedural|procedure|program|quote|range|read|real|reassign|recheck|recursive|ref|references|refresh|reindex|relative|release|rename|repeatable|replace|replica|reset|restart|restrict|returning|returns|revoke|right|role|rollback|row|rows|rule|savepoint|schema|scroll|search|second|security|select|sequence|sequences|serializable|server|session|session_user|set|setof|share|show|similar|simple|smallint|snapshot|some|stable|standalone|start|statement|statistics|stdin|stdout|storage|strict|strip|substring|symmetric|sysid|system|table|tables|tablespace|temp|template|temporary|text|then|time|timestamp|to|trailing|transaction|treat|trigger|trim|true|truncate|trusted|type|types|unbounded|uncommitted|unencrypted|union|unique|unknown|unlisten|unlogged|until|update|user|using|vacuum|valid|validate|validator|value|values|varchar|variadic|varying|verbose|version|view|volatile|when|where|whitespace|window|with|without|work|wrapper|write|xml|xmlattributes|xmlconcat|xmlelement|xmlexists|xmlforest|xmlparse|xmlpi|xmlroot|xmlserialize|year|yes|zone)\\b"
184
- }
185
- ]
186
- },
187
- misc: {
188
- patterns: [
189
- {
190
- match: "\\b\\d+\\b",
191
- name: "constant.numeric.pgsql"
192
- },
193
- {
194
- match: "\\*",
195
- name: "keyword.operator.star.pgsql"
196
- },
197
- {
198
- match: "[!<>]?=|<>|<|>",
199
- name: "keyword.operator.comparison.pgsql"
200
- },
201
- {
202
- match: "-|\\+|/",
203
- name: "keyword.operator.math.pgsql"
204
- },
205
- {
206
- match: "\\|\\|",
207
- name: "keyword.operator.concatenator.pgsql"
208
- }
209
- ]
210
- },
211
- string_escape: {
212
- match: "\\\\.",
213
- name: "constant.character.escape.pgsql"
214
- },
215
- strings: {
216
- patterns: [
217
- {
218
- captures: {
219
- "1": {
220
- name: "punctuation.definition.string.begin.pgsql"
221
- },
222
- "3": {
223
- name: "punctuation.definition.string.end.pgsql"
224
- }
225
- },
226
- comment: "This is faster than the next begin/end rule since sub-pattern will match till end-of-line and SQL files tend to have very long lines.",
227
- match: "(')[^'\\\\]*(')",
228
- name: "string.quoted.single.pgsql"
229
- },
230
- {
231
- begin: "'",
232
- beginCaptures: {
233
- "0": {
234
- name: "punctuation.definition.string.begin.pgsql"
235
- }
236
- },
237
- comment: "Need to implement escape rule with two single quotes in a row. Lots of other escaping issues with single quotes.",
238
- end: "'",
239
- endCaptures: {
240
- "0": {
241
- name: "punctuation.definition.string.end.pgsql"
242
- }
243
- },
244
- name: "string.quoted.single.pgsql",
245
- patterns: [
246
- {
247
- include: "#string_escape"
248
- }
249
- ]
250
- },
251
- {
252
- comment: "Double quoting treated like strings, but they are really identifiers.",
253
- match: "(\")[^\"#]*(\")",
254
- name: "variable.other.pgsql"
255
- },
256
- {
257
- begin: "(\\$[\\w_0-9]*\\$)",
258
- comment: "Color as a string if dollar quote did not start at the end of a line.",
259
- end: "\\1",
260
- name: "string.unquoted.dollar.pgsql"
261
- }
262
- ]
263
- }
264
- };
265
- var scopeName = "source.pgsql";
266
- var uuid = "4D6B679D-111C-4529-B558-3F25487D9E27";
267
- var information_for_contributors = [
268
- "This file has been converted from https://github.com/Borvik/vscode-postgres/blob/master/",
269
- "If you want to provide a fix or improvement, please create a pull request against the original repository.",
270
- "Once accepted there, we are happy to receive an update request."
271
- ];
272
- var pgsql_tmLanguage = {
273
- fileTypes: fileTypes,
274
- foldingStartMarker: foldingStartMarker,
275
- foldingStopMarker: foldingStopMarker,
276
- name: name,
277
- patterns: patterns,
278
- repository: repository,
279
- scopeName: scopeName,
280
- uuid: uuid,
281
- information_for_contributors: information_for_contributors
282
- };
283
-
284
- export { pgsql_tmLanguage as default, fileTypes, foldingStartMarker, foldingStopMarker, information_for_contributors, name, patterns, repository, scopeName, uuid };