class Cucumber::Ast::Comment

:nodoc:
This gets parsed into a Comment with value "# Lorem ipsum\n# dolor sit amet\n"
# dolor sit amet
# Lorem ipsum
Holds the value of a comment parsed from a feature file:

def accept(visitor)

def accept(visitor)
  return if Cucumber.wants_to_quit
  @value.strip.split("\n").each do |line|
    visitor.visit_comment_line(line.strip)
  end
end

def empty?

def empty?
  @value.nil? || @value == ""
end

def initialize(value)

:nodoc:

This gets parsed into a Comment with value "# Lorem ipsum\n# dolor sit amet\n"

# dolor sit amet
# Lorem ipsum

Holds the value of a comment parsed from a feature file:
def initialize(value)
  @value = value
end

def to_sexp

def to_sexp
  (@value.nil? || @value == '') ? nil : [:comment, @value]
end