We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tree-sitter --version
tree-sitter 0.23.2
whitespaces after r#" and before SELECT are not included in string_content
r#"
SELECT
fn main() { let query = r#" SELECT * FROM users "#; }
(source_file ; [0, 0] - [5, 0] (function_item ; [0, 0] - [4, 1] name: (identifier) ; [0, 3] - [0, 7] parameters: (parameters) ; [0, 7] - [0, 9] body: (block ; [0, 10] - [4, 1] (let_declaration ; [1, 4] - [3, 7] pattern: (identifier) ; [1, 8] - [1, 13] value: (raw_string_literal ; [1, 16] - [3, 6] (string_content ; [2, 8] - [3, 4] (program ; [2, 8] - [3, 4] (statement ; [2, 8] - [2, 27] (select ; [2, 8] - [2, 16] (keyword_select) ; [2, 8] - [2, 14] (select_expression ; [2, 15] - [2, 16] (term ; [2, 15] - [2, 16] value: (all_fields)))) ; [2, 15] - [2, 16] (from ; [2, 17] - [2, 27] (keyword_from) ; [2, 17] - [2, 21] (relation ; [2, 22] - [2, 27] (object_reference ; [2, 22] - [2, 27] name: (identifier)))))))))))) ; [2, 22] - [2, 27]
(source_file ; [0, 0] - [5, 0] (function_item ; [0, 0] - [4, 1] name: (identifier) ; [0, 3] - [0, 7] parameters: (parameters) ; [0, 7] - [0, 9] body: (block ; [0, 10] - [4, 1] (let_declaration ; [1, 4] - [3, 7] pattern: (identifier) ; [1, 8] - [1, 13] value: (raw_string_literal ; [1, 16] - [3, 6] (string_content ; [1, 19] - [3, 4] (program ; [2, 8] - [3, 4] (statement ; [2, 8] - [2, 27] (select ; [2, 8] - [2, 16] (keyword_select) ; [2, 8] - [2, 14] (select_expression ; [2, 15] - [2, 16] (term ; [2, 15] - [2, 16] value: (all_fields)))) ; [2, 15] - [2, 16] (from ; [2, 17] - [2, 27] (keyword_from) ; [2, 17] - [2, 21] (relation ; [2, 22] - [2, 27] (object_reference ; [2, 22] - [2, 27] name: (identifier)))))))))))) ; [2, 22] - [2, 27]
different line is (string_content ; [1, 19] - [3, 4]
(string_content ; [1, 19] - [3, 4]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)tree-sitter 0.23.2
Describe the bug
whitespaces after
r#"
and beforeSELECT
are not included in string_contentSteps To Reproduce/Bad Parse Tree
Expected Behavior/Parse Tree
different line is
(string_content ; [1, 19] - [3, 4]
Repro
The text was updated successfully, but these errors were encountered: