Package com.intuit.karate.core
Class FeatureParser
java.lang.Object
com.intuit.karate.core.KarateParserBaseListener
com.intuit.karate.core.FeatureParser
- All Implemented Interfaces:
KarateParserListener
,org.antlr.v4.runtime.tree.ParseTreeListener
- Author:
- pthomas3
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Enter a parse tree produced byKarateParser.background()
.void
Enter a parse tree produced byKarateParser.featureHeader()
.void
Enter a parse tree produced byKarateParser.scenario()
.void
Enter a parse tree produced byKarateParser.scenarioOutline()
.protected static void
Methods inherited from class com.intuit.karate.core.KarateParserBaseListener
enterDocString, enterEveryRule, enterExampleDescription, enterExamples, enterFeature, enterFeatureDescription, enterFeatureTags, enterLine, enterPrefix, enterScenarioDescription, enterStep, enterTable, enterTags, exitBackground, exitDocString, exitEveryRule, exitExampleDescription, exitExamples, exitFeature, exitFeatureDescription, exitFeatureHeader, exitFeatureTags, exitLine, exitPrefix, exitScenario, exitScenarioDescription, exitScenarioOutline, exitStep, exitTable, exitTags, visitErrorNode, visitTerminal
-
Field Details
-
TRIPLE_QUOTES
- See Also:
-
-
Method Details
-
parse
-
enterFeatureHeader
Description copied from class:KarateParserBaseListener
Enter a parse tree produced byKarateParser.featureHeader()
.The default implementation does nothing.
- Specified by:
enterFeatureHeader
in interfaceKarateParserListener
- Overrides:
enterFeatureHeader
in classKarateParserBaseListener
- Parameters:
ctx
- the parse tree
-
enterBackground
Description copied from class:KarateParserBaseListener
Enter a parse tree produced byKarateParser.background()
.The default implementation does nothing.
- Specified by:
enterBackground
in interfaceKarateParserListener
- Overrides:
enterBackground
in classKarateParserBaseListener
- Parameters:
ctx
- the parse tree
-
enterScenario
Description copied from class:KarateParserBaseListener
Enter a parse tree produced byKarateParser.scenario()
.The default implementation does nothing.
- Specified by:
enterScenario
in interfaceKarateParserListener
- Overrides:
enterScenario
in classKarateParserBaseListener
- Parameters:
ctx
- the parse tree
-
enterScenarioOutline
Description copied from class:KarateParserBaseListener
Enter a parse tree produced byKarateParser.scenarioOutline()
.The default implementation does nothing.
- Specified by:
enterScenarioOutline
in interfaceKarateParserListener
- Overrides:
enterScenarioOutline
in classKarateParserBaseListener
- Parameters:
ctx
- the parse tree
-