@willbooster/tree-sitter-cpp 6.0.1 → 6.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-cpp",
3
- "version": "6.0.1",
3
+ "version": "6.0.3",
4
4
  "description": "C++ grammar for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
@@ -45,7 +45,7 @@
45
45
  "@vitest/browser-playwright": "5.0.3",
46
46
  "@willbooster/oxfmt-config": "1.2.2",
47
47
  "@willbooster/oxlint-config": "1.4.8",
48
- "@willbooster/tree-sitter-c": "6.0.0",
48
+ "@willbooster/tree-sitter-c": "7.0.1",
49
49
  "@willbooster/wb": "22.26.1",
50
50
  "@willbooster/web-tree-sitter": "7.0.5",
51
51
  "conventional-changelog-conventionalcommits": "10.4.1",
@@ -80,7 +80,10 @@
80
80
  (conditional_expression
81
81
  ["?" ":"] @operator)
82
82
 
83
- "." @delimiter
83
+ (field_expression
84
+ operator: "." @operator)
85
+
86
+ (field_designator "." @delimiter)
84
87
  ";" @delimiter
85
88
 
86
89
  (string_literal) @string
@@ -22,6 +22,8 @@
22
22
  (function_declarator
23
23
  declarator: (field_identifier) @function)
24
24
 
25
+ (operator_argument "." @operator)
26
+
25
27
  ; Types
26
28
 
27
29
  ((namespace_identifier) @type
@@ -38,6 +40,8 @@
38
40
  (module_name
39
41
  (identifier) @module)
40
42
 
43
+ (module_name "." @delimiter)
44
+
41
45
  ; Keywords
42
46
 
43
47
  [
Binary file
package/tree-sitter.json CHANGED
@@ -24,7 +24,7 @@
24
24
  }
25
25
  ],
26
26
  "metadata": {
27
- "version": "6.0.1",
27
+ "version": "6.0.3",
28
28
  "license": "MIT",
29
29
  "description": "C++ grammar for tree-sitter",
30
30
  "authors": [