Function difft::diff::graph::looks_like_punctuation
source · fn looks_like_punctuation(node: &Syntax<'_>) -> bool
Expand description
Does this node look like punctuation?
This check is deliberately conservative, because it’s hard to accurately recognise punctuation in a language-agnostic way.