forked from bjpop/language-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCommon.hs
More file actions
40 lines (38 loc) · 1.52 KB
/
Copy pathCommon.hs
File metadata and controls
40 lines (38 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
-----------------------------------------------------------------------------
-- |
-- Module : Language.Python.Common
-- Copyright : (c) 2009 Bernie Pope
-- License : BSD-style
-- Maintainer : bjpop@csse.unimelb.edu.au
-- Stability : experimental
-- Portability : ghc
--
-- Convenient re-export of common code, which
-- works with both version 2.x and 3.x of Python.
-----------------------------------------------------------------------------
module Language.Python.Common (
-- * Pretty printing infrastructure
module Language.Python.Common.Pretty,
-- * Lexical tokens
module Language.Python.Common.Token,
-- * Abstract Syntax Tree
module Language.Python.Common.AST,
-- * Source locations
module Language.Python.Common.SrcLocation,
-- * Pretty printing the Abstract Syntax Tree to concrete Python syntax
module Language.Python.Common.PrettyAST, -- this export is for Haddock.
-- * Pretty printing tokens
module Language.Python.Common.PrettyToken, -- this export is for Haddock
-- * Parse errors
module Language.Python.Common.ParseError,
-- * Pretty printing parse errors
module Language.Python.Common.PrettyParseError -- this export is for Haddock
) where
import Language.Python.Common.Pretty
import Language.Python.Common.Token
import Language.Python.Common.AST
import Language.Python.Common.PrettyAST
import Language.Python.Common.PrettyToken
import Language.Python.Common.SrcLocation
import Language.Python.Common.PrettyParseError
import Language.Python.Common.ParseError