Parses valid WebIDL definitions & produces a data structure starting from
Definitions
.
[dependencies]
weedle = "0.9.0"
fn main() {
let parsed = weedle::parse("
interface Window {
readonly attribute Storage sessionStorage;
};
").unwrap();
println!("{:?}", parsed);
}