Max Brunsfeld
bdd3f20522
Add PropertySheet::map method
2018-12-13 16:30:40 -08:00
Max Brunsfeld
4a361fbb3f
Implement Copy for Node
2018-12-13 10:08:50 -08:00
Max Brunsfeld
494329c93b
Add Parser.set_included_ranges and Node.range
2018-12-13 10:08:25 -08:00
Max Brunsfeld
85347541f1
Allow PropertySheet selectors to match the root node
...
Co-Authored-By: Timothy Clem <timothy.clem@gmail.com>
2018-12-11 17:30:12 -08:00
Max Brunsfeld
b0a7c854a4
Avoid redundant regex complication when instantiating PropertySheets
2018-12-10 14:57:46 -08:00
Max Brunsfeld
fbb220f193
Add test for regexes in property sheets
2018-12-03 10:43:58 -08:00
Max Brunsfeld
11610e1df6
Eliminate deserializer lifetime on PropertySheet
...
The PropertySheet is intended to be a long-lived object, whereas its
JSON source is not needed once the property sheet is instantiated.
Co-Authored-By: Timothy Clem <timothy.clem@gmail.com>
2018-11-29 20:59:47 -08:00
Max Brunsfeld
c9ce314695
Make PropertySheet generic on the properties type
...
Co-Authored-By: Timothy Clem <timothy.clem@gmail.com>
2018-11-29 16:21:01 -08:00
Max Brunsfeld
d5b53cde7d
Respect the :text pseudo-class in TreePropertyCursor
...
Co-Authored-By: Timothy Clem <timothy.clem@gmail.com>
2018-11-28 17:26:48 -08:00
Max Brunsfeld
a741265ead
Replace all u32s in the API with usizes
...
Co-Authored-By: Timothy Clem <timothy.clem@gmail.com>
2018-11-28 17:26:16 -08:00
Max Brunsfeld
db360b73fb
Add Tree.walk_with_properties
2018-10-13 14:27:17 -07:00
Max Brunsfeld
a8cbde6dbf
Run rustfmt on lib.rs
2018-10-09 08:23:02 -07:00
Max Brunsfeld
91d35dec7d
Add Parser.parser_utf8_io() method
2018-10-08 22:33:43 -07:00
Max Brunsfeld
572e8c202e
Implement Send for Parser
2018-10-08 22:33:11 -07:00
Max Brunsfeld
0c2e1c189b
Implement Clone for Language
2018-10-08 22:32:58 -07:00
Max Brunsfeld
c8125ec617
Make Language send + sync, add language methods
2018-10-08 11:45:57 -07:00
Max Brunsfeld
c477e45fcc
Update to the latest Tree-sitter
2018-07-20 13:33:17 -07:00
Max Brunsfeld
5efc28f2f3
Update to latest tree-sitter API
2018-06-19 16:19:37 -07:00
Max Brunsfeld
45660e7b4e
Make syntax trees implement Send
2018-05-18 15:02:22 -07:00
Max Brunsfeld
4da669ce8d
Fix bugs in editing/reparsing
2018-05-18 14:28:15 -07:00
Max Brunsfeld
819b140701
Make set_logger take a boxed function
2018-05-18 14:06:49 -07:00
Max Brunsfeld
870dc11f79
Implement Eq and Debug for Node
2018-05-18 11:15:37 -07:00
Max Brunsfeld
4603542747
Add more public methods and tests
2018-05-18 10:55:20 -07:00
Max Brunsfeld
08217fff8d
Get basic parsing working, add some unit tests
2018-05-17 17:16:35 -07:00
Max Brunsfeld
6e4115548c
Initial commit
2018-05-17 14:30:03 -07:00