Skip to content

Commit

Permalink
Cleanup groovy parser (#4838)
Browse files Browse the repository at this point in the history
* Cleanup groovy parser
- Remove `def` check for visitTypeTree
- Remove unnecessary RedundantDef marker for DeclarationExpression
- Made RedundantDef function more specific for MethodNodes
- Use `skip` function as much as possible

* Cleanup groovy parser
- Remove `def` check for visitTypeTree
- Remove unnecessary RedundantDef marker for DeclarationExpression
- Made RedundantDef function more specific for MethodNodes
- Use `skip` function as much as possible

* Support for `def` keyword for constructors

* Improvement
  • Loading branch information
jevanlingen authored Jan 3, 2025
1 parent 38d92b0 commit 10a1661
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 157 deletions.
Loading

0 comments on commit 10a1661

Please sign in to comment.