Source code

Revision control

Other Tools

1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
5
// Make |cargo bench| work.
6
#![cfg_attr(feature = "bench", feature(test))]
7
8
#[macro_use]
9
extern crate bitflags;
10
#[macro_use]
11
extern crate cssparser;
12
#[macro_use]
13
extern crate derive_more;
14
extern crate fxhash;
15
#[macro_use]
16
extern crate log;
17
#[macro_use]
18
extern crate matches;
19
extern crate phf;
20
extern crate precomputed_hash;
21
extern crate servo_arc;
22
extern crate smallvec;
23
extern crate thin_slice;
24
extern crate to_shmem;
25
#[macro_use]
26
extern crate to_shmem_derive;
27
28
pub mod attr;
29
pub mod bloom;
30
mod builder;
31
pub mod context;
32
pub mod matching;
33
mod nth_index_cache;
34
pub mod parser;
35
pub mod sink;
36
mod tree;
37
pub mod visitor;
38
39
pub use crate::nth_index_cache::NthIndexCache;
40
pub use crate::parser::{Parser, SelectorImpl, SelectorList};
41
pub use crate::tree::{Element, OpaqueElement};