Skip to content

v0.24.0 - Printer fixes, more efficient walk continuation checks and more flexible config options in WrapIdentifier

Pre-release
Pre-release
Compare
Choose a tag to compare
@douira douira released this 26 May 17:03
· 594 commits to main since this release
87b098e
  • Added option for multiple detection results and external declarations for injection in WrapIdentifier
  • SearchTerminal will now throw if there are no targets
  • Refactors in SearchTerminal for tidiness and efficiency
  • Added canStop with which parse tree listeners (like walk phases) have to signal that they want to participate in the isDeepEnough and isFinished tests
  • More efficient is deep isDeepEnough and isFinished tests by removing nodes that are finished
  • Removed unused methods from ProxyParseTreeListener
  • Added tests for ProxyParseTreeListener
  • Added "opening detection" to PrintVisitor which prints newly inserted nodes in the same whitespace context as nodes that were removed and left whitespace. This fixes issues where the whitespace around replacements was only after the inserted node causing identifiers to be concatenated.
  • Refactored ExtendedContext and added new functionality for keeping track of openings in the whitespace in the token stream left by removed nodes

Meta

  • Added more compact version of the diagrams for Transformation methods
  • Fixed the Readme's code example

Full Changelog: v0.23.2...v0.24.0