Class ValidWhenEvaluator
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<ValidWhenResult<?>>,ValidWhenVisitor<ValidWhenResult<?>>
- Since:
- Struts 1.4.1
- Author:
- Graff Stefan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byValidWhenParser.comparisonExpression().Visit a parse tree produced byValidWhenParser.decimal().Visit a parse tree produced by theexprComplabeled alternative inValidWhenParser.expr().Visit a parse tree produced byValidWhenParser.expression().Visit a parse tree produced by theexprJoinlabeled alternative inValidWhenParser.expr().Visit a parse tree produced by thefield1labeled alternative inValidWhenParser.field().Visit a parse tree produced by thefield2labeled alternative inValidWhenParser.field().Visit a parse tree produced by thefield3labeled alternative inValidWhenParser.field().Visit a parse tree produced by thefield4labeled alternative inValidWhenParser.field().Visit a parse tree produced by thefield5labeled alternative inValidWhenParser.field().Visit a parse tree produced byValidWhenParser.integer().Visit a parse tree produced byValidWhenParser.joinedExpression().Visit a parse tree produced by theliteralNulllabeled alternative inValidWhenParser.literal().Visit a parse tree produced by theliteralThislabeled 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, visitValueMethods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
ValidWhenEvaluator
-
-
Method Details
-
visitDecimal
Description copied from class:ValidWhenBaseVisitorVisit 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:
visitDecimalin interfaceValidWhenVisitor<ValidWhenResult<?>>- Overrides:
visitDecimalin classValidWhenBaseVisitor<ValidWhenResult<?>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInteger
Description copied from class:ValidWhenBaseVisitorVisit 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:
visitIntegerin interfaceValidWhenVisitor<ValidWhenResult<?>>- Overrides:
visitIntegerin classValidWhenBaseVisitor<ValidWhenResult<?>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitString
Description copied from class:ValidWhenBaseVisitorVisit 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:
visitStringin interfaceValidWhenVisitor<ValidWhenResult<?>>- Overrides:
visitStringin classValidWhenBaseVisitor<ValidWhenResult<?>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitField1
Description copied from class:ValidWhenBaseVisitorVisit a parse tree produced by thefield1labeled alternative inValidWhenParser.field().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitField1in interfaceValidWhenVisitor<ValidWhenResult<?>>- Overrides:
visitField1in classValidWhenBaseVisitor<ValidWhenResult<?>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitField2
Description copied from class:ValidWhenBaseVisitorVisit a parse tree produced by thefield2labeled alternative inValidWhenParser.field().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitField2in interfaceValidWhenVisitor<ValidWhenResult<?>>- Overrides:
visitField2in classValidWhenBaseVisitor<ValidWhenResult<?>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitField3
Description copied from class:ValidWhenBaseVisitorVisit a parse tree produced by thefield3labeled alternative inValidWhenParser.field().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitField3in interfaceValidWhenVisitor<ValidWhenResult<?>>- Overrides:
visitField3in classValidWhenBaseVisitor<ValidWhenResult<?>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitField4
Description copied from class:ValidWhenBaseVisitorVisit a parse tree produced by thefield4labeled alternative inValidWhenParser.field().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitField4in interfaceValidWhenVisitor<ValidWhenResult<?>>- Overrides:
visitField4in classValidWhenBaseVisitor<ValidWhenResult<?>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitField5
Description copied from class:ValidWhenBaseVisitorVisit a parse tree produced by thefield5labeled alternative inValidWhenParser.field().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitField5in interfaceValidWhenVisitor<ValidWhenResult<?>>- Overrides:
visitField5in classValidWhenBaseVisitor<ValidWhenResult<?>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralNull
Description copied from class:ValidWhenBaseVisitorVisit a parse tree produced by theliteralNulllabeled alternative inValidWhenParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralNullin interfaceValidWhenVisitor<ValidWhenResult<?>>- Overrides:
visitLiteralNullin classValidWhenBaseVisitor<ValidWhenResult<?>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralThis
Description copied from class:ValidWhenBaseVisitorVisit a parse tree produced by theliteralThislabeled alternative inValidWhenParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralThisin interfaceValidWhenVisitor<ValidWhenResult<?>>- Overrides:
visitLiteralThisin classValidWhenBaseVisitor<ValidWhenResult<?>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitJoinedExpression
Description copied from class:ValidWhenBaseVisitorVisit 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:
visitJoinedExpressionin interfaceValidWhenVisitor<ValidWhenResult<?>>- Overrides:
visitJoinedExpressionin classValidWhenBaseVisitor<ValidWhenResult<?>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitComparisonExpression
public ValidWhenResult<?> visitComparisonExpression(ValidWhenParser.ComparisonExpressionContext ctx) Description copied from class:ValidWhenBaseVisitorVisit 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:
visitComparisonExpressionin interfaceValidWhenVisitor<ValidWhenResult<?>>- Overrides:
visitComparisonExpressionin classValidWhenBaseVisitor<ValidWhenResult<?>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprComp
Description copied from class:ValidWhenBaseVisitorVisit a parse tree produced by theexprComplabeled alternative inValidWhenParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExprCompin interfaceValidWhenVisitor<ValidWhenResult<?>>- Overrides:
visitExprCompin classValidWhenBaseVisitor<ValidWhenResult<?>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExprJoin
Description copied from class:ValidWhenBaseVisitorVisit a parse tree produced by theexprJoinlabeled alternative inValidWhenParser.expr().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExprJoinin interfaceValidWhenVisitor<ValidWhenResult<?>>- Overrides:
visitExprJoinin classValidWhenBaseVisitor<ValidWhenResult<?>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpression
Description copied from class:ValidWhenBaseVisitorVisit 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:
visitExpressionin interfaceValidWhenVisitor<ValidWhenResult<?>>- Overrides:
visitExpressionin classValidWhenBaseVisitor<ValidWhenResult<?>>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-