Class GherkinBaseListener
- java.lang.Object
-
- net.sourceforge.pmd.lang.gherkin.ast.GherkinBaseListener
-
- All Implemented Interfaces:
GherkinListener,org.antlr.v4.runtime.tree.ParseTreeListener
public class GherkinBaseListener extends Object implements GherkinListener
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()
-
Method Summary
-
-
-
Method Detail
-
enterMain
public void enterMain(GherkinParser.MainContext ctx)
Enter a parse tree produced byGherkinParser.main().The default implementation does nothing.
- Specified by:
enterMainin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitMain
public void exitMain(GherkinParser.MainContext ctx)
Exit a parse tree produced byGherkinParser.main().The default implementation does nothing.
- Specified by:
exitMainin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterFeature
public void enterFeature(GherkinParser.FeatureContext ctx)
Enter a parse tree produced byGherkinParser.feature().The default implementation does nothing.
- Specified by:
enterFeaturein interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitFeature
public void exitFeature(GherkinParser.FeatureContext ctx)
Exit a parse tree produced byGherkinParser.feature().The default implementation does nothing.
- Specified by:
exitFeaturein interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterInstructionLine
public void enterInstructionLine(GherkinParser.InstructionLineContext ctx)
Enter a parse tree produced byGherkinParser.instructionLine().The default implementation does nothing.
- Specified by:
enterInstructionLinein interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitInstructionLine
public void exitInstructionLine(GherkinParser.InstructionLineContext ctx)
Exit a parse tree produced byGherkinParser.instructionLine().The default implementation does nothing.
- Specified by:
exitInstructionLinein interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterInstruction
public void enterInstruction(GherkinParser.InstructionContext ctx)
Enter a parse tree produced byGherkinParser.instruction().The default implementation does nothing.
- Specified by:
enterInstructionin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitInstruction
public void exitInstruction(GherkinParser.InstructionContext ctx)
Exit a parse tree produced byGherkinParser.instruction().The default implementation does nothing.
- Specified by:
exitInstructionin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterStepInstruction
public void enterStepInstruction(GherkinParser.StepInstructionContext ctx)
Enter a parse tree produced byGherkinParser.stepInstruction().The default implementation does nothing.
- Specified by:
enterStepInstructionin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitStepInstruction
public void exitStepInstruction(GherkinParser.StepInstructionContext ctx)
Exit a parse tree produced byGherkinParser.stepInstruction().The default implementation does nothing.
- Specified by:
exitStepInstructionin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterBackground
public void enterBackground(GherkinParser.BackgroundContext ctx)
Enter a parse tree produced byGherkinParser.background().The default implementation does nothing.
- Specified by:
enterBackgroundin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitBackground
public void exitBackground(GherkinParser.BackgroundContext ctx)
Exit a parse tree produced byGherkinParser.background().The default implementation does nothing.
- Specified by:
exitBackgroundin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterRulex
public void enterRulex(GherkinParser.RulexContext ctx)
Enter a parse tree produced byGherkinParser.rulex().The default implementation does nothing.
- Specified by:
enterRulexin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitRulex
public void exitRulex(GherkinParser.RulexContext ctx)
Exit a parse tree produced byGherkinParser.rulex().The default implementation does nothing.
- Specified by:
exitRulexin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterScenario
public void enterScenario(GherkinParser.ScenarioContext ctx)
Enter a parse tree produced byGherkinParser.scenario().The default implementation does nothing.
- Specified by:
enterScenarioin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitScenario
public void exitScenario(GherkinParser.ScenarioContext ctx)
Exit a parse tree produced byGherkinParser.scenario().The default implementation does nothing.
- Specified by:
exitScenarioin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterScenarioOutline
public void enterScenarioOutline(GherkinParser.ScenarioOutlineContext ctx)
Enter a parse tree produced byGherkinParser.scenarioOutline().The default implementation does nothing.
- Specified by:
enterScenarioOutlinein interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitScenarioOutline
public void exitScenarioOutline(GherkinParser.ScenarioOutlineContext ctx)
Exit a parse tree produced byGherkinParser.scenarioOutline().The default implementation does nothing.
- Specified by:
exitScenarioOutlinein interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterStep
public void enterStep(GherkinParser.StepContext ctx)
Enter a parse tree produced byGherkinParser.step().The default implementation does nothing.
- Specified by:
enterStepin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitStep
public void exitStep(GherkinParser.StepContext ctx)
Exit a parse tree produced byGherkinParser.step().The default implementation does nothing.
- Specified by:
exitStepin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterStepItem
public void enterStepItem(GherkinParser.StepItemContext ctx)
Enter a parse tree produced byGherkinParser.stepItem().The default implementation does nothing.
- Specified by:
enterStepItemin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitStepItem
public void exitStepItem(GherkinParser.StepItemContext ctx)
Exit a parse tree produced byGherkinParser.stepItem().The default implementation does nothing.
- Specified by:
exitStepItemin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterTagline
public void enterTagline(GherkinParser.TaglineContext ctx)
Enter a parse tree produced byGherkinParser.tagline().The default implementation does nothing.
- Specified by:
enterTaglinein interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitTagline
public void exitTagline(GherkinParser.TaglineContext ctx)
Exit a parse tree produced byGherkinParser.tagline().The default implementation does nothing.
- Specified by:
exitTaglinein interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterAnd
public void enterAnd(GherkinParser.AndContext ctx)
Enter a parse tree produced byGherkinParser.and().The default implementation does nothing.
- Specified by:
enterAndin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitAnd
public void exitAnd(GherkinParser.AndContext ctx)
Exit a parse tree produced byGherkinParser.and().The default implementation does nothing.
- Specified by:
exitAndin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterAnystep
public void enterAnystep(GherkinParser.AnystepContext ctx)
Enter a parse tree produced byGherkinParser.anystep().The default implementation does nothing.
- Specified by:
enterAnystepin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitAnystep
public void exitAnystep(GherkinParser.AnystepContext ctx)
Exit a parse tree produced byGherkinParser.anystep().The default implementation does nothing.
- Specified by:
exitAnystepin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterBut
public void enterBut(GherkinParser.ButContext ctx)
Enter a parse tree produced byGherkinParser.but().The default implementation does nothing.
- Specified by:
enterButin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitBut
public void exitBut(GherkinParser.ButContext ctx)
Exit a parse tree produced byGherkinParser.but().The default implementation does nothing.
- Specified by:
exitButin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterDatatable
public void enterDatatable(GherkinParser.DatatableContext ctx)
Enter a parse tree produced byGherkinParser.datatable().The default implementation does nothing.
- Specified by:
enterDatatablein interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitDatatable
public void exitDatatable(GherkinParser.DatatableContext ctx)
Exit a parse tree produced byGherkinParser.datatable().The default implementation does nothing.
- Specified by:
exitDatatablein interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterGiven
public void enterGiven(GherkinParser.GivenContext ctx)
Enter a parse tree produced byGherkinParser.given().The default implementation does nothing.
- Specified by:
enterGivenin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitGiven
public void exitGiven(GherkinParser.GivenContext ctx)
Exit a parse tree produced byGherkinParser.given().The default implementation does nothing.
- Specified by:
exitGivenin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterThen
public void enterThen(GherkinParser.ThenContext ctx)
Enter a parse tree produced byGherkinParser.then().The default implementation does nothing.
- Specified by:
enterThenin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitThen
public void exitThen(GherkinParser.ThenContext ctx)
Exit a parse tree produced byGherkinParser.then().The default implementation does nothing.
- Specified by:
exitThenin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterWhen
public void enterWhen(GherkinParser.WhenContext ctx)
Enter a parse tree produced byGherkinParser.when().The default implementation does nothing.
- Specified by:
enterWhenin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitWhen
public void exitWhen(GherkinParser.WhenContext ctx)
Exit a parse tree produced byGherkinParser.when().The default implementation does nothing.
- Specified by:
exitWhenin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterExamples
public void enterExamples(GherkinParser.ExamplesContext ctx)
Enter a parse tree produced byGherkinParser.examples().The default implementation does nothing.
- Specified by:
enterExamplesin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitExamples
public void exitExamples(GherkinParser.ExamplesContext ctx)
Exit a parse tree produced byGherkinParser.examples().The default implementation does nothing.
- Specified by:
exitExamplesin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterInstructionDescription
public void enterInstructionDescription(GherkinParser.InstructionDescriptionContext ctx)
Enter a parse tree produced byGherkinParser.instructionDescription().The default implementation does nothing.
- Specified by:
enterInstructionDescriptionin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitInstructionDescription
public void exitInstructionDescription(GherkinParser.InstructionDescriptionContext ctx)
Exit a parse tree produced byGherkinParser.instructionDescription().The default implementation does nothing.
- Specified by:
exitInstructionDescriptionin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterStepDescription
public void enterStepDescription(GherkinParser.StepDescriptionContext ctx)
Enter a parse tree produced byGherkinParser.stepDescription().The default implementation does nothing.
- Specified by:
enterStepDescriptionin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitStepDescription
public void exitStepDescription(GherkinParser.StepDescriptionContext ctx)
Exit a parse tree produced byGherkinParser.stepDescription().The default implementation does nothing.
- Specified by:
exitStepDescriptionin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterDescription
public void enterDescription(GherkinParser.DescriptionContext ctx)
Enter a parse tree produced byGherkinParser.description().The default implementation does nothing.
- Specified by:
enterDescriptionin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitDescription
public void exitDescription(GherkinParser.DescriptionContext ctx)
Exit a parse tree produced byGherkinParser.description().The default implementation does nothing.
- Specified by:
exitDescriptionin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterText
public void enterText(GherkinParser.TextContext ctx)
Enter a parse tree produced byGherkinParser.text().The default implementation does nothing.
- Specified by:
enterTextin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
exitText
public void exitText(GherkinParser.TextContext ctx)
Exit a parse tree produced byGherkinParser.text().The default implementation does nothing.
- Specified by:
exitTextin interfaceGherkinListener- Parameters:
ctx- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
enterEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
- Specified by:
exitEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
- Specified by:
visitTerminalin interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
- Specified by:
visitErrorNodein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
-