Skip to content

[javascript] Generic visitor for JS#2707

Merged
oowekyala merged 1 commit into
pmd:pmd/7.0.xfrom
oowekyala:generic-visitor-js
Aug 23, 2020
Merged

[javascript] Generic visitor for JS#2707
oowekyala merged 1 commit into
pmd:pmd/7.0.xfrom
oowekyala:generic-visitor-js

Conversation

@oowekyala

Copy link
Copy Markdown
Member

Describe the PR

Implement #880 for JS

Related issues

  • Fixes #

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)

@oowekyala oowekyala changed the base branch from master to pmd/7.0.x August 7, 2020 01:22
@oowekyala oowekyala added this to the 7.0.0 milestone Aug 7, 2020
@ghost

ghost commented Aug 7, 2020

Copy link
Copy Markdown
1 Warning
⚠️ Running pmdtester failed, this message is mainly used to remind the maintainers of PMD.

Generated by 🚫 Danger

@oowekyala oowekyala marked this pull request as ready for review August 7, 2020 09:49
@oowekyala oowekyala mentioned this pull request Aug 11, 2020
10 tasks
/**
* Accept the visitor. *
*/
Object jjtAccept(EcmascriptParserVisitor visitor, Object data);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm... we still have these methods on master. But I don't think it makes sense to deprecate it there...

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah good catch, I think for the other languages this was @DeprecatedUntil700, with a default impl that calls acceptVisitor

@oowekyala oowekyala merged commit b2c8892 into pmd:pmd/7.0.x Aug 23, 2020
@oowekyala oowekyala deleted the generic-visitor-js branch August 23, 2020 14:54
@adangel adangel added the in:ast About the AST structure or API, the parsing step label Jan 13, 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.

2 participants