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
ToEdits
_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
ToEdits
_convert
ToEdits
(
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
:
SemanticTokens
|
RelaxedSemanticTokens
|
SemanticTokensEdits
|
RelaxedSemanticTokensEdits
)
:
SemanticTokens
|
SemanticTokensEdits
Parameters
v:
SemanticTokens
|
RelaxedSemanticTokens
|
SemanticTokensEdits
|
RelaxedSemanticTokensEdits
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
:
SemanticTokens
|
RelaxedSemanticTokens
|
SemanticTokensEdits
|
RelaxedSemanticTokensEdits
)
:
v
is
ProvidedSemanticTokens
Parameters
v:
SemanticTokens
|
RelaxedSemanticTokens
|
SemanticTokensEdits
|
RelaxedSemanticTokensEdits
Returns
v
is
ProvidedSemanticTokens
Static
Private
_is
Semantic
Tokens
Edits
_is
Semantic
Tokens
Edits
(
v
:
SemanticTokens
|
RelaxedSemanticTokens
|
SemanticTokensEdits
|
RelaxedSemanticTokensEdits
)
:
v
is
ProvidedSemanticTokensEdits
Parameters
v:
SemanticTokens
|
RelaxedSemanticTokens
|
SemanticTokensEdits
|
RelaxedSemanticTokensEdits
Returns
v
is
ProvidedSemanticTokensEdits
Exports
plugin-
ext
Comments
Command
Arg
Comments
Context
Command
Arg
Comments
Edit
Command
Arg
Composite
Tree
View
Node
Connection
Closed
Error
Custom
Editor
Widget
Debug
Adapter
Executable
Debug
Adapter
Inline
Implementation
Debug
Adapter
Named
Pipe
Server
Debug
Adapter
Server
Decoration
Range
Behavior
Decoration
Render
Options
Document
Link
Known
Commands
Notification
Main
Object
Identifier
Objects
Transferrer
Parameter
Information
Plugin
Contributions
Plugin
Icon
Path
Plugin
Package
Plugin
Paths
Plugin
View
Registry
Plugin
View
Widget
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
Node
Tree
View
Selection
Webview
External
Endpoint
Webview
Widget
Workspace
Text
Edit
Dto
Document
Semantic
Tokens
Adapter
constructor
_next
Result
Id
_previous
Results
_send
provide
Document
Semantic
Tokens
release
Document
Semantic
Coloring
_convert
ToEdits
_fix
Provided
Semantic
Tokens
_is
Correct
Semantic
Tokens
_is
Correct
Semantic
Tokens
Edits
_is
Semantic
Tokens
_is
Semantic
Tokens
Edits