Module pear::macros [−][src]
Macros
impl_show_with | Implements the |
parse | Runs the parser with the given name and input, then [ |
parse_context | Returns the current context up to the current mark. |
parse_current_marker | Return the mark at the current parsing position. |
parse_error | Returns an |
parse_last_marker | Returns the last marker that was set. |
parse_mark | Sets the marker to the current position. |
parse_try | Runs a parser returning |
switch | Invoked much like match, except each condition must be a parser, which is executed, and the corresponding arm is executed only if the parser succeeds. Once a condition succeeds, no other condition is executed. |
Attribute Macros
parser | The core attribute macro. Can only be applied to free functions with at least one parameter and a return value. To typecheck, the free function must meet the following typing requirements: |