language-python-0.5.8: Parsing and pretty printing of Python code.

Copyright(c) 2009 Bernie Pope
LicenseBSD-style
Maintainerbjpop@csse.unimelb.edu.au
Stabilityexperimental
Portabilityghc
Safe HaskellSafe
LanguageHaskell2010

Language.Python.Common.PrettyAST

Contents

Description

Pretty printing of the Python abstract syntax (version 2.x and 3.x).

Orphan instances

Pretty (AssignOp a) Source # 
Instance details

Methods

pretty :: AssignOp a -> Doc Source #

Pretty (Op a) Source # 
Instance details

Methods

pretty :: Op a -> Doc Source #

Pretty (Slice a) Source # 
Instance details

Methods

pretty :: Slice a -> Doc Source #

Pretty (DictKeyDatumList a) Source # 
Instance details

Pretty (YieldArg a) Source # 
Instance details

Methods

pretty :: YieldArg a -> Doc Source #

Pretty (Expr a) Source # 
Instance details

Methods

pretty :: Expr a -> Doc Source #

Pretty (CompIter a) Source # 
Instance details

Methods

pretty :: CompIter a -> Doc Source #

Pretty (CompIf a) Source # 
Instance details

Methods

pretty :: CompIf a -> Doc Source #

Pretty (CompFor a) Source # 
Instance details

Methods

pretty :: CompFor a -> Doc Source #

Pretty (ComprehensionExpr a) Source # 
Instance details

Pretty (Comprehension a) Source # 
Instance details

Pretty (ExceptClause a) Source # 
Instance details

Methods

pretty :: ExceptClause a -> Doc Source #

Pretty (Handler a) Source # 
Instance details

Methods

pretty :: Handler a -> Doc Source #

Pretty (Argument a) Source # 
Instance details

Methods

pretty :: Argument a -> Doc Source #

Pretty (ParamTuple a) Source # 
Instance details

Methods

pretty :: ParamTuple a -> Doc Source #

Pretty (Parameter a) Source # 
Instance details

Methods

pretty :: Parameter a -> Doc Source #

Pretty (Decorator a) Source # 
Instance details

Methods

pretty :: Decorator a -> Doc Source #

Pretty (RaiseExpr a) Source # 
Instance details

Methods

pretty :: RaiseExpr a -> Doc Source #

Pretty (Statement a) Source # 
Instance details

Methods

pretty :: Statement a -> Doc Source #

Pretty (ImportRelative a) Source # 
Instance details

Pretty (FromItems a) Source # 
Instance details

Methods

pretty :: FromItems a -> Doc Source #

Pretty (FromItem a) Source # 
Instance details

Methods

pretty :: FromItem a -> Doc Source #

Pretty (ImportItem a) Source # 
Instance details

Methods

pretty :: ImportItem a -> Doc Source #

Pretty (Module a) Source # 
Instance details

Methods

pretty :: Module a -> Doc Source #

Pretty (Ident a) Source # 
Instance details

Methods

pretty :: Ident a -> Doc Source #