Comments (5)
Hi,
this isn't a error.
If you take only the java_1_5.jj and generate the parser with javacc you will
get a
lot of errors. Because the nodes of the ats aren't generated too.
As you keep the all the nodes, you must keep the Token.java too. The Token.java
was
changed by hand to solve a problem with generic types.
Maybe in the future this problem can be solved by another way, without change
the
Token.java.
The java parser released by this project was generated with javacc 4.0, I didn't
update it to 4.0 yet.
thanks by the report.
Original comment by [email protected]
on 7 Oct 2008 at 4:07
- Changed state: Invalid
- Added labels: Priority-Low, Type-Review
- Removed labels: Priority-Medium, Type-Defect
from javaparser.
I'm changing the javaparser to be build with javacc 4.1.
With javacc 4.1 new features I think will be possible to take a different
approach to
solve the problem. The Token.java will not be edited anymore.
Original comment by [email protected]
on 8 Oct 2008 at 1:51
- Changed state: Started
from javaparser.
Original comment by [email protected]
on 8 Oct 2008 at 1:51
- Added labels: Priority-Medium
- Removed labels: Priority-Low
from javaparser.
Issue fixed in build 1.0.4
Original comment by [email protected]
on 8 Oct 2008 at 2:51
- Changed state: Fixed
from javaparser.
Thank you for quick reaction!
Original comment by [email protected]
on 8 Oct 2008 at 6:43
from javaparser.
Related Issues (20)
- Declare as a deprecated code HOT 1
- comment miss, can not process consecutive comment
- Add support for outputting the AST as XML
- Fix warnings in generated code HOT 1
- IntegerLiteralExpr and StringLiteralExpr HOT 1
- Expression parsing HOT 1
- Comments on empty token
- Missing float literal expression implementation
- Wrong handling of generics in case of inner classes
- Wrong interpretation of Unicode number HOT 2
- method to get rawType
- Expose a way to create a new Parser instance.
- DumpVisitor is declared as final
- Annotation parameters parsing failed when having nested/reoccurring patterns HOT 4
- Type arguments for super field accesses HOT 1
- try with resources
- How to limit the length of code lines produced by javaparser
- Find Statement While, IF, Switch-Case
- IndexOutOfBoundsException when parsing nested comments HOT 2
- Variable Parse
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javaparser.