| Copyright | (c) 2024 Patrick Brisbin |
|---|---|
| License | AGPL-3 |
| Maintainer | pbrisbin@gmail.com |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | Safe-Inferred |
| Language | GHC2021 |
Ronn.AST
Contents
Description
Synopsis
- data Ronn = Ronn {
- name :: ManRef
- description :: [RonnPart]
- sections :: [RonnSection]
- data RonnSection = RonnSection {
- name :: Text
- content :: [RonnContent]
- data RonnContent
- data RonnDefinition = RonnDefinition {
- name :: RonnPart
- description :: RonnLine
- content :: Maybe [RonnContent]
- data RonnGroup
- newtype RonnLine = RonnLine {}
- data RonnPart
- data ManRef = ManRef {
- name :: Text
- section :: ManSection
- newtype ManSection = ManSection Int
- manSectionNumber :: ManSection -> Int
Documentation
Constructors
| Ronn | |
Fields
| |
data RonnSection Source #
Constructors
| RonnSection | |
Fields
| |
data RonnContent Source #
Constructors
| RonnDefinitions [RonnDefinition] | |
| RonnGroups [RonnGroup] |
Instances
| IsString RonnContent Source # | |
Defined in Ronn.AST Methods fromString :: String -> RonnContent # | |
data RonnDefinition Source #
Constructors
| RonnDefinition | |
Fields
| |
Constructors
| RonnConcat [RonnPart] |
The following expressions are equivalent:
Using the |
| RonnCode RonnPart | |
| RonnUserInput RonnPart | |
| RonnStrong RonnPart | |
| RonnVariable RonnPart | |
| RonnEphasis RonnPart | |
| RonnBrackets RonnPart | |
| RonnParens RonnPart | |
| RonnRef ManRef | |
| RonnRaw Text |
References
newtype ManSection Source #
Constructors
| ManSection Int |
manSectionNumber :: ManSection -> Int Source #