Class: Xberg::TreeSitterConfig
- Inherits:
-
Object
- Object
- Xberg::TreeSitterConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#cache_dir ⇒ String?
Returns the value of attribute cache_dir.
-
#enabled ⇒ Boolean?
Returns the value of attribute enabled.
-
#groups ⇒ Array[String]?
Returns the value of attribute groups.
-
#languages ⇒ Array[String]?
Returns the value of attribute languages.
-
#process ⇒ TreeSitterProcessConfig?
Returns the value of attribute process.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ TreeSitterConfig
constructor
A new instance of TreeSitterConfig.
Constructor Details
#initialize ⇒ TreeSitterConfig
Returns a new instance of TreeSitterConfig.
535 |
# File 'sig/types.rbs', line 535
def initialize: (?enabled: bool, ?cache_dir: String, ?languages: Array[String], ?groups: Array[String], ?process: TreeSitterProcessConfig) -> void
|
Instance Attribute Details
#cache_dir ⇒ String?
Returns the value of attribute cache_dir.
530 531 532 |
# File 'sig/types.rbs', line 530 def cache_dir @cache_dir end |
#enabled ⇒ Boolean?
Returns the value of attribute enabled.
529 530 531 |
# File 'sig/types.rbs', line 529 def enabled @enabled end |
#groups ⇒ Array[String]?
Returns the value of attribute groups.
532 533 534 |
# File 'sig/types.rbs', line 532 def groups @groups end |
#languages ⇒ Array[String]?
Returns the value of attribute languages.
531 532 533 |
# File 'sig/types.rbs', line 531 def languages @languages end |
#process ⇒ TreeSitterProcessConfig?
Returns the value of attribute process.
533 534 535 |
# File 'sig/types.rbs', line 533 def process @process end |
Class Method Details
.default ⇒ TreeSitterConfig
536 |
# File 'sig/types.rbs', line 536
def self.default: () -> TreeSitterConfig
|