Hets - the Heterogeneous Tool Set
Copyright(c) Dominik Dietrich Ewaryst Schulz DFKI Bremen 2010
LicenseGPLv2 or higher, see LICENSE.txt
MaintainerEwaryst.Schulz@dfki.de
Stabilityexperimental
Portabilityportable
Safe HaskellSafe

CSL.Print_AS

Description

Pretty printing the abstract syntax of CSL.

Synopsis

Documentation

printConstantName :: ConstantName -> Doc Source #

The default ConstantName printer

class Monad m => ExpressionPrinter m where Source #

A monad for printing of constants. This turns the pretty printing facility more flexible w.r.t. the output of ConstantName.

Minimal complete definition

Nothing

Instances

Instances details
ExpressionPrinter [] Source # 
Instance details

Defined in CSL.Print_AS

ExpressionPrinter (Reader OpInfoNameMap) Source #

An OpInfoNameMap can be interpreted as an ExpressionPrinter

Instance details

Defined in CSL.Print_AS

Orphan instances

GetRange SYMB_OR_MAP Source # 
Instance details

GetRange SYMB_MAP_ITEMS Source # 
Instance details

GetRange SYMB Source # 
Instance details

GetRange SYMB_ITEMS Source # 
Instance details

GetRange CMD Source # 
Instance details

GetRange EXPRESSION Source # 
Instance details

GetRange BASIC_ITEM Source # 
Instance details

GetRange BASIC_SPEC Source # 
Instance details

GetRange VAR_ITEM Source # 
Instance details

GetRange OP_ITEM Source # 
Instance details

Pretty Ordering Source # 
Instance details

Methods

pretty :: Ordering -> Doc Source #

pretties :: [Ordering] -> Doc Source #

Pretty InfInt Source # 
Instance details

Pretty SYMB_OR_MAP Source # 
Instance details

Pretty SYMB_MAP_ITEMS Source # 
Instance details

Pretty SYMB Source # 
Instance details

Methods

pretty :: SYMB -> Doc Source #

pretties :: [SYMB] -> Doc Source #

Pretty SYMB_ITEMS Source # 
Instance details

Pretty CMD Source # 
Instance details

Methods

pretty :: CMD -> Doc Source #

pretties :: [CMD] -> Doc Source #

Pretty OpDecl Source # 
Instance details

Pretty VarDecl Source # 
Instance details

Pretty EXPRESSION Source # 
Instance details

Pretty ConstantName Source # 
Instance details

Pretty OPID Source # 
Instance details

Methods

pretty :: OPID -> Doc Source #

pretties :: [OPID] -> Doc Source #

Pretty EPVal Source # 
Instance details

Pretty EPDecl Source # 
Instance details

Pretty EXTPARAM Source # 
Instance details

Pretty BASIC_ITEM Source # 
Instance details

Pretty InstantiatedConstant Source # 
Instance details

Pretty AssDefinition Source # 
Instance details

Pretty GroundConstant Source # 
Instance details

Pretty BASIC_SPEC Source # 
Instance details

Pretty VAR_ITEM Source # 
Instance details

Pretty OP_ITEM Source # 
Instance details

Pretty a => Pretty (ClosedInterval a) Source # 
Instance details

(Ord a, Pretty a) => Pretty (SetOrInterval a) Source # 
Instance details