зеркало из https://github.com/mozilla/gecko-dev.git
…
|
||
---|---|---|
.. | ||
src | ||
tests | ||
.cargo-checksum.json | ||
Cargo.toml | ||
LICENSE.md | ||
README.md |
README.md
About
Parses valid WebIDL definitions & produces a data structure starting from
Definitions
.
Usage
Cargo.toml
[dependencies]
weedle = "0.9.0"
src/main.rs
fn main() {
let parsed = weedle::parse("
interface Window {
readonly attribute Storage sessionStorage;
};
").unwrap();
println!("{:?}", parsed);
}