Interface GherkinVisitor<T>
-
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
GherkinBaseVisitor
public interface GherkinVisitor<T> extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced byGherkinParser
.
-
-
Method Summary
-
-
-
Method Detail
-
visitMain
T visitMain(GherkinParser.MainContext ctx)
Visit a parse tree produced byGherkinParser.main()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFeature
T visitFeature(GherkinParser.FeatureContext ctx)
Visit a parse tree produced byGherkinParser.feature()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInstructionLine
T visitInstructionLine(GherkinParser.InstructionLineContext ctx)
Visit a parse tree produced byGherkinParser.instructionLine()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInstruction
T visitInstruction(GherkinParser.InstructionContext ctx)
Visit a parse tree produced byGherkinParser.instruction()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepInstruction
T visitStepInstruction(GherkinParser.StepInstructionContext ctx)
Visit a parse tree produced byGherkinParser.stepInstruction()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBackground
T visitBackground(GherkinParser.BackgroundContext ctx)
Visit a parse tree produced byGherkinParser.background()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRulex
T visitRulex(GherkinParser.RulexContext ctx)
Visit a parse tree produced byGherkinParser.rulex()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitScenario
T visitScenario(GherkinParser.ScenarioContext ctx)
Visit a parse tree produced byGherkinParser.scenario()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitScenarioOutline
T visitScenarioOutline(GherkinParser.ScenarioOutlineContext ctx)
Visit a parse tree produced byGherkinParser.scenarioOutline()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStep
T visitStep(GherkinParser.StepContext ctx)
Visit a parse tree produced byGherkinParser.step()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepItem
T visitStepItem(GherkinParser.StepItemContext ctx)
Visit a parse tree produced byGherkinParser.stepItem()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTagline
T visitTagline(GherkinParser.TaglineContext ctx)
Visit a parse tree produced byGherkinParser.tagline()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnd
T visitAnd(GherkinParser.AndContext ctx)
Visit a parse tree produced byGherkinParser.and()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnystep
T visitAnystep(GherkinParser.AnystepContext ctx)
Visit a parse tree produced byGherkinParser.anystep()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBut
T visitBut(GherkinParser.ButContext ctx)
Visit a parse tree produced byGherkinParser.but()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDatatable
T visitDatatable(GherkinParser.DatatableContext ctx)
Visit a parse tree produced byGherkinParser.datatable()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGiven
T visitGiven(GherkinParser.GivenContext ctx)
Visit a parse tree produced byGherkinParser.given()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitThen
T visitThen(GherkinParser.ThenContext ctx)
Visit a parse tree produced byGherkinParser.then()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWhen
T visitWhen(GherkinParser.WhenContext ctx)
Visit a parse tree produced byGherkinParser.when()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExamples
T visitExamples(GherkinParser.ExamplesContext ctx)
Visit a parse tree produced byGherkinParser.examples()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInstructionDescription
T visitInstructionDescription(GherkinParser.InstructionDescriptionContext ctx)
Visit a parse tree produced byGherkinParser.instructionDescription()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStepDescription
T visitStepDescription(GherkinParser.StepDescriptionContext ctx)
Visit a parse tree produced byGherkinParser.stepDescription()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDescription
T visitDescription(GherkinParser.DescriptionContext ctx)
Visit a parse tree produced byGherkinParser.description()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitText
T visitText(GherkinParser.TextContext ctx)
Visit a parse tree produced byGherkinParser.text()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-