Class ParseTreeTransform
java.lang.Object
dev.galasa.framework.spi.language.gherkin.xform.ParseTreeVisitorBase
dev.galasa.framework.spi.language.gherkin.xform.ParseTreeTransform
- All Implemented Interfaces:
ParseTreeVisitor
Visits a parse tree, and populates the meaning into a test structure.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
postVisitScenario
(ParseToken token) void
void
visit
(ParseToken token) void
visitDataTableHeader
(ParseToken token) void
visitDataTableLineList
(ParseToken token) void
visitFeature
(ParseToken token) void
visitScenario
(ParseToken token) void
visitScenarioOutline
(ParseToken token) void
visitStep
(ParseToken token) Methods inherited from class dev.galasa.framework.spi.language.gherkin.xform.ParseTreeVisitorBase
postVisit, postVisitDataLine, postVisitDataTable, postVisitDataTableHeader, postVisitDataTableLineList, postVisitEndOfFile, postVisitExamplesStart, postVisitFeature, postVisitFeatureStart, postVisitScenarioOutlineStart, postVisitScenarioPart, postVisitScenarioPartList, postVisitScenarioStart, postVisitStep, postVisitStepList, preVisit, preVisitDataLine, preVisitDataTable, preVisitDataTableHeader, preVisitDataTableLineList, preVisitEndOfFile, preVisitExamplesStart, preVisitFeature, preVisitFeatureStart, preVisitScenario, preVisitScenarioOutline, preVisitScenarioOutlineStart, preVisitScenarioPart, preVisitScenarioPartList, preVisitScenarioStart, preVisitStep, preVisitStepList, visitDataLine, visitDataTable, visitEndOfFile, visitExamplesStart, visitFeatureStart, visitScenarioOutlineStart, visitScenarioPart, visitScenarioPartList, visitScenarioStart, visitStepList
-
Constructor Details
-
ParseTreeTransform
public ParseTreeTransform()
-
-
Method Details
-
getFeature
-
visit
- Specified by:
visit
in interfaceParseTreeVisitor
- Overrides:
visit
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitFeature
- Specified by:
visitFeature
in interfaceParseTreeVisitor
- Overrides:
visitFeature
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitScenario
- Specified by:
visitScenario
in interfaceParseTreeVisitor
- Overrides:
visitScenario
in classParseTreeVisitorBase
- Throws:
TestRunException
-
postVisitScenario
- Specified by:
postVisitScenario
in interfaceParseTreeVisitor
- Overrides:
postVisitScenario
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitScenarioOutline
- Specified by:
visitScenarioOutline
in interfaceParseTreeVisitor
- Overrides:
visitScenarioOutline
in classParseTreeVisitorBase
- Throws:
TestRunException
-
postVisitScenarioOutline
- Specified by:
postVisitScenarioOutline
in interfaceParseTreeVisitor
- Overrides:
postVisitScenarioOutline
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitStep
- Specified by:
visitStep
in interfaceParseTreeVisitor
- Overrides:
visitStep
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitDataTableHeader
- Specified by:
visitDataTableHeader
in interfaceParseTreeVisitor
- Overrides:
visitDataTableHeader
in classParseTreeVisitorBase
- Throws:
TestRunException
-
visitDataTableLineList
- Specified by:
visitDataTableLineList
in interfaceParseTreeVisitor
- Overrides:
visitDataTableLineList
in classParseTreeVisitorBase
- Throws:
TestRunException
-