Skip to content

Commit

Permalink
result: make captures public
Browse files Browse the repository at this point in the history
  • Loading branch information
woodruffw authored and felixwilhelm committed Mar 21, 2022
1 parent 13a332f commit 29fd726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<CaptureResult>,
pub captures: Vec<CaptureResult>,
// Mapping from Variables to index in `captures`
pub vars: FxHashMap<String, usize>,
// Range of the outermost node. This is badly named as it does not have to be a
Expand Down

0 comments on commit 29fd726

Please sign in to comment.