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)


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

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)


606
607
608
# File 'sig/types.rbs', line 606

def chunk_max_size
  @chunk_max_size
end

#commentsBoolean?

Returns the value of attribute comments.

Returns:

  • (Boolean, nil)


601
602
603
# File 'sig/types.rbs', line 601

def comments
  @comments
end

#content_modeCodeContentMode?

Returns the value of attribute content_mode.

Returns:



607
608
609
# File 'sig/types.rbs', line 607

def content_mode
  @content_mode
end

#data_extractionBoolean?

Returns the value of attribute data_extraction.

Returns:

  • (Boolean, nil)


605
606
607
# File 'sig/types.rbs', line 605

def data_extraction
  @data_extraction
end

#diagnosticsBoolean?

Returns the value of attribute diagnostics.

Returns:

  • (Boolean, nil)


604
605
606
# File 'sig/types.rbs', line 604

def diagnostics
  @diagnostics
end

#docstringsBoolean?

Returns the value of attribute docstrings.

Returns:

  • (Boolean, nil)


602
603
604
# File 'sig/types.rbs', line 602

def docstrings
  @docstrings
end

#exportsBoolean?

Returns the value of attribute exports.

Returns:

  • (Boolean, nil)


600
601
602
# File 'sig/types.rbs', line 600

def exports
  @exports
end

#importsBoolean?

Returns the value of attribute imports.

Returns:

  • (Boolean, nil)


599
600
601
# File 'sig/types.rbs', line 599

def imports
  @imports
end

#structureBoolean?

Returns the value of attribute structure.

Returns:

  • (Boolean, nil)


598
599
600
# File 'sig/types.rbs', line 598

def structure
  @structure
end

#symbolsBoolean?

Returns the value of attribute symbols.

Returns:

  • (Boolean, nil)


603
604
605
# File 'sig/types.rbs', line 603

def symbols
  @symbols
end

Class Method Details

.defaultTreeSitterProcessConfig



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

def self.default: () -> TreeSitterProcessConfig