beanmachine.ppl.compiler.single_assignment module

Tools to transform Bean Machine programs to Bean Machine Graph

class beanmachine.ppl.compiler.single_assignment.SingleAssignment

Bases: object

fresh_names(prefix_list: List[str], builder: Callable[[Callable[[str, str], _ast.Name]], Any]) Any
single_assignment(node: _ast.AST) _ast.AST
beanmachine.ppl.compiler.single_assignment.single_assignment(node: _ast.AST) _ast.AST