tree_sitter_language_pack 1.9.0.pre.rc.38-arm64-darwin → 1.9.0.pre.rc.39-arm64-darwin
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4bceef738dfaea3752e8e115f5c77a3a493d38c9b57d3eb7e7b93900acbe7e1f
|
|
4
|
+
data.tar.gz: acba0c22f0da93e7f349fd2cd6e71b4bf8854abd542bf33b2abe366b445ef8ba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d26c254f9686ba1f45d90f7462ddd655da4bb006375b3231cc0a0c9fbc8009b7d2dd083f0604d99d1b52ca63f990de58b1592cf074a4463771edac8da554ce8b
|
|
7
|
+
data.tar.gz: 5b3d45c8f26c3e939b9f06036ec7ff5222c7e9b7850ced2ffeb7de9054546d58578778c8fc133effe1173417a2804208fe348a02a64fba8c3c7e179fae5a413e
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:966b101e2b4cacb4cb93c43f34e30e8bab6e2478b171704ec0a66561b9335a89
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify --exit-code
|
|
5
5
|
# frozen_string_literal: true
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:966b101e2b4cacb4cb93c43f34e30e8bab6e2478b171704ec0a66561b9335a89
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify --exit-code
|
|
5
5
|
# frozen_string_literal: true
|
|
6
6
|
|
|
7
7
|
module TreeSitterLanguagePack
|
|
8
8
|
## The version string for this package.
|
|
9
|
-
VERSION = "1.9.0.pre.rc.
|
|
9
|
+
VERSION = "1.9.0.pre.rc.39"
|
|
10
10
|
end
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:966b101e2b4cacb4cb93c43f34e30e8bab6e2478b171704ec0a66561b9335a89
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify --exit-code
|
|
5
5
|
# frozen_string_literal: true
|
data/lib/ts_pack_core_rb.bundle
CHANGED
|
Binary file
|
data/sig/types.rbs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:966b101e2b4cacb4cb93c43f34e30e8bab6e2478b171704ec0a66561b9335a89
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify --exit-code
|
|
5
5
|
|
|
@@ -9,6 +9,25 @@ module TreeSitterLanguagePack
|
|
|
9
9
|
|
|
10
10
|
type json_value = Hash[String, untyped] | Array[untyped] | String | Integer | Float | bool | nil
|
|
11
11
|
|
|
12
|
+
class DataAttribute
|
|
13
|
+
attr_accessor name: String?
|
|
14
|
+
attr_accessor value: String?
|
|
15
|
+
attr_accessor span: Span?
|
|
16
|
+
|
|
17
|
+
def initialize: (?name: String, ?value: String, ?span: Span) -> void
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
class DataNode
|
|
21
|
+
attr_accessor kind: DataNodeKind?
|
|
22
|
+
attr_accessor key: String?
|
|
23
|
+
attr_accessor value: String?
|
|
24
|
+
attr_accessor attributes: Array[DataAttribute]?
|
|
25
|
+
attr_accessor children: Array[DataNode]?
|
|
26
|
+
attr_accessor span: Span?
|
|
27
|
+
|
|
28
|
+
def initialize: (?kind: DataNodeKind, ?key: String, ?value: String, ?attributes: Array[DataAttribute], ?children: Array[DataNode], ?span: Span) -> void
|
|
29
|
+
end
|
|
30
|
+
|
|
12
31
|
class Span
|
|
13
32
|
attr_accessor start_byte: Integer?
|
|
14
33
|
attr_accessor end_byte: Integer?
|
|
@@ -31,8 +50,9 @@ module TreeSitterLanguagePack
|
|
|
31
50
|
attr_accessor symbols: Array[SymbolInfo]?
|
|
32
51
|
attr_accessor diagnostics: Array[Diagnostic]?
|
|
33
52
|
attr_accessor chunks: Array[CodeChunk]?
|
|
53
|
+
attr_accessor data: DataNode?
|
|
34
54
|
|
|
35
|
-
def initialize: (?language: String, ?metrics: FileMetrics, ?structure: Array[StructureItem], ?imports: Array[ImportInfo], ?exports: Array[ExportInfo], ?comments: Array[CommentInfo], ?docstrings: Array[DocstringInfo], ?symbols: Array[SymbolInfo], ?diagnostics: Array[Diagnostic], ?chunks: Array[CodeChunk]) -> void
|
|
55
|
+
def initialize: (?language: String, ?metrics: FileMetrics, ?structure: Array[StructureItem], ?imports: Array[ImportInfo], ?exports: Array[ExportInfo], ?comments: Array[CommentInfo], ?docstrings: Array[DocstringInfo], ?symbols: Array[SymbolInfo], ?diagnostics: Array[Diagnostic], ?chunks: Array[CodeChunk], ?data: DataNode) -> void
|
|
36
56
|
end
|
|
37
57
|
|
|
38
58
|
class FileMetrics
|
|
@@ -228,11 +248,13 @@ module TreeSitterLanguagePack
|
|
|
228
248
|
attr_accessor symbols: bool?
|
|
229
249
|
attr_accessor diagnostics: bool?
|
|
230
250
|
attr_accessor chunk_max_size: Integer?
|
|
251
|
+
attr_accessor data_extraction: bool?
|
|
231
252
|
|
|
232
|
-
def initialize: (?language: String, ?structure: bool, ?imports: bool, ?exports: bool, ?comments: bool, ?docstrings: bool, ?symbols: bool, ?diagnostics: bool, ?chunk_max_size: Integer) -> void
|
|
253
|
+
def initialize: (?language: String, ?structure: bool, ?imports: bool, ?exports: bool, ?comments: bool, ?docstrings: bool, ?symbols: bool, ?diagnostics: bool, ?chunk_max_size: Integer, ?data_extraction: bool) -> void
|
|
233
254
|
def with_chunking: (Integer max_size) -> ProcessConfig
|
|
234
255
|
def all: () -> ProcessConfig
|
|
235
256
|
def minimal: () -> ProcessConfig
|
|
257
|
+
def with_data_extraction: (bool enabled) -> ProcessConfig
|
|
236
258
|
def self.default: () -> ProcessConfig
|
|
237
259
|
end
|
|
238
260
|
|
|
@@ -257,6 +279,10 @@ module TreeSitterLanguagePack
|
|
|
257
279
|
class Language
|
|
258
280
|
end
|
|
259
281
|
|
|
282
|
+
class DataNodeKind
|
|
283
|
+
type value = :key_value | :element | :sequence
|
|
284
|
+
end
|
|
285
|
+
|
|
260
286
|
class StructureKind
|
|
261
287
|
end
|
|
262
288
|
|