Class ValidWhenEvaluator
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<ValidWhenResult<?>>
,ValidWhenVisitor<ValidWhenResult<?>>
- Since:
- Struts 1.4.1
- Author:
- Graff Stefan
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byValidWhenParser.comparisonExpression()
.Visit a parse tree produced byValidWhenParser.decimal()
.Visit a parse tree produced by theexprComp
labeled alternative inValidWhenParser.expr()
.Visit a parse tree produced byValidWhenParser.expression()
.Visit a parse tree produced by theexprJoin
labeled alternative inValidWhenParser.expr()
.Visit a parse tree produced by thefield1
labeled alternative inValidWhenParser.field()
.Visit a parse tree produced by thefield2
labeled alternative inValidWhenParser.field()
.Visit a parse tree produced by thefield3
labeled alternative inValidWhenParser.field()
.Visit a parse tree produced by thefield4
labeled alternative inValidWhenParser.field()
.Visit a parse tree produced by thefield5
labeled alternative inValidWhenParser.field()
.Visit a parse tree produced byValidWhenParser.integer()
.Visit a parse tree produced byValidWhenParser.joinedExpression()
.Visit a parse tree produced by theliteralNull
labeled alternative inValidWhenParser.literal()
.Visit a parse tree produced by theliteralThis
labeled alternative inValidWhenParser.literal()
.Visit a parse tree produced byValidWhenParser.string()
.Methods inherited from class org.apache.struts.validator.validwhen.ValidWhenBaseVisitor
visitComparison, visitIdentifier, visitLiteralNum, visitLiteralStr, visitNumber, visitValue
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
ValidWhenEvaluator
-
-
Method Details
-
visitDecimal
Description copied from class:ValidWhenBaseVisitor
Visit a parse tree produced byValidWhenParser.decimal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDecimal
in interfaceValidWhenVisitor<ValidWhenResult<?>>
- Overrides:
visitDecimal
in classValidWhenBaseVisitor<ValidWhenResult<?>>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInteger
Description copied from class:ValidWhenBaseVisitor
Visit a parse tree produced byValidWhenParser.integer()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInteger
in interfaceValidWhenVisitor<ValidWhenResult<?>>
- Overrides:
visitInteger
in classValidWhenBaseVisitor<ValidWhenResult<?>>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitString
Description copied from class:ValidWhenBaseVisitor
Visit a parse tree produced byValidWhenParser.string()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitString
in interfaceValidWhenVisitor<ValidWhenResult<?>>
- Overrides:
visitString
in classValidWhenBaseVisitor<ValidWhenResult<?>>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitField1
Description copied from class:ValidWhenBaseVisitor
Visit a parse tree produced by thefield1
labeled alternative inValidWhenParser.field()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitField1
in interfaceValidWhenVisitor<ValidWhenResult<?>>
- Overrides:
visitField1
in classValidWhenBaseVisitor<ValidWhenResult<?>>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitField2
Description copied from class:ValidWhenBaseVisitor
Visit a parse tree produced by thefield2
labeled alternative inValidWhenParser.field()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitField2
in interfaceValidWhenVisitor<ValidWhenResult<?>>
- Overrides:
visitField2
in classValidWhenBaseVisitor<ValidWhenResult<?>>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitField3
Description copied from class:ValidWhenBaseVisitor
Visit a parse tree produced by thefield3
labeled alternative inValidWhenParser.field()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitField3
in interfaceValidWhenVisitor<ValidWhenResult<?>>
- Overrides:
visitField3
in classValidWhenBaseVisitor<ValidWhenResult<?>>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitField4
Description copied from class:ValidWhenBaseVisitor
Visit a parse tree produced by thefield4
labeled alternative inValidWhenParser.field()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitField4
in interfaceValidWhenVisitor<ValidWhenResult<?>>
- Overrides:
visitField4
in classValidWhenBaseVisitor<ValidWhenResult<?>>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitField5
Description copied from class:ValidWhenBaseVisitor
Visit a parse tree produced by thefield5
labeled alternative inValidWhenParser.field()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitField5
in interfaceValidWhenVisitor<ValidWhenResult<?>>
- Overrides:
visitField5
in classValidWhenBaseVisitor<ValidWhenResult<?>>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralNull
Description copied from class:ValidWhenBaseVisitor
Visit a parse tree produced by theliteralNull
labeled alternative inValidWhenParser.literal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralNull
in interfaceValidWhenVisitor<ValidWhenResult<?>>
- Overrides:
visitLiteralNull
in classValidWhenBaseVisitor<ValidWhenResult<?>>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralThis
Description copied from class:ValidWhenBaseVisitor
Visit a parse tree produced by theliteralThis
labeled alternative inValidWhenParser.literal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralThis
in interfaceValidWhenVisitor<ValidWhenResult<?>>
- Overrides:
visitLiteralThis
in classValidWhenBaseVisitor<ValidWhenResult<?>>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitJoinedExpression
Description copied from class:ValidWhenBaseVisitor
Visit a parse tree produced byValidWhenParser.joinedExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitJoinedExpression
in interfaceValidWhenVisitor<ValidWhenResult<?>>
- Overrides:
visitJoinedExpression
in classValidWhenBaseVisitor<ValidWhenResult<?>>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitComparisonExpression
public ValidWhenResult<?> visitComparisonExpression(ValidWhenParser.ComparisonExpressionContext ctx) Description copied from class:ValidWhenBaseVisitor
Visit a parse tree produced byValidWhenParser.comparisonExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitComparisonExpression
in interfaceValidWhenVisitor<ValidWhenResult<?>>
- Overrides:
visitComparisonExpression
in classValidWhenBaseVisitor<ValidWhenResult<?>>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprComp
Description copied from class:ValidWhenBaseVisitor
Visit a parse tree produced by theexprComp
labeled alternative inValidWhenParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprComp
in interfaceValidWhenVisitor<ValidWhenResult<?>>
- Overrides:
visitExprComp
in classValidWhenBaseVisitor<ValidWhenResult<?>>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExprJoin
Description copied from class:ValidWhenBaseVisitor
Visit a parse tree produced by theexprJoin
labeled alternative inValidWhenParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExprJoin
in interfaceValidWhenVisitor<ValidWhenResult<?>>
- Overrides:
visitExprJoin
in classValidWhenBaseVisitor<ValidWhenResult<?>>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpression
Description copied from class:ValidWhenBaseVisitor
Visit a parse tree produced byValidWhenParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpression
in interfaceValidWhenVisitor<ValidWhenResult<?>>
- Overrides:
visitExpression
in classValidWhenBaseVisitor<ValidWhenResult<?>>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-