@willbooster/tree-sitter-c-sharp 14.0.1 → 14.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 CHANGED
@@ -718,6 +718,7 @@ module.exports = grammar({
718
718
  'struct',
719
719
  'notnull',
720
720
  'unmanaged',
721
+ seq('allows', 'ref', 'struct'),
721
722
  $.constructor_constraint,
722
723
  field('type', $.type)
723
724
  ),
@@ -3428,6 +3429,7 @@ function reservedIdentifiers() {
3428
3429
  return [
3429
3430
  prec(-1, '_'),
3430
3431
  'alias',
3432
+ 'allows',
3431
3433
  'async',
3432
3434
  'ascending',
3433
3435
  'by',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-c-sharp",
3
- "version": "14.0.1",
3
+ "version": "14.1.0",
4
4
  "description": "C# grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -124,6 +124,8 @@
124
124
 
125
125
  ;; Keywords
126
126
 
127
+ (type_parameter_constraint "allows" @keyword)
128
+
127
129
  [
128
130
  (modifier)
129
131
  "this"
@@ -8560,6 +8560,10 @@
8560
8560
  "type": "alias",
8561
8561
  "named": false
8562
8562
  },
8563
+ {
8564
+ "type": "allows",
8565
+ "named": false
8566
+ },
8563
8567
  {
8564
8568
  "type": "and",
8565
8569
  "named": false
Binary file
package/tree-sitter.json CHANGED
@@ -30,7 +30,7 @@
30
30
  }
31
31
  ],
32
32
  "metadata": {
33
- "version": "14.0.1",
33
+ "version": "14.1.0",
34
34
  "license": "MIT",
35
35
  "description": "C# grammar for tree-sitter",
36
36
  "authors": [