tree-sitter / tree-sitter-c-sharp

C# Grammar for tree-sitter
MIT License
177 stars 47 forks source link

Extract string literal contents and encoding #295

Closed hvitved closed 1 year ago

hvitved commented 1 year ago

The string_literal_fragment rule was previously hidden, which means that we cannot access the actual contents of string literals. This PR changes that, and also gives access to the optional UTF8 encoding marker.

hvitved commented 1 year ago

@damieng : Thanks for the review. OK to merge?

damieng commented 1 year ago

Thanks @hvitved !