Macro cssparser::match_byte

source ·
match_byte!() { /* proc-macro */ }
Expand description

Expand a TokenStream corresponding to the match_byte macro.

§Example

match_byte! { tokenizer.next_byte_unchecked(),
    b'a'..b'z' => { ... }
    b'0'..b'9' => { ... }
    b'\n' | b'\\' => { ... }
    foo => { ... }
 }