| Copyright | (c) 2025 Patrick Brisbin |
|---|---|
| License | AGPL-3 |
| Maintainer | pbrisbin@gmail.com |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | GHC2021 |
Network.URI.Template.Internal.Operator
Description
Synopsis
- data Operator
- operatorP :: Parser Operator
- operatorPretty :: Operator -> Doc ann
- data OperatorActions = OperatorActions {
- listPrefix :: Text
- listIntercalate :: Text
- renderValue :: VarName -> Text -> Text
- escapeValue :: Text -> Text
- operatorActions :: Operator -> OperatorActions
- nullOperatorActions :: OperatorActions
Documentation
Constructors
| Reserved | |
| Fragments | |
| Labels | |
| PathSegments | |
| PathParameters | |
| Query | |
| QueryContinuation | |
| SpecReserved Char |
operatorP :: Parser Operator Source #
operator = op-level2 op-level3 op-reserve op-level2 = "+" / "#" op-level3 = "." "" ";" "?" / "&" op-reserve = "=" "," "!" "@" "|"
operatorPretty :: Operator -> Doc ann Source #
data OperatorActions Source #
Constructors
| OperatorActions | |
Fields
| |
nullOperatorActions :: OperatorActions Source #
OperatorActions to use when there was no Operator