|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.eql.parse.ParseHelper
public class ParseHelper
Helper class for parsing an expression and walking a parse tree.
Constructor Summary | |
---|---|
ParseHelper()
|
Method Summary | |
---|---|
static antlr.collections.AST |
parse(String expression,
ParseRuleSelector parseRuleSelector)
Parse expression using the rule the ParseRuleSelector instance supplies. |
static void |
walk(antlr.collections.AST ast,
EQLBaseWalker walker,
WalkRuleSelector walkRuleSelector,
String expression)
Walk parse tree starting at the rule the walkRuleSelector supplies. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParseHelper()
Method Detail |
---|
public static void walk(antlr.collections.AST ast, EQLBaseWalker walker, WalkRuleSelector walkRuleSelector, String expression)
ast
- - ast to walkwalker
- - walker instancewalkRuleSelector
- - walk ruleexpression
- - the expression we are walking in string formpublic static antlr.collections.AST parse(String expression, ParseRuleSelector parseRuleSelector) throws EPException
expression
- - text to parseparseRuleSelector
- - parse rule to select
EPException
- when the AST could not be parsed
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |