| License | AGPL-3 |
|---|---|
| Maintainer | stu235271@mail.uni-kiel.de stu236925@mail.uni-kiel.de |
| Safe Haskell | None |
| Language | Haskell2010 |
Docs.TextElement
Description
This module contains the definitions for the contents of a documen trees text nodes.
Synopsis
- newtype TextElementID = TextElementID {}
- data TextElement = TextElement {}
- type TextElementKind = Text
- type TextElementType = Text
- data TextElementRef = TextElementRef {}
- prettyPrintTextElementRef :: TextElementRef -> String
Documentation
newtype TextElementID Source #
ID for a text element
Constructors
| TextElementID | |
Fields | |
Instances
data TextElement Source #
Contains metadata about a text element.
Constructors
| TextElement | |
Instances
type TextElementKind = Text Source #
type TextElementType = Text Source #
data TextElementRef Source #
Scoped identifier for a text element
Constructors
| TextElementRef | |
Fields | |
Instances
| FromJSON TextElementRef Source # | |||||
Defined in Docs.TextElement | |||||
| ToJSON TextElementRef Source # | |||||
Defined in Docs.TextElement Methods toJSON :: TextElementRef -> Value toEncoding :: TextElementRef -> Encoding toJSONList :: [TextElementRef] -> Value toEncodingList :: [TextElementRef] -> Encoding omitField :: TextElementRef -> Bool | |||||
| Generic TextElementRef Source # | |||||
Defined in Docs.TextElement Associated Types
Methods from :: TextElementRef -> Rep TextElementRef x # to :: Rep TextElementRef x -> TextElementRef # | |||||
| Eq TextElementRef Source # | |||||
Defined in Docs.TextElement Methods (==) :: TextElementRef -> TextElementRef -> Bool # (/=) :: TextElementRef -> TextElementRef -> Bool # | |||||
| ToSchema TextElementRef Source # | |||||
Defined in Docs.TextElement Methods declareNamedSchema :: Proxy TextElementRef -> Declare (Definitions Schema) NamedSchema | |||||
| type Rep TextElementRef Source # | |||||
Defined in Docs.TextElement type Rep TextElementRef = D1 ('MetaData "TextElementRef" "Docs.TextElement" "backend-0.1.0.0-2H73EnUlGVcEtlIi2XNQz3" 'False) (C1 ('MetaCons "TextElementRef" 'PrefixI 'True) (S1 ('MetaSel ('Just "documentID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DocumentID) :*: S1 ('MetaSel ('Just "textElementID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TextElementID))) | |||||