mirror of
https://github.com/github/semantic.git
synced 2024-12-23 06:41:45 +03:00
🔥 GraphRenderer.
This commit is contained in:
parent
e37bc83f14
commit
619e9f537f
@ -2,7 +2,6 @@
|
|||||||
module Rendering.Renderer
|
module Rendering.Renderer
|
||||||
( DiffRenderer(..)
|
( DiffRenderer(..)
|
||||||
, TermRenderer(..)
|
, TermRenderer(..)
|
||||||
, GraphRenderer(..)
|
|
||||||
, SomeRenderer(..)
|
, SomeRenderer(..)
|
||||||
, renderSExpressionDiff
|
, renderSExpressionDiff
|
||||||
, renderSExpressionTerm
|
, renderSExpressionTerm
|
||||||
@ -67,13 +66,6 @@ data TermRenderer output where
|
|||||||
deriving instance Eq (TermRenderer output)
|
deriving instance Eq (TermRenderer output)
|
||||||
deriving instance Show (TermRenderer output)
|
deriving instance Show (TermRenderer output)
|
||||||
|
|
||||||
-- | Specification of renderers for graph analysis, producing output in the parameter type.
|
|
||||||
data GraphRenderer output where
|
|
||||||
JSONGraphRenderer :: GraphRenderer Builder
|
|
||||||
DOTGraphRenderer :: GraphRenderer Builder
|
|
||||||
|
|
||||||
deriving instance Eq (GraphRenderer output)
|
|
||||||
deriving instance Show (GraphRenderer output)
|
|
||||||
|
|
||||||
-- | Abstraction of some renderer to some 'Monoid'al output which can be serialized to a 'ByteString'.
|
-- | Abstraction of some renderer to some 'Monoid'al output which can be serialized to a 'ByteString'.
|
||||||
--
|
--
|
||||||
|
Loading…
Reference in New Issue
Block a user