Skip to content

Commit

Permalink
Parse webidl files and lint for inheritance correctness.
Browse files Browse the repository at this point in the history
  • Loading branch information
krk committed Apr 20, 2019
1 parent dfca8ec commit ea833b5
Show file tree
Hide file tree
Showing 4 changed files with 226 additions and 19 deletions.
112 changes: 112 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions components/script_plugins/Cargo.toml
Expand Up @@ -12,3 +12,6 @@ plugin = true
[features]
unrooted_must_root_lint = []
webidl_lint = []

[dependencies]
webidl = "0.8"
2 changes: 2 additions & 0 deletions components/script_plugins/lib.rs
Expand Up @@ -25,6 +25,8 @@ extern crate rustc;
extern crate rustc_plugin;
extern crate syntax;

extern crate webidl;

use rustc_plugin::Registry;
use syntax::feature_gate::AttributeType::Whitelisted;

Expand Down

0 comments on commit ea833b5

Please sign in to comment.