Closed chenfanfang closed 2 years ago
SwiftTreeSitter is text system-independent. This means that it does not have a way to get the text contents directly. You must connect it to the system you are using. If you have, for example, a Node value, you can access its range
within your text. But, it is up to you to use that range to get the content.
I hope this is helpful!
I see, thank you
help me please. can you tell me how to get text with range? thanks!