tree_sitter_language_pack 1.9.0.pre.rc.38-x86_64-linux → 1.9.0.pre.rc.39-x86_64-linux

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: 373db5cac110f473ead474eeb1c747c6582fddb4c5b00b8ea1e8b68bd5051b80
4
- data.tar.gz: 1188af5a0ef03fbf71d8ef395fc761022af7fb2d472d5586c700183b7a86a9fb
3
+ metadata.gz: 1a42000d8f673ee08bba922aaa4bb27e5f21b9f55e29ceaad59e4d5baaf96ecb
4
+ data.tar.gz: 440196993ec95023b60067035423b716dc6f51022fd1cc70d71ab4e464900372
5
5
  SHA512:
6
- metadata.gz: 424e570c7b56838de32fc1d9cfbcc8d6673b07e481619de1b8c219cb7dc6e526532a251cc2e6b5b2beb439ef9204c23e3290ea45a385caef0dd6b4e243317e85
7
- data.tar.gz: 4367f7d341e622a3054e0317367363c0af702baf58da969985475d1207f0be4a2a43a9405afff55d03c649275f040579d46b0cec6c26bd15af008dd56c3e32c6
6
+ metadata.gz: c3e6fbccf52ed5ed8d2f70918ed7e3be3af73bd1cbe0c25fe8486e0c1e005a7a303fb2b8a228ea4d41a4d437a171650f266abc8c074c2d92652b5f0751902bf1
7
+ data.tar.gz: b7d0b82abc3f718ca0e26767c34bf6751c68a3bce2437c7f8892f29acde8211d23ba6ab78f175ea463316cfd2e7ee657125b2aafce58955d71d81889154be542
@@ -1,5 +1,5 @@
1
1
  # This file is auto-generated by alef — DO NOT EDIT.
2
- # alef:hash:5c3eac2ef7892df9942263b2ef22bbce08c4729cfb235dcd7f37f968755d1b10
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:af8fbb2b58d7d13bf4f1cf1965e5b0296b4767fb76d55cad9ec48420f80f2ff8
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.38"
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:5c3eac2ef7892df9942263b2ef22bbce08c4729cfb235dcd7f37f968755d1b10
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
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:5c3eac2ef7892df9942263b2ef22bbce08c4729cfb235dcd7f37f968755d1b10
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tree_sitter_language_pack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0.pre.rc.38
4
+ version: 1.9.0.pre.rc.39
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Kreuzberg Team