Class ExpectedStepBaseVisitor<T>
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
,ExpectedStepVisitor<T>
- Direct Known Subclasses:
CustomExpectedStepParser.Visitor
ExpectedStepVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byExpectedStepParser.assignment()
.Visit a parse tree produced byExpectedStepParser.attributeName()
.Visit a parse tree produced byExpectedStepParser.attributeValue()
.Visit a parse tree produced by thecheckExpr
labeled alternative inExpectedStepParser.checkExpression()
.Visit a parse tree produced byExpectedStepParser.controlParameter()
.Visit a parse tree produced byExpectedStepParser.exportExpression()
.Visit a parse tree produced byExpectedStepParser.expr()
.Visit a parse tree produced byExpectedStepParser.outputAttributeName()
.Visit a parse tree produced byExpectedStepParser.parse()
.Visit a parse tree produced byExpectedStepParser.setExpression()
.Visit a parse tree produced byExpectedStepParser.setValue()
.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
-
ExpectedStepBaseVisitor
public ExpectedStepBaseVisitor()
-
-
Method Details
-
visitParse
Visit a parse tree produced byExpectedStepParser.parse()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitParse
in interfaceExpectedStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpr
Visit a parse tree produced byExpectedStepParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpr
in interfaceExpectedStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCheckExpr
Visit a parse tree produced by thecheckExpr
labeled alternative inExpectedStepParser.checkExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCheckExpr
in interfaceExpectedStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSetExpression
Visit a parse tree produced byExpectedStepParser.setExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSetExpression
in interfaceExpectedStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAssignment
Visit a parse tree produced byExpectedStepParser.assignment()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAssignment
in interfaceExpectedStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExportExpression
Visit a parse tree produced byExpectedStepParser.exportExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExportExpression
in interfaceExpectedStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitControlParameter
Visit a parse tree produced byExpectedStepParser.controlParameter()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitControlParameter
in interfaceExpectedStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOutputAttributeName
Visit a parse tree produced byExpectedStepParser.outputAttributeName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitOutputAttributeName
in interfaceExpectedStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAttributeName
Visit a parse tree produced byExpectedStepParser.attributeName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAttributeName
in interfaceExpectedStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSetValue
Visit a parse tree produced byExpectedStepParser.setValue()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSetValue
in interfaceExpectedStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAttributeValue
Visit a parse tree produced byExpectedStepParser.attributeValue()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAttributeValue
in interfaceExpectedStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-