1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 10:15:55 +03:00

Stub in unifiedTerm.

This commit is contained in:
Rob Rix 2015-11-19 16:27:31 -08:00
parent ec0c6fb584
commit d916df923c

View File

@ -22,6 +22,9 @@ unified diff before after =
unifiedPatch :: Patch (Term a annotation) -> String
unifiedPatch _ = ""
unifiedTerm :: Term a annotation -> String -> String
unifiedTerm _ _ = ""
unifiedRange :: Range -> [(String, Maybe Range)] -> String -> String
unifiedRange range children source = out ++ substring Range { start = previous, end = end range } after where
(out, previous) = Prelude.foldl accumulateContext ("", start range) children