Skip to main content

python_node_can_be_reference

Function python_node_can_be_reference 

Source
pub fn python_node_can_be_reference(node: Node<'_>) -> bool
Expand description

Whether a named node can carry a Python source reference at the selected range. Soft keywords used as names parse as keyword_identifier, and deferred annotation strings can name a reference even without an identifier node.