Skip to main content

Module mixed_case

Module mixed_case 

Source

Structsยง

MixedCasePass ๐Ÿ”’
Checks function names when FUNCTIONS is set, mutable variable names otherwise.

Staticsยง

MIXED_CASE_FUNCTION
MIXED_CASE_VARIABLE

Functionsยง

check_mixed_case ๐Ÿ”’
Wraps check_mixed_case_pure with two domain exceptions: foundry test-function prefixes and user-defined infix patterns, which split the name into a lowerCamelCase prefix and an UpperCamelCase suffix (allowing leading digits).
is_constant_getter ๐Ÿ”’
Heuristic for a getter of a constant: SCREAMING_SNAKE_CASE name, public view or external view, no parameters and exactly one elementary or custom-typed return value.

Type Aliasesยง

MixedCaseFunctionPass ๐Ÿ”’
MixedCaseVariablePass ๐Ÿ”’