Closed helixbass closed 3 months ago
I'm going to assume you're using the node version of tree-sitter to generate - can you use the Rust crate on master? (notice the small changes made to parser.h, that's bad)
Ok re-ran tree-sitter generate
using a locally built version of tree-sitter
cli/
with its current master
, I see the changes to parser.h went away
Hi @helixbass, I cherry picked your changes onto #291, thank you!
This PR adds field names to the existing
nested_identifier
rule (which gets used for dotted JSX element names eg<Foo.Bar />
) so that when it gets aliased to$.member_expression
it has the same field names as a "normal"member_expression
(ieobject
andproperty
)This seems desirable to me so that one can treat it as an "invariant" that when you see a
member_expression
node it definitely hasobject
andproperty
fieldsChecklist:
Successfully parsed 2615 of 2616 example files (100.0%)
)