Class ParseTreeVisitorBase
java.lang.Object
dev.galasa.framework.spi.language.gherkin.xform.ParseTreeVisitorBase
- All Implemented Interfaces:
ParseTreeVisitor
- Direct Known Subclasses:
ParseTreeNavigator
,ParseTreeTransform
,ParseTreeVisitorPrinter
A base class which implements the interface for visiting a parse tree.
None of the methods do anything, but are here so that actual visitor logic
doesn't have to implement pre- post- and during- visitor methods themselves.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
postVisit
(ParseToken token) void
postVisitDataLine
(ParseToken token) void
postVisitDataTable
(ParseToken token) void
void
void
postVisitEndOfFile
(ParseToken token) void
postVisitExamplesStart
(ParseToken token) void
postVisitFeature
(ParseToken token) void
postVisitFeatureStart
(ParseToken token) void
postVisitScenario
(ParseToken token) void
void
void
postVisitScenarioPart
(ParseToken token) void
void
postVisitScenarioStart
(ParseToken token) void
postVisitStep
(ParseToken token) void
postVisitStepList
(ParseToken token) void
preVisit
(ParseToken token) void
preVisitDataLine
(ParseToken token) void
preVisitDataTable
(ParseToken token) void
void
void
preVisitEndOfFile
(ParseToken token) void
preVisitExamplesStart
(ParseToken token) void
preVisitFeature
(ParseToken token) void
preVisitFeatureStart
(ParseToken token) void
preVisitScenario
(ParseToken token) void
void
void
preVisitScenarioPart
(ParseToken token) void
void
preVisitScenarioStart
(ParseToken token) void
preVisitStep
(ParseToken token) void
preVisitStepList
(ParseToken token) void
visit
(ParseToken rootNode) void
visitDataLine
(ParseToken token) void
visitDataTable
(ParseToken token) void
visitDataTableHeader
(ParseToken token) void
visitDataTableLineList
(ParseToken token) void
visitEndOfFile
(ParseToken token) void
visitExamplesStart
(ParseToken token) void
visitFeature
(ParseToken token) void
visitFeatureStart
(ParseToken token) void
visitScenario
(ParseToken token) void
visitScenarioOutline
(ParseToken token) void
void
visitScenarioPart
(ParseToken token) void
visitScenarioPartList
(ParseToken token) void
visitScenarioStart
(ParseToken token) void
visitStep
(ParseToken token) void
visitStepList
(ParseToken token)
-
Constructor Details
-
ParseTreeVisitorBase
public ParseTreeVisitorBase()
-
-
Method Details
-
visit
- Specified by:
visit
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
visitFeature
- Specified by:
visitFeature
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
visitScenarioPartList
- Specified by:
visitScenarioPartList
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
visitScenarioPart
- Specified by:
visitScenarioPart
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
visitScenario
- Specified by:
visitScenario
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
visitStepList
- Specified by:
visitStepList
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
visitFeatureStart
- Specified by:
visitFeatureStart
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
visitDataTableHeader
- Specified by:
visitDataTableHeader
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
visitDataTableLineList
- Specified by:
visitDataTableLineList
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
visitDataTable
- Specified by:
visitDataTable
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
visitScenarioOutline
- Specified by:
visitScenarioOutline
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
visitEndOfFile
- Specified by:
visitEndOfFile
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
visitDataLine
- Specified by:
visitDataLine
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
visitScenarioStart
- Specified by:
visitScenarioStart
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
visitStep
- Specified by:
visitStep
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
visitScenarioOutlineStart
- Specified by:
visitScenarioOutlineStart
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
visitExamplesStart
- Specified by:
visitExamplesStart
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
postVisit
- Specified by:
postVisit
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
preVisit
- Specified by:
preVisit
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
postVisitFeature
- Specified by:
postVisitFeature
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
postVisitScenarioPartList
- Specified by:
postVisitScenarioPartList
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
postVisitScenarioPart
- Specified by:
postVisitScenarioPart
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
postVisitScenario
- Specified by:
postVisitScenario
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
postVisitStepList
- Specified by:
postVisitStepList
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
postVisitFeatureStart
- Specified by:
postVisitFeatureStart
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
postVisitDataTable
- Specified by:
postVisitDataTable
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
postVisitDataTableHeader
- Specified by:
postVisitDataTableHeader
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
postVisitDataTableLineList
- Specified by:
postVisitDataTableLineList
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
postVisitScenarioOutline
- Specified by:
postVisitScenarioOutline
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
postVisitEndOfFile
- Specified by:
postVisitEndOfFile
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
postVisitDataLine
- Specified by:
postVisitDataLine
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
postVisitScenarioStart
- Specified by:
postVisitScenarioStart
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
postVisitStep
- Specified by:
postVisitStep
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
postVisitScenarioOutlineStart
- Specified by:
postVisitScenarioOutlineStart
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
postVisitExamplesStart
- Specified by:
postVisitExamplesStart
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
preVisitFeature
- Specified by:
preVisitFeature
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
preVisitScenarioPartList
- Specified by:
preVisitScenarioPartList
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
preVisitScenarioPart
- Specified by:
preVisitScenarioPart
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
preVisitScenario
- Specified by:
preVisitScenario
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
preVisitStepList
- Specified by:
preVisitStepList
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
preVisitFeatureStart
- Specified by:
preVisitFeatureStart
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
preVisitDataTable
- Specified by:
preVisitDataTable
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
preVisitDataTableHeader
- Specified by:
preVisitDataTableHeader
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
preVisitDataTableLineList
- Specified by:
preVisitDataTableLineList
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
preVisitScenarioOutline
- Specified by:
preVisitScenarioOutline
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
preVisitEndOfFile
- Specified by:
preVisitEndOfFile
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
preVisitDataLine
- Specified by:
preVisitDataLine
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
preVisitScenarioStart
- Specified by:
preVisitScenarioStart
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
preVisitStep
- Specified by:
preVisitStep
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
preVisitScenarioOutlineStart
- Specified by:
preVisitScenarioOutlineStart
in interfaceParseTreeVisitor
- Throws:
TestRunException
-
preVisitExamplesStart
- Specified by:
preVisitExamplesStart
in interfaceParseTreeVisitor
- Throws:
TestRunException
-