public class ExpressionWorker extends PropertyWorker<JiffleType>
properties
messages, tree
Constructor and Description |
---|
ExpressionWorker(ParseTree tree,
VarWorker vw) |
Modifier and Type | Method and Description |
---|---|
void |
exitAndExpr(JiffleParser.AndExprContext ctx)
Exit a parse tree produced by the
andExpr
labeled alternative in JiffleParser.expression() . |
void |
exitAssignExpr(JiffleParser.AssignExprContext ctx)
Exit a parse tree produced by the
assignExpr
labeled alternative in JiffleParser.expression() . |
void |
exitAssignment(JiffleParser.AssignmentContext ctx)
Exit a parse tree produced by
JiffleParser.assignment() . |
void |
exitAtom(JiffleParser.AtomContext ctx)
Exit a parse tree produced by
JiffleParser.atom() . |
void |
exitAtomExpr(JiffleParser.AtomExprContext ctx)
Exit a parse tree produced by the
atomExpr
labeled alternative in JiffleParser.expression() . |
void |
exitCompareExpr(JiffleParser.CompareExprContext ctx)
Exit a parse tree produced by the
compareExpr
labeled alternative in JiffleParser.expression() . |
void |
exitConCall(JiffleParser.ConCallContext ctx)
Exit a parse tree produced by
JiffleParser.conCall() . |
void |
exitEqExpr(JiffleParser.EqExprContext ctx)
Exit a parse tree produced by the
eqExpr
labeled alternative in JiffleParser.expression() . |
void |
exitFunctionCall(JiffleParser.FunctionCallContext ctx)
Exit a parse tree produced by the
functionCall
labeled alternative in JiffleParser.identifiedAtom() . |
void |
exitImageCall(JiffleParser.ImageCallContext ctx)
Exit a parse tree produced by the
imageCall
labeled alternative in JiffleParser.identifiedAtom() . |
void |
exitListLiteral(JiffleParser.ListLiteralContext ctx)
Exit a parse tree produced by
JiffleParser.listLiteral() . |
void |
exitLiteral(JiffleParser.LiteralContext ctx)
Exit a parse tree produced by
JiffleParser.literal() . |
void |
exitNotExpr(JiffleParser.NotExprContext ctx)
Exit a parse tree produced by the
notExpr
labeled alternative in JiffleParser.expression() . |
void |
exitOrExpr(JiffleParser.OrExprContext ctx)
Exit a parse tree produced by the
orExpr
labeled alternative in JiffleParser.expression() . |
void |
exitParenExpression(JiffleParser.ParenExpressionContext ctx)
Exit a parse tree produced by
JiffleParser.parenExpression() . |
void |
exitPlusMinusExpr(JiffleParser.PlusMinusExprContext ctx)
Exit a parse tree produced by the
plusMinusExpr
labeled alternative in JiffleParser.expression() . |
void |
exitPostExpr(JiffleParser.PostExprContext ctx)
Exit a parse tree produced by the
postExpr
labeled alternative in JiffleParser.expression() . |
void |
exitPowExpr(JiffleParser.PowExprContext ctx)
Exit a parse tree produced by the
powExpr
labeled alternative in JiffleParser.expression() . |
void |
exitPreExpr(JiffleParser.PreExprContext ctx)
Exit a parse tree produced by the
preExpr
labeled alternative in JiffleParser.expression() . |
void |
exitRange(JiffleParser.RangeContext ctx)
Exit a parse tree produced by
JiffleParser.range() . |
void |
exitTernaryExpr(JiffleParser.TernaryExprContext ctx)
Exit a parse tree produced by the
ternaryExpr
labeled alternative in JiffleParser.expression() . |
void |
exitTimesDivModExpr(JiffleParser.TimesDivModExprContext ctx)
Exit a parse tree produced by the
timesDivModExpr
labeled alternative in JiffleParser.expression() . |
void |
exitVarDeclaration(JiffleParser.VarDeclarationContext ctx)
This method is a copy of exitAssignment, unfortunately AssignmentContext
and VarDeclarationContext share structure but not a base class
|
void |
exitVarID(JiffleParser.VarIDContext ctx)
Exit a parse tree produced by the
varID
labeled alternative in JiffleParser.identifiedAtom() . |
void |
exitXorExpr(JiffleParser.XorExprContext ctx)
Exit a parse tree produced by the
xorExpr
labeled alternative in JiffleParser.expression() . |
protected JiffleType |
get(JiffleParser.ExpressionContext ctx) |
TreeNodeProperties<SymbolScope> |
getScopes()
Gets the scope annotations, which may have been modified when
this worker walked the parse tree.
|
get, getOrElse, getProperties, set
walkTree
enterAndExpr, enterArgumentList, enterAssignExpr, enterAssignment, enterAtom, enterAtomExpr, enterBandSpecifier, enterBlock, enterBlockStmt, enterBody, enterBreakifStmt, enterBreakStmt, enterCompareExpr, enterConCall, enterEmptyStmt, enterEqExpr, enterEveryRule, enterExpressionList, enterExprStmt, enterForeachStmt, enterFunctionCall, enterIfStmt, enterImageCall, enterImagePos, enterImagesBlock, enterImageVarDeclaration, enterInitBlock, enterListAppendStmt, enterListLiteral, enterLiteral, enterLoopSet, enterNotExpr, enterOption, enterOptionsBlock, enterOptionValue, enterOrExpr, enterParenExpression, enterPixelPos, enterPixelSpecifier, enterPlusMinusExpr, enterPostExpr, enterPowExpr, enterPreExpr, enterRange, enterRole, enterScript, enterSpecialBlock, enterTernaryExpr, enterTimesDivModExpr, enterUntilStmt, enterVarDeclaration, enterVarID, enterWhileStmt, enterXorExpr, exitArgumentList, exitBandSpecifier, exitBlock, exitBlockStmt, exitBody, exitBreakifStmt, exitBreakStmt, exitEmptyStmt, exitEveryRule, exitExpressionList, exitExprStmt, exitForeachStmt, exitIfStmt, exitImagePos, exitImagesBlock, exitImageVarDeclaration, exitInitBlock, exitListAppendStmt, exitLoopSet, exitOption, exitOptionsBlock, exitOptionValue, exitPixelPos, exitPixelSpecifier, exitRole, exitScript, exitSpecialBlock, exitUntilStmt, exitWhileStmt, visitErrorNode, visitTerminal
public ExpressionWorker(ParseTree tree, VarWorker vw)
public TreeNodeProperties<SymbolScope> getScopes()
public void exitRange(JiffleParser.RangeContext ctx)
JiffleBaseListener
JiffleParser.range()
.
The default implementation does nothing.
exitRange
in interface JiffleListener
exitRange
in class JiffleBaseListener
ctx
- the parse treepublic void exitAtomExpr(JiffleParser.AtomExprContext ctx)
JiffleBaseListener
atomExpr
labeled alternative in JiffleParser.expression()
.
The default implementation does nothing.
exitAtomExpr
in interface JiffleListener
exitAtomExpr
in class JiffleBaseListener
ctx
- the parse treepublic void exitPowExpr(JiffleParser.PowExprContext ctx)
JiffleBaseListener
powExpr
labeled alternative in JiffleParser.expression()
.
The default implementation does nothing.
exitPowExpr
in interface JiffleListener
exitPowExpr
in class JiffleBaseListener
ctx
- the parse treepublic void exitPostExpr(JiffleParser.PostExprContext ctx)
JiffleBaseListener
postExpr
labeled alternative in JiffleParser.expression()
.
The default implementation does nothing.
exitPostExpr
in interface JiffleListener
exitPostExpr
in class JiffleBaseListener
ctx
- the parse treepublic void exitPreExpr(JiffleParser.PreExprContext ctx)
JiffleBaseListener
preExpr
labeled alternative in JiffleParser.expression()
.
The default implementation does nothing.
exitPreExpr
in interface JiffleListener
exitPreExpr
in class JiffleBaseListener
ctx
- the parse treepublic void exitNotExpr(JiffleParser.NotExprContext ctx)
JiffleBaseListener
notExpr
labeled alternative in JiffleParser.expression()
.
The default implementation does nothing.
exitNotExpr
in interface JiffleListener
exitNotExpr
in class JiffleBaseListener
ctx
- the parse treepublic void exitTimesDivModExpr(JiffleParser.TimesDivModExprContext ctx)
JiffleBaseListener
timesDivModExpr
labeled alternative in JiffleParser.expression()
.
The default implementation does nothing.
exitTimesDivModExpr
in interface JiffleListener
exitTimesDivModExpr
in class JiffleBaseListener
ctx
- the parse treepublic void exitPlusMinusExpr(JiffleParser.PlusMinusExprContext ctx)
JiffleBaseListener
plusMinusExpr
labeled alternative in JiffleParser.expression()
.
The default implementation does nothing.
exitPlusMinusExpr
in interface JiffleListener
exitPlusMinusExpr
in class JiffleBaseListener
ctx
- the parse treepublic void exitCompareExpr(JiffleParser.CompareExprContext ctx)
JiffleBaseListener
compareExpr
labeled alternative in JiffleParser.expression()
.
The default implementation does nothing.
exitCompareExpr
in interface JiffleListener
exitCompareExpr
in class JiffleBaseListener
ctx
- the parse treepublic void exitEqExpr(JiffleParser.EqExprContext ctx)
JiffleBaseListener
eqExpr
labeled alternative in JiffleParser.expression()
.
The default implementation does nothing.
exitEqExpr
in interface JiffleListener
exitEqExpr
in class JiffleBaseListener
ctx
- the parse treepublic void exitAndExpr(JiffleParser.AndExprContext ctx)
JiffleBaseListener
andExpr
labeled alternative in JiffleParser.expression()
.
The default implementation does nothing.
exitAndExpr
in interface JiffleListener
exitAndExpr
in class JiffleBaseListener
ctx
- the parse treepublic void exitOrExpr(JiffleParser.OrExprContext ctx)
JiffleBaseListener
orExpr
labeled alternative in JiffleParser.expression()
.
The default implementation does nothing.
exitOrExpr
in interface JiffleListener
exitOrExpr
in class JiffleBaseListener
ctx
- the parse treepublic void exitXorExpr(JiffleParser.XorExprContext ctx)
JiffleBaseListener
xorExpr
labeled alternative in JiffleParser.expression()
.
The default implementation does nothing.
exitXorExpr
in interface JiffleListener
exitXorExpr
in class JiffleBaseListener
ctx
- the parse treepublic void exitTernaryExpr(JiffleParser.TernaryExprContext ctx)
JiffleBaseListener
ternaryExpr
labeled alternative in JiffleParser.expression()
.
The default implementation does nothing.
exitTernaryExpr
in interface JiffleListener
exitTernaryExpr
in class JiffleBaseListener
ctx
- the parse treepublic void exitAssignExpr(JiffleParser.AssignExprContext ctx)
JiffleBaseListener
assignExpr
labeled alternative in JiffleParser.expression()
.
The default implementation does nothing.
exitAssignExpr
in interface JiffleListener
exitAssignExpr
in class JiffleBaseListener
ctx
- the parse treeprotected JiffleType get(JiffleParser.ExpressionContext ctx)
public void exitAssignment(JiffleParser.AssignmentContext ctx)
JiffleBaseListener
JiffleParser.assignment()
.
The default implementation does nothing.
exitAssignment
in interface JiffleListener
exitAssignment
in class JiffleBaseListener
ctx
- the parse treepublic void exitVarDeclaration(JiffleParser.VarDeclarationContext ctx)
exitVarDeclaration
in interface JiffleListener
exitVarDeclaration
in class JiffleBaseListener
ctx
- public void exitAtom(JiffleParser.AtomContext ctx)
JiffleBaseListener
JiffleParser.atom()
.
The default implementation does nothing.
exitAtom
in interface JiffleListener
exitAtom
in class JiffleBaseListener
ctx
- the parse treepublic void exitParenExpression(JiffleParser.ParenExpressionContext ctx)
JiffleBaseListener
JiffleParser.parenExpression()
.
The default implementation does nothing.
exitParenExpression
in interface JiffleListener
exitParenExpression
in class JiffleBaseListener
ctx
- the parse treepublic void exitConCall(JiffleParser.ConCallContext ctx)
JiffleBaseListener
JiffleParser.conCall()
.
The default implementation does nothing.
exitConCall
in interface JiffleListener
exitConCall
in class JiffleBaseListener
ctx
- the parse treepublic void exitVarID(JiffleParser.VarIDContext ctx)
JiffleBaseListener
varID
labeled alternative in JiffleParser.identifiedAtom()
.
The default implementation does nothing.
exitVarID
in interface JiffleListener
exitVarID
in class JiffleBaseListener
ctx
- the parse treepublic void exitImageCall(JiffleParser.ImageCallContext ctx)
JiffleBaseListener
imageCall
labeled alternative in JiffleParser.identifiedAtom()
.
The default implementation does nothing.
exitImageCall
in interface JiffleListener
exitImageCall
in class JiffleBaseListener
ctx
- the parse treepublic void exitFunctionCall(JiffleParser.FunctionCallContext ctx)
JiffleBaseListener
functionCall
labeled alternative in JiffleParser.identifiedAtom()
.
The default implementation does nothing.
exitFunctionCall
in interface JiffleListener
exitFunctionCall
in class JiffleBaseListener
ctx
- the parse treepublic void exitLiteral(JiffleParser.LiteralContext ctx)
JiffleBaseListener
JiffleParser.literal()
.
The default implementation does nothing.
exitLiteral
in interface JiffleListener
exitLiteral
in class JiffleBaseListener
ctx
- the parse treepublic void exitListLiteral(JiffleParser.ListLiteralContext ctx)
JiffleBaseListener
JiffleParser.listLiteral()
.
The default implementation does nothing.
exitListLiteral
in interface JiffleListener
exitListLiteral
in class JiffleBaseListener
ctx
- the parse treeCopyright © 2006–2018 GeoSolutions. All rights reserved.