parse use bounds (precise capture syntax)#252
parse use bounds (precise capture syntax)#252maxbrunsfeld merged 2 commits intotree-sitter:masterfrom
Conversation
489d164 to
db24a34
Compare
|
i realized that my first attempt didn't properly parse empty theoretically speaking this syntax also allows const generic parameters, but i couldn't find a way to disambiguate between these two, so i just left those to be parsed as type_parameter. |
|
one (hopefully) last quick comment: the reference calls this both |
|
I agree with you that |
db24a34 to
865f01c
Compare
|
changed the name to |
865f01c to
00b6772
Compare
8d0d859 to
d571acb
Compare
|
rebased on master again and fixed one of the tests that i added here cause that used a type parameter |
currently tree-sitter-rust says that the
usecapture bound is ageneric_typetype_identifier, but after this it is ause_boundsuse.announced here, documented here and specified here and here.