File tree 2 files changed +24
-4
lines changed
2 files changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -148,8 +148,8 @@ contexts:
148
148
- match : (?=\()
149
149
branch_point : anonymous
150
150
branch :
151
- - anonymous-parameter-list
152
151
- group
152
+ - anonymous-parameter-list
153
153
# named functions
154
154
- match : (?=(?:(?!and=|or=)|@){{identifier}}\s*[:=][^>])
155
155
branch_point : function
@@ -173,13 +173,23 @@ contexts:
173
173
- match : ' [=-]>'
174
174
scope : meta.function.coffee keyword.declaration.function.coffee
175
175
pop : 1
176
- - match : (?=\S)
177
- fail : anonymous
178
176
179
177
group :
180
178
- match : \(
181
179
scope : punctuation.section.group.begin.coffee
182
- pop : 1
180
+ set : group-body
181
+
182
+ group-body :
183
+ - meta_scope : meta.group.coffee
184
+ - match : \)
185
+ scope : punctuation.section.group.end.coffee
186
+ set : group-check
187
+ - include : expressions
188
+
189
+ group-check :
190
+ - match : (?=[=-]>)
191
+ fail : anonymous
192
+ - include : else-pop
183
193
184
194
function-name :
185
195
- meta_include_prototype : false
Original file line number Diff line number Diff line change @@ -267,6 +267,16 @@ class App.Router extends Snakeskin.Router
267
267
->
268
268
# ^^ keyword.declaration.function.coffee
269
269
270
+ (a : " group" )
271
+ # ^^^^^^^^^^^^^ meta.group.coffee
272
+ # ^ punctuation.section.group.begin.coffee
273
+ # ^ variable.other.readwrite.coffee
274
+ # ^ keyword.operator.assignment.coffee
275
+ # ^^^^^^^ meta.string.coffee string.quoted.double.coffee
276
+ # ^ punctuation.definition.string.begin.coffee
277
+ # ^ punctuation.definition.string.end.coffee
278
+ # ^ punctuation.section.group.end.coffee
279
+
270
280
geometry = new Class ();
271
281
# ^^^^^^^^ variable.other.readwrite.coffee
272
282
# ^ keyword.operator.assignment.coffee
You can’t perform that action at this time.
0 commit comments