tree-sitter-analyzer 1.4.1__py3-none-any.whl → 1.5.0__py3-none-any.whl

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.

Potentially problematic release.


This version of tree-sitter-analyzer might be problematic. Click here for more details.

@@ -52,7 +52,7 @@ def _normalize_path_cross_platform(path_str: str) -> str:
52
52
  from ctypes import wintypes
53
53
 
54
54
  # GetLongPathNameW function
55
- _GetLongPathNameW = ctypes.windll.kernel32.GetLongPathNameW
55
+ _GetLongPathNameW = ctypes.windll.kernel32.GetLongPathNameW # type: ignore[attr-defined]
56
56
  _GetLongPathNameW.argtypes = [
57
57
  wintypes.LPCWSTR,
58
58
  wintypes.LPWSTR,
@@ -67,6 +67,11 @@ class Function(CodeElement):
67
67
  complexity_score: int = 1
68
68
  is_abstract: bool = False
69
69
  is_final: bool = False
70
+ # JavaScript-specific fields
71
+ is_generator: bool = False
72
+ is_arrow: bool = False
73
+ is_method: bool = False
74
+ framework_type: str | None = None
70
75
 
71
76
 
72
77
  @dataclass(frozen=False)
@@ -90,6 +95,10 @@ class Class(CodeElement):
90
95
  implements_interfaces: list[str] = field(
91
96
  default_factory=list
92
97
  ) # Alias for interfaces
98
+ # JavaScript-specific fields
99
+ is_react_component: bool = False
100
+ framework_type: str | None = None
101
+ is_exported: bool = False
93
102
 
94
103
 
95
104
  @dataclass(frozen=False)