@codingame/monaco-languageclient-wrapper 1.1.1 → 1.1.5

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 (163) hide show
  1. package/dist/main.js +25 -12
  2. package/package.json +15 -15
  3. package/stats.html +1 -1
  4. package/dist/BSV.tmLanguage.js +0 -299
  5. package/dist/COBOL Copybook.js +0 -2017
  6. package/dist/COBOL.js +0 -2017
  7. package/dist/COBOL.tmLanguage.js +0 -149
  8. package/dist/CodinGameMonacoWorkspace.d.ts +0 -13
  9. package/dist/Configuration.d.ts +0 -15
  10. package/dist/Erlang.plist.js +0 -1752
  11. package/dist/JSON.tmLanguage.js +0 -221
  12. package/dist/JSONC.tmLanguage.js +0 -221
  13. package/dist/JavaScript.tmLanguage.js +0 -5894
  14. package/dist/Kotlin.tmLanguage.js +0 -724
  15. package/dist/MagicPython.tmLanguage.js +0 -5340
  16. package/dist/MagicRegExp.tmLanguage.js +0 -505
  17. package/dist/Regular Expressions (JavaScript).tmLanguage.js +0 -166
  18. package/dist/SQL.plist.js +0 -482
  19. package/dist/Scala.tmLanguage.js +0 -1255
  20. package/dist/TypeScript.tmLanguage.js +0 -5641
  21. package/dist/WatchableConsoleWindow.d.ts +0 -22
  22. package/dist/_rollupPluginBabelHelpers.js +0 -54
  23. package/dist/asp-vb-net.tmlanguage.js +0 -247
  24. package/dist/bsv.js +0 -49
  25. package/dist/c.js +0 -18
  26. package/dist/c.tmLanguage.js +0 -3347
  27. package/dist/cabal.tmLanguage.js +0 -66
  28. package/dist/clojure.tmLanguage.js +0 -443
  29. package/dist/codeblock-cabal.js +0 -42
  30. package/dist/codeblock-haskell.js +0 -42
  31. package/dist/codeblock-literate-haskell.js +0 -42
  32. package/dist/codeblock.js +0 -36
  33. package/dist/codeblock2.js +0 -95
  34. package/dist/coffeescript.js +0 -18
  35. package/dist/coffeescript.tmLanguage.js +0 -1324
  36. package/dist/configuration/index.d.ts +0 -5
  37. package/dist/cpp.js +0 -18
  38. package/dist/cpp.tmLanguage.js +0 -19996
  39. package/dist/csharp.js +0 -18
  40. package/dist/csharp.tmLanguage.js +0 -4750
  41. package/dist/css.tmLanguage.js +0 -1873
  42. package/dist/css.worker.js +0 -6
  43. package/dist/cssContribution.js +0 -10
  44. package/dist/cuda-cpp.tmLanguage.js +0 -19993
  45. package/dist/d.js +0 -3159
  46. package/dist/dart.js +0 -530
  47. package/dist/diet.js +0 -758
  48. package/dist/diet2.js +0 -92
  49. package/dist/dml.js +0 -169
  50. package/dist/eex.js +0 -55
  51. package/dist/elixir.js +0 -2341
  52. package/dist/elixir2.js +0 -184
  53. package/dist/erlang.js +0 -195
  54. package/dist/expression.js +0 -846
  55. package/dist/extensions/autofold.d.ts +0 -2
  56. package/dist/extensions/cobol.d.ts +0 -2
  57. package/dist/extensions/index.d.ts +0 -2
  58. package/dist/features/cssContribution.d.ts +0 -1
  59. package/dist/features/htmlContribution.d.ts +0 -1
  60. package/dist/features/jsonContribution.d.ts +0 -1
  61. package/dist/features/typescriptContribution.d.ts +0 -1
  62. package/dist/fsharp.js +0 -18
  63. package/dist/fsharp.tmLanguage.js +0 -1811
  64. package/dist/go.tmLanguage.js +0 -1025
  65. package/dist/groovy.js +0 -229
  66. package/dist/groovy.tmLanguage.js +0 -1391
  67. package/dist/haskell.tmLanguage.js +0 -629
  68. package/dist/html (eex).js +0 -31
  69. package/dist/html-derivative.tmLanguage.js +0 -57
  70. package/dist/html.tmLanguage.js +0 -2652
  71. package/dist/html.tmLanguage2.js +0 -97
  72. package/dist/html.worker.js +0 -6
  73. package/dist/htmlContribution.js +0 -10
  74. package/dist/inline-styles.js +0 -104
  75. package/dist/inline-template.js +0 -88
  76. package/dist/java.js +0 -18
  77. package/dist/java.tmLanguage.js +0 -1863
  78. package/dist/javascript.js +0 -196
  79. package/dist/javascriptreact.js +0 -196
  80. package/dist/jsdoc.js.injection.tmLanguage.js +0 -32
  81. package/dist/jsdoc.ts.injection.tmLanguage.js +0 -32
  82. package/dist/json.worker.js +0 -6
  83. package/dist/jsonContribution.js +0 -78
  84. package/dist/keybindings/index.d.ts +0 -2
  85. package/dist/keybindings/keybindingHelper.d.ts +0 -2
  86. package/dist/keybindings/vim.d.ts +0 -3
  87. package/dist/kotlin.js +0 -117
  88. package/dist/kotlinscript.js +0 -117
  89. package/dist/languages/extensions/grammarLoader.d.ts +0 -91037
  90. package/dist/languages/extensions/snippetLoader.d.ts +0 -4578
  91. package/dist/languages/index.d.ts +0 -3
  92. package/dist/languages/monarch/index.d.ts +0 -7
  93. package/dist/languages/monarch/list.d.ts +0 -7
  94. package/dist/languages/monarch/stub-generator.d.ts +0 -2
  95. package/dist/languages/snippets/index.d.ts +0 -1
  96. package/dist/languages/textMate/CGTMGrammarFactory.d.ts +0 -5
  97. package/dist/languages/textMate/TextMateTokensProvider.d.ts +0 -11
  98. package/dist/languages/textMate/index.d.ts +0 -2
  99. package/dist/literateHaskell.tmLanguage.js +0 -70
  100. package/dist/lua.tmLanguage.js +0 -289
  101. package/dist/markdown.js +0 -103
  102. package/dist/markdown.tmLanguage.js +0 -2784
  103. package/dist/merlin.js +0 -111
  104. package/dist/monaco.d.ts +0 -8
  105. package/dist/objective-c.tmLanguage.js +0 -3618
  106. package/dist/ocaml-hover-info.js +0 -34
  107. package/dist/ocaml-hover-type.js +0 -24
  108. package/dist/ocaml-markdown-codeblock.js +0 -42
  109. package/dist/ocaml.js +0 -2979
  110. package/dist/ocamlbuild.js +0 -239
  111. package/dist/opam.js +0 -149
  112. package/dist/pascal.js +0 -382
  113. package/dist/pascal.tmLanguage.js +0 -169
  114. package/dist/perl.tmLanguage.js +0 -2986
  115. package/dist/perl6.tmLanguage.js +0 -323
  116. package/dist/pgsql.tmLanguage.js +0 -284
  117. package/dist/php.js +0 -265
  118. package/dist/php.tmLanguage.js +0 -3791
  119. package/dist/platform.tmLanguage.js +0 -1135
  120. package/dist/powershell.js +0 -18
  121. package/dist/powershell.tmLanguage.js +0 -1037
  122. package/dist/r.tmLanguage.js +0 -551
  123. package/dist/reason-hover-info.js +0 -34
  124. package/dist/reason-hover-signature.js +0 -21
  125. package/dist/reason-hover-type.js +0 -21
  126. package/dist/reason-markdown-codeblock.js +0 -42
  127. package/dist/reason.js +0 -100
  128. package/dist/ruby.tmLanguage.js +0 -2784
  129. package/dist/rust.tmLanguage.js +0 -1178
  130. package/dist/sassdoc.tmLanguage.js +0 -362
  131. package/dist/scss.tmLanguage.js +0 -1887
  132. package/dist/sdc.tmLanguage.js +0 -712
  133. package/dist/sdl.js +0 -162
  134. package/dist/services/EditorModelResolverService.d.ts +0 -8
  135. package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +0 -7
  136. package/dist/shell-unix-bash.tmLanguage.js +0 -1291
  137. package/dist/sql.js +0 -21
  138. package/dist/stub-generator.js +0 -15
  139. package/dist/swift.js +0 -183
  140. package/dist/swift.tmLanguage.js +0 -3288
  141. package/dist/systemverilog.js +0 -208
  142. package/dist/systemverilog.tmLanguage.js +0 -1067
  143. package/dist/tcl.js +0 -151
  144. package/dist/tcl.tmlanguage.yaml.js +0 -5484
  145. package/dist/template.js +0 -207
  146. package/dist/theme/index.d.ts +0 -3
  147. package/dist/theme/registry.d.ts +0 -4
  148. package/dist/theme/semanticHighlight.d.ts +0 -1
  149. package/dist/theme/tools.d.ts +0 -13
  150. package/dist/tools.d.ts +0 -3
  151. package/dist/ts.worker.js +0 -6
  152. package/dist/typescript.js +0 -312
  153. package/dist/typescriptContribution.js +0 -36
  154. package/dist/typescriptreact.js +0 -312
  155. package/dist/ucf.tmLanguage.js +0 -36
  156. package/dist/vb.js +0 -88
  157. package/dist/verilog.js +0 -432
  158. package/dist/verilog.tmLanguage.js +0 -321
  159. package/dist/worker.d.ts +0 -6
  160. package/dist/worker.js +0 -54
  161. package/dist/xml.tmLanguage.js +0 -395
  162. package/dist/xsl.tmLanguage.js +0 -102
  163. package/dist/yaml.tmLanguage.js +0 -629
@@ -1,2017 +0,0 @@
1
- var add = {
2
- prefix: "add",
3
- body: [
4
- "add ${1:a} to ${2:b} giving ${3:c}"
5
- ],
6
- description: "Add a to b giving c",
7
- scope: "cobol,acucobol,opencobol,gnucobol"
8
- };
9
- var ADD = {
10
- prefix: "ADD",
11
- body: [
12
- "ADD ${1:a} TO ${2:b} GIVING ${3:c}"
13
- ],
14
- description: "Add a to b giving c",
15
- scope: "cobol,acucobol,opencobol,gnucobol"
16
- };
17
- var accept = {
18
- prefix: "accept",
19
- body: [
20
- "accept ${1:variable}",
21
- "$0"
22
- ],
23
- scope: "cobol,acucobol,opencobol,gnucobol"
24
- };
25
- var ACCEPT = {
26
- prefix: "ACCEPT",
27
- body: [
28
- "ACCEPT ${1:variable}",
29
- "$0"
30
- ],
31
- scope: "cobol,acucobol,opencobol,gnucobol"
32
- };
33
- var copy = {
34
- prefix: "copy",
35
- body: [
36
- "copy \"${1:subprog.cpy}\"",
37
- " replacing ==${2:()}== by ==${3:lnk-}==."
38
- ],
39
- description: "Copy replacing",
40
- scope: "cobol,acucobol,opencobol,gnucobol"
41
- };
42
- var COPY = {
43
- prefix: "COPY",
44
- body: [
45
- "COPY \"${1:SUBPROG.CPY}\"",
46
- " REPLACING ==${2:()}== BY ==${3:lnk-}==."
47
- ],
48
- description: "COPY REPLACING",
49
- scope: "cobol,acucobol,opencobol,gnucobol"
50
- };
51
- var divide = {
52
- prefix: "divide",
53
- body: [
54
- "divide ${1:a} by ${2:b} giving ${3:c} ${4:remainder ${5:d}}"
55
- ],
56
- description: "divide a by b giving [remainder}",
57
- scope: "cobol,acucobol,opencobol,gnucobol"
58
- };
59
- var DIVIDE = {
60
- prefix: "DIVIDE",
61
- body: [
62
- "DIVIDE ${1:a} BY ${2:b} GIVING ${3:c} ${4:REMAINDER ${5:d}}"
63
- ],
64
- description: "DIVIDE a BY b GIVING [REMAINDER}",
65
- scope: "cobol,acucobol,opencobol,gnucobol"
66
- };
67
- var entry = {
68
- prefix: "entry",
69
- body: [
70
- "$1-ep section.",
71
- "entry \"$1\".",
72
- " $0\t",
73
- " goback.",
74
- ""
75
- ],
76
- description: "entry statement",
77
- scope: "cobol,acucobol,opencobol,gnucobol"
78
- };
79
- var ENTRY = {
80
- prefix: "ENTRY",
81
- body: [
82
- "$1-EP SECTON.",
83
- "ENTRY \"$1\".",
84
- " $0\t",
85
- " GOBACK.",
86
- ""
87
- ],
88
- description: "ENTRY statement",
89
- scope: "cobol,acucobol,opencobol,gnucobol"
90
- };
91
- var evaluate = {
92
- prefix: "evaluate",
93
- body: [
94
- "evaluate $1",
95
- " when $2",
96
- " $0",
97
- " when other",
98
- " continue",
99
- "end-evaluate",
100
- ""
101
- ],
102
- description: "evaluate",
103
- scope: "cobol,acucobol,opencobol,gnucobol"
104
- };
105
- var EVALUATE = {
106
- prefix: "EVALUATE",
107
- body: [
108
- "EVALUATE $1",
109
- " WHEN $2",
110
- " $0",
111
- " WHEN OTHER",
112
- " CONTINUE",
113
- "END-EVALUATE",
114
- ""
115
- ],
116
- description: "EVALUATE",
117
- scope: "cobol,acucobol,opencobol,gnucobol"
118
- };
119
- var IF = {
120
- prefix: "IF",
121
- body: [
122
- "IF ${1:CONDITION}",
123
- " $0",
124
- "END-IF"
125
- ],
126
- scope: "cobol"
127
- };
128
- var multiply = {
129
- prefix: "multiply",
130
- body: [
131
- "multiply ${1:a} by ${2:b} giving ${3:c}"
132
- ],
133
- description: "Multiply a by y giving z",
134
- scope: "cobol,acucobol,opencobol,gnucobol"
135
- };
136
- var MULTIPLY = {
137
- prefix: "MULTIPLY",
138
- body: [
139
- "MULTIPLY ${1:a} BY ${2:b} GIVING ${3:c}"
140
- ],
141
- description: "MULTIPLY a BY y GIVING z",
142
- scope: "cobol,acucobol,opencobol,gnucobol"
143
- };
144
- var perform = {
145
- prefix: "perform",
146
- body: [
147
- "perform ${1:paragraph-name} ${2:value-1} times"
148
- ],
149
- description: "perform paragraph x times",
150
- scope: "cobol,acucobol,opencobol,gnucobol"
151
- };
152
- var PERFORM = {
153
- prefix: "PERFORM",
154
- body: [
155
- "PERFORM ${1:paragraph-name} ${2:value-1} TIMES"
156
- ],
157
- description: "PERFORM paragraph x TIMES",
158
- scope: "cobol,acucobol,opencobol,gnucobol"
159
- };
160
- var shell = {
161
- prefix: "shell",
162
- body: [
163
- " IDENTIFICATION DIVISION.",
164
- " PROGRAM-ID. ${1:${1:${TM_FILENAME/(.*)\\..+$/$1/}}}.",
165
- " ENVIRONMENT DIVISION.",
166
- " CONFIGURATION SECTION.",
167
- " SPECIAL-NAMES.",
168
- " INPUT-OUTPUT SECTION.",
169
- " FILE-CONTROL.",
170
- " DATA DIVISION.",
171
- " FILE SECTION.",
172
- " WORKING-STORAGE SECTION.",
173
- " LINKAGE SECTION.",
174
- " PROCEDURE DIVISION.",
175
- " main-processing SECTION.",
176
- " mainline-paragraph.",
177
- " $0",
178
- " STOP RUN."
179
- ],
180
- description: "Template Program",
181
- scope: "cobol"
182
- };
183
- var property = {
184
- prefix: "property",
185
- body: [
186
- "01 ${2:_prop} ${3:binary-long} private.",
187
- "method-id. get property #${1:Prop}.",
188
- "procedure division returning ret as ${3:binary-long}.",
189
- " set ret to ${2:_prop}",
190
- "end method.",
191
- "method-id. set property #${1:Prop}.",
192
- "procedure division using by value val as ${3:binary-long}.",
193
- " set ${2:_prop} to 0",
194
- "end method.",
195
- ""
196
- ],
197
- description: "set/get property",
198
- scope: "cobol"
199
- };
200
- var subtract = {
201
- prefix: "subtract",
202
- body: [
203
- "subtract ${1:a} from ${2:b} giving ${3:c}"
204
- ],
205
- description: "subtract a from b giving c",
206
- scope: "cobol,acucobol,opencobol,gnucobol"
207
- };
208
- var SUBTRACT = {
209
- prefix: "SUBTRACT",
210
- body: [
211
- "SUBTRACT ${1:a} FROM ${2:b} GIVING ${3:c}"
212
- ],
213
- description: "SUBTRACT a FROM b GIVING c",
214
- scope: "cobol,acucobol,opencobol,gnucobol"
215
- };
216
- var display = {
217
- prefix: "display",
218
- body: [
219
- "display \"$0\""
220
- ],
221
- description: "display literal",
222
- scope: "cobol"
223
- };
224
- var DISPLAY = {
225
- prefix: "DISPLAY",
226
- body: [
227
- "DISPLAY \"$0\""
228
- ],
229
- description: "DISPLAY literal",
230
- scope: "cobol"
231
- };
232
- var string = {
233
- prefix: "string",
234
- body: [
235
- "string ${1:item1} delimited by size",
236
- " ${2:item2} delimited by size",
237
- " into ${3:result}",
238
- "end-string",
239
- "$0"
240
- ],
241
- description: "string delimited by size",
242
- scope: "cobol,acucobol,opencobol,gnucobol"
243
- };
244
- var STRING = {
245
- prefix: "STRING",
246
- body: [
247
- "STRING ${1:item1} DELIMITED BY SIZE",
248
- " ${2:item2} DELIMITED BY SIZE",
249
- " INTO ${3:result}",
250
- "END-STRING",
251
- "$0"
252
- ],
253
- description: "string delimited by size",
254
- scope: "cobol,acucobol,opencobol,gnucobol"
255
- };
256
- var call = {
257
- prefix: "call",
258
- body: [
259
- "call \"$1\" using",
260
- " by ${2|value,reference,content|} ${3:identifer}",
261
- " returning ${4:return-code}",
262
- "end-call",
263
- "$0"
264
- ],
265
- description: "CALL literal"
266
- };
267
- var CALL = {
268
- prefix: "CALL",
269
- body: [
270
- "CALL \"$1\" USING",
271
- " BY ${2|VALUE,REFERENCE,CONTENT|} ${3:IDENTIFER}",
272
- " RETURNING ${4:RETURN-CODE}",
273
- "END-CALL",
274
- "$0"
275
- ],
276
- description: "CALL literal"
277
- };
278
- var cancel = {
279
- prefix: "cancel",
280
- body: [
281
- "cancel \"$1\"",
282
- "$0"
283
- ],
284
- description: "CANCEL literal"
285
- };
286
- var CANCEL = {
287
- prefix: "CANCEL",
288
- body: [
289
- "CANCEL \"$1\"",
290
- "$0"
291
- ],
292
- description: "CANCEL literal"
293
- };
294
- var COBOL_Copybook = {
295
- add: add,
296
- ADD: ADD,
297
- accept: accept,
298
- ACCEPT: ACCEPT,
299
- "accept from": {
300
- prefix: "accept",
301
- body: [
302
- "accept ${1:variable} ${2|from date,from day,from day-of-week,time|}",
303
- "$0"
304
- ],
305
- description: "accept from date/day/week/time",
306
- scope: "cobol,acucobol,opencobol,gnucobol"
307
- },
308
- "ACCEPT FROM": {
309
- prefix: "ACCEPT",
310
- body: [
311
- "ACCEPT ${1:variable} ${2|FROM DATE,FROM DAY,FROM DAY-OF-WEEK,TIME|}",
312
- "$0"
313
- ],
314
- description: "ACCEPT FROM DATE/DAY/WEEK/TIME",
315
- scope: "cobol,acucobol,opencobol,gnucobol"
316
- },
317
- "class-id": {
318
- prefix: "class-id",
319
- body: [
320
- " class-id $1 ${3|public,private|}.",
321
- "",
322
- " method-id new public.",
323
- " procedure division.",
324
- " $0",
325
- " exit method.",
326
- " end method.",
327
- "",
328
- " end class."
329
- ],
330
- description: "class with ctor",
331
- scope: "cobol"
332
- },
333
- copy: copy,
334
- COPY: COPY,
335
- "exec-sql": {
336
- prefix: "exec-sql",
337
- body: [
338
- "exec sql ${1:sql-statement} end-exec."
339
- ],
340
- description: "exec sql statement",
341
- scope: "cobol,acucobol"
342
- },
343
- "EXEC-SQL": {
344
- prefix: "EXEC-SQL",
345
- body: [
346
- "EXEC SQL ${1:SQL-STATEMENT} END-EXEC."
347
- ],
348
- description: "EXEC SQL STATEMENT",
349
- scope: "cobol,acucobol"
350
- },
351
- "exec-sql-include": {
352
- prefix: "exec-sql-include",
353
- body: [
354
- "exec sql include ${1:sqlstatement.cpy} end-exec."
355
- ],
356
- description: "exec sql include",
357
- scope: "cobol,acucobol"
358
- },
359
- "EXEC-SQL-INCLUDE": {
360
- prefix: "EXEC-SQL-INCLUDE",
361
- body: [
362
- "EXEC SQL INCLUDE ${1:sqlstatement.cpy} END-EXEC."
363
- ],
364
- description: "EXEC SQL INCLUDE",
365
- scope: "cobol,acucobol"
366
- },
367
- "exec-cics": {
368
- prefix: "exec-cics",
369
- body: [
370
- "exec cics ${1:cics-statement} end-exec."
371
- ],
372
- description: "exec cics statement",
373
- scope: "cobol,acucobol"
374
- },
375
- "EXEC-CICS": {
376
- prefix: "EXEC-CICS",
377
- body: [
378
- "EXEC CICS ${1:CICS-STATEMENT} END-EXEC."
379
- ],
380
- description: "EXEC CICS STATEMENT",
381
- scope: "cobol,acucobol"
382
- },
383
- divide: divide,
384
- DIVIDE: DIVIDE,
385
- entry: entry,
386
- ENTRY: ENTRY,
387
- evaluate: evaluate,
388
- EVALUATE: EVALUATE,
389
- "if": {
390
- prefix: "if",
391
- body: [
392
- "if ${1:condition}",
393
- " $0",
394
- "end-if"
395
- ],
396
- scope: "cobol"
397
- },
398
- IF: IF,
399
- "if else": {
400
- prefix: "if",
401
- body: [
402
- "if ${1:condition}",
403
- " $0",
404
- "else",
405
- " ",
406
- "end-if"
407
- ],
408
- scope: "cobol"
409
- },
410
- "IF ELSE": {
411
- prefix: "IF",
412
- body: [
413
- "IF ${1:CONDITION}",
414
- " $0",
415
- "ELSE",
416
- " ",
417
- "END-IF"
418
- ],
419
- scope: "cobol"
420
- },
421
- "inspect converting": {
422
- prefix: "inspect",
423
- body: [
424
- "inspect $1 converting '${2:ABCDEFGHIJKLMNOPQRSTUVWXYZ}' to '${3:abcdefghijklmnopqrstuvwxyz}'"
425
- ],
426
- description: "inspect converting",
427
- scope: "cobol,acucobol,opencobol,gnucobol"
428
- },
429
- "INSPECT CONVERTING": {
430
- prefix: "INSPECT",
431
- body: [
432
- "INSPECT $1 CONVERTING '${2:ABCDEFGHIJKLMNOPQRSTUVWXYZ}' to '${3:abcdefghijklmnopqrstuvwxyz}'"
433
- ],
434
- description: "INSPECT CONVERTING",
435
- scope: "cobol,acucobol,opencobol,gnucobol"
436
- },
437
- "inspect replacing": {
438
- prefix: "inspect",
439
- body: [
440
- "inspect $1 replacing all ${2|spaces,zero|} by '${3}'"
441
- ],
442
- description: "inspect replacing",
443
- scope: "cobol,acucobol,opencobol,gnucobol"
444
- },
445
- "INSPECT REPLACING": {
446
- prefix: "INSPECT",
447
- body: [
448
- "INSPECT $1 REPLACING ALL ${2|SPACES,ZERO|} BY '${3}'"
449
- ],
450
- description: "INSPECT REPLACING",
451
- scope: "cobol,acucobol,opencobol,gnucobol"
452
- },
453
- "inspect tallying": {
454
- prefix: "inspect",
455
- body: [
456
- "move 0 to ${2:counter}",
457
- "inspect ${1:source} tallying ${2:counter} for ${3|all spaces,all $4,characters|}"
458
- ],
459
- description: "Inspect a tallying counter for ...",
460
- scope: "cobol,acucobol,opencobol,gnucobol"
461
- },
462
- "INSPECT TALLYING": {
463
- prefix: "INSPECT",
464
- body: [
465
- "MOVE 0 to ${2:COUNTER}",
466
- "INSPECT ${1:SOURCE} TALLYING ${2:COUNTER} FOR ${3|ALL SPACES,ALL $4,CHARACTERS|}"
467
- ],
468
- description: "Inspect a tallying counter for ...",
469
- scope: "cobol,acucobol,opencobol,gnucobol"
470
- },
471
- "main method-id": {
472
- prefix: "main",
473
- body: [
474
- "*>> <summary>method main</summary>",
475
- "method-id main public static.",
476
- "procedure division using",
477
- " by value args as string occurs any.",
478
- " $0",
479
- "end method.",
480
- ""
481
- ],
482
- description: "method-id (main)",
483
- scope: "cobol"
484
- },
485
- "method-id": {
486
- prefix: "method-id",
487
- body: [
488
- "*>> <summary>method $1</summary>",
489
- "method-id $1.",
490
- "procedure division.",
491
- " $0",
492
- "end method.",
493
- ""
494
- ],
495
- description: "method-id",
496
- scope: "cobol"
497
- },
498
- multiply: multiply,
499
- MULTIPLY: MULTIPLY,
500
- perform: perform,
501
- PERFORM: PERFORM,
502
- "perform-end-perform": {
503
- prefix: "perform",
504
- body: [
505
- "perform ${1}",
506
- "\t${2}",
507
- "end-perform",
508
- "${0}"
509
- ],
510
- description: "perform .. end-perform",
511
- scope: "cobol,acucobol,opencobol,gnucobol"
512
- },
513
- "PERFORM-END-PERFORM": {
514
- prefix: "PERFORM",
515
- body: [
516
- "PERFORM ${1}",
517
- "\t${2}",
518
- "END-PERFORM",
519
- "${0}"
520
- ],
521
- description: "PERFORM .. END-PERFORM",
522
- scope: "cobol,acucobol,opencobol,gnucobol"
523
- },
524
- "perform varying": {
525
- prefix: "perform",
526
- body: [
527
- "perform ${1:paragraph-name} varying ${2:field-1}",
528
- " from ${3:value-1} by ${4:value-2}",
529
- " until ${5:condition}",
530
- "$0"
531
- ],
532
- description: "inline perform varying",
533
- scope: "cobol,acucobol,opencobol,gnucobol"
534
- },
535
- "PERFORM VARYING": {
536
- prefix: "PERFORM",
537
- body: [
538
- "PERFORM ${1:paragraph-name} VARYING ${2:field-1}",
539
- " FROM ${3:value-1} BY ${4:value-2}",
540
- " UNTIL ${5:condition}",
541
- "$0"
542
- ],
543
- description: "INLINE PERFORM VARYING",
544
- scope: "cobol,acucobol,opencobol,gnucobol"
545
- },
546
- shell: shell,
547
- property: property,
548
- subtract: subtract,
549
- SUBTRACT: SUBTRACT,
550
- display: display,
551
- DISPLAY: DISPLAY,
552
- string: string,
553
- STRING: STRING,
554
- "function-abs": {
555
- prefix: [
556
- "function-abs"
557
- ],
558
- body: [
559
- "function abs(${1:number})$0"
560
- ],
561
- description: "function absolute value of number",
562
- scope: "cobol,acucobol,opencobol,gnucobol"
563
- },
564
- "function-acos": {
565
- prefix: [
566
- "function-acos"
567
- ],
568
- body: [
569
- "function acos(${1:cosine})$0"
570
- ],
571
- description: "function trigonometric arc-cosine, or inverse cosine, of cosine",
572
- scope: "cobol,acucobol,opencobol,gnucobol"
573
- },
574
- "function-annuity": {
575
- prefix: [
576
- "function-annuity"
577
- ],
578
- body: [
579
- "function annuity(${1:interest-rate},${2:number-of-periods})$0"
580
- ],
581
- description: "function annuity",
582
- scope: "cobol,acucobol,opencobol,gnucobol"
583
- },
584
- "function-asin": {
585
- prefix: [
586
- "function-asin"
587
- ],
588
- body: [
589
- "function asin(${1:sine})$0"
590
- ],
591
- description: "function trigonometric arc-sine, or inverse sine, of sine",
592
- scope: "cobol,acucobol,opencobol,gnucobol"
593
- },
594
- "function-atan": {
595
- prefix: [
596
- "function-atan"
597
- ],
598
- body: [
599
- "function atan(${1:tangent})$0"
600
- ],
601
- description: "function trigonometric arc-tangent, or inverse tangent, of tangent",
602
- scope: "cobol,acucobol,opencobol,gnucobol"
603
- },
604
- "function-bit-of": {
605
- prefix: [
606
- "function-bit-of"
607
- ],
608
- body: [
609
- "function bit-of(${1:integer})$0"
610
- ],
611
- description: "function to convert the argument to bits",
612
- scope: "cobol,acucobol,opencobol,gnucobol"
613
- },
614
- "function-bit-to-char": {
615
- prefix: [
616
- "function-bit-to-char"
617
- ],
618
- body: [
619
- "function bit-to-char(${1:integer})$0"
620
- ],
621
- description: "function to convert bits to character",
622
- scope: "cobol,acucobol,opencobol,gnucobol"
623
- },
624
- "function-byte-length": {
625
- prefix: [
626
- "function-byte-length"
627
- ],
628
- body: [
629
- "function byte-length(${1:integer})$0"
630
- ],
631
- description: "function byte-length (in bytes) of item",
632
- scope: "cobol,acucobol,opencobol,gnucobol"
633
- },
634
- "function-char": {
635
- prefix: [
636
- "function-char"
637
- ],
638
- body: [
639
- "function char(${1:integer})$0"
640
- ],
641
- description: "function character in the ordinal position specified by integer, from the current alphanumeric collating sequence",
642
- scope: "cobol,acucobol,opencobol,gnucobol"
643
- },
644
- "function-cos": {
645
- prefix: [
646
- "function-cos"
647
- ],
648
- body: [
649
- "function cos(${1:angle})$0"
650
- ],
651
- description: "function trigonometric cosine of angle",
652
- scope: "cobol,acucobol,opencobol,gnucobol"
653
- },
654
- "function-currency-symbol": {
655
- prefix: [
656
- "function-currency-symbol"
657
- ],
658
- body: [
659
- "function currency-symbol()$0"
660
- ],
661
- description: "function currency symbol character currently in effect for the locale under which the program is running",
662
- scope: "cobol,acucobol,opencobol,gnucobol"
663
- },
664
- "function-current-date": {
665
- prefix: [
666
- "function-current-date"
667
- ],
668
- body: [
669
- "function current-date(${1:date-and-time-format})$0"
670
- ],
671
- description: "function current date and time as 21-character value",
672
- scope: "cobol,acucobol,opencobol,gnucobol"
673
- },
674
- "function-date-of-integer": {
675
- prefix: [
676
- "function date-of-integer"
677
- ],
678
- body: [
679
- "function date-of-integer(${1:integer})$0"
680
- ],
681
- description: "function to convert the integer date to standard date format",
682
- scope: "cobol,acucobol,opencobol,gnucobol"
683
- },
684
- "function-date-to-yyyymmdd": {
685
- prefix: [
686
- "function-date-to-yyyymmdd"
687
- ],
688
- body: [
689
- "function date--to-yyyymmdd(${1:integer},${2:integer})$0"
690
- ],
691
- description: "function to convert a date with a 2 digit year to a 4 digit year",
692
- scope: "cobol,acucobol,opencobol,gnucobol"
693
- },
694
- "function-day-of-integer": {
695
- prefix: [
696
- "function-day-of-integer"
697
- ],
698
- body: [
699
- "function day-of-integer(${1:integer})$0"
700
- ],
701
- description: "function to convert the integer date to number of days in the gregorian calendar",
702
- scope: "cobol,acucobol,opencobol,gnucobol"
703
- },
704
- "function-day-to-yyyyddd": {
705
- prefix: [
706
- "function-day-to-yyyyddd"
707
- ],
708
- body: [
709
- "function date--to-yyyyddd(${1:integer},${2:integer})$0"
710
- ],
711
- description: "function to convert a date with a 2 digit year to a 4 digit year",
712
- scope: "cobol,acucobol,opencobol,gnucobol"
713
- },
714
- "function-display-of": {
715
- prefix: [
716
- "function-display-of"
717
- ],
718
- body: [
719
- "function display-of(${1:string},${2:integer})$0"
720
- ],
721
- description: "function to convert an alphanumeric string using a codepage",
722
- scope: "cobol,acucobol,opencobol,gnucobol"
723
- },
724
- "function-exp": {
725
- prefix: [
726
- "function-exp"
727
- ],
728
- body: [
729
- "function exp(${1:integer})$0"
730
- ],
731
- description: "function to return e raised to the power of the argument",
732
- scope: "cobol,acucobol,opencobol,gnucobol"
733
- },
734
- "function-exp10": {
735
- prefix: [
736
- "function-exp10"
737
- ],
738
- body: [
739
- "function exp10(${1:integer})$0"
740
- ],
741
- description: "function to return 10 raised to the power of the argument",
742
- scope: "cobol,acucobol,opencobol,gnucobol"
743
- },
744
- "function-factorial": {
745
- prefix: [
746
- "function-factorial"
747
- ],
748
- body: [
749
- "function factorial(${1:integer})$0"
750
- ],
751
- description: "function to return the factorial of the argument",
752
- scope: "cobol,acucobol,opencobol,gnucobol"
753
- },
754
- "function-hex-of": {
755
- prefix: [
756
- "function-hex-of"
757
- ],
758
- body: [
759
- "function hex-of(${1:variable})$0"
760
- ],
761
- description: "function to return hexadecimal representation of the argument",
762
- scope: "cobol,acucobol,opencobol,gnucobol"
763
- },
764
- "function-hex-to-char": {
765
- prefix: [
766
- "function-hex-to-char"
767
- ],
768
- body: [
769
- "function hex-to-char(${1:variable})$0"
770
- ],
771
- description: "function to return a character string that is a hexadecimal representation of the argument",
772
- scope: "cobol,acucobol,opencobol,gnucobol"
773
- },
774
- "function-integer": {
775
- prefix: [
776
- "function-integer"
777
- ],
778
- body: [
779
- "function integer(${1:number})$0"
780
- ],
781
- description: "greatest integer value that is less than or equal to number",
782
- scope: "cobol,acucobol,opencobol,gnucobol"
783
- },
784
- "function-integer-of-date": {
785
- prefix: [
786
- "function-integer-of-date"
787
- ],
788
- body: [
789
- "function integer-of-date(${1:yyyymmdd})$0"
790
- ],
791
- description: "converts yyyymmdd to an internal integer-date",
792
- scope: "cobol,acucobol,opencobol,gnucobol"
793
- },
794
- "function-integer-of-day": {
795
- prefix: [
796
- "function-integer-of-day"
797
- ],
798
- body: [
799
- "function integer-of-day(${1:yyyymmdd})$0"
800
- ],
801
- description: "converts yyyymmdd to an internal integer-day",
802
- scope: "cobol,acucobol,opencobol,gnucobol"
803
- },
804
- "function-integer-part": {
805
- prefix: [
806
- "function-integer-part"
807
- ],
808
- body: [
809
- "function integer-part(${1:number})$0"
810
- ],
811
- description: "portion of number that occurs to the left of the decimal point",
812
- scope: "cobol,acucobol,opencobol,gnucobol"
813
- },
814
- "function-length": {
815
- prefix: [
816
- "function-length"
817
- ],
818
- body: [
819
- "function length(${1:item})$0"
820
- ],
821
- description: "returns the length (in character positions) of the specified item",
822
- scope: "cobol,acucobol,opencobol,gnucobol"
823
- },
824
- "function-log": {
825
- prefix: [
826
- "function-log"
827
- ],
828
- body: [
829
- "function log(${1:number})$0"
830
- ],
831
- description: "format base e logarithm of number",
832
- scope: "cobol,acucobol,opencobol,gnucobol"
833
- },
834
- "function-log10": {
835
- prefix: [
836
- "function-log10"
837
- ],
838
- body: [
839
- "function log10(${1:number})$0"
840
- ],
841
- description: "format base 10 logarithm of number",
842
- scope: "cobol,acucobol,opencobol,gnucobol"
843
- },
844
- "function-lowercase": {
845
- prefix: [
846
- "function-lowercase"
847
- ],
848
- body: [
849
- "function lowercase(${1:string})$0"
850
- ],
851
- description: "character string that contains string with any uppercase letters replaced by their corresponding lowercase letters",
852
- scope: "cobol,acucobol,opencobol,gnucobol"
853
- },
854
- "function-max": {
855
- prefix: [
856
- "function-max"
857
- ],
858
- body: [
859
- "function max(${1:number},${2:...})$0"
860
- ],
861
- description: "Alphanumeric/Index/Integer/National/Numeric maximum value from the specified list of numbers",
862
- scope: "cobol,acucobol,opencobol,gnucobol"
863
- },
864
- "function-mean": {
865
- prefix: [
866
- "function-mean"
867
- ],
868
- body: [
869
- "function mean(${1:number},${2:...})$0"
870
- ],
871
- description: "statistical mean value of the specified list of numbers",
872
- scope: "cobol,acucobol,opencobol,gnucobol"
873
- },
874
- "function-median": {
875
- prefix: [
876
- "function-median"
877
- ],
878
- body: [
879
- "function median(${1:number},${2:...})$0"
880
- ],
881
- description: "statistical median value of the specified list of numbers",
882
- scope: "cobol,acucobol,opencobol,gnucobol"
883
- },
884
- "function-midrange": {
885
- prefix: [
886
- "function-midrange"
887
- ],
888
- body: [
889
- "function midrange(${1:number},${2:...})$0"
890
- ],
891
- description: "statistical midrange value of the specified list of numbers",
892
- scope: "cobol,acucobol,opencobol,gnucobol"
893
- },
894
- "function-min": {
895
- prefix: [
896
- "function-min"
897
- ],
898
- body: [
899
- "function min(${1:number},${2:...})$0"
900
- ],
901
- description: "statistical min value of the specified list of numbers",
902
- scope: "cobol,acucobol,opencobol,gnucobol"
903
- },
904
- "function-mod": {
905
- prefix: [
906
- "function-mod"
907
- ],
908
- body: [
909
- "function mod(${1:value},${2:modulus})$0"
910
- ],
911
- description: "remainder from the division of value by modulus",
912
- scope: "cobol,acucobol,opencobol,gnucobol"
913
- },
914
- "function-national-of": {
915
- prefix: [
916
- "function-national-of"
917
- ],
918
- body: [
919
- "function national-of(${1:alphanumeric-string},${2:replacement-char})$0"
920
- ],
921
- description: "convert alphanumeric-string to the national coded character set representation",
922
- scope: "cobol,acucobol,opencobol,gnucobol"
923
- },
924
- "function-numval": {
925
- prefix: [
926
- "function-numval"
927
- ],
928
- body: [
929
- "function numval(${1:string})$0"
930
- ],
931
- description: "corresponding numeric value for string",
932
- scope: "cobol,acucobol,opencobol,gnucobol"
933
- },
934
- "function-numval-c": {
935
- prefix: [
936
- "function-numval-c"
937
- ],
938
- body: [
939
- "function numval-c(${1:string},${2:currency-symbol}${3:,ANYCASE})$0"
940
- ],
941
- description: "corresponding numeric value for string, case-sensitive if ANYCASE not given",
942
- scope: "cobol,acucobol,opencobol,gnucobol"
943
- },
944
- "function-numval-f": {
945
- prefix: [
946
- "function-numval-f"
947
- ],
948
- body: [
949
- "function numval-f(${1:string})$0"
950
- ],
951
- description: "corresponding numeric value for floating-point-string",
952
- scope: "cobol,acucobol,opencobol,gnucobol"
953
- },
954
- "function-ord": {
955
- prefix: [
956
- "function-ord"
957
- ],
958
- body: [
959
- "function ord(${1:char},${2:...})$0"
960
- ],
961
- description: "ordinal position in the program character set corresponding to char",
962
- scope: "cobol,acucobol,opencobol,gnucobol"
963
- },
964
- "function-ord-max": {
965
- prefix: [
966
- "function-ord-max"
967
- ],
968
- body: [
969
- "function ord-max(${1:char},${2:...})$0"
970
- ],
971
- description: "max. ordinal position in the program character set corresponding to list of chars",
972
- scope: "cobol,acucobol,opencobol,gnucobol"
973
- },
974
- "function-ord-min": {
975
- prefix: [
976
- "function-ord-min"
977
- ],
978
- body: [
979
- "function ord-min(${1:char},${2:...})$0"
980
- ],
981
- description: "min. ordinal position in the program character set corresponding to list of chars",
982
- scope: "cobol,acucobol,opencobol,gnucobol"
983
- },
984
- "function-pi": {
985
- prefix: [
986
- "function-pi"
987
- ],
988
- body: [
989
- "function pi()$0"
990
- ],
991
- description: "pi",
992
- scope: "cobol,acucobol,opencobol,gnucobol"
993
- },
994
- "function-present-value": {
995
- prefix: [
996
- "function-present-value"
997
- ],
998
- body: [
999
- "function present-value(${1:discount-rate},${2:amount},${3:...})$0"
1000
- ],
1001
- description: "approximation of the present value of a series of future period-end amount",
1002
- scope: "cobol,acucobol,opencobol,gnucobol"
1003
- },
1004
- "function-random": {
1005
- prefix: [
1006
- "function-random"
1007
- ],
1008
- body: [
1009
- "function random(${1:seed})$0"
1010
- ],
1011
- description: "pseudo-random number 0> <1 from a rectangular distribution with optional seed",
1012
- scope: "cobol,acucobol,opencobol,gnucobol"
1013
- },
1014
- "function-range": {
1015
- prefix: [
1016
- "function-range"
1017
- ],
1018
- body: [
1019
- "function range(${1:argument},${2:...})$0"
1020
- ],
1021
- description: "value of the maximum argument minus the value of the minimum argument",
1022
- scope: "cobol,acucobol,opencobol,gnucobol"
1023
- },
1024
- "function-rem": {
1025
- prefix: [
1026
- "function-rem"
1027
- ],
1028
- body: [
1029
- "function rem(${1:number},${2:divisor})$0"
1030
- ],
1031
- description: "remainder of number divided by divisor",
1032
- scope: "cobol,acucobol,opencobol,gnucobol"
1033
- },
1034
- "function-reverse": {
1035
- prefix: [
1036
- "function-reverse"
1037
- ],
1038
- body: [
1039
- "function reverse(${1:string})$0"
1040
- ],
1041
- description: "reverse representation with same length of string",
1042
- scope: "cobol,acucobol,opencobol,gnucobol"
1043
- },
1044
- "function-sign": {
1045
- prefix: [
1046
- "function-sign"
1047
- ],
1048
- body: [
1049
- "function sign(${1:number})$0"
1050
- ],
1051
- description: "sign representation of number as -1, 0, 1",
1052
- scope: "cobol,acucobol,opencobol,gnucobol"
1053
- },
1054
- "function-sin": {
1055
- prefix: [
1056
- "function-sin"
1057
- ],
1058
- body: [
1059
- "function sin(${1:angle})$0"
1060
- ],
1061
- description: "trigonometric sine of the specified angle",
1062
- scope: "cobol,acucobol,opencobol,gnucobol"
1063
- },
1064
- "function-standard-deviation": {
1065
- prefix: [
1066
- "function-standard-deviation"
1067
- ],
1068
- body: [
1069
- "function standard-deviation(${1:integer})$0"
1070
- ],
1071
- description: "function to return the standard deviation of its arguments",
1072
- scope: "cobol,acucobol,opencobol,gnucobol"
1073
- },
1074
- "function-sqrt": {
1075
- prefix: [
1076
- "function-sqrt"
1077
- ],
1078
- body: [
1079
- "function sqrt(${1:number})$0"
1080
- ],
1081
- description: "aproximation of the square root of number",
1082
- scope: "cobol,acucobol,opencobol,gnucobol"
1083
- },
1084
- "function-sum": {
1085
- prefix: [
1086
- "function-sum"
1087
- ],
1088
- body: [
1089
- "function sum(${1:integer})$0"
1090
- ],
1091
- description: "function to return the sum of its arguments",
1092
- scope: "cobol,acucobol,opencobol,gnucobol"
1093
- },
1094
- "function-tan": {
1095
- prefix: [
1096
- "function-tan"
1097
- ],
1098
- body: [
1099
- "function tan(${1:angle})$0"
1100
- ],
1101
- description: "trigonometric tangent of the specified angle",
1102
- scope: "cobol,acucobol,opencobol,gnucobol"
1103
- },
1104
- "function-test-numval": {
1105
- prefix: [
1106
- "function-test-numval"
1107
- ],
1108
- body: [
1109
- "function test-numval(${1:integer})$0"
1110
- ],
1111
- description: "function to verify the contents of the argument",
1112
- scope: "cobol,acucobol,opencobol,gnucobol"
1113
- },
1114
- "function-test-numval-f": {
1115
- prefix: [
1116
- "function-test-numval-f"
1117
- ],
1118
- body: [
1119
- "function test-numval-f(${1:integer})$0"
1120
- ],
1121
- description: "function to verify the contents of the argument",
1122
- scope: "cobol,acucobol,opencobol,gnucobol"
1123
- },
1124
- "function-trim": {
1125
- prefix: [
1126
- "function-trim"
1127
- ],
1128
- body: [
1129
- "function trim(${1:variable})$0"
1130
- ],
1131
- description: "function to trim leading and or trailing spaces of the argument",
1132
- scope: "cobol,acucobol,opencobol,gnucobol"
1133
- },
1134
- "function-ulength": {
1135
- prefix: [
1136
- "function-ulength"
1137
- ],
1138
- body: [
1139
- "function ulength(${1:variable})$0"
1140
- ],
1141
- description: "function to return the number of UTF8 or UTF16 characters of the argument",
1142
- scope: "cobol,acucobol,opencobol,gnucobol"
1143
- },
1144
- "function-upos": {
1145
- prefix: [
1146
- "function-upos"
1147
- ],
1148
- body: [
1149
- "function upos(${1:string},${2:integer})$0"
1150
- ],
1151
- description: "function to return an integer value equal to the position of the nth item in the passed UTF8 or UTF16 argument",
1152
- scope: "cobol,acucobol,opencobol,gnucobol"
1153
- },
1154
- "function-upper-case": {
1155
- prefix: [
1156
- "function-upper-case"
1157
- ],
1158
- body: [
1159
- "function upper-case(${1:variable})$0"
1160
- ],
1161
- description: "function to return the argument in upper case",
1162
- scope: "cobol,acucobol,opencobol,gnucobol"
1163
- },
1164
- "function-usubstr": {
1165
- prefix: [
1166
- "function-usubstr"
1167
- ],
1168
- body: [
1169
- "function usubstr(${1:variable},${2:integer},$(3:integer)$0"
1170
- ],
1171
- description: "function to return substring of the character data passed that contains UTF8 or UTF16 data",
1172
- scope: "cobol,acucobol,opencobol,gnucobol"
1173
- },
1174
- "function-usupplementary": {
1175
- prefix: [
1176
- "function-usupplementary"
1177
- ],
1178
- body: [
1179
- "function usupplementary(${1:variable})$0"
1180
- ],
1181
- description: "function to return an integer value equating to the index of the first unicode character of the argument",
1182
- scope: "cobol,acucobol,opencobol,gnucobol"
1183
- },
1184
- "function-uvalid": {
1185
- prefix: [
1186
- "function-uvalid"
1187
- ],
1188
- body: [
1189
- "function uvalid(${1:variable})$0"
1190
- ],
1191
- description: "function to return an integer value equating to the index of the first invalid unicode character of the argument",
1192
- scope: "cobol,acucobol,opencobol,gnucobol"
1193
- },
1194
- "function-uwidth": {
1195
- prefix: [
1196
- "function-uwidth"
1197
- ],
1198
- body: [
1199
- "function uwidth(${1:string},${2:integer})$0"
1200
- ],
1201
- description: "function to return an integer value equal to the width in bytes of the nth item in the passed UTF8 or UTF16 argument",
1202
- scope: "cobol,acucobol,opencobol,gnucobol"
1203
- },
1204
- "function-variance": {
1205
- prefix: [
1206
- "function-variance"
1207
- ],
1208
- body: [
1209
- "function variance(${1:number},${2:...})$0"
1210
- ],
1211
- description: "statistical variance of the specified list of number argument",
1212
- scope: "cobol,acucobol,opencobol,gnucobol"
1213
- },
1214
- "function-year-to-yyyy": {
1215
- prefix: [
1216
- "function-year-to-yyyy"
1217
- ],
1218
- body: [
1219
- "function year-to-yyyy(${1:yy},${2:[yy-cutoff, default: 50},${3:yy-execution-time, default: now})$0"
1220
- ],
1221
- description: "convert yy to yyyy with optional yy-cutoff to delineate centuries",
1222
- scope: "cobol,acucobol,opencobol,gnucobol"
1223
- },
1224
- call: call,
1225
- "FUNCTION-ABS": {
1226
- prefix: [
1227
- "fUNCTION-ABS"
1228
- ],
1229
- body: [
1230
- "FUNCTION ABS(${1:number})$0"
1231
- ],
1232
- description: "function absolute value of number",
1233
- scope: "cobol,acucobol,opencobol,gnucobol"
1234
- },
1235
- "FUNCTION-ACOS": {
1236
- prefix: [
1237
- "FUNCTION-ACOS"
1238
- ],
1239
- body: [
1240
- "FUNCTION ACOS(${1:cosine})$0"
1241
- ],
1242
- description: "function trigonometric arc-cosine, or inverse cosine, of cosine",
1243
- scope: "cobol,acucobol,opencobol,gnucobol"
1244
- },
1245
- "FUNCTION-ANNUITY": {
1246
- prefix: [
1247
- "FUNCTION-ANNUITY"
1248
- ],
1249
- body: [
1250
- "FUNCTION ANNUITY(${1:interest-rate},${2:number-of-periods})$0"
1251
- ],
1252
- description: "function annuity",
1253
- scope: "cobol,acucobol,opencobol,gnucobol"
1254
- },
1255
- "FUNCTION-ASIN": {
1256
- prefix: [
1257
- "FUNCTION-ASIN"
1258
- ],
1259
- body: [
1260
- "FUNCTION ASIN(${1:sine})$0"
1261
- ],
1262
- description: "function trigonometric arc-sine, or inverse sine, of sine",
1263
- scope: "cobol,acucobol,opencobol,gnucobol"
1264
- },
1265
- "FUNCTION-ATAN": {
1266
- prefix: [
1267
- "fUNCTION-ATAN"
1268
- ],
1269
- body: [
1270
- "FUNCTION ATAN(${1:tangent})$0"
1271
- ],
1272
- description: "function trigonometric arc-tangent, or inverse tangent, of tangent",
1273
- scope: "cobol,acucobol,opencobol,gnucobol"
1274
- },
1275
- "FUNCTION-BOOLEAN-OF-INTEGER": {
1276
- prefix: [
1277
- "FUNCTION-BOOLEAN-OF-INTEGER"
1278
- ],
1279
- body: [
1280
- "FUNCTION BOOLEAN-OF-INTEGER(${1:integer},${2:length})$0"
1281
- ],
1282
- description: "function boolean item of usage bit representing the binary value of integer; with the given length",
1283
- scope: "cobol,acucobol,opencobol,gnucobol"
1284
- },
1285
- "FUNCTION-BYTE-LENGTH": {
1286
- prefix: [
1287
- "FUNCTION-BYTE-LENGTH"
1288
- ],
1289
- body: [
1290
- "FUNCTION BYTE-LENGTH(${1:integer})$0"
1291
- ],
1292
- description: "function byte-length (in bytes) of item",
1293
- scope: "cobol,acucobol,opencobol,gnucobol"
1294
- },
1295
- "FUNCTION-CHAR": {
1296
- prefix: [
1297
- "FUNCTION-CHAR"
1298
- ],
1299
- body: [
1300
- "FUNCTION CHAR(${1:integer})$0"
1301
- ],
1302
- description: "function character in the ordinal position specified by integer, from the current alphanumeric collating sequence",
1303
- scope: "cobol,acucobol,opencobol,gnucobol"
1304
- },
1305
- "FUNCTION-COS": {
1306
- prefix: [
1307
- "FUNCTION-COS"
1308
- ],
1309
- body: [
1310
- "FUNCTION COS(${1:angle})$0"
1311
- ],
1312
- description: "function trigonometric cosine of angle",
1313
- scope: "cobol,acucobol,opencobol,gnucobol"
1314
- },
1315
- "FUNCTION-CURRENCY-SYMBOL": {
1316
- prefix: [
1317
- "FUNCTION-CURRENCY-SYMBOL"
1318
- ],
1319
- body: [
1320
- "FUNCTION CURRENCY-SYMBOL()$0"
1321
- ],
1322
- description: "function currency symbol character currently in effect for the locale under which the program is running",
1323
- scope: "cobol,acucobol,opencobol,gnucobol"
1324
- },
1325
- "FUNCTION-CURRENT-DATE": {
1326
- prefix: [
1327
- "FUNCTION-CURRENT-DATE"
1328
- ],
1329
- body: [
1330
- "FUNCTION CURRENT-DATE(${1:date-and-time-format})$0"
1331
- ],
1332
- description: "function current date and time as 21-character value",
1333
- scope: "cobol,acucobol,opencobol,gnucobol"
1334
- },
1335
- "FUNCTION-DATE-OF-INTEGER": {
1336
- prefix: [
1337
- "FUNCTION-DATE-OF-INTEGER"
1338
- ],
1339
- body: [
1340
- "FUNCTION DATE-OF-INTEGER(${1:integer})$0"
1341
- ],
1342
- description: "function to convert the integer date to standard date format",
1343
- scope: "cobol,acucobol,opencobol,gnucobol"
1344
- },
1345
- "FUNCTION-DATE-TO-YYYYMMDD": {
1346
- prefix: [
1347
- "FUNCTION-DATE-TO-YYYYMMDD"
1348
- ],
1349
- body: [
1350
- "FUNCTION DATE--TO-YYYYMMDD(${1:integer},${2:integer})$0"
1351
- ],
1352
- description: "function to convert a date with a 2 digit year to a 4 digit year",
1353
- scope: "cobol,acucobol,opencobol,gnucobol"
1354
- },
1355
- "FUNCTION-DAY-OF-INTEGER": {
1356
- prefix: [
1357
- "FUNCTION-DAY-OF-INTEGER"
1358
- ],
1359
- body: [
1360
- "FUNCTION DAY-OF-INTEGER(${1:integer})$0"
1361
- ],
1362
- description: "function to convert the integer date to number of days in the gregorian calendar",
1363
- scope: "cobol,acucobol,opencobol,gnucobol"
1364
- },
1365
- "FUNCTION-DAY-TO-YYYYDDD": {
1366
- prefix: [
1367
- "FUNCTION-DAY-TO-YYYYDDD"
1368
- ],
1369
- body: [
1370
- "FUNCTION DATE--TO-YYYYDDD(${1:integer},${2:integer})$0"
1371
- ],
1372
- description: "function to convert a date with a 2 digit year to a 4 digit year",
1373
- scope: "cobol,acucobol,opencobol,gnucobol"
1374
- },
1375
- "FUNCTION-DISPLAY-OF": {
1376
- prefix: [
1377
- "FUNCTION-DISPLAY-OF"
1378
- ],
1379
- body: [
1380
- "FUNCTION DISPLAY-OF(${1:string},${2:integer})$0"
1381
- ],
1382
- description: "function to convert an alphanumeric string using a codepage",
1383
- scope: "cobol,acucobol,opencobol,gnucobol"
1384
- },
1385
- "FUNCTION-EXP": {
1386
- prefix: [
1387
- "FUNCTION-EXP"
1388
- ],
1389
- body: [
1390
- "FUNCTION EXP(${1:integer})$0"
1391
- ],
1392
- description: "function to return e raised to the power of the argument",
1393
- scope: "cobol,acucobol,opencobol,gnucobol"
1394
- },
1395
- "FUNCTION-EXP10": {
1396
- prefix: [
1397
- "FUNCTION-EXP10"
1398
- ],
1399
- body: [
1400
- "FUNCTION EXP10(${1:integer})$0"
1401
- ],
1402
- description: "function to return 10 raised to the power of the argument",
1403
- scope: "cobol,acucobol,opencobol,gnucobol"
1404
- },
1405
- "FUNCTION-FACTORIAL": {
1406
- prefix: [
1407
- "FUNCTION-FACTORIAL"
1408
- ],
1409
- body: [
1410
- "FUNCTION FACTORIAL(${1:integer})$0"
1411
- ],
1412
- description: "function to return the factorial of the argument",
1413
- scope: "cobol,acucobol,opencobol,gnucobol"
1414
- },
1415
- "FUNCTION-HEX-OF": {
1416
- prefix: [
1417
- "FUNCTION-HEX-OF"
1418
- ],
1419
- body: [
1420
- "FUNCTION HEX-OF(${1:variable})$0"
1421
- ],
1422
- description: "function to return hexadecimal representation of the argument",
1423
- scope: "cobol,acucobol,opencobol,gnucobol"
1424
- },
1425
- "FUNCTION-HEX-TO-CHAR": {
1426
- prefix: [
1427
- "FUNCTION-HEX-TO-CHAR"
1428
- ],
1429
- body: [
1430
- "FUNCTION HEX-TO-CHAR(${1:variable})$0"
1431
- ],
1432
- description: "function to return a character string that is a hexadecimal representation of the argument",
1433
- scope: "cobol,acucobol,opencobol,gnucobol"
1434
- },
1435
- "FUNCTION-INTEGER": {
1436
- prefix: [
1437
- "FUNCTION-INTEGER"
1438
- ],
1439
- body: [
1440
- "FUNCTION INTEGER(${1:number})$0"
1441
- ],
1442
- description: "greatest integer value that is less than or equal to number",
1443
- scope: "cobol,acucobol,opencobol,gnucobol"
1444
- },
1445
- "FUNCTION-INTEGER-OF-DATE": {
1446
- prefix: [
1447
- "FUNCTION-INTEGER-OF-DATE"
1448
- ],
1449
- body: [
1450
- "FUNCTION INTEGER-OF-DATE(${1:yyyymmdd})$0"
1451
- ],
1452
- description: "converts yyyymmdd to an internal integer-date",
1453
- scope: "cobol,acucobol,opencobol,gnucobol"
1454
- },
1455
- "FUNCTION-INTEGER-OF-DAY": {
1456
- prefix: [
1457
- "FUNCTION-INTEGER-OF-DAY"
1458
- ],
1459
- body: [
1460
- "FUNCTION INTEGER-OF-DAY(${1:yyyymmdd})$0"
1461
- ],
1462
- description: "converts yyyymmdd to an internal integer-day",
1463
- scope: "cobol,acucobol,opencobol,gnucobol"
1464
- },
1465
- "FUNCTION-INTEGER-PART": {
1466
- prefix: [
1467
- "FUNCTION-INTEGER-PART"
1468
- ],
1469
- body: [
1470
- "FUNCTION INTEGER-PART(${1:number})$0"
1471
- ],
1472
- description: "portion of number that occurs to the left of the decimal point",
1473
- scope: "cobol,acucobol,opencobol,gnucobol"
1474
- },
1475
- "FUNCTION-LENGTH": {
1476
- prefix: [
1477
- "FUNCTION-LENGTH"
1478
- ],
1479
- body: [
1480
- "FUNCTION LENGTH(${1:item})$0"
1481
- ],
1482
- description: "returns the length (in character positions) of the specified item",
1483
- scope: "cobol,acucobol,opencobol,gnucobol"
1484
- },
1485
- "FUNCTION-LOG": {
1486
- prefix: [
1487
- "FUNCTION-LOG"
1488
- ],
1489
- body: [
1490
- "FUNCTION LOG(${1:number})$0"
1491
- ],
1492
- description: "format base e logarithm of number",
1493
- scope: "cobol,acucobol,opencobol,gnucobol"
1494
- },
1495
- "FUNCTION-LOG10": {
1496
- prefix: [
1497
- "FUNCTION-LOG10"
1498
- ],
1499
- body: [
1500
- "FUNCTION LOG10(${1:number})$0"
1501
- ],
1502
- description: "format base 10 logarithm of number",
1503
- scope: "cobol,acucobol,opencobol,gnucobol"
1504
- },
1505
- "FUNCTION-LOWERCASE": {
1506
- prefix: [
1507
- "FUNCTION-LOWERCASE"
1508
- ],
1509
- body: [
1510
- "FUNCTION LOWERCASE(${1:string})$0"
1511
- ],
1512
- description: "character string that contains string with any uppercase letters replaced by their corresponding lowercase letters",
1513
- scope: "cobol,acucobol,opencobol,gnucobol"
1514
- },
1515
- "FUNCTION-MAX": {
1516
- prefix: [
1517
- "FUNCTION-MAX"
1518
- ],
1519
- body: [
1520
- "FUNCTION MAX(${1:number},${2:...})$0"
1521
- ],
1522
- description: "Alphanumeric/Index/Integer/National/Numeric maximum value from the specified list of numbers",
1523
- scope: "cobol,acucobol,opencobol,gnucobol"
1524
- },
1525
- "FUNCTION-MEAN": {
1526
- prefix: [
1527
- "FUNCTION-MEAN"
1528
- ],
1529
- body: [
1530
- "FUNCTION MEAN(${1:number},${2:...})$0"
1531
- ],
1532
- description: "statistical mean value of the specified list of numbers",
1533
- scope: "cobol,acucobol,opencobol,gnucobol"
1534
- },
1535
- "FUNCTION-MEDIAN": {
1536
- prefix: [
1537
- "FUNCTION-MEDIAN"
1538
- ],
1539
- body: [
1540
- "FUNCTION MEDIAN(${1:number},${2:...})$0"
1541
- ],
1542
- description: "statistical median value of the specified list of numbers",
1543
- scope: "cobol,acucobol,opencobol,gnucobol"
1544
- },
1545
- "FUNCTION-MIDRANGE": {
1546
- prefix: [
1547
- "FUNCTION-MIDRANGE"
1548
- ],
1549
- body: [
1550
- "FUNCTION MIDRANGE(${1:number},${2:...})$0"
1551
- ],
1552
- description: "statistical midrange value of the specified list of numbers",
1553
- scope: "cobol,acucobol,opencobol,gnucobol"
1554
- },
1555
- "FUNCTION-MIN": {
1556
- prefix: [
1557
- "FUNCTION-MIN"
1558
- ],
1559
- body: [
1560
- "FUNCTION MIN(${1:number},${2:...})$0"
1561
- ],
1562
- description: "statistical min value of the specified list of numbers",
1563
- scope: "cobol,acucobol,opencobol,gnucobol"
1564
- },
1565
- "FUNCTION-MOD": {
1566
- prefix: [
1567
- "FUNCTION-MOD"
1568
- ],
1569
- body: [
1570
- "FUNCTION MOD(${1:value},${2:modulus})$0"
1571
- ],
1572
- description: "remainder from the division of value by modulus",
1573
- scope: "cobol,acucobol,opencobol,gnucobol"
1574
- },
1575
- "FUNCTION-NATIONAL-OF": {
1576
- prefix: [
1577
- "FUNCTION-NATIONAL-OF"
1578
- ],
1579
- body: [
1580
- "FUNCTION NATIONAL-OF(${1:alphanumeric-string},${2:replacement-char})$0"
1581
- ],
1582
- description: "convert alphanumeric-string to the national coded character set representation",
1583
- scope: "cobol,acucobol,opencobol,gnucobol"
1584
- },
1585
- "FUNCTION-NUMVAL": {
1586
- prefix: [
1587
- "FUNCTION-NUMVAL"
1588
- ],
1589
- body: [
1590
- "FUNCTION NUMVAL(${1:string})$0"
1591
- ],
1592
- description: "corresponding numeric value for string",
1593
- scope: "cobol,acucobol,opencobol,gnucobol"
1594
- },
1595
- "FUNCTION-NUMVAL-C": {
1596
- prefix: [
1597
- "FUNCTION-NUMVAL-C"
1598
- ],
1599
- body: [
1600
- "FUNCTION NUMVAL-C(${1:string},${2:currency-symbol}${3:,ANYCASE})$0"
1601
- ],
1602
- description: "corresponding numeric value for string, case-sensitive if ANYCASE not given",
1603
- scope: "cobol,acucobol,opencobol,gnucobol"
1604
- },
1605
- "FUNCTION-NUMVAL-F": {
1606
- prefix: [
1607
- "FUNCTION-NUMVAL-F"
1608
- ],
1609
- body: [
1610
- "FUNCTION NUMVAL-F(${1:string})$0"
1611
- ],
1612
- description: "corresponding numeric value for floating-point-string",
1613
- scope: "cobol,acucobol,opencobol,gnucobol"
1614
- },
1615
- "FUNCTION-ORD": {
1616
- prefix: [
1617
- "FUNCTION-ORD"
1618
- ],
1619
- body: [
1620
- "FUNCTION ORD(${1:char},${2:...})$0"
1621
- ],
1622
- description: "ordinal position in the program character set corresponding to char",
1623
- scope: "cobol,acucobol,opencobol,gnucobol"
1624
- },
1625
- "FUNCTION-ORD-MAX": {
1626
- prefix: [
1627
- "fUNCTION-ORD-MAX"
1628
- ],
1629
- body: [
1630
- "fUNCTION ORD-MAX(${1:char},${2:...})$0"
1631
- ],
1632
- description: "max. ordinal position in the program character set corresponding to list of chars",
1633
- scope: "cobol,acucobol,opencobol,gnucobol"
1634
- },
1635
- "FUNCTION-ORD-MIN": {
1636
- prefix: [
1637
- "FUNCTION-ORD-MIN"
1638
- ],
1639
- body: [
1640
- "FUNCTION ORD-MIN(${1:char},${2:...})$0"
1641
- ],
1642
- description: "min. ordinal position in the program character set corresponding to list of chars",
1643
- scope: "cobol,acucobol,opencobol,gnucobol"
1644
- },
1645
- "FUNCTION-PI": {
1646
- prefix: [
1647
- "FUNCTION-PI"
1648
- ],
1649
- body: [
1650
- "FUNCTION PI()$0"
1651
- ],
1652
- description: "pi",
1653
- scope: "cobol,acucobol,opencobol,gnucobol"
1654
- },
1655
- "FUNCTION-PRESENT-VALUE": {
1656
- prefix: [
1657
- "fUNCTION-PRESENT-VALUE"
1658
- ],
1659
- body: [
1660
- "fUNCTION PRESENT-VALUE(${1:discount-rate},${2:amount},${3:...})$0"
1661
- ],
1662
- description: "approximation of the present value of a series of future period-end amount",
1663
- scope: "cobol,acucobol,opencobol,gnucobol"
1664
- },
1665
- "FUNCTION-RANDOM": {
1666
- prefix: [
1667
- "FUNCTION-RANDOM"
1668
- ],
1669
- body: [
1670
- "FUNCTION RANDOM(${1:seed})$0"
1671
- ],
1672
- description: "pseudo-random number 0> <1 from a rectangular distribution with optional seed",
1673
- scope: "cobol,acucobol,opencobol,gnucobol"
1674
- },
1675
- "FUNCTION-RANGE": {
1676
- prefix: [
1677
- "FUNCTION-RANGE"
1678
- ],
1679
- body: [
1680
- "FUNCTION RANGE(${1:argument},${2:...})$0"
1681
- ],
1682
- description: "value of the maximum argument minus the value of the minimum argument",
1683
- scope: "cobol,acucobol,opencobol,gnucobol"
1684
- },
1685
- "FUNCTION-REM": {
1686
- prefix: [
1687
- "FUNCTION-REM"
1688
- ],
1689
- body: [
1690
- "FUNCTION REM(${1:number},${2:divisor})$0"
1691
- ],
1692
- description: "remainder of number divided by divisor",
1693
- scope: "cobol,acucobol,opencobol,gnucobol"
1694
- },
1695
- "FUNCTION-REVERSE": {
1696
- prefix: [
1697
- "FUNCTION-REVERSE"
1698
- ],
1699
- body: [
1700
- "FUNCTION REVERSE(${1:string})$0"
1701
- ],
1702
- description: "reverse representation with same length of string",
1703
- scope: "cobol,acucobol,opencobol,gnucobol"
1704
- },
1705
- "FUNCTION-SIGN": {
1706
- prefix: [
1707
- "FUNCTION-SIGN"
1708
- ],
1709
- body: [
1710
- "FUNCTION SIGN(${1:number})$0"
1711
- ],
1712
- description: "sign representation of number as -1, 0, 1",
1713
- scope: "cobol,acucobol,opencobol,gnucobol"
1714
- },
1715
- "FUNCTION-SIN": {
1716
- prefix: [
1717
- "FUNCTION-SIN"
1718
- ],
1719
- body: [
1720
- "FUNCTION SIN(${1:angle})$0"
1721
- ],
1722
- description: "trigonometric sine of the specified angle",
1723
- scope: "cobol,acucobol,opencobol,gnucobol"
1724
- },
1725
- "FUNCTION-STANDARD-DEVIATION": {
1726
- prefix: [
1727
- "FUNCTION STANDARD-DEVIATION"
1728
- ],
1729
- body: [
1730
- "FUNCTION STANDARD-DEVIATION(${1:integer})$0"
1731
- ],
1732
- description: "function to return the standard deviation of its arguments",
1733
- scope: "cobol,acucobol,opencobol,gnucobol"
1734
- },
1735
- "FUNCTION-SQRT": {
1736
- prefix: [
1737
- "FUNCTION-SQRT"
1738
- ],
1739
- body: [
1740
- "FUNCTION SQRT(${1:number})$0"
1741
- ],
1742
- description: "aproximation of the square root of number",
1743
- scope: "cobol,acucobol,opencobol,gnucobol"
1744
- },
1745
- "FUNCTION-SUM": {
1746
- prefix: [
1747
- "FUNCTION-SUM"
1748
- ],
1749
- body: [
1750
- "FUNCTION SUM(${1:integer})$0"
1751
- ],
1752
- description: "function to return the sum of its arguments",
1753
- scope: "cobol,acucobol,opencobol,gnucobol"
1754
- },
1755
- "FUNCTION-TAN": {
1756
- prefix: [
1757
- "FUNCTION-TAN"
1758
- ],
1759
- body: [
1760
- "FUNCTION TAN(${1:angle})$0"
1761
- ],
1762
- description: "trigonometric tangent of the specified angle",
1763
- scope: "cobol,acucobol,opencobol,gnucobol"
1764
- },
1765
- "FUNCTION-TEST-NUMVAL": {
1766
- prefix: [
1767
- "FUNCTION-TEST-NUMVAL"
1768
- ],
1769
- body: [
1770
- "FUNCTION TEST-NUMVAL(${1:integer})$0"
1771
- ],
1772
- description: "function to verify the contents of the argument",
1773
- scope: "cobol,acucobol,opencobol,gnucobol"
1774
- },
1775
- "FUNCTION-TEST-NUMVAL-F": {
1776
- prefix: [
1777
- "FUNCTION-TEST-NUMVAL-F"
1778
- ],
1779
- body: [
1780
- "FUNCTION TEST-NUMVAL-F(${1:integer})$0"
1781
- ],
1782
- description: "function to verify the contents of the argument",
1783
- scope: "cobol,acucobol,opencobol,gnucobol"
1784
- },
1785
- "FUNCTION-TRIM": {
1786
- prefix: [
1787
- "FUNCTION-TRIM"
1788
- ],
1789
- body: [
1790
- "FUNCTION TRIM(${1:variable})$0"
1791
- ],
1792
- description: "function to trim leading and or trailing spaces of the argument",
1793
- scope: "cobol,acucobol,opencobol,gnucobol"
1794
- },
1795
- "FUNCTION-ULENGTH": {
1796
- prefix: [
1797
- "FUNCTION-ULENGTH"
1798
- ],
1799
- body: [
1800
- "FUNCTION ULENGTH(${1:variable})$0"
1801
- ],
1802
- description: "function to return the number of utf8 or utf16 characters of the argument",
1803
- scope: "cobol,acucobol,opencobol,gnucobol"
1804
- },
1805
- "FUNCTION-UPOS": {
1806
- prefix: [
1807
- "FUNCTION-UPOS"
1808
- ],
1809
- body: [
1810
- "FUNCTION UPOS(${1:string},${2:integer})$0"
1811
- ],
1812
- description: "function to return an integer value equal to the position of the nth item in the passed utf8 or utf16 argument",
1813
- scope: "cobol,acucobol,opencobol,gnucobol"
1814
- },
1815
- "FUNCTION-UPPER-CASE": {
1816
- prefix: [
1817
- "FUNCTION-UPPER-CASE"
1818
- ],
1819
- body: [
1820
- "FUNCTION UPPER-CASE(${1:variable})$0"
1821
- ],
1822
- description: "function to return the argument in upper case",
1823
- scope: "cobol,acucobol,opencobol,gnucobol"
1824
- },
1825
- "FUNCTION-USUBSTR": {
1826
- prefix: [
1827
- "FUNCTION-USUBSTR"
1828
- ],
1829
- body: [
1830
- "FUNCTION USUBSTR(${1:variable},${2:integer},$(3:integer)$0"
1831
- ],
1832
- description: "function to return substring of the character data passed that contains utf8 or utf16 data",
1833
- scope: "cobol,acucobol,opencobol,gnucobol"
1834
- },
1835
- "FUNCTION-USUPPLEMENTARY": {
1836
- prefix: [
1837
- "FUNCTION-USUPPLEMENTARY"
1838
- ],
1839
- body: [
1840
- "FUNCTION USUPPLEMENTARY(${1:variable})$0"
1841
- ],
1842
- description: "function to return an integer value equating to the index of the first unicode character of the argument",
1843
- scope: "cobol,acucobol,opencobol,gnucobol"
1844
- },
1845
- "FUNCTION-UVALID": {
1846
- prefix: [
1847
- "FUNCTION-UVALID"
1848
- ],
1849
- body: [
1850
- "FUNCTION UVALID(${1:variable})$0"
1851
- ],
1852
- description: "function to return an integer value equating to the index of the first invalid unicode character of the argument",
1853
- scope: "cobol,acucobol,opencobol,gnucobol"
1854
- },
1855
- "FUNCTION-UWIDTH": {
1856
- prefix: [
1857
- "FUNCTION-UWIDTH"
1858
- ],
1859
- body: [
1860
- "FUNCTION UWIDTH(${1:string},${2:integer})$0"
1861
- ],
1862
- description: "function to return an integer value equal to the width in bytes of the nth item in the passed utf8 or utf16 argument",
1863
- scope: "cobol,acucobol,opencobol,gnucobol"
1864
- },
1865
- "FUNCTION-VARIANCE": {
1866
- prefix: [
1867
- "FUNCTION-VARIANCE"
1868
- ],
1869
- body: [
1870
- "FUNCTION VARIANCE(${1:number},${2:...})$0"
1871
- ],
1872
- description: "statistical variance of the specified list of number argument",
1873
- scope: "cobol,acucobol,opencobol,gnucobol"
1874
- },
1875
- "FUNCTION-YEAR-TO-YYYY": {
1876
- prefix: [
1877
- "FUNCTION-YEAR-TO-YYYY"
1878
- ],
1879
- body: [
1880
- "FUNCTION YEAR-TO-YYYY(${1:yy},${2:[yy-cutoff, default: 50},${3:yy-execution-time, default: now})$0"
1881
- ],
1882
- description: "convert yy to yyyy with optional yy-cutoff to delineate centuries",
1883
- scope: "cobol,acucobol,opencobol,gnucobol"
1884
- },
1885
- CALL: CALL,
1886
- cancel: cancel,
1887
- CANCEL: CANCEL,
1888
- "exit program": {
1889
- prefix: "exit",
1890
- body: [
1891
- "exit program returning ${1:item}"
1892
- ],
1893
- description: "EXIT PROGRAM"
1894
- },
1895
- "EXIT PROGRAM": {
1896
- prefix: "EXIT",
1897
- body: [
1898
- "EXIT PROGRAM RETURNING ${1:item}"
1899
- ],
1900
- description: "EXIT PROGRAM"
1901
- },
1902
- "IDENTIFICATION DIVISION": {
1903
- prefix: "IDENTIFICATION-DIVISION",
1904
- body: [
1905
- "IDENTIFICATION DIVISION.",
1906
- "$0"
1907
- ],
1908
- scope: "cobol"
1909
- },
1910
- "identification division": {
1911
- prefix: "identification-division",
1912
- body: [
1913
- "identification division.",
1914
- "$0"
1915
- ],
1916
- scope: "cobol"
1917
- },
1918
- "environment division": {
1919
- prefix: "environment-division",
1920
- body: [
1921
- "environment division.",
1922
- "$0"
1923
- ]
1924
- },
1925
- "ENVIRONMENT DIVISION": {
1926
- prefix: "ENVIRONMENT-DIVISION",
1927
- body: [
1928
- "ENVIRONMENT DIVISION.",
1929
- "$0"
1930
- ]
1931
- },
1932
- "DATA DIVISION": {
1933
- prefix: "DATA-DIVISION",
1934
- body: [
1935
- "DATA DIVISION.",
1936
- "$0"
1937
- ]
1938
- },
1939
- "data division": {
1940
- prefix: "data-division",
1941
- body: [
1942
- "data division.",
1943
- "$0"
1944
- ],
1945
- scope: "cobol"
1946
- },
1947
- "WORKING-STORAGE SECTION": {
1948
- prefix: "WORKING-STORAGE",
1949
- body: [
1950
- "WORKING-STORAGE SECTION.",
1951
- "$0"
1952
- ]
1953
- },
1954
- "working-storage section": {
1955
- prefix: "working-storage",
1956
- body: [
1957
- "working-storage section.",
1958
- "$0"
1959
- ],
1960
- scope: "cobol"
1961
- },
1962
- "local-storage section": {
1963
- prefix: "local-storage",
1964
- body: [
1965
- "local-storage section.",
1966
- "$0"
1967
- ]
1968
- },
1969
- "LINKAGE SECTION ": {
1970
- prefix: "LINKAGE-SECTION",
1971
- body: [
1972
- "LINKAGE SECTION.",
1973
- "$0"
1974
- ],
1975
- scope: "cobol"
1976
- },
1977
- "linkage section.": {
1978
- prefix: "linkage-section",
1979
- body: [
1980
- "linkage section.",
1981
- "$0"
1982
- ]
1983
- },
1984
- "PROCEDURE DIVISION": {
1985
- prefix: "PROCEDURE-DIVISION",
1986
- body: [
1987
- "PROCEDURE DIVISION.",
1988
- "$0"
1989
- ]
1990
- },
1991
- "procedure division": {
1992
- prefix: "procedure-division",
1993
- body: [
1994
- "procedure division.",
1995
- "$0"
1996
- ],
1997
- scope: "cobol"
1998
- },
1999
- "PROGRAM-ID": {
2000
- prefix: "PROGRAM-ID.",
2001
- body: [
2002
- "PROGRAM-ID. ${1:${TM_FILENAME/(.*)\\..+$/${1:/upcase}/}}.",
2003
- "$0"
2004
- ],
2005
- scope: "cobol"
2006
- },
2007
- "program-id": {
2008
- prefix: "program-id. ",
2009
- body: [
2010
- "program-id. ${1:${TM_FILENAME/(.*)\\..+$/$1/}}.",
2011
- "$0"
2012
- ],
2013
- scope: "cobol"
2014
- }
2015
- };
2016
-
2017
- export { ACCEPT, ADD, CALL, CANCEL, COPY, DISPLAY, DIVIDE, ENTRY, EVALUATE, IF, MULTIPLY, PERFORM, STRING, SUBTRACT, accept, add, call, cancel, copy, COBOL_Copybook as default, display, divide, entry, evaluate, multiply, perform, property, shell, string, subtract };