mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
Add SliceTy and Element to Split renderer
This commit is contained in:
parent
d015068e5b
commit
7cd5da6ea6
@ -133,6 +133,8 @@ styleName category = "category-" <> case category of
|
|||||||
C.TypeDecl -> "type_declaration"
|
C.TypeDecl -> "type_declaration"
|
||||||
C.PointerTy -> "pointer_type"
|
C.PointerTy -> "pointer_type"
|
||||||
C.FieldDecl -> "field_declaration"
|
C.FieldDecl -> "field_declaration"
|
||||||
|
C.SliceTy -> "slice_type"
|
||||||
|
C.Element -> "element"
|
||||||
|
|
||||||
-- | Pick the class name for a split patch.
|
-- | Pick the class name for a split patch.
|
||||||
splitPatchToClassName :: SplitPatch a -> AttributeValue
|
splitPatchToClassName :: SplitPatch a -> AttributeValue
|
||||||
|
Loading…
Reference in New Issue
Block a user