Skip to main content



      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
Eclipse UserFriend
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: Sun Jul 06 04:34:21 EDT 2025

Powered by FUDForum. Page generated in 0.19247 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top