@willbooster/tree-sitter-python 22.0.1 → 23.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/grammar.js +3 -2
- package/package.json +1 -1
- package/tree-sitter-python.wasm +0 -0
- package/tree-sitter.json +1 -1
package/grammar.js
CHANGED
|
@@ -31,7 +31,8 @@ const PREC = {
|
|
|
31
31
|
times: 19,
|
|
32
32
|
unary: 20,
|
|
33
33
|
power: 21,
|
|
34
|
-
|
|
34
|
+
await: 22,
|
|
35
|
+
call: 23,
|
|
35
36
|
};
|
|
36
37
|
|
|
37
38
|
const SEMICOLON = ';';
|
|
@@ -1016,7 +1017,7 @@ module.exports = grammar({
|
|
|
1016
1017
|
false: () => 'False',
|
|
1017
1018
|
none: () => 'None',
|
|
1018
1019
|
|
|
1019
|
-
await: ($) => prec(PREC.
|
|
1020
|
+
await: ($) => prec(PREC.await, seq('await', $.primary_expression)),
|
|
1020
1021
|
|
|
1021
1022
|
comment: () => token(seq('#', /[^\r\n]*/)),
|
|
1022
1023
|
|
package/package.json
CHANGED
package/tree-sitter-python.wasm
CHANGED
|
Binary file
|