|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectantlr.TreeParser
net.esper.eql.generated.EQLBaseWalker
net.esper.eql.parse.EQLTreeWalker
public class EQLTreeWalker
Called during the walks of a EQL expression AST tree as specified in the grammar file. Constructs filter and view specifications etc.
Field Summary |
---|
Fields inherited from class net.esper.eql.generated.EQLBaseWalker |
---|
_tokenNames, _tokenSet_0, _tokenSet_1, _tokenSet_2 |
Fields inherited from class antlr.TreeParser |
---|
_retTree, astFactory, ASTNULL, inputState, returnAST, tokenNames, traceDepth |
Constructor Summary | |
---|---|
EQLTreeWalker()
Ctor. |
Method Summary | |
---|---|
protected void |
end()
End processing of the AST tree, check that expression nodes found their homes. |
protected void |
endPattern()
End processing of the AST tree for stand-alone pattern expressions. |
StatementSpecRaw |
getStatementSpec()
Returns statement specification. |
protected void |
leaveNode(antlr.collections.AST node)
Leave AST node and process it's type and child nodes. |
protected void |
setIsPatternWalk(boolean isPatternWalk)
Set to indicate that we are walking a pattern. |
Methods inherited from class antlr.TreeParser |
---|
getAST, getASTFactory, getTokenName, getTokenNames, match, match, matchNot, panic, reportError, reportError, reportWarning, setASTFactory, setASTNodeClass, setASTNodeType, traceIn, traceIndent, traceOut |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EQLTreeWalker()
Method Detail |
---|
public StatementSpecRaw getStatementSpec()
protected void setIsPatternWalk(boolean isPatternWalk)
setIsPatternWalk
in class EQLBaseWalker
isPatternWalk
- is true if walking a patternprotected void leaveNode(antlr.collections.AST node) throws ASTWalkException
leaveNode
in class EQLBaseWalker
node
- is the node to complete
ASTWalkException
protected void endPattern() throws ASTWalkException
endPattern
in class EQLBaseWalker
ASTWalkException
protected void end() throws ASTWalkException
end
in class EQLBaseWalker
ASTWalkException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |