-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/

-- | AsciiDoc parser.
--   
--   A parser for AsciiDoc syntax.
@package asciidoc
@version 0.1.0.3

module AsciiDoc.AST

-- | A complete AsciiDoc document
data Document
Document :: Meta -> [Block] -> Document
[docMeta] :: Document -> Meta
[docBlocks] :: Document -> [Block]

-- | Document metadata
data Meta
Meta :: [Inline] -> Maybe Attr -> [Author] -> Maybe Revision -> Map Text Text -> Meta
[docTitle] :: Meta -> [Inline]
[docTitleAttributes] :: Meta -> Maybe Attr
[docAuthors] :: Meta -> [Author]
[docRevision] :: Meta -> Maybe Revision
[docAttributes] :: Meta -> Map Text Text

-- | Author information
data Author
Author :: Text -> Maybe Text -> Author
[authorName] :: Author -> Text
[authorEmail] :: Author -> Maybe Text

-- | Revision information
data Revision
Revision :: Text -> Maybe Text -> Maybe Text -> Revision
[revVersion] :: Revision -> Text
[revDate] :: Revision -> Maybe Text
[revRemark] :: Revision -> Maybe Text

-- | Block-level element with attributes
data Block
Block :: Attr -> Maybe BlockTitle -> BlockType -> Block

-- | Block-level element types
data BlockType
Section :: Level -> [Inline] -> [Block] -> BlockType
DiscreteHeading :: Level -> [Inline] -> BlockType
Paragraph :: [Inline] -> BlockType
Verse :: Maybe Attribution -> [Block] -> BlockType
LiteralBlock :: Text -> BlockType
Listing :: Maybe Language -> [SourceLine] -> BlockType
IncludeListing :: Maybe Language -> FilePath -> Maybe [SourceLine] -> BlockType
ExampleBlock :: [Block] -> BlockType
QuoteBlock :: Maybe Attribution -> [Block] -> BlockType
Sidebar :: [Block] -> BlockType
OpenBlock :: [Block] -> BlockType
PassthroughBlock :: Text -> BlockType
MathBlock :: Maybe MathType -> Text -> BlockType
List :: ListType -> [ListItem] -> BlockType
DefinitionList :: [([Inline], [Block])] -> BlockType
Table :: [ColumnSpec] -> Maybe [TableRow] -> [TableRow] -> Maybe [TableRow] -> BlockType
BlockImage :: Target -> Maybe AltText -> Maybe Width -> Maybe Height -> BlockType
BlockAudio :: Target -> BlockType
BlockVideo :: Target -> BlockType
TOC :: BlockType
Admonition :: AdmonitionType -> [Block] -> BlockType
PageBreak :: BlockType
ThematicBreak :: BlockType
Include :: FilePath -> Maybe [Block] -> BlockType
newtype BlockTitle
BlockTitle :: [Inline] -> BlockTitle

-- | Inline element with attributes
data Inline
Inline :: Attr -> InlineType -> Inline

-- | Inline element types
data InlineType
Str :: Text -> InlineType
HardBreak :: InlineType
Bold :: [Inline] -> InlineType
Italic :: [Inline] -> InlineType
Monospace :: [Inline] -> InlineType
Superscript :: [Inline] -> InlineType
Subscript :: [Inline] -> InlineType
Highlight :: [Inline] -> InlineType
Strikethrough :: [Inline] -> InlineType
DoubleQuoted :: [Inline] -> InlineType
SingleQuoted :: [Inline] -> InlineType
Math :: Maybe MathType -> Text -> InlineType
Icon :: Text -> InlineType
Button :: Text -> InlineType
Kbd :: [Text] -> InlineType
Menu :: [Text] -> InlineType
Link :: LinkType -> Target -> [Inline] -> InlineType
InlineImage :: Target -> Maybe AltText -> Maybe Width -> Maybe Height -> InlineType
Footnote :: Maybe FootnoteId -> [Inline] -> InlineType
InlineAnchor :: Text -> [Inline] -> InlineType
BibliographyAnchor :: Text -> [Inline] -> InlineType
CrossReference :: Text -> Maybe [Inline] -> InlineType
AttributeReference :: AttributeName -> InlineType
Span :: [Inline] -> InlineType
IndexEntry :: IndexTerm -> InlineType
Counter :: Text -> CounterType -> Int -> InlineType
Passthrough :: Text -> InlineType

-- | List types
data ListType
BulletList :: Level -> ListType
OrderedList :: Level -> Maybe Int -> ListType
CheckList :: ListType
CalloutList :: ListType

-- | A list item
data ListItem
ListItem :: Maybe CheckboxState -> [Block] -> ListItem

-- | Checkbox state for checklists
data CheckboxState
Checked :: CheckboxState
Unchecked :: CheckboxState

-- | Column specification
data ColumnSpec
ColumnSpec :: Maybe HorizAlign -> Maybe VertAlign -> Maybe Int -> Maybe CellStyle -> ColumnSpec
[colHorizAlign] :: ColumnSpec -> Maybe HorizAlign
[colVertAlign] :: ColumnSpec -> Maybe VertAlign
[colWidth] :: ColumnSpec -> Maybe Int
[colStyle] :: ColumnSpec -> Maybe CellStyle

-- | Defines how cell contents are parsed
data CellStyle
AsciiDocStyle :: CellStyle
DefaultStyle :: CellStyle
EmphasisStyle :: CellStyle
LiteralStyle :: CellStyle
HeaderStyle :: CellStyle
MonospaceStyle :: CellStyle
StrongStyle :: CellStyle

-- | Table row
newtype TableRow
TableRow :: [TableCell] -> TableRow

-- | Table cell
data TableCell
TableCell :: [Block] -> Maybe HorizAlign -> Maybe VertAlign -> Int -> Int -> TableCell
[cellContent] :: TableCell -> [Block]
[cellHorizAlign] :: TableCell -> Maybe HorizAlign
[cellVertAlign] :: TableCell -> Maybe VertAlign
[cellColspan] :: TableCell -> Int
[cellRowspan] :: TableCell -> Int

-- | Cell alignment
data HorizAlign
AlignLeft :: HorizAlign
AlignCenter :: HorizAlign
AlignRight :: HorizAlign
data VertAlign
AlignTop :: VertAlign
AlignMiddle :: VertAlign
AlignBottom :: VertAlign

-- | Types of admonitions
data AdmonitionType
Note :: AdmonitionType
Tip :: AdmonitionType
Important :: AdmonitionType
Caution :: AdmonitionType
Warning :: AdmonitionType

-- | Link or image target
newtype Target
Target :: Text -> Target

-- | Link types
data LinkType
URLLink :: LinkType
EmailLink :: LinkType
data MathType
AsciiMath :: MathType
LaTeXMath :: MathType

-- | Attributes attached to an element. The first parameter stores
--   positional attributes in order. The second parameter stores named
--   attributes (including special keys like idroleoptions) in a
--   map.
data Attr
Attr :: [Text] -> Map Text Text -> Attr
attrNull :: Attr -> Bool

-- | Nesting or section level
newtype Level
Level :: Int -> Level

-- | Programming or markup language identifier
newtype Language
Language :: Text -> Language

-- | Attribution for quotes
newtype Attribution
Attribution :: Text -> Attribution

-- | Alternative text for images
newtype AltText
AltText :: Text -> AltText

-- | Width specification in pixels
newtype Width
Width :: Int -> Width

-- | Height specification in pixels
newtype Height
Height :: Int -> Height

-- | Footnote identifier
newtype FootnoteId
FootnoteId :: Text -> FootnoteId

-- | Attribute name
newtype AttributeName
AttributeName :: Text -> AttributeName

-- | Source line callout
newtype Callout
Callout :: Int -> Callout
data IndexTerm
TermInText :: Text -> IndexTerm
TermConcealed :: [Text] -> IndexTerm

-- | Source line with possible annotation
data SourceLine
SourceLine :: Text -> [Callout] -> SourceLine
data CounterType
DecimalCounter :: CounterType
UpperAlphaCounter :: CounterType
LowerAlphaCounter :: CounterType
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.AdmonitionType
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.AltText
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.Attr
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.AttributeName
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.Attribution
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.Author
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.Block
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.BlockTitle
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.BlockType
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.Callout
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.CellStyle
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.CheckboxState
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.ColumnSpec
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.CounterType
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.Document
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.FootnoteId
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.Height
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.HorizAlign
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.IndexTerm
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.Inline
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.InlineType
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.Language
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.Level
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.LinkType
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.ListItem
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.ListType
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.MathType
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.Meta
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.Revision
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.SourceLine
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.TableCell
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.TableRow
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.Target
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.VertAlign
instance GHC.Internal.Data.Data.Data AsciiDoc.AST.Width
instance GHC.Classes.Eq AsciiDoc.AST.AdmonitionType
instance GHC.Classes.Eq AsciiDoc.AST.AltText
instance GHC.Classes.Eq AsciiDoc.AST.Attr
instance GHC.Classes.Eq AsciiDoc.AST.AttributeName
instance GHC.Classes.Eq AsciiDoc.AST.Attribution
instance GHC.Classes.Eq AsciiDoc.AST.Author
instance GHC.Classes.Eq AsciiDoc.AST.Block
instance GHC.Classes.Eq AsciiDoc.AST.BlockTitle
instance GHC.Classes.Eq AsciiDoc.AST.BlockType
instance GHC.Classes.Eq AsciiDoc.AST.Callout
instance GHC.Classes.Eq AsciiDoc.AST.CellStyle
instance GHC.Classes.Eq AsciiDoc.AST.CheckboxState
instance GHC.Classes.Eq AsciiDoc.AST.ColumnSpec
instance GHC.Classes.Eq AsciiDoc.AST.CounterType
instance GHC.Classes.Eq AsciiDoc.AST.Document
instance GHC.Classes.Eq AsciiDoc.AST.FootnoteId
instance GHC.Classes.Eq AsciiDoc.AST.Height
instance GHC.Classes.Eq AsciiDoc.AST.HorizAlign
instance GHC.Classes.Eq AsciiDoc.AST.IndexTerm
instance GHC.Classes.Eq AsciiDoc.AST.Inline
instance GHC.Classes.Eq AsciiDoc.AST.InlineType
instance GHC.Classes.Eq AsciiDoc.AST.Language
instance GHC.Classes.Eq AsciiDoc.AST.Level
instance GHC.Classes.Eq AsciiDoc.AST.LinkType
instance GHC.Classes.Eq AsciiDoc.AST.ListItem
instance GHC.Classes.Eq AsciiDoc.AST.ListType
instance GHC.Classes.Eq AsciiDoc.AST.MathType
instance GHC.Classes.Eq AsciiDoc.AST.Meta
instance GHC.Classes.Eq AsciiDoc.AST.Revision
instance GHC.Classes.Eq AsciiDoc.AST.SourceLine
instance GHC.Classes.Eq AsciiDoc.AST.TableCell
instance GHC.Classes.Eq AsciiDoc.AST.TableRow
instance GHC.Classes.Eq AsciiDoc.AST.Target
instance GHC.Classes.Eq AsciiDoc.AST.VertAlign
instance GHC.Classes.Eq AsciiDoc.AST.Width
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.AdmonitionType
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.AltText
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.Attr
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.AttributeName
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.Attribution
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.Author
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.Block
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.BlockTitle
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.BlockType
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.Callout
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.CellStyle
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.CheckboxState
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.ColumnSpec
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.CounterType
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.Document
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.FootnoteId
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.Height
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.HorizAlign
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.IndexTerm
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.Inline
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.InlineType
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.Language
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.Level
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.LinkType
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.ListItem
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.ListType
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.MathType
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.Meta
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.Revision
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.SourceLine
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.TableCell
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.TableRow
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.Target
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.VertAlign
instance Data.Aeson.Types.FromJSON.FromJSON AsciiDoc.AST.Width
instance GHC.Internal.Generics.Generic AsciiDoc.AST.AdmonitionType
instance GHC.Internal.Generics.Generic AsciiDoc.AST.AltText
instance GHC.Internal.Generics.Generic AsciiDoc.AST.Attr
instance GHC.Internal.Generics.Generic AsciiDoc.AST.AttributeName
instance GHC.Internal.Generics.Generic AsciiDoc.AST.Attribution
instance GHC.Internal.Generics.Generic AsciiDoc.AST.Author
instance GHC.Internal.Generics.Generic AsciiDoc.AST.Block
instance GHC.Internal.Generics.Generic AsciiDoc.AST.BlockTitle
instance GHC.Internal.Generics.Generic AsciiDoc.AST.BlockType
instance GHC.Internal.Generics.Generic AsciiDoc.AST.Callout
instance GHC.Internal.Generics.Generic AsciiDoc.AST.CellStyle
instance GHC.Internal.Generics.Generic AsciiDoc.AST.CheckboxState
instance GHC.Internal.Generics.Generic AsciiDoc.AST.ColumnSpec
instance GHC.Internal.Generics.Generic AsciiDoc.AST.CounterType
instance GHC.Internal.Generics.Generic AsciiDoc.AST.Document
instance GHC.Internal.Generics.Generic AsciiDoc.AST.FootnoteId
instance GHC.Internal.Generics.Generic AsciiDoc.AST.Height
instance GHC.Internal.Generics.Generic AsciiDoc.AST.HorizAlign
instance GHC.Internal.Generics.Generic AsciiDoc.AST.IndexTerm
instance GHC.Internal.Generics.Generic AsciiDoc.AST.Inline
instance GHC.Internal.Generics.Generic AsciiDoc.AST.InlineType
instance GHC.Internal.Generics.Generic AsciiDoc.AST.Language
instance GHC.Internal.Generics.Generic AsciiDoc.AST.Level
instance GHC.Internal.Generics.Generic AsciiDoc.AST.LinkType
instance GHC.Internal.Generics.Generic AsciiDoc.AST.ListItem
instance GHC.Internal.Generics.Generic AsciiDoc.AST.ListType
instance GHC.Internal.Generics.Generic AsciiDoc.AST.MathType
instance GHC.Internal.Generics.Generic AsciiDoc.AST.Meta
instance GHC.Internal.Generics.Generic AsciiDoc.AST.Revision
instance GHC.Internal.Generics.Generic AsciiDoc.AST.SourceLine
instance GHC.Internal.Generics.Generic AsciiDoc.AST.TableCell
instance GHC.Internal.Generics.Generic AsciiDoc.AST.TableRow
instance GHC.Internal.Generics.Generic AsciiDoc.AST.Target
instance GHC.Internal.Generics.Generic AsciiDoc.AST.VertAlign
instance GHC.Internal.Generics.Generic AsciiDoc.AST.Width
instance GHC.Internal.Base.Monoid AsciiDoc.AST.Attr
instance GHC.Internal.Base.Monoid AsciiDoc.AST.Document
instance GHC.Internal.Base.Monoid AsciiDoc.AST.Meta
instance GHC.Classes.Ord AsciiDoc.AST.AltText
instance GHC.Classes.Ord AsciiDoc.AST.AttributeName
instance GHC.Classes.Ord AsciiDoc.AST.Attribution
instance GHC.Classes.Ord AsciiDoc.AST.Callout
instance GHC.Classes.Ord AsciiDoc.AST.FootnoteId
instance GHC.Classes.Ord AsciiDoc.AST.Height
instance GHC.Classes.Ord AsciiDoc.AST.Language
instance GHC.Classes.Ord AsciiDoc.AST.Level
instance GHC.Classes.Ord AsciiDoc.AST.SourceLine
instance GHC.Classes.Ord AsciiDoc.AST.Width
instance GHC.Internal.Base.Semigroup AsciiDoc.AST.Attr
instance GHC.Internal.Base.Semigroup AsciiDoc.AST.Document
instance GHC.Internal.Base.Semigroup AsciiDoc.AST.Meta
instance GHC.Internal.Show.Show AsciiDoc.AST.AdmonitionType
instance GHC.Internal.Show.Show AsciiDoc.AST.AltText
instance GHC.Internal.Show.Show AsciiDoc.AST.Attr
instance GHC.Internal.Show.Show AsciiDoc.AST.AttributeName
instance GHC.Internal.Show.Show AsciiDoc.AST.Attribution
instance GHC.Internal.Show.Show AsciiDoc.AST.Author
instance GHC.Internal.Show.Show AsciiDoc.AST.Block
instance GHC.Internal.Show.Show AsciiDoc.AST.BlockTitle
instance GHC.Internal.Show.Show AsciiDoc.AST.BlockType
instance GHC.Internal.Show.Show AsciiDoc.AST.Callout
instance GHC.Internal.Show.Show AsciiDoc.AST.CellStyle
instance GHC.Internal.Show.Show AsciiDoc.AST.CheckboxState
instance GHC.Internal.Show.Show AsciiDoc.AST.ColumnSpec
instance GHC.Internal.Show.Show AsciiDoc.AST.CounterType
instance GHC.Internal.Show.Show AsciiDoc.AST.Document
instance GHC.Internal.Show.Show AsciiDoc.AST.FootnoteId
instance GHC.Internal.Show.Show AsciiDoc.AST.Height
instance GHC.Internal.Show.Show AsciiDoc.AST.HorizAlign
instance GHC.Internal.Show.Show AsciiDoc.AST.IndexTerm
instance GHC.Internal.Show.Show AsciiDoc.AST.Inline
instance GHC.Internal.Show.Show AsciiDoc.AST.InlineType
instance GHC.Internal.Show.Show AsciiDoc.AST.Language
instance GHC.Internal.Show.Show AsciiDoc.AST.Level
instance GHC.Internal.Show.Show AsciiDoc.AST.LinkType
instance GHC.Internal.Show.Show AsciiDoc.AST.ListItem
instance GHC.Internal.Show.Show AsciiDoc.AST.ListType
instance GHC.Internal.Show.Show AsciiDoc.AST.MathType
instance GHC.Internal.Show.Show AsciiDoc.AST.Meta
instance GHC.Internal.Show.Show AsciiDoc.AST.Revision
instance GHC.Internal.Show.Show AsciiDoc.AST.SourceLine
instance GHC.Internal.Show.Show AsciiDoc.AST.TableCell
instance GHC.Internal.Show.Show AsciiDoc.AST.TableRow
instance GHC.Internal.Show.Show AsciiDoc.AST.Target
instance GHC.Internal.Show.Show AsciiDoc.AST.VertAlign
instance GHC.Internal.Show.Show AsciiDoc.AST.Width
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.AdmonitionType
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.AltText
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.Attr
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.AttributeName
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.Attribution
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.Author
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.Block
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.BlockTitle
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.BlockType
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.Callout
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.CellStyle
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.CheckboxState
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.ColumnSpec
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.CounterType
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.Document
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.FootnoteId
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.Height
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.HorizAlign
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.IndexTerm
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.Inline
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.InlineType
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.Language
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.Level
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.LinkType
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.ListItem
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.ListType
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.MathType
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.Meta
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.Revision
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.SourceLine
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.TableCell
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.TableRow
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.Target
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.VertAlign
instance Data.Aeson.Types.ToJSON.ToJSON AsciiDoc.AST.Width

module AsciiDoc.Generic
class HasInlines a
foldInlines :: (HasInlines a, Monoid m) => (Inline -> m) -> a -> m
($dmfoldInlines) :: (HasInlines a, Generic a, GHasInlines (Rep a), Monoid m) => (Inline -> m) -> a -> m
mapInlines :: (HasInlines a, Monad m) => (Inline -> m Inline) -> a -> m a
($dmmapInlines) :: (HasInlines a, Generic a, GHasInlines (Rep a), Monad m) => (Inline -> m Inline) -> a -> m a
class HasBlocks a
foldBlocks :: (HasBlocks a, Monoid m) => (Block -> m) -> a -> m
($dmfoldBlocks) :: (HasBlocks a, Generic a, GHasBlocks (Rep a), Monoid m) => (Block -> m) -> a -> m
mapBlocks :: (HasBlocks a, Monad m) => (Block -> m Block) -> a -> m a
($dmmapBlocks) :: (HasBlocks a, Generic a, GHasBlocks (Rep a), Monad m) => (Block -> m Block) -> a -> m a
instance (AsciiDoc.Generic.GHasBlocks f, AsciiDoc.Generic.GHasBlocks g) => AsciiDoc.Generic.GHasBlocks (f GHC.Internal.Generics.:*: g)
instance (AsciiDoc.Generic.GHasBlocks f, AsciiDoc.Generic.GHasBlocks g) => AsciiDoc.Generic.GHasBlocks (f GHC.Internal.Generics.:+: g)
instance AsciiDoc.Generic.HasBlocks a => AsciiDoc.Generic.GHasBlocks (GHC.Internal.Generics.K1 i a)
instance AsciiDoc.Generic.GHasBlocks f => AsciiDoc.Generic.GHasBlocks (GHC.Internal.Generics.M1 i c f)
instance AsciiDoc.Generic.GHasBlocks GHC.Internal.Generics.U1
instance (AsciiDoc.Generic.GHasInlines f, AsciiDoc.Generic.GHasInlines g) => AsciiDoc.Generic.GHasInlines (f GHC.Internal.Generics.:*: g)
instance (AsciiDoc.Generic.GHasInlines f, AsciiDoc.Generic.GHasInlines g) => AsciiDoc.Generic.GHasInlines (f GHC.Internal.Generics.:+: g)
instance AsciiDoc.Generic.HasInlines a => AsciiDoc.Generic.GHasInlines (GHC.Internal.Generics.K1 i a)
instance AsciiDoc.Generic.GHasInlines f => AsciiDoc.Generic.GHasInlines (GHC.Internal.Generics.M1 i c f)
instance AsciiDoc.Generic.GHasInlines GHC.Internal.Generics.U1
instance AsciiDoc.Generic.HasBlocks AsciiDoc.AST.Block
instance AsciiDoc.Generic.HasBlocks AsciiDoc.AST.BlockType
instance AsciiDoc.Generic.HasBlocks AsciiDoc.AST.Document
instance AsciiDoc.Generic.HasBlocks AsciiDoc.AST.Inline
instance AsciiDoc.Generic.HasBlocks AsciiDoc.AST.InlineType
instance AsciiDoc.Generic.HasBlocks AsciiDoc.AST.ListItem
instance AsciiDoc.Generic.HasBlocks AsciiDoc.AST.Meta
instance AsciiDoc.Generic.HasBlocks AsciiDoc.AST.TableCell
instance AsciiDoc.Generic.HasBlocks AsciiDoc.AST.TableRow
instance (AsciiDoc.Generic.HasBlocks a, GHC.Internal.Data.Traversable.Traversable t, GHC.Internal.Data.Foldable.Foldable t) => AsciiDoc.Generic.HasBlocks (t a)
instance AsciiDoc.Generic.HasBlocks a
instance AsciiDoc.Generic.HasInlines AsciiDoc.AST.Author
instance AsciiDoc.Generic.HasInlines AsciiDoc.AST.Block
instance AsciiDoc.Generic.HasInlines AsciiDoc.AST.BlockTitle
instance AsciiDoc.Generic.HasInlines AsciiDoc.AST.BlockType
instance AsciiDoc.Generic.HasInlines AsciiDoc.AST.Document
instance AsciiDoc.Generic.HasInlines AsciiDoc.AST.Inline
instance AsciiDoc.Generic.HasInlines AsciiDoc.AST.InlineType
instance AsciiDoc.Generic.HasInlines AsciiDoc.AST.ListItem
instance AsciiDoc.Generic.HasInlines AsciiDoc.AST.Meta
instance AsciiDoc.Generic.HasInlines AsciiDoc.AST.TableCell
instance AsciiDoc.Generic.HasInlines AsciiDoc.AST.TableRow
instance (AsciiDoc.Generic.HasInlines a, GHC.Internal.Data.Traversable.Traversable t, GHC.Internal.Data.Foldable.Foldable t) => AsciiDoc.Generic.HasInlines (t a)
instance AsciiDoc.Generic.HasInlines a

module AsciiDoc.Parse

-- | Parse an AsciiDoc document into an AST.
parseDocument :: Monad m => (FilePath -> m Text) -> (FilePath -> Int -> String -> m Document) -> FilePath -> Text -> m Document
instance GHC.Internal.Base.Alternative AsciiDoc.Parse.P
instance GHC.Internal.Base.Applicative AsciiDoc.Parse.P
instance GHC.Classes.Eq AsciiDoc.Parse.BlockContext
instance GHC.Internal.Base.Functor AsciiDoc.Parse.P
instance GHC.Internal.Control.Monad.Fail.MonadFail AsciiDoc.Parse.P
instance GHC.Internal.Base.Monad AsciiDoc.Parse.P
instance GHC.Internal.Base.MonadPlus AsciiDoc.Parse.P
instance Control.Monad.Reader.Class.MonadReader AsciiDoc.Parse.ParserConfig AsciiDoc.Parse.P
instance Control.Monad.State.Class.MonadState AsciiDoc.Parse.ParserState AsciiDoc.Parse.P
instance GHC.Internal.Show.Show AsciiDoc.Parse.BlockContext
instance GHC.Internal.Show.Show AsciiDoc.Parse.CellData
instance GHC.Internal.Show.Show AsciiDoc.Parse.MatchState
instance GHC.Internal.Show.Show AsciiDoc.Parse.ParseError
instance GHC.Internal.Show.Show AsciiDoc.Parse.ParserConfig
instance GHC.Internal.Show.Show AsciiDoc.Parse.ParserState
instance GHC.Internal.Show.Show AsciiDoc.Parse.TableOpts
instance GHC.Internal.Show.Show AsciiDoc.Parse.TableSyntax

module AsciiDoc
