lsp / org.pinelang.lsp.lsp.models / DocumentSymbol / <init>
<init>¶
DocumentSymbol(name:
String
, detail:
String
, kind:
SymbolKind
, deprecated:
Boolean
?, range:
Range
, selectionRange:
Range
, children:
List
<
DocumentSymbol
>?)
Represents programming constructs like variables, classes, interfaces etc. that appear in a document. Document symbols can be hierarchical and they have two ranges: one that encloses its definition and one that points to its most interesting range, e.g. the range of an identifier.