Class FoldingRangeKind
Constructors§
§new FoldingRangeKind(value: string): FoldingRangeKind
new FoldingRangeKind(value: string): FoldingRangeKind
Properties§
§§§
value: string§static readonly Comment: FoldingRangeKindKind for folding range representing a comment. The value of the kind is 'comment'.
static readonly Imports: FoldingRangeKindKind for folding range representing a import. The value of the kind is 'imports'.
static readonly Region: FoldingRangeKindKind for folding range representing regions (for example marked by #region, #endregion).
The value of the kind is 'region'.
Methods§
§fromValue(value: string): FoldingRangeKind
fromValue(value: string): FoldingRangeKind
Returns a FoldingRangeKind for the given value.
Creates a new FoldingRangeKind.