Expand description
Cpp GraphBuilder implementation for code graph construction.
Extracts Cpp-specific relationships:
- Class definitions (regular, template, sealed, objects, companion objects)
- Function definitions (regular, virtual, inline, extension functions)
- Call expressions (regular calls, method calls, extension calls)
- Inheritance (class/struct inheritance via Inherits edges)
- Interface implementation (Implements edges for classes implementing pure virtual interfaces)
- FFI declarations (extern “C” blocks via
FfiCalledges)
§Multi-Pass Strategy
- Pass 1: Extract class/object definitions → Create Class nodes
- Pass 2: Extract function/property definitions → Create Function nodes
- Pass 3: Extract call expressions → Create Call edges
- Pass 4: Extract FFI declarations → Create FFI function nodes
Structs§
- CppGraph
Builder - Cpp-specific
GraphBuilderimplementation.