Expand description
Would-be-getter renaming rules definition.
Enums§
- Rename
Error - Would-be-getter rename attempt failure result.
Constants§
- BOOL_
ABLE_ PREFIX - Special suffix to detect getters returning a
bool.
Statics§
- BOOL_
EXACT_ SUBSTITUTES - Substitutes of
boolgetter to be used when the suffix matches exactly. - BOOL_
FIRST_ TOKEN_ NO_ PREFIX - Set of
boolgetter suffix first tokens for which no be prefix should be applied. - BOOL_
FIRST_ TOKEN_ SUBSTITUTES - Substitutes for tokens of
boolgetters. - 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
boolfrom its name. - rename_
bool_ getter - Applies
boolgetter name rules. - 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.