macro_rules! impl_visit_operator {
( @mvp $op:ident $({ $($arg:ident: $argty:ty),* })? => $visit:ident $($rest:tt)* ) => { ... };
( @$proposal:ident $op:ident $({ $($arg:ident: $argty:ty),* })? => $visit:ident $($rest:tt)* ) => { ... };
() => { ... };
}
Expand description
A macro to define unsupported WebAssembly operators.
This macro calls itself recursively;
- It no-ops when matching a supported operator.
- Defines the visitor function and panics when matching an unsupported operator.