Class: Xberg::TreeSitterProcessConfig

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTreeSitterProcessConfig

Returns a new instance of TreeSitterProcessConfig.

Parameters:

  • structure: (Boolean)
  • imports: (Boolean)
  • exports: (Boolean)
  • comments: (Boolean)
  • docstrings: (Boolean)
  • symbols: (Boolean)
  • diagnostics: (Boolean)
  • chunk_max_size: (Integer)
  • content_mode: (CodeContentMode)


550
# File 'sig/types.rbs', line 550

def initialize: (?structure: bool, ?imports: bool, ?exports: bool, ?comments: bool, ?docstrings: bool, ?symbols: bool, ?diagnostics: bool, ?chunk_max_size: Integer, ?content_mode: CodeContentMode) -> void

Instance Attribute Details

#chunk_max_sizeInteger?

Returns the value of attribute chunk_max_size.

Returns:

  • (Integer, nil)


547
548
549
# File 'sig/types.rbs', line 547

def chunk_max_size
  @chunk_max_size
end

#commentsBoolean?

Returns the value of attribute comments.

Returns:

  • (Boolean, nil)


543
544
545
# File 'sig/types.rbs', line 543

def comments
  @comments
end

#content_modeCodeContentMode?

Returns the value of attribute content_mode.

Returns:



548
549
550
# File 'sig/types.rbs', line 548

def content_mode
  @content_mode
end

#diagnosticsBoolean?

Returns the value of attribute diagnostics.

Returns:

  • (Boolean, nil)


546
547
548
# File 'sig/types.rbs', line 546

def diagnostics
  @diagnostics
end

#docstringsBoolean?

Returns the value of attribute docstrings.

Returns:

  • (Boolean, nil)


544
545
546
# File 'sig/types.rbs', line 544

def docstrings
  @docstrings
end

#exportsBoolean?

Returns the value of attribute exports.

Returns:

  • (Boolean, nil)


542
543
544
# File 'sig/types.rbs', line 542

def exports
  @exports
end

#importsBoolean?

Returns the value of attribute imports.

Returns:

  • (Boolean, nil)


541
542
543
# File 'sig/types.rbs', line 541

def imports
  @imports
end

#structureBoolean?

Returns the value of attribute structure.

Returns:

  • (Boolean, nil)


540
541
542
# File 'sig/types.rbs', line 540

def structure
  @structure
end

#symbolsBoolean?

Returns the value of attribute symbols.

Returns:

  • (Boolean, nil)


545
546
547
# File 'sig/types.rbs', line 545

def symbols
  @symbols
end

Class Method Details

.defaultTreeSitterProcessConfig



551
# File 'sig/types.rbs', line 551

def self.default: () -> TreeSitterProcessConfig