diff --git a/src/result.rs b/src/result.rs index 5ab1db9..91b5940 100644 --- a/src/result.rs +++ b/src/result.rs @@ -26,7 +26,7 @@ use rustc_hash::FxHashMap; #[derive(Debug, Eq, PartialEq)] pub struct QueryResult { // for each captured node we store the offset ranges of its src location - captures: Vec, + pub captures: Vec, // Mapping from Variables to index in `captures` pub vars: FxHashMap, // Range of the outermost node. This is badly named as it does not have to be a