Macro ixdtf::assert_syntax

source ยท
macro_rules! assert_syntax {
    ($cond:expr, $err:ident $(,)?) => { ... };
}
Expand description

assert_syntax! is a parser specific utility macro for asserting a syntax test, and returning the the provided provided error if the assertion fails.