Package org.eclipse.lsp4j
Class SemanticTokensRangeParams
- java.lang.Object
-
- org.eclipse.lsp4j.WorkDoneProgressAndPartialResultParams
-
- org.eclipse.lsp4j.SemanticTokensRangeParams
-
- All Implemented Interfaces:
PartialResultParams,WorkDoneProgressParams
public class SemanticTokensRangeParams extends WorkDoneProgressAndPartialResultParams
The request is sent from the client to the server to resolve semantic tokens for a range in a given file.Since 3.16.0
-
-
Constructor Summary
Constructors Constructor Description SemanticTokensRangeParams()SemanticTokensRangeParams(TextDocumentIdentifier textDocument, Range range)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)RangegetRange()The range the semantic tokens are requested for.TextDocumentIdentifiergetTextDocument()The text document.inthashCode()voidsetRange(Range range)The range the semantic tokens are requested for.voidsetTextDocument(TextDocumentIdentifier textDocument)The text document.java.lang.StringtoString()-
Methods inherited from class org.eclipse.lsp4j.WorkDoneProgressAndPartialResultParams
getPartialResultToken, getWorkDoneToken, setPartialResultToken, setPartialResultToken, setPartialResultToken, setWorkDoneToken, setWorkDoneToken, setWorkDoneToken
-
-
-
-
Constructor Detail
-
SemanticTokensRangeParams
public SemanticTokensRangeParams()
-
SemanticTokensRangeParams
public SemanticTokensRangeParams(TextDocumentIdentifier textDocument, Range range)
-
-
Method Detail
-
getTextDocument
public TextDocumentIdentifier getTextDocument()
The text document.
-
setTextDocument
public void setTextDocument(TextDocumentIdentifier textDocument)
The text document.
-
getRange
public Range getRange()
The range the semantic tokens are requested for.
-
setRange
public void setRange(Range range)
The range the semantic tokens are requested for.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classWorkDoneProgressAndPartialResultParams
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classWorkDoneProgressAndPartialResultParams
-
hashCode
public int hashCode()
- Overrides:
hashCodein classWorkDoneProgressAndPartialResultParams
-
-