Copyright | (C) CSIRO 2017-2018 |
---|---|
License | BSD3 |
Maintainer | Isaac Elliott <isaace71295@gmail.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
These types are used throughout the syntax tree to help preserve formatting.
Synopsis
- data Dot = MkDot [Whitespace]
- newtype Comma = MkComma [Whitespace]
- newtype Colon = MkColon [Whitespace]
- data Semicolon a = MkSemicolon a [Whitespace]
- newtype Equals = MkEquals [Whitespace]
- newtype At = MkAt [Whitespace]
Documentation
A period character, possibly followed by some whitespace.
Instances
Eq Dot Source # | |
Show Dot Source # | |
HasTrailingWhitespace Dot Source # | |
Defined in Language.Python.Syntax.Punctuation | |
HasNewlines Dot Source # | |
Defined in Language.Python.Optics.Newlines |
The venerable comma separator
Instances
Eq Comma Source # | |
Show Comma Source # | |
HasTrailingWhitespace Comma Source # | |
Defined in Language.Python.Syntax.Punctuation | |
HasNewlines Comma Source # | |
Defined in Language.Python.Optics.Newlines |
Instances
Eq Colon Source # | |
Show Colon Source # | |
HasTrailingWhitespace Colon Source # | |
Defined in Language.Python.Syntax.Punctuation | |
HasNewlines Colon Source # | |
Defined in Language.Python.Optics.Newlines |
Instances
Instances
Eq Equals Source # | |
Show Equals Source # | |
HasTrailingWhitespace Equals Source # | |
Defined in Language.Python.Syntax.Punctuation | |
HasNewlines Equals Source # | |
Defined in Language.Python.Optics.Newlines |
Instances
Eq At Source # | |
Show At Source # | |
HasTrailingWhitespace At Source # | |
Defined in Language.Python.Syntax.Punctuation | |
HasNewlines At Source # | |
Defined in Language.Python.Optics.Newlines |