mirror of
https://github.com/github/semantic.git
synced 2024-11-24 17:04:47 +03:00
Add a BranchAlignment type.
This commit is contained in:
parent
13aaee7526
commit
03ec660dbc
@ -192,6 +192,8 @@ data BranchElement
|
||||
| Margin (Join These String)
|
||||
deriving Show
|
||||
|
||||
data BranchAlignment = BranchAlignment { branchElements :: [BranchElement] }
|
||||
|
||||
branchElementContents :: BranchElement -> Join These String
|
||||
branchElementContents (Child _ contents) = contents
|
||||
branchElementContents (Margin contents) = contents
|
||||
|
Loading…
Reference in New Issue
Block a user