Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SemanticTokensEdit

Represents an edit to semantic tokens.

see

provideDocumentSemanticTokensEdits for an explanation of the format.

Hierarchy

  • SemanticTokensEdit

Index

Constructors(1)

Properties(3)

Constructors(1)

constructor

  • new SemanticTokensEdit(start: number, deleteCount: number, data?: Uint32Array): SemanticTokensEdit
  • Create a semantic token edit.

    Parameters

    • start: number

      Start offset

    • deleteCount: number

      Number of elements to remove.

    • Optional data: Uint32Array

      Elements to insert

    Returns SemanticTokensEdit

Properties(3)

Readonly start

start: number

The start offset of the edit.

Readonly deleteCount

deleteCount: number

The count of elements to remove.

Readonly data

data: undefined | Uint32Array

The elements to insert.

Generated by TypeDoc. Maintained by 紫升

Links: 搜外友链, 69中文网