Class GherkinParser.InstructionContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- net.sourceforge.pmd.lang.gherkin.ast.GherkinParser.InstructionContext
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTree,org.antlr.v4.runtime.tree.RuleNode,org.antlr.v4.runtime.tree.SyntaxTree,org.antlr.v4.runtime.tree.Tree
- Enclosing class:
- GherkinParser
public static class GherkinParser.InstructionContext extends org.antlr.v4.runtime.ParserRuleContext
-
-
Constructor Summary
Constructors Constructor Description InstructionContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)List<GherkinParser.DescriptionContext>description()GherkinParser.DescriptionContextdescription(int i)voidenterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)voidexitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)intgetRuleIndex()GherkinParser.InstructionDescriptionContextinstructionDescription()List<org.antlr.v4.runtime.tree.TerminalNode>NL()org.antlr.v4.runtime.tree.TerminalNodeNL(int i)GherkinParser.RulexContextrulex()List<GherkinParser.StepContext>step()GherkinParser.StepContextstep(int i)List<GherkinParser.StepDescriptionContext>stepDescription()GherkinParser.StepDescriptionContextstepDescription(int i)GherkinParser.StepInstructionContextstepInstruction()GherkinParser.TaglineContexttagline()-
Methods inherited from class org.antlr.v4.runtime.ParserRuleContext
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
-
-
-
-
Method Detail
-
rulex
public GherkinParser.RulexContext rulex()
-
description
public List<GherkinParser.DescriptionContext> description()
-
description
public GherkinParser.DescriptionContext description(int i)
-
stepInstruction
public GherkinParser.StepInstructionContext stepInstruction()
-
stepDescription
public List<GherkinParser.StepDescriptionContext> stepDescription()
-
stepDescription
public GherkinParser.StepDescriptionContext stepDescription(int i)
-
step
public List<GherkinParser.StepContext> step()
-
step
public GherkinParser.StepContext step(int i)
-
NL
public List<org.antlr.v4.runtime.tree.TerminalNode> NL()
-
NL
public org.antlr.v4.runtime.tree.TerminalNode NL(int i)
-
tagline
public GherkinParser.TaglineContext tagline()
-
instructionDescription
public GherkinParser.InstructionDescriptionContext instructionDescription()
-
getRuleIndex
public int getRuleIndex()
- Overrides:
getRuleIndexin classorg.antlr.v4.runtime.RuleContext
-
enterRule
public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
enterRulein classorg.antlr.v4.runtime.ParserRuleContext
-
exitRule
public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
exitRulein classorg.antlr.v4.runtime.ParserRuleContext
-
accept
public <T> T accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)
- Specified by:
acceptin interfaceorg.antlr.v4.runtime.tree.ParseTree- Overrides:
acceptin classorg.antlr.v4.runtime.RuleContext
-
-