public final class Parser
extends java.lang.Object
Constructor | Description |
---|---|
Parser(Lexer lexer) |
Creates a parser which will generate a parse tree from a series of tokens.
|
Modifier and Type | Method | Description |
---|---|---|
ParseTreeNode |
getParseTree() |
Generates the parse tree for the tokens provided by the Lexer passed in
the constructor.
|
public Parser(Lexer lexer) throws InvalidCharException
lexer
- Lexer instance.InvalidCharException
- thrown by primeLexer.OQLSyntaxException
- thrown by primeLexer.public ParseTreeNode getParseTree() throws InvalidCharException, OQLSyntaxException
InvalidCharException
- thrown by match.OQLSyntaxException
- thrown by match.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com