Class FoldingRangeKind

Constructors§

§

new FoldingRangeKind(value: string): FoldingRangeKind

Creates a new FoldingRangeKind.

Properties§

§value: string
§static readonly Comment: FoldingRangeKind

Kind for folding range representing a comment. The value of the kind is 'comment'.

§static readonly Imports: FoldingRangeKind

Kind for folding range representing a import. The value of the kind is 'imports'.

§static readonly Region: FoldingRangeKind

Kind for folding range representing regions (for example marked by #region, #endregion). The value of the kind is 'region'.

Methods§

§

fromValue(value: string): FoldingRangeKind

Returns a FoldingRangeKind for the given value.