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

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

Language.Python.Common.PrettyAST

Contents

Description

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

Orphan instances

Pretty (AssignOp a) # 

Methods

pretty :: AssignOp a -> Doc #

Pretty (Op a) # 

Methods

pretty :: Op a -> Doc #

Pretty (Slice a) # 

Methods

pretty :: Slice a -> Doc #

Pretty (DictMappingPair a) # 

Methods

pretty :: DictMappingPair a -> Doc #

Pretty (YieldArg a) # 

Methods

pretty :: YieldArg a -> Doc #

Pretty (Expr a) # 

Methods

pretty :: Expr a -> Doc #

Pretty (CompIter a) # 

Methods

pretty :: CompIter a -> Doc #

Pretty (CompIf a) # 

Methods

pretty :: CompIf a -> Doc #

Pretty (CompFor a) # 

Methods

pretty :: CompFor a -> Doc #

Pretty (ComprehensionExpr a) # 

Methods

pretty :: ComprehensionExpr a -> Doc #

Pretty (Comprehension a) # 

Methods

pretty :: Comprehension a -> Doc #

Pretty (ExceptClause a) # 

Methods

pretty :: ExceptClause a -> Doc #

Pretty (Handler a) # 

Methods

pretty :: Handler a -> Doc #

Pretty (Argument a) # 

Methods

pretty :: Argument a -> Doc #

Pretty (ParamTuple a) # 

Methods

pretty :: ParamTuple a -> Doc #

Pretty (Parameter a) # 

Methods

pretty :: Parameter a -> Doc #

Pretty (Decorator a) # 

Methods

pretty :: Decorator a -> Doc #

Pretty (RaiseExpr a) # 

Methods

pretty :: RaiseExpr a -> Doc #

Pretty (Statement a) # 

Methods

pretty :: Statement a -> Doc #

Pretty (ImportRelative a) # 

Methods

pretty :: ImportRelative a -> Doc #

Pretty (FromItems a) # 

Methods

pretty :: FromItems a -> Doc #

Pretty (FromItem a) # 

Methods

pretty :: FromItem a -> Doc #

Pretty (ImportItem a) # 

Methods

pretty :: ImportItem a -> Doc #

Pretty (Module a) # 

Methods

pretty :: Module a -> Doc #

Pretty (Ident a) # 

Methods

pretty :: Ident a -> Doc #