class RDoc::Markdown

def _ListBlock

ListBlock = !@BlankLine Line:a ListBlockLine*:c { [a, *c] }
def _ListBlock
  _save = self.pos
  while true # sequence
    _save1 = self.pos
    _tmp = _BlankLine()
    _tmp = _tmp ? nil : true
    self.pos = _save1
    unless _tmp
      self.pos = _save
      break
    end
    _tmp = apply(:_Line)
    a = @result
    unless _tmp
      self.pos = _save
      break
    end
    _ary = []
    while true
      _tmp = apply(:_ListBlockLine)
      _ary << @result if _tmp
      break unless _tmp
    end
    _tmp = true
    @result = _ary
    c = @result
    unless _tmp
      self.pos = _save
      break
    end
    @result = begin;  [a, *c] ; end
    _tmp = true
    unless _tmp
      self.pos = _save
    end
    break
  end # end sequence
  set_failed_rule :_ListBlock unless _tmp
  return _tmp
end