Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Even though we do not have Label
s per se, here we define the
different ways of construction ways to mark labels.
Types
Applying different pieces of information for a reference. An RP is a decorated internal reference. Citation is a citation. URI is for URLs and other external links.
Created for different forms of references. Used in LblType
.
Classes
class HasRefAddress b where Source #
Members must have a reference address.
Instances
HasRefAddress Citation Source # | Gets the reference address of a |
HasRefAddress ConceptInstance Source # | Finds the reference address contained in a |
Defined in Language.Drasil.Chunk.Concept.Core getRefAdd :: ConceptInstance -> LblType Source # | |
HasRefAddress DecRef Source # | Finds the reference address contained in a |
HasRefAddress Section Source # | Finds the reference address of a |
HasRefAddress LabelledContent Source # | Finds the reference address contained in the |
Defined in Language.Drasil.Document.Core getRefAdd :: LabelledContent -> LblType Source # | |
HasRefAddress Reference Source # | Finds the reference address contained in a |
class (HasUID s, HasRefAddress s) => Referable s where Source #
Members of this class have the ability to be referenced.
refAdd :: s -> String Source #
The referencing address (what we're linking to). Only visible in the source (tex/html).
renderRef :: s -> LblType Source #
Alternate form of reference.
Instances
Referable Citation Source # | Gets the reference information of a |
Referable ConceptInstance Source # | Finds the reference information contained in a |
Defined in Language.Drasil.Chunk.Concept.Core refAdd :: ConceptInstance -> String Source # renderRef :: ConceptInstance -> LblType Source # | |
Referable Section Source # | Finds the reference information of a |
Referable LabelledContent Source # | Finds the reference information of |
Defined in Language.Drasil.Document.Core refAdd :: LabelledContent -> String Source # renderRef :: LabelledContent -> LblType Source # |