Class GherkinBaseListener
- java.lang.Object
-
- net.sourceforge.pmd.lang.gherkin.ast.GherkinBaseListener
-
- All Implemented Interfaces:
GherkinListener
,org.antlr.v4.runtime.tree.ParseTreeListener
@Deprecated @Generated("org.antlr.v4.Tool") public class GherkinBaseListener extends Object implements GherkinListener
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 ofGherkinListener
, which can be extended to create a listener which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description GherkinBaseListener()
Deprecated.
-
Method Summary
-
-
-
Method Detail
-
enterMain
public void enterMain(GherkinParser.MainContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.main()
.The default implementation does nothing.
- Specified by:
enterMain
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitMain
public void exitMain(GherkinParser.MainContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.main()
.The default implementation does nothing.
- Specified by:
exitMain
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterFeature
public void enterFeature(GherkinParser.FeatureContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.feature()
.The default implementation does nothing.
- Specified by:
enterFeature
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitFeature
public void exitFeature(GherkinParser.FeatureContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.feature()
.The default implementation does nothing.
- Specified by:
exitFeature
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterInstructionLine
public void enterInstructionLine(GherkinParser.InstructionLineContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.instructionLine()
.The default implementation does nothing.
- Specified by:
enterInstructionLine
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitInstructionLine
public void exitInstructionLine(GherkinParser.InstructionLineContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.instructionLine()
.The default implementation does nothing.
- Specified by:
exitInstructionLine
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterInstruction
public void enterInstruction(GherkinParser.InstructionContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.instruction()
.The default implementation does nothing.
- Specified by:
enterInstruction
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitInstruction
public void exitInstruction(GherkinParser.InstructionContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.instruction()
.The default implementation does nothing.
- Specified by:
exitInstruction
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterStepInstruction
public void enterStepInstruction(GherkinParser.StepInstructionContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.stepInstruction()
.The default implementation does nothing.
- Specified by:
enterStepInstruction
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitStepInstruction
public void exitStepInstruction(GherkinParser.StepInstructionContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.stepInstruction()
.The default implementation does nothing.
- Specified by:
exitStepInstruction
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterBackground
public void enterBackground(GherkinParser.BackgroundContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.background()
.The default implementation does nothing.
- Specified by:
enterBackground
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitBackground
public void exitBackground(GherkinParser.BackgroundContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.background()
.The default implementation does nothing.
- Specified by:
exitBackground
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterRulex
public void enterRulex(GherkinParser.RulexContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.rulex()
.The default implementation does nothing.
- Specified by:
enterRulex
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitRulex
public void exitRulex(GherkinParser.RulexContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.rulex()
.The default implementation does nothing.
- Specified by:
exitRulex
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterScenario
public void enterScenario(GherkinParser.ScenarioContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.scenario()
.The default implementation does nothing.
- Specified by:
enterScenario
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitScenario
public void exitScenario(GherkinParser.ScenarioContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.scenario()
.The default implementation does nothing.
- Specified by:
exitScenario
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterScenarioOutline
public void enterScenarioOutline(GherkinParser.ScenarioOutlineContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.scenarioOutline()
.The default implementation does nothing.
- Specified by:
enterScenarioOutline
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitScenarioOutline
public void exitScenarioOutline(GherkinParser.ScenarioOutlineContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.scenarioOutline()
.The default implementation does nothing.
- Specified by:
exitScenarioOutline
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterStep
public void enterStep(GherkinParser.StepContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.step()
.The default implementation does nothing.
- Specified by:
enterStep
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitStep
public void exitStep(GherkinParser.StepContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.step()
.The default implementation does nothing.
- Specified by:
exitStep
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterStepItem
public void enterStepItem(GherkinParser.StepItemContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.stepItem()
.The default implementation does nothing.
- Specified by:
enterStepItem
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitStepItem
public void exitStepItem(GherkinParser.StepItemContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.stepItem()
.The default implementation does nothing.
- Specified by:
exitStepItem
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterTagline
public void enterTagline(GherkinParser.TaglineContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.tagline()
.The default implementation does nothing.
- Specified by:
enterTagline
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitTagline
public void exitTagline(GherkinParser.TaglineContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.tagline()
.The default implementation does nothing.
- Specified by:
exitTagline
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterAnd
public void enterAnd(GherkinParser.AndContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.and()
.The default implementation does nothing.
- Specified by:
enterAnd
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitAnd
public void exitAnd(GherkinParser.AndContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.and()
.The default implementation does nothing.
- Specified by:
exitAnd
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterAnystep
public void enterAnystep(GherkinParser.AnystepContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.anystep()
.The default implementation does nothing.
- Specified by:
enterAnystep
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitAnystep
public void exitAnystep(GherkinParser.AnystepContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.anystep()
.The default implementation does nothing.
- Specified by:
exitAnystep
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterBut
public void enterBut(GherkinParser.ButContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.but()
.The default implementation does nothing.
- Specified by:
enterBut
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitBut
public void exitBut(GherkinParser.ButContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.but()
.The default implementation does nothing.
- Specified by:
exitBut
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterDatatable
public void enterDatatable(GherkinParser.DatatableContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.datatable()
.The default implementation does nothing.
- Specified by:
enterDatatable
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitDatatable
public void exitDatatable(GherkinParser.DatatableContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.datatable()
.The default implementation does nothing.
- Specified by:
exitDatatable
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterGiven
public void enterGiven(GherkinParser.GivenContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.given()
.The default implementation does nothing.
- Specified by:
enterGiven
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitGiven
public void exitGiven(GherkinParser.GivenContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.given()
.The default implementation does nothing.
- Specified by:
exitGiven
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterThen
public void enterThen(GherkinParser.ThenContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.then()
.The default implementation does nothing.
- Specified by:
enterThen
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitThen
public void exitThen(GherkinParser.ThenContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.then()
.The default implementation does nothing.
- Specified by:
exitThen
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterWhen
public void enterWhen(GherkinParser.WhenContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.when()
.The default implementation does nothing.
- Specified by:
enterWhen
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitWhen
public void exitWhen(GherkinParser.WhenContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.when()
.The default implementation does nothing.
- Specified by:
exitWhen
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterExamples
public void enterExamples(GherkinParser.ExamplesContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.examples()
.The default implementation does nothing.
- Specified by:
enterExamples
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitExamples
public void exitExamples(GherkinParser.ExamplesContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.examples()
.The default implementation does nothing.
- Specified by:
exitExamples
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterInstructionDescription
public void enterInstructionDescription(GherkinParser.InstructionDescriptionContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.instructionDescription()
.The default implementation does nothing.
- Specified by:
enterInstructionDescription
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitInstructionDescription
public void exitInstructionDescription(GherkinParser.InstructionDescriptionContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.instructionDescription()
.The default implementation does nothing.
- Specified by:
exitInstructionDescription
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterStepDescription
public void enterStepDescription(GherkinParser.StepDescriptionContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.stepDescription()
.The default implementation does nothing.
- Specified by:
enterStepDescription
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitStepDescription
public void exitStepDescription(GherkinParser.StepDescriptionContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.stepDescription()
.The default implementation does nothing.
- Specified by:
exitStepDescription
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterDescription
public void enterDescription(GherkinParser.DescriptionContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.description()
.The default implementation does nothing.
- Specified by:
enterDescription
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitDescription
public void exitDescription(GherkinParser.DescriptionContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.description()
.The default implementation does nothing.
- Specified by:
exitDescription
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterText
public void enterText(GherkinParser.TextContext ctx)
Deprecated.Enter a parse tree produced byGherkinParser.text()
.The default implementation does nothing.
- Specified by:
enterText
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
exitText
public void exitText(GherkinParser.TextContext ctx)
Deprecated.Exit a parse tree produced byGherkinParser.text()
.The default implementation does nothing.
- Specified by:
exitText
in interfaceGherkinListener
- Parameters:
ctx
- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
Deprecated.The default implementation does nothing.
- Specified by:
enterEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
Deprecated.The default implementation does nothing.
- Specified by:
exitEveryRule
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
Deprecated.The default implementation does nothing.
- Specified by:
visitTerminal
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
Deprecated.The default implementation does nothing.
- Specified by:
visitErrorNode
in interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
-