A Web IDL parser
Built with 🦀🕸 by The Rust and WebAssembly Working Group.Forked to extend the functionality beyond WebIDL needs.
Parses valid WebIDL definitions & produces a data structure starting from
Definitions
.
[dependencies]
weedle2 = "4.0.0"
fn main() {
let parsed = weedle::parse("
interface Window {
readonly attribute Storage sessionStorage;
};
").unwrap();
println!("{:?}", parsed);
}