Copyright | © 2014 Parnell Springmeyer |
---|---|
License | All Rights Reserved |
Maintainer | Parnell Springmeyer <parnell@digitalmentat.com> |
Stability | stable |
Safe Haskell | None |
Language | Haskell2010 |
Data.OrgMode.Parse.Attoparsec.Headings
Description
Parsing combinators for org-list headings.
- data Heading = Heading {}
- data Priority
- newtype State = State Text.Text
- newtype Keyword = Keyword Text.Text
- newtype PropertyDrawer k v = PropertyDrawer (HashMap k v)
- data Schedule = Schedule {}
- data ScheduleType
- data Timestamp
- newtype Open = Open Char
- newtype Close = Close Char
- toPriority :: Text.Text -> Priority
- heading :: TP.Parser Text.Text Heading
- headingLevel :: TP.Parser Text.Text Int
- headingPriority :: TP.Parser Text.Text (Maybe Priority)
- headingTitle :: TP.Parser Text.Text (Text.Text, Maybe Keyword)
- headingKeyword :: TP.Parser Text.Text (Maybe Keyword)
Documentation
Constructors
Heading | |
newtype PropertyDrawer k v Source
Constructors
PropertyDrawer (HashMap k v) |
Instances
(Eq k, Eq v) => Eq (PropertyDrawer k v) | |
(Show k, Show v) => Show (PropertyDrawer k v) |
Constructors
Schedule | |
Fields |
toPriority :: Text.Text -> Priority Source
headingLevel :: TP.Parser Text.Text Int Source
Parse the asterisk indicated heading level until a space is reached.