Class: Xberg::TreeSitterConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTreeSitterConfig

Returns a new instance of TreeSitterConfig.

Parameters:

  • enabled: (Boolean)
  • cache_dir: (String)
  • languages: (Array[String])
  • groups: (Array[String])
  • process: (TreeSitterProcessConfig)


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_dirString? (readonly)

Returns the value of attribute cache_dir.

Returns:

  • (String, nil)


2635
2636
2637
# File 'sig/types.rbs', line 2635

def cache_dir
  @cache_dir
end

#enabledBoolean (readonly)

Returns the value of attribute enabled.

Returns:

  • (Boolean)


2634
2635
2636
# File 'sig/types.rbs', line 2634

def enabled
  @enabled
end

#groupsArray[String]? (readonly)

Returns the value of attribute groups.

Returns:

  • (Array[String], nil)


2637
2638
2639
# File 'sig/types.rbs', line 2637

def groups
  @groups
end

#languagesArray[String]? (readonly)

Returns the value of attribute languages.

Returns:

  • (Array[String], nil)


2636
2637
2638
# File 'sig/types.rbs', line 2636

def languages
  @languages
end

#processTreeSitterProcessConfig (readonly)

Returns the value of attribute process.



2638
2639
2640
# File 'sig/types.rbs', line 2638

def process
  @process
end