|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.exolab.castor.jdo.oql.Parser
Generates a parse tree for a stream of tokens representing an OQL query.
| Field Summary | |
(package private) Token |
_curToken
|
(package private) Lexer |
_lexer
|
(package private) Token |
_nextToken
|
(package private) 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
Lexer _lexer
Token _curToken
Token _nextToken
ParseTreeNode _treeRoot
| Constructor Detail |
public Parser(Lexer lexer)
throws InvalidCharException,
OQLSyntaxException
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 | ||||||||