python-fluent
python-fluent copied to clipboard
fluent.syntax.ast.Visitor could use `ignore_fields` option
In BaseNode.equals, we have an ignore_fields option. That'd also be nice for Visitor, as it would allow a visitor to skip annotations and spans at the point of enumerating the properties, which is one or two cycles before actually going in to the Span or Annotation nodes, where we can handle them right now.