Kotlin indexer plugin for CodeMap
Project description
codemap-kotlin
A Kotlin indexer for CodeMap, shipped as an independent PyPI package.
What it captures
Backed by tree-sitter-kotlin:
| AST node | Symbol kind |
|---|---|
class_declaration (keyword class) |
class (with extra.kotlin_kind=class) |
class_declaration (keyword interface) |
class (with extra.kotlin_kind=interface) |
object_declaration |
class (with extra.kotlin_kind=object) |
function_declaration (free) |
function |
function_declaration (inside type) |
method |
property_declaration (top-level) |
variable |
property_declaration (inside type) |
field |
package_header is captured as extra.package on type symbols.
Install
pip install "git+https://github.com/qxbyte/codemap.git#subdirectory=plugins/codemap-kotlin"
SymbolID encoding
scip-kotlin . . . src/main/kotlin/User.kt/User#hello().
Limits
- Companion object members are not attached to the enclosing class.
- Generic-parameter descriptors are dropped.
License
MIT.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file codemap_kotlin-0.1.0a1.tar.gz.
File metadata
- Download URL: codemap_kotlin-0.1.0a1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae4f16ad2c4d361cdee3c56ea426fafec8e764a3e4eb027d9c20dd77532c67d2
|
|
| MD5 |
23f3160f6a2160450e1f3405b3c0e5bd
|
|
| BLAKE2b-256 |
fb2308570578062f4d77a75b1176a3982b659245e1b2cac60ac9898d450a3a67
|
File details
Details for the file codemap_kotlin-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: codemap_kotlin-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a88bf3a83a09013477975b4429a728e8be35b11ebfea3c74d16cb6d735a79e1
|
|
| MD5 |
3047c28f1779896470a375e4864dc5f9
|
|
| BLAKE2b-256 |
b078962c930ba0666d63579580cfe9bb9d71e2112998eb33d1bd6e0bdcfb8d73
|