1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 07:55:12 +03:00

Prefix the leaf class with category-.

This commit is contained in:
Rob Rix 2015-12-07 14:39:00 -05:00
parent e1317b6b82
commit 90418e3310

View File

@ -83,5 +83,4 @@ main = hspec $ do
formatted source1 source2 category = Annotated (info source1 category, info source2 category)
offsetInfo by (Info (Range start end) lineRange categories) = Info (Range (start + by) (end + by)) lineRange categories
offsetAnnotated by1 by2 (Annotated (left, right) syntax) = Annotated (offsetInfo by1 left, offsetInfo by2 right) syntax
span = Span (Just "leaf")
span = Span (Just "category-leaf")