2016-09-03 11:33:15 -07:00
2016-09-03 11:33:15 -07:00
2016-09-03 11:33:15 -07:00
2016-09-03 11:33:15 -07:00
2016-09-03 11:33:15 -07:00
2016-09-03 11:33:15 -07:00
2016-09-03 11:33:15 -07:00
2016-09-03 11:33:15 -07:00

Nom parser for Rust items

Parse Rust structs and enums without a Syntex dependency, intended for use with Macros 1.1.

[dependencies]
item = "0.1"
extern crate item;

let raw = "
    #[derive(Debug, Clone)]
    pub struct Item {
        pub ident: Ident,
        pub attrs: Vec<Attribute>,
    }
";

let ast = item::parse(raw).unwrap();

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Description
No description provided
Readme 8.9 MiB
Languages
Rust 100%