Expand description
Helper functions for AST traversal
Functionsยง
- extract_
decorator_ names - Extract decorator names from a function definition
- extract_
function_ name - Extract function name from various expression types
- extract_
string_ literal - Extract string literal value
- has_
decorator - Check if a function has a specific decorator
- is_
simple_ name - Check if an expression is a simple name (not a complex expression)
- walk_
statements - Walk through all statements in a module recursively