split_tokens 0.1.0

Split compound tokens in their individual parts.
Documentation
  • Coverage
  • 33.33%
    1 out of 3 items documented0 out of 0 items with examples
  • Size
  • Source code size: 2.72 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.04 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • bjorn3/split_tokens
    4 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • bjorn3

Split compound tokens in their individual parts.

Example

#[macro_use]
extern crate split_tokens;

macro_rules! cb{
    ( ( $($args:tt)* ) ( $($out:tt)* ) ) => {
        //...
    }
}

fn main(){
    split_tokens!( (>>+=-=<<) then cb!() );
}