Class GherkinBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- net.sourceforge.pmd.lang.gherkin.ast.GherkinBaseVisitor<T>
-
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Implemented Interfaces:
GherkinVisitor<T>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
@Deprecated @Generated("org.antlr.v4.Tool") public class GherkinBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements GherkinVisitor<T>
Deprecated.Since 7.8.0. This class was never intended to be generated. It will be removed with no replacement.This class provides an empty implementation ofGherkinVisitor
, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description GherkinBaseVisitor()
Deprecated.
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitMain
public T visitMain(GherkinParser.MainContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.main()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMain
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFeature
public T visitFeature(GherkinParser.FeatureContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.feature()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFeature
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInstructionLine
public T visitInstructionLine(GherkinParser.InstructionLineContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.instructionLine()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInstructionLine
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInstruction
public T visitInstruction(GherkinParser.InstructionContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.instruction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInstruction
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepInstruction
public T visitStepInstruction(GherkinParser.StepInstructionContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.stepInstruction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitStepInstruction
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBackground
public T visitBackground(GherkinParser.BackgroundContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.background()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBackground
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRulex
public T visitRulex(GherkinParser.RulexContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.rulex()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitRulex
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitScenario
public T visitScenario(GherkinParser.ScenarioContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.scenario()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitScenario
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitScenarioOutline
public T visitScenarioOutline(GherkinParser.ScenarioOutlineContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.scenarioOutline()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitScenarioOutline
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStep
public T visitStep(GherkinParser.StepContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.step()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitStep
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepItem
public T visitStepItem(GherkinParser.StepItemContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.stepItem()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitStepItem
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTagline
public T visitTagline(GherkinParser.TaglineContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.tagline()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTagline
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnd
public T visitAnd(GherkinParser.AndContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.and()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAnd
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnystep
public T visitAnystep(GherkinParser.AnystepContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.anystep()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAnystep
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBut
public T visitBut(GherkinParser.ButContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.but()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBut
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDatatable
public T visitDatatable(GherkinParser.DatatableContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.datatable()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDatatable
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGiven
public T visitGiven(GherkinParser.GivenContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.given()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGiven
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitThen
public T visitThen(GherkinParser.ThenContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.then()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitThen
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWhen
public T visitWhen(GherkinParser.WhenContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.when()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitWhen
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExamples
public T visitExamples(GherkinParser.ExamplesContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.examples()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExamples
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInstructionDescription
public T visitInstructionDescription(GherkinParser.InstructionDescriptionContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.instructionDescription()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInstructionDescription
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepDescription
public T visitStepDescription(GherkinParser.StepDescriptionContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.stepDescription()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitStepDescription
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDescription
public T visitDescription(GherkinParser.DescriptionContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.description()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDescription
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitText
public T visitText(GherkinParser.TextContext ctx)
Deprecated.Visit a parse tree produced byGherkinParser.text()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitText
in interfaceGherkinVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-