@Beta public class SemanticTokensWithRegistrationOptions extends AbstractWorkDoneProgressOptions
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<DocumentFilter> |
getDocumentSelector()
A document selector to identify the scope of the registration.
|
org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,SemanticTokensServerFull> |
getFull()
Server supports providing semantic tokens for a full document.
|
SemanticTokensLegend |
getLegend()
The legend used by the server
|
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.
|
int |
hashCode() |
void |
setDocumentSelector(java.util.List<DocumentFilter> documentSelector)
A document selector to identify the scope of the registration.
|
void |
setFull(java.lang.Boolean full) |
void |
setFull(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,SemanticTokensServerFull> full)
Server supports providing semantic tokens for a full document.
|
void |
setFull(SemanticTokensServerFull full) |
void |
setLegend(SemanticTokensLegend legend)
The legend used by the server
|
void |
setRange(java.lang.Boolean range) |
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.
|
void |
setRange(java.lang.Object range) |
java.lang.String |
toString() |
getWorkDoneProgress, setWorkDoneProgress
public SemanticTokensWithRegistrationOptions()
public SemanticTokensWithRegistrationOptions(SemanticTokensLegend legend)
public SemanticTokensWithRegistrationOptions(SemanticTokensLegend legend, java.lang.Boolean full)
public SemanticTokensWithRegistrationOptions(SemanticTokensLegend legend, SemanticTokensServerFull full)
public SemanticTokensWithRegistrationOptions(SemanticTokensLegend legend, java.lang.Boolean full, java.lang.Boolean range)
public SemanticTokensWithRegistrationOptions(SemanticTokensLegend legend, SemanticTokensServerFull full, java.lang.Boolean range)
public SemanticTokensWithRegistrationOptions(SemanticTokensLegend legend, SemanticTokensServerFull full, java.lang.Boolean range, java.util.List<DocumentFilter> documentSelector)
@Pure public SemanticTokensLegend getLegend()
public void setLegend(SemanticTokensLegend legend)
@Pure public org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,java.lang.Object> getRange()
public void setRange(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,java.lang.Object> range)
public void setRange(java.lang.Boolean range)
public void setRange(java.lang.Object range)
@Pure public org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,SemanticTokensServerFull> getFull()
public void setFull(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.Boolean,SemanticTokensServerFull> full)
public void setFull(java.lang.Boolean full)
public void setFull(SemanticTokensServerFull full)
@Pure public java.util.List<DocumentFilter> getDocumentSelector()
public void setDocumentSelector(java.util.List<DocumentFilter> documentSelector)
@Pure public java.lang.String toString()
toString
in class AbstractWorkDoneProgressOptions
@Pure public boolean equals(java.lang.Object obj)
equals
in class AbstractWorkDoneProgressOptions
@Pure public int hashCode()
hashCode
in class AbstractWorkDoneProgressOptions