orgmode-parse-0.1.0.1: A collection of Attoparsec combinators for parsing org-mode flavored documents.

Copyright© 2014 Parnell Springmeyer
LicenseAll Rights Reserved
MaintainerParnell Springmeyer <parnell@digitalmentat.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Data.OrgMode.Parse.Types

Description

Types and utility functions.

Documentation

data Document Source

Constructors

Document 

Fields

documentText :: Text

Text occurring before any Org headlines

documentHeadings :: [Heading]

Toplevel Org headlines

newtype Level Source

Constructors

Level Int 

data Heading Source

Constructors

Heading 

Fields

level :: Level

Org headline nesting level (1 is at the top)

keyword :: Maybe StateKeyword

State of the headline (e.g. TODO, DONE)

priority :: Maybe Priority
 
title :: Text
 
stats :: Maybe Stats
 
tags :: [Tag]
 
section :: Section
 
subHeadings :: [Heading]
 

type Tag = Text Source