mirror of
https://github.com/github/semantic.git
synced 2024-12-28 09:21:35 +03:00
Stub in a JSON renderer.
This commit is contained in:
parent
e74aea88a1
commit
1a45d0b1d6
@ -1,11 +1,15 @@
|
||||
module Renderer.JSON (
|
||||
JSON (JSON, rows)
|
||||
json
|
||||
) where
|
||||
|
||||
import Diff
|
||||
import Row
|
||||
import Source
|
||||
import Renderer
|
||||
import Renderer.Split
|
||||
|
||||
-- | JSON representing an aligned diff.
|
||||
data JSON = JSON { rows :: [Row (SplitDiff (Source Char) Info)] }
|
||||
|
||||
json :: Renderer a String
|
||||
json diff sources = ""
|
||||
|
Loading…
Reference in New Issue
Block a user