python-fluent icon indicating copy to clipboard operation
python-fluent copied to clipboard

fluent.syntax.ast.Visitor could use `ignore_fields` option

Open Pike opened this issue 6 years ago • 0 comments

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.

Pike avatar Feb 25 '19 12:02 Pike