Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add java parser - fixes #473 #474

Merged
merged 2 commits into from Aug 4, 2020
Merged

Conversation

junoatwork
Copy link
Contributor

I followed the instructions in readme about adding a new parser- pretty painless! Please let me know if there are any changes you'd like or other review comments.

Copy link
Owner

@fkling fkling left a comment

Choose a reason for hiding this comment

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

Looks good overall, just two comments/questions. Thank you!

},

parse(parser, code) {
console.time("p");
Copy link
Owner

Choose a reason for hiding this comment

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

I'd prefer not to have these in here.

console.time("p");
const cst = parser.parse(code);

const clone = JSON.parse(JSON.stringify(cst));
Copy link
Owner

Choose a reason for hiding this comment

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

Why is this necessary?

@junoatwork
Copy link
Contributor Author

Thanks for reviewing this! Those lines you found were not supposed to be left in there, those were debugging lines. I'll clean up this PR soon when I have a moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants