v1.0.0-pre5 - Tree Pattern Matching
Pre-release
Pre-release
- 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
toASTVisitor
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