Update sentence about TSInput in docs

This commit is contained in:
Max Brunsfeld 2018-06-19 11:15:01 -07:00
parent 9b05142439
commit 196d7f1355

View file

@ -73,7 +73,7 @@ clang \
### Providing the text to parse
Text input is provided to a tree-sitter parser via a `TSInput` struct, which contains function pointers for seeking to positions in the text, and for reading chunks of text. The text can be encoded in either UTF8 or UTF16. This interface allows you to efficiently parse text that is stored in your own data structure.
Text input is provided to a tree-sitter parser via a `TSInput` struct, which specifies a function pointer for reading chunks of text. The text can be encoded in either UTF8 or UTF16. This interface allows you to efficiently parse text that is stored in your own data structure.
### Querying the syntax tree