|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.parse.ASTParameterHelper
public class ASTParameterHelper
Parse AST parameter nodes including constants, arrays, lists. Distinguishes between uniform and non-uniform arrays.
Constructor Summary | |
---|---|
ASTParameterHelper()
|
Method Summary | |
---|---|
static Object |
makeParameter(org.antlr.runtime.tree.Tree parameterNode,
long engineTime)
Returns the parse Object for the parameter/constant AST node whose text to parse. |
protected static TimePeriodParameter |
makeTimePeriod(org.antlr.runtime.tree.Tree node,
long engineTime)
Returns a time period from an AST node and taking engine time (year etc) into account. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ASTParameterHelper()
Method Detail |
---|
public static Object makeParameter(org.antlr.runtime.tree.Tree parameterNode, long engineTime) throws ASTWalkException
parameterNode
- - AST node to parseengineTime
- the engine current time
ASTWalkException
- is thrown to indicate a parse errorprotected static TimePeriodParameter makeTimePeriod(org.antlr.runtime.tree.Tree node, long engineTime)
node
- is the AST root node of the time periodengineTime
- current time
|
© 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 |