class Cucumber::Core::Ast::OutlineStep

def children

def children
  # TODO remove duplication with Step
  # TODO spec
  [@multiline_arg]
end

def description_for_visitors

def description_for_visitors
  :outline_step
end

def initialize(language, location, comments, keyword, text, multiline_arg)

def initialize(language, location, comments, keyword, text, multiline_arg)
  @language, @location, @comments, @keyword, @text, @multiline_arg = language, location, comments, keyword, text, multiline_arg
end

def inspect

def inspect
  keyword_and_text = [keyword, text].join(": ")
  %{#<#{self.class} "#{keyword_and_text}" (#{location})>}
end

def replace_multiline_arg(example_row)

def replace_multiline_arg(example_row)
  return unless multiline_arg
  multiline_arg.map { |cell| example_row.expand(cell) }
end

def to_s

def to_s
  text
end

def to_step(row)

def to_step(row)
  Ast::ExpandedOutlineStep.new(self, language, row.location, comments, keyword, row.expand(text), replace_multiline_arg(row))
end