Dart PetitParser to get at AST datastructure created with ExpressionBuilder
问题 I'm new to petitparser, but it looks like it's the sonic screwdriver of parsers. For my first project, I'm building code to parse a simple expression that builds an AST tree of my Node objects, then walks that tree with a few rules to minimize the unneeded parens. I don't know what to pass to the output of .parse() (seems to be a Result) to get access to the tree I defined, so I can call .visit() on the top of the AST. Any ideas? class RIPParser { Parser _make_parser() { final builder =