Package org.eclipse.lsp4j
Class SemanticTokensWithRegistrationOptions
- java.lang.Object
-
- org.eclipse.lsp4j.TextDocumentRegistrationOptions
-
- org.eclipse.lsp4j.AbstractTextDocumentRegistrationAndWorkDoneProgressOptions
-
- org.eclipse.lsp4j.SemanticTokensWithRegistrationOptions
-
- All Implemented Interfaces:
WorkDoneProgressOptions
public class SemanticTokensWithRegistrationOptions extends AbstractTextDocumentRegistrationAndWorkDoneProgressOptions
Since 3.16.0
-
-
Constructor Summary
Constructors Constructor Description SemanticTokensWithRegistrationOptions()SemanticTokensWithRegistrationOptions(SemanticTokensLegend legend)SemanticTokensWithRegistrationOptions(SemanticTokensLegend legend, java.lang.Boolean full)SemanticTokensWithRegistrationOptions(SemanticTokensLegend legend, java.lang.Boolean full, java.lang.Boolean range)SemanticTokensWithRegistrationOptions(SemanticTokensLegend legend, SemanticTokensServerFull full)SemanticTokensWithRegistrationOptions(SemanticTokensLegend legend, SemanticTokensServerFull full, java.lang.Boolean range)SemanticTokensWithRegistrationOptions(SemanticTokensLegend legend, SemanticTokensServerFull full, java.lang.Boolean range, java.util.List<DocumentFilter> documentSelector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,SemanticTokensServerFull>getFull()Server supports providing semantic tokens for a full document.java.lang.StringgetId()The id used to register the request.SemanticTokensLegendgetLegend()The legend used by the serverorg.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,java.lang.Object>getRange()Server supports providing semantic tokens for a specific range of a document.inthashCode()voidsetFull(java.lang.Boolean full)voidsetFull(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,SemanticTokensServerFull> full)Server supports providing semantic tokens for a full document.voidsetFull(SemanticTokensServerFull full)voidsetId(java.lang.String id)The id used to register the request.voidsetLegend(SemanticTokensLegend legend)The legend used by the servervoidsetRange(java.lang.Boolean range)voidsetRange(java.lang.Object range)voidsetRange(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,java.lang.Object> range)Server supports providing semantic tokens for a specific range of a document.java.lang.StringtoString()-
Methods inherited from class org.eclipse.lsp4j.AbstractTextDocumentRegistrationAndWorkDoneProgressOptions
getWorkDoneProgress, setWorkDoneProgress
-
Methods inherited from class org.eclipse.lsp4j.TextDocumentRegistrationOptions
getDocumentSelector, setDocumentSelector
-
-
-
-
Constructor Detail
-
SemanticTokensWithRegistrationOptions
public SemanticTokensWithRegistrationOptions()
-
SemanticTokensWithRegistrationOptions
public SemanticTokensWithRegistrationOptions(SemanticTokensLegend legend)
-
SemanticTokensWithRegistrationOptions
public SemanticTokensWithRegistrationOptions(SemanticTokensLegend legend, java.lang.Boolean full)
-
SemanticTokensWithRegistrationOptions
public SemanticTokensWithRegistrationOptions(SemanticTokensLegend legend, SemanticTokensServerFull full)
-
SemanticTokensWithRegistrationOptions
public SemanticTokensWithRegistrationOptions(SemanticTokensLegend legend, java.lang.Boolean full, java.lang.Boolean range)
-
SemanticTokensWithRegistrationOptions
public SemanticTokensWithRegistrationOptions(SemanticTokensLegend legend, SemanticTokensServerFull full, java.lang.Boolean range)
-
SemanticTokensWithRegistrationOptions
public SemanticTokensWithRegistrationOptions(SemanticTokensLegend legend, SemanticTokensServerFull full, java.lang.Boolean range, java.util.List<DocumentFilter> documentSelector)
-
-
Method Detail
-
getLegend
public SemanticTokensLegend getLegend()
The legend used by the server
-
setLegend
public void setLegend(SemanticTokensLegend legend)
The legend used by the server
-
getRange
public org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,java.lang.Object> getRange()
Server supports providing semantic tokens for a specific range of a document.
-
setRange
public void setRange(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,java.lang.Object> range)
Server supports providing semantic tokens for a specific range of a document.
-
setRange
public void setRange(java.lang.Boolean range)
-
setRange
public void setRange(java.lang.Object range)
-
getFull
public org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,SemanticTokensServerFull> getFull()
Server supports providing semantic tokens for a full document.
-
setFull
public void setFull(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,SemanticTokensServerFull> full)
Server supports providing semantic tokens for a full document.
-
setFull
public void setFull(java.lang.Boolean full)
-
setFull
public void setFull(SemanticTokensServerFull full)
-
getId
public java.lang.String getId()
The id used to register the request. The id can be used to deregister the request again. See also Registration#id.
-
setId
public void setId(java.lang.String id)
The id used to register the request. The id can be used to deregister the request again. See also Registration#id.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractTextDocumentRegistrationAndWorkDoneProgressOptions
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classAbstractTextDocumentRegistrationAndWorkDoneProgressOptions
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractTextDocumentRegistrationAndWorkDoneProgressOptions
-
-