get_anonymous_class

Function get_anonymous_class 

Source
pub fn get_anonymous_class(
    codebase: &CodebaseMetadata,
    span: Span,
) -> Option<&ClassLikeMetadata>
Expand description

Retrieves the metadata for an anonymous class based on its span.

This function generates a unique name for the anonymous class based on its span, which includes the source file and the start and end offsets.