Module rustla::parser::directive_parsers [−][src]
A file that contains functions dedicated to parsing directives, reStructuredText extensions. All of these follow the same basic pattern:
- check for directive argument
- check for directive options and filter them for accepted ones,
- return with a transition result, so that the
parser
might continue parsing the contents of the directive node.
Some small deviations from this pattern might occur, since a directive might not accept arguments or options, or just not have any content.
Copyright © 2020 Santtu Söderholm