Commit graph

17 commits

Author SHA1 Message Date
Max Brunsfeld
b5f2ed83fe tags: Implement select-adjacent! predicate 2020-03-13 13:02:56 -07:00
Max Brunsfeld
6e2df06dc2 Start proving out tags support for JavaScript 2020-03-12 16:33:52 -07:00
Patrick Thomson
4dfebbe52d some whitespace and comments 2020-03-10 20:46:55 -04:00
Patrick Thomson
d798bd6bd9 Slice out the line associated with a tag. 2020-03-10 20:39:04 -04:00
Max Brunsfeld
4996cbe830 cli: Move more of the tags code from main into the tags module 2020-03-10 16:52:10 -07:00
Max Brunsfeld
d3ab651bd5 tags: Add a few comments 2020-03-10 14:34:52 -07:00
Max Brunsfeld
17cc38678c Get generate_tags with the new iterator API 2020-03-10 12:05:09 -07:00
Max Brunsfeld
0eb162c685 wip: converting generate_tags to return an iterator 2020-03-10 11:45:31 -07:00
Max Brunsfeld
157258d881 tags: Implement strip regex for docs processing
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-03-10 10:43:23 -07:00
Max Brunsfeld
3c79a10c85 Use a hash map to dedup tags
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-03-10 09:43:01 -07:00
Patrick Thomson
dd18107314 WIP 2020-03-10 12:30:32 -04:00
Patrick Thomson
5d8e288b36 Keep track of the last-matched kind to simulate alternating choice. 2020-03-06 17:57:24 -05:00
Patrick Thomson
8546a71c31 Implement class and call tagging. 2020-03-06 16:48:15 -05:00
Max Brunsfeld
680a9e0531 wip 2020-03-06 13:24:03 -08:00
Max Brunsfeld
a3f0087b11 Start work on tagging unit test
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-03-05 13:04:49 -08:00
Patrick Thomson
38a9f33d9e Simplify Serialize implementation for TagKind. 2020-03-05 09:57:57 -05:00
Max Brunsfeld
feac368a30 Start work on new tree-sitter-tags crate
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-03-04 14:27:31 -08:00