Skip to content

Commit

Permalink
A flag to resolve codeSelect using ASTParser
Browse files Browse the repository at this point in the history
Introduce a CompilationUnit.DOM_BASED_OPERATIONS flag which instead of
using the ECJ-derived parser uses ASTParser to create a DOM and then
uses the DOM to implement codeSelect

This has the benefit of:
* Simplifying the code as an crawling DOM is usually simpler than
dealing with lower-level parser
* allowing other parsers as backend if ASTParser is configured for it
  • Loading branch information
mickaelistria committed Aug 22, 2024
1 parent 430761c commit d79570d
Show file tree
Hide file tree
Showing 5 changed files with 832 additions and 8 deletions.
Loading

0 comments on commit d79570d

Please sign in to comment.