tree-sitter
Advanced tools
Comparing version 0.15.0-1 to 0.15.0
{ | ||
"name": "tree-sitter", | ||
"version": "0.15.0-1", | ||
"version": "0.15.0", | ||
"description": "Incremental parsers for node", | ||
@@ -5,0 +5,0 @@ "author": "Max Brunsfeld", |
@@ -17,3 +17,3 @@ node tree-sitter | ||
First, you'll need a Tree-sitter grammar for the language you want to parse. There are many [existing grammars](https://github.com/tree-sitter) such as [tree-sitter-javascript](http://github.com/tree-sitter/tree-sitter-javascript) and [tree-sitter-go](http://github.com/tree-sitter/tree-sitter-go). You can also develop a new grammar using the [Tree-sitter CLI](http://github.com/tree-sitter/tree-sitter-cli). | ||
First, you'll need a Tree-sitter grammar for the language you want to parse. There are many [existing grammars](https://github.com/tree-sitter) such as [tree-sitter-javascript](http://github.com/tree-sitter/tree-sitter-javascript) and [tree-sitter-go](http://github.com/tree-sitter/tree-sitter-go). You can also develop a new grammar using the [Tree-sitter CLI](https://github.com/tree-sitter/tree-sitter/tree/master/cli). | ||
@@ -75,3 +75,3 @@ Once you've got your grammar, create a parser with that grammar. | ||
const newTree = parser.parse(newCode, tree); | ||
const newTree = parser.parse(newSourceCode, tree); | ||
``` | ||
@@ -78,0 +78,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2020311