Search
Preparing search index...
The search index is not available
Theia TypeDoc
Options
All
Public
Public/Protected
All
Inherited
Menu
Theia TypeDoc
plugin-ext
DocumentSemanticTokensAdapter
Class DocumentSemanticTokensAdapter
Hierarchy
DocumentSemanticTokensAdapter
Index
Constructors
constructor
Properties
_next
Result
Id
_previous
Results
Methods
_send
provide
Document
Semantic
Tokens
release
Document
Semantic
Coloring
_convert
To
Edits
_fix
Provided
Semantic
Tokens
_is
Correct
Semantic
Tokens
_is
Correct
Semantic
Tokens
Edits
_is
Semantic
Tokens
_is
Semantic
Tokens
Edits
Constructors
constructor
new
Document
Semantic
Tokens
Adapter
(
_documents
:
DocumentsExtImpl
, _provider
:
DocumentSemanticTokensProvider
)
:
DocumentSemanticTokensAdapter
Parameters
_documents:
DocumentsExtImpl
_provider:
DocumentSemanticTokensProvider
Returns
DocumentSemanticTokensAdapter
Properties
Private
_next
Result
Id
_next
Result
Id
:
number
= 1
Private
Readonly
_previous
Results
_previous
Results
:
Map
<
number
,
SemanticTokensPreviousResult
>
Methods
Private
_send
_send
(
value
:
SemanticTokens
|
SemanticTokensEdits
, original
:
SemanticTokens
|
SemanticTokensEdits
)
:
null
|
BinaryBuffer
Parameters
value:
SemanticTokens
|
SemanticTokensEdits
original:
SemanticTokens
|
SemanticTokensEdits
Returns
null
|
BinaryBuffer
provide
Document
Semantic
Tokens
provide
Document
Semantic
Tokens
(
resource
:
URI
, previousResultId
:
number
, token
:
CancellationToken
)
:
Promise
<
null
|
BinaryBuffer
>
Parameters
resource:
URI
previousResultId:
number
token:
CancellationToken
Returns
Promise
<
null
|
BinaryBuffer
>
release
Document
Semantic
Coloring
release
Document
Semantic
Coloring
(
semanticColoringResultId
:
number
)
:
Promise
<
void
>
Parameters
semanticColoringResultId:
number
Returns
Promise
<
void
>
Static
Private
_convert
To
Edits
_convert
To
Edits
(
previousResult
:
undefined
|
null
|
SemanticTokensPreviousResult
, newResult
:
SemanticTokens
|
SemanticTokensEdits
)
:
SemanticTokens
|
SemanticTokensEdits
Parameters
previousResult:
undefined
|
null
|
SemanticTokensPreviousResult
newResult:
SemanticTokens
|
SemanticTokensEdits
Returns
SemanticTokens
|
SemanticTokensEdits
Static
Private
_fix
Provided
Semantic
Tokens
_fix
Provided
Semantic
Tokens
(
v
:
ProvidedSemanticTokens
|
ProvidedSemanticTokensEdits
)
:
SemanticTokens
|
SemanticTokensEdits
Parameters
v:
ProvidedSemanticTokens
|
ProvidedSemanticTokensEdits
Returns
SemanticTokens
|
SemanticTokensEdits
Static
Private
_is
Correct
Semantic
Tokens
_is
Correct
Semantic
Tokens
(
v
:
ProvidedSemanticTokens
)
:
v
is
SemanticTokens
Parameters
v:
ProvidedSemanticTokens
Returns
v
is
SemanticTokens
Static
Private
_is
Correct
Semantic
Tokens
Edits
_is
Correct
Semantic
Tokens
Edits
(
v
:
ProvidedSemanticTokensEdits
)
:
v
is
SemanticTokensEdits
Parameters
v:
ProvidedSemanticTokensEdits
Returns
v
is
SemanticTokensEdits
Static
Private
_is
Semantic
Tokens
_is
Semantic
Tokens
(
v
:
ProvidedSemanticTokens
|
ProvidedSemanticTokensEdits
)
:
v
is
ProvidedSemanticTokens
Parameters
v:
ProvidedSemanticTokens
|
ProvidedSemanticTokensEdits
Returns
v
is
ProvidedSemanticTokens
Static
Private
_is
Semantic
Tokens
Edits
_is
Semantic
Tokens
Edits
(
v
:
ProvidedSemanticTokens
|
ProvidedSemanticTokensEdits
)
:
v
is
ProvidedSemanticTokensEdits
Parameters
v:
ProvidedSemanticTokens
|
ProvidedSemanticTokensEdits
Returns
v
is
ProvidedSemanticTokensEdits
Modules
bulk-
edit
callhierarchy
console
core
debug
editor
editor-
preview
electron
external-
terminal
file-
search
filesystem
getting-
started
git
keymaps
markers
memory-
inspector
messages
metrics
mini-
browser
monaco
navigator
outline-
view
output
plugin
plugin-
dev
plugin-
ext
Comments
Command
Arg
Comments
Context
Command
Arg
Comments
Edit
Command
Arg
Composite
Tree
View
Node
Connection
Closed
Error
Custom
Editor
Widget
Data
Transfer
Data
Transfer
Data
Transfer
Item
Data
Transfer
Item
Debug
Adapter
Executable
Debug
Adapter
Inline
Implementation
Debug
Adapter
Named
Pipe
Server
Debug
Adapter
Server
Decoration
Range
Behavior
Decoration
Render
Options
Document
Link
Inlay
Hint
Kind
Known
Commands
Notification
Main
Object
Identifier
Parameter
Information
Plugin
Contributions
Plugin
Icon
Path
Plugin
Identifiers
Plugin
Package
Plugin
Paths
Plugin
View
Registry
Plugin
View
Widget
Process
Terminate
Message
Process
Terminated
Message
Schemes
Scm
Command
Arg
Selection
Provider
Commands
Signature
Help
Signature
Information
Symbol
Kind
Symbol
Kind
Converter
Text
Document
Show
Options
Text
Editor
Selection
Change
Kind
Themable
Decoration
Attachment
Render
Options
Themable
Decoration
Render
Options
Theme
Icon
Timeline
Command
Arg
Tree
View
Item
Reference
Tree
View
Node
View
Column
Webview
External
Endpoint
Webview
Widget
Workspace
Text
Edit
Dto
plugin-
ext-
vscode
plugin-
metrics
preferences
preview
process
property-
view
scm
scm-
extra
search-
in-
workspace
secondary-
window
task
terminal
timeline
toolbar
typehierarchy
userstorage
variable-
resolver
vsx-
registry
workspace
Document
Semantic
Tokens
Adapter
constructor
_next
Result
Id
_previous
Results
_send
provide
Document
Semantic
Tokens
release
Document
Semantic
Coloring
_convert
To
Edits
_fix
Provided
Semantic
Tokens
_is
Correct
Semantic
Tokens
_is
Correct
Semantic
Tokens
Edits
_is
Semantic
Tokens
_is
Semantic
Tokens
Edits