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 ofFoo. usingdeclarations and aliases are not emitted as symbols.- Macro-only
#defineconstants are not captured (seecodemap-c).
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_cpp-0.4.6.tar.gz.
File metadata
- Download URL: codemap_cpp-0.4.6.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9236592b5abaf74071787881b07bd8f0e1506088ae8bd828a716718951cec978
|
|
| MD5 |
e3108804eb0a093b5142799fb467743f
|
|
| BLAKE2b-256 |
1f2cb0e866c03c2876f14b4ca2ffd68529cdc81104f3f0aa158700d82440b876
|
Provenance
The following attestation bundles were made for codemap_cpp-0.4.6.tar.gz:
Publisher:
publish.yml on qxbyte/codemap
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
codemap_cpp-0.4.6.tar.gz -
Subject digest:
9236592b5abaf74071787881b07bd8f0e1506088ae8bd828a716718951cec978 - Sigstore transparency entry: 1989228172
- Sigstore integration time:
-
Permalink:
qxbyte/codemap@acf63040bf8f81b71fbdb29a54b1d23af61b95ee -
Branch / Tag:
refs/tags/v0.4.6 - Owner: https://github.com/qxbyte
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@acf63040bf8f81b71fbdb29a54b1d23af61b95ee -
Trigger Event:
push
-
Statement type:
File details
Details for the file codemap_cpp-0.4.6-py3-none-any.whl.
File metadata
- Download URL: codemap_cpp-0.4.6-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b86d3fdb2290a2c20048d77576ea399b2b3d5f44f49a690ab4cb152e233ef76b
|
|
| MD5 |
a8be7ea00ce71f773b0700943dad4a1c
|
|
| BLAKE2b-256 |
028a3ac537402ace6ba0df49d5811d500bcf96ab74a124a76db16a13718a70dd
|
Provenance
The following attestation bundles were made for codemap_cpp-0.4.6-py3-none-any.whl:
Publisher:
publish.yml on qxbyte/codemap
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
codemap_cpp-0.4.6-py3-none-any.whl -
Subject digest:
b86d3fdb2290a2c20048d77576ea399b2b3d5f44f49a690ab4cb152e233ef76b - Sigstore transparency entry: 1989228446
- Sigstore integration time:
-
Permalink:
qxbyte/codemap@acf63040bf8f81b71fbdb29a54b1d23af61b95ee -
Branch / Tag:
refs/tags/v0.4.6 - Owner: https://github.com/qxbyte
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@acf63040bf8f81b71fbdb29a54b1d23af61b95ee -
Trigger Event:
push
-
Statement type: