@codingame/monaco-languageclient-wrapper 1.4.2 → 1.7.1

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 (171) hide show
  1. package/dist/BSV.tmLanguage.js +299 -0
  2. package/dist/COBOL Copybook.js +2017 -0
  3. package/dist/COBOL.js +2017 -0
  4. package/dist/COBOL.tmLanguage.js +149 -0
  5. package/dist/CodinGameMonacoWorkspace.d.ts +13 -0
  6. package/dist/Configuration.d.ts +15 -0
  7. package/dist/Erlang.plist.js +1752 -0
  8. package/dist/JSON.tmLanguage.js +221 -0
  9. package/dist/JSONC.tmLanguage.js +221 -0
  10. package/dist/JavaScript.tmLanguage.js +5894 -0
  11. package/dist/Kotlin.tmLanguage.js +724 -0
  12. package/dist/MagicPython.tmLanguage.js +5340 -0
  13. package/dist/MagicRegExp.tmLanguage.js +505 -0
  14. package/dist/Regular Expressions (JavaScript).tmLanguage.js +166 -0
  15. package/dist/SQL.plist.js +482 -0
  16. package/dist/Scala.tmLanguage.js +1255 -0
  17. package/dist/TypeScript.tmLanguage.js +5641 -0
  18. package/dist/WatchableConsoleWindow.d.ts +22 -0
  19. package/dist/_rollupPluginBabelHelpers.js +54 -0
  20. package/dist/asp-vb-net.tmlanguage.js +247 -0
  21. package/dist/bsv.js +49 -0
  22. package/dist/c.js +18 -0
  23. package/dist/c.tmLanguage.js +3347 -0
  24. package/dist/cabal.tmLanguage.js +66 -0
  25. package/dist/clojure.tmLanguage.js +443 -0
  26. package/dist/codeblock-cabal.js +42 -0
  27. package/dist/codeblock-haskell.js +42 -0
  28. package/dist/codeblock-literate-haskell.js +42 -0
  29. package/dist/codeblock.js +36 -0
  30. package/dist/codeblock2.js +95 -0
  31. package/dist/coffeescript.js +18 -0
  32. package/dist/coffeescript.tmLanguage.js +1324 -0
  33. package/dist/configuration/index.d.ts +5 -0
  34. package/dist/cpp.js +18 -0
  35. package/dist/cpp.tmLanguage.js +19996 -0
  36. package/dist/createLanguageClient.d.ts +3 -3
  37. package/dist/csharp.js +18 -0
  38. package/dist/csharp.tmLanguage.js +4750 -0
  39. package/dist/css.tmLanguage.js +1873 -0
  40. package/dist/css.worker.js +6 -0
  41. package/dist/cssContribution.js +10 -0
  42. package/dist/cuda-cpp.tmLanguage.js +19993 -0
  43. package/dist/d.js +3159 -0
  44. package/dist/dart.js +530 -0
  45. package/dist/diet.js +758 -0
  46. package/dist/diet2.js +92 -0
  47. package/dist/dml.js +169 -0
  48. package/dist/eex.js +55 -0
  49. package/dist/elixir.js +2341 -0
  50. package/dist/elixir2.js +184 -0
  51. package/dist/erlang.js +195 -0
  52. package/dist/expression.js +846 -0
  53. package/dist/extensionConfiguration.d.ts +1 -1
  54. package/dist/extensions/autofold.d.ts +2 -0
  55. package/dist/extensions/cobol.d.ts +2 -0
  56. package/dist/extensions/index.d.ts +2 -0
  57. package/dist/features/cssContribution.d.ts +1 -0
  58. package/dist/features/htmlContribution.d.ts +1 -0
  59. package/dist/features/jsonContribution.d.ts +1 -0
  60. package/dist/features/typescriptContribution.d.ts +1 -0
  61. package/dist/fsharp.js +18 -0
  62. package/dist/fsharp.tmLanguage.js +1811 -0
  63. package/dist/go.tmLanguage.js +1025 -0
  64. package/dist/groovy.js +229 -0
  65. package/dist/groovy.tmLanguage.js +1391 -0
  66. package/dist/haskell.tmLanguage.js +629 -0
  67. package/dist/html (eex).js +31 -0
  68. package/dist/html-derivative.tmLanguage.js +57 -0
  69. package/dist/html.tmLanguage.js +2652 -0
  70. package/dist/html.tmLanguage2.js +97 -0
  71. package/dist/html.worker.js +6 -0
  72. package/dist/htmlContribution.js +10 -0
  73. package/dist/index.d.ts +4 -3
  74. package/dist/inline-styles.js +104 -0
  75. package/dist/inline-template.js +88 -0
  76. package/dist/java.js +18 -0
  77. package/dist/java.tmLanguage.js +1863 -0
  78. package/dist/javascript.js +196 -0
  79. package/dist/javascriptreact.js +196 -0
  80. package/dist/jsdoc.js.injection.tmLanguage.js +32 -0
  81. package/dist/jsdoc.ts.injection.tmLanguage.js +32 -0
  82. package/dist/json.worker.js +6 -0
  83. package/dist/jsonContribution.js +78 -0
  84. package/dist/keybindings/index.d.ts +2 -0
  85. package/dist/keybindings/keybindingHelper.d.ts +2 -0
  86. package/dist/keybindings/vim.d.ts +3 -0
  87. package/dist/kotlin.js +117 -0
  88. package/dist/kotlinscript.js +117 -0
  89. package/dist/languageClient.d.ts +4 -7
  90. package/dist/languageClientOptions.d.ts +9 -0
  91. package/dist/languages/extensions/grammarLoader.d.ts +91037 -0
  92. package/dist/languages/extensions/snippetLoader.d.ts +4578 -0
  93. package/dist/languages/index.d.ts +3 -0
  94. package/dist/languages/monarch/index.d.ts +7 -0
  95. package/dist/languages/monarch/list.d.ts +7 -0
  96. package/dist/languages/monarch/stub-generator.d.ts +2 -0
  97. package/dist/languages/snippets/index.d.ts +1 -0
  98. package/dist/languages/textMate/CGTMGrammarFactory.d.ts +5 -0
  99. package/dist/languages/textMate/TextMateTokensProvider.d.ts +11 -0
  100. package/dist/languages/textMate/index.d.ts +2 -0
  101. package/dist/literateHaskell.tmLanguage.js +70 -0
  102. package/dist/lua.tmLanguage.js +289 -0
  103. package/dist/main.js +619 -761
  104. package/dist/markdown.js +103 -0
  105. package/dist/markdown.tmLanguage.js +2784 -0
  106. package/dist/merlin.js +111 -0
  107. package/dist/monaco.d.ts +8 -0
  108. package/dist/objective-c.tmLanguage.js +3618 -0
  109. package/dist/ocaml-hover-info.js +34 -0
  110. package/dist/ocaml-hover-type.js +24 -0
  111. package/dist/ocaml-markdown-codeblock.js +42 -0
  112. package/dist/ocaml.js +2979 -0
  113. package/dist/ocamlbuild.js +239 -0
  114. package/dist/opam.js +149 -0
  115. package/dist/pascal.js +382 -0
  116. package/dist/pascal.tmLanguage.js +169 -0
  117. package/dist/perl.tmLanguage.js +2986 -0
  118. package/dist/perl6.tmLanguage.js +323 -0
  119. package/dist/pgsql.tmLanguage.js +284 -0
  120. package/dist/php.js +265 -0
  121. package/dist/php.tmLanguage.js +3791 -0
  122. package/dist/platform.tmLanguage.js +1135 -0
  123. package/dist/powershell.js +18 -0
  124. package/dist/powershell.tmLanguage.js +1037 -0
  125. package/dist/r.tmLanguage.js +551 -0
  126. package/dist/reason-hover-info.js +34 -0
  127. package/dist/reason-hover-signature.js +21 -0
  128. package/dist/reason-hover-type.js +21 -0
  129. package/dist/reason-markdown-codeblock.js +42 -0
  130. package/dist/reason.js +100 -0
  131. package/dist/ruby.tmLanguage.js +2784 -0
  132. package/dist/rust.tmLanguage.js +1178 -0
  133. package/dist/sassdoc.tmLanguage.js +362 -0
  134. package/dist/scss.tmLanguage.js +1887 -0
  135. package/dist/sdc.tmLanguage.js +712 -0
  136. package/dist/sdl.js +162 -0
  137. package/dist/services/EditorModelResolverService.d.ts +8 -0
  138. package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +7 -0
  139. package/dist/shell-unix-bash.tmLanguage.js +1291 -0
  140. package/dist/sql.js +21 -0
  141. package/dist/staticOptions.d.ts +4 -8
  142. package/dist/stub-generator.js +15 -0
  143. package/dist/swift.js +183 -0
  144. package/dist/swift.tmLanguage.js +3288 -0
  145. package/dist/systemverilog.js +208 -0
  146. package/dist/systemverilog.tmLanguage.js +1067 -0
  147. package/dist/tcl.js +151 -0
  148. package/dist/tcl.tmlanguage.yaml.js +5484 -0
  149. package/dist/template.js +207 -0
  150. package/dist/theme/index.d.ts +3 -0
  151. package/dist/theme/registry.d.ts +4 -0
  152. package/dist/theme/semanticHighlight.d.ts +1 -0
  153. package/dist/theme/tools.d.ts +13 -0
  154. package/dist/tools.d.ts +3 -0
  155. package/dist/ts.worker.js +6 -0
  156. package/dist/typescript.js +312 -0
  157. package/dist/typescriptContribution.js +36 -0
  158. package/dist/typescriptreact.js +312 -0
  159. package/dist/ucf.tmLanguage.js +36 -0
  160. package/dist/vb.js +88 -0
  161. package/dist/verilog.js +432 -0
  162. package/dist/verilog.tmLanguage.js +321 -0
  163. package/dist/worker.d.ts +6 -0
  164. package/dist/worker.js +54 -0
  165. package/dist/xml.tmLanguage.js +395 -0
  166. package/dist/xsl.tmLanguage.js +102 -0
  167. package/dist/yaml.tmLanguage.js +629 -0
  168. package/package.json +17 -14
  169. package/stats.html +1 -1
  170. package/dist/monaco-languageclient-wrapper.d.ts +0 -1478
  171. package/dist/tsdoc-metadata.json +0 -11
package/dist/pascal.js ADDED
@@ -0,0 +1,382 @@
1
+ var constructor = {
2
+ prefix: "constructorc",
3
+ body: [
4
+ "constructor Create(${1:params}); ${2:override;}"
5
+ ],
6
+ description: "constructor"
7
+ };
8
+ var destructor = {
9
+ prefix: "destructor",
10
+ body: [
11
+ "destructor Destroy; override;$0"
12
+ ],
13
+ description: "destructor"
14
+ };
15
+ var procedure = {
16
+ prefix: "procedure",
17
+ body: [
18
+ "procedure ${1:MyProcedure}(${2:params});",
19
+ "begin",
20
+ "\t$0",
21
+ "end;"
22
+ ],
23
+ description: "procedure"
24
+ };
25
+ var raise = {
26
+ prefix: "raise",
27
+ body: [
28
+ "raise ${1:Exception}.Create('${2:Error Message}');$0"
29
+ ],
30
+ description: "raise"
31
+ };
32
+ var region = {
33
+ prefix: "region",
34
+ body: [
35
+ "{\\$REGION '${1:MyRegion}'}",
36
+ "\t$0",
37
+ "{\\$ENDREGION}"
38
+ ],
39
+ description: "region"
40
+ };
41
+ var variable = {
42
+ prefix: "var",
43
+ body: [
44
+ "${1:variable}: ${2:type};$0"
45
+ ],
46
+ description: "variable"
47
+ };
48
+ var pascal = {
49
+ "Begin end": {
50
+ prefix: "begin",
51
+ body: [
52
+ "begin",
53
+ "\t$0",
54
+ "end;"
55
+ ],
56
+ description: "Begin end"
57
+ },
58
+ "case end": {
59
+ prefix: "case",
60
+ body: [
61
+ "case $1 of",
62
+ "\t$0",
63
+ "end;"
64
+ ],
65
+ description: "case end"
66
+ },
67
+ "class (no parts)": {
68
+ prefix: "classd",
69
+ body: [
70
+ "T$1 = class(${2:ancestor})",
71
+ "\t$3",
72
+ "end;"
73
+ ],
74
+ description: "class (no parts)"
75
+ },
76
+ "class (with Create/Destroy)": {
77
+ prefix: "classc",
78
+ body: [
79
+ "T${1:ClassName} = class(T${2:ancestor})",
80
+ "private",
81
+ "\t$0",
82
+ "protected",
83
+ "\t",
84
+ "public",
85
+ "\tconstructor Create; override;",
86
+ "\tdestructor Destroy; override;",
87
+ "published",
88
+ "\t",
89
+ "end;"
90
+ ],
91
+ description: "class (with Create/Destroy)"
92
+ },
93
+ "class full (commented)": {
94
+ prefix: "classfc",
95
+ body: [
96
+ "T${1:ClassName} = class(T${2:ancestor})",
97
+ "private",
98
+ "\t{ private declarations }",
99
+ "\t$0",
100
+ "protected",
101
+ "\t{ protected declarations }",
102
+ "\t",
103
+ "public",
104
+ "\t{ public declarations }",
105
+ "\t",
106
+ "published",
107
+ "\t{ published declarations }",
108
+ "\t",
109
+ "end;"
110
+ ],
111
+ description: "class full (commented)"
112
+ },
113
+ "class full (uncommented)": {
114
+ prefix: "classfu",
115
+ body: [
116
+ "body': 'T${1:ClassName} = class(T${2:ancestor})",
117
+ "private",
118
+ "\t$0",
119
+ "protected",
120
+ "\t",
121
+ "public",
122
+ "\t",
123
+ "published",
124
+ "\t",
125
+ "end;"
126
+ ],
127
+ description: "class full (uncommented)"
128
+ },
129
+ "constructor descendant": {
130
+ prefix: "CreateC",
131
+ body: [
132
+ "constructor Create(AOwner: TComponent); override;"
133
+ ],
134
+ description: "constructor descendant"
135
+ },
136
+ constructor: constructor,
137
+ "constructor destructor": {
138
+ prefix: "constructord",
139
+ body: [
140
+ "constructor Create(${1:params});",
141
+ "destructor Destroy; override;$0"
142
+ ],
143
+ description: "constructor destructor"
144
+ },
145
+ destructor: destructor,
146
+ "else end": {
147
+ prefix: "else",
148
+ body: [
149
+ "else",
150
+ "begin",
151
+ "\t$0",
152
+ "end;"
153
+ ],
154
+ description: "else end"
155
+ },
156
+ "enum": {
157
+ prefix: "enum",
158
+ body: [
159
+ "T${1:EnumName} = (${2:meOne}, $0);"
160
+ ],
161
+ description: "enum"
162
+ },
163
+ "for begin end": {
164
+ prefix: "forb",
165
+ body: [
166
+ "for ${1:i} := ${2:0} to ${3:max} do",
167
+ "begin",
168
+ "\t$0",
169
+ "end;"
170
+ ],
171
+ description: "for begin end"
172
+ },
173
+ "for in end": {
174
+ prefix: "forin",
175
+ body: [
176
+ "for ${1:MyElem} in ${2:MyList} do",
177
+ "begin",
178
+ "\t$0",
179
+ "end;"
180
+ ],
181
+ description: "for in end"
182
+ },
183
+ "for downto": {
184
+ prefix: "forr",
185
+ body: [
186
+ "for ${1:i} := ${2:max} downto ${3:0} do",
187
+ "begin",
188
+ "\t$0",
189
+ "end;"
190
+ ],
191
+ description: "for downto"
192
+ },
193
+ "for (no begin end)": {
194
+ prefix: "for",
195
+ body: [
196
+ "for ${1:i} := ${2:0} to ${3:max} do",
197
+ "\t$0"
198
+ ],
199
+ description: "for (no begin end)"
200
+ },
201
+ "function end": {
202
+ prefix: "function",
203
+ body: [
204
+ "function ${1:MyFunction}(${2:params}):${3:integer};",
205
+ "begin",
206
+ "\t$0",
207
+ "end;"
208
+ ],
209
+ description: "function end"
210
+ },
211
+ "if (no begin end)": {
212
+ prefix: "if",
213
+ body: [
214
+ "if ${1:True} then",
215
+ "\t$0"
216
+ ],
217
+ description: "if (no begin end)"
218
+ },
219
+ "if end": {
220
+ prefix: "ifb",
221
+ body: [
222
+ "if ${1:True} then",
223
+ "begin",
224
+ "\t$0",
225
+ "end;"
226
+ ],
227
+ description: "if end"
228
+ },
229
+ "if else (no begin end)": {
230
+ prefix: "ife",
231
+ body: [
232
+ "if ${1:True} then",
233
+ "\t${2:then code here}",
234
+ "else",
235
+ "\t${3:else code here}"
236
+ ],
237
+ description: "if else (no begin end)"
238
+ },
239
+ "if else end": {
240
+ prefix: "ifeb",
241
+ body: [
242
+ "if ${1:True} then",
243
+ "begin",
244
+ "\t${2:then code here}",
245
+ "end",
246
+ "else",
247
+ "begin",
248
+ "\t${3:else code here}",
249
+ "end;"
250
+ ],
251
+ description: "if else end"
252
+ },
253
+ "if not Assigned (no begin end)": {
254
+ prefix: "ifnass",
255
+ body: [
256
+ "if not Assigned(${1:variable}) then",
257
+ "\t${1:variable} := T${2:ClassName}.Create(${3:params});$0"
258
+ ],
259
+ description: "if not Assigned (no begin end)"
260
+ },
261
+ "if nil (no begin end)": {
262
+ prefix: "ifnil",
263
+ body: [
264
+ "if ${1:variable} = nil then",
265
+ "\t${1:variable} := T${2:ClassName}.Create(${3:params});$0"
266
+ ],
267
+ description: "if nil (no begin end)"
268
+ },
269
+ procedure: procedure,
270
+ "property getter": {
271
+ prefix: "prop",
272
+ body: [
273
+ "property ${1:name}: ${2:type} read ${3:getter} write ${4:setter};$0"
274
+ ],
275
+ description: "property getter"
276
+ },
277
+ "property field": {
278
+ prefix: "propf",
279
+ body: [
280
+ "property ${1:name}: ${2:type} read F${1:name} write F${1:name};$0"
281
+ ],
282
+ description: "property field"
283
+ },
284
+ "property get set": {
285
+ prefix: "propgs",
286
+ body: [
287
+ "property ${1:name}: ${2:type} read Get${1:name} write Set${1:name};$0"
288
+ ],
289
+ description: "property get set"
290
+ },
291
+ "property read only": {
292
+ prefix: "propro",
293
+ body: [
294
+ "property ${1:name}: ${2:type} read ${3:getter};$0"
295
+ ],
296
+ description: "property read only"
297
+ },
298
+ "property read only field": {
299
+ prefix: "proprof",
300
+ body: [
301
+ "property ${1:name}: ${2:type} read F${1:name};$0"
302
+ ],
303
+ description: "property read only field"
304
+ },
305
+ raise: raise,
306
+ region: region,
307
+ "repeat until": {
308
+ prefix: "repeat",
309
+ body: [
310
+ "repeat",
311
+ "\t$0",
312
+ "until (${1:True});"
313
+ ],
314
+ description: "repeat until"
315
+ },
316
+ "try object finally": {
317
+ prefix: "try",
318
+ body: [
319
+ "${1:variable} := ${2:TComponent}.Create(${3:params});",
320
+ "try",
321
+ "\t$0",
322
+ "finally",
323
+ "\t${1:variable}",
324
+ "end;"
325
+ ],
326
+ description: "try object finally"
327
+ },
328
+ "try finally": {
329
+ prefix: "tryf",
330
+ body: [
331
+ "try",
332
+ "\t$0",
333
+ "finally",
334
+ "\t$1",
335
+ "end;"
336
+ ],
337
+ description: "try finally"
338
+ },
339
+ "try except": {
340
+ prefix: "trye",
341
+ body: [
342
+ "try",
343
+ "\t$0",
344
+ "except",
345
+ "\ton ${1:e}: ${2:Exception} do",
346
+ "end;"
347
+ ],
348
+ description: "try except"
349
+ },
350
+ variable: variable,
351
+ "unit implementation end": {
352
+ prefix: "unit",
353
+ body: [
354
+ "unit ${1:unit_name};",
355
+ "\t",
356
+ "interface",
357
+ "\t",
358
+ "uses",
359
+ "\tSysUtils${2:, Classes};",
360
+ "\t",
361
+ "implementation",
362
+ "\t",
363
+ "$0",
364
+ "\t",
365
+ "end."
366
+ ],
367
+ description: "unit implementation end"
368
+ },
369
+ "Constructor with ": {
370
+ prefix: "ctr",
371
+ body: [
372
+ "constructor $1.Create;",
373
+ "begin",
374
+ "\tinherited",
375
+ "\t$2",
376
+ "end;"
377
+ ],
378
+ description: "Constructor method"
379
+ }
380
+ };
381
+
382
+ export { constructor, pascal as default, destructor, procedure, raise, region, variable };
@@ -0,0 +1,169 @@
1
+ var fileTypes = [
2
+ "pas",
3
+ "p",
4
+ "pp",
5
+ "dfm",
6
+ "fmx",
7
+ "dpr",
8
+ "dpk",
9
+ "lfm",
10
+ "lpr"
11
+ ];
12
+ var keyEquivalent = "^~P";
13
+ var name = "Pascal";
14
+ var patterns = [
15
+ {
16
+ match: "\\b(?i:(absolute|abstract|all|and_then|array|as|asm|attribute|begin|bindable|case|class|const|contains|default|div|else|end|except|export|exports|external|far|file|finalization|finally|forward|generic|goto|if|implements|import|in|index|inherited|initialization|interrupt|is|label|library|mod|module|name|near|not|object|of|on|only|operator|or_else|otherwise|override|package|packed|pow|private|program|protected|public|published|interface|implementation|qualified|read|record|resident|requires|resourcestring|restricted|segment|set|shl|shr|specialize|stored|strict|then|threadvar|to|try|type|unit|uses|var|view|virtual|dynamic|overload|reintroduce|with|write|xor))\\b",
17
+ name: "keyword.pascal"
18
+ },
19
+ {
20
+ captures: {
21
+ "1": {
22
+ name: "storage.type.prototype.pascal"
23
+ },
24
+ "2": {
25
+ name: "entity.name.function.prototype.pascal"
26
+ }
27
+ },
28
+ match: "\\b(?i:(function|procedure|constructor|destructor))\\b\\s+(\\w+(\\.\\w+)?)(\\(.*?\\))?;\\s*(?=(?i:attribute|forward|external))",
29
+ name: "meta.function.prototype.pascal"
30
+ },
31
+ {
32
+ captures: {
33
+ "1": {
34
+ name: "storage.type.function.pascal"
35
+ },
36
+ "2": {
37
+ name: "entity.name.function.pascal"
38
+ }
39
+ },
40
+ match: "\\b(?i:(function|procedure|constructor|destructor|property|read|write))\\b\\s+(\\w+(\\.\\w+)?)",
41
+ name: "meta.function.pascal"
42
+ },
43
+ {
44
+ match: "\\b(?i:(self|result))\\b",
45
+ name: "token.variable"
46
+ },
47
+ {
48
+ match: "\\b(?i:(and|or))\\b",
49
+ name: "keyword.operator.pascal"
50
+ },
51
+ {
52
+ match: "\\b(?i:(break|continue|exit|abort|while|do|for|raise|repeat|until))\\b",
53
+ name: "keyword.control.pascal"
54
+ },
55
+ {
56
+ begin: "\\{\\$",
57
+ captures: {
58
+ "0": {
59
+ name: "string.regexp"
60
+ }
61
+ },
62
+ end: "\\}",
63
+ name: "string.regexp"
64
+ },
65
+ {
66
+ match: "\\b(?i:(ansichar|ansistring|boolean|byte|cardinal|char|comp|currency|double|dword|extended|file|integer|int64|longint|longword|nativeint|nativeuint|olevariant|pansichar|pchar|pwidechar|pointer|real|shortint|shortstring|single|smallint|string|uint64|variant|widechar|widestring|word|wordbool))\\b",
67
+ name: "storage.support.type.pascal"
68
+ },
69
+ {
70
+ match: "\\b(\\d+)|(\\d*\\.\\d+([eE][\\-+]?\\d+)?)\\b",
71
+ name: "constant.numeric.pascal"
72
+ },
73
+ {
74
+ match: "\\$[0-9a-fA-F]{1,16}\\b",
75
+ name: "constant.numeric.hex.pascal"
76
+ },
77
+ {
78
+ match: "\\b(?i:(true|false|nil))\\b",
79
+ name: "constant.language.pascal"
80
+ },
81
+ {
82
+ match: "\\b(?i:(Assert))\\b",
83
+ name: "keyword.control"
84
+ },
85
+ {
86
+ begin: "(^[ \\t]+)?(?=//)",
87
+ beginCaptures: {
88
+ "1": {
89
+ name: "punctuation.whitespace.comment.leading.pascal"
90
+ }
91
+ },
92
+ end: "(?!\\G)",
93
+ patterns: [
94
+ {
95
+ begin: "//",
96
+ beginCaptures: {
97
+ "0": {
98
+ name: "punctuation.definition.comment.pascal"
99
+ }
100
+ },
101
+ end: "\\n",
102
+ name: "comment.line.double-slash.pascal.two"
103
+ }
104
+ ]
105
+ },
106
+ {
107
+ begin: "\\(\\*",
108
+ captures: {
109
+ "0": {
110
+ name: "punctuation.definition.comment.pascal"
111
+ }
112
+ },
113
+ end: "\\*\\)",
114
+ name: "comment.block.pascal.one"
115
+ },
116
+ {
117
+ begin: "\\{(?!\\$)",
118
+ captures: {
119
+ "0": {
120
+ name: "punctuation.definition.comment.pascal"
121
+ }
122
+ },
123
+ end: "\\}",
124
+ name: "comment.block.pascal.two"
125
+ },
126
+ {
127
+ begin: "'",
128
+ beginCaptures: {
129
+ "0": {
130
+ name: "punctuation.definition.string.begin.pascal"
131
+ }
132
+ },
133
+ end: "'",
134
+ endCaptures: {
135
+ "0": {
136
+ name: "punctuation.definition.string.end.pascal"
137
+ }
138
+ },
139
+ name: "string.quoted.single.pascal",
140
+ patterns: [
141
+ {
142
+ match: "''",
143
+ name: "constant.character.escape.apostrophe.pascal"
144
+ }
145
+ ]
146
+ },
147
+ {
148
+ match: "\\#\\d+",
149
+ name: "string.other.pascal"
150
+ }
151
+ ];
152
+ var scopeName = "source.pascal";
153
+ var uuid = "F42FA544-6B1C-11D9-9517-000D93589AF6";
154
+ var information_for_contributors = [
155
+ "This file has been converted from https://github.com/alefragnani/vscode-language-pascal/blob/master/",
156
+ "If you want to provide a fix or improvement, please create a pull request against the original repository.",
157
+ "Once accepted there, we are happy to receive an update request."
158
+ ];
159
+ var pascal_tmLanguage = {
160
+ fileTypes: fileTypes,
161
+ keyEquivalent: keyEquivalent,
162
+ name: name,
163
+ patterns: patterns,
164
+ scopeName: scopeName,
165
+ uuid: uuid,
166
+ information_for_contributors: information_for_contributors
167
+ };
168
+
169
+ export { pascal_tmLanguage as default, fileTypes, information_for_contributors, keyEquivalent, name, patterns, scopeName, uuid };