Andreas Dangel
|
2158a792ff
|
Merge branch 'simplify-variable-declarator-id-parsing' of https://github.com/Monits/pmd into pr-118
# Conflicts:
# pmd-java/etc/grammar/Java.jjt
|
2016-10-30 18:51:44 +01:00 |
|
Andreas Dangel
|
10e4cc7290
|
Merge branch 'faster-parse' of https://github.com/Monits/pmd into pr-115
# Conflicts:
# pmd-java/etc/grammar/Java.jjt
|
2016-10-30 18:12:54 +01:00 |
|
Juan Martín Sotuyo Dodero
|
283dc00a43
|
Replace syntactic lookahead with semantic one
- They are the same, but JavaCC seems to handle this one better.
|
2016-10-16 14:01:26 +02:00 |
|
Juan Martín Sotuyo Dodero
|
567be45b8c
|
Simplify VariableDeclaratorId parsing
- Don't look for arrays where there can be none
|
2016-10-14 10:06:29 -03:00 |
|
Juan Martín Sotuyo Dodero
|
478ed3463c
|
Simplify lambda pursing even further
- Remove a redundant case
- Restrict grammar according to spec with a simpler scenario
|
2016-10-14 09:24:06 -03:00 |
|
Juan Martín Sotuyo Dodero
|
a046b8f93d
|
Simplify lambda parsing
- Handle less scenarios
- Have scenarios be defined more broadly (ie: allow more than 3 params)
- This improves parsing performance by roughly ~10%
|
2016-10-13 14:53:51 -03:00 |
|
Andreas Dangel
|
0d20fe7e1c
|
Fixes #1484 UnusedLocalVariable - false positive - parenthesis
|
2016-05-21 11:37:10 +02:00 |
|
Andreas Dangel
|
81378fe8ed
|
Fixes #1470 Error with type-bound lambda
|
2016-04-30 19:14:46 +02:00 |
|
Andreas Dangel
|
e6f5380719
|
fixes #1455 PMD doesn't handle Java 8 explicit receiver parameters
Those parameters are correctly parsed now and can be found
with "//FormalParameter[@ExplicitReceiverParameter='true']"
|
2016-01-25 10:29:00 +01:00 |
|
Andreas Dangel
|
1e0b8cfa21
|
Merge branch 'pmd/5.3.x' of https://github.com/amitbitcse/pmd into pr-72
|
2015-10-10 17:22:59 +02:00 |
|
Andreas Dangel
|
a7a84766bd
|
#1429 Java - Parse Error: Cast in return expression
|
2015-10-10 16:08:38 +02:00 |
|
amitbitcse
|
1d190605e5
|
Added capability in Java and JSP parser for tracking tokens. It is often useful to keep track of each node's first and last token so that input can be easily reproduced again. Ref - https://javacc.java.net/doc/JJTree.html
|
2015-10-06 11:04:22 +05:30 |
|
Andreas Dangel
|
0450f9a9d7
|
#1258 Java 8 Lambda parse error on direct field access
|
2014-11-02 10:47:51 +01:00 |
|
Andreas Dangel
|
612364a06d
|
Create a first sub-module for java
* almost empty, just compiling the java grammar
* no code moved yet
|
2014-09-30 19:51:42 +02:00 |
|