Skip to main content

python_assignment_chain

Function python_assignment_chain 

Source
pub fn python_assignment_chain<'tree>(
    node: Node<'tree>,
) -> (Vec<Node<'tree>>, Option<Node<'tree>>)
Expand description

Flatten a right-recursive assignment into its targets and terminal value. Targets are returned in runtime order, followed by the single evaluated right-hand expression.