github-linguist 5.2.0 → 5.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/grammars/annotation.liquidhaskell.haskell.json +1445 -0
  3. data/grammars/hint.haskell.json +134 -17
  4. data/grammars/hint.message.haskell.json +134 -17
  5. data/grammars/hint.type.haskell.json +134 -17
  6. data/grammars/source.abl.json +48 -48
  7. data/grammars/source.afm.json +8 -1
  8. data/grammars/source.angelscript.json +195 -0
  9. data/grammars/source.ats.json +128 -58
  10. data/grammars/source.awk.json +138 -138
  11. data/grammars/source.ballerina.json +434 -0
  12. data/grammars/source.chapel.json +1 -1
  13. data/grammars/source.clips.json +20 -20
  14. data/grammars/source.cobol.json +4 -3
  15. data/grammars/source.coffee.json +556 -109
  16. data/grammars/source.cs.json +10 -5
  17. data/grammars/source.csound-document.json +1 -1
  18. data/grammars/source.csound-score.json +9 -9
  19. data/grammars/source.csound.json +23 -28
  20. data/grammars/source.css.json +6 -5
  21. data/grammars/source.data-weave.json +1584 -0
  22. data/grammars/source.elixir.json +3 -61
  23. data/grammars/source.elm.json +88 -88
  24. data/grammars/source.emacs.lisp.json +12 -1
  25. data/grammars/source.haskell.json +134 -17
  26. data/grammars/source.hsig.json +1376 -0
  27. data/grammars/source.httpspec.json +128 -128
  28. data/grammars/source.jison.json +6 -14
  29. data/grammars/source.jisonlex.json +1 -9
  30. data/grammars/source.js.json +1 -0
  31. data/grammars/source.js.regexp.json +0 -4
  32. data/grammars/source.js.regexp.replacement.json +0 -4
  33. data/grammars/source.jsdoc.json +3 -3
  34. data/grammars/source.lsl.json +146 -53
  35. data/grammars/source.mercury.json +166 -166
  36. data/grammars/source.ne.json +108 -0
  37. data/grammars/source.nim_filter.json +51 -51
  38. data/grammars/source.nut.json +266 -0
  39. data/grammars/source.opal.json +112 -112
  40. data/grammars/source.opalsysdefs.json +16 -16
  41. data/grammars/source.pan.json +1 -1
  42. data/grammars/source.papyrus.skyrim.json +720 -720
  43. data/grammars/source.pawn.json +2 -2
  44. data/grammars/source.prolog.eclipse.json +42 -42
  45. data/grammars/source.prolog.json +41 -41
  46. data/grammars/source.purescript.json +41 -25
  47. data/grammars/source.python.json +47 -34
  48. data/grammars/source.racket.json +54 -54
  49. data/grammars/source.reason.json +37 -3
  50. data/grammars/source.regexp.python.json +31 -0
  51. data/grammars/source.ruby.gemfile.json +27 -0
  52. data/grammars/source.ruby.json +1057 -356
  53. data/grammars/source.rust.json +1 -1
  54. data/grammars/source.sbt.json +13 -3
  55. data/grammars/source.scala.json +74 -55
  56. data/grammars/source.shaderlab.json +1 -1
  57. data/grammars/source.shell.json +26 -21
  58. data/grammars/source.shen.json +91 -91
  59. data/grammars/source.sqf.json +1 -1
  60. data/grammars/source.supercollider.json +1 -1
  61. data/grammars/source.swift.json +4 -0
  62. data/grammars/source.terra.json +36 -37
  63. data/grammars/source.terraform.json +98 -98
  64. data/grammars/source.ts.json +2231 -1677
  65. data/grammars/source.tsx.json +142 -3520
  66. data/grammars/source.vbnet.json +201 -263
  67. data/grammars/source.viml.json +2 -2
  68. data/grammars/source.wdl.json +200 -0
  69. data/grammars/source.yaml.json +34 -16
  70. data/grammars/text.find-refs.json +3 -3
  71. data/grammars/text.haml.json +1 -1
  72. data/grammars/text.html.abl.json +6 -6
  73. data/grammars/text.html.erb.json +8 -11
  74. data/grammars/text.html.php.blade.json +256 -220
  75. data/grammars/text.html.vue.json +1 -1
  76. data/grammars/text.slim.json +31 -17
  77. data/grammars/text.tex.latex.haskell.json +150 -33
  78. data/lib/linguist/heuristics.rb +8 -0
  79. data/lib/linguist/languages.json +1 -1
  80. data/lib/linguist/languages.yml +82 -26
  81. data/lib/linguist/samples.json +134512 -132868
  82. data/lib/linguist/vendor.yml +3 -0
  83. data/lib/linguist/version.rb +1 -1
  84. metadata +13 -4
@@ -1,11 +1,15 @@
1
1
  {
2
+ "name": "Opal",
3
+ "scopeName": "source.opal",
2
4
  "fileTypes": [
3
5
  "impl",
4
6
  "sign"
5
7
  ],
6
- "name": "Opal",
8
+ "uuid": "3da0f3f0-8b32-41c9-857c-ce9be39b99d4",
7
9
  "patterns": [
8
10
  {
11
+ "name": "comment.line.double-dash.opal",
12
+ "match": "(--)([^\\s])?.*$",
9
13
  "captures": {
10
14
  "1": {
11
15
  "name": "punctuation.definition.comment.opal"
@@ -13,21 +17,21 @@
13
17
  "2": {
14
18
  "name": "invalid.illegal.comment.missing-whitespace.opal"
15
19
  }
16
- },
17
- "match": "(--)([^\\s])?.*$",
18
- "name": "comment.line.double-dash.opal"
20
+ }
19
21
  },
20
22
  {
23
+ "name": "comment.block.opal",
21
24
  "begin": "(/\\*)",
25
+ "end": "(\\*/)",
22
26
  "captures": {
23
27
  "1": {
24
28
  "name": "punctuation.definition.comment.block.opal"
25
29
  }
26
- },
27
- "end": "(\\*/)",
28
- "name": "comment.block.opal"
30
+ }
29
31
  },
30
32
  {
33
+ "name": "meta.signature-implementation.opal",
34
+ "match": "^\\s*(SIGNATURE|IMPLEMENTATION)\\s+([^A-Z])?(\\w+)\\s*$",
31
35
  "captures": {
32
36
  "1": {
33
37
  "name": "keyword.meta.signature-implementation.opal"
@@ -38,12 +42,12 @@
38
42
  "3": {
39
43
  "name": "entity.name.section.module.opal"
40
44
  }
41
- },
42
- "match": "^\\s*(SIGNATURE|IMPLEMENTATION)\\s+([^A-Z])?(\\w+)\\s*$",
43
- "name": "meta.signature-implementation.opal"
45
+ }
44
46
  },
45
47
  {
48
+ "name": "meta.signature-implementation.opal",
46
49
  "begin": "^\\s*(SIGNATURE|IMPLEMENTATION)\\s+([^A-Z])?(\\w+)\\s*(\\[)",
50
+ "end": "(\\])",
47
51
  "beginCaptures": {
48
52
  "1": {
49
53
  "name": "keyword.meta.signature-implementation.opal"
@@ -58,30 +62,31 @@
58
62
  "name": "punctuation.definition.inheritance.begin.opal"
59
63
  }
60
64
  },
61
- "end": "(\\])",
62
65
  "endCaptures": {
63
66
  "1": {
64
67
  "name": "punctuation.definition.inheritance.end.opal"
65
68
  }
66
69
  },
67
- "name": "meta.signature-implementation.opal",
68
70
  "patterns": [
69
71
  {
70
- "match": "\\,",
71
- "name": "punctuation.separator.inheritance.opal"
72
+ "name": "punctuation.separator.inheritance.opal",
73
+ "match": "\\,"
72
74
  },
73
75
  {
74
- "match": "(?:[^\\,\\]]+)",
75
- "name": "entity.other.inherited-class.opal"
76
+ "name": "entity.other.inherited-class.opal",
77
+ "match": "(?:[^\\,\\]]+)"
76
78
  }
77
79
  ]
78
80
  },
79
81
  {
80
- "match": "(^\\s*IMPORT|\\b(ONLY|COMPLETELY))\\b",
81
- "name": "keyword.control.import.opal"
82
+ "name": "keyword.control.import.opal",
83
+ "match": "(^\\s*IMPORT|\\b(ONLY|COMPLETELY))\\b"
82
84
  },
83
85
  {
86
+ "name": "meta.function.opal",
84
87
  "begin": "^\\s*(FUN)\\s+([^\\\"():]+)\\s*(\\:)",
88
+ "end": "($)|(?=\\-\\-)|(?=/\\*)",
89
+ "contentName": "meta.function.parameters.opal",
85
90
  "beginCaptures": {
86
91
  "1": {
87
92
  "name": "storage.type.function.opal"
@@ -93,21 +98,20 @@
93
98
  "name": "punctuation.definition.parameters.begin.opal"
94
99
  }
95
100
  },
96
- "contentName": "meta.function.parameters.opal",
97
- "end": "($)|(?=\\-\\-)|(?=/\\*)",
98
- "name": "meta.function.opal",
99
101
  "patterns": [
100
102
  {
101
- "match": "\\*\\*|\\->",
102
- "name": "punctuation.seperator.parameters.opal"
103
+ "name": "punctuation.seperator.parameters.opal",
104
+ "match": "\\*\\*|\\->"
103
105
  },
104
106
  {
105
- "match": "\\b(\\w+)\\b",
106
- "name": "storage.type.opal"
107
+ "name": "storage.type.opal",
108
+ "match": "\\b(\\w+)\\b"
107
109
  }
108
110
  ]
109
111
  },
110
112
  {
113
+ "name": "meta.function.opal",
114
+ "match": "^\\s*(DEF)\\s+([^\\s():]+)\\s+([^\\s():]+)\\s+([^\\s():]+)\\s*(==)",
111
115
  "captures": {
112
116
  "1": {
113
117
  "name": "storage.type.function.opal"
@@ -124,12 +128,12 @@
124
128
  "5": {
125
129
  "name": "punctuation.section.function.begin.opal"
126
130
  }
127
- },
128
- "match": "^\\s*(DEF)\\s+([^\\s():]+)\\s+([^\\s():]+)\\s+([^\\s():]+)\\s*(==)",
129
- "name": "meta.function.opal"
131
+ }
130
132
  },
131
133
  {
134
+ "name": "meta.function.opal",
132
135
  "begin": "^\\s*(DEF)\\s+([^\\s():]+)\\s*(?:(\\())?",
136
+ "end": "(?:(\\)))?\\s*(==)",
133
137
  "beginCaptures": {
134
138
  "1": {
135
139
  "name": "storage.type.function.opal"
@@ -141,7 +145,6 @@
141
145
  "name": "punctuation.definition.parameters.begin.opal"
142
146
  }
143
147
  },
144
- "end": "(?:(\\)))?\\s*(==)",
145
148
  "endCaptures": {
146
149
  "1": {
147
150
  "name": "punctuation.definition.parameters.end.opal"
@@ -150,36 +153,37 @@
150
153
  "name": "punctuation.section.function.begin.opal"
151
154
  }
152
155
  },
153
- "name": "meta.function.opal",
154
156
  "patterns": [
155
157
  {
156
- "match": "\\,",
157
- "name": "punctuation.seperator.parameters.opal"
158
+ "name": "punctuation.seperator.parameters.opal",
159
+ "match": "\\,"
158
160
  },
159
161
  {
160
- "match": "\\w*",
161
- "name": "variable.parameter.opal"
162
+ "name": "variable.parameter.opal",
163
+ "match": "\\w*"
162
164
  }
163
165
  ]
164
166
  },
165
167
  {
168
+ "name": "meta.type.sort.opal",
166
169
  "begin": "^\\s*(SORT)",
170
+ "end": "$",
167
171
  "beginCaptures": {
168
172
  "1": {
169
173
  "name": "storage.type.sort.opal"
170
174
  }
171
175
  },
172
- "end": "$",
173
- "name": "meta.type.sort.opal",
174
176
  "patterns": [
175
177
  {
176
- "match": "\\b[^\\s():]+\\b",
177
- "name": "entity.name.function.type.sort.opal"
178
+ "name": "entity.name.function.type.sort.opal",
179
+ "match": "\\b[^\\s():]+\\b"
178
180
  }
179
181
  ]
180
182
  },
181
183
  {
184
+ "name": "meta.type.data.opal",
182
185
  "begin": "^\\s*(DATA|TYPE)\\s+([^\\s():]+)",
186
+ "end": "(==)",
183
187
  "beginCaptures": {
184
188
  "1": {
185
189
  "name": "storage.type.data.opal"
@@ -188,16 +192,16 @@
188
192
  "name": "entity.name.function.type.data.opal"
189
193
  }
190
194
  },
191
- "end": "(==)",
192
195
  "endCaptures": {
193
196
  "1": {
194
197
  "name": "punctuation.section.type.begin.opal"
195
198
  }
196
- },
197
- "name": "meta.type.data.opal"
199
+ }
198
200
  },
199
201
  {
202
+ "name": "meta.type.constructors.opal",
200
203
  "begin": "(\\w+)\\s*\\(\\s*(\\w+)\\s*(:)\\s*(\\w+)",
204
+ "end": "\\)",
201
205
  "beginCaptures": {
202
206
  "1": {
203
207
  "name": "entity.name.function.constructor.opal"
@@ -212,22 +216,21 @@
212
216
  "name": "storage.type.opal"
213
217
  }
214
218
  },
215
- "end": "\\)",
216
- "name": "meta.type.constructors.opal",
217
219
  "patterns": [
218
220
  {
219
- "match": "\\,",
220
- "name": "punctuation.seperator.parameters.opal"
221
+ "name": "punctuation.seperator.parameters.opal",
222
+ "match": "\\,"
221
223
  },
222
224
  {
225
+ "match": "\\[(\\w*)\\]",
223
226
  "captures": {
224
227
  "1": {
225
228
  "name": "storage.type.opal"
226
229
  }
227
- },
228
- "match": "\\[(\\w*)\\]"
230
+ }
229
231
  },
230
232
  {
233
+ "match": "(\\w+)\\s*(:)\\s*(\\w+)",
231
234
  "captures": {
232
235
  "1": {
233
236
  "name": "variable.parameter.opal"
@@ -238,8 +241,7 @@
238
241
  "3": {
239
242
  "name": "storage.type.opal"
240
243
  }
241
- },
242
- "match": "(\\w+)\\s*(:)\\s*(\\w+)"
244
+ }
243
245
  }
244
246
  ]
245
247
  },
@@ -247,34 +249,36 @@
247
249
  "include": "#evaluable"
248
250
  },
249
251
  {
250
- "match": "\\b(AcceleratorC|AcceleratorF|AEntry|AEntryNE|AnonPair|AnonQuadruple|AnonTriple|Array|ArrayConv|ArrayFilter|ArrayFold|ArrayMap|ArrayReduce|Arrays|Bag|BagConv|BagFilter|BagFold|BagMap|BagReduce|Bags|BasicIO|Basics|BinFile|BinStream|Bitset|BitsetConv|BitsetFilter|BitsetFold|BitsetMap|BitsetReduce|Bool|BoolConv|BSTree|BSTreeCompare|BSTreeConv|BSTreeFilter|BSTreeIndex|BSTreeMap|BSTreeMapEnv|BSTreeReduce|BSTreeZip|BTUnion|BTUnionConv|Char|CharConv|Com|ComAction|ComAgent|ComAgentConv|ComCheck|ComCheckWin|ComCheckWinData|ComChoice|ComCompose|ComConv|Commands|ComMap|ComPairCompose|Compose|ComposePair|ComposePar|ComposeQuadruple|ComposeTriple|ComSemaphor|ComSeqAction|ComSeqMap|ComSeqReduce|ComService|ComServiceConv|ComState|ComStateWith|ComTimeout|ComTripleCompose|Constant|ConstantPair|Control|Curry|DArray|DArrayConv|DArrayFilter|DArrayFold|DArrayMap|DArrayReduce|Denotation|Distributor|Dotfix|Dyn|DynConv|Env|File|FileConv|FileName|FileSystem|FileSystemConv|FileSystemFun|Flip|Fmt|FmtArray|FmtBasicTypes|FmtDebug|FmtMap|FmtOption|FmtPair|FmtSeq|FmtSet|Funct|FunctConv|Greek|Heap|HeapCompare|HeapConv|HeapFilter|HeapIndex|HeapMap|HeapMapEnv|HeapReduce|HeapZip|Identity|IndexingOfTrees|InducedRel|Int|IntConv|ISeq|ISeqConv|ISeqFilter|ISeqIndex|ISeqMap|ISeqMapEnv|ISeqSort|ISeqUnreduce|ISeqZip|Latin1|LineFormat|Map|MapByBST|MapByBSTCompose|MapByBSTConv|MapByBSTFilter|MapByBSTInvert|MapByBSTMap|MapByBSTReduce|MapByOS|MapByOSCompose|MapByOSConv|MapByOSFilter|MapByOSInvert|MapByOSMap|MapByOSReduce|MapCompose|MapConv|MapEntry|MapEntryNE|MapFilter|MapInvert|MapMap|MapNotForUserPurpose|MapReduce|Maps|MaxStrongComp|Nat|NatConv|NatMap|NatMapConv|NatMapFilter|NatMapMap|NatMapNotForUserPurpose|NatMapReduce|NatMaps|NatSets|Option|OptionCompare|OptionConv|OptionMap|OrderingByInjection|OrderingByLess|Pair|PairCompare|PairConv|PairMap|ParserL|ParserLBasic|ParserLCombinator|ParserLCompose|ParserLMap|Predicate|PrintableChar|Process|ProcessArgs|ProcessComInterrupt|ProcessConnect|ProcessConv|ProcessCtrl|ProcessCtrlConv|ProcessCtrlFun|ProcessInterrupt|ProcessMonitor|Quadruple|QuadrupleConv|QuadrupleMap|Random|ReadLine|Real|RealConv|Rel|RelCmp|RelCmpConv|RelCompose|RelConv|RelFilter|RelHomog|RelInvert|RelMap|RelNotForUserPurpose|RelReduce|Seq|SeqCompare|SeqConv|SeqEntry|SeqEntryNE|SeqFilter|SeqFold|SeqIndex|SeqMap|SeqMapEnv|SeqOfSeq|SeqReduce|Seqs|SeqSort|SeqZip|Set|SetByBST|SetByBSTConstr|SetByBSTConv|SetByBSTFilter|SetByBSTFold|SetByBSTMap|SetByBSTMapEnv|SetByBSTOfSetByBST|SetByBSTReduce|SetByPred|SetByPredConstr|SetByPredConv|SetByPredFilter|SetConstr|SetConv|SetEntry|SetEntryNE|SetFilter|SetFold|SetMap|SetMapEnv|SetOfSet|SetReduce|Sets|SetTopSort|Signal|SignalConv|SmallReal|Stream|String|StringConv|StringFilter|StringFold|StringFormat|StringIndex|StringMap|StringMapSeq|StringReduce|Strings|StringScan|Subrel|SubrelConv|Tcl|Time|TimeConv|Tk|Tree|TreeCompare|TreeConv|TreeFilter|TreeIndex|TreeMap|TreeMapEnv|TreeReduce|TreeZip|Triple|TripleConv|TripleMap|Union2|Union2Conv|Union3|Union3Conv|Union4|Union4Conv|UnixFailures|UserAndGroup|UserAndGroupConv|UserAndGroupFun|Void|VoidConv|Wait|WaitConv|WinAppl|WinButton|WinCanvas|WinCanvasEditor|WinConfig|Windows|WinEmitter|WinEvent|WinFontMetrics|WinImage|WinInternal|WinMenu|WinRegulator|WinScrollbar|WinScroller|WinSelector|WinTag|WinTclTk|WinText|WinTextEditor|WinView|WinWindow)\\b",
251
- "name": "support.type.opal"
252
+ "name": "support.type.opal",
253
+ "match": "\\b(AcceleratorC|AcceleratorF|AEntry|AEntryNE|AnonPair|AnonQuadruple|AnonTriple|Array|ArrayConv|ArrayFilter|ArrayFold|ArrayMap|ArrayReduce|Arrays|Bag|BagConv|BagFilter|BagFold|BagMap|BagReduce|Bags|BasicIO|Basics|BinFile|BinStream|Bitset|BitsetConv|BitsetFilter|BitsetFold|BitsetMap|BitsetReduce|Bool|BoolConv|BSTree|BSTreeCompare|BSTreeConv|BSTreeFilter|BSTreeIndex|BSTreeMap|BSTreeMapEnv|BSTreeReduce|BSTreeZip|BTUnion|BTUnionConv|Char|CharConv|Com|ComAction|ComAgent|ComAgentConv|ComCheck|ComCheckWin|ComCheckWinData|ComChoice|ComCompose|ComConv|Commands|ComMap|ComPairCompose|Compose|ComposePair|ComposePar|ComposeQuadruple|ComposeTriple|ComSemaphor|ComSeqAction|ComSeqMap|ComSeqReduce|ComService|ComServiceConv|ComState|ComStateWith|ComTimeout|ComTripleCompose|Constant|ConstantPair|Control|Curry|DArray|DArrayConv|DArrayFilter|DArrayFold|DArrayMap|DArrayReduce|Denotation|Distributor|Dotfix|Dyn|DynConv|Env|File|FileConv|FileName|FileSystem|FileSystemConv|FileSystemFun|Flip|Fmt|FmtArray|FmtBasicTypes|FmtDebug|FmtMap|FmtOption|FmtPair|FmtSeq|FmtSet|Funct|FunctConv|Greek|Heap|HeapCompare|HeapConv|HeapFilter|HeapIndex|HeapMap|HeapMapEnv|HeapReduce|HeapZip|Identity|IndexingOfTrees|InducedRel|Int|IntConv|ISeq|ISeqConv|ISeqFilter|ISeqIndex|ISeqMap|ISeqMapEnv|ISeqSort|ISeqUnreduce|ISeqZip|Latin1|LineFormat|Map|MapByBST|MapByBSTCompose|MapByBSTConv|MapByBSTFilter|MapByBSTInvert|MapByBSTMap|MapByBSTReduce|MapByOS|MapByOSCompose|MapByOSConv|MapByOSFilter|MapByOSInvert|MapByOSMap|MapByOSReduce|MapCompose|MapConv|MapEntry|MapEntryNE|MapFilter|MapInvert|MapMap|MapNotForUserPurpose|MapReduce|Maps|MaxStrongComp|Nat|NatConv|NatMap|NatMapConv|NatMapFilter|NatMapMap|NatMapNotForUserPurpose|NatMapReduce|NatMaps|NatSets|Option|OptionCompare|OptionConv|OptionMap|OrderingByInjection|OrderingByLess|Pair|PairCompare|PairConv|PairMap|ParserL|ParserLBasic|ParserLCombinator|ParserLCompose|ParserLMap|Predicate|PrintableChar|Process|ProcessArgs|ProcessComInterrupt|ProcessConnect|ProcessConv|ProcessCtrl|ProcessCtrlConv|ProcessCtrlFun|ProcessInterrupt|ProcessMonitor|Quadruple|QuadrupleConv|QuadrupleMap|Random|ReadLine|Real|RealConv|Rel|RelCmp|RelCmpConv|RelCompose|RelConv|RelFilter|RelHomog|RelInvert|RelMap|RelNotForUserPurpose|RelReduce|Seq|SeqCompare|SeqConv|SeqEntry|SeqEntryNE|SeqFilter|SeqFold|SeqIndex|SeqMap|SeqMapEnv|SeqOfSeq|SeqReduce|Seqs|SeqSort|SeqZip|Set|SetByBST|SetByBSTConstr|SetByBSTConv|SetByBSTFilter|SetByBSTFold|SetByBSTMap|SetByBSTMapEnv|SetByBSTOfSetByBST|SetByBSTReduce|SetByPred|SetByPredConstr|SetByPredConv|SetByPredFilter|SetConstr|SetConv|SetEntry|SetEntryNE|SetFilter|SetFold|SetMap|SetMapEnv|SetOfSet|SetReduce|Sets|SetTopSort|Signal|SignalConv|SmallReal|Stream|String|StringConv|StringFilter|StringFold|StringFormat|StringIndex|StringMap|StringMapSeq|StringReduce|Strings|StringScan|Subrel|SubrelConv|Tcl|Time|TimeConv|Tk|Tree|TreeCompare|TreeConv|TreeFilter|TreeIndex|TreeMap|TreeMapEnv|TreeReduce|TreeZip|Triple|TripleConv|TripleMap|Union2|Union2Conv|Union3|Union3Conv|Union4|Union4Conv|UnixFailures|UserAndGroup|UserAndGroupConv|UserAndGroupFun|Void|VoidConv|Wait|WaitConv|WinAppl|WinButton|WinCanvas|WinCanvasEditor|WinConfig|Windows|WinEmitter|WinEvent|WinFontMetrics|WinImage|WinInternal|WinMenu|WinRegulator|WinScrollbar|WinScroller|WinSelector|WinTag|WinTclTk|WinText|WinTextEditor|WinView|WinWindow)\\b"
252
254
  }
253
255
  ],
254
256
  "repository": {
255
257
  "evaluable": {
256
258
  "patterns": [
257
259
  {
260
+ "name": "meta.function.anonymous.opal",
258
261
  "begin": "(\\\\\\\\)",
262
+ "end": "(\\.)",
263
+ "contentName": "meta.definition.parameters.opal",
259
264
  "beginCaptures": {
260
265
  "1": {
261
266
  "name": "storage.type.function.opal"
262
267
  }
263
268
  },
264
- "contentName": "meta.definition.parameters.opal",
265
- "end": "(\\.)",
266
269
  "endCaptures": {
267
270
  "1": {
268
271
  "name": "punctuation.section.function.begin.opal"
269
272
  }
270
273
  },
271
- "name": "meta.function.anonymous.opal",
272
274
  "patterns": [
273
275
  {
274
- "match": "\\s*\\,\\s*",
275
- "name": "punctuation.seperator.parameters.opal"
276
+ "name": "punctuation.seperator.parameters.opal",
277
+ "match": "\\s*\\,\\s*"
276
278
  },
277
279
  {
280
+ "name": "meta.definition.parameter.opal",
281
+ "match": "(\\w+)\\s*(:)\\s*(\\w+)",
278
282
  "captures": {
279
283
  "1": {
280
284
  "name": "variable.parameter.opal"
@@ -285,40 +289,39 @@
285
289
  "3": {
286
290
  "name": "storage.type.opal"
287
291
  }
288
- },
289
- "match": "(\\w+)\\s*(:)\\s*(\\w+)",
290
- "name": "meta.definition.parameter.opal"
292
+ }
291
293
  },
292
294
  {
293
- "match": "\\w+",
294
- "name": "variable.parameter.opal"
295
+ "name": "variable.parameter.opal",
296
+ "match": "\\w+"
295
297
  }
296
298
  ]
297
299
  },
298
300
  {
299
- "match": "(\\b(0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|64|128|256|512|1024|100|1000|10000|100000|1000000)\\b)|\\\"\\d+\\\"!",
300
- "name": "constant.numeric.integer.opal"
301
+ "name": "constant.numeric.integer.opal",
302
+ "match": "(\\b(0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|64|128|256|512|1024|100|1000|10000|100000|1000000)\\b)|\\\"\\d+\\\"!"
301
303
  },
302
304
  {
303
- "match": "\\b\\d+\\b",
304
- "name": "invalid.illegal.wrong-number.opal"
305
+ "name": "invalid.illegal.wrong-number.opal",
306
+ "match": "\\b\\d+\\b"
305
307
  },
306
308
  {
307
- "match": "\\\"[+-]?\\d*(\\.\\d*)?(e[+-]?\\d+)?\\\"!",
308
- "name": "constant.numeric.real.opal"
309
+ "name": "constant.numeric.real.opal",
310
+ "match": "\\\"[+-]?\\d*(\\.\\d*)?(e[+-]?\\d+)?\\\"!"
309
311
  },
310
312
  {
311
- "match": "\\\"0x[0-9A-Fa-f]+\\\"!",
312
- "name": "constant.numeric.hexadecimal.opal"
313
+ "name": "constant.numeric.hexadecimal.opal",
314
+ "match": "\\\"0x[0-9A-Fa-f]+\\\"!"
313
315
  },
314
316
  {
317
+ "name": "string.quoted.double.opal",
315
318
  "begin": "(\\\")",
319
+ "end": "(\\n)|(\\\")",
316
320
  "beginCaptures": {
317
321
  "1": {
318
322
  "name": "punctuation.definition.string.begin.opal"
319
323
  }
320
324
  },
321
- "end": "(\\n)|(\\\")",
322
325
  "endCaptures": {
323
326
  "1": {
324
327
  "name": "invalid.illegal.unclosed-string.opal"
@@ -327,89 +330,86 @@
327
330
  "name": "punctuation.definition.string.end.opal"
328
331
  }
329
332
  },
330
- "name": "string.quoted.double.opal",
331
333
  "patterns": [
332
334
  {
333
- "match": "\\\\\\\\",
334
- "name": "constant.character.escape.backslash.opal"
335
+ "name": "constant.character.escape.backslash.opal",
336
+ "match": "\\\\\\\\"
335
337
  },
336
338
  {
337
- "match": "\\\\\"",
338
- "name": "constant.character.escape.double-quote.opal"
339
+ "name": "constant.character.escape.double-quote.opal",
340
+ "match": "\\\\\""
339
341
  },
340
342
  {
341
- "match": "\\\\a",
342
- "name": "constant.character.escape.alarm.opal"
343
+ "name": "constant.character.escape.alarm.opal",
344
+ "match": "\\\\a"
343
345
  },
344
346
  {
345
- "match": "\\\\b",
346
- "name": "constant.character.escape.backspace.opal"
347
+ "name": "constant.character.escape.backspace.opal",
348
+ "match": "\\\\b"
347
349
  },
348
350
  {
349
- "match": "\\\\f",
350
- "name": "constant.character.escape.formfeed.opal"
351
+ "name": "constant.character.escape.formfeed.opal",
352
+ "match": "\\\\f"
351
353
  },
352
354
  {
353
- "match": "\\\\n",
354
- "name": "constant.character.escape.newline.opal"
355
+ "name": "constant.character.escape.newline.opal",
356
+ "match": "\\\\n"
355
357
  },
356
358
  {
357
- "match": "\\\\r",
358
- "name": "constant.character.escape.carriage-return.opal"
359
+ "name": "constant.character.escape.carriage-return.opal",
360
+ "match": "\\\\r"
359
361
  },
360
362
  {
361
- "match": "\\\\t",
362
- "name": "constant.character.escape.tabulator.opal"
363
+ "name": "constant.character.escape.tabulator.opal",
364
+ "match": "\\\\t"
363
365
  },
364
366
  {
365
- "match": "\\\\v",
366
- "name": "constant.character.escape.vertical-tab.opal"
367
+ "name": "constant.character.escape.vertical-tab.opal",
368
+ "match": "\\\\v"
367
369
  },
368
370
  {
369
- "match": "\\\\\\?",
370
- "name": "constant.character.escape.questionmark.opal"
371
+ "name": "constant.character.escape.questionmark.opal",
372
+ "match": "\\\\\\?"
371
373
  },
372
374
  {
373
- "match": "\\\\.",
374
- "name": "invalid.illegal.unknown-escape.opal"
375
+ "name": "invalid.illegal.unknown-escape.opal",
376
+ "match": "\\\\."
375
377
  }
376
378
  ]
377
379
  },
378
380
  {
379
- "match": "\\b(map|filter|zip|reduce|sqrt)\\b",
380
- "name": "support.function.builtin.opal"
381
+ "name": "support.function.builtin.opal",
382
+ "match": "\\b(map|filter|zip|reduce|sqrt)\\b"
381
383
  },
382
384
  {
383
- "match": "<>\\?|<>(?!\\?)",
384
- "name": "support.function.builtin.opal"
385
+ "name": "support.function.builtin.opal",
386
+ "match": "<>\\?|<>(?!\\?)"
385
387
  },
386
388
  {
387
- "match": "\\b(IF|THEN|ELSE|OTHERWISE|FI)\\b",
388
- "name": "keyword.control.opal"
389
+ "name": "keyword.control.opal",
390
+ "match": "\\b(IF|THEN|ELSE|OTHERWISE|FI)\\b"
389
391
  },
390
392
  {
391
- "match": "\\b(LET|IN|WHERE)\\b",
392
- "name": "keyword.other.opal"
393
+ "name": "keyword.other.opal",
394
+ "match": "\\b(LET|IN|WHERE)\\b"
393
395
  },
394
396
  {
395
- "match": "(<=|>=|<|>|\\|=|(?<!=)=(?!=))",
396
- "name": "keyword.operator.comparison.opal"
397
+ "name": "keyword.operator.comparison.opal",
398
+ "match": "(<=|>=|<|>|\\|=|(?<!=)=(?!=))"
397
399
  },
398
400
  {
399
- "match": "(\\+|\\-|\\*|/|\\bdiv\\b|\\^|\\bpow\\b|%|\\bmod\\b)",
400
- "name": "keyword.operator.arithmetic.opal"
401
+ "name": "keyword.operator.arithmetic.opal",
402
+ "match": "(\\+|\\-|\\*|/|\\bdiv\\b|\\^|\\bpow\\b|%|\\bmod\\b)"
401
403
  },
402
404
  {
403
- "match": "(\\b(and|or|not|)\\b)|~",
404
- "name": "keyword.operator.logical.opal"
405
+ "name": "keyword.operator.logical.opal",
406
+ "match": "(\\b(and|or|not|)\\b)|~"
405
407
  },
406
408
  {
407
- "match": "(::)(?!\\?)",
408
- "name": "keyword.operator.sequence.opal"
409
+ "name": "keyword.operator.sequence.opal",
410
+ "match": "(::)(?!\\?)"
409
411
  }
410
412
  ]
411
413
  }
412
- },
413
- "scopeName": "source.opal",
414
- "uuid": "3da0f3f0-8b32-41c9-857c-ce9be39b99d4"
414
+ }
415
415
  }