Class DescriptionStepBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- step.repositories.parser.description.DescriptionStepBaseVisitor<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>
,DescriptionStepVisitor<T>
- Direct Known Subclasses:
CustomDescriptionStepParser.Visitor
public class DescriptionStepBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements DescriptionStepVisitor<T>
This class provides an empty implementation ofDescriptionStepVisitor
, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description DescriptionStepBaseVisitor()
-
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(DescriptionStepParser.ParseContext ctx)
Visit a parse tree produced byDescriptionStepParser.parse()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitParse
in interfaceDescriptionStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpr
public T visitExpr(DescriptionStepParser.ExprContext ctx)
Visit a parse tree produced byDescriptionStepParser.expr()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpr
in interfaceDescriptionStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKeywordExpression
public T visitKeywordExpression(DescriptionStepParser.KeywordExpressionContext ctx)
Visit a parse tree produced byDescriptionStepParser.keywordExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitKeywordExpression
in interfaceDescriptionStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSetExpression
public T visitSetExpression(DescriptionStepParser.SetExpressionContext ctx)
Visit a parse tree produced byDescriptionStepParser.setExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSetExpression
in interfaceDescriptionStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionDeclarationExpression
public T visitFunctionDeclarationExpression(DescriptionStepParser.FunctionDeclarationExpressionContext ctx)
Visit a parse tree produced byDescriptionStepParser.functionDeclarationExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFunctionDeclarationExpression
in interfaceDescriptionStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionDeclarationEndExpression
public T visitFunctionDeclarationEndExpression(DescriptionStepParser.FunctionDeclarationEndExpressionContext ctx)
Visit a parse tree produced byDescriptionStepParser.functionDeclarationEndExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFunctionDeclarationEndExpression
in interfaceDescriptionStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAssignment
public T visitAssignment(DescriptionStepParser.AssignmentContext ctx)
Visit a parse tree produced byDescriptionStepParser.assignment()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAssignment
in interfaceDescriptionStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKeywordParameter
public T visitKeywordParameter(DescriptionStepParser.KeywordParameterContext ctx)
Visit a parse tree produced byDescriptionStepParser.keywordParameter()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitKeywordParameter
in interfaceDescriptionStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitKeywordName
public T visitKeywordName(DescriptionStepParser.KeywordNameContext ctx)
Visit a parse tree produced byDescriptionStepParser.keywordName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitKeywordName
in interfaceDescriptionStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAttributeName
public T visitAttributeName(DescriptionStepParser.AttributeNameContext ctx)
Visit a parse tree produced byDescriptionStepParser.attributeName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAttributeName
in interfaceDescriptionStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAttributeValue
public T visitAttributeValue(DescriptionStepParser.AttributeValueContext ctx)
Visit a parse tree produced byDescriptionStepParser.attributeValue()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAttributeValue
in interfaceDescriptionStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSetValue
public T visitSetValue(DescriptionStepParser.SetValueContext ctx)
Visit a parse tree produced byDescriptionStepParser.setValue()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSetValue
in interfaceDescriptionStepVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-