|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Parser
The Parser interface is intended to work with Jack-generated parsers (now JavaCC). We will specify "STATIC=false" when building Jack parsers - this specifies that the generated classes will not be static, which will allow there to be more than one parser (this is necessary in a multi-threaded server). Non-static parsers do not have to be re-initialized every time they are used (unlike static parsers, for which one must call ReInit() between calls to the parser).
| Method Summary | |
|---|---|
java.lang.String |
getSQLtext()
Returns the current SQL text string that is being parsed. |
Visitable |
parseStatement(java.lang.String statementSQLText)
|
Visitable |
parseStatement(java.lang.String statementSQLText,
java.lang.Object[] paramDefaults)
Parses the given statement and returns a query tree. |
| Method Detail |
|---|
Visitable parseStatement(java.lang.String statementSQLText,
java.lang.Object[] paramDefaults)
throws StandardException
statementSQLText - The Statement to parse.paramDefaults - Parameter defaults
StandardException - Thrown on failure
Visitable parseStatement(java.lang.String statementSQLText)
throws StandardException
StandardExceptionjava.lang.String getSQLtext()
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||