Expand description
Core data types for normalize facts.
This crate defines the vocabulary for code facts - symbols, imports, exports, and related metadata. These types are used by:
normalize-factsfor extraction and storagenormalize-facts-rules-apifor analysis rulesnormalize-languagesfor language-specific extraction
Structs§
- Export
- An export declaration
- Flat
Import - A flattened import for indexing (one entry per imported name)
- Flat
Symbol - A flattened symbol for indexing (parent reference instead of nested children)
- Import
- An import statement
- Indexed
File - Metadata about an indexed file
- Symbol
- A code symbol extracted from source
- TypeRef
- A type-to-type reference extracted from source code.
Enums§
- Symbol
Kind - Symbol kind classification
- Type
RefKind - The kind of type reference relationship.
- Visibility
- Symbol visibility