Since 3.10.0
| Modifier and Type | Field and Description |
|---|---|
| private List | children
Children of this symbol, e.g. properties of a class. |
| private Boolean | deprecated
Deprecated
Use Indicates if this symbol is deprecated.
tags instead if supported.
|
| private String | detail
More detail for this symbol, e.g the signature of a function. |
| private SymbolKind | kind
The kind of this symbol. |
| private String | name
The name of this symbol. |
| private Range | range
The range enclosing this symbol not including leading/trailing whitespace but everything else like comments. |
| private Range | selectionRange
The range that should be selected and revealed when this symbol is being picked, e.g the name of a function. |
| private List | tags
Tags for this document symbol. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | DocumentSymbol(final String name, final SymbolKind kind, final Range range, final Range selectionRange)
|
| public | DocumentSymbol(final String name, final SymbolKind kind, final Range range, final Range selectionRange, final String detail)
|
| public | DocumentSymbol(final String name, final SymbolKind kind, final Range range, final Range selectionRange, final String detail, final List<DocumentSymbol> children)
|
| 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 List | |
| public Boolean | |
| public String | |
| public SymbolKind | |
| public String | |
| public Range | getRange()
The range enclosing this symbol not including leading/trailing whitespace but everything else like comments. |
| public Range | getSelectionRange()
The range that should be selected and revealed when this symbol is being picked, e.g the name of a function. |
| public List | |
| public int | |
| public void | setChildren(final List<DocumentSymbol> children)
Children of this symbol, e.g. properties of a class. |
| public void | setDeprecated(final Boolean deprecated)
Deprecated
Use
tags instead if supported.
Indicates if this symbol is deprecated. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setSelectionRange(final Range selectionRange)
The range that should be selected and revealed when this symbol is being picked, e.g the name of a function. |
| public void | |
| public String |
| children | back to summary |
|---|---|
| private List<DocumentSymbol> children Children of this symbol, e.g. properties of a class. | |
| deprecated | back to summary |
|---|---|
| private Boolean deprecated
Deprecated Use Indicates if this symbol is deprecated. | |
| detail | back to summary |
|---|---|
| private String detail More detail for this symbol, e.g the signature of a function. If not provided the name is used. | |
| kind | back to summary |
|---|---|
| private SymbolKind kind The kind of this symbol. | |
| name | back to summary |
|---|---|
| private String name The name of this symbol. | |
| range | back to summary |
|---|---|
| private Range range The range enclosing this symbol not including leading/trailing whitespace but everything else like comments. This information is typically used to determine if the client's cursor is inside the symbol to reveal the symbol in the UI. | |
| selectionRange | back to summary |
|---|---|
| private Range selectionRange The range that should be selected and revealed when this symbol is being picked, e.g the name of a function.
Must be contained by the | |
| tags | back to summary |
|---|---|
| private List<SymbolTag> tags Tags for this document symbol. Since 3.16.0 | |
| DocumentSymbol | back to summary |
|---|---|
| public DocumentSymbol() | |
| DocumentSymbol | back to summary |
|---|---|
| public DocumentSymbol(final String name, final SymbolKind kind, final Range range, final Range selectionRange) | |
| DocumentSymbol | back to summary |
|---|---|
| public DocumentSymbol(final String name, final SymbolKind kind, final Range range, final Range selectionRange, final String detail) | |
| DocumentSymbol | back to summary |
|---|---|
| public DocumentSymbol(final String name, final SymbolKind kind, final Range range, final Range selectionRange, final String detail, final List<DocumentSymbol> children) | |
| 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.
| |
| getChildren | back to summary |
|---|---|
| public List Children of this symbol, e.g. properties of a class. | |
| getDeprecated | back to summary |
|---|---|
| public Boolean getDeprecated()
Deprecated Use Indicates if this symbol is deprecated.
| |
| getDetail | back to summary |
|---|---|
| public String getDetail() More detail for this symbol, e.g the signature of a function. If not provided the name is used. | |
| getKind | back to summary |
|---|---|
| public SymbolKind getKind() The kind of this symbol.
| |
| getName | back to summary |
|---|---|
| public String getName() The name of this symbol.
| |
| getRange | back to summary |
|---|---|
| public Range getRange() The range enclosing this symbol not including leading/trailing whitespace but everything else like comments. This information is typically used to determine if the client's cursor is inside the symbol to reveal the symbol in the UI.
| |
| getSelectionRange | back to summary |
|---|---|
| public Range getSelectionRange() The range that should be selected and revealed when this symbol is being picked, e.g the name of a function.
Must be contained by the
| |
| getTags | back to summary |
|---|---|
| public List Tags for this document symbol. Since 3.16.0 | |
| 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
| |
| setChildren | back to summary |
|---|---|
| public void setChildren(final List<DocumentSymbol> children) Children of this symbol, e.g. properties of a class. | |
| setDeprecated | back to summary |
|---|---|
| public void setDeprecated(final Boolean deprecated)
Deprecated Use Indicates if this symbol is deprecated.
| |
| setDetail | back to summary |
|---|---|
| public void setDetail(final String detail) More detail for this symbol, e.g the signature of a function. If not provided the name is used. | |
| setKind | back to summary |
|---|---|
| public void setKind(final SymbolKind kind) The kind of this symbol. | |
| setName | back to summary |
|---|---|
| public void setName(final String name) The name of this symbol. | |
| setRange | back to summary |
|---|---|
| public void setRange(final Range range) The range enclosing this symbol not including leading/trailing whitespace but everything else like comments. This information is typically used to determine if the client's cursor is inside the symbol to reveal the symbol in the UI. | |
| setSelectionRange | back to summary |
|---|---|
| public void setSelectionRange(final Range selectionRange) The range that should be selected and revealed when this symbol is being picked, e.g the name of a function.
Must be contained by the | |
| setTags | back to summary |
|---|---|
| public void setTags(final List<SymbolTag> tags) Tags for this document symbol. Since 3.16.0 | |
| 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-
| |