Open enigma-yang opened 2 years ago
Default Cypher AST tree printing (based on toString) doesn't print as tree structure and there is no annotation of field name. We can build one for easier optimizer development.
Example: https://github.com/neo4j/neo4j/blob/37fc172b19a212358bad4a5145ef3cfa1835f9c1/community/cypher/front-end/ast/src/main/scala/org/neo4j/cypher/internal/ast/prettifier/Prettifier.scala#L219
+1
Default Cypher AST tree printing (based on toString) doesn't print as tree structure and there is no annotation of field name. We can build one for easier optimizer development.
Example: https://github.com/neo4j/neo4j/blob/37fc172b19a212358bad4a5145ef3cfa1835f9c1/community/cypher/front-end/ast/src/main/scala/org/neo4j/cypher/internal/ast/prettifier/Prettifier.scala#L219