Class: Xberg::TreeSitterConfig
- Inherits:
-
Object
- Object
- Xberg::TreeSitterConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#cache_dir ⇒ String?
readonly
Returns the value of attribute cache_dir.
-
#enabled ⇒ Boolean
readonly
Returns the value of attribute enabled.
-
#groups ⇒ Array[String]?
readonly
Returns the value of attribute groups.
-
#languages ⇒ Array[String]?
readonly
Returns the value of attribute languages.
-
#process ⇒ TreeSitterProcessConfig
readonly
Returns the value of attribute process.
Instance Method Summary collapse
-
#initialize ⇒ TreeSitterConfig
constructor
A new instance of TreeSitterConfig.
Constructor Details
#initialize ⇒ TreeSitterConfig
Returns a new instance of TreeSitterConfig.
2640 |
# File 'sig/types.rbs', line 2640
def initialize: (?enabled: bool, ?cache_dir: String, ?languages: Array[String], ?groups: Array[String], ?process: TreeSitterProcessConfig) -> void
|
Instance Attribute Details
#cache_dir ⇒ String? (readonly)
Returns the value of attribute cache_dir.
2635 2636 2637 |
# File 'sig/types.rbs', line 2635 def cache_dir @cache_dir end |
#enabled ⇒ Boolean (readonly)
Returns the value of attribute enabled.
2634 2635 2636 |
# File 'sig/types.rbs', line 2634 def enabled @enabled end |
#groups ⇒ Array[String]? (readonly)
Returns the value of attribute groups.
2637 2638 2639 |
# File 'sig/types.rbs', line 2637 def groups @groups end |
#languages ⇒ Array[String]? (readonly)
Returns the value of attribute languages.
2636 2637 2638 |
# File 'sig/types.rbs', line 2636 def languages @languages end |
#process ⇒ TreeSitterProcessConfig (readonly)
Returns the value of attribute process.
2638 2639 2640 |
# File 'sig/types.rbs', line 2638 def process @process end |