Skip to main content

Module macros

Module macros 

Source
Expand description

The mk_langs! family that generates langs, the with_any_parser! dispatch macro, and the kind-set aliases.

Re-exports§

pub use crate::with_any_parser;

Macros§

with_any_parser
Dispatches over every AnyParser variant, binding the concrete Parser<XCode> to $p and evaluating $body once per arm.

Structs§

ParseLangError
Error returned by LANG’s FromStr impl when the input is not a recognised language name.