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

Copyright | (c) 2009 Bernie Pope
License | BSD-style
Maintainer | bjpop@csse.unimelb.edu.au
Stability | experimental
Portability | ghc
Safe Haskell | Safe
Language | Haskell98

Language.Python.Common.PrettyToken

Contents

- Orphan instances

Description

Pretty printing of tokens. Note the output is intended for displaying in messages to the user, and may not be valid Python syntax. For instance the pretty printing is useful for displaying parser error messages, but not useful for producing concrete Python source.

# Documentation

# Orphan instances

Pretty Token # |
Methods pretty :: Token -> Doc #