macro_rules! process_flags_expr {
(@entry: [ ] [ ]) => { ... };
(@entry: [ $($lhs:tt)+ ] [ ]) => { ... };
(@process: [ $flag:ident $($lhs:tt)* ] [ $($rhs:tt)* ]) => { ... };
(@process: [ ( $($expr:tt)+ ) $($lhs:tt)* ] [ $($rhs:tt)* ]) => { ... };
(@process: [ $other:tt $($lhs:tt)* ] [ $($rhs:tt)* ]) => { ... };
(@process: [ ] [ $($lhs:tt)+ ]) => { ... };
}
Expand description
Recursively Converts an expression that uses FrameFlags
constants into
an expression that uses the backing value of FrameFlags
(u16
).