Functionsยง
- callees_
of - For a given function name, returns all functions it directly calls.
- callers_
of - For a given function name, returns all functions that directly call it.
- collect_
call_ ๐sites_ in_ subtree - Collects all
NodeKind::CallSitenodes in the AST subtree ofroot. - find_
by_ kind - Returns all nodes of the given
kind. - find_
calls_ to - Returns all call sites that target a function with the given
func_name. - get_
enclosing_ ๐function - Walks up
Edge::AstChildedges fromstartuntil aNodeKind::Functionnode is found. - unused_
functions - Returns all functions that are never the target of a direct call.