| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Djot.AST
Synopsis
- data Inline
- = Str ByteString
- | Emph Inlines
- | Strong Inlines
- | Highlight Inlines
- | Insert Inlines
- | Delete Inlines
- | Superscript Inlines
- | Subscript Inlines
- | Verbatim ByteString
- | Symbol ByteString
- | Math MathStyle ByteString
- | Link Inlines Target
- | Image Inlines Target
- | Span Inlines
- | FootnoteReference ByteString
- | UrlLink ByteString
- | EmailLink ByteString
- | RawInline Format ByteString
- | NonBreakingSpace
- | Quoted QuoteType Inlines
- | SoftBreak
- | HardBreak
- newtype Many a = Many {}
- type Inlines = Many (Node Inline)
- data MathStyle
- newtype Format = Format {}
- data Node a = Node Pos Attr a
- data Pos
- addAttr :: Attr -> Node a -> Node a
- addPos :: Pos -> Node a -> Node a
- data Block
- = Para Inlines
- | Section Blocks
- | Heading Int Inlines
- | BlockQuote Blocks
- | CodeBlock ByteString ByteString
- | Div Blocks
- | OrderedList OrderedListAttributes ListSpacing [Blocks]
- | BulletList ListSpacing [Blocks]
- | TaskList ListSpacing [(TaskStatus, Blocks)]
- | DefinitionList ListSpacing [(Inlines, Blocks)]
- | ThematicBreak
- | Table (Maybe Caption) [[Cell]]
- | RawBlock Format ByteString
- type Blocks = Many (Node Block)
- data Doc = Doc {}
- newtype NoteMap = NoteMap {}
- insertNote :: ByteString -> Blocks -> NoteMap -> NoteMap
- lookupNote :: ByteString -> NoteMap -> Maybe Blocks
- newtype ReferenceMap = ReferenceMap {}
- insertReference :: ByteString -> (ByteString, Attr) -> ReferenceMap -> ReferenceMap
- lookupReference :: ByteString -> ReferenceMap -> Maybe (ByteString, Attr)
- normalizeLabel :: ByteString -> ByteString
- newtype Attr = Attr [(ByteString, ByteString)]
- data Target
- data TaskStatus
- data Align
- data Cell = Cell CellType Align Inlines
- data CellType
- newtype Caption = Caption Blocks
- data ListSpacing
- data OrderedListAttributes = OrderedListAttributes {}
- data OrderedListDelim
- data OrderedListStyle
- data QuoteType
- delete :: Inlines -> Inlines
- displayMath :: ByteString -> Inlines
- insert :: Inlines -> Inlines
- emailLink :: ByteString -> Inlines
- emph :: Inlines -> Inlines
- footnoteReference :: ByteString -> Inlines
- hardBreak :: Inlines
- highlight :: Inlines -> Inlines
- image :: Inlines -> Target -> Inlines
- inlineMath :: ByteString -> Inlines
- link :: Inlines -> Target -> Inlines
- nonBreakingSpace :: Inlines
- rawInline :: Format -> ByteString -> Inlines
- softBreak :: Inlines
- span_ :: Inlines -> Inlines
- str :: ByteString -> Inlines
- strong :: Inlines -> Inlines
- subscript :: Inlines -> Inlines
- superscript :: Inlines -> Inlines
- singleQuoted :: Inlines -> Inlines
- doubleQuoted :: Inlines -> Inlines
- symbol :: ByteString -> Inlines
- verbatim :: ByteString -> Inlines
- urlLink :: ByteString -> Inlines
- para :: Inlines -> Blocks
- section :: Blocks -> Blocks
- heading :: Int -> Inlines -> Blocks
- blockQuote :: Blocks -> Blocks
- codeBlock :: ByteString -> ByteString -> Blocks
- div :: Blocks -> Blocks
- bulletList :: ListSpacing -> [Blocks] -> Blocks
- orderedList :: OrderedListAttributes -> ListSpacing -> [Blocks] -> Blocks
- definitionList :: ListSpacing -> [(Inlines, Blocks)] -> Blocks
- taskList :: ListSpacing -> [(TaskStatus, Blocks)] -> Blocks
- thematicBreak :: Blocks
- table :: Maybe Caption -> [[Cell]] -> Blocks
- rawBlock :: Format -> ByteString -> Blocks
- inlinesToByteString :: Inlines -> ByteString
Documentation
Constructors
Instances
Instances
| Functor Many Source # | |
| Monoid Blocks Source # | |
| Monoid Inlines Source # | |
| Semigroup Blocks Source # | |
| Semigroup Inlines Source # | |
| Foldable Many Source # | |
Defined in Djot.AST Methods fold :: Monoid m => Many m -> m Source # foldMap :: Monoid m => (a -> m) -> Many a -> m Source # foldMap' :: Monoid m => (a -> m) -> Many a -> m Source # foldr :: (a -> b -> b) -> b -> Many a -> b Source # foldr' :: (a -> b -> b) -> b -> Many a -> b Source # foldl :: (b -> a -> b) -> b -> Many a -> b Source # foldl' :: (b -> a -> b) -> b -> Many a -> b Source # foldr1 :: (a -> a -> a) -> Many a -> a Source # foldl1 :: (a -> a -> a) -> Many a -> a Source # toList :: Many a -> [a] Source # null :: Many a -> Bool Source # length :: Many a -> Int Source # elem :: Eq a => a -> Many a -> Bool Source # maximum :: Ord a => Many a -> a Source # minimum :: Ord a => Many a -> a Source # | |
| Traversable Many Source # | |
| Lift a => Lift (Many a :: Type) Source # | |
| Data a => Data (Many a) Source # | |
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Many a -> c (Many a) Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Many a) Source # toConstr :: Many a -> Constr Source # dataTypeOf :: Many a -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Many a)) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Many a)) Source # gmapT :: (forall b. Data b => b -> b) -> Many a -> Many a Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Many a -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Many a -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Many a -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Many a -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Many a -> m (Many a) Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Many a -> m (Many a) Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Many a -> m (Many a) Source # | |
| Generic (Many a) Source # | |
| Show a => Show (Many a) Source # | |
| Eq a => Eq (Many a) Source # | |
| Ord a => Ord (Many a) Source # | |
| type Rep (Many a) Source # | |
Constructors
| DisplayMath | |
| InlineMath |
Instances
| Data MathStyle Source # | |
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MathStyle -> c MathStyle Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MathStyle Source # toConstr :: MathStyle -> Constr Source # dataTypeOf :: MathStyle -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MathStyle) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MathStyle) Source # gmapT :: (forall b. Data b => b -> b) -> MathStyle -> MathStyle Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MathStyle -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MathStyle -> r Source # gmapQ :: (forall d. Data d => d -> u) -> MathStyle -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> MathStyle -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> MathStyle -> m MathStyle Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MathStyle -> m MathStyle Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MathStyle -> m MathStyle Source # | |
| Generic MathStyle Source # | |
| Show MathStyle Source # | |
| Eq MathStyle Source # | |
| Ord MathStyle Source # | |
Defined in Djot.AST | |
| Lift MathStyle Source # | |
| type Rep MathStyle Source # | |
Constructors
| Format | |
Fields | |
Instances
| Data Format Source # | |||||
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Format -> c Format Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Format Source # toConstr :: Format -> Constr Source # dataTypeOf :: Format -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Format) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Format) Source # gmapT :: (forall b. Data b => b -> b) -> Format -> Format Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Format -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Format -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Format -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Format -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Format -> m Format Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Format -> m Format Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Format -> m Format Source # | |||||
| Generic Format Source # | |||||
Defined in Djot.AST Associated Types
| |||||
| Show Format Source # | |||||
| Eq Format Source # | |||||
| Ord Format Source # | |||||
| Lift Format Source # | |||||
| type Rep Format Source # | |||||
Defined in Djot.AST type Rep Format = D1 ('MetaData "Format" "Djot.AST" "djot-0.1.2.4-5pfUtx1PXGc1l9r52St5qf" 'True) (C1 ('MetaCons "Format" 'PrefixI 'True) (S1 ('MetaSel ('Just "unFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))) | |||||
Instances
| Functor Node Source # | |||||
| Monoid Blocks Source # | |||||
| Monoid Inlines Source # | |||||
| Semigroup Blocks Source # | |||||
| Semigroup Inlines Source # | |||||
| Foldable Node Source # | |||||
Defined in Djot.AST Methods fold :: Monoid m => Node m -> m Source # foldMap :: Monoid m => (a -> m) -> Node a -> m Source # foldMap' :: Monoid m => (a -> m) -> Node a -> m Source # foldr :: (a -> b -> b) -> b -> Node a -> b Source # foldr' :: (a -> b -> b) -> b -> Node a -> b Source # foldl :: (b -> a -> b) -> b -> Node a -> b Source # foldl' :: (b -> a -> b) -> b -> Node a -> b Source # foldr1 :: (a -> a -> a) -> Node a -> a Source # foldl1 :: (a -> a -> a) -> Node a -> a Source # toList :: Node a -> [a] Source # null :: Node a -> Bool Source # length :: Node a -> Int Source # elem :: Eq a => a -> Node a -> Bool Source # maximum :: Ord a => Node a -> a Source # minimum :: Ord a => Node a -> a Source # | |||||
| Traversable Node Source # | |||||
| Lift a => Lift (Node a :: Type) Source # | |||||
| Data a => Data (Node a) Source # | |||||
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Node a -> c (Node a) Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Node a) Source # toConstr :: Node a -> Constr Source # dataTypeOf :: Node a -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Node a)) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Node a)) Source # gmapT :: (forall b. Data b => b -> b) -> Node a -> Node a Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Node a -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Node a -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Node a -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Node a -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Node a -> m (Node a) Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Node a -> m (Node a) Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Node a -> m (Node a) Source # | |||||
| Generic (Node a) Source # | |||||
Defined in Djot.AST Associated Types
| |||||
| Show a => Show (Node a) Source # | |||||
| Eq a => Eq (Node a) Source # | |||||
| Ord a => Ord (Node a) Source # | |||||
| type Rep (Node a) Source # | |||||
Defined in Djot.AST type Rep (Node a) = D1 ('MetaData "Node" "Djot.AST" "djot-0.1.2.4-5pfUtx1PXGc1l9r52St5qf" 'False) (C1 ('MetaCons "Node" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Pos) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Attr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 a)))) | |||||
Instances
| Monoid Pos Source # | |||||
| Semigroup Pos Source # | |||||
| Data Pos Source # | |||||
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Pos -> c Pos Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Pos Source # toConstr :: Pos -> Constr Source # dataTypeOf :: Pos -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Pos) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Pos) Source # gmapT :: (forall b. Data b => b -> b) -> Pos -> Pos Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Pos -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Pos -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Pos -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Pos -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Pos -> m Pos Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Pos -> m Pos Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Pos -> m Pos Source # | |||||
| Generic Pos Source # | |||||
Defined in Djot.AST Associated Types
| |||||
| Show Pos Source # | |||||
| Eq Pos Source # | |||||
| Ord Pos Source # | |||||
| Lift Pos Source # | |||||
| type Rep Pos Source # | |||||
Defined in Djot.AST type Rep Pos = D1 ('MetaData "Pos" "Djot.AST" "djot-0.1.2.4-5pfUtx1PXGc1l9r52St5qf" 'False) (C1 ('MetaCons "NoPos" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Pos" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) | |||||
Constructors
| Para Inlines | |
| Section Blocks | |
| Heading Int Inlines | |
| BlockQuote Blocks | |
| CodeBlock ByteString ByteString | |
| Div Blocks | |
| OrderedList OrderedListAttributes ListSpacing [Blocks] | |
| BulletList ListSpacing [Blocks] | |
| TaskList ListSpacing [(TaskStatus, Blocks)] | |
| DefinitionList ListSpacing [(Inlines, Blocks)] | |
| ThematicBreak | |
| Table (Maybe Caption) [[Cell]] | |
| RawBlock Format ByteString |
Instances
| Monoid Blocks Source # | |||||
| Semigroup Blocks Source # | |||||
| Data Block Source # | |||||
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Block -> c Block Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Block Source # toConstr :: Block -> Constr Source # dataTypeOf :: Block -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Block) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Block) Source # gmapT :: (forall b. Data b => b -> b) -> Block -> Block Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Block -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Block -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Block -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Block -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Block -> m Block Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Block -> m Block Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Block -> m Block Source # | |||||
| Generic Block Source # | |||||
Defined in Djot.AST Associated Types
| |||||
| Show Block Source # | |||||
| Eq Block Source # | |||||
| Ord Block Source # | |||||
Defined in Djot.AST | |||||
| Lift Block Source # | |||||
| type Rep Block Source # | |||||
Defined in Djot.AST type Rep Block = D1 ('MetaData "Block" "Djot.AST" "djot-0.1.2.4-5pfUtx1PXGc1l9r52St5qf" 'False) (((C1 ('MetaCons "Para" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Inlines)) :+: (C1 ('MetaCons "Section" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Blocks)) :+: C1 ('MetaCons "Heading" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Inlines)))) :+: (C1 ('MetaCons "BlockQuote" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Blocks)) :+: (C1 ('MetaCons "CodeBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ByteString) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ByteString)) :+: C1 ('MetaCons "Div" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Blocks))))) :+: ((C1 ('MetaCons "OrderedList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OrderedListAttributes) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ListSpacing) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Blocks]))) :+: (C1 ('MetaCons "BulletList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ListSpacing) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Blocks])) :+: C1 ('MetaCons "TaskList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ListSpacing) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [(TaskStatus, Blocks)])))) :+: ((C1 ('MetaCons "DefinitionList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ListSpacing) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [(Inlines, Blocks)])) :+: C1 ('MetaCons "ThematicBreak" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Table" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Caption)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [[Cell]])) :+: C1 ('MetaCons "RawBlock" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Format) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ByteString)))))) | |||||
Constructors
| Doc | |
Fields | |
Instances
| Monoid Doc Source # | |||||
| Semigroup Doc Source # | |||||
| Data Doc Source # | |||||
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Doc -> c Doc Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Doc Source # toConstr :: Doc -> Constr Source # dataTypeOf :: Doc -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Doc) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Doc) Source # gmapT :: (forall b. Data b => b -> b) -> Doc -> Doc Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Doc -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Doc -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Doc -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Doc -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Doc -> m Doc Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Doc -> m Doc Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Doc -> m Doc Source # | |||||
| Generic Doc Source # | |||||
Defined in Djot.AST Associated Types
| |||||
| Show Doc Source # | |||||
| Eq Doc Source # | |||||
| Ord Doc Source # | |||||
| Lift Doc Source # | |||||
| type Rep Doc Source # | |||||
Defined in Djot.AST type Rep Doc = D1 ('MetaData "Doc" "Djot.AST" "djot-0.1.2.4-5pfUtx1PXGc1l9r52St5qf" 'False) (C1 ('MetaCons "Doc" 'PrefixI 'True) ((S1 ('MetaSel ('Just "docBlocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Blocks) :*: S1 ('MetaSel ('Just "docFootnotes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NoteMap)) :*: (S1 ('MetaSel ('Just "docReferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReferenceMap) :*: (S1 ('MetaSel ('Just "docAutoReferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReferenceMap) :*: S1 ('MetaSel ('Just "docAutoIdentifiers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Set ByteString)))))) | |||||
A map from labels to contents.
Constructors
| NoteMap | |
Fields | |
Instances
| Monoid NoteMap Source # | |||||
| Semigroup NoteMap Source # | |||||
| Data NoteMap Source # | |||||
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NoteMap -> c NoteMap Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NoteMap Source # toConstr :: NoteMap -> Constr Source # dataTypeOf :: NoteMap -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NoteMap) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NoteMap) Source # gmapT :: (forall b. Data b => b -> b) -> NoteMap -> NoteMap Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NoteMap -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NoteMap -> r Source # gmapQ :: (forall d. Data d => d -> u) -> NoteMap -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> NoteMap -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> NoteMap -> m NoteMap Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NoteMap -> m NoteMap Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NoteMap -> m NoteMap Source # | |||||
| Generic NoteMap Source # | |||||
Defined in Djot.AST Associated Types
| |||||
| Show NoteMap Source # | |||||
| Eq NoteMap Source # | |||||
| Ord NoteMap Source # | |||||
| Lift NoteMap Source # | |||||
| type Rep NoteMap Source # | |||||
Defined in Djot.AST type Rep NoteMap = D1 ('MetaData "NoteMap" "Djot.AST" "djot-0.1.2.4-5pfUtx1PXGc1l9r52St5qf" 'True) (C1 ('MetaCons "NoteMap" 'PrefixI 'True) (S1 ('MetaSel ('Just "unNoteMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map ByteString Blocks)))) | |||||
insertNote :: ByteString -> Blocks -> NoteMap -> NoteMap Source #
lookupNote :: ByteString -> NoteMap -> Maybe Blocks Source #
newtype ReferenceMap Source #
Constructors
| ReferenceMap | |
Fields | |
Instances
| Monoid ReferenceMap Source # | |||||
Defined in Djot.AST Methods mempty :: ReferenceMap Source # mappend :: ReferenceMap -> ReferenceMap -> ReferenceMap Source # mconcat :: [ReferenceMap] -> ReferenceMap Source # | |||||
| Semigroup ReferenceMap Source # | |||||
Defined in Djot.AST Methods (<>) :: ReferenceMap -> ReferenceMap -> ReferenceMap Source # sconcat :: NonEmpty ReferenceMap -> ReferenceMap Source # stimes :: Integral b => b -> ReferenceMap -> ReferenceMap Source # | |||||
| Data ReferenceMap Source # | |||||
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReferenceMap -> c ReferenceMap Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReferenceMap Source # toConstr :: ReferenceMap -> Constr Source # dataTypeOf :: ReferenceMap -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ReferenceMap) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReferenceMap) Source # gmapT :: (forall b. Data b => b -> b) -> ReferenceMap -> ReferenceMap Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReferenceMap -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReferenceMap -> r Source # gmapQ :: (forall d. Data d => d -> u) -> ReferenceMap -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> ReferenceMap -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReferenceMap -> m ReferenceMap Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReferenceMap -> m ReferenceMap Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReferenceMap -> m ReferenceMap Source # | |||||
| Generic ReferenceMap Source # | |||||
Defined in Djot.AST Associated Types
Methods from :: ReferenceMap -> Rep ReferenceMap x Source # to :: Rep ReferenceMap x -> ReferenceMap Source # | |||||
| Show ReferenceMap Source # | |||||
| Eq ReferenceMap Source # | |||||
Defined in Djot.AST Methods (==) :: ReferenceMap -> ReferenceMap -> Bool Source # (/=) :: ReferenceMap -> ReferenceMap -> Bool Source # | |||||
| Ord ReferenceMap Source # | |||||
Defined in Djot.AST Methods compare :: ReferenceMap -> ReferenceMap -> Ordering Source # (<) :: ReferenceMap -> ReferenceMap -> Bool Source # (<=) :: ReferenceMap -> ReferenceMap -> Bool Source # (>) :: ReferenceMap -> ReferenceMap -> Bool Source # (>=) :: ReferenceMap -> ReferenceMap -> Bool Source # max :: ReferenceMap -> ReferenceMap -> ReferenceMap Source # min :: ReferenceMap -> ReferenceMap -> ReferenceMap Source # | |||||
| Lift ReferenceMap Source # | |||||
| type Rep ReferenceMap Source # | |||||
Defined in Djot.AST type Rep ReferenceMap = D1 ('MetaData "ReferenceMap" "Djot.AST" "djot-0.1.2.4-5pfUtx1PXGc1l9r52St5qf" 'True) (C1 ('MetaCons "ReferenceMap" 'PrefixI 'True) (S1 ('MetaSel ('Just "unReferenceMap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map ByteString (ByteString, Attr))))) | |||||
insertReference :: ByteString -> (ByteString, Attr) -> ReferenceMap -> ReferenceMap Source #
lookupReference :: ByteString -> ReferenceMap -> Maybe (ByteString, Attr) Source #
Constructors
| Attr [(ByteString, ByteString)] |
Instances
| Monoid Attr Source # | |||||
| Semigroup Attr Source # | |||||
| Data Attr Source # | |||||
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Attr -> c Attr Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Attr Source # toConstr :: Attr -> Constr Source # dataTypeOf :: Attr -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Attr) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Attr) Source # gmapT :: (forall b. Data b => b -> b) -> Attr -> Attr Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Attr -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Attr -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Attr -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Attr -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Attr -> m Attr Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Attr -> m Attr Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Attr -> m Attr Source # | |||||
| Generic Attr Source # | |||||
Defined in Djot.AST Associated Types
| |||||
| Show Attr Source # | |||||
| Eq Attr Source # | |||||
| Ord Attr Source # | |||||
| Lift Attr Source # | |||||
| type Rep Attr Source # | |||||
Defined in Djot.AST type Rep Attr = D1 ('MetaData "Attr" "Djot.AST" "djot-0.1.2.4-5pfUtx1PXGc1l9r52St5qf" 'True) (C1 ('MetaCons "Attr" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(ByteString, ByteString)]))) | |||||
Constructors
| Direct ByteString | |
| Reference ByteString |
Instances
| Data Target Source # | |||||
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Target -> c Target Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Target Source # toConstr :: Target -> Constr Source # dataTypeOf :: Target -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Target) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Target) Source # gmapT :: (forall b. Data b => b -> b) -> Target -> Target Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Target -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Target -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Target -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Target -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Target -> m Target Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Target -> m Target Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Target -> m Target Source # | |||||
| Generic Target Source # | |||||
Defined in Djot.AST Associated Types
| |||||
| Show Target Source # | |||||
| Eq Target Source # | |||||
| Ord Target Source # | |||||
| Lift Target Source # | |||||
| type Rep Target Source # | |||||
Defined in Djot.AST type Rep Target = D1 ('MetaData "Target" "Djot.AST" "djot-0.1.2.4-5pfUtx1PXGc1l9r52St5qf" 'False) (C1 ('MetaCons "Direct" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ByteString)) :+: C1 ('MetaCons "Reference" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ByteString))) | |||||
data TaskStatus Source #
Constructors
| Complete | |
| Incomplete |
Instances
| Data TaskStatus Source # | |||||
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TaskStatus -> c TaskStatus Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TaskStatus Source # toConstr :: TaskStatus -> Constr Source # dataTypeOf :: TaskStatus -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TaskStatus) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TaskStatus) Source # gmapT :: (forall b. Data b => b -> b) -> TaskStatus -> TaskStatus Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TaskStatus -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TaskStatus -> r Source # gmapQ :: (forall d. Data d => d -> u) -> TaskStatus -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> TaskStatus -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TaskStatus -> m TaskStatus Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TaskStatus -> m TaskStatus Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TaskStatus -> m TaskStatus Source # | |||||
| Generic TaskStatus Source # | |||||
Defined in Djot.AST Associated Types
| |||||
| Show TaskStatus Source # | |||||
| Eq TaskStatus Source # | |||||
Defined in Djot.AST Methods (==) :: TaskStatus -> TaskStatus -> Bool Source # (/=) :: TaskStatus -> TaskStatus -> Bool Source # | |||||
| Ord TaskStatus Source # | |||||
Defined in Djot.AST Methods compare :: TaskStatus -> TaskStatus -> Ordering Source # (<) :: TaskStatus -> TaskStatus -> Bool Source # (<=) :: TaskStatus -> TaskStatus -> Bool Source # (>) :: TaskStatus -> TaskStatus -> Bool Source # (>=) :: TaskStatus -> TaskStatus -> Bool Source # max :: TaskStatus -> TaskStatus -> TaskStatus Source # min :: TaskStatus -> TaskStatus -> TaskStatus Source # | |||||
| Lift TaskStatus Source # | |||||
| type Rep TaskStatus Source # | |||||
Constructors
| AlignLeft | |
| AlignRight | |
| AlignCenter | |
| AlignDefault |
Instances
| Data Align Source # | |||||
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Align -> c Align Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Align Source # toConstr :: Align -> Constr Source # dataTypeOf :: Align -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Align) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Align) Source # gmapT :: (forall b. Data b => b -> b) -> Align -> Align Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Align -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Align -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Align -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Align -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Align -> m Align Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Align -> m Align Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Align -> m Align Source # | |||||
| Generic Align Source # | |||||
Defined in Djot.AST Associated Types
| |||||
| Show Align Source # | |||||
| Eq Align Source # | |||||
| Ord Align Source # | |||||
Defined in Djot.AST | |||||
| Lift Align Source # | |||||
| type Rep Align Source # | |||||
Defined in Djot.AST type Rep Align = D1 ('MetaData "Align" "Djot.AST" "djot-0.1.2.4-5pfUtx1PXGc1l9r52St5qf" 'False) ((C1 ('MetaCons "AlignLeft" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlignRight" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "AlignCenter" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlignDefault" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
Instances
| Data Cell Source # | |||||
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Cell -> c Cell Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Cell Source # toConstr :: Cell -> Constr Source # dataTypeOf :: Cell -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Cell) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Cell) Source # gmapT :: (forall b. Data b => b -> b) -> Cell -> Cell Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Cell -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Cell -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Cell -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Cell -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Cell -> m Cell Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Cell -> m Cell Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Cell -> m Cell Source # | |||||
| Generic Cell Source # | |||||
Defined in Djot.AST Associated Types
| |||||
| Show Cell Source # | |||||
| Eq Cell Source # | |||||
| Ord Cell Source # | |||||
| Lift Cell Source # | |||||
| type Rep Cell Source # | |||||
Defined in Djot.AST type Rep Cell = D1 ('MetaData "Cell" "Djot.AST" "djot-0.1.2.4-5pfUtx1PXGc1l9r52St5qf" 'False) (C1 ('MetaCons "Cell" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CellType) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Align) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Inlines)))) | |||||
Instances
| Data CellType Source # | |
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CellType -> c CellType Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CellType Source # toConstr :: CellType -> Constr Source # dataTypeOf :: CellType -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CellType) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CellType) Source # gmapT :: (forall b. Data b => b -> b) -> CellType -> CellType Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CellType -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CellType -> r Source # gmapQ :: (forall d. Data d => d -> u) -> CellType -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> CellType -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CellType -> m CellType Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CellType -> m CellType Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CellType -> m CellType Source # | |
| Generic CellType Source # | |
| Show CellType Source # | |
| Eq CellType Source # | |
| Ord CellType Source # | |
Defined in Djot.AST | |
| Lift CellType Source # | |
| type Rep CellType Source # | |
Instances
| Data Caption Source # | |
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Caption -> c Caption Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Caption Source # toConstr :: Caption -> Constr Source # dataTypeOf :: Caption -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Caption) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Caption) Source # gmapT :: (forall b. Data b => b -> b) -> Caption -> Caption Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Caption -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Caption -> r Source # gmapQ :: (forall d. Data d => d -> u) -> Caption -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> Caption -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Caption -> m Caption Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Caption -> m Caption Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Caption -> m Caption Source # | |
| Generic Caption Source # | |
| Show Caption Source # | |
| Eq Caption Source # | |
| Ord Caption Source # | |
| Lift Caption Source # | |
| type Rep Caption Source # | |
data ListSpacing Source #
Instances
| Data ListSpacing Source # | |||||
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListSpacing -> c ListSpacing Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListSpacing Source # toConstr :: ListSpacing -> Constr Source # dataTypeOf :: ListSpacing -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListSpacing) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListSpacing) Source # gmapT :: (forall b. Data b => b -> b) -> ListSpacing -> ListSpacing Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListSpacing -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListSpacing -> r Source # gmapQ :: (forall d. Data d => d -> u) -> ListSpacing -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> ListSpacing -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListSpacing -> m ListSpacing Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListSpacing -> m ListSpacing Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListSpacing -> m ListSpacing Source # | |||||
| Generic ListSpacing Source # | |||||
Defined in Djot.AST Associated Types
Methods from :: ListSpacing -> Rep ListSpacing x Source # to :: Rep ListSpacing x -> ListSpacing Source # | |||||
| Show ListSpacing Source # | |||||
| Eq ListSpacing Source # | |||||
Defined in Djot.AST Methods (==) :: ListSpacing -> ListSpacing -> Bool Source # (/=) :: ListSpacing -> ListSpacing -> Bool Source # | |||||
| Ord ListSpacing Source # | |||||
Defined in Djot.AST Methods compare :: ListSpacing -> ListSpacing -> Ordering Source # (<) :: ListSpacing -> ListSpacing -> Bool Source # (<=) :: ListSpacing -> ListSpacing -> Bool Source # (>) :: ListSpacing -> ListSpacing -> Bool Source # (>=) :: ListSpacing -> ListSpacing -> Bool Source # max :: ListSpacing -> ListSpacing -> ListSpacing Source # min :: ListSpacing -> ListSpacing -> ListSpacing Source # | |||||
| Lift ListSpacing Source # | |||||
| type Rep ListSpacing Source # | |||||
data OrderedListAttributes Source #
Constructors
| OrderedListAttributes | |
Instances
| Data OrderedListAttributes Source # | |||||
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrderedListAttributes -> c OrderedListAttributes Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrderedListAttributes Source # toConstr :: OrderedListAttributes -> Constr Source # dataTypeOf :: OrderedListAttributes -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OrderedListAttributes) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrderedListAttributes) Source # gmapT :: (forall b. Data b => b -> b) -> OrderedListAttributes -> OrderedListAttributes Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrderedListAttributes -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrderedListAttributes -> r Source # gmapQ :: (forall d. Data d => d -> u) -> OrderedListAttributes -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> OrderedListAttributes -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrderedListAttributes -> m OrderedListAttributes Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderedListAttributes -> m OrderedListAttributes Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderedListAttributes -> m OrderedListAttributes Source # | |||||
| Generic OrderedListAttributes Source # | |||||
Defined in Djot.AST Associated Types
Methods from :: OrderedListAttributes -> Rep OrderedListAttributes x Source # to :: Rep OrderedListAttributes x -> OrderedListAttributes Source # | |||||
| Show OrderedListAttributes Source # | |||||
| Eq OrderedListAttributes Source # | |||||
Defined in Djot.AST Methods (==) :: OrderedListAttributes -> OrderedListAttributes -> Bool Source # (/=) :: OrderedListAttributes -> OrderedListAttributes -> Bool Source # | |||||
| Ord OrderedListAttributes Source # | |||||
Defined in Djot.AST Methods compare :: OrderedListAttributes -> OrderedListAttributes -> Ordering Source # (<) :: OrderedListAttributes -> OrderedListAttributes -> Bool Source # (<=) :: OrderedListAttributes -> OrderedListAttributes -> Bool Source # (>) :: OrderedListAttributes -> OrderedListAttributes -> Bool Source # (>=) :: OrderedListAttributes -> OrderedListAttributes -> Bool Source # max :: OrderedListAttributes -> OrderedListAttributes -> OrderedListAttributes Source # min :: OrderedListAttributes -> OrderedListAttributes -> OrderedListAttributes Source # | |||||
| Lift OrderedListAttributes Source # | |||||
| type Rep OrderedListAttributes Source # | |||||
Defined in Djot.AST type Rep OrderedListAttributes = D1 ('MetaData "OrderedListAttributes" "Djot.AST" "djot-0.1.2.4-5pfUtx1PXGc1l9r52St5qf" 'False) (C1 ('MetaCons "OrderedListAttributes" 'PrefixI 'True) (S1 ('MetaSel ('Just "orderedListStyle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OrderedListStyle) :*: (S1 ('MetaSel ('Just "orderedListDelim") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OrderedListDelim) :*: S1 ('MetaSel ('Just "orderedListStart") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))) | |||||
data OrderedListDelim Source #
Constructors
| RightPeriod | |
| RightParen | |
| LeftRightParen |
Instances
| Data OrderedListDelim Source # | |||||
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrderedListDelim -> c OrderedListDelim Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrderedListDelim Source # toConstr :: OrderedListDelim -> Constr Source # dataTypeOf :: OrderedListDelim -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OrderedListDelim) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrderedListDelim) Source # gmapT :: (forall b. Data b => b -> b) -> OrderedListDelim -> OrderedListDelim Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrderedListDelim -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrderedListDelim -> r Source # gmapQ :: (forall d. Data d => d -> u) -> OrderedListDelim -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> OrderedListDelim -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrderedListDelim -> m OrderedListDelim Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderedListDelim -> m OrderedListDelim Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderedListDelim -> m OrderedListDelim Source # | |||||
| Generic OrderedListDelim Source # | |||||
Defined in Djot.AST Associated Types
Methods from :: OrderedListDelim -> Rep OrderedListDelim x Source # to :: Rep OrderedListDelim x -> OrderedListDelim Source # | |||||
| Show OrderedListDelim Source # | |||||
| Eq OrderedListDelim Source # | |||||
Defined in Djot.AST Methods (==) :: OrderedListDelim -> OrderedListDelim -> Bool Source # (/=) :: OrderedListDelim -> OrderedListDelim -> Bool Source # | |||||
| Ord OrderedListDelim Source # | |||||
Defined in Djot.AST Methods compare :: OrderedListDelim -> OrderedListDelim -> Ordering Source # (<) :: OrderedListDelim -> OrderedListDelim -> Bool Source # (<=) :: OrderedListDelim -> OrderedListDelim -> Bool Source # (>) :: OrderedListDelim -> OrderedListDelim -> Bool Source # (>=) :: OrderedListDelim -> OrderedListDelim -> Bool Source # max :: OrderedListDelim -> OrderedListDelim -> OrderedListDelim Source # min :: OrderedListDelim -> OrderedListDelim -> OrderedListDelim Source # | |||||
| Lift OrderedListDelim Source # | |||||
| type Rep OrderedListDelim Source # | |||||
Defined in Djot.AST type Rep OrderedListDelim = D1 ('MetaData "OrderedListDelim" "Djot.AST" "djot-0.1.2.4-5pfUtx1PXGc1l9r52St5qf" 'False) (C1 ('MetaCons "RightPeriod" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "RightParen" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LeftRightParen" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data OrderedListStyle Source #
Constructors
| Decimal | |
| LetterUpper | |
| LetterLower | |
| RomanUpper | |
| RomanLower |
Instances
| Data OrderedListStyle Source # | |||||
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrderedListStyle -> c OrderedListStyle Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrderedListStyle Source # toConstr :: OrderedListStyle -> Constr Source # dataTypeOf :: OrderedListStyle -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OrderedListStyle) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrderedListStyle) Source # gmapT :: (forall b. Data b => b -> b) -> OrderedListStyle -> OrderedListStyle Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrderedListStyle -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrderedListStyle -> r Source # gmapQ :: (forall d. Data d => d -> u) -> OrderedListStyle -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> OrderedListStyle -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrderedListStyle -> m OrderedListStyle Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderedListStyle -> m OrderedListStyle Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderedListStyle -> m OrderedListStyle Source # | |||||
| Generic OrderedListStyle Source # | |||||
Defined in Djot.AST Associated Types
Methods from :: OrderedListStyle -> Rep OrderedListStyle x Source # to :: Rep OrderedListStyle x -> OrderedListStyle Source # | |||||
| Show OrderedListStyle Source # | |||||
| Eq OrderedListStyle Source # | |||||
Defined in Djot.AST Methods (==) :: OrderedListStyle -> OrderedListStyle -> Bool Source # (/=) :: OrderedListStyle -> OrderedListStyle -> Bool Source # | |||||
| Ord OrderedListStyle Source # | |||||
Defined in Djot.AST Methods compare :: OrderedListStyle -> OrderedListStyle -> Ordering Source # (<) :: OrderedListStyle -> OrderedListStyle -> Bool Source # (<=) :: OrderedListStyle -> OrderedListStyle -> Bool Source # (>) :: OrderedListStyle -> OrderedListStyle -> Bool Source # (>=) :: OrderedListStyle -> OrderedListStyle -> Bool Source # max :: OrderedListStyle -> OrderedListStyle -> OrderedListStyle Source # min :: OrderedListStyle -> OrderedListStyle -> OrderedListStyle Source # | |||||
| Lift OrderedListStyle Source # | |||||
| type Rep OrderedListStyle Source # | |||||
Defined in Djot.AST type Rep OrderedListStyle = D1 ('MetaData "OrderedListStyle" "Djot.AST" "djot-0.1.2.4-5pfUtx1PXGc1l9r52St5qf" 'False) ((C1 ('MetaCons "Decimal" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LetterUpper" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LetterLower" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "RomanUpper" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RomanLower" 'PrefixI 'False) (U1 :: Type -> Type)))) | |||||
Constructors
| SingleQuotes | |
| DoubleQuotes |
Instances
| Data QuoteType Source # | |
Defined in Djot.AST Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QuoteType -> c QuoteType Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QuoteType Source # toConstr :: QuoteType -> Constr Source # dataTypeOf :: QuoteType -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c QuoteType) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QuoteType) Source # gmapT :: (forall b. Data b => b -> b) -> QuoteType -> QuoteType Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QuoteType -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QuoteType -> r Source # gmapQ :: (forall d. Data d => d -> u) -> QuoteType -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> QuoteType -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> QuoteType -> m QuoteType Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QuoteType -> m QuoteType Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QuoteType -> m QuoteType Source # | |
| Generic QuoteType Source # | |
| Show QuoteType Source # | |
| Eq QuoteType Source # | |
| Ord QuoteType Source # | |
Defined in Djot.AST | |
| Lift QuoteType Source # | |
| type Rep QuoteType Source # | |
displayMath :: ByteString -> Inlines Source #
emailLink :: ByteString -> Inlines Source #
inlineMath :: ByteString -> Inlines Source #
str :: ByteString -> Inlines Source #
superscript :: Inlines -> Inlines Source #
singleQuoted :: Inlines -> Inlines Source #
doubleQuoted :: Inlines -> Inlines Source #
symbol :: ByteString -> Inlines Source #
verbatim :: ByteString -> Inlines Source #
urlLink :: ByteString -> Inlines Source #
blockQuote :: Blocks -> Blocks Source #
codeBlock :: ByteString -> ByteString -> Blocks Source #
bulletList :: ListSpacing -> [Blocks] -> Blocks Source #
orderedList :: OrderedListAttributes -> ListSpacing -> [Blocks] -> Blocks Source #
definitionList :: ListSpacing -> [(Inlines, Blocks)] -> Blocks Source #
taskList :: ListSpacing -> [(TaskStatus, Blocks)] -> Blocks Source #