StandardDirectiveParsers
Defines the custom argument and body parsers for the standard directives. Most of these delegate to the default block or inline parsers for reStructuredText
, but often do only except one specific block type like Table
or QuotedBlock
whereas the default block parser usually accepts any of the blocks.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Members list
Value members
Concrete methods
Utility method to be used by custom parsers for directive argument or body. It translates a Success
into a Right
and a NoSuccess
into a Left
.
Utility method to be used by custom parsers for directive argument or body. It translates a Success
into a Right
and a NoSuccess
into a Left
.
Attributes
Utility method to be used by custom parsers for directive argument or body. It translates a Success
into a Right
and a NoSuccess
into a Left
.
Utility method to be used by custom parsers for directive argument or body. It translates a Success
into a Right
and a NoSuccess
into a Left
.
Attributes
Parses all standard inline markup supported by reStructuredText
.
Parses all standard inline markup supported by reStructuredText
.
Value parameters
- input
-
the input to parse
- p
-
the standard inline parsers including all registered directives for recursive use
Attributes
- Returns
-
Right
in case of parser success andLeft
in case of failure, to adjust to the Directive API
Parses one of the two table types supported by reStructuredText
.
Parses one of the two table types supported by reStructuredText
.
Value parameters
- input
-
the input to parse
- p
-
the standard block parsers including all registered directives for recursive use
Attributes
- Returns
-
Right
in case of parser success andLeft
in case of failure, to adjust to the Directive API
Parses a target which might be a simple reference, a phrase reference or an uri.
Parses a target which might be a simple reference, a phrase reference or an uri.
Value parameters
- input
-
the input to parse
Attributes
- Returns
-
Right
in case of parser success andLeft
in case of failure, to adjust to the Directive API
Parses unicode values in various notations intertwined with normal text.
Parses unicode values in various notations intertwined with normal text.
Value parameters
- input
-
the input to parse
Attributes
- Returns
-
Right
in case of parser success andLeft
in case of failure, to adjust to the Directive API