Language.Python.Common.PrettyToken

language-python-0.5.2: 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

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