Class: Xberg::TreeSitterProcessConfig

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

Instance Attribute 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: (enum_CodeContentMode)


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

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: enum_CodeContentMode) -> void

Instance Attribute Details

#chunk_max_sizeInteger? (readonly)

Returns the value of attribute chunk_max_size.

Returns:

  • (Integer, nil)


2652
2653
2654
# File 'sig/types.rbs', line 2652

def chunk_max_size
  @chunk_max_size
end

#commentsBoolean (readonly)

Returns the value of attribute comments.

Returns:

  • (Boolean)


2647
2648
2649
# File 'sig/types.rbs', line 2647

def comments
  @comments
end

#content_modeenum_CodeContentMode (readonly)

Returns the value of attribute content_mode.

Returns:

  • (enum_CodeContentMode)


2653
2654
2655
# File 'sig/types.rbs', line 2653

def content_mode
  @content_mode
end

#data_extractionBoolean (readonly)

Returns the value of attribute data_extraction.

Returns:

  • (Boolean)


2651
2652
2653
# File 'sig/types.rbs', line 2651

def data_extraction
  @data_extraction
end

#diagnosticsBoolean (readonly)

Returns the value of attribute diagnostics.

Returns:

  • (Boolean)


2650
2651
2652
# File 'sig/types.rbs', line 2650

def diagnostics
  @diagnostics
end

#docstringsBoolean (readonly)

Returns the value of attribute docstrings.

Returns:

  • (Boolean)


2648
2649
2650
# File 'sig/types.rbs', line 2648

def docstrings
  @docstrings
end

#exportsBoolean (readonly)

Returns the value of attribute exports.

Returns:

  • (Boolean)


2646
2647
2648
# File 'sig/types.rbs', line 2646

def exports
  @exports
end

#importsBoolean (readonly)

Returns the value of attribute imports.

Returns:

  • (Boolean)


2645
2646
2647
# File 'sig/types.rbs', line 2645

def imports
  @imports
end

#structureBoolean (readonly)

Returns the value of attribute structure.

Returns:

  • (Boolean)


2644
2645
2646
# File 'sig/types.rbs', line 2644

def structure
  @structure
end

#symbolsBoolean (readonly)

Returns the value of attribute symbols.

Returns:

  • (Boolean)


2649
2650
2651
# File 'sig/types.rbs', line 2649

def symbols
  @symbols
end