Module fix_getters_rules::function [−][src]
Would-be-getter renaming rules definition.
Enums
RenameError | Would-be-getter rename attempt failure result. |
Constants
BOOL_ABLE_PREFIX | Special suffix to detect getters returning a |
Statics
BOOL_EXACT_SUBSTITUTES | Substitutes of |
BOOL_FIRST_TOKEN_NO_PREFIX | Set of |
BOOL_FIRST_TOKEN_SUBSTITUTES | Substitutes for tokens of |
EXACT_SUFFIX_SUBSTITUTES | Substitutes to be used when the suffix matches exactly. |
PREFIX_TO_POSTFIX | Getters prefix to move to the end. |
RESERVED | Getters reserved suffix list. |
Functions
guesstimate_boolness_then_rename | Attempts to determine whether the getter returns a |
rename_bool_getter | Applies |
try_rename_getter_suffix | Attempts to apply getter name rules to this getter suffix. |
try_rename_would_be_getter | Attempts to apply getter name rules to this would-be-getter function. |