9 lines
305 B
CoffeeScript
9 lines
305 B
CoffeeScript
|
OPERATOR = /// ^ (
|
||
|
?: [-=]> # function
|
||
|
| [-+*/%<>&|^!?=]= # compound assign / compare
|
||
|
| >>>=? # zero-fill right shift
|
||
|
| ([-+:])\1 # doubles
|
||
|
| ([&|<>])\2=? # logic / shift
|
||
|
| \?\. # soak access
|
||
|
| \.{2,3} # range or splat
|
||
|
) ///
|