selectors/lib.rs
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
8pub mod attr;
9pub mod bloom;
10mod builder;
11pub mod context;
12pub mod kleene_value;
13pub mod matching;
14mod nth_index_cache;
15pub mod parser;
16pub mod relative_selector;
17pub mod sink;
18mod tree;
19pub mod visitor;
20
21pub use crate::nth_index_cache::NthIndexCache;
22pub use crate::parser::{Parser, SelectorImpl, SelectorList};
23pub use crate::tree::{Element, OpaqueElement};