Add support for highlight properties that track local variables

This commit is contained in:
Max Brunsfeld 2019-05-09 12:02:18 -07:00
parent d78ac581f3
commit a7d02e7276
4 changed files with 117 additions and 5 deletions

View file

@ -755,6 +755,10 @@ impl<'a, P> TreePropertyCursor<'a, P> {
}
}
pub fn source(&self) -> &'a [u8] {
&self.source
}
fn next_state(&self, node_child_index: usize) -> usize {
let state = self.current_state();
let node_field_id = self.cursor.field_id();