@enjoys/context-engine 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/codeActions/dart.json +31 -0
- package/data/codeActions/docker-compose.json +112 -0
- package/data/codeActions/kotlin.json +18 -0
- package/data/codeActions/scala.json +26 -0
- package/data/codeActions/swift.json +26 -0
- package/data/codeLens/dart.json +15 -0
- package/data/codeLens/docker-compose.json +4 -0
- package/data/codeLens/kotlin.json +10 -0
- package/data/codeLens/scala.json +18 -0
- package/data/codeLens/swift.json +15 -0
- package/data/color/dart.json +37 -0
- package/data/color/docker-compose.json +6 -0
- package/data/color/kotlin.json +12 -0
- package/data/color/scala.json +13 -0
- package/data/color/swift.json +37 -0
- package/data/commands/kotlin.json +45 -0
- package/data/commands/scala.json +171 -0
- package/data/commands/swift.json +67 -0
- package/data/completion/dart.json +1436 -0
- package/data/completion/docker-compose.json +959 -0
- package/data/completion/kotlin.json +1580 -0
- package/data/completion/scala.json +1076 -0
- package/data/completion/swift.json +1742 -0
- package/data/declaration/dart.json +25 -0
- package/data/declaration/docker-compose.json +42 -0
- package/data/declaration/kotlin.json +14 -0
- package/data/declaration/scala.json +23 -0
- package/data/declaration/swift.json +18 -0
- package/data/defination/dart.json +369 -0
- package/data/defination/docker-compose.json +347 -0
- package/data/defination/kotlin.json +789 -0
- package/data/defination/scala.json +285 -0
- package/data/defination/swift.json +551 -0
- package/data/documentHighlight/dart.json +84 -0
- package/data/documentHighlight/docker-compose.json +233 -0
- package/data/documentHighlight/kotlin.json +37 -0
- package/data/documentHighlight/scala.json +79 -0
- package/data/documentHighlight/swift.json +89 -0
- package/data/documentSymbol/dart.json +20 -0
- package/data/documentSymbol/docker-compose.json +75 -0
- package/data/documentSymbol/kotlin.json +15 -0
- package/data/documentSymbol/scala.json +21 -0
- package/data/documentSymbol/swift.json +17 -0
- package/data/formatting/dart.json +16 -0
- package/data/formatting/docker-compose.json +24 -0
- package/data/formatting/kotlin.json +14 -0
- package/data/formatting/scala.json +17 -0
- package/data/formatting/swift.json +19 -0
- package/data/hover/dart.json +161 -0
- package/data/hover/docker-compose.json +404 -0
- package/data/hover/kotlin.json +341 -0
- package/data/hover/scala.json +209 -0
- package/data/hover/swift.json +239 -0
- package/data/implementation/dart.json +14 -0
- package/data/implementation/docker-compose.json +7 -0
- package/data/implementation/kotlin.json +13 -0
- package/data/implementation/scala.json +16 -0
- package/data/implementation/swift.json +14 -0
- package/data/inlayHints/dart.json +29 -0
- package/data/inlayHints/docker-compose.json +43 -0
- package/data/inlayHints/kotlin.json +23 -0
- package/data/inlayHints/scala.json +42 -0
- package/data/inlayHints/swift.json +37 -0
- package/data/inlineCompletions/dart.json +27 -0
- package/data/inlineCompletions/docker-compose.json +89 -0
- package/data/inlineCompletions/kotlin.json +19 -0
- package/data/inlineCompletions/scala.json +26 -0
- package/data/inlineCompletions/swift.json +23 -0
- package/data/links/dart.json +16 -0
- package/data/links/docker-compose.json +47 -0
- package/data/links/kotlin.json +10 -0
- package/data/links/scala.json +17 -0
- package/data/links/swift.json +13 -0
- package/data/manifest.json +38 -0
- package/data/references/dart.json +15 -0
- package/data/references/docker-compose.json +42 -0
- package/data/references/kotlin.json +12 -0
- package/data/references/scala.json +15 -0
- package/data/references/swift.json +14 -0
- package/data/typeDefinition/dart.json +35 -0
- package/data/typeDefinition/docker-compose.json +4 -0
- package/data/typeDefinition/kotlin.json +33 -0
- package/data/typeDefinition/scala.json +52 -0
- package/data/typeDefinition/swift.json +56 -0
- package/package.json +1 -1
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "kotlin",
|
|
3
|
+
"hovers": {
|
|
4
|
+
"println": {
|
|
5
|
+
"contents": [{"value": "```kotlin\nfun println(message: Any?): Unit\n```\nPrints the given message and a newline to standard output."}]
|
|
6
|
+
},
|
|
7
|
+
"print": {
|
|
8
|
+
"contents": [{"value": "```kotlin\nfun print(message: Any?): Unit\n```\nPrints the given message to standard output without a newline."}]
|
|
9
|
+
},
|
|
10
|
+
"readLine": {
|
|
11
|
+
"contents": [{"value": "```kotlin\nfun readLine(): String?\n```\nReads a line from standard input, returns null if EOF reached."}]
|
|
12
|
+
},
|
|
13
|
+
"listOf": {
|
|
14
|
+
"contents": [{"value": "```kotlin\nfun <T> listOf(vararg elements: T): List<T>\n```\nReturns a new read-only list of given elements."}]
|
|
15
|
+
},
|
|
16
|
+
"mutableListOf": {
|
|
17
|
+
"contents": [{"value": "```kotlin\nfun <T> mutableListOf(vararg elements: T): MutableList<T>\n```\nReturns a new MutableList with the given elements."}]
|
|
18
|
+
},
|
|
19
|
+
"mapOf": {
|
|
20
|
+
"contents": [{"value": "```kotlin\nfun <K, V> mapOf(vararg pairs: Pair<K, V>): Map<K, V>\n```\nReturns a new read-only map with the specified key-value pairs."}]
|
|
21
|
+
},
|
|
22
|
+
"mutableMapOf": {
|
|
23
|
+
"contents": [{"value": "```kotlin\nfun <K, V> mutableMapOf(vararg pairs: Pair<K, V>): MutableMap<K, V>\n```\nReturns a new MutableMap with the specified key-value pairs."}]
|
|
24
|
+
},
|
|
25
|
+
"setOf": {
|
|
26
|
+
"contents": [{"value": "```kotlin\nfun <T> setOf(vararg elements: T): Set<T>\n```\nReturns a new read-only set with the given elements."}]
|
|
27
|
+
},
|
|
28
|
+
"mutableSetOf": {
|
|
29
|
+
"contents": [{"value": "```kotlin\nfun <T> mutableSetOf(vararg elements: T): MutableSet<T>\n```\nReturns a new MutableSet with the given elements."}]
|
|
30
|
+
},
|
|
31
|
+
"arrayOf": {
|
|
32
|
+
"contents": [{"value": "```kotlin\nfun <T> arrayOf(vararg elements: T): Array<T>\n```\nReturns an array containing the specified elements."}]
|
|
33
|
+
},
|
|
34
|
+
"intArrayOf": {
|
|
35
|
+
"contents": [{"value": "```kotlin\nfun intArrayOf(vararg elements: Int): IntArray\n```\nReturns an IntArray containing the specified elements."}]
|
|
36
|
+
},
|
|
37
|
+
"let": {
|
|
38
|
+
"contents": [{"value": "```kotlin\nfun <T, R> T.let(block: (T) -> R): R\n```\nCalls the specified function block with `this` value as its argument and returns its result. Often used for null checks and transformations."}]
|
|
39
|
+
},
|
|
40
|
+
"run": {
|
|
41
|
+
"contents": [{"value": "```kotlin\nfun <T, R> T.run(block: T.() -> R): R\n```\nCalls the specified function block with `this` value as its receiver and returns its result."}]
|
|
42
|
+
},
|
|
43
|
+
"with": {
|
|
44
|
+
"contents": [{"value": "```kotlin\nfun <T, R> with(receiver: T, block: T.() -> R): R\n```\nCalls the specified function block with the given receiver as `this` and returns its result."}]
|
|
45
|
+
},
|
|
46
|
+
"apply": {
|
|
47
|
+
"contents": [{"value": "```kotlin\nfun <T> T.apply(block: T.() -> Unit): T\n```\nCalls the specified function block with `this` as its receiver and returns `this`. Used for object configuration."}]
|
|
48
|
+
},
|
|
49
|
+
"also": {
|
|
50
|
+
"contents": [{"value": "```kotlin\nfun <T> T.also(block: (T) -> Unit): T\n```\nCalls the specified function block with `this` as its argument and returns `this`. Used for performing side effects."}]
|
|
51
|
+
},
|
|
52
|
+
"takeIf": {
|
|
53
|
+
"contents": [{"value": "```kotlin\nfun <T> T.takeIf(predicate: (T) -> Boolean): T?\n```\nReturns `this` if it satisfies the given predicate or null if it doesn't."}]
|
|
54
|
+
},
|
|
55
|
+
"takeUnless": {
|
|
56
|
+
"contents": [{"value": "```kotlin\nfun <T> T.takeUnless(predicate: (T) -> Boolean): T?\n```\nReturns `this` if it does NOT satisfy the given predicate or null if it does."}]
|
|
57
|
+
},
|
|
58
|
+
"repeat": {
|
|
59
|
+
"contents": [{"value": "```kotlin\nfun repeat(times: Int, action: (Int) -> Unit)\n```\nExecutes the given function action the specified number of times."}]
|
|
60
|
+
},
|
|
61
|
+
"require": {
|
|
62
|
+
"contents": [{"value": "```kotlin\nfun require(value: Boolean, lazyMessage: () -> Any): Unit\n```\nThrows an IllegalArgumentException if the value is false."}]
|
|
63
|
+
},
|
|
64
|
+
"check": {
|
|
65
|
+
"contents": [{"value": "```kotlin\nfun check(value: Boolean, lazyMessage: () -> Any): Unit\n```\nThrows an IllegalStateException if the value is false."}]
|
|
66
|
+
},
|
|
67
|
+
"error": {
|
|
68
|
+
"contents": [{"value": "```kotlin\nfun error(message: Any): Nothing\n```\nThrows an IllegalStateException with the given message."}]
|
|
69
|
+
},
|
|
70
|
+
"TODO": {
|
|
71
|
+
"contents": [{"value": "```kotlin\nfun TODO(reason: String): Nothing\n```\nAlways throws NotImplementedError stating that operation is not implemented."}]
|
|
72
|
+
},
|
|
73
|
+
"lazy": {
|
|
74
|
+
"contents": [{"value": "```kotlin\nfun <T> lazy(initializer: () -> T): Lazy<T>\n```\nCreates a new Lazy instance that uses the specified initialization function. Value computed on first access."}]
|
|
75
|
+
},
|
|
76
|
+
"sequence": {
|
|
77
|
+
"contents": [{"value": "```kotlin\nfun <T> sequence(block: suspend SequenceScope<T>.() -> Unit): Sequence<T>\n```\nBuilds a Sequence lazily yielding values one by one."}]
|
|
78
|
+
},
|
|
79
|
+
"buildList": {
|
|
80
|
+
"contents": [{"value": "```kotlin\nfun <E> buildList(builderAction: MutableList<E>.() -> Unit): List<E>\n```\nBuilds a new read-only List by populating a MutableList using the given builder action."}]
|
|
81
|
+
},
|
|
82
|
+
"buildMap": {
|
|
83
|
+
"contents": [{"value": "```kotlin\nfun <K, V> buildMap(builderAction: MutableMap<K, V>.() -> Unit): Map<K, V>\n```\nBuilds a new read-only Map by populating a MutableMap using the given builder action."}]
|
|
84
|
+
},
|
|
85
|
+
"buildSet": {
|
|
86
|
+
"contents": [{"value": "```kotlin\nfun <E> buildSet(builderAction: MutableSet<E>.() -> Unit): Set<E>\n```\nBuilds a new read-only Set by populating a MutableSet using the given builder action."}]
|
|
87
|
+
},
|
|
88
|
+
"emptyList": {
|
|
89
|
+
"contents": [{"value": "```kotlin\nfun <T> emptyList(): List<T>\n```\nReturns an empty read-only list."}]
|
|
90
|
+
},
|
|
91
|
+
"emptyMap": {
|
|
92
|
+
"contents": [{"value": "```kotlin\nfun <K, V> emptyMap(): Map<K, V>\n```\nReturns an empty read-only map."}]
|
|
93
|
+
},
|
|
94
|
+
"emptySet": {
|
|
95
|
+
"contents": [{"value": "```kotlin\nfun <T> emptySet(): Set<T>\n```\nReturns an empty read-only set."}]
|
|
96
|
+
},
|
|
97
|
+
"forEach": {
|
|
98
|
+
"contents": [{"value": "```kotlin\nfun <T> Iterable<T>.forEach(action: (T) -> Unit)\n```\nPerforms the given action on each element."}]
|
|
99
|
+
},
|
|
100
|
+
"map": {
|
|
101
|
+
"contents": [{"value": "```kotlin\nfun <T, R> Iterable<T>.map(transform: (T) -> R): List<R>\n```\nReturns a list containing the results of applying the given transform function to each element."}]
|
|
102
|
+
},
|
|
103
|
+
"filter": {
|
|
104
|
+
"contents": [{"value": "```kotlin\nfun <T> Iterable<T>.filter(predicate: (T) -> Boolean): List<T>\n```\nReturns a list containing only elements matching the given predicate."}]
|
|
105
|
+
},
|
|
106
|
+
"flatMap": {
|
|
107
|
+
"contents": [{"value": "```kotlin\nfun <T, R> Iterable<T>.flatMap(transform: (T) -> Iterable<R>): List<R>\n```\nReturns a single list of all elements yielded from results of transform function on each element."}]
|
|
108
|
+
},
|
|
109
|
+
"reduce": {
|
|
110
|
+
"contents": [{"value": "```kotlin\nfun <S, T : S> Iterable<T>.reduce(operation: (acc: S, T) -> S): S\n```\nAccumulates value starting with the first element and applying operation from left to right."}]
|
|
111
|
+
},
|
|
112
|
+
"fold": {
|
|
113
|
+
"contents": [{"value": "```kotlin\nfun <T, R> Iterable<T>.fold(initial: R, operation: (acc: R, T) -> R): R\n```\nAccumulates value starting with initial value and applying operation from left to right."}]
|
|
114
|
+
},
|
|
115
|
+
"groupBy": {
|
|
116
|
+
"contents": [{"value": "```kotlin\nfun <T, K> Iterable<T>.groupBy(keySelector: (T) -> K): Map<K, List<T>>\n```\nGroups elements of the collection by the key returned by the given function."}]
|
|
117
|
+
},
|
|
118
|
+
"sortedBy": {
|
|
119
|
+
"contents": [{"value": "```kotlin\nfun <T, R : Comparable<R>> Iterable<T>.sortedBy(selector: (T) -> R?): List<T>\n```\nReturns a list of all elements sorted according to natural sort order of the value returned by the selector."}]
|
|
120
|
+
},
|
|
121
|
+
"associate": {
|
|
122
|
+
"contents": [{"value": "```kotlin\nfun <T, K, V> Iterable<T>.associate(transform: (T) -> Pair<K, V>): Map<K, V>\n```\nReturns a Map containing key-value pairs provided by transform function applied to elements."}]
|
|
123
|
+
},
|
|
124
|
+
"first": {
|
|
125
|
+
"contents": [{"value": "```kotlin\nfun <T> Iterable<T>.first(): T\n```\nReturns the first element. Throws NoSuchElementException if the collection is empty."}]
|
|
126
|
+
},
|
|
127
|
+
"firstOrNull": {
|
|
128
|
+
"contents": [{"value": "```kotlin\nfun <T> Iterable<T>.firstOrNull(): T?\n```\nReturns the first element, or null if the collection is empty."}]
|
|
129
|
+
},
|
|
130
|
+
"any": {
|
|
131
|
+
"contents": [{"value": "```kotlin\nfun <T> Iterable<T>.any(predicate: (T) -> Boolean): Boolean\n```\nReturns true if at least one element matches the given predicate."}]
|
|
132
|
+
},
|
|
133
|
+
"all": {
|
|
134
|
+
"contents": [{"value": "```kotlin\nfun <T> Iterable<T>.all(predicate: (T) -> Boolean): Boolean\n```\nReturns true if all elements match the given predicate."}]
|
|
135
|
+
},
|
|
136
|
+
"none": {
|
|
137
|
+
"contents": [{"value": "```kotlin\nfun <T> Iterable<T>.none(predicate: (T) -> Boolean): Boolean\n```\nReturns true if no elements match the given predicate."}]
|
|
138
|
+
},
|
|
139
|
+
"count": {
|
|
140
|
+
"contents": [{"value": "```kotlin\nfun <T> Iterable<T>.count(): Int\n```\nReturns the number of elements in the collection."}]
|
|
141
|
+
},
|
|
142
|
+
"joinToString": {
|
|
143
|
+
"contents": [{"value": "```kotlin\nfun <T> Iterable<T>.joinToString(separator: CharSequence = \", \"): String\n```\nCreates a string from all the elements separated using separator."}]
|
|
144
|
+
},
|
|
145
|
+
"toList": {
|
|
146
|
+
"contents": [{"value": "```kotlin\nfun <T> Iterable<T>.toList(): List<T>\n```\nReturns a List containing all elements."}]
|
|
147
|
+
},
|
|
148
|
+
"toMutableList": {
|
|
149
|
+
"contents": [{"value": "```kotlin\nfun <T> Iterable<T>.toMutableList(): MutableList<T>\n```\nReturns a MutableList filled with all elements of this collection."}]
|
|
150
|
+
},
|
|
151
|
+
"toSet": {
|
|
152
|
+
"contents": [{"value": "```kotlin\nfun <T> Iterable<T>.toSet(): Set<T>\n```\nReturns a Set of all elements."}]
|
|
153
|
+
},
|
|
154
|
+
"toMap": {
|
|
155
|
+
"contents": [{"value": "```kotlin\nfun <K, V> Iterable<Pair<K, V>>.toMap(): Map<K, V>\n```\nReturns a new map containing all key-value pairs from the given collection of pairs."}]
|
|
156
|
+
},
|
|
157
|
+
"toInt": {
|
|
158
|
+
"contents": [{"value": "```kotlin\nfun String.toInt(): Int\n```\nParses the string as a signed Int number and returns the result. Throws NumberFormatException if not valid."}]
|
|
159
|
+
},
|
|
160
|
+
"toDouble": {
|
|
161
|
+
"contents": [{"value": "```kotlin\nfun String.toDouble(): Double\n```\nParses the string as a Double number and returns the result. Throws NumberFormatException if not valid."}]
|
|
162
|
+
},
|
|
163
|
+
"toIntOrNull": {
|
|
164
|
+
"contents": [{"value": "```kotlin\nfun String.toIntOrNull(): Int?\n```\nParses the string as a signed Int number and returns the result or null if the string is not a valid integer."}]
|
|
165
|
+
},
|
|
166
|
+
"runBlocking": {
|
|
167
|
+
"contents": [{"value": "```kotlin\nfun <T> runBlocking(block: suspend CoroutineScope.() -> T): T\n```\nRuns a new coroutine and blocks the current thread until its completion."}]
|
|
168
|
+
},
|
|
169
|
+
"launch": {
|
|
170
|
+
"contents": [{"value": "```kotlin\nfun CoroutineScope.launch(block: suspend CoroutineScope.() -> Unit): Job\n```\nLaunches a new coroutine without blocking the current thread and returns a Job."}]
|
|
171
|
+
},
|
|
172
|
+
"async": {
|
|
173
|
+
"contents": [{"value": "```kotlin\nfun <T> CoroutineScope.async(block: suspend CoroutineScope.() -> T): Deferred<T>\n```\nCreates a coroutine and returns its future result as an implementation of Deferred."}]
|
|
174
|
+
},
|
|
175
|
+
"withContext": {
|
|
176
|
+
"contents": [{"value": "```kotlin\nsuspend fun <T> withContext(context: CoroutineContext, block: suspend CoroutineScope.() -> T): T\n```\nCalls the specified suspending block with a given coroutine context and returns the result."}]
|
|
177
|
+
},
|
|
178
|
+
"delay": {
|
|
179
|
+
"contents": [{"value": "```kotlin\nsuspend fun delay(timeMillis: Long)\n```\nDelays coroutine for a given time without blocking a thread."}]
|
|
180
|
+
},
|
|
181
|
+
"fun": {
|
|
182
|
+
"contents": [{"value": "```kotlin\nfun name(params): ReturnType { }\n```\n**Keyword** — Declares a function."}]
|
|
183
|
+
},
|
|
184
|
+
"val": {
|
|
185
|
+
"contents": [{"value": "```kotlin\nval name: Type = value\n```\n**Keyword** — Declares a read-only (immutable) property or local variable."}]
|
|
186
|
+
},
|
|
187
|
+
"var": {
|
|
188
|
+
"contents": [{"value": "```kotlin\nvar name: Type = value\n```\n**Keyword** — Declares a mutable property or local variable."}]
|
|
189
|
+
},
|
|
190
|
+
"class": {
|
|
191
|
+
"contents": [{"value": "```kotlin\nclass Name(params) { }\n```\n**Keyword** — Declares a class."}]
|
|
192
|
+
},
|
|
193
|
+
"object": {
|
|
194
|
+
"contents": [{"value": "```kotlin\nobject Name { }\n```\n**Keyword** — Declares a singleton object or object expression."}]
|
|
195
|
+
},
|
|
196
|
+
"interface": {
|
|
197
|
+
"contents": [{"value": "```kotlin\ninterface Name { }\n```\n**Keyword** — Declares an interface that classes can implement."}]
|
|
198
|
+
},
|
|
199
|
+
"when": {
|
|
200
|
+
"contents": [{"value": "```kotlin\nwhen (value) {\n pattern -> result\n else -> default\n}\n```\n**Keyword** — Pattern matching expression, similar to switch in other languages."}]
|
|
201
|
+
},
|
|
202
|
+
"if": {
|
|
203
|
+
"contents": [{"value": "```kotlin\nif (condition) { } else { }\n```\n**Keyword** — Conditional expression. Can also be used as an expression that returns a value."}]
|
|
204
|
+
},
|
|
205
|
+
"for": {
|
|
206
|
+
"contents": [{"value": "```kotlin\nfor (item in collection) { }\n```\n**Keyword** — For loop that iterates through anything that provides an iterator."}]
|
|
207
|
+
},
|
|
208
|
+
"while": {
|
|
209
|
+
"contents": [{"value": "```kotlin\nwhile (condition) { }\n```\n**Keyword** — Loop that executes body while condition is true."}]
|
|
210
|
+
},
|
|
211
|
+
"return": {
|
|
212
|
+
"contents": [{"value": "**Keyword** — Returns from the nearest enclosing function. Supports labeled returns with `return@label`."}]
|
|
213
|
+
},
|
|
214
|
+
"throw": {
|
|
215
|
+
"contents": [{"value": "```kotlin\nthrow Exception(\"message\")\n```\n**Keyword** — Throws an exception. Throw expression has type Nothing."}]
|
|
216
|
+
},
|
|
217
|
+
"try": {
|
|
218
|
+
"contents": [{"value": "```kotlin\ntry { } catch (e: Exception) { } finally { }\n```\n**Keyword** — Begins a try-catch exception handling block. Can also be used as an expression."}]
|
|
219
|
+
},
|
|
220
|
+
"catch": {
|
|
221
|
+
"contents": [{"value": "**Keyword** — Handles an exception type in a try block. Kotlin does not have checked exceptions."}]
|
|
222
|
+
},
|
|
223
|
+
"finally": {
|
|
224
|
+
"contents": [{"value": "**Keyword** — Block that always executes after try/catch, regardless of whether an exception was thrown."}]
|
|
225
|
+
},
|
|
226
|
+
"suspend": {
|
|
227
|
+
"contents": [{"value": "**Keyword** — Marks a function or lambda as suspending (callable from within coroutines)."}]
|
|
228
|
+
},
|
|
229
|
+
"data": {
|
|
230
|
+
"contents": [{"value": "```kotlin\ndata class Name(val prop: Type)\n```\n**Keyword** — Marks a class as a data class. Auto-generates equals(), hashCode(), toString(), copy(), and componentN()."}]
|
|
231
|
+
},
|
|
232
|
+
"sealed": {
|
|
233
|
+
"contents": [{"value": "```kotlin\nsealed class/interface Name { }\n```\n**Keyword** — Restricts class hierarchy. All direct subclasses must be in the same package."}]
|
|
234
|
+
},
|
|
235
|
+
"enum": {
|
|
236
|
+
"contents": [{"value": "```kotlin\nenum class Name { VALUE1, VALUE2 }\n```\n**Keyword** — Declares an enum class with a fixed set of instances."}]
|
|
237
|
+
},
|
|
238
|
+
"override": {
|
|
239
|
+
"contents": [{"value": "**Keyword** — Marks a member as overriding a superclass member or interface member. Required in Kotlin."}]
|
|
240
|
+
},
|
|
241
|
+
"open": {
|
|
242
|
+
"contents": [{"value": "**Keyword** — Allows a class to be inherited from or a member to be overridden. Classes are final by default."}]
|
|
243
|
+
},
|
|
244
|
+
"abstract": {
|
|
245
|
+
"contents": [{"value": "**Keyword** — Marks a class or member as abstract. Abstract members have no implementation and must be overridden."}]
|
|
246
|
+
},
|
|
247
|
+
"companion": {
|
|
248
|
+
"contents": [{"value": "```kotlin\ncompanion object { }\n```\n**Keyword** — Declares a companion object inside a class, providing static-like members."}]
|
|
249
|
+
},
|
|
250
|
+
"inline": {
|
|
251
|
+
"contents": [{"value": "**Keyword** — Requests the compiler to inline the function and its lambda parameters at call sites."}]
|
|
252
|
+
},
|
|
253
|
+
"infix": {
|
|
254
|
+
"contents": [{"value": "**Keyword** — Allows calling a function with infix notation: `a func b` instead of `a.func(b)`."}]
|
|
255
|
+
},
|
|
256
|
+
"operator": {
|
|
257
|
+
"contents": [{"value": "**Keyword** — Marks a function as an operator overload (e.g., plus, get, invoke)."}]
|
|
258
|
+
},
|
|
259
|
+
"typealias": {
|
|
260
|
+
"contents": [{"value": "```kotlin\ntypealias Name = ExistingType\n```\n**Keyword** — Provides alternative names for existing types."}]
|
|
261
|
+
},
|
|
262
|
+
"lateinit": {
|
|
263
|
+
"contents": [{"value": "```kotlin\nlateinit var name: Type\n```\n**Keyword** — Allows initializing a non-null var property outside of a constructor body."}]
|
|
264
|
+
},
|
|
265
|
+
"const": {
|
|
266
|
+
"contents": [{"value": "```kotlin\nconst val NAME = value\n```\n**Keyword** — Marks a property as a compile-time constant. Must be top-level or companion object val of primitive/String."}]
|
|
267
|
+
},
|
|
268
|
+
"Int": {
|
|
269
|
+
"contents": [{"value": "```kotlin\nclass Int : Number, Comparable<Int>\n```\nRepresents a 32-bit signed integer. Range: -2,147,483,648 to 2,147,483,647."}]
|
|
270
|
+
},
|
|
271
|
+
"Long": {
|
|
272
|
+
"contents": [{"value": "```kotlin\nclass Long : Number, Comparable<Long>\n```\nRepresents a 64-bit signed integer."}]
|
|
273
|
+
},
|
|
274
|
+
"Double": {
|
|
275
|
+
"contents": [{"value": "```kotlin\nclass Double : Number, Comparable<Double>\n```\nRepresents a double-precision 64-bit IEEE 754 floating point number."}]
|
|
276
|
+
},
|
|
277
|
+
"Float": {
|
|
278
|
+
"contents": [{"value": "```kotlin\nclass Float : Number, Comparable<Float>\n```\nRepresents a single-precision 32-bit IEEE 754 floating point number."}]
|
|
279
|
+
},
|
|
280
|
+
"Boolean": {
|
|
281
|
+
"contents": [{"value": "```kotlin\nclass Boolean : Comparable<Boolean>\n```\nRepresents a value which is either `true` or `false`."}]
|
|
282
|
+
},
|
|
283
|
+
"String": {
|
|
284
|
+
"contents": [{"value": "```kotlin\nclass String : Comparable<String>, CharSequence\n```\nRepresents an array of characters. Strings are immutable in Kotlin."}]
|
|
285
|
+
},
|
|
286
|
+
"Char": {
|
|
287
|
+
"contents": [{"value": "```kotlin\nclass Char : Comparable<Char>\n```\nRepresents a 16-bit Unicode character."}]
|
|
288
|
+
},
|
|
289
|
+
"Unit": {
|
|
290
|
+
"contents": [{"value": "```kotlin\nobject Unit\n```\nThe type with only one value: the Unit object. Corresponds to `void` in Java."}]
|
|
291
|
+
},
|
|
292
|
+
"Nothing": {
|
|
293
|
+
"contents": [{"value": "```kotlin\nclass Nothing\n```\nNothing has no instances. Used as return type of functions that never return (e.g., throw, infinite loops)."}]
|
|
294
|
+
},
|
|
295
|
+
"Any": {
|
|
296
|
+
"contents": [{"value": "```kotlin\nopen class Any\n```\nThe root of the Kotlin class hierarchy. Every Kotlin class has `Any` as a superclass."}]
|
|
297
|
+
},
|
|
298
|
+
"Array": {
|
|
299
|
+
"contents": [{"value": "```kotlin\nclass Array<T>\n```\nRepresents an array. Use `arrayOf()` to create an array."}]
|
|
300
|
+
},
|
|
301
|
+
"List": {
|
|
302
|
+
"contents": [{"value": "```kotlin\ninterface List<out E> : Collection<E>\n```\nA generic ordered collection of elements. Read-only; use MutableList for modification."}]
|
|
303
|
+
},
|
|
304
|
+
"MutableList": {
|
|
305
|
+
"contents": [{"value": "```kotlin\ninterface MutableList<E> : List<E>, MutableCollection<E>\n```\nA generic ordered mutable collection supporting add and remove operations."}]
|
|
306
|
+
},
|
|
307
|
+
"Map": {
|
|
308
|
+
"contents": [{"value": "```kotlin\ninterface Map<K, out V>\n```\nA collection that holds pairs of objects (keys and values). Read-only."}]
|
|
309
|
+
},
|
|
310
|
+
"MutableMap": {
|
|
311
|
+
"contents": [{"value": "```kotlin\ninterface MutableMap<K, V> : Map<K, V>\n```\nA modifiable collection that holds pairs of objects and supports adding/removing entries."}]
|
|
312
|
+
},
|
|
313
|
+
"Set": {
|
|
314
|
+
"contents": [{"value": "```kotlin\ninterface Set<out E> : Collection<E>\n```\nA generic unordered collection that does not support duplicate elements. Read-only."}]
|
|
315
|
+
},
|
|
316
|
+
"MutableSet": {
|
|
317
|
+
"contents": [{"value": "```kotlin\ninterface MutableSet<E> : Set<E>, MutableCollection<E>\n```\nA modifiable collection of unique elements supporting add and remove operations."}]
|
|
318
|
+
},
|
|
319
|
+
"Pair": {
|
|
320
|
+
"contents": [{"value": "```kotlin\ndata class Pair<out A, out B>(val first: A, val second: B)\n```\nRepresents a generic pair of two values. Create with `to` infix function."}]
|
|
321
|
+
},
|
|
322
|
+
"Triple": {
|
|
323
|
+
"contents": [{"value": "```kotlin\ndata class Triple<out A, out B, out C>(val first: A, val second: B, val third: C)\n```\nRepresents a triad of three values."}]
|
|
324
|
+
},
|
|
325
|
+
"Sequence": {
|
|
326
|
+
"contents": [{"value": "```kotlin\ninterface Sequence<out T>\n```\nA sequence that returns values lazily through its iterator."}]
|
|
327
|
+
},
|
|
328
|
+
"Regex": {
|
|
329
|
+
"contents": [{"value": "```kotlin\nclass Regex\n```\nRepresents an immutable regular expression. Create with `Regex(pattern)` or `\"pattern\".toRegex()`."}]
|
|
330
|
+
},
|
|
331
|
+
"Comparable": {
|
|
332
|
+
"contents": [{"value": "```kotlin\ninterface Comparable<in T>\n```\nClasses that implement this interface have a defined total ordering between their instances."}]
|
|
333
|
+
},
|
|
334
|
+
"Iterable": {
|
|
335
|
+
"contents": [{"value": "```kotlin\ninterface Iterable<out T>\n```\nClasses that inherit from this interface can be represented as a sequence of elements that can be iterated over."}]
|
|
336
|
+
},
|
|
337
|
+
"Collection": {
|
|
338
|
+
"contents": [{"value": "```kotlin\ninterface Collection<out E> : Iterable<E>\n```\nA generic collection of elements providing read-only methods."}]
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
}
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "scala",
|
|
3
|
+
"hovers": {
|
|
4
|
+
"println": {
|
|
5
|
+
"contents": [{"value": "```scala\ndef println(x: Any): Unit\n```\nPrints a value followed by a newline to standard output."}]
|
|
6
|
+
},
|
|
7
|
+
"print": {
|
|
8
|
+
"contents": [{"value": "```scala\ndef print(x: Any): Unit\n```\nPrints a value to standard output without a trailing newline."}]
|
|
9
|
+
},
|
|
10
|
+
"require": {
|
|
11
|
+
"contents": [{"value": "```scala\ndef require(requirement: Boolean, message: => Any): Unit\n```\nTests an expression, throwing an IllegalArgumentException if false."}]
|
|
12
|
+
},
|
|
13
|
+
"assert": {
|
|
14
|
+
"contents": [{"value": "```scala\ndef assert(assertion: Boolean, message: => Any): Unit\n```\nTests an expression, throwing an AssertionError if false."}]
|
|
15
|
+
},
|
|
16
|
+
"sys.exit": {
|
|
17
|
+
"contents": [{"value": "```scala\ndef exit(status: Int): Nothing\n```\nTerminates the currently running JVM with the given status code."}]
|
|
18
|
+
},
|
|
19
|
+
"sys.error": {
|
|
20
|
+
"contents": [{"value": "```scala\ndef error(message: String): Nothing\n```\nThrows a RuntimeException with the given message."}]
|
|
21
|
+
},
|
|
22
|
+
"Some": {
|
|
23
|
+
"contents": [{"value": "```scala\ncase class Some[+A](value: A) extends Option[A]\n```\nRepresents an Option that contains a value."}]
|
|
24
|
+
},
|
|
25
|
+
"None": {
|
|
26
|
+
"contents": [{"value": "```scala\nobject None extends Option[Nothing]\n```\nRepresents the absence of a value in an Option."}]
|
|
27
|
+
},
|
|
28
|
+
"Left": {
|
|
29
|
+
"contents": [{"value": "```scala\ncase class Left[+A, +B](value: A) extends Either[A, B]\n```\nThe left side of an Either, conventionally used for errors."}]
|
|
30
|
+
},
|
|
31
|
+
"Right": {
|
|
32
|
+
"contents": [{"value": "```scala\ncase class Right[+A, +B](value: B) extends Either[A, B]\n```\nThe right side of an Either, conventionally used for success values."}]
|
|
33
|
+
},
|
|
34
|
+
"Nil": {
|
|
35
|
+
"contents": [{"value": "```scala\nobject Nil extends List[Nothing]\n```\nThe empty list."}]
|
|
36
|
+
},
|
|
37
|
+
"List": {
|
|
38
|
+
"contents": [{"value": "```scala\nsealed abstract class List[+A] extends AbstractSeq[A]\n```\nAn immutable linked list. Optimal for sequential access patterns."}]
|
|
39
|
+
},
|
|
40
|
+
"Map": {
|
|
41
|
+
"contents": [{"value": "```scala\ntrait Map[K, +V] extends Iterable[(K, V)]\n```\nAn immutable collection of key-value pairs with unique keys."}]
|
|
42
|
+
},
|
|
43
|
+
"Set": {
|
|
44
|
+
"contents": [{"value": "```scala\ntrait Set[A] extends Iterable[A]\n```\nAn immutable collection of unique elements."}]
|
|
45
|
+
},
|
|
46
|
+
"Vector": {
|
|
47
|
+
"contents": [{"value": "```scala\nclass Vector[+A] extends AbstractSeq[A] with IndexedSeq[A]\n```\nAn immutable indexed sequence with effectively constant random access."}]
|
|
48
|
+
},
|
|
49
|
+
"Array": {
|
|
50
|
+
"contents": [{"value": "```scala\nfinal class Array[T] extends Serializable with Cloneable\n```\nA mutable, indexed sequence backed by a Java array."}]
|
|
51
|
+
},
|
|
52
|
+
"Option": {
|
|
53
|
+
"contents": [{"value": "```scala\nsealed abstract class Option[+A] extends IterableOnce[A]\n```\nRepresents an optional value: either Some(value) or None."}]
|
|
54
|
+
},
|
|
55
|
+
"Either": {
|
|
56
|
+
"contents": [{"value": "```scala\nsealed abstract class Either[+A, +B]\n```\nRepresents a value of one of two possible types: Left[A] or Right[B]."}]
|
|
57
|
+
},
|
|
58
|
+
"Try": {
|
|
59
|
+
"contents": [{"value": "```scala\nsealed abstract class Try[+T]\n```\nWraps a computation that may throw. Either Success(value) or Failure(exception)."}]
|
|
60
|
+
},
|
|
61
|
+
"Success": {
|
|
62
|
+
"contents": [{"value": "```scala\ncase class Success[+T](value: T) extends Try[T]\n```\nRepresents the successful result of a Try computation."}]
|
|
63
|
+
},
|
|
64
|
+
"Failure": {
|
|
65
|
+
"contents": [{"value": "```scala\ncase class Failure[+T](exception: Throwable) extends Try[T]\n```\nRepresents a failed Try computation containing the thrown exception."}]
|
|
66
|
+
},
|
|
67
|
+
"Future": {
|
|
68
|
+
"contents": [{"value": "```scala\ntrait Future[+T] extends Awaitable[T]\n```\nRepresents a value which may not yet be available. Provides combinators for asynchronous programming."}]
|
|
69
|
+
},
|
|
70
|
+
"Promise": {
|
|
71
|
+
"contents": [{"value": "```scala\ntrait Promise[T]\n```\nA writable, single-assignment container that completes a Future."}]
|
|
72
|
+
},
|
|
73
|
+
"Stream": {
|
|
74
|
+
"contents": [{"value": "```scala\nabstract class Stream[+A] extends AbstractSeq[A] with LazyList[A]\n```\nA lazily evaluated list (deprecated since 2.13, use LazyList)."}]
|
|
75
|
+
},
|
|
76
|
+
"LazyList": {
|
|
77
|
+
"contents": [{"value": "```scala\nclass LazyList[+A] extends AbstractSeq[A]\n```\nA lazily evaluated immutable linked list. Elements are computed on demand."}]
|
|
78
|
+
},
|
|
79
|
+
"Range": {
|
|
80
|
+
"contents": [{"value": "```scala\nclass Range(start: Int, end: Int, step: Int) extends AbstractSeq[Int] with IndexedSeq[Int]\n```\nAn ordered sequence of integers defined by start, end, and step."}]
|
|
81
|
+
},
|
|
82
|
+
"Seq": {
|
|
83
|
+
"contents": [{"value": "```scala\ntrait Seq[+A] extends Iterable[A]\n```\nA general sequence type. Default implementation is List."}]
|
|
84
|
+
},
|
|
85
|
+
"IndexedSeq": {
|
|
86
|
+
"contents": [{"value": "```scala\ntrait IndexedSeq[+A] extends Seq[A]\n```\nA sequence with efficient indexed access. Default implementation is Vector."}]
|
|
87
|
+
},
|
|
88
|
+
"Iterator": {
|
|
89
|
+
"contents": [{"value": "```scala\ntrait Iterator[+A] extends IterableOnce[A]\n```\nA data structure for iterating lazily over a collection of elements."}]
|
|
90
|
+
},
|
|
91
|
+
"Tuple": {
|
|
92
|
+
"contents": [{"value": "```scala\n(A, B, C, ...)\n```\nA tuple is a heterogeneous, fixed-size container holding elements of different types."}]
|
|
93
|
+
},
|
|
94
|
+
"Int": {
|
|
95
|
+
"contents": [{"value": "```scala\nabstract final class Int extends AnyVal\n```\n32-bit signed integer. Range: -2,147,483,648 to 2,147,483,647."}]
|
|
96
|
+
},
|
|
97
|
+
"Long": {
|
|
98
|
+
"contents": [{"value": "```scala\nabstract final class Long extends AnyVal\n```\n64-bit signed integer."}]
|
|
99
|
+
},
|
|
100
|
+
"Short": {
|
|
101
|
+
"contents": [{"value": "```scala\nabstract final class Short extends AnyVal\n```\n16-bit signed integer."}]
|
|
102
|
+
},
|
|
103
|
+
"Byte": {
|
|
104
|
+
"contents": [{"value": "```scala\nabstract final class Byte extends AnyVal\n```\n8-bit signed integer."}]
|
|
105
|
+
},
|
|
106
|
+
"Float": {
|
|
107
|
+
"contents": [{"value": "```scala\nabstract final class Float extends AnyVal\n```\n32-bit IEEE 754 single-precision float."}]
|
|
108
|
+
},
|
|
109
|
+
"Double": {
|
|
110
|
+
"contents": [{"value": "```scala\nabstract final class Double extends AnyVal\n```\n64-bit IEEE 754 double-precision float."}]
|
|
111
|
+
},
|
|
112
|
+
"Boolean": {
|
|
113
|
+
"contents": [{"value": "```scala\nabstract final class Boolean extends AnyVal\n```\nRepresents true/false values."}]
|
|
114
|
+
},
|
|
115
|
+
"Char": {
|
|
116
|
+
"contents": [{"value": "```scala\nabstract final class Char extends AnyVal\n```\n16-bit unsigned Unicode character."}]
|
|
117
|
+
},
|
|
118
|
+
"String": {
|
|
119
|
+
"contents": [{"value": "```scala\ntype String = java.lang.String\n```\nAn immutable sequence of characters."}]
|
|
120
|
+
},
|
|
121
|
+
"Unit": {
|
|
122
|
+
"contents": [{"value": "```scala\nabstract final class Unit extends AnyVal\n```\nThe unit value (). Similar to void in Java."}]
|
|
123
|
+
},
|
|
124
|
+
"Nothing": {
|
|
125
|
+
"contents": [{"value": "```scala\nabstract final class Nothing\n```\nThe bottom type. Subtype of every other type. No instances exist."}]
|
|
126
|
+
},
|
|
127
|
+
"Null": {
|
|
128
|
+
"contents": [{"value": "```scala\nabstract final class Null\n```\nThe type of the null reference. Subtype of all reference types."}]
|
|
129
|
+
},
|
|
130
|
+
"Any": {
|
|
131
|
+
"contents": [{"value": "```scala\nabstract class Any\n```\nThe root of the Scala type hierarchy. Every type is a subtype of Any."}]
|
|
132
|
+
},
|
|
133
|
+
"AnyRef": {
|
|
134
|
+
"contents": [{"value": "```scala\ntype AnyRef = java.lang.Object\n```\nThe root of all reference types. Equivalent to java.lang.Object."}]
|
|
135
|
+
},
|
|
136
|
+
"AnyVal": {
|
|
137
|
+
"contents": [{"value": "```scala\nabstract class AnyVal extends Any\n```\nThe root of all value types (Int, Double, Boolean, etc.)."}]
|
|
138
|
+
},
|
|
139
|
+
"implicitly": {
|
|
140
|
+
"contents": [{"value": "```scala\ndef implicitly[T](implicit e: T): T\n```\nSummons an implicit value of the given type from scope."}]
|
|
141
|
+
},
|
|
142
|
+
"summon": {
|
|
143
|
+
"contents": [{"value": "```scala\ndef summon[T](using x: T): T\n```\nSummons a given instance of the specified type (Scala 3)."}]
|
|
144
|
+
},
|
|
145
|
+
"identity": {
|
|
146
|
+
"contents": [{"value": "```scala\ndef identity[A](x: A): A\n```\nThe identity function; returns its argument unchanged."}]
|
|
147
|
+
},
|
|
148
|
+
"classOf": {
|
|
149
|
+
"contents": [{"value": "```scala\ndef classOf[T]: Class[T]\n```\nReturns the runtime Class object for the given type."}]
|
|
150
|
+
},
|
|
151
|
+
"isInstanceOf": {
|
|
152
|
+
"contents": [{"value": "```scala\ndef isInstanceOf[T]: Boolean\n```\nTests whether the object is an instance of the given type at runtime."}]
|
|
153
|
+
},
|
|
154
|
+
"asInstanceOf": {
|
|
155
|
+
"contents": [{"value": "```scala\ndef asInstanceOf[T]: T\n```\nCasts the object to the given type. Throws ClassCastException if invalid."}]
|
|
156
|
+
},
|
|
157
|
+
"toString": {
|
|
158
|
+
"contents": [{"value": "```scala\ndef toString: String\n```\nReturns a string representation of the object."}]
|
|
159
|
+
},
|
|
160
|
+
"hashCode": {
|
|
161
|
+
"contents": [{"value": "```scala\ndef hashCode: Int\n```\nReturns a hash code value for the object."}]
|
|
162
|
+
},
|
|
163
|
+
"equals": {
|
|
164
|
+
"contents": [{"value": "```scala\ndef equals(that: Any): Boolean\n```\nCompares this object with another for equality."}]
|
|
165
|
+
},
|
|
166
|
+
"Future.apply": {
|
|
167
|
+
"contents": [{"value": "```scala\ndef apply[T](body: => T)(implicit executor: ExecutionContext): Future[T]\n```\nStarts an asynchronous computation and returns a Future holding the result."}]
|
|
168
|
+
},
|
|
169
|
+
"Future.sequence": {
|
|
170
|
+
"contents": [{"value": "```scala\ndef sequence[A](in: IterableOnce[Future[A]])(implicit executor: ExecutionContext): Future[List[A]]\n```\nTransforms a collection of Futures into a Future of a collection."}]
|
|
171
|
+
},
|
|
172
|
+
"Future.successful": {
|
|
173
|
+
"contents": [{"value": "```scala\ndef successful[T](result: T): Future[T]\n```\nCreates an already completed Future with the given value."}]
|
|
174
|
+
},
|
|
175
|
+
"Future.failed": {
|
|
176
|
+
"contents": [{"value": "```scala\ndef failed[T](exception: Throwable): Future[T]\n```\nCreates an already failed Future with the given exception."}]
|
|
177
|
+
},
|
|
178
|
+
"Await.result": {
|
|
179
|
+
"contents": [{"value": "```scala\ndef result[T](awaitable: Awaitable[T], atMost: Duration): T\n```\nBlocks until the awaitable completes or the timeout expires."}]
|
|
180
|
+
},
|
|
181
|
+
"Source.fromFile": {
|
|
182
|
+
"contents": [{"value": "```scala\ndef fromFile(name: String)(implicit codec: Codec): BufferedSource\n```\nCreates a source from the given filename for reading text."}]
|
|
183
|
+
},
|
|
184
|
+
"Using": {
|
|
185
|
+
"contents": [{"value": "```scala\nobject Using\ndef apply[R: Releasable, A](resource: => R)(f: R => A): Try[A]\n```\nPerforms an operation using a resource, ensuring cleanup."}]
|
|
186
|
+
},
|
|
187
|
+
"Ordering": {
|
|
188
|
+
"contents": [{"value": "```scala\ntrait Ordering[T] extends Comparator[T]\n```\nType class for defining comparison/ordering on types."}]
|
|
189
|
+
},
|
|
190
|
+
"Ordering.by": {
|
|
191
|
+
"contents": [{"value": "```scala\ndef by[T, S](f: T => S)(implicit ord: Ordering[S]): Ordering[T]\n```\nCreates an ordering based on a mapping function."}]
|
|
192
|
+
},
|
|
193
|
+
"locally": {
|
|
194
|
+
"contents": [{"value": "```scala\ndef locally[T](x: T): T\n```\nUsed to create a local block for clarity without introducing a new scope."}]
|
|
195
|
+
},
|
|
196
|
+
"PartialFunction": {
|
|
197
|
+
"contents": [{"value": "```scala\ntrait PartialFunction[-A, +B] extends (A => B)\n```\nA function defined only for certain input values. Supports isDefinedAt."}]
|
|
198
|
+
},
|
|
199
|
+
"ListBuffer": {
|
|
200
|
+
"contents": [{"value": "```scala\nclass ListBuffer[A] extends AbstractBuffer[A]\n```\nA mutable buffer backed by a list. Efficient for sequential building."}]
|
|
201
|
+
},
|
|
202
|
+
"ArrayBuffer": {
|
|
203
|
+
"contents": [{"value": "```scala\nclass ArrayBuffer[A] extends AbstractBuffer[A] with IndexedSeq[A]\n```\nA mutable buffer backed by a resizable array."}]
|
|
204
|
+
},
|
|
205
|
+
"StringBuilder": {
|
|
206
|
+
"contents": [{"value": "```scala\nclass StringBuilder extends AbstractSeq[Char]\n```\nA mutable builder for efficiently constructing strings."}]
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|