1
1
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:
joshvera 2016-08-16 16:18:02 -04:00
parent 329c050811
commit 7785cbf498

View File

@ -213,6 +213,7 @@ instance HasCategory Category where
C.Class -> "class" C.Class -> "class"
C.Method -> "method" C.Method -> "method"
C.If -> "if statement" C.If -> "if statement"
C.CommaOperator -> "comma operator"
instance (HasCategory leaf, HasField fields Category) => HasCategory (Term leaf (Record fields)) where instance (HasCategory leaf, HasField fields Category) => HasCategory (Term leaf (Record fields)) where
toCategoryName = toCategoryName . category . extract toCategoryName = toCategoryName . category . extract