Skip to main content

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 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


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.4.4.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codemap_swift-0.4.4-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file codemap_swift-0.4.4.tar.gz.

File metadata

  • Download URL: codemap_swift-0.4.4.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for codemap_swift-0.4.4.tar.gz
Algorithm Hash digest
SHA256 cfd84788247c83f31c1dcbbcf8f8e1885ec0450573c746d6ef0b8c1586afc7ea
MD5 be5b97a609e7db2e716c3bd5db9d97ad
BLAKE2b-256 0f890c7a5c33416ee81a99c1cda475360f050655bfc616d30429de110575fddd

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_swift-0.4.4.tar.gz:

Publisher: publish.yml on qxbyte/codemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file codemap_swift-0.4.4-py3-none-any.whl.

File metadata

  • Download URL: codemap_swift-0.4.4-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for codemap_swift-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b1b5b3d683067768b661f5b8304a90c77c390d11d89ee22bbdde05b0fe9b7aea
MD5 87ccf4ab0b8d69b51b15839fe91f4bfb
BLAKE2b-256 dfd6df15833729e2e4bee25d36718068a0dae59b444bc8d0eb0b577c958f7cff

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_swift-0.4.4-py3-none-any.whl:

Publisher: publish.yml on qxbyte/codemap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page