Skip to content

Commit 87d7fa2

Browse files
committed
Add custom symbol model for index
1 parent a3baf09 commit 87d7fa2

File tree

1 file changed

+16
-0
lines changed
  • server/src/main/kotlin/org/javacs/kt/index

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package org.javacs.kt.index
2+
3+
import org.jetbrains.kotlin.name.FqName
4+
5+
data class Symbol(
6+
// TODO: Store location (e.g. using a URI)
7+
private val fqName: FqName,
8+
private val kind: Kind
9+
) {
10+
enum class Kind {
11+
CLASS,
12+
INTERFACE,
13+
FUNCTION,
14+
VARIABLE
15+
}
16+
}

0 commit comments

Comments
 (0)