Skip to main content

python_is_extra

Function python_is_extra 

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

Whether node is one of the grammar’s two extras, a # comment or a \ line continuation: the nodes tree-sitter-python admits between any two tokens, which spell no part of the construct they sit in.