Skip to main content

C++ language indexer plugin for CodeMap

Project description

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.

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_cpp-0.3.0.tar.gz (5.6 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.3.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for codemap_cpp-0.3.0.tar.gz
Algorithm Hash digest
SHA256 5c06f7fe667c72dda6a91c20a0b424f643faafdd2d0b4fb6b1aac9e19ebd1e05
MD5 b3124434af32c216c0c8d112d51e4fa8
BLAKE2b-256 08c126c3549f9b876d3c17517db8c1ad8c84b1e4531dded01aab8b3cc5ba9146

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for codemap_cpp-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 229ff9dfc8c85ddddf69c583105a1ed5c7c4891f3291f02c9d758bfeae34f918
MD5 b3515dbdd682a4107ce2f80b6e6f752d
BLAKE2b-256 d22e4e3659455f280eef640bac81f01bc1b1ff387bdb2acc1ad7f3c4504f9e8d

See more details on using hashes here.

Provenance

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