Class PickleCompiler

java.lang.Object
io.cucumber.gherkin.PickleCompiler

final class PickleCompiler extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) List<io.cucumber.messages.types.Pickle>
    compile(io.cucumber.messages.types.GherkinDocument gherkinDocument, String uri)
     
    private void
    compileFeature(List<io.cucumber.messages.types.Pickle> pickles, io.cucumber.messages.types.Feature feature, String language, String uri)
     
    private List<io.cucumber.messages.types.PickleStep>
    compilePickleSteps(List<io.cucumber.messages.types.Step> backgroundSteps, List<io.cucumber.messages.types.Step> scenarioSteps, List<io.cucumber.messages.types.TableCell> variableCells, @Nullable io.cucumber.messages.types.TableRow valuesRow)
     
    private void
    compileRule(List<io.cucumber.messages.types.Pickle> pickles, io.cucumber.messages.types.Rule rule, List<io.cucumber.messages.types.Tag> parentTags, List<io.cucumber.messages.types.Step> featureBackgroundSteps, String language, String uri)
     
    private void
    compileScenario(List<io.cucumber.messages.types.Pickle> pickles, io.cucumber.messages.types.Scenario scenario, List<io.cucumber.messages.types.Tag> parentTags, List<io.cucumber.messages.types.Step> backgroundSteps, String language, String uri)
     
    private void
    compileScenarioOutline(List<io.cucumber.messages.types.Pickle> pickles, io.cucumber.messages.types.Scenario scenario, List<io.cucumber.messages.types.Tag> parentTags, List<io.cucumber.messages.types.Step> backgroundSteps, String language, String uri)
     
    private List<io.cucumber.messages.types.Tag>
    compileTags(List<io.cucumber.messages.types.Tag> parentTags, List<io.cucumber.messages.types.Tag> scenarioTags)
     
    private String
    interpolate(String name, List<io.cucumber.messages.types.TableCell> variableCells, List<io.cucumber.messages.types.TableCell> valueCells)
     
    private io.cucumber.messages.types.PickleStep
    pickleBackgroundStep(io.cucumber.messages.types.Step step, io.cucumber.messages.types.StepKeywordType keywordType)
     
    private io.cucumber.messages.types.PickleTable
    pickleDataTable(@Nullable Integer argumentIndex, io.cucumber.messages.types.DataTable dataTable, List<io.cucumber.messages.types.TableCell> variableCells, List<io.cucumber.messages.types.TableCell> valueCells)
     
    private io.cucumber.messages.types.PickleDocString
    pickleDocString(@Nullable Integer argumentIndex, io.cucumber.messages.types.DocString docString, List<io.cucumber.messages.types.TableCell> variableCells, List<io.cucumber.messages.types.TableCell> valueCells)
     
    private io.cucumber.messages.types.PickleStep
    pickleStep(io.cucumber.messages.types.Step step, List<io.cucumber.messages.types.TableCell> variableCells, @Nullable io.cucumber.messages.types.TableRow valuesRow, io.cucumber.messages.types.StepKeywordType keywordType)
     
    private @Nullable io.cucumber.messages.types.PickleStepArgument
    pickleStepArgument(io.cucumber.messages.types.Step step, List<io.cucumber.messages.types.TableCell> variableCells, List<io.cucumber.messages.types.TableCell> valueCells)
     
    private static io.cucumber.messages.types.PickleStepType
    pickleStepType(io.cucumber.messages.types.StepKeywordType keywordType)
     
    private io.cucumber.messages.types.PickleTag
    pickleTag(io.cucumber.messages.types.Tag tag)
     
    private List<io.cucumber.messages.types.PickleTag>
    pickleTags(List<io.cucumber.messages.types.Tag> tags)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • compile

      List<io.cucumber.messages.types.Pickle> compile(io.cucumber.messages.types.GherkinDocument gherkinDocument, String uri)
    • compileFeature

      private void compileFeature(List<io.cucumber.messages.types.Pickle> pickles, io.cucumber.messages.types.Feature feature, String language, String uri)
    • compileRule

      private void compileRule(List<io.cucumber.messages.types.Pickle> pickles, io.cucumber.messages.types.Rule rule, List<io.cucumber.messages.types.Tag> parentTags, List<io.cucumber.messages.types.Step> featureBackgroundSteps, String language, String uri)
    • compileScenario

      private void compileScenario(List<io.cucumber.messages.types.Pickle> pickles, io.cucumber.messages.types.Scenario scenario, List<io.cucumber.messages.types.Tag> parentTags, List<io.cucumber.messages.types.Step> backgroundSteps, String language, String uri)
    • compileTags

      private List<io.cucumber.messages.types.Tag> compileTags(List<io.cucumber.messages.types.Tag> parentTags, List<io.cucumber.messages.types.Tag> scenarioTags)
    • compilePickleSteps

      private List<io.cucumber.messages.types.PickleStep> compilePickleSteps(List<io.cucumber.messages.types.Step> backgroundSteps, List<io.cucumber.messages.types.Step> scenarioSteps, List<io.cucumber.messages.types.TableCell> variableCells, @Nullable io.cucumber.messages.types.TableRow valuesRow)
    • compileScenarioOutline

      private void compileScenarioOutline(List<io.cucumber.messages.types.Pickle> pickles, io.cucumber.messages.types.Scenario scenario, List<io.cucumber.messages.types.Tag> parentTags, List<io.cucumber.messages.types.Step> backgroundSteps, String language, String uri)
    • pickleDataTable

      private io.cucumber.messages.types.PickleTable pickleDataTable(@Nullable Integer argumentIndex, io.cucumber.messages.types.DataTable dataTable, List<io.cucumber.messages.types.TableCell> variableCells, List<io.cucumber.messages.types.TableCell> valueCells)
    • pickleDocString

      private io.cucumber.messages.types.PickleDocString pickleDocString(@Nullable Integer argumentIndex, io.cucumber.messages.types.DocString docString, List<io.cucumber.messages.types.TableCell> variableCells, List<io.cucumber.messages.types.TableCell> valueCells)
    • pickleStep

      private io.cucumber.messages.types.PickleStep pickleStep(io.cucumber.messages.types.Step step, List<io.cucumber.messages.types.TableCell> variableCells, @Nullable io.cucumber.messages.types.TableRow valuesRow, io.cucumber.messages.types.StepKeywordType keywordType)
    • pickleStepArgument

      private @Nullable io.cucumber.messages.types.PickleStepArgument pickleStepArgument(io.cucumber.messages.types.Step step, List<io.cucumber.messages.types.TableCell> variableCells, List<io.cucumber.messages.types.TableCell> valueCells)
    • pickleStepType

      private static io.cucumber.messages.types.PickleStepType pickleStepType(io.cucumber.messages.types.StepKeywordType keywordType)
    • pickleBackgroundStep

      private io.cucumber.messages.types.PickleStep pickleBackgroundStep(io.cucumber.messages.types.Step step, io.cucumber.messages.types.StepKeywordType keywordType)
    • interpolate

      private String interpolate(String name, List<io.cucumber.messages.types.TableCell> variableCells, List<io.cucumber.messages.types.TableCell> valueCells)
    • pickleTags

      private List<io.cucumber.messages.types.PickleTag> pickleTags(List<io.cucumber.messages.types.Tag> tags)
    • pickleTag

      private io.cucumber.messages.types.PickleTag pickleTag(io.cucumber.messages.types.Tag tag)