mirror of
https://github.com/github/semantic.git
synced 2024-12-19 12:51:52 +03:00
Add comma operator mapping
This commit is contained in:
parent
329c050811
commit
7785cbf498
@ -213,6 +213,7 @@ instance HasCategory Category where
|
||||
C.Class -> "class"
|
||||
C.Method -> "method"
|
||||
C.If -> "if statement"
|
||||
C.CommaOperator -> "comma operator"
|
||||
|
||||
instance (HasCategory leaf, HasField fields Category) => HasCategory (Term leaf (Record fields)) where
|
||||
toCategoryName = toCategoryName . category . extract
|
||||
|
Loading…
Reference in New Issue
Block a user