org.exolab.castor.jdo.oql
public class Parser extends Object implements TokenTypes
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:23 $
| Field Summary | |
|---|---|
| Token | _curToken |
| Lexer | _lexer |
| Token | _nextToken |
| ParseTreeNode | _treeRoot |
| Constructor Summary | |
|---|---|
| Parser(Lexer lexer)
Creates a parser which will generate a parse tree from a series of
tokens.
| |
| Method Summary | |
|---|---|
| ParseTreeNode | getParseTree()
Generates the parse tree for the tokens provided by the Lexer passed
in the constructor.
|
Parameters: oqlQueryString The string representation of the OQL Query
Throws: InvalidCharException thrown by primeLexer. OQLSyntaxException thrown by primeLexer.
Returns: a ParseTreeNode representing the query.
Throws: InvalidCharException thrown by match. OQLSyntaxException thrown by match.