How to avoid confliction of Node and SimpleNode when I import DTP ast.Node and ast.Simple [message #1071381] |
Sat, 20 July 2013 00:50 |
Tom Ye Messages: 1 Registered: July 2013 |
Junior Member |
|
|
Hi,
When I import
org.eclipse.datatools.sqltools.sql.parser.ast.Node;
org.eclipse.datatools.sqltools.sql.parser.ast.SimpleNode;
In the local generated files, they use local Node.java and SimpleNode.java. So when it generates java file from .jj, there are some errors for referencing. For example:
Description Resource Path Location Type
The method jjtreeCloseNodeScope(Node) in the type Parsers is not applicable for the arguments (ASTStart) Parsers.java /Parsers/src line 4188 Java Problem
ASTStart extends from SimpleNode generated by jjt. And Node inside jjtreeCloseNodeScope function is the org.eclipse.datatools.sqltools.sql.parser.ast.Node.
Need a help!
|
|
|
Powered by
FUDForum. Page generated in 0.03661 seconds