public class DocumentSymbol
extends java.lang.Object
Constructor and Description |
---|
DocumentSymbol() |
DocumentSymbol(java.lang.String name,
SymbolKind kind,
Range range,
Range selectionRange) |
DocumentSymbol(java.lang.String name,
SymbolKind kind,
Range range,
Range selectionRange,
java.lang.String detail) |
DocumentSymbol(java.lang.String name,
SymbolKind kind,
Range range,
Range selectionRange,
java.lang.String detail,
java.util.List<DocumentSymbol> children) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<DocumentSymbol> |
getChildren()
Children of this symbol, e.g.
|
java.lang.Boolean |
getDeprecated()
Indicates if this symbol is deprecated.
|
java.lang.String |
getDetail()
More detail for this symbol, e.g the signature of a function.
|
SymbolKind |
getKind()
The kind of this symbol.
|
java.lang.String |
getName()
The name of this symbol.
|
Range |
getRange()
The range enclosing this symbol not including leading/trailing whitespace but everything else
like comments.
|
Range |
getSelectionRange()
The range that should be selected and revealed when this symbol is being picked, e.g the name of a function.
|
int |
hashCode() |
void |
setChildren(java.util.List<DocumentSymbol> children)
Children of this symbol, e.g.
|
void |
setDeprecated(java.lang.Boolean deprecated)
Indicates if this symbol is deprecated.
|
void |
setDetail(java.lang.String detail)
More detail for this symbol, e.g the signature of a function.
|
void |
setKind(SymbolKind kind)
The kind of this symbol.
|
void |
setName(java.lang.String name)
The name of this symbol.
|
void |
setRange(Range range)
The range enclosing this symbol not including leading/trailing whitespace but everything else
like comments.
|
void |
setSelectionRange(Range selectionRange)
The range that should be selected and revealed when this symbol is being picked, e.g the name of a function.
|
java.lang.String |
toString() |
public DocumentSymbol()
public DocumentSymbol(java.lang.String name, SymbolKind kind, Range range, Range selectionRange)
public DocumentSymbol(java.lang.String name, SymbolKind kind, Range range, Range selectionRange, java.lang.String detail)
public DocumentSymbol(java.lang.String name, SymbolKind kind, Range range, Range selectionRange, java.lang.String detail, java.util.List<DocumentSymbol> children)
@Pure public java.lang.String getName()
public void setName(java.lang.String name)
@Pure public SymbolKind getKind()
public void setKind(SymbolKind kind)
@Pure public Range getRange()
public void setRange(Range range)
@Pure public Range getSelectionRange()
public void setSelectionRange(Range selectionRange)
@Pure public java.lang.String getDetail()
public void setDetail(java.lang.String detail)
@Pure public java.lang.Boolean getDeprecated()
public void setDeprecated(java.lang.Boolean deprecated)
@Pure public java.util.List<DocumentSymbol> getChildren()
public void setChildren(java.util.List<DocumentSymbol> children)
@Pure public java.lang.String toString()
toString
in class java.lang.Object
@Pure public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
@Pure public int hashCode()
hashCode
in class java.lang.Object