Skip to content

[core, ...] Finish generic visitors#2746

Merged
adangel merged 14 commits into
pmd:pmd/7.0.xfrom
oowekyala:generic-visitor-finish
Sep 13, 2020
Merged

[core, ...] Finish generic visitors#2746
adangel merged 14 commits into
pmd:pmd/7.0.xfrom
oowekyala:generic-visitor-finish

Conversation

@oowekyala

@oowekyala oowekyala commented Aug 26, 2020

Copy link
Copy Markdown
Member

Describe the PR

Finish implementing #880, ie the following items:
Language modules to port:

  • Modelica
  • PL/SQL
  • Velocity
  • VF

Cleanup after this:

  • Cleanup the wrapper scripts
  • [ ] Remove default implementation in Node -> I think it's useful to have a default as some languages do not support visitors (eg we have XML)

In future work (probably as part of rewriting rules), some visitor implementations could be generified. Eg many metrics visitors.

Related issues

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by travis)
  • Added (in-code) documentation (if needed)

@ghost

ghost commented Aug 26, 2020

Copy link
Copy Markdown
1 Message
📖 No java rules are changed!

Generated by 🚫 Danger

@oowekyala oowekyala added this to the 7.0.0 milestone Aug 30, 2020
@adangel adangel mentioned this pull request Sep 13, 2020
10 tasks
@adangel adangel linked an issue Sep 13, 2020 that may be closed by this pull request
10 tasks
@adangel adangel merged commit 9cfe485 into pmd:pmd/7.0.x Sep 13, 2020
@oowekyala oowekyala deleted the generic-visitor-finish branch September 13, 2020 10:18
@adangel adangel added the in:ast About the AST structure or API, the parsing step label Jan 12, 2023
@adangel adangel mentioned this pull request Jan 23, 2023
55 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in:ast About the AST structure or API, the parsing step

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[core] Make visitors generic

2 participants