Skip to content

v1.0.0-pre5 - Tree Pattern Matching

Pre-release
Pre-release
Compare
Choose a tag to compare
@douira douira released this 21 Jul 02:33
· 328 commits to main since this release
e086cc2
  • Added Matcher that can match AST trees against a given pattern. (with tests)
  • Added utility methods to LiteralExpression
  • Refactored some code to use instanceof pattern matching where possible
  • Make implementation of ContextTracker optional for visitor implementations
  • Added visitData to ASTVisitor and implemented it in all visitation methods. This method is called with all non-ASTNodes found in the tree.

Full Changelog: v1.0.0-pre4...v1.0.0-pre5