tree-sitter-python
Advanced tools
Comparing version 0.13.6 to 0.14.0
@@ -166,2 +166,8 @@ const PREC = { | ||
named_expression: $ => seq( | ||
$.identifier, | ||
':=', | ||
$._expression | ||
), | ||
return_statement: $ => seq( | ||
@@ -444,3 +450,4 @@ 'return', | ||
$._primary_expression, | ||
$.conditional_expression | ||
$.conditional_expression, | ||
$.named_expression | ||
), | ||
@@ -447,0 +454,0 @@ |
{ | ||
"name": "tree-sitter-python", | ||
"version": "0.13.6", | ||
"version": "0.14.0", | ||
"description": "Python grammar for tree-sitter", | ||
@@ -16,3 +16,4 @@ "main": "index.js", | ||
"devDependencies": { | ||
"tree-sitter-cli": "^0.13.2" | ||
"tree-sitter-cli": "^0.14.5", | ||
"tree-sitter-highlight-schema": "^0.1.1" | ||
}, | ||
@@ -24,3 +25,12 @@ "scripts": { | ||
}, | ||
"repository": "https://github.com/tree-sitter/tree-sitter-python" | ||
"repository": "https://github.com/tree-sitter/tree-sitter-python", | ||
"tree-sitter": [ | ||
{ | ||
"scope": "source.python", | ||
"highlights": "src/highlights.json", | ||
"file-types": [ | ||
"py" | ||
] | ||
} | ||
] | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
2914866
16
15445
2
2