gast.NodeVisitor
beniget.beniget.Ancestors
- Build the ancestor tree, that associates a node to the list of node visited from the root node (the Module) to the current nodebeniget.beniget.CollectGlobals
- Undocumentedbeniget.beniget.DefUseChains
- Module visitor that gathers two kinds of informations: - locals: Dict[node, List[Def]], a mapping between a node and the list of variable defined in this node, - chains: Dict[node, Def], a mapping between nodes and their chains.object
beniget.beniget.Def
- Model a definition, either named or unnamed, and its users.beniget.beniget.ordered_set
- Undocumentedbeniget.beniget.UseDefChains
- DefUseChains adaptor that builds a mapping between each user and the Def that defines this user: - chains: Dict[node, List[Def]], a mapping between nodes and the Defs that define it.