Module types

Module types 

Source
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.)
SymbolFlags
Flags for symbol metadata
Token
A token (identifier) occurrence in the source code

Enums§

RefKind
Classification of symbol references
ScopeKind
Classification of scope types
SymbolKind
Classification of symbol definitions
TokenKind
Classification of tokens (identifiers)

Constants§

NO_PARENT_SCOPE
Sentinel value for root scope (no parent)