|GenericSQLParser vs. AbstractSQLQueryParser [message #587043]
||Tue, 07 August 2007 18:38
| Charles Eutsler
Registered: July 2009
I would like to understand the uses of the two types of SQL Parsers that |
are supported by DTP and when I need to implement each for my own SQL
The presentation for EclipseCon 2007 "Do you speak my dialect?" tells me:
* the JavaCC-based parsers (those that extend
org.eclipse.datatools.sqltools.sql.parser.SQLParser) are integrated into
the DTP SQL Editor where it uses them for content assist and syntax
* The LPG-based parsers (that extend
org.eclipse.datatools.sqltools.parsers.sql.SQLParser) are used by some
prototype full parser plugins
(As far as I can tell, the LPG-based parsers currently aren't being used
by the parts of DTP I've used since they require a third-party JAR to be
installed separately from the installation of DTP and I haven't seen any
components fail because of the absent JAR.)
So my questions are along these:
Which parser do I need to implement for my dialect?
Is there a plan to use a common parser for all of what needs parsers?
Thanks for any insight anybody can give me.
Powered by FUDForum
. Page generated in 0.01905 seconds