@@ -43,32 +43,32 @@ public struct DocumentSymbol: Hashable, Codable, ResponseType {
43
43
44
44
/// The name of this symbol. Will be displayed in the user interface and therefore must not be
45
45
/// an empty string or a string only consisting of white spaces.
46
- var name : String
46
+ public var name : String
47
47
48
48
/// More detail for this symbol, e.g the signature of a function.
49
- var detail : String ?
49
+ public var detail : String ?
50
50
51
51
/// The kind of this symbol.
52
- var kind : SymbolKind
52
+ public var kind : SymbolKind
53
53
54
54
/// Indicates if this symbol is deprecated.
55
- var deprecated : Bool ?
55
+ public var deprecated : Bool ?
56
56
57
57
/// The range enclosing this symbol not including leading/trailing whitespace but everything else
58
58
/// like comments. This information is typically used to determine if the clients cursor is
59
59
/// inside the symbol to reveal in the symbol in the UI.
60
60
@CustomCodable < PositionRange >
61
- var range : Range < Position >
61
+ public var range : Range < Position >
62
62
63
63
/// The range that should be selected and revealed when this symbol is being picked,
64
64
/// e.g the name of a function.
65
65
///
66
66
/// Must be contained by the `range`.
67
67
@CustomCodable < PositionRange >
68
- var selectionRange : Range < Position >
68
+ public var selectionRange : Range < Position >
69
69
70
70
/// Children of this symbol, e.g. properties of a class.
71
- var children : [ DocumentSymbol ] ?
71
+ public var children : [ DocumentSymbol ] ?
72
72
73
73
public init (
74
74
name: String ,
0 commit comments