Copyright | (c) Dominik Dietrich, Ewaryst Schulz, DFKI Bremen 2010 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Ewaryst.Schulz@dfki.de |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Pretty printing the abstract syntax of CSL.
- printExpression :: ExpressionPrinter m => EXPRESSION -> m Doc
- printCMD :: ExpressionPrinter m => CMD -> m Doc
- printAssDefinition :: ExpressionPrinter m => AssDefinition -> m Doc
- printConstantName :: ConstantName -> Doc
- class Monad m => ExpressionPrinter m where
- getOINM :: m OpInfoNameMap
- printConstant :: ConstantName -> m Doc
- printOpname :: OPNAME -> m Doc
- prefixMode :: m Bool
- printArgs :: [Doc] -> m Doc
- printArgPattern :: String -> m Doc
- printInterval :: Double -> Double -> m Doc
- printRational :: APFloat -> m Doc
Documentation
printExpression :: ExpressionPrinter m => EXPRESSION -> m Doc
printCMD :: ExpressionPrinter m => CMD -> m Doc
printAssDefinition :: ExpressionPrinter m => AssDefinition -> m Doc
printConstantName :: ConstantName -> Doc
The default ConstantName printer
class Monad m => ExpressionPrinter m where
A monad for printing of constants. This turns the pretty printing facility
more flexible w.r.t. the output of ConstantName
.
Nothing
getOINM :: m OpInfoNameMap
printConstant :: ConstantName -> m Doc
printOpname :: OPNAME -> m Doc
prefixMode :: m Bool
printArgPattern :: String -> m Doc
printInterval :: Double -> Double -> m Doc
printRational :: APFloat -> m Doc
ExpressionPrinter [] | |
ExpressionPrinter (Reader OpInfoNameMap) | An |