cairo_lang_semantic::items::generics

Function semantic_generic_params

source
pub fn semantic_generic_params(
    db: &dyn SemanticGroup,
    diagnostics: &mut SemanticDiagnostics,
    resolver: &mut Resolver<'_>,
    module_file_id: ModuleFileId,
    generic_params: &OptionWrappedGenericParamList,
) -> Vec<GenericParam>
Expand description

Returns the semantic model of a generic parameters list given the list AST, and updates the diagnostics and resolver accordingly.