Documentation, add simple scalar scalar SEXPs, weak warnings, cleanup #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The main change is that I documented every public method, except where unreasonable (e.g. obvious cases), in which case I suppressed the documentation warning.
Also created specific classes for simple-scalar SEXPs, since they are AST nodes I suspect we'll sometime want to pattern-match on them directly (but if not, I just exposed the package-private class).
Added weak warnings for missing Javadoc on public declarations, and a couple other things that IntelliJ reports but doesn't warn for some reason: redundant local variable types (
String foo = "bar"
) and unnecessary qualifiers (this.foo
instead offoo
). These should be automatically available to anyone using IntelliJ, but if not, they are the "project default" inspections. We may want to discuss and change other inspections, IntelliJ has a lot of them, although I think it's best to for the most part stick with the defaults (a lot of the disabled ones are really pedantic and maybe add a lot of IDE overhead).Lastly, various bugfixes and cleanup.