Class ExpectedStepBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- step.repositories.parser.expected.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
public class ExpectedStepBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements ExpectedStepVisitor<T>
This class provides an empty implementation ofExpectedStepVisitor
, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description ExpectedStepBaseVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitParse
public T visitParse(ExpectedStepParser.ParseContext ctx)
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
public T visitExpr(ExpectedStepParser.ExprContext ctx)
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
public T visitCheckExpr(ExpectedStepParser.CheckExprContext ctx)
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
public T visitSetExpression(ExpectedStepParser.SetExpressionContext ctx)
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
public T visitAssignment(ExpectedStepParser.AssignmentContext ctx)
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
public T visitExportExpression(ExpectedStepParser.ExportExpressionContext ctx)
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
public T visitControlParameter(ExpectedStepParser.ControlParameterContext ctx)
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
-
visitAttributeName
public T visitAttributeName(ExpectedStepParser.AttributeNameContext ctx)
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
public T visitSetValue(ExpectedStepParser.SetValueContext ctx)
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
public T visitAttributeValue(ExpectedStepParser.AttributeValueContext ctx)
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
-
-