@willbooster/tree-sitter-dart 5.0.0 → 6.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 CHANGED
@@ -1130,12 +1130,10 @@ module.exports = grammar({
1130
1130
  multiplicative_expression: ($) =>
1131
1131
  prec.left(
1132
1132
  PREC.MULTIPLICATIVE,
1133
- choice(
1134
- seq(
1135
- $._unary_expression,
1136
- repeat1(seq(choice("*", "/", "%", "~/"), $._unary_expression)),
1137
- ),
1138
- seq("super", repeat1(seq(choice("*", "/", "%", "~/"), $._unary_expression))),
1133
+ seq(
1134
+ choice($._unary_expression, $.multiplicative_expression, "super"),
1135
+ choice("*", "/", "%", "~/"),
1136
+ $._unary_expression,
1139
1137
  ),
1140
1138
  ),
1141
1139
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-dart",
3
- "version": "5.0.0",
3
+ "version": "6.0.0",
4
4
  "description": "Dart grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "dart",
@@ -50,7 +50,7 @@
50
50
  "@vitest/browser-playwright": "5.0.5",
51
51
  "@willbooster/oxlint-config": "1.4.9",
52
52
  "@willbooster/wb": "22.29.3",
53
- "@willbooster/web-tree-sitter": "14.0.2",
53
+ "@willbooster/web-tree-sitter": "14.0.4",
54
54
  "conventional-changelog-conventionalcommits": "10.4.1",
55
55
  "lefthook": "2.2.2",
56
56
  "oxlint": "1.88.0",
@@ -10782,6 +10782,10 @@
10782
10782
  "type": "member_expression",
10783
10783
  "named": true
10784
10784
  },
10785
+ {
10786
+ "type": "multiplicative_expression",
10787
+ "named": true
10788
+ },
10785
10789
  {
10786
10790
  "type": "null_assertion_expression",
10787
10791
  "named": true
Binary file
package/tree-sitter.json CHANGED
@@ -18,7 +18,7 @@
18
18
  }
19
19
  ],
20
20
  "metadata": {
21
- "version": "5.0.0",
21
+ "version": "6.0.0",
22
22
  "license": "MIT",
23
23
  "description": "Dart grammar for tree-sitter",
24
24
  "authors": [