Function cairo_lang_semantic::items::generics::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
) -> Maybe<Vec<GenericParam>>
Expand description
Returns the semantic model of a generic parameters list given the list AST, and updates the diagnostics and resolver accordingly.