| Modifier and Type | Field and Description |
|---|---|
| private FormattingOptions | options
The format options |
| private Range | range
The range to format |
| private TextDocumentIdentifier | textDocument
The document to format. |
| private Either | workDoneToken
An optional token that a server can use to report work done progress. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | DocumentRangeFormattingParams(final TextDocumentIdentifier textDocument, final FormattingOptions options, final Range range)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public FormattingOptions | |
| public Range | |
| public TextDocumentIdentifier | |
| public Either | getWorkDoneToken()
Implements org. An optional token that a server can use to report work done progress. |
| public int | |
| public void | |
| public void | |
| public void | |
| public void | setWorkDoneToken(final Either<String, Integer> workDoneToken)
Implements org. An optional token that a server can use to report work done progress. |
| public void | |
| public void | |
| public String |
| options | back to summary |
|---|---|
| private FormattingOptions options The format options | |
| range | back to summary |
|---|---|
| private Range range The range to format | |
| textDocument | back to summary |
|---|---|
| private TextDocumentIdentifier textDocument The document to format. | |
| workDoneToken | back to summary |
|---|---|
| private Either<String, Integer> workDoneToken An optional token that a server can use to report work done progress. | |
| DocumentRangeFormattingParams | back to summary |
|---|---|
| public DocumentRangeFormattingParams() | |
| DocumentRangeFormattingParams | back to summary |
|---|---|
| public DocumentRangeFormattingParams(final TextDocumentIdentifier textDocument, final FormattingOptions options, final Range range) | |
| DocumentRangeFormattingParams | back to summary |
|---|---|
| public DocumentRangeFormattingParams(final Range range)
Deprecated
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getOptions | back to summary |
|---|---|
| public FormattingOptions getOptions() The format options
| |
| getRange | back to summary |
|---|---|
| public Range getRange() The range to format
| |
| getTextDocument | back to summary |
|---|---|
| public TextDocumentIdentifier getTextDocument() The document to format.
| |
| getWorkDoneToken | back to summary |
|---|---|
| public Either Implements org. An optional token that a server can use to report work done progress.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setOptions | back to summary |
|---|---|
| public void setOptions(final FormattingOptions options) The format options | |
| setRange | back to summary |
|---|---|
| public void setRange(final Range range) The range to format | |
| setTextDocument | back to summary |
|---|---|
| public void setTextDocument(final TextDocumentIdentifier textDocument) The document to format. | |
| setWorkDoneToken | back to summary |
|---|---|
| public void setWorkDoneToken(final Either<String, Integer> workDoneToken) Implements org. An optional token that a server can use to report work done progress. | |
| setWorkDoneToken | back to summary |
|---|---|
| public void setWorkDoneToken(final String workDoneToken) | |
| setWorkDoneToken | back to summary |
|---|---|
| public void setWorkDoneToken(final Integer workDoneToken) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |