Swift indexer plugin for CodeMap
Project description
codemap-swift
A Swift indexer for CodeMap, shipped as an independent PyPI package.
What it captures
Backed by tree-sitter-swift:
| AST node | Symbol kind |
|---|---|
class_declaration (keyword class) |
class (with extra.swift_kind=class) |
class_declaration (keyword struct) |
class (with extra.swift_kind=struct) |
class_declaration (keyword enum) |
class (with extra.swift_kind=enum) |
protocol_declaration |
class (with extra.swift_kind=protocol) |
function_declaration |
function (free) or method (inside type) |
init_declaration |
method (signature prefixed with init) |
property_declaration (top-level) |
variable |
property_declaration (inside type) |
field |
Install
pip install "git+https://github.com/qxbyte/codemap.git#subdirectory=plugins/codemap-swift"
SymbolID encoding
scip-swift . . . src/User.swift/User#hello().
Limits
- Extensions (
extension User { ... }) are not yet tracked. - Generic-parameter descriptors are dropped.
- Property wrappers are ignored.
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
codemap_swift-0.1.0a1.tar.gz
(4.7 kB
view details)
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_swift-0.1.0a1.tar.gz.
File metadata
- Download URL: codemap_swift-0.1.0a1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29a6e348e2f5489f6fb4259d733ff1b3d776e4c8a8ff0e44270d6ddf98019f43
|
|
| MD5 |
b20486b3de262506d744f2c638347300
|
|
| BLAKE2b-256 |
8d26cd126cfef4f5e4d4879e9215c5f4b75e8434c93c62934b8bf4034acf0b7a
|
File details
Details for the file codemap_swift-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: codemap_swift-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 4.5 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 |
68375143e95103af8effc848a7b845dbf70d48ee4426cec533e6cc5a3834ab26
|
|
| MD5 |
10aa9f61a6b89ee355a92dd3961f930b
|
|
| BLAKE2b-256 |
813e4999d828b5d60418feaf3443239df4068c98e5c125f31b06dc7477f649b6
|