asciidoc
Safe HaskellNone
LanguageHaskell2010

AsciiDoc.AST

Synopsis

Documentation

data Document Source #

A complete AsciiDoc document

Constructors

Document 

Fields

Instances

Instances details
FromJSON Document Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser Document

parseJSONList :: Value -> Parser [Document]

omittedField :: Maybe Document

ToJSON Document Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: Document -> Value

toEncoding :: Document -> Encoding

toJSONList :: [Document] -> Value

toEncodingList :: [Document] -> Encoding

omitField :: Document -> Bool

HasBlocks Document Source # 
Instance details

Defined in AsciiDoc.Generic

Methods

foldBlocks :: Monoid m => (Block -> m) -> Document -> m Source #

mapBlocks :: Monad m => (Block -> m Block) -> Document -> m Document Source #

HasInlines Document Source # 
Instance details

Defined in AsciiDoc.Generic

Methods

foldInlines :: Monoid m => (Inline -> m) -> Document -> m Source #

mapInlines :: Monad m => (Inline -> m Inline) -> Document -> m Document Source #

Monoid Document Source # 
Instance details

Defined in AsciiDoc.AST

Semigroup Document Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(<>) :: Document -> Document -> Document

sconcat :: NonEmpty Document -> Document

stimes :: Integral b => b -> Document -> Document

Data Document Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Document -> c Document

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Document

toConstr :: Document -> Constr

dataTypeOf :: Document -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Document)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Document)

gmapT :: (forall b. Data b => b -> b) -> Document -> Document

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Document -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Document -> r

gmapQ :: (forall d. Data d => d -> u) -> Document -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Document -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Document -> m Document

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Document -> m Document

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Document -> m Document

Generic Document Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep Document 
Instance details

Defined in AsciiDoc.AST

type Rep Document = D1 ('MetaData "Document" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "Document" 'PrefixI 'True) (S1 ('MetaSel ('Just "docMeta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Meta) :*: S1 ('MetaSel ('Just "docBlocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block])))

Methods

from :: Document -> Rep Document x

to :: Rep Document x -> Document

Show Document Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> Document -> ShowS

show :: Document -> String

showList :: [Document] -> ShowS

Eq Document Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: Document -> Document -> Bool

(/=) :: Document -> Document -> Bool

type Rep Document Source # 
Instance details

Defined in AsciiDoc.AST

type Rep Document = D1 ('MetaData "Document" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "Document" 'PrefixI 'True) (S1 ('MetaSel ('Just "docMeta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Meta) :*: S1 ('MetaSel ('Just "docBlocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block])))

data Meta Source #

Document metadata

Constructors

Meta 

Fields

Instances

Instances details
FromJSON Meta Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser Meta

parseJSONList :: Value -> Parser [Meta]

omittedField :: Maybe Meta

ToJSON Meta Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: Meta -> Value

toEncoding :: Meta -> Encoding

toJSONList :: [Meta] -> Value

toEncodingList :: [Meta] -> Encoding

omitField :: Meta -> Bool

HasBlocks Meta Source # 
Instance details

Defined in AsciiDoc.Generic

Methods

foldBlocks :: Monoid m => (Block -> m) -> Meta -> m Source #

mapBlocks :: Monad m => (Block -> m Block) -> Meta -> m Meta Source #

HasInlines Meta Source # 
Instance details

Defined in AsciiDoc.Generic

Methods

foldInlines :: Monoid m => (Inline -> m) -> Meta -> m Source #

mapInlines :: Monad m => (Inline -> m Inline) -> Meta -> m Meta Source #

Monoid Meta Source # 
Instance details

Defined in AsciiDoc.AST

Methods

mempty :: Meta

mappend :: Meta -> Meta -> Meta

mconcat :: [Meta] -> Meta

Semigroup Meta Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(<>) :: Meta -> Meta -> Meta

sconcat :: NonEmpty Meta -> Meta

stimes :: Integral b => b -> Meta -> Meta

Data Meta Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Meta -> c Meta

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Meta

toConstr :: Meta -> Constr

dataTypeOf :: Meta -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Meta)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Meta)

gmapT :: (forall b. Data b => b -> b) -> Meta -> Meta

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Meta -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Meta -> r

gmapQ :: (forall d. Data d => d -> u) -> Meta -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Meta -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Meta -> m Meta

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Meta -> m Meta

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Meta -> m Meta

Generic Meta Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep Meta 
Instance details

Defined in AsciiDoc.AST

type Rep Meta = D1 ('MetaData "Meta" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "Meta" 'PrefixI 'True) ((S1 ('MetaSel ('Just "docTitle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]) :*: S1 ('MetaSel ('Just "docTitleAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Attr))) :*: (S1 ('MetaSel ('Just "docAuthors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Author]) :*: (S1 ('MetaSel ('Just "docRevision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Revision)) :*: S1 ('MetaSel ('Just "docAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Text Text))))))

Methods

from :: Meta -> Rep Meta x

to :: Rep Meta x -> Meta

Show Meta Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> Meta -> ShowS

show :: Meta -> String

showList :: [Meta] -> ShowS

Eq Meta Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: Meta -> Meta -> Bool

(/=) :: Meta -> Meta -> Bool

type Rep Meta Source # 
Instance details

Defined in AsciiDoc.AST

type Rep Meta = D1 ('MetaData "Meta" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "Meta" 'PrefixI 'True) ((S1 ('MetaSel ('Just "docTitle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]) :*: S1 ('MetaSel ('Just "docTitleAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Attr))) :*: (S1 ('MetaSel ('Just "docAuthors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Author]) :*: (S1 ('MetaSel ('Just "docRevision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Revision)) :*: S1 ('MetaSel ('Just "docAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Text Text))))))

data Author Source #

Author information

Constructors

Author 

Fields

Instances

Instances details
FromJSON Author Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser Author

parseJSONList :: Value -> Parser [Author]

omittedField :: Maybe Author

ToJSON Author Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: Author -> Value

toEncoding :: Author -> Encoding

toJSONList :: [Author] -> Value

toEncodingList :: [Author] -> Encoding

omitField :: Author -> Bool

HasInlines Author Source # 
Instance details

Defined in AsciiDoc.Generic

Methods

foldInlines :: Monoid m => (Inline -> m) -> Author -> m Source #

mapInlines :: Monad m => (Inline -> m Inline) -> Author -> m Author Source #

Data Author Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Author -> c Author

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Author

toConstr :: Author -> Constr

dataTypeOf :: Author -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Author)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Author)

gmapT :: (forall b. Data b => b -> b) -> Author -> Author

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Author -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Author -> r

gmapQ :: (forall d. Data d => d -> u) -> Author -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Author -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Author -> m Author

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Author -> m Author

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Author -> m Author

Generic Author Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep Author 
Instance details

Defined in AsciiDoc.AST

type Rep Author = D1 ('MetaData "Author" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "Author" 'PrefixI 'True) (S1 ('MetaSel ('Just "authorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "authorEmail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))

Methods

from :: Author -> Rep Author x

to :: Rep Author x -> Author

Show Author Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> Author -> ShowS

show :: Author -> String

showList :: [Author] -> ShowS

Eq Author Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: Author -> Author -> Bool

(/=) :: Author -> Author -> Bool

type Rep Author Source # 
Instance details

Defined in AsciiDoc.AST

type Rep Author = D1 ('MetaData "Author" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "Author" 'PrefixI 'True) (S1 ('MetaSel ('Just "authorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "authorEmail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))

data Revision Source #

Revision information

Constructors

Revision 

Fields

Instances

Instances details
FromJSON Revision Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser Revision

parseJSONList :: Value -> Parser [Revision]

omittedField :: Maybe Revision

ToJSON Revision Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: Revision -> Value

toEncoding :: Revision -> Encoding

toJSONList :: [Revision] -> Value

toEncodingList :: [Revision] -> Encoding

omitField :: Revision -> Bool

Data Revision Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Revision -> c Revision

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Revision

toConstr :: Revision -> Constr

dataTypeOf :: Revision -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Revision)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Revision)

gmapT :: (forall b. Data b => b -> b) -> Revision -> Revision

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Revision -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Revision -> r

gmapQ :: (forall d. Data d => d -> u) -> Revision -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Revision -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Revision -> m Revision

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Revision -> m Revision

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Revision -> m Revision

Generic Revision Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep Revision 
Instance details

Defined in AsciiDoc.AST

type Rep Revision = D1 ('MetaData "Revision" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "Revision" 'PrefixI 'True) (S1 ('MetaSel ('Just "revVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "revDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "revRemark") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))))

Methods

from :: Revision -> Rep Revision x

to :: Rep Revision x -> Revision

Show Revision Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> Revision -> ShowS

show :: Revision -> String

showList :: [Revision] -> ShowS

Eq Revision Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: Revision -> Revision -> Bool

(/=) :: Revision -> Revision -> Bool

type Rep Revision Source # 
Instance details

Defined in AsciiDoc.AST

type Rep Revision = D1 ('MetaData "Revision" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "Revision" 'PrefixI 'True) (S1 ('MetaSel ('Just "revVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "revDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "revRemark") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))))

data Block Source #

Block-level element with attributes

Constructors

Block Attr (Maybe BlockTitle) BlockType 

Instances

Instances details
FromJSON Block Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser Block

parseJSONList :: Value -> Parser [Block]

omittedField :: Maybe Block

ToJSON Block Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: Block -> Value

toEncoding :: Block -> Encoding

toJSONList :: [Block] -> Value

toEncodingList :: [Block] -> Encoding

omitField :: Block -> Bool

HasBlocks Block Source # 
Instance details

Defined in AsciiDoc.Generic

Methods

foldBlocks :: Monoid m => (Block -> m) -> Block -> m Source #

mapBlocks :: Monad m => (Block -> m Block) -> Block -> m Block Source #

HasInlines Block Source # 
Instance details

Defined in AsciiDoc.Generic

Methods

foldInlines :: Monoid m => (Inline -> m) -> Block -> m Source #

mapInlines :: Monad m => (Inline -> m Inline) -> Block -> m Block Source #

Data Block Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Block -> c Block

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Block

toConstr :: Block -> Constr

dataTypeOf :: Block -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Block)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Block)

gmapT :: (forall b. Data b => b -> b) -> Block -> Block

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Block -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Block -> r

gmapQ :: (forall d. Data d => d -> u) -> Block -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Block -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Block -> m Block

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Block -> m Block

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Block -> m Block

Generic Block Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep Block 
Instance details

Defined in AsciiDoc.AST

type Rep Block = D1 ('MetaData "Block" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "Block" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe BlockTitle)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BlockType))))

Methods

from :: Block -> Rep Block x

to :: Rep Block x -> Block

Show Block Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> Block -> ShowS

show :: Block -> String

showList :: [Block] -> ShowS

Eq Block Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: Block -> Block -> Bool

(/=) :: Block -> Block -> Bool

type Rep Block Source # 
Instance details

Defined in AsciiDoc.AST

type Rep Block = D1 ('MetaData "Block" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "Block" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attr) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe BlockTitle)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BlockType))))

data BlockType Source #

Block-level element types

Instances

Instances details
FromJSON BlockType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser BlockType

parseJSONList :: Value -> Parser [BlockType]

omittedField :: Maybe BlockType

ToJSON BlockType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: BlockType -> Value

toEncoding :: BlockType -> Encoding

toJSONList :: [BlockType] -> Value

toEncodingList :: [BlockType] -> Encoding

omitField :: BlockType -> Bool

HasBlocks BlockType Source # 
Instance details

Defined in AsciiDoc.Generic

Methods

foldBlocks :: Monoid m => (Block -> m) -> BlockType -> m Source #

mapBlocks :: Monad m => (Block -> m Block) -> BlockType -> m BlockType Source #

HasInlines BlockType Source # 
Instance details

Defined in AsciiDoc.Generic

Methods

foldInlines :: Monoid m => (Inline -> m) -> BlockType -> m Source #

mapInlines :: Monad m => (Inline -> m Inline) -> BlockType -> m BlockType Source #

Data BlockType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BlockType -> c BlockType

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BlockType

toConstr :: BlockType -> Constr

dataTypeOf :: BlockType -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BlockType)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BlockType)

gmapT :: (forall b. Data b => b -> b) -> BlockType -> BlockType

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BlockType -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BlockType -> r

gmapQ :: (forall d. Data d => d -> u) -> BlockType -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> BlockType -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BlockType -> m BlockType

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BlockType -> m BlockType

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BlockType -> m BlockType

Generic BlockType Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep BlockType 
Instance details

Defined in AsciiDoc.AST

type Rep BlockType = D1 ('MetaData "BlockType" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) ((((C1 ('MetaCons "Section" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Level) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block]))) :+: (C1 ('MetaCons "DiscreteHeading" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Level) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: C1 ('MetaCons "Paragraph" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])))) :+: (C1 ('MetaCons "Verse" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Attribution)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block])) :+: (C1 ('MetaCons "LiteralBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "Listing" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Language)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SourceLine]))))) :+: ((C1 ('MetaCons "IncludeListing" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Language)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [SourceLine])))) :+: (C1 ('MetaCons "ExampleBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block])) :+: C1 ('MetaCons "QuoteBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Attribution)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block])))) :+: (C1 ('MetaCons "Sidebar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block])) :+: (C1 ('MetaCons "OpenBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block])) :+: C1 ('MetaCons "PassthroughBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))) :+: (((C1 ('MetaCons "MathBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe MathType)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: (C1 ('MetaCons "List" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ListType) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ListItem])) :+: C1 ('MetaCons "DefinitionList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [([Inline], [Block])])))) :+: (C1 ('MetaCons "Table" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ColumnSpec]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [TableRow]))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TableRow]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [TableRow])))) :+: (C1 ('MetaCons "BlockImage" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Target) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AltText))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Width)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Height)))) :+: C1 ('MetaCons "BlockAudio" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Target))))) :+: ((C1 ('MetaCons "BlockVideo" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Target)) :+: (C1 ('MetaCons "TOC" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Admonition" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AdmonitionType) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block])))) :+: (C1 ('MetaCons "PageBreak" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ThematicBreak" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Include" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Block]))))))))

Methods

from :: BlockType -> Rep BlockType x

to :: Rep BlockType x -> BlockType

Show BlockType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> BlockType -> ShowS

show :: BlockType -> String

showList :: [BlockType] -> ShowS

Eq BlockType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: BlockType -> BlockType -> Bool

(/=) :: BlockType -> BlockType -> Bool

type Rep BlockType Source # 
Instance details

Defined in AsciiDoc.AST

type Rep BlockType = D1 ('MetaData "BlockType" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) ((((C1 ('MetaCons "Section" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Level) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block]))) :+: (C1 ('MetaCons "DiscreteHeading" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Level) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: C1 ('MetaCons "Paragraph" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])))) :+: (C1 ('MetaCons "Verse" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Attribution)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block])) :+: (C1 ('MetaCons "LiteralBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "Listing" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Language)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SourceLine]))))) :+: ((C1 ('MetaCons "IncludeListing" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Language)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [SourceLine])))) :+: (C1 ('MetaCons "ExampleBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block])) :+: C1 ('MetaCons "QuoteBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Attribution)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block])))) :+: (C1 ('MetaCons "Sidebar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block])) :+: (C1 ('MetaCons "OpenBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block])) :+: C1 ('MetaCons "PassthroughBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))) :+: (((C1 ('MetaCons "MathBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe MathType)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: (C1 ('MetaCons "List" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ListType) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ListItem])) :+: C1 ('MetaCons "DefinitionList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [([Inline], [Block])])))) :+: (C1 ('MetaCons "Table" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ColumnSpec]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [TableRow]))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TableRow]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [TableRow])))) :+: (C1 ('MetaCons "BlockImage" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Target) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AltText))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Width)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Height)))) :+: C1 ('MetaCons "BlockAudio" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Target))))) :+: ((C1 ('MetaCons "BlockVideo" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Target)) :+: (C1 ('MetaCons "TOC" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Admonition" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AdmonitionType) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block])))) :+: (C1 ('MetaCons "PageBreak" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ThematicBreak" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Include" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Block]))))))))

newtype BlockTitle Source #

Constructors

BlockTitle [Inline] 

Instances

Instances details
FromJSON BlockTitle Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser BlockTitle

parseJSONList :: Value -> Parser [BlockTitle]

omittedField :: Maybe BlockTitle

ToJSON BlockTitle Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: BlockTitle -> Value

toEncoding :: BlockTitle -> Encoding

toJSONList :: [BlockTitle] -> Value

toEncodingList :: [BlockTitle] -> Encoding

omitField :: BlockTitle -> Bool

HasInlines BlockTitle Source # 
Instance details

Defined in AsciiDoc.Generic

Methods

foldInlines :: Monoid m => (Inline -> m) -> BlockTitle -> m Source #

mapInlines :: Monad m => (Inline -> m Inline) -> BlockTitle -> m BlockTitle Source #

Data BlockTitle Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BlockTitle -> c BlockTitle

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BlockTitle

toConstr :: BlockTitle -> Constr

dataTypeOf :: BlockTitle -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BlockTitle)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BlockTitle)

gmapT :: (forall b. Data b => b -> b) -> BlockTitle -> BlockTitle

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BlockTitle -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BlockTitle -> r

gmapQ :: (forall d. Data d => d -> u) -> BlockTitle -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> BlockTitle -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BlockTitle -> m BlockTitle

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BlockTitle -> m BlockTitle

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BlockTitle -> m BlockTitle

Generic BlockTitle Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep BlockTitle 
Instance details

Defined in AsciiDoc.AST

type Rep BlockTitle = D1 ('MetaData "BlockTitle" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "BlockTitle" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])))

Methods

from :: BlockTitle -> Rep BlockTitle x

to :: Rep BlockTitle x -> BlockTitle

Show BlockTitle Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> BlockTitle -> ShowS

show :: BlockTitle -> String

showList :: [BlockTitle] -> ShowS

Eq BlockTitle Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: BlockTitle -> BlockTitle -> Bool

(/=) :: BlockTitle -> BlockTitle -> Bool

type Rep BlockTitle Source # 
Instance details

Defined in AsciiDoc.AST

type Rep BlockTitle = D1 ('MetaData "BlockTitle" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "BlockTitle" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])))

data Inline Source #

Inline element with attributes

Constructors

Inline Attr InlineType 

Instances

Instances details
FromJSON Inline Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser Inline

parseJSONList :: Value -> Parser [Inline]

omittedField :: Maybe Inline

ToJSON Inline Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: Inline -> Value

toEncoding :: Inline -> Encoding

toJSONList :: [Inline] -> Value

toEncodingList :: [Inline] -> Encoding

omitField :: Inline -> Bool

HasBlocks Inline Source # 
Instance details

Defined in AsciiDoc.Generic

Methods

foldBlocks :: Monoid m => (Block -> m) -> Inline -> m Source #

mapBlocks :: Monad m => (Block -> m Block) -> Inline -> m Inline Source #

HasInlines Inline Source # 
Instance details

Defined in AsciiDoc.Generic

Methods

foldInlines :: Monoid m => (Inline -> m) -> Inline -> m Source #

mapInlines :: Monad m => (Inline -> m Inline) -> Inline -> m Inline Source #

Data Inline Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Inline -> c Inline

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Inline

toConstr :: Inline -> Constr

dataTypeOf :: Inline -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Inline)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Inline)

gmapT :: (forall b. Data b => b -> b) -> Inline -> Inline

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Inline -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Inline -> r

gmapQ :: (forall d. Data d => d -> u) -> Inline -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Inline -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Inline -> m Inline

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Inline -> m Inline

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Inline -> m Inline

Generic Inline Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep Inline 
Instance details

Defined in AsciiDoc.AST

type Rep Inline = D1 ('MetaData "Inline" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "Inline" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InlineType)))

Methods

from :: Inline -> Rep Inline x

to :: Rep Inline x -> Inline

Show Inline Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> Inline -> ShowS

show :: Inline -> String

showList :: [Inline] -> ShowS

Eq Inline Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: Inline -> Inline -> Bool

(/=) :: Inline -> Inline -> Bool

type Rep Inline Source # 
Instance details

Defined in AsciiDoc.AST

type Rep Inline = D1 ('MetaData "Inline" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "Inline" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InlineType)))

data InlineType Source #

Inline element types

Instances

Instances details
FromJSON InlineType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser InlineType

parseJSONList :: Value -> Parser [InlineType]

omittedField :: Maybe InlineType

ToJSON InlineType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: InlineType -> Value

toEncoding :: InlineType -> Encoding

toJSONList :: [InlineType] -> Value

toEncodingList :: [InlineType] -> Encoding

omitField :: InlineType -> Bool

HasBlocks InlineType Source # 
Instance details

Defined in AsciiDoc.Generic

Methods

foldBlocks :: Monoid m => (Block -> m) -> InlineType -> m Source #

mapBlocks :: Monad m => (Block -> m Block) -> InlineType -> m InlineType Source #

HasInlines InlineType Source # 
Instance details

Defined in AsciiDoc.Generic

Methods

foldInlines :: Monoid m => (Inline -> m) -> InlineType -> m Source #

mapInlines :: Monad m => (Inline -> m Inline) -> InlineType -> m InlineType Source #

Data InlineType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InlineType -> c InlineType

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InlineType

toConstr :: InlineType -> Constr

dataTypeOf :: InlineType -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c InlineType)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InlineType)

gmapT :: (forall b. Data b => b -> b) -> InlineType -> InlineType

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InlineType -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InlineType -> r

gmapQ :: (forall d. Data d => d -> u) -> InlineType -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> InlineType -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InlineType -> m InlineType

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InlineType -> m InlineType

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InlineType -> m InlineType

Generic InlineType Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep InlineType 
Instance details

Defined in AsciiDoc.AST

type Rep InlineType = D1 ('MetaData "InlineType" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) ((((C1 ('MetaCons "Str" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: (C1 ('MetaCons "HardBreak" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bold" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])))) :+: (C1 ('MetaCons "Italic" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: (C1 ('MetaCons "Monospace" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: C1 ('MetaCons "Superscript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]))))) :+: ((C1 ('MetaCons "Subscript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: (C1 ('MetaCons "Highlight" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: C1 ('MetaCons "Strikethrough" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])))) :+: ((C1 ('MetaCons "DoubleQuoted" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: C1 ('MetaCons "SingleQuoted" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]))) :+: (C1 ('MetaCons "Math" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe MathType)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "Icon" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))) :+: (((C1 ('MetaCons "Button" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: (C1 ('MetaCons "Kbd" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])) :+: C1 ('MetaCons "Menu" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])))) :+: ((C1 ('MetaCons "Link" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LinkType) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Target) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]))) :+: C1 ('MetaCons "InlineImage" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Target) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AltText))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Width)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Height))))) :+: (C1 ('MetaCons "Footnote" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe FootnoteId)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: C1 ('MetaCons "InlineAnchor" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]))))) :+: ((C1 ('MetaCons "BibliographyAnchor" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: (C1 ('MetaCons "CrossReference" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Inline]))) :+: C1 ('MetaCons "AttributeReference" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AttributeName)))) :+: ((C1 ('MetaCons "Span" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: C1 ('MetaCons "IndexEntry" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IndexTerm))) :+: (C1 ('MetaCons "Counter" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CounterType) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :+: C1 ('MetaCons "Passthrough" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))))

Methods

from :: InlineType -> Rep InlineType x

to :: Rep InlineType x -> InlineType

Show InlineType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> InlineType -> ShowS

show :: InlineType -> String

showList :: [InlineType] -> ShowS

Eq InlineType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: InlineType -> InlineType -> Bool

(/=) :: InlineType -> InlineType -> Bool

type Rep InlineType Source # 
Instance details

Defined in AsciiDoc.AST

type Rep InlineType = D1 ('MetaData "InlineType" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) ((((C1 ('MetaCons "Str" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: (C1 ('MetaCons "HardBreak" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bold" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])))) :+: (C1 ('MetaCons "Italic" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: (C1 ('MetaCons "Monospace" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: C1 ('MetaCons "Superscript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]))))) :+: ((C1 ('MetaCons "Subscript" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: (C1 ('MetaCons "Highlight" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: C1 ('MetaCons "Strikethrough" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])))) :+: ((C1 ('MetaCons "DoubleQuoted" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: C1 ('MetaCons "SingleQuoted" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]))) :+: (C1 ('MetaCons "Math" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe MathType)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "Icon" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))) :+: (((C1 ('MetaCons "Button" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: (C1 ('MetaCons "Kbd" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])) :+: C1 ('MetaCons "Menu" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])))) :+: ((C1 ('MetaCons "Link" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LinkType) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Target) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]))) :+: C1 ('MetaCons "InlineImage" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Target) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AltText))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Width)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Height))))) :+: (C1 ('MetaCons "Footnote" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe FootnoteId)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: C1 ('MetaCons "InlineAnchor" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline]))))) :+: ((C1 ('MetaCons "BibliographyAnchor" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: (C1 ('MetaCons "CrossReference" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Inline]))) :+: C1 ('MetaCons "AttributeReference" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AttributeName)))) :+: ((C1 ('MetaCons "Span" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Inline])) :+: C1 ('MetaCons "IndexEntry" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IndexTerm))) :+: (C1 ('MetaCons "Counter" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CounterType) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :+: C1 ('MetaCons "Passthrough" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))))

data ListType Source #

List types

Constructors

BulletList Level 
OrderedList Level (Maybe Int) 
CheckList 
CalloutList 

Instances

Instances details
FromJSON ListType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser ListType

parseJSONList :: Value -> Parser [ListType]

omittedField :: Maybe ListType

ToJSON ListType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: ListType -> Value

toEncoding :: ListType -> Encoding

toJSONList :: [ListType] -> Value

toEncodingList :: [ListType] -> Encoding

omitField :: ListType -> Bool

Data ListType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListType -> c ListType

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListType

toConstr :: ListType -> Constr

dataTypeOf :: ListType -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListType)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListType)

gmapT :: (forall b. Data b => b -> b) -> ListType -> ListType

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListType -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListType -> r

gmapQ :: (forall d. Data d => d -> u) -> ListType -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListType -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListType -> m ListType

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListType -> m ListType

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListType -> m ListType

Generic ListType Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep ListType 
Instance details

Defined in AsciiDoc.AST

type Rep ListType = D1 ('MetaData "ListType" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) ((C1 ('MetaCons "BulletList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Level)) :+: C1 ('MetaCons "OrderedList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Level) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)))) :+: (C1 ('MetaCons "CheckList" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CalloutList" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: ListType -> Rep ListType x

to :: Rep ListType x -> ListType

Show ListType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> ListType -> ShowS

show :: ListType -> String

showList :: [ListType] -> ShowS

Eq ListType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: ListType -> ListType -> Bool

(/=) :: ListType -> ListType -> Bool

type Rep ListType Source # 
Instance details

Defined in AsciiDoc.AST

type Rep ListType = D1 ('MetaData "ListType" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) ((C1 ('MetaCons "BulletList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Level)) :+: C1 ('MetaCons "OrderedList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Level) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)))) :+: (C1 ('MetaCons "CheckList" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CalloutList" 'PrefixI 'False) (U1 :: Type -> Type)))

data ListItem Source #

A list item

Constructors

ListItem (Maybe CheckboxState) [Block] 

Instances

Instances details
FromJSON ListItem Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser ListItem

parseJSONList :: Value -> Parser [ListItem]

omittedField :: Maybe ListItem

ToJSON ListItem Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: ListItem -> Value

toEncoding :: ListItem -> Encoding

toJSONList :: [ListItem] -> Value

toEncodingList :: [ListItem] -> Encoding

omitField :: ListItem -> Bool

HasBlocks ListItem Source # 
Instance details

Defined in AsciiDoc.Generic

Methods

foldBlocks :: Monoid m => (Block -> m) -> ListItem -> m Source #

mapBlocks :: Monad m => (Block -> m Block) -> ListItem -> m ListItem Source #

HasInlines ListItem Source # 
Instance details

Defined in AsciiDoc.Generic

Methods

foldInlines :: Monoid m => (Inline -> m) -> ListItem -> m Source #

mapInlines :: Monad m => (Inline -> m Inline) -> ListItem -> m ListItem Source #

Data ListItem Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListItem -> c ListItem

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListItem

toConstr :: ListItem -> Constr

dataTypeOf :: ListItem -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListItem)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListItem)

gmapT :: (forall b. Data b => b -> b) -> ListItem -> ListItem

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListItem -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListItem -> r

gmapQ :: (forall d. Data d => d -> u) -> ListItem -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListItem -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListItem -> m ListItem

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListItem -> m ListItem

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListItem -> m ListItem

Generic ListItem Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep ListItem 
Instance details

Defined in AsciiDoc.AST

type Rep ListItem = D1 ('MetaData "ListItem" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "ListItem" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe CheckboxState)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block])))

Methods

from :: ListItem -> Rep ListItem x

to :: Rep ListItem x -> ListItem

Show ListItem Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> ListItem -> ShowS

show :: ListItem -> String

showList :: [ListItem] -> ShowS

Eq ListItem Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: ListItem -> ListItem -> Bool

(/=) :: ListItem -> ListItem -> Bool

type Rep ListItem Source # 
Instance details

Defined in AsciiDoc.AST

type Rep ListItem = D1 ('MetaData "ListItem" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "ListItem" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe CheckboxState)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block])))

data CheckboxState Source #

Checkbox state for checklists

Constructors

Checked 
Unchecked 

Instances

Instances details
FromJSON CheckboxState Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser CheckboxState

parseJSONList :: Value -> Parser [CheckboxState]

omittedField :: Maybe CheckboxState

ToJSON CheckboxState Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: CheckboxState -> Value

toEncoding :: CheckboxState -> Encoding

toJSONList :: [CheckboxState] -> Value

toEncodingList :: [CheckboxState] -> Encoding

omitField :: CheckboxState -> Bool

Data CheckboxState Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CheckboxState -> c CheckboxState

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CheckboxState

toConstr :: CheckboxState -> Constr

dataTypeOf :: CheckboxState -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CheckboxState)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CheckboxState)

gmapT :: (forall b. Data b => b -> b) -> CheckboxState -> CheckboxState

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CheckboxState -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CheckboxState -> r

gmapQ :: (forall d. Data d => d -> u) -> CheckboxState -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> CheckboxState -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CheckboxState -> m CheckboxState

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CheckboxState -> m CheckboxState

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CheckboxState -> m CheckboxState

Generic CheckboxState Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep CheckboxState 
Instance details

Defined in AsciiDoc.AST

type Rep CheckboxState = D1 ('MetaData "CheckboxState" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "Checked" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Unchecked" 'PrefixI 'False) (U1 :: Type -> Type))
Show CheckboxState Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> CheckboxState -> ShowS

show :: CheckboxState -> String

showList :: [CheckboxState] -> ShowS

Eq CheckboxState Source # 
Instance details

Defined in AsciiDoc.AST

type Rep CheckboxState Source # 
Instance details

Defined in AsciiDoc.AST

type Rep CheckboxState = D1 ('MetaData "CheckboxState" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "Checked" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Unchecked" 'PrefixI 'False) (U1 :: Type -> Type))

data ColumnSpec Source #

Column specification

Constructors

ColumnSpec 

Fields

Instances

Instances details
FromJSON ColumnSpec Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser ColumnSpec

parseJSONList :: Value -> Parser [ColumnSpec]

omittedField :: Maybe ColumnSpec

ToJSON ColumnSpec Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: ColumnSpec -> Value

toEncoding :: ColumnSpec -> Encoding

toJSONList :: [ColumnSpec] -> Value

toEncodingList :: [ColumnSpec] -> Encoding

omitField :: ColumnSpec -> Bool

Data ColumnSpec Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ColumnSpec -> c ColumnSpec

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ColumnSpec

toConstr :: ColumnSpec -> Constr

dataTypeOf :: ColumnSpec -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ColumnSpec)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ColumnSpec)

gmapT :: (forall b. Data b => b -> b) -> ColumnSpec -> ColumnSpec

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ColumnSpec -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ColumnSpec -> r

gmapQ :: (forall d. Data d => d -> u) -> ColumnSpec -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> ColumnSpec -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ColumnSpec -> m ColumnSpec

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ColumnSpec -> m ColumnSpec

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ColumnSpec -> m ColumnSpec

Generic ColumnSpec Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep ColumnSpec 
Instance details

Defined in AsciiDoc.AST

type Rep ColumnSpec = D1 ('MetaData "ColumnSpec" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "ColumnSpec" 'PrefixI 'True) ((S1 ('MetaSel ('Just "colHorizAlign") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe HorizAlign)) :*: S1 ('MetaSel ('Just "colVertAlign") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe VertAlign))) :*: (S1 ('MetaSel ('Just "colWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "colStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe CellStyle)))))

Methods

from :: ColumnSpec -> Rep ColumnSpec x

to :: Rep ColumnSpec x -> ColumnSpec

Show ColumnSpec Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> ColumnSpec -> ShowS

show :: ColumnSpec -> String

showList :: [ColumnSpec] -> ShowS

Eq ColumnSpec Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: ColumnSpec -> ColumnSpec -> Bool

(/=) :: ColumnSpec -> ColumnSpec -> Bool

type Rep ColumnSpec Source # 
Instance details

Defined in AsciiDoc.AST

type Rep ColumnSpec = D1 ('MetaData "ColumnSpec" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "ColumnSpec" 'PrefixI 'True) ((S1 ('MetaSel ('Just "colHorizAlign") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe HorizAlign)) :*: S1 ('MetaSel ('Just "colVertAlign") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe VertAlign))) :*: (S1 ('MetaSel ('Just "colWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "colStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe CellStyle)))))

data CellStyle Source #

Defines how cell contents are parsed

Instances

Instances details
FromJSON CellStyle Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser CellStyle

parseJSONList :: Value -> Parser [CellStyle]

omittedField :: Maybe CellStyle

ToJSON CellStyle Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: CellStyle -> Value

toEncoding :: CellStyle -> Encoding

toJSONList :: [CellStyle] -> Value

toEncodingList :: [CellStyle] -> Encoding

omitField :: CellStyle -> Bool

Data CellStyle Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CellStyle -> c CellStyle

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CellStyle

toConstr :: CellStyle -> Constr

dataTypeOf :: CellStyle -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CellStyle)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CellStyle)

gmapT :: (forall b. Data b => b -> b) -> CellStyle -> CellStyle

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CellStyle -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CellStyle -> r

gmapQ :: (forall d. Data d => d -> u) -> CellStyle -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> CellStyle -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CellStyle -> m CellStyle

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CellStyle -> m CellStyle

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CellStyle -> m CellStyle

Generic CellStyle Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep CellStyle 
Instance details

Defined in AsciiDoc.AST

type Rep CellStyle = D1 ('MetaData "CellStyle" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) ((C1 ('MetaCons "AsciiDocStyle" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DefaultStyle" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EmphasisStyle" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LiteralStyle" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "HeaderStyle" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MonospaceStyle" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StrongStyle" 'PrefixI 'False) (U1 :: Type -> Type))))

Methods

from :: CellStyle -> Rep CellStyle x

to :: Rep CellStyle x -> CellStyle

Show CellStyle Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> CellStyle -> ShowS

show :: CellStyle -> String

showList :: [CellStyle] -> ShowS

Eq CellStyle Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: CellStyle -> CellStyle -> Bool

(/=) :: CellStyle -> CellStyle -> Bool

type Rep CellStyle Source # 
Instance details

Defined in AsciiDoc.AST

type Rep CellStyle = D1 ('MetaData "CellStyle" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) ((C1 ('MetaCons "AsciiDocStyle" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DefaultStyle" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EmphasisStyle" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LiteralStyle" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "HeaderStyle" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MonospaceStyle" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StrongStyle" 'PrefixI 'False) (U1 :: Type -> Type))))

newtype TableRow Source #

Table row

Constructors

TableRow [TableCell] 

Instances

Instances details
FromJSON TableRow Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser TableRow

parseJSONList :: Value -> Parser [TableRow]

omittedField :: Maybe TableRow

ToJSON TableRow Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: TableRow -> Value

toEncoding :: TableRow -> Encoding

toJSONList :: [TableRow] -> Value

toEncodingList :: [TableRow] -> Encoding

omitField :: TableRow -> Bool

HasBlocks TableRow Source # 
Instance details

Defined in AsciiDoc.Generic

Methods

foldBlocks :: Monoid m => (Block -> m) -> TableRow -> m Source #

mapBlocks :: Monad m => (Block -> m Block) -> TableRow -> m TableRow Source #

HasInlines TableRow Source # 
Instance details

Defined in AsciiDoc.Generic

Methods

foldInlines :: Monoid m => (Inline -> m) -> TableRow -> m Source #

mapInlines :: Monad m => (Inline -> m Inline) -> TableRow -> m TableRow Source #

Data TableRow Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TableRow -> c TableRow

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TableRow

toConstr :: TableRow -> Constr

dataTypeOf :: TableRow -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TableRow)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TableRow)

gmapT :: (forall b. Data b => b -> b) -> TableRow -> TableRow

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TableRow -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TableRow -> r

gmapQ :: (forall d. Data d => d -> u) -> TableRow -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> TableRow -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TableRow -> m TableRow

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TableRow -> m TableRow

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TableRow -> m TableRow

Generic TableRow Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep TableRow 
Instance details

Defined in AsciiDoc.AST

type Rep TableRow = D1 ('MetaData "TableRow" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "TableRow" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TableCell])))

Methods

from :: TableRow -> Rep TableRow x

to :: Rep TableRow x -> TableRow

Show TableRow Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> TableRow -> ShowS

show :: TableRow -> String

showList :: [TableRow] -> ShowS

Eq TableRow Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: TableRow -> TableRow -> Bool

(/=) :: TableRow -> TableRow -> Bool

type Rep TableRow Source # 
Instance details

Defined in AsciiDoc.AST

type Rep TableRow = D1 ('MetaData "TableRow" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "TableRow" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TableCell])))

data TableCell Source #

Table cell

Constructors

TableCell 

Fields

Instances

Instances details
FromJSON TableCell Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser TableCell

parseJSONList :: Value -> Parser [TableCell]

omittedField :: Maybe TableCell

ToJSON TableCell Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: TableCell -> Value

toEncoding :: TableCell -> Encoding

toJSONList :: [TableCell] -> Value

toEncodingList :: [TableCell] -> Encoding

omitField :: TableCell -> Bool

HasBlocks TableCell Source # 
Instance details

Defined in AsciiDoc.Generic

Methods

foldBlocks :: Monoid m => (Block -> m) -> TableCell -> m Source #

mapBlocks :: Monad m => (Block -> m Block) -> TableCell -> m TableCell Source #

HasInlines TableCell Source # 
Instance details

Defined in AsciiDoc.Generic

Methods

foldInlines :: Monoid m => (Inline -> m) -> TableCell -> m Source #

mapInlines :: Monad m => (Inline -> m Inline) -> TableCell -> m TableCell Source #

Data TableCell Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TableCell -> c TableCell

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TableCell

toConstr :: TableCell -> Constr

dataTypeOf :: TableCell -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TableCell)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TableCell)

gmapT :: (forall b. Data b => b -> b) -> TableCell -> TableCell

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TableCell -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TableCell -> r

gmapQ :: (forall d. Data d => d -> u) -> TableCell -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> TableCell -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TableCell -> m TableCell

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TableCell -> m TableCell

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TableCell -> m TableCell

Generic TableCell Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep TableCell 
Instance details

Defined in AsciiDoc.AST

type Rep TableCell = D1 ('MetaData "TableCell" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "TableCell" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cellContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block]) :*: S1 ('MetaSel ('Just "cellHorizAlign") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe HorizAlign))) :*: (S1 ('MetaSel ('Just "cellVertAlign") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe VertAlign)) :*: (S1 ('MetaSel ('Just "cellColspan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "cellRowspan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))))

Methods

from :: TableCell -> Rep TableCell x

to :: Rep TableCell x -> TableCell

Show TableCell Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> TableCell -> ShowS

show :: TableCell -> String

showList :: [TableCell] -> ShowS

Eq TableCell Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: TableCell -> TableCell -> Bool

(/=) :: TableCell -> TableCell -> Bool

type Rep TableCell Source # 
Instance details

Defined in AsciiDoc.AST

type Rep TableCell = D1 ('MetaData "TableCell" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "TableCell" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cellContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Block]) :*: S1 ('MetaSel ('Just "cellHorizAlign") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe HorizAlign))) :*: (S1 ('MetaSel ('Just "cellVertAlign") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe VertAlign)) :*: (S1 ('MetaSel ('Just "cellColspan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "cellRowspan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))))

data HorizAlign Source #

Cell alignment

Instances

Instances details
FromJSON HorizAlign Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser HorizAlign

parseJSONList :: Value -> Parser [HorizAlign]

omittedField :: Maybe HorizAlign

ToJSON HorizAlign Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: HorizAlign -> Value

toEncoding :: HorizAlign -> Encoding

toJSONList :: [HorizAlign] -> Value

toEncodingList :: [HorizAlign] -> Encoding

omitField :: HorizAlign -> Bool

Data HorizAlign Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HorizAlign -> c HorizAlign

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HorizAlign

toConstr :: HorizAlign -> Constr

dataTypeOf :: HorizAlign -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c HorizAlign)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HorizAlign)

gmapT :: (forall b. Data b => b -> b) -> HorizAlign -> HorizAlign

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HorizAlign -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HorizAlign -> r

gmapQ :: (forall d. Data d => d -> u) -> HorizAlign -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> HorizAlign -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HorizAlign -> m HorizAlign

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HorizAlign -> m HorizAlign

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HorizAlign -> m HorizAlign

Generic HorizAlign Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep HorizAlign 
Instance details

Defined in AsciiDoc.AST

type Rep HorizAlign = D1 ('MetaData "HorizAlign" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "AlignLeft" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AlignCenter" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlignRight" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: HorizAlign -> Rep HorizAlign x

to :: Rep HorizAlign x -> HorizAlign

Show HorizAlign Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> HorizAlign -> ShowS

show :: HorizAlign -> String

showList :: [HorizAlign] -> ShowS

Eq HorizAlign Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: HorizAlign -> HorizAlign -> Bool

(/=) :: HorizAlign -> HorizAlign -> Bool

type Rep HorizAlign Source # 
Instance details

Defined in AsciiDoc.AST

type Rep HorizAlign = D1 ('MetaData "HorizAlign" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "AlignLeft" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AlignCenter" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlignRight" 'PrefixI 'False) (U1 :: Type -> Type)))

data VertAlign Source #

Instances

Instances details
FromJSON VertAlign Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser VertAlign

parseJSONList :: Value -> Parser [VertAlign]

omittedField :: Maybe VertAlign

ToJSON VertAlign Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: VertAlign -> Value

toEncoding :: VertAlign -> Encoding

toJSONList :: [VertAlign] -> Value

toEncodingList :: [VertAlign] -> Encoding

omitField :: VertAlign -> Bool

Data VertAlign Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VertAlign -> c VertAlign

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VertAlign

toConstr :: VertAlign -> Constr

dataTypeOf :: VertAlign -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c VertAlign)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VertAlign)

gmapT :: (forall b. Data b => b -> b) -> VertAlign -> VertAlign

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VertAlign -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VertAlign -> r

gmapQ :: (forall d. Data d => d -> u) -> VertAlign -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> VertAlign -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VertAlign -> m VertAlign

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VertAlign -> m VertAlign

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VertAlign -> m VertAlign

Generic VertAlign Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep VertAlign 
Instance details

Defined in AsciiDoc.AST

type Rep VertAlign = D1 ('MetaData "VertAlign" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "AlignTop" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AlignMiddle" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlignBottom" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: VertAlign -> Rep VertAlign x

to :: Rep VertAlign x -> VertAlign

Show VertAlign Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> VertAlign -> ShowS

show :: VertAlign -> String

showList :: [VertAlign] -> ShowS

Eq VertAlign Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: VertAlign -> VertAlign -> Bool

(/=) :: VertAlign -> VertAlign -> Bool

type Rep VertAlign Source # 
Instance details

Defined in AsciiDoc.AST

type Rep VertAlign = D1 ('MetaData "VertAlign" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "AlignTop" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AlignMiddle" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlignBottom" 'PrefixI 'False) (U1 :: Type -> Type)))

data AdmonitionType Source #

Types of admonitions

Constructors

Note 
Tip 
Important 
Caution 
Warning 

Instances

Instances details
FromJSON AdmonitionType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser AdmonitionType

parseJSONList :: Value -> Parser [AdmonitionType]

omittedField :: Maybe AdmonitionType

ToJSON AdmonitionType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: AdmonitionType -> Value

toEncoding :: AdmonitionType -> Encoding

toJSONList :: [AdmonitionType] -> Value

toEncodingList :: [AdmonitionType] -> Encoding

omitField :: AdmonitionType -> Bool

Data AdmonitionType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AdmonitionType -> c AdmonitionType

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AdmonitionType

toConstr :: AdmonitionType -> Constr

dataTypeOf :: AdmonitionType -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AdmonitionType)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AdmonitionType)

gmapT :: (forall b. Data b => b -> b) -> AdmonitionType -> AdmonitionType

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AdmonitionType -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AdmonitionType -> r

gmapQ :: (forall d. Data d => d -> u) -> AdmonitionType -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> AdmonitionType -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AdmonitionType -> m AdmonitionType

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AdmonitionType -> m AdmonitionType

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AdmonitionType -> m AdmonitionType

Generic AdmonitionType Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep AdmonitionType 
Instance details

Defined in AsciiDoc.AST

type Rep AdmonitionType = D1 ('MetaData "AdmonitionType" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) ((C1 ('MetaCons "Note" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Tip" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Important" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Caution" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Warning" 'PrefixI 'False) (U1 :: Type -> Type))))
Show AdmonitionType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> AdmonitionType -> ShowS

show :: AdmonitionType -> String

showList :: [AdmonitionType] -> ShowS

Eq AdmonitionType Source # 
Instance details

Defined in AsciiDoc.AST

type Rep AdmonitionType Source # 
Instance details

Defined in AsciiDoc.AST

type Rep AdmonitionType = D1 ('MetaData "AdmonitionType" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) ((C1 ('MetaCons "Note" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Tip" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Important" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Caution" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Warning" 'PrefixI 'False) (U1 :: Type -> Type))))

newtype Target Source #

Link or image target

Constructors

Target Text 

Instances

Instances details
FromJSON Target Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser Target

parseJSONList :: Value -> Parser [Target]

omittedField :: Maybe Target

ToJSON Target Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: Target -> Value

toEncoding :: Target -> Encoding

toJSONList :: [Target] -> Value

toEncodingList :: [Target] -> Encoding

omitField :: Target -> Bool

Data Target Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Target -> c Target

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Target

toConstr :: Target -> Constr

dataTypeOf :: Target -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Target)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Target)

gmapT :: (forall b. Data b => b -> b) -> Target -> Target

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Target -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Target -> r

gmapQ :: (forall d. Data d => d -> u) -> Target -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Target -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Target -> m Target

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Target -> m Target

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Target -> m Target

Generic Target Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep Target 
Instance details

Defined in AsciiDoc.AST

type Rep Target = D1 ('MetaData "Target" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "Target" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: Target -> Rep Target x

to :: Rep Target x -> Target

Show Target Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> Target -> ShowS

show :: Target -> String

showList :: [Target] -> ShowS

Eq Target Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: Target -> Target -> Bool

(/=) :: Target -> Target -> Bool

type Rep Target Source # 
Instance details

Defined in AsciiDoc.AST

type Rep Target = D1 ('MetaData "Target" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "Target" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data LinkType Source #

Link types

Constructors

URLLink 
EmailLink 

Instances

Instances details
FromJSON LinkType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser LinkType

parseJSONList :: Value -> Parser [LinkType]

omittedField :: Maybe LinkType

ToJSON LinkType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: LinkType -> Value

toEncoding :: LinkType -> Encoding

toJSONList :: [LinkType] -> Value

toEncodingList :: [LinkType] -> Encoding

omitField :: LinkType -> Bool

Data LinkType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LinkType -> c LinkType

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LinkType

toConstr :: LinkType -> Constr

dataTypeOf :: LinkType -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LinkType)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LinkType)

gmapT :: (forall b. Data b => b -> b) -> LinkType -> LinkType

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LinkType -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LinkType -> r

gmapQ :: (forall d. Data d => d -> u) -> LinkType -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> LinkType -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LinkType -> m LinkType

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LinkType -> m LinkType

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LinkType -> m LinkType

Generic LinkType Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep LinkType 
Instance details

Defined in AsciiDoc.AST

type Rep LinkType = D1 ('MetaData "LinkType" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "URLLink" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EmailLink" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: LinkType -> Rep LinkType x

to :: Rep LinkType x -> LinkType

Show LinkType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> LinkType -> ShowS

show :: LinkType -> String

showList :: [LinkType] -> ShowS

Eq LinkType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: LinkType -> LinkType -> Bool

(/=) :: LinkType -> LinkType -> Bool

type Rep LinkType Source # 
Instance details

Defined in AsciiDoc.AST

type Rep LinkType = D1 ('MetaData "LinkType" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "URLLink" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EmailLink" 'PrefixI 'False) (U1 :: Type -> Type))

data MathType Source #

Constructors

AsciiMath 
LaTeXMath 

Instances

Instances details
FromJSON MathType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser MathType

parseJSONList :: Value -> Parser [MathType]

omittedField :: Maybe MathType

ToJSON MathType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: MathType -> Value

toEncoding :: MathType -> Encoding

toJSONList :: [MathType] -> Value

toEncodingList :: [MathType] -> Encoding

omitField :: MathType -> Bool

Data MathType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MathType -> c MathType

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MathType

toConstr :: MathType -> Constr

dataTypeOf :: MathType -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MathType)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MathType)

gmapT :: (forall b. Data b => b -> b) -> MathType -> MathType

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MathType -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MathType -> r

gmapQ :: (forall d. Data d => d -> u) -> MathType -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> MathType -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MathType -> m MathType

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MathType -> m MathType

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MathType -> m MathType

Generic MathType Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep MathType 
Instance details

Defined in AsciiDoc.AST

type Rep MathType = D1 ('MetaData "MathType" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "AsciiMath" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LaTeXMath" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: MathType -> Rep MathType x

to :: Rep MathType x -> MathType

Show MathType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> MathType -> ShowS

show :: MathType -> String

showList :: [MathType] -> ShowS

Eq MathType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: MathType -> MathType -> Bool

(/=) :: MathType -> MathType -> Bool

type Rep MathType Source # 
Instance details

Defined in AsciiDoc.AST

type Rep MathType = D1 ('MetaData "MathType" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "AsciiMath" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LaTeXMath" 'PrefixI 'False) (U1 :: Type -> Type))

data Attr Source #

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.

Constructors

Attr [Text] (Map Text Text) 

Instances

Instances details
FromJSON Attr Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser Attr

parseJSONList :: Value -> Parser [Attr]

omittedField :: Maybe Attr

ToJSON Attr Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: Attr -> Value

toEncoding :: Attr -> Encoding

toJSONList :: [Attr] -> Value

toEncodingList :: [Attr] -> Encoding

omitField :: Attr -> Bool

Monoid Attr Source # 
Instance details

Defined in AsciiDoc.AST

Methods

mempty :: Attr

mappend :: Attr -> Attr -> Attr

mconcat :: [Attr] -> Attr

Semigroup Attr Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(<>) :: Attr -> Attr -> Attr

sconcat :: NonEmpty Attr -> Attr

stimes :: Integral b => b -> Attr -> Attr

Data Attr Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Attr -> c Attr

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Attr

toConstr :: Attr -> Constr

dataTypeOf :: Attr -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Attr)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Attr)

gmapT :: (forall b. Data b => b -> b) -> Attr -> Attr

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Attr -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Attr -> r

gmapQ :: (forall d. Data d => d -> u) -> Attr -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Attr -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Attr -> m Attr

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Attr -> m Attr

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Attr -> m Attr

Generic Attr Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep Attr 
Instance details

Defined in AsciiDoc.AST

type Rep Attr = D1 ('MetaData "Attr" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "Attr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Text Text))))

Methods

from :: Attr -> Rep Attr x

to :: Rep Attr x -> Attr

Show Attr Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> Attr -> ShowS

show :: Attr -> String

showList :: [Attr] -> ShowS

Eq Attr Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: Attr -> Attr -> Bool

(/=) :: Attr -> Attr -> Bool

type Rep Attr Source # 
Instance details

Defined in AsciiDoc.AST

type Rep Attr = D1 ('MetaData "Attr" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "Attr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Text Text))))

attrNull :: Attr -> Bool Source #

newtype Level Source #

Nesting or section level

Constructors

Level Int 

Instances

Instances details
FromJSON Level Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser Level

parseJSONList :: Value -> Parser [Level]

omittedField :: Maybe Level

ToJSON Level Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: Level -> Value

toEncoding :: Level -> Encoding

toJSONList :: [Level] -> Value

toEncodingList :: [Level] -> Encoding

omitField :: Level -> Bool

Data Level Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Level -> c Level

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Level

toConstr :: Level -> Constr

dataTypeOf :: Level -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Level)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Level)

gmapT :: (forall b. Data b => b -> b) -> Level -> Level

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Level -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Level -> r

gmapQ :: (forall d. Data d => d -> u) -> Level -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Level -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Level -> m Level

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Level -> m Level

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Level -> m Level

Generic Level Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep Level 
Instance details

Defined in AsciiDoc.AST

type Rep Level = D1 ('MetaData "Level" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "Level" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

Methods

from :: Level -> Rep Level x

to :: Rep Level x -> Level

Show Level Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> Level -> ShowS

show :: Level -> String

showList :: [Level] -> ShowS

Eq Level Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: Level -> Level -> Bool

(/=) :: Level -> Level -> Bool

Ord Level Source # 
Instance details

Defined in AsciiDoc.AST

Methods

compare :: Level -> Level -> Ordering

(<) :: Level -> Level -> Bool

(<=) :: Level -> Level -> Bool

(>) :: Level -> Level -> Bool

(>=) :: Level -> Level -> Bool

max :: Level -> Level -> Level

min :: Level -> Level -> Level

type Rep Level Source # 
Instance details

Defined in AsciiDoc.AST

type Rep Level = D1 ('MetaData "Level" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "Level" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

newtype Language Source #

Programming or markup language identifier

Constructors

Language Text 

Instances

Instances details
FromJSON Language Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser Language

parseJSONList :: Value -> Parser [Language]

omittedField :: Maybe Language

ToJSON Language Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: Language -> Value

toEncoding :: Language -> Encoding

toJSONList :: [Language] -> Value

toEncodingList :: [Language] -> Encoding

omitField :: Language -> Bool

Data Language Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Language -> c Language

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Language

toConstr :: Language -> Constr

dataTypeOf :: Language -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Language)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Language)

gmapT :: (forall b. Data b => b -> b) -> Language -> Language

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Language -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Language -> r

gmapQ :: (forall d. Data d => d -> u) -> Language -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Language -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Language -> m Language

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Language -> m Language

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Language -> m Language

Generic Language Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep Language 
Instance details

Defined in AsciiDoc.AST

type Rep Language = D1 ('MetaData "Language" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "Language" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: Language -> Rep Language x

to :: Rep Language x -> Language

Show Language Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> Language -> ShowS

show :: Language -> String

showList :: [Language] -> ShowS

Eq Language Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: Language -> Language -> Bool

(/=) :: Language -> Language -> Bool

Ord Language Source # 
Instance details

Defined in AsciiDoc.AST

Methods

compare :: Language -> Language -> Ordering

(<) :: Language -> Language -> Bool

(<=) :: Language -> Language -> Bool

(>) :: Language -> Language -> Bool

(>=) :: Language -> Language -> Bool

max :: Language -> Language -> Language

min :: Language -> Language -> Language

type Rep Language Source # 
Instance details

Defined in AsciiDoc.AST

type Rep Language = D1 ('MetaData "Language" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "Language" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype Attribution Source #

Attribution for quotes

Constructors

Attribution Text 

Instances

Instances details
FromJSON Attribution Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser Attribution

parseJSONList :: Value -> Parser [Attribution]

omittedField :: Maybe Attribution

ToJSON Attribution Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: Attribution -> Value

toEncoding :: Attribution -> Encoding

toJSONList :: [Attribution] -> Value

toEncodingList :: [Attribution] -> Encoding

omitField :: Attribution -> Bool

Data Attribution Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Attribution -> c Attribution

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Attribution

toConstr :: Attribution -> Constr

dataTypeOf :: Attribution -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Attribution)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Attribution)

gmapT :: (forall b. Data b => b -> b) -> Attribution -> Attribution

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Attribution -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Attribution -> r

gmapQ :: (forall d. Data d => d -> u) -> Attribution -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Attribution -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Attribution -> m Attribution

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Attribution -> m Attribution

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Attribution -> m Attribution

Generic Attribution Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep Attribution 
Instance details

Defined in AsciiDoc.AST

type Rep Attribution = D1 ('MetaData "Attribution" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "Attribution" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: Attribution -> Rep Attribution x

to :: Rep Attribution x -> Attribution

Show Attribution Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> Attribution -> ShowS

show :: Attribution -> String

showList :: [Attribution] -> ShowS

Eq Attribution Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: Attribution -> Attribution -> Bool

(/=) :: Attribution -> Attribution -> Bool

Ord Attribution Source # 
Instance details

Defined in AsciiDoc.AST

type Rep Attribution Source # 
Instance details

Defined in AsciiDoc.AST

type Rep Attribution = D1 ('MetaData "Attribution" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "Attribution" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype AltText Source #

Alternative text for images

Constructors

AltText Text 

Instances

Instances details
FromJSON AltText Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser AltText

parseJSONList :: Value -> Parser [AltText]

omittedField :: Maybe AltText

ToJSON AltText Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: AltText -> Value

toEncoding :: AltText -> Encoding

toJSONList :: [AltText] -> Value

toEncodingList :: [AltText] -> Encoding

omitField :: AltText -> Bool

Data AltText Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AltText -> c AltText

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AltText

toConstr :: AltText -> Constr

dataTypeOf :: AltText -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AltText)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AltText)

gmapT :: (forall b. Data b => b -> b) -> AltText -> AltText

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AltText -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AltText -> r

gmapQ :: (forall d. Data d => d -> u) -> AltText -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> AltText -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AltText -> m AltText

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AltText -> m AltText

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AltText -> m AltText

Generic AltText Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep AltText 
Instance details

Defined in AsciiDoc.AST

type Rep AltText = D1 ('MetaData "AltText" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "AltText" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: AltText -> Rep AltText x

to :: Rep AltText x -> AltText

Show AltText Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> AltText -> ShowS

show :: AltText -> String

showList :: [AltText] -> ShowS

Eq AltText Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: AltText -> AltText -> Bool

(/=) :: AltText -> AltText -> Bool

Ord AltText Source # 
Instance details

Defined in AsciiDoc.AST

Methods

compare :: AltText -> AltText -> Ordering

(<) :: AltText -> AltText -> Bool

(<=) :: AltText -> AltText -> Bool

(>) :: AltText -> AltText -> Bool

(>=) :: AltText -> AltText -> Bool

max :: AltText -> AltText -> AltText

min :: AltText -> AltText -> AltText

type Rep AltText Source # 
Instance details

Defined in AsciiDoc.AST

type Rep AltText = D1 ('MetaData "AltText" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "AltText" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype Width Source #

Width specification in pixels

Constructors

Width Int 

Instances

Instances details
FromJSON Width Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser Width

parseJSONList :: Value -> Parser [Width]

omittedField :: Maybe Width

ToJSON Width Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: Width -> Value

toEncoding :: Width -> Encoding

toJSONList :: [Width] -> Value

toEncodingList :: [Width] -> Encoding

omitField :: Width -> Bool

Data Width Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Width -> c Width

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Width

toConstr :: Width -> Constr

dataTypeOf :: Width -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Width)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Width)

gmapT :: (forall b. Data b => b -> b) -> Width -> Width

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Width -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Width -> r

gmapQ :: (forall d. Data d => d -> u) -> Width -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Width -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Width -> m Width

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Width -> m Width

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Width -> m Width

Generic Width Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep Width 
Instance details

Defined in AsciiDoc.AST

type Rep Width = D1 ('MetaData "Width" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "Width" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

Methods

from :: Width -> Rep Width x

to :: Rep Width x -> Width

Show Width Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> Width -> ShowS

show :: Width -> String

showList :: [Width] -> ShowS

Eq Width Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: Width -> Width -> Bool

(/=) :: Width -> Width -> Bool

Ord Width Source # 
Instance details

Defined in AsciiDoc.AST

Methods

compare :: Width -> Width -> Ordering

(<) :: Width -> Width -> Bool

(<=) :: Width -> Width -> Bool

(>) :: Width -> Width -> Bool

(>=) :: Width -> Width -> Bool

max :: Width -> Width -> Width

min :: Width -> Width -> Width

type Rep Width Source # 
Instance details

Defined in AsciiDoc.AST

type Rep Width = D1 ('MetaData "Width" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "Width" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

newtype Height Source #

Height specification in pixels

Constructors

Height Int 

Instances

Instances details
FromJSON Height Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser Height

parseJSONList :: Value -> Parser [Height]

omittedField :: Maybe Height

ToJSON Height Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: Height -> Value

toEncoding :: Height -> Encoding

toJSONList :: [Height] -> Value

toEncodingList :: [Height] -> Encoding

omitField :: Height -> Bool

Data Height Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Height -> c Height

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Height

toConstr :: Height -> Constr

dataTypeOf :: Height -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Height)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Height)

gmapT :: (forall b. Data b => b -> b) -> Height -> Height

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Height -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Height -> r

gmapQ :: (forall d. Data d => d -> u) -> Height -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Height -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Height -> m Height

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Height -> m Height

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Height -> m Height

Generic Height Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep Height 
Instance details

Defined in AsciiDoc.AST

type Rep Height = D1 ('MetaData "Height" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "Height" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

Methods

from :: Height -> Rep Height x

to :: Rep Height x -> Height

Show Height Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> Height -> ShowS

show :: Height -> String

showList :: [Height] -> ShowS

Eq Height Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: Height -> Height -> Bool

(/=) :: Height -> Height -> Bool

Ord Height Source # 
Instance details

Defined in AsciiDoc.AST

Methods

compare :: Height -> Height -> Ordering

(<) :: Height -> Height -> Bool

(<=) :: Height -> Height -> Bool

(>) :: Height -> Height -> Bool

(>=) :: Height -> Height -> Bool

max :: Height -> Height -> Height

min :: Height -> Height -> Height

type Rep Height Source # 
Instance details

Defined in AsciiDoc.AST

type Rep Height = D1 ('MetaData "Height" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "Height" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

newtype FootnoteId Source #

Footnote identifier

Constructors

FootnoteId Text 

Instances

Instances details
FromJSON FootnoteId Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser FootnoteId

parseJSONList :: Value -> Parser [FootnoteId]

omittedField :: Maybe FootnoteId

ToJSON FootnoteId Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: FootnoteId -> Value

toEncoding :: FootnoteId -> Encoding

toJSONList :: [FootnoteId] -> Value

toEncodingList :: [FootnoteId] -> Encoding

omitField :: FootnoteId -> Bool

Data FootnoteId Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FootnoteId -> c FootnoteId

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FootnoteId

toConstr :: FootnoteId -> Constr

dataTypeOf :: FootnoteId -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FootnoteId)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FootnoteId)

gmapT :: (forall b. Data b => b -> b) -> FootnoteId -> FootnoteId

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FootnoteId -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FootnoteId -> r

gmapQ :: (forall d. Data d => d -> u) -> FootnoteId -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> FootnoteId -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FootnoteId -> m FootnoteId

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FootnoteId -> m FootnoteId

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FootnoteId -> m FootnoteId

Generic FootnoteId Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep FootnoteId 
Instance details

Defined in AsciiDoc.AST

type Rep FootnoteId = D1 ('MetaData "FootnoteId" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "FootnoteId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: FootnoteId -> Rep FootnoteId x

to :: Rep FootnoteId x -> FootnoteId

Show FootnoteId Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> FootnoteId -> ShowS

show :: FootnoteId -> String

showList :: [FootnoteId] -> ShowS

Eq FootnoteId Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: FootnoteId -> FootnoteId -> Bool

(/=) :: FootnoteId -> FootnoteId -> Bool

Ord FootnoteId Source # 
Instance details

Defined in AsciiDoc.AST

type Rep FootnoteId Source # 
Instance details

Defined in AsciiDoc.AST

type Rep FootnoteId = D1 ('MetaData "FootnoteId" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "FootnoteId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype AttributeName Source #

Attribute name

Constructors

AttributeName Text 

Instances

Instances details
FromJSON AttributeName Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser AttributeName

parseJSONList :: Value -> Parser [AttributeName]

omittedField :: Maybe AttributeName

ToJSON AttributeName Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: AttributeName -> Value

toEncoding :: AttributeName -> Encoding

toJSONList :: [AttributeName] -> Value

toEncodingList :: [AttributeName] -> Encoding

omitField :: AttributeName -> Bool

Data AttributeName Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AttributeName -> c AttributeName

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AttributeName

toConstr :: AttributeName -> Constr

dataTypeOf :: AttributeName -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AttributeName)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AttributeName)

gmapT :: (forall b. Data b => b -> b) -> AttributeName -> AttributeName

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AttributeName -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AttributeName -> r

gmapQ :: (forall d. Data d => d -> u) -> AttributeName -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> AttributeName -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AttributeName -> m AttributeName

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AttributeName -> m AttributeName

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AttributeName -> m AttributeName

Generic AttributeName Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep AttributeName 
Instance details

Defined in AsciiDoc.AST

type Rep AttributeName = D1 ('MetaData "AttributeName" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "AttributeName" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
Show AttributeName Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> AttributeName -> ShowS

show :: AttributeName -> String

showList :: [AttributeName] -> ShowS

Eq AttributeName Source # 
Instance details

Defined in AsciiDoc.AST

Ord AttributeName Source # 
Instance details

Defined in AsciiDoc.AST

type Rep AttributeName Source # 
Instance details

Defined in AsciiDoc.AST

type Rep AttributeName = D1 ('MetaData "AttributeName" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "AttributeName" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype Callout Source #

Source line callout

Constructors

Callout Int 

Instances

Instances details
FromJSON Callout Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser Callout

parseJSONList :: Value -> Parser [Callout]

omittedField :: Maybe Callout

ToJSON Callout Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: Callout -> Value

toEncoding :: Callout -> Encoding

toJSONList :: [Callout] -> Value

toEncodingList :: [Callout] -> Encoding

omitField :: Callout -> Bool

Data Callout Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Callout -> c Callout

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Callout

toConstr :: Callout -> Constr

dataTypeOf :: Callout -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Callout)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Callout)

gmapT :: (forall b. Data b => b -> b) -> Callout -> Callout

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Callout -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Callout -> r

gmapQ :: (forall d. Data d => d -> u) -> Callout -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Callout -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Callout -> m Callout

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Callout -> m Callout

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Callout -> m Callout

Generic Callout Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep Callout 
Instance details

Defined in AsciiDoc.AST

type Rep Callout = D1 ('MetaData "Callout" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "Callout" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

Methods

from :: Callout -> Rep Callout x

to :: Rep Callout x -> Callout

Show Callout Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> Callout -> ShowS

show :: Callout -> String

showList :: [Callout] -> ShowS

Eq Callout Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: Callout -> Callout -> Bool

(/=) :: Callout -> Callout -> Bool

Ord Callout Source # 
Instance details

Defined in AsciiDoc.AST

Methods

compare :: Callout -> Callout -> Ordering

(<) :: Callout -> Callout -> Bool

(<=) :: Callout -> Callout -> Bool

(>) :: Callout -> Callout -> Bool

(>=) :: Callout -> Callout -> Bool

max :: Callout -> Callout -> Callout

min :: Callout -> Callout -> Callout

type Rep Callout Source # 
Instance details

Defined in AsciiDoc.AST

type Rep Callout = D1 ('MetaData "Callout" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'True) (C1 ('MetaCons "Callout" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

data IndexTerm Source #

Constructors

TermInText Text 
TermConcealed [Text] 

Instances

Instances details
FromJSON IndexTerm Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser IndexTerm

parseJSONList :: Value -> Parser [IndexTerm]

omittedField :: Maybe IndexTerm

ToJSON IndexTerm Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: IndexTerm -> Value

toEncoding :: IndexTerm -> Encoding

toJSONList :: [IndexTerm] -> Value

toEncodingList :: [IndexTerm] -> Encoding

omitField :: IndexTerm -> Bool

Data IndexTerm Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IndexTerm -> c IndexTerm

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IndexTerm

toConstr :: IndexTerm -> Constr

dataTypeOf :: IndexTerm -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IndexTerm)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IndexTerm)

gmapT :: (forall b. Data b => b -> b) -> IndexTerm -> IndexTerm

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IndexTerm -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IndexTerm -> r

gmapQ :: (forall d. Data d => d -> u) -> IndexTerm -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> IndexTerm -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> IndexTerm -> m IndexTerm

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IndexTerm -> m IndexTerm

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IndexTerm -> m IndexTerm

Generic IndexTerm Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep IndexTerm 
Instance details

Defined in AsciiDoc.AST

type Rep IndexTerm = D1 ('MetaData "IndexTerm" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "TermInText" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "TermConcealed" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])))

Methods

from :: IndexTerm -> Rep IndexTerm x

to :: Rep IndexTerm x -> IndexTerm

Show IndexTerm Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> IndexTerm -> ShowS

show :: IndexTerm -> String

showList :: [IndexTerm] -> ShowS

Eq IndexTerm Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: IndexTerm -> IndexTerm -> Bool

(/=) :: IndexTerm -> IndexTerm -> Bool

type Rep IndexTerm Source # 
Instance details

Defined in AsciiDoc.AST

type Rep IndexTerm = D1 ('MetaData "IndexTerm" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "TermInText" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "TermConcealed" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])))

data SourceLine Source #

Source line with possible annotation

Constructors

SourceLine Text [Callout] 

Instances

Instances details
FromJSON SourceLine Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser SourceLine

parseJSONList :: Value -> Parser [SourceLine]

omittedField :: Maybe SourceLine

ToJSON SourceLine Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: SourceLine -> Value

toEncoding :: SourceLine -> Encoding

toJSONList :: [SourceLine] -> Value

toEncodingList :: [SourceLine] -> Encoding

omitField :: SourceLine -> Bool

Data SourceLine Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SourceLine -> c SourceLine

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SourceLine

toConstr :: SourceLine -> Constr

dataTypeOf :: SourceLine -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SourceLine)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SourceLine)

gmapT :: (forall b. Data b => b -> b) -> SourceLine -> SourceLine

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SourceLine -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SourceLine -> r

gmapQ :: (forall d. Data d => d -> u) -> SourceLine -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> SourceLine -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SourceLine -> m SourceLine

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SourceLine -> m SourceLine

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SourceLine -> m SourceLine

Generic SourceLine Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep SourceLine 
Instance details

Defined in AsciiDoc.AST

type Rep SourceLine = D1 ('MetaData "SourceLine" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "SourceLine" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Callout])))

Methods

from :: SourceLine -> Rep SourceLine x

to :: Rep SourceLine x -> SourceLine

Show SourceLine Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> SourceLine -> ShowS

show :: SourceLine -> String

showList :: [SourceLine] -> ShowS

Eq SourceLine Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: SourceLine -> SourceLine -> Bool

(/=) :: SourceLine -> SourceLine -> Bool

Ord SourceLine Source # 
Instance details

Defined in AsciiDoc.AST

type Rep SourceLine Source # 
Instance details

Defined in AsciiDoc.AST

type Rep SourceLine = D1 ('MetaData "SourceLine" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "SourceLine" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Callout])))

data CounterType Source #

Instances

Instances details
FromJSON CounterType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

parseJSON :: Value -> Parser CounterType

parseJSONList :: Value -> Parser [CounterType]

omittedField :: Maybe CounterType

ToJSON CounterType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

toJSON :: CounterType -> Value

toEncoding :: CounterType -> Encoding

toJSONList :: [CounterType] -> Value

toEncodingList :: [CounterType] -> Encoding

omitField :: CounterType -> Bool

Data CounterType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CounterType -> c CounterType

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CounterType

toConstr :: CounterType -> Constr

dataTypeOf :: CounterType -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CounterType)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CounterType)

gmapT :: (forall b. Data b => b -> b) -> CounterType -> CounterType

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CounterType -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CounterType -> r

gmapQ :: (forall d. Data d => d -> u) -> CounterType -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> CounterType -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CounterType -> m CounterType

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CounterType -> m CounterType

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CounterType -> m CounterType

Generic CounterType Source # 
Instance details

Defined in AsciiDoc.AST

Associated Types

type Rep CounterType 
Instance details

Defined in AsciiDoc.AST

type Rep CounterType = D1 ('MetaData "CounterType" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "DecimalCounter" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UpperAlphaCounter" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LowerAlphaCounter" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: CounterType -> Rep CounterType x

to :: Rep CounterType x -> CounterType

Show CounterType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

showsPrec :: Int -> CounterType -> ShowS

show :: CounterType -> String

showList :: [CounterType] -> ShowS

Eq CounterType Source # 
Instance details

Defined in AsciiDoc.AST

Methods

(==) :: CounterType -> CounterType -> Bool

(/=) :: CounterType -> CounterType -> Bool

type Rep CounterType Source # 
Instance details

Defined in AsciiDoc.AST

type Rep CounterType = D1 ('MetaData "CounterType" "AsciiDoc.AST" "asciidoc-0.1-1FXQbcDcgmZ1BdP7icjzBY" 'False) (C1 ('MetaCons "DecimalCounter" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UpperAlphaCounter" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LowerAlphaCounter" 'PrefixI 'False) (U1 :: Type -> Type)))