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)
  • data_extraction: (Boolean)
  • chunk_max_size: (Integer)
  • content_mode: (CodeContentMode)


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

def initialize: (?structure: bool, ?imports: bool, ?exports: bool, ?comments: bool, ?docstrings: bool, ?symbols: bool, ?diagnostics: bool, ?data_extraction: 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)


582
583
584
# File 'sig/types.rbs', line 582

def chunk_max_size
  @chunk_max_size
end

#commentsBoolean?

Returns the value of attribute comments.

Returns:

  • (Boolean, nil)


577
578
579
# File 'sig/types.rbs', line 577

def comments
  @comments
end

#content_modeCodeContentMode?

Returns the value of attribute content_mode.

Returns:



583
584
585
# File 'sig/types.rbs', line 583

def content_mode
  @content_mode
end

#data_extractionBoolean?

Returns the value of attribute data_extraction.

Returns:

  • (Boolean, nil)


581
582
583
# File 'sig/types.rbs', line 581

def data_extraction
  @data_extraction
end

#diagnosticsBoolean?

Returns the value of attribute diagnostics.

Returns:

  • (Boolean, nil)


580
581
582
# File 'sig/types.rbs', line 580

def diagnostics
  @diagnostics
end

#docstringsBoolean?

Returns the value of attribute docstrings.

Returns:

  • (Boolean, nil)


578
579
580
# File 'sig/types.rbs', line 578

def docstrings
  @docstrings
end

#exportsBoolean?

Returns the value of attribute exports.

Returns:

  • (Boolean, nil)


576
577
578
# File 'sig/types.rbs', line 576

def exports
  @exports
end

#importsBoolean?

Returns the value of attribute imports.

Returns:

  • (Boolean, nil)


575
576
577
# File 'sig/types.rbs', line 575

def imports
  @imports
end

#structureBoolean?

Returns the value of attribute structure.

Returns:

  • (Boolean, nil)


574
575
576
# File 'sig/types.rbs', line 574

def structure
  @structure
end

#symbolsBoolean?

Returns the value of attribute symbols.

Returns:

  • (Boolean, nil)


579
580
581
# File 'sig/types.rbs', line 579

def symbols
  @symbols
end

Class Method Details

.defaultTreeSitterProcessConfig



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

def self.default: () -> TreeSitterProcessConfig