Class: TreeSitterLanguagePack::ProcessConfig
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::ProcessConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#chunk_max_size ⇒ Integer?
Returns the value of attribute chunk_max_size.
-
#comments ⇒ Boolean?
Returns the value of attribute comments.
-
#data_extraction ⇒ Boolean?
Returns the value of attribute data_extraction.
-
#diagnostics ⇒ Boolean?
Returns the value of attribute diagnostics.
-
#docstrings ⇒ Boolean?
Returns the value of attribute docstrings.
-
#exports ⇒ Boolean?
Returns the value of attribute exports.
-
#imports ⇒ Boolean?
Returns the value of attribute imports.
-
#language ⇒ String?
Returns the value of attribute language.
-
#structure ⇒ Boolean?
Returns the value of attribute structure.
-
#symbols ⇒ Boolean?
Returns the value of attribute symbols.
Class Method Summary collapse
Instance Method Summary collapse
- #all ⇒ ProcessConfig
-
#initialize ⇒ ProcessConfig
constructor
A new instance of ProcessConfig.
- #minimal ⇒ ProcessConfig
- #with_chunking ⇒ ProcessConfig
- #with_data_extraction ⇒ ProcessConfig
Constructor Details
#initialize ⇒ ProcessConfig
Returns a new instance of ProcessConfig.
253 |
# File 'sig/types.rbs', line 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
|
Instance Attribute Details
#chunk_max_size ⇒ Integer?
Returns the value of attribute chunk_max_size.
250 251 252 |
# File 'sig/types.rbs', line 250 def chunk_max_size @chunk_max_size end |
#comments ⇒ Boolean?
Returns the value of attribute comments.
246 247 248 |
# File 'sig/types.rbs', line 246 def comments @comments end |
#data_extraction ⇒ Boolean?
Returns the value of attribute data_extraction.
251 252 253 |
# File 'sig/types.rbs', line 251 def data_extraction @data_extraction end |
#diagnostics ⇒ Boolean?
Returns the value of attribute diagnostics.
249 250 251 |
# File 'sig/types.rbs', line 249 def diagnostics @diagnostics end |
#docstrings ⇒ Boolean?
Returns the value of attribute docstrings.
247 248 249 |
# File 'sig/types.rbs', line 247 def docstrings @docstrings end |
#exports ⇒ Boolean?
Returns the value of attribute exports.
245 246 247 |
# File 'sig/types.rbs', line 245 def exports @exports end |
#imports ⇒ Boolean?
Returns the value of attribute imports.
244 245 246 |
# File 'sig/types.rbs', line 244 def imports @imports end |
#language ⇒ String?
Returns the value of attribute language.
242 243 244 |
# File 'sig/types.rbs', line 242 def language @language end |
#structure ⇒ Boolean?
Returns the value of attribute structure.
243 244 245 |
# File 'sig/types.rbs', line 243 def structure @structure end |
#symbols ⇒ Boolean?
Returns the value of attribute symbols.
248 249 250 |
# File 'sig/types.rbs', line 248 def symbols @symbols end |
Class Method Details
Instance Method Details
#with_chunking ⇒ ProcessConfig
254 |
# File 'sig/types.rbs', line 254
def with_chunking: (Integer max_size) -> ProcessConfig
|
#with_data_extraction ⇒ ProcessConfig
257 |
# File 'sig/types.rbs', line 257
def with_data_extraction: (bool enabled) -> ProcessConfig
|