Skip to main content

python_comparison_shape

Function python_comparison_shape 

Source
pub fn python_comparison_shape(node: Node<'_>) -> PythonComparisonShape<'_>
Expand description

Read comparison operands and operator tokens from the grammar node. Python comparison operators are repeated fields; named operator aliases such as is not are distinguished from operands by their field name.