Module cairo_lang_semantic::types
source · Structs
Enums
- Head of a type. A non-param non-variable type has a head, which represents the kind of the root node in its type tree. This is used for caching queries for fast lookups when the type is not completely inferred yet.
Functions
- Query implementation of crate::db::SemanticGroup::generic_type_generic_params.
- Peels all wrapping Snapshot (
@
) from the type. Returns the number of peeled snapshots and the inner type. - Resolves a type given a module and a path.
- Query implementation of crate::db::SemanticGroup::type_info.
- Wraps a type with Snapshot (
@
)n_snapshots
times.