|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.jdo.oql.Parser
public final class Parser
Generates a parse tree for a stream of tokens representing an OQL query.
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Parser(Lexer lexer) throws InvalidCharException
lexer
- Lexer instance.
InvalidCharException
- thrown by primeLexer.
OQLSyntaxException
- thrown by primeLexer.Method Detail |
---|
public ParseTreeNode getParseTree() throws InvalidCharException, OQLSyntaxException
InvalidCharException
- thrown by match.
OQLSyntaxException
- thrown by match.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |