Skip to main content

codemap-cpp

A C++ language indexer for CodeMap, shipped as an independent PyPI package.

What it captures

Backed by tree-sitter-cpp:

AST node Symbol kind
namespace_definition namespace prefix (recursed into)
class_specifier (named, with body) class (extra.cpp_kind=class)
struct_specifier (named, with body) class (extra.cpp_kind=struct)
union_specifier (named, with body) class (extra.cpp_kind=union)
enum_specifier class (extra.cpp_kind=enum)
function_definition (top-level or in namespace) function
function_definition (inside class body) method
field_declaration (data member) field
template_declaration wrapping any of the above unwraps to the inner declaration

Install

pip install codemap-cpp

File patterns

  • *.cpp, *.cc, *.cxx, *.hpp, *.hh, *.hxx

Limits

  • Out-of-class method definitions (void Foo::bar() { ... }) appear as free functions, not as members of Foo.
  • using declarations and aliases are not emitted as symbols.
  • Macro-only #define constants are not captured (see codemap-c).

License

MIT.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codemap_cpp-0.4.10.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

codemap_cpp-0.4.10-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file codemap_cpp-0.4.10.tar.gz.

File metadata

  • Download URL: codemap_cpp-0.4.10.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for codemap_cpp-0.4.10.tar.gz
Algorithm Hash digest
SHA256 29e2393d6a5bb1be3ba8b193eac961c50c18bef044f5668d8bdbe96be623f7d5
MD5 2e09712ea4424b8b3373ea64d5414463
BLAKE2b-256 a37bed98161f4e16b1140f12bf235b8cf82d9f9e0a8fe6fc4e93728d84bd9646

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_cpp-0.4.10.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_cpp-0.4.10-py3-none-any.whl.

File metadata

  • Download URL: codemap_cpp-0.4.10-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for codemap_cpp-0.4.10-py3-none-any.whl
Algorithm Hash digest
SHA256 a03768fe432353a9fbd5625670f12d00430ee4f44598439d9a5bb57e89d8f336
MD5 24afd3b333037d180194ab18445c2d62
BLAKE2b-256 8cad287d391f121701bda2b96e7faba1e7feec9252379f513cf4fbb6bf1ad166

See more details on using hashes here.

Provenance

The following attestation bundles were made for codemap_cpp-0.4.10-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.

Release history Release notifications | RSS feed

This release

0.4.10 This release

2 files

0.4.6

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.2

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page