| Copyright | (C) CSIRO 2017-2019 |
|---|---|
| License | BSD3 |
| Maintainer | Isaac Elliott <isaace71295@gmail.com> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Language.Python.Syntax.Module
Description
Synopsis
- data Module v a
- = ModuleEmpty
- | ModuleBlankFinal (Blank a)
- | ModuleBlank (Blank a) Newline (Module v a)
- | ModuleStatement (Statement v a) (Module v a)
Documentation
A Python Module, which is stored as a sequence of statements.
A module corresponds to one source file of Python code.
Constructors
| ModuleEmpty | |
| ModuleBlankFinal (Blank a) | |
| ModuleBlank (Blank a) Newline (Module v a) | |
| ModuleStatement (Statement v a) (Module v a) |