@willbooster/tree-sitter-c-sharp 8.0.2 → 8.0.4

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/README.md CHANGED
@@ -41,7 +41,7 @@ The contextual type names `nint` and `nuint` use `identifier` nodes.
41
41
 
42
42
  The npm package ships `tree-sitter-c_sharp.wasm` for
43
43
  [@willbooster/web-tree-sitter](https://www.npmjs.com/package/@willbooster/web-tree-sitter), which runs in Node.js, Bun,
44
- browsers, and Cloudflare Workers. The parser uses WillBooster ABI 6 and loads only with that runtime. Use version 7.0.18 or later within major version 7; upstream's runtime rejects it. Install the runtime alongside the grammar when using
44
+ browsers, and Cloudflare Workers. The parser uses WillBooster ABI 6 and loads only with that runtime. Use version 7.0.20 or later within major version 7; upstream's runtime rejects it. Install the runtime alongside the grammar when using
45
45
  the Wasm parser; it remains an optional peer for consumers that only use the grammar source or queries.
46
46
 
47
47
  In Node.js and Bun, load it from the package:
@@ -89,11 +89,11 @@ Their external tokens and serialized scanner state must match.
89
89
 
90
90
  In Rust, depend on the [crate](https://crates.io/crates/willbooster-tree-sitter-c-sharp) and on
91
91
  [willbooster-tree-sitter](https://crates.io/crates/willbooster-tree-sitter), the runtime this package is tested and
92
- fuzzed with. Use runtime 7.0.18 or later within major version 7:
92
+ fuzzed with. Use runtime 7.0.20 or later within major version 7:
93
93
 
94
94
  ```toml
95
95
  [dependencies]
96
- tree-sitter = { package = "willbooster-tree-sitter", version = "7.0.18" }
96
+ tree-sitter = { package = "willbooster-tree-sitter", version = "7.0.20" }
97
97
  tree-sitter-c-sharp = { package = "willbooster-tree-sitter-c-sharp", version = "8" }
98
98
  ```
99
99
 
package/grammar.js CHANGED
@@ -287,6 +287,7 @@ module.exports = grammar({
287
287
  sym('_block_end'),
288
288
  sym('_ampersand_operator'),
289
289
  sym('_interpolation_format_colon'),
290
+ sym('_pragma_boundary'),
290
291
  sym('_pragma_text'),
291
292
  ],
292
293
 
@@ -2450,6 +2451,7 @@ module.exports = grammar({
2450
2451
  preproc_pragma: ($) =>
2451
2452
  seq(
2452
2453
  preprocessor('pragma'),
2454
+ sym('_pragma_boundary'),
2453
2455
  optional(
2454
2456
  choice(
2455
2457
  seq('warning', choice('disable', 'restore'), commaSep(choice($.identifier, $.integer_literal))),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-c-sharp",
3
- "version": "8.0.2",
3
+ "version": "8.0.4",
4
4
  "description": "C# grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -48,7 +48,7 @@
48
48
  "@willbooster/oxfmt-config": "1.2.2",
49
49
  "@willbooster/oxlint-config": "1.4.8",
50
50
  "@willbooster/wb": "22.26.1",
51
- "@willbooster/web-tree-sitter": "7.0.18",
51
+ "@willbooster/web-tree-sitter": "7.0.20",
52
52
  "conventional-changelog-conventionalcommits": "10.4.1",
53
53
  "lefthook": "2.2.1",
54
54
  "oxfmt": "0.72.0",
@@ -62,7 +62,7 @@
62
62
  "wrangler": "4.149.0"
63
63
  },
64
64
  "peerDependencies": {
65
- "@willbooster/web-tree-sitter": "^7.0.18"
65
+ "@willbooster/web-tree-sitter": "^7.0.20"
66
66
  },
67
67
  "peerDependenciesMeta": {
68
68
  "@willbooster/web-tree-sitter": {
Binary file
package/tree-sitter.json CHANGED
@@ -29,7 +29,7 @@
29
29
  }
30
30
  ],
31
31
  "metadata": {
32
- "version": "8.0.2",
32
+ "version": "8.0.4",
33
33
  "license": "MIT",
34
34
  "description": "C# grammar for tree-sitter",
35
35
  "authors": [