Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » How to avoid confliction of Node and SimpleNode when I import DTP ast.Node and ast.Simple
How to avoid confliction of Node and SimpleNode when I import DTP ast.Node and ast.Simple [message #1071381] Fri, 19 July 2013 20:50
Tom Ye is currently offline 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!
Previous Topic:DTP 1.11 (Kepler) download is missing
Next Topic:Setting up a DTP Connection Profile with Private SSH key
Goto Forum:
  


Current Time: Wed Aug 27 07:05:46 EDT 2014

Powered by FUDForum. Page generated in 0.02002 seconds