aboutsummaryrefslogtreecommitdiffstats
path: root/components/selectors/lib.rs
diff options
context:
space:
mode:
authorBobby Holley <bobbyholley@gmail.com>2017-09-20 13:13:24 -0700
committerBobby Holley <bobbyholley@gmail.com>2017-09-21 15:25:38 -0700
commit438740b912b99ebacf3f5269b37be570cbdcaf7e (patch)
treefff091d5d28286a7627e4456ee97f71164315829 /components/selectors/lib.rs
parent29517d553e6c2fddc7e3cf0c0abef58c6d0f34aa (diff)
downloadservo-438740b912b99ebacf3f5269b37be570cbdcaf7e.tar.gz
servo-438740b912b99ebacf3f5269b37be570cbdcaf7e.zip
Implement an nth-index cache.
MozReview-Commit-ID: Ee0um3QXkxl
Diffstat (limited to 'components/selectors/lib.rs')
-rw-r--r--components/selectors/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/selectors/lib.rs b/components/selectors/lib.rs
index 2184dfc64e7..0805a53041f 100644
--- a/components/selectors/lib.rs
+++ b/components/selectors/lib.rs
@@ -24,6 +24,7 @@ pub mod bloom;
mod builder;
pub mod context;
pub mod matching;
+mod nth_index_cache;
pub mod parser;
#[cfg(test)] mod size_of_tests;
#[cfg(any(test, feature = "gecko_like_types"))] pub mod gecko_like_types;
@@ -31,5 +32,6 @@ pub mod sink;
mod tree;
pub mod visitor;
+pub use nth_index_cache::NthIndexCache;
pub use parser::{SelectorImpl, Parser, SelectorList};
-pub use tree::Element;
+pub use tree::{Element, OpaqueElement};