Module suggest_name

Module suggest_name 

Source
Expand description

This module contains functions to suggest names for expressions, functions and other items

StructsΒ§

NameGenerator
Generator for new names

ConstantsΒ§

SEQUENCE_TYPES πŸ”’
Generic types replaced by a plural of their first argument.
USELESS_METHODS πŸ”’
Useless methods that are stripped from expression
USELESS_METHOD_PREFIXES πŸ”’
Prefixes to strip from methods names
USELESS_NAMES πŸ”’
Identifier names that won’t be suggested, ever
USELESS_NAME_PREFIXES πŸ”’
USELESS_TRAITS πŸ”’
Trait names, that will be ignored when in impl Trait and dyn Trait
WRAPPER_TYPES πŸ”’
Generic types replaced by their first argument

FunctionsΒ§

from_call πŸ”’
from_field_name πŸ”’
from_func_call πŸ”’
from_method_call πŸ”’
from_param πŸ”’
from_type πŸ”’
is_useless_method πŸ”’
is_valid_name πŸ”’
name_of_type πŸ”’
normalize πŸ”’
sequence_name πŸ”’
trait_name πŸ”’
var_name_from_pat πŸ”’