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

Some few fixes and enhancements #1

Merged
merged 3 commits into from Mar 31, 2012
Merged

Conversation

ptitjes
Copy link
Contributor

@ptitjes ptitjes commented Mar 31, 2012

I reintroduced ASTHelper class, fix the parent management (it was not propagating correctly and there was a lot of replicated code so I factored the parent setting code), and GenericProviderVisitor was not returning the return values correctly.

matozoid pushed a commit that referenced this pull request Mar 31, 2012
Some few fixes and enhancements
@matozoid matozoid merged commit abf4685 into javaparser:master Mar 31, 2012
@ptitjes
Copy link
Contributor Author

ptitjes commented Mar 31, 2012

Thank you :)

@matozoid
Copy link
Contributor

matozoid commented Apr 1, 2012

No, thank you :)

On Sun, Apr 1, 2012 at 1:46 AM, ptitjes
reply@reply.github.com
wrote:

Thank you :)


Reply to this email directly or view it on GitHub:
#1 (comment)

@ptitjes
Copy link
Contributor Author

ptitjes commented Apr 1, 2012

If you wish, I have a variant of DumpVisitor that respects blank lines from the input. It follows Node.getBeginLine, and getEndLine to determine if there were some blank lines between non-modified nodes that were in the original tree.

I also have some type-checking (expected and actual type) stuff, although it is not implemented for all kind of expressions yet. It could be optimized by introducing a "feature" attribute in addition to parentNode to know in which property and index (for lists) of its parent node it is located. (I would only have to add that to the setAsParentNodeOf() method).

Tell me what you think about it.

@matozoid
Copy link
Contributor

matozoid commented Apr 1, 2012

I've added you to the collaborator list. Add any features you like :-) I'll also add some issues to the issue tracker here.

@ptitjes
Copy link
Contributor Author

ptitjes commented Apr 1, 2012

Great :)

matozoid added a commit that referenced this pull request Feb 24, 2015
sebastiankirsch added a commit that referenced this pull request Feb 27, 2015
matozoid pushed a commit that referenced this pull request Apr 12, 2016
Update VoidVisitorAdapter.java
matozoid pushed a commit that referenced this pull request Dec 23, 2016
matozoid added a commit that referenced this pull request Mar 2, 2017
draft of CSM for the Module Info nodes
mariofusco referenced this pull request in kiegroup/drlx-parser Sep 5, 2017
Align to RuleUnit and add example using maven build system.
tarilabs pushed a commit to tarilabs/javaparser that referenced this pull request Oct 17, 2017
matozoid pushed a commit that referenced this pull request Jan 12, 2018
matozoid pushed a commit that referenced this pull request Sep 24, 2019
matozoid pushed a commit that referenced this pull request Feb 28, 2020
Specifically, this PR adds the following:

* A node structure that mirrors the Javadoc custom parser structure (JavadocDescription, JavadocBlockTag, JavadocDescriptionElement, JavadocSnippet and JavadocInlineTag);
* An integration to the overall node structure including the Meta Model;
* Relevant unit tests that are translated from the custom javadoc parser. Tests related to the
  parsing will be added with the grammar.

The PR does not implement the following due to time constraints:

* Pretty Printing;
* Concrete Syntax Model Support;
* Full integration by replacing JavadocComment with JavadocContent in the AST. Instead, 
  we simply created another node called JavadocContent.


Co-authored-by: David Johansson <david.johansson11@gmail.com>
matozoid pushed a commit that referenced this pull request Feb 28, 2020
Added missing JavaDoc
atonalfreerider referenced this pull request in PRIMITIVE-IO/javaparser Mar 24, 2020
jlerbsc added a commit that referenced this pull request Oct 3, 2020
Updating my fork with changes
jlerbsc pushed a commit that referenced this pull request May 2, 2021
Add missing test case for Log.error(Throwable)
MysterAitch pushed a commit that referenced this pull request Nov 24, 2021
jlerbsc pushed a commit that referenced this pull request Feb 21, 2024
…-java/switch-literal-first

Switch order of literals to prevent NullPointerException
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