org.sourceforge.jxdbcon
Class SQLParser
java.lang.Object
|
+--org.sourceforge.jxdbcon.SimpleEscapeParser
|
+--org.sourceforge.jxdbcon.SQLParser
- public class SQLParser
- extends SimpleEscapeParser
This class attempts to tokenze SQL statements.
This is a misguided attempt to do a tokenizer/parser for SQL.
It simply can't be done this way.
- Version:
- $Revision: 1.5 $, $Date: 2002/03/16 01:26:07 $
- Author:
- Keve Müller
keywords
static final ArrayList keywords
markEnum
static final Object markEnum
nonReservedKeywords
static final String[] nonReservedKeywords
reservedKeywords
static final String[] reservedKeywords
SQLParser
public SQLParser(String sql)
throws IllegalArgumentException,
SQLException
endChars
void endChars(String s)
throws SQLException
- Overrides:
endChars
in class SimpleEscapeParser
SQLException
endEnumeration
void endEnumeration()
parse
protected void parse()
throws IllegalArgumentException,
SQLException
- Overrides:
parse
in class SimpleEscapeParser
IllegalArgumentException
SQLException
Copyright © 2001,2002 Keve Müller; see LICENSE file for details.