Class ParseTreeNavigator
java.lang.Object
dev.galasa.framework.spi.language.gherkin.xform.ParseTreeVisitorBase
dev.galasa.framework.spi.language.gherkin.xform.ParseTreeNavigator
- All Implemented Interfaces:
ParseTreeVisitor
Give this parse tree navigator a sub-visitor, and it will handle the visiting of all children
for all types of things for you, and call teh sub-visitor pre- during- and post- encountering
a node in the parse tree, as it navigates around.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
postVisit
(ParseToken token) void
preVisit
(ParseToken token) void
visit
(ParseToken token) 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) Methods inherited from class dev.galasa.framework.spi.language.gherkin.xform.ParseTreeVisitorBase
postVisitDataLine, postVisitDataTable, postVisitDataTableHeader, postVisitDataTableLineList, postVisitEndOfFile, postVisitExamplesStart, postVisitFeature, postVisitFeatureStart, postVisitScenario, postVisitScenarioOutline, postVisitScenarioOutlineStart, postVisitScenarioPart, postVisitScenarioPartList, postVisitScenarioStart, postVisitStep, postVisitStepList, preVisitDataLine, preVisitDataTable, preVisitDataTableHeader, preVisitDataTableLineList, preVisitEndOfFile, preVisitExamplesStart, preVisitFeature, preVisitFeatureStart, preVisitScenario, preVisitScenarioOutline, preVisitScenarioOutlineStart, preVisitScenarioPart, preVisitScenarioPartList, preVisitScenarioStart, preVisitStep, preVisitStepList
-
Constructor Details
-
ParseTreeNavigator
-
-
Method Details
-
postVisit
- Specified by:
postVisit
in interfaceParseTreeVisitor
- Overrides:
postVisit
in classParseTreeVisitorBase
- Throws:
TestRunException
-
preVisit
- Specified by:
preVisit
in interfaceParseTreeVisitor
- Overrides:
preVisit
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visit
- Specified by:
visit
in interfaceParseTreeVisitor
- Overrides:
visit
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitScenarioStart
- Specified by:
visitScenarioStart
in interfaceParseTreeVisitor
- Overrides:
visitScenarioStart
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitScenarioOutlineStart
- Specified by:
visitScenarioOutlineStart
in interfaceParseTreeVisitor
- Overrides:
visitScenarioOutlineStart
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitExamplesStart
- Specified by:
visitExamplesStart
in interfaceParseTreeVisitor
- Overrides:
visitExamplesStart
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitStep
- Specified by:
visitStep
in interfaceParseTreeVisitor
- Overrides:
visitStep
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitDataTable
- Specified by:
visitDataTable
in interfaceParseTreeVisitor
- Overrides:
visitDataTable
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitDataLine
- Specified by:
visitDataLine
in interfaceParseTreeVisitor
- Overrides:
visitDataLine
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitEndOfFile
- Specified by:
visitEndOfFile
in interfaceParseTreeVisitor
- Overrides:
visitEndOfFile
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitScenarioOutline
- Specified by:
visitScenarioOutline
in interfaceParseTreeVisitor
- Overrides:
visitScenarioOutline
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitDataTableLineList
- Specified by:
visitDataTableLineList
in interfaceParseTreeVisitor
- Overrides:
visitDataTableLineList
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitDataTableHeader
- Specified by:
visitDataTableHeader
in interfaceParseTreeVisitor
- Overrides:
visitDataTableHeader
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitFeatureStart
- Specified by:
visitFeatureStart
in interfaceParseTreeVisitor
- Overrides:
visitFeatureStart
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitFeature
- Specified by:
visitFeature
in interfaceParseTreeVisitor
- Overrides:
visitFeature
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitScenarioPartList
- Specified by:
visitScenarioPartList
in interfaceParseTreeVisitor
- Overrides:
visitScenarioPartList
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitScenarioPart
- Specified by:
visitScenarioPart
in interfaceParseTreeVisitor
- Overrides:
visitScenarioPart
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitScenario
- Specified by:
visitScenario
in interfaceParseTreeVisitor
- Overrides:
visitScenario
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitStepList
- Specified by:
visitStepList
in interfaceParseTreeVisitor
- Overrides:
visitStepList
in classParseTreeVisitorBase
- Throws:
TestRunException
-