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. UseVoidfor 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:
visitParsein 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:
visitExprin interfaceExpectedStepVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCheckExpr
public T visitCheckExpr(ExpectedStepParser.CheckExprContext ctx)
Visit a parse tree produced by thecheckExprlabeled alternative inExpectedStepParser.checkExpression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCheckExprin 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:
visitSetExpressionin 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:
visitAssignmentin 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:
visitExportExpressionin 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:
visitControlParameterin 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:
visitAttributeNamein 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:
visitSetValuein 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:
visitAttributeValuein interfaceExpectedStepVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-