withNameMatching
Filters the list of file declarations to include only those whose names match the specified glob pattern. Supports '*' wildcards.
Filter or assertion criteria for with name matching.
fun List<FunctionDeclarationContext>.withNameMatching(pattern: String): List<FunctionDeclarationContext>
Filters the list of functions to include only those matching the glob pattern pattern.
Filters functions in this scope matching glob pattern pattern.
fun List<PropertyDeclarationContext>.withNameMatching(pattern: String): List<PropertyDeclarationContext>
Filters the list of properties to include only those matching the glob pattern pattern.
Filters properties in this scope matching glob pattern pattern.
Filters the list of class declarations to include only those whose simple names match the specified glob pattern. Supports '*' wildcards.
Filters classes in this scope matching name pattern pattern.