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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpostVisit(ParseToken token) voidpostVisitDataLine(ParseToken token) voidpostVisitDataTable(ParseToken token) voidvoidvoidpostVisitEndOfFile(ParseToken token) voidpostVisitExamplesStart(ParseToken token) voidpostVisitFeature(ParseToken token) voidpostVisitFeatureStart(ParseToken token) voidpostVisitScenario(ParseToken token) voidvoidvoidpostVisitScenarioPart(ParseToken token) voidvoidpostVisitScenarioStart(ParseToken token) voidpostVisitStep(ParseToken token) voidpostVisitStepList(ParseToken token) voidpreVisit(ParseToken token) voidpreVisitDataLine(ParseToken token) voidpreVisitDataTable(ParseToken token) voidvoidvoidpreVisitEndOfFile(ParseToken token) voidpreVisitExamplesStart(ParseToken token) voidpreVisitFeature(ParseToken token) voidpreVisitFeatureStart(ParseToken token) voidpreVisitScenario(ParseToken token) voidvoidvoidpreVisitScenarioPart(ParseToken token) voidvoidpreVisitScenarioStart(ParseToken token) voidpreVisitStep(ParseToken token) voidpreVisitStepList(ParseToken token) voidvisit(ParseToken rootNode) voidvisitDataLine(ParseToken token) voidvisitDataTable(ParseToken token) voidvisitDataTableHeader(ParseToken token) voidvisitDataTableLineList(ParseToken token) voidvisitEndOfFile(ParseToken token) voidvisitExamplesStart(ParseToken token) voidvisitFeature(ParseToken token) voidvisitFeatureStart(ParseToken token) voidvisitScenario(ParseToken token) voidvisitScenarioOutline(ParseToken token) voidvoidvisitScenarioPart(ParseToken token) voidvisitScenarioPartList(ParseToken token) voidvisitScenarioStart(ParseToken token) voidvisitStep(ParseToken token) voidvisitStepList(ParseToken token)
-
Constructor Details
-
ParseTreeVisitorBase
public ParseTreeVisitorBase()
-
-
Method Details
-
visit
- Specified by:
visitin interfaceParseTreeVisitor- Throws:
TestRunException
-
visitFeature
- Specified by:
visitFeaturein interfaceParseTreeVisitor- Throws:
TestRunException
-
visitScenarioPartList
- Specified by:
visitScenarioPartListin interfaceParseTreeVisitor- Throws:
TestRunException
-
visitScenarioPart
- Specified by:
visitScenarioPartin interfaceParseTreeVisitor- Throws:
TestRunException
-
visitScenario
- Specified by:
visitScenarioin interfaceParseTreeVisitor- Throws:
TestRunException
-
visitStepList
- Specified by:
visitStepListin interfaceParseTreeVisitor- Throws:
TestRunException
-
visitFeatureStart
- Specified by:
visitFeatureStartin interfaceParseTreeVisitor- Throws:
TestRunException
-
visitDataTableHeader
- Specified by:
visitDataTableHeaderin interfaceParseTreeVisitor- Throws:
TestRunException
-
visitDataTableLineList
- Specified by:
visitDataTableLineListin interfaceParseTreeVisitor- Throws:
TestRunException
-
visitDataTable
- Specified by:
visitDataTablein interfaceParseTreeVisitor- Throws:
TestRunException
-
visitScenarioOutline
- Specified by:
visitScenarioOutlinein interfaceParseTreeVisitor- Throws:
TestRunException
-
visitEndOfFile
- Specified by:
visitEndOfFilein interfaceParseTreeVisitor- Throws:
TestRunException
-
visitDataLine
- Specified by:
visitDataLinein interfaceParseTreeVisitor- Throws:
TestRunException
-
visitScenarioStart
- Specified by:
visitScenarioStartin interfaceParseTreeVisitor- Throws:
TestRunException
-
visitStep
- Specified by:
visitStepin interfaceParseTreeVisitor- Throws:
TestRunException
-
visitScenarioOutlineStart
- Specified by:
visitScenarioOutlineStartin interfaceParseTreeVisitor- Throws:
TestRunException
-
visitExamplesStart
- Specified by:
visitExamplesStartin interfaceParseTreeVisitor- Throws:
TestRunException
-
postVisit
- Specified by:
postVisitin interfaceParseTreeVisitor- Throws:
TestRunException
-
preVisit
- Specified by:
preVisitin interfaceParseTreeVisitor- Throws:
TestRunException
-
postVisitFeature
- Specified by:
postVisitFeaturein interfaceParseTreeVisitor- Throws:
TestRunException
-
postVisitScenarioPartList
- Specified by:
postVisitScenarioPartListin interfaceParseTreeVisitor- Throws:
TestRunException
-
postVisitScenarioPart
- Specified by:
postVisitScenarioPartin interfaceParseTreeVisitor- Throws:
TestRunException
-
postVisitScenario
- Specified by:
postVisitScenarioin interfaceParseTreeVisitor- Throws:
TestRunException
-
postVisitStepList
- Specified by:
postVisitStepListin interfaceParseTreeVisitor- Throws:
TestRunException
-
postVisitFeatureStart
- Specified by:
postVisitFeatureStartin interfaceParseTreeVisitor- Throws:
TestRunException
-
postVisitDataTable
- Specified by:
postVisitDataTablein interfaceParseTreeVisitor- Throws:
TestRunException
-
postVisitDataTableHeader
- Specified by:
postVisitDataTableHeaderin interfaceParseTreeVisitor- Throws:
TestRunException
-
postVisitDataTableLineList
- Specified by:
postVisitDataTableLineListin interfaceParseTreeVisitor- Throws:
TestRunException
-
postVisitScenarioOutline
- Specified by:
postVisitScenarioOutlinein interfaceParseTreeVisitor- Throws:
TestRunException
-
postVisitEndOfFile
- Specified by:
postVisitEndOfFilein interfaceParseTreeVisitor- Throws:
TestRunException
-
postVisitDataLine
- Specified by:
postVisitDataLinein interfaceParseTreeVisitor- Throws:
TestRunException
-
postVisitScenarioStart
- Specified by:
postVisitScenarioStartin interfaceParseTreeVisitor- Throws:
TestRunException
-
postVisitStep
- Specified by:
postVisitStepin interfaceParseTreeVisitor- Throws:
TestRunException
-
postVisitScenarioOutlineStart
- Specified by:
postVisitScenarioOutlineStartin interfaceParseTreeVisitor- Throws:
TestRunException
-
postVisitExamplesStart
- Specified by:
postVisitExamplesStartin interfaceParseTreeVisitor- Throws:
TestRunException
-
preVisitFeature
- Specified by:
preVisitFeaturein interfaceParseTreeVisitor- Throws:
TestRunException
-
preVisitScenarioPartList
- Specified by:
preVisitScenarioPartListin interfaceParseTreeVisitor- Throws:
TestRunException
-
preVisitScenarioPart
- Specified by:
preVisitScenarioPartin interfaceParseTreeVisitor- Throws:
TestRunException
-
preVisitScenario
- Specified by:
preVisitScenarioin interfaceParseTreeVisitor- Throws:
TestRunException
-
preVisitStepList
- Specified by:
preVisitStepListin interfaceParseTreeVisitor- Throws:
TestRunException
-
preVisitFeatureStart
- Specified by:
preVisitFeatureStartin interfaceParseTreeVisitor- Throws:
TestRunException
-
preVisitDataTable
- Specified by:
preVisitDataTablein interfaceParseTreeVisitor- Throws:
TestRunException
-
preVisitDataTableHeader
- Specified by:
preVisitDataTableHeaderin interfaceParseTreeVisitor- Throws:
TestRunException
-
preVisitDataTableLineList
- Specified by:
preVisitDataTableLineListin interfaceParseTreeVisitor- Throws:
TestRunException
-
preVisitScenarioOutline
- Specified by:
preVisitScenarioOutlinein interfaceParseTreeVisitor- Throws:
TestRunException
-
preVisitEndOfFile
- Specified by:
preVisitEndOfFilein interfaceParseTreeVisitor- Throws:
TestRunException
-
preVisitDataLine
- Specified by:
preVisitDataLinein interfaceParseTreeVisitor- Throws:
TestRunException
-
preVisitScenarioStart
- Specified by:
preVisitScenarioStartin interfaceParseTreeVisitor- Throws:
TestRunException
-
preVisitStep
- Specified by:
preVisitStepin interfaceParseTreeVisitor- Throws:
TestRunException
-
preVisitScenarioOutlineStart
- Specified by:
preVisitScenarioOutlineStartin interfaceParseTreeVisitor- Throws:
TestRunException
-
preVisitExamplesStart
- Specified by:
preVisitExamplesStartin interfaceParseTreeVisitor- Throws:
TestRunException
-