Expand description
Core Data Structures for Semantic Index
All structures use #[repr(C)] for mmap compatibility and predictable memory layout. This enables zero-copy loading via memory-mapped files.
@module trace/types
Structs§
- Edge
- A call graph edge from one symbol to another
- Reference
- A reference from a token to a symbol
- Scope
- A scope node in the scope tree
- Symbol
- A code symbol definition (function, class, method, etc.)
- Symbol
Flags - Flags for symbol metadata
- Token
- A token (identifier) occurrence in the source code
Enums§
- RefKind
- Classification of symbol references
- Scope
Kind - Classification of scope types
- Symbol
Kind - Classification of symbol definitions
- Token
Kind - Classification of tokens (identifiers)
Constants§
- NO_
PARENT_ SCOPE - Sentinel value for root scope (no parent)