Class: TreeSitterLanguagePack::ChunkContext
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::ChunkContext
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#chunk_index ⇒ Integer?
Returns the value of attribute chunk_index.
-
#comments ⇒ Array[CommentInfo]?
Returns the value of attribute comments.
-
#context_path ⇒ Array[String]?
Returns the value of attribute context_path.
-
#docstrings ⇒ Array[DocstringInfo]?
Returns the value of attribute docstrings.
-
#has_error_nodes ⇒ Boolean?
Returns the value of attribute has_error_nodes.
-
#language ⇒ String?
Returns the value of attribute language.
-
#node_types ⇒ Array[String]?
Returns the value of attribute node_types.
-
#symbols_defined ⇒ Array[String]?
Returns the value of attribute symbols_defined.
-
#total_chunks ⇒ Integer?
Returns the value of attribute total_chunks.
Instance Method Summary collapse
-
#initialize ⇒ ChunkContext
constructor
A new instance of ChunkContext.
Constructor Details
#initialize ⇒ ChunkContext
Returns a new instance of ChunkContext.
170 |
# File 'sig/types.rbs', line 170
def initialize: (?language: String, ?chunk_index: Integer, ?total_chunks: Integer, ?node_types: Array[String], ?context_path: Array[String], ?symbols_defined: Array[String], ?comments: Array[CommentInfo], ?docstrings: Array[DocstringInfo], ?has_error_nodes: bool) -> void
|
Instance Attribute Details
#chunk_index ⇒ Integer?
Returns the value of attribute chunk_index.
161 162 163 |
# File 'sig/types.rbs', line 161 def chunk_index @chunk_index end |
#comments ⇒ Array[CommentInfo]?
Returns the value of attribute comments.
166 167 168 |
# File 'sig/types.rbs', line 166 def comments @comments end |
#context_path ⇒ Array[String]?
Returns the value of attribute context_path.
164 165 166 |
# File 'sig/types.rbs', line 164 def context_path @context_path end |
#docstrings ⇒ Array[DocstringInfo]?
Returns the value of attribute docstrings.
167 168 169 |
# File 'sig/types.rbs', line 167 def docstrings @docstrings end |
#has_error_nodes ⇒ Boolean?
Returns the value of attribute has_error_nodes.
168 169 170 |
# File 'sig/types.rbs', line 168 def has_error_nodes @has_error_nodes end |
#language ⇒ String?
Returns the value of attribute language.
160 161 162 |
# File 'sig/types.rbs', line 160 def language @language end |
#node_types ⇒ Array[String]?
Returns the value of attribute node_types.
163 164 165 |
# File 'sig/types.rbs', line 163 def node_types @node_types end |
#symbols_defined ⇒ Array[String]?
Returns the value of attribute symbols_defined.
165 166 167 |
# File 'sig/types.rbs', line 165 def symbols_defined @symbols_defined end |
#total_chunks ⇒ Integer?
Returns the value of attribute total_chunks.
162 163 164 |
# File 'sig/types.rbs', line 162 def total_chunks @total_chunks end |