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)


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

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)


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

def chunk_max_size
  @chunk_max_size
end

#commentsBoolean?

Returns the value of attribute comments.

Returns:

  • (Boolean, nil)


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

def comments
  @comments
end

#content_modeCodeContentMode?

Returns the value of attribute content_mode.

Returns:



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

def content_mode
  @content_mode
end

#diagnosticsBoolean?

Returns the value of attribute diagnostics.

Returns:

  • (Boolean, nil)


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

def diagnostics
  @diagnostics
end

#docstringsBoolean?

Returns the value of attribute docstrings.

Returns:

  • (Boolean, nil)


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

def docstrings
  @docstrings
end

#exportsBoolean?

Returns the value of attribute exports.

Returns:

  • (Boolean, nil)


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

def exports
  @exports
end

#importsBoolean?

Returns the value of attribute imports.

Returns:

  • (Boolean, nil)


572
573
574
# File 'sig/types.rbs', line 572

def imports
  @imports
end

#structureBoolean?

Returns the value of attribute structure.

Returns:

  • (Boolean, nil)


571
572
573
# File 'sig/types.rbs', line 571

def structure
  @structure
end

#symbolsBoolean?

Returns the value of attribute symbols.

Returns:

  • (Boolean, nil)


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

def symbols
  @symbols
end

Class Method Details

.defaultTreeSitterProcessConfig



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

def self.default: () -> TreeSitterProcessConfig