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