Structsยง
- Param
Write ๐Finder - Visitor that collects modifier parameters written by an expression.
- Shared
Local ๐Finder - Visitor that breaks on the first reference to any of the tracked local variables.
Staticsยง
Functionsยง
- collect_
written_ ๐params - count_
placeholders ๐ - Recursively counts placeholder (
_) statements within a list of statements, descending into nested blocks, conditionals, loops,try/catch, and Yulswitchcases. - count_
placeholders_ ๐in_ stmt - has_
shared_ ๐locals - Returns
trueif a local variable declared in thebeforesegment is referenced in theaftersegment. - has_
written_ ๐params_ used_ after - Returns
trueif a modifier parameter is written in thebeforesegment and referenced in theaftersegment.