@willbooster/tree-sitter-python 4.0.0 → 4.1.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 +2 -2
- package/package.json +1 -1
- package/src/node-types.json +10 -10
- package/tree-sitter-python.wasm +0 -0
- package/tree-sitter.json +1 -1
package/grammar.js
CHANGED
|
@@ -740,7 +740,7 @@ module.exports = grammar({
|
|
|
740
740
|
prec.left(
|
|
741
741
|
PREC.compare,
|
|
742
742
|
seq(
|
|
743
|
-
$.primary_expression,
|
|
743
|
+
field('operands', $.primary_expression),
|
|
744
744
|
repeat1(
|
|
745
745
|
seq(
|
|
746
746
|
field(
|
|
@@ -759,7 +759,7 @@ module.exports = grammar({
|
|
|
759
759
|
alias($._is_not, 'is not')
|
|
760
760
|
)
|
|
761
761
|
),
|
|
762
|
-
$.primary_expression
|
|
762
|
+
field('operands', $.primary_expression)
|
|
763
763
|
)
|
|
764
764
|
)
|
|
765
765
|
)
|
package/package.json
CHANGED
package/src/node-types.json
CHANGED
|
@@ -1081,6 +1081,16 @@
|
|
|
1081
1081
|
"type": "comparison_operator",
|
|
1082
1082
|
"named": true,
|
|
1083
1083
|
"fields": {
|
|
1084
|
+
"operands": {
|
|
1085
|
+
"multiple": true,
|
|
1086
|
+
"required": true,
|
|
1087
|
+
"types": [
|
|
1088
|
+
{
|
|
1089
|
+
"type": "primary_expression",
|
|
1090
|
+
"named": true
|
|
1091
|
+
}
|
|
1092
|
+
]
|
|
1093
|
+
},
|
|
1084
1094
|
"operators": {
|
|
1085
1095
|
"multiple": true,
|
|
1086
1096
|
"required": true,
|
|
@@ -1131,16 +1141,6 @@
|
|
|
1131
1141
|
}
|
|
1132
1142
|
]
|
|
1133
1143
|
}
|
|
1134
|
-
},
|
|
1135
|
-
"children": {
|
|
1136
|
-
"multiple": true,
|
|
1137
|
-
"required": true,
|
|
1138
|
-
"types": [
|
|
1139
|
-
{
|
|
1140
|
-
"type": "primary_expression",
|
|
1141
|
-
"named": true
|
|
1142
|
-
}
|
|
1143
|
-
]
|
|
1144
1144
|
}
|
|
1145
1145
|
},
|
|
1146
1146
|
{
|
package/tree-sitter-python.wasm
CHANGED
|
Binary file
|