We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v0.21.0
I'm using tree sitter with rust and I noticed that the DEBUG logging is enabled
use tree_sitter::Parser; use tree_sitter_scala; use tree_sitter_typescript; fn main() { let mut parser = Parser::new(); parser .set_language(&tree_sitter_scala::language()) .expect("Error loading Rust grammar"); let source_code = "val a = 1L"; let tree = parser.parse(source_code, None).unwrap(); let root_node = tree.root_node(); println!("{}", root_node.to_sexp()); }
before Stack[top = 0; ] after Stack[top = 0; ] before Stack[top = 0; ] after Stack[top = 0; ] before Stack[top = 0; ] after Stack[top = 0; ] before Stack[top = 0; ] after Stack[top = 0; ] (compilation_unit (val_definition pattern: (identifier) value: (integer_literal)))
(compilation_unit (val_definition pattern: (identifier) value: (integer_literal)))
Rust project
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Commit of tree-sitter-scala you tested this on
v0.21.0
A code sample showing the error
I'm using tree sitter with rust and I noticed that the DEBUG logging is enabled
Show the error node
What do you expect the tree to look like
Where are you experiencing this error?
Rust project
The text was updated successfully, but these errors were encountered: