Expand description
Lightweight expression helpers for lint analysis.
Enums§
- Expr
- A tiny expression model used for helper functions.
Functions§
- def_
id_ of_ expr_ callee - Returns the callee path of a call expression, if one is present.
- is_
path_ to - Tests whether a path matches the provided candidate segments.
- recv_
is_ option_ or_ result - Returns
truewhen the receiver isOptionorResultregardless of module path.