rest-rewrite-0.4.3: Rewriting library with online termination checking
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.REST.RESTDot

Description

This module is responsible for rendering GraphViz graphs corresponding to an execution of the REST algorithm.

Synopsis

Documentation

data PrettyPrinter rule term ord Source #

Controls how rules, terms, orderings, and rejected paths should be displayed

Constructors

PrettyPrinter 

Fields

data ShowRejectsOpt Source #

Controls how rejected paths should be visualized

Constructors

ShowRejectsWithRule

Display rejected paths, and the rule that generated them

ShowRejectsWithoutRule

Display rejected paths, but don't display the rule that generated them

HideRejects

Do not show rejected paths

Instances

Instances details
Eq ShowRejectsOpt Source # 
Instance details

Defined in Language.REST.RESTDot

writeDot :: (Hashable rule, Hashable term, Ord a, Hashable a) => String -> GraphType -> PrettyPrinter rule term a -> Set (Path rule term a) -> IO () Source #

writeDot name gt printer paths generates a graphViz graph from paths with name name.