kind property

FoldingRangeKind get kind

Describes the {@link FoldingRangeKind Kind} of the folding range such as {@link FoldingRangeKind.Comment Comment} or {@link FoldingRangeKind.Region Region}. The kind is used to categorize folding ranges and used by commands like 'Fold all comments'. See {@link FoldingRangeKind} for an enumeration of all kinds. If not set, the range is originated from a syntax element.

Implementation

_i3.FoldingRangeKind get kind =>
    _i3.FoldingRangeKind.values.byName(_i5.getProperty(
      this,
      'kind',
    ));
set kind (FoldingRangeKind value)

Implementation

set kind(_i3.FoldingRangeKind value) {
  _i5.setProperty(
    this,
    'kind',
    value.name,
  );
}