toSemanticData
Converts a SimpleTokenData to a full SemanticTokenData which adheres to the LSP specification.
Return
a full semantic token data
Parameters
text
the text content of the document, used to calculate the position
Converts a SimpleTokenData to a full SemanticTokenData which adheres to the LSP specification.
a full semantic token data
the text content of the document, used to calculate the position