File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 316
316
' name' : ' keyword.declaration.scala'
317
317
' 2' :
318
318
' name' : ' entity.name.function.declaration'
319
- ' match' : ' (?x)\n\t\t\t\t\t\t\\ b(def)\\ s+\n\t\t\t\t\t\t (`[^`]+`|[_$a-zA-Z ][_$a-zA-Z0- 9]*(?:_[^\\ s])(?=[(\\ t ])|[_$a-zA-Z ][_$a-zA-Z0 -9]*|[-?~><^+*%:!#|/@\\\\ ]+)'
319
+ ' match' : ' (?x)\n\t\t\t\t\t\t\\ b(def)\\ s+\n\t\t\t\t\t\t (`[^`]+`|[_$\\ p{L} ][_$\\ p{L}0- 9]*(?:_[^\\ s])(?=[(\\ t ])|[_$\\ p{L} ][_$\\ p{L}0 -9]*|[-?~><^+*%:!#|/@\\\\ ]+)'
320
320
}
321
321
{
322
322
' captures' :
334
334
' name' : ' keyword.declaration.scala'
335
335
' 2' :
336
336
' name' : ' entity.name.type.declaration'
337
- ' match' : ' \\ b(type)\\ s+(`[^`]+`|[_$a-zA-Z ][_$a-zA-Z0-9 ]*(?:_[^\\ s])(?=[\\ t ])|[_$a-zA-Z ][_$a-zA-Z0 -9]*|[-?~><^+*%:!#|/@\\\\ ]+)'
337
+ ' match' : ' \\ b(type)\\ s+(`[^`]+`|[_$\\ p{L} ][_$a-z \\ p{L} ]*(?:_[^\\ s])(?=[\\ t ])|[_$\\ p{L} ][_$\\ p{L}0 -9]*|[-?~><^+*%:!#|/@\\\\ ]+)'
338
338
}
339
339
{
340
340
' captures' :
344
344
' name' : ' keyword.declaration.volatile.scala'
345
345
' 3' :
346
346
' name' : ' entity.name.val.declaration'
347
- ' match' : ' \\ b(?:(val)|(var))\\ s+(?:(`[^`]+`|[_$a-zA-Z ][_$a-zA-Z0- 9]*(?:_[^\\ s])(?=[\\ t ])|[_$a-zA-Z ][_$a-zA-Z0 -9]*|[-?~><^+*%:!#|/@\\\\ ]+)|(?=\\ ())'
347
+ ' match' : ' \\ b(?:(val)|(var))\\ s+(?:(`[^`]+`|[_$\\ p{L} ][_$\\ p{L}0- 9]*(?:_[^\\ s])(?=[\\ t ])|[_$\\ p{L} ][_$\\ p{L}0 -9]*|[-?~><^+*%:!#|/@\\\\ ]+)|(?=\\ ())'
348
348
}
349
349
{
350
350
' captures' :
494
494
' name' : ' variable.parameter.scala'
495
495
' 2' :
496
496
' name' : ' meta.colon.scala'
497
- ' comment' : ' We do not match param names that start with a Capitol letter'
498
- ' match' : ' (?<=[^\\ ._$a-zA-Z0- 9])(`[^`]+`|[_$a-z ][_$a-zA-Z0- 9]*(?:_[^\\ s])(?=[\\ t ])|[_$a-z ][_$a-zA-Z0 -9]*|[-?~><^+*%:!#|/@\\\\ ]+)\\ s*(:)\\ s+'
497
+ ' comment' : ' We do not match param names that start with a Capital letter'
498
+ ' match' : ' (?<=[^\\ ._$\\ p{L}0- 9])(`[^`]+`|[_$\\ p{Ll} ][_$\\ p{L}0- 9]*(?:_[^\\ s])(?=[\\ t ])|[_$\\ p{Ll} ][_$\\ p{L}0 -9]*|[-?~><^+*%:!#|/@\\\\ ]+)\\ s*(:)\\ s+'
499
499
}
500
500
]
501
501
' qualifiedClassName' :
You can’t perform that action at this time.
0 commit comments