class Asciidoctor::Extensions::Processor

def create_list parent, context, attrs = nil

Returns a [List] node with all properties properly initialized.

attrs - A Hash of attributes to set on this list block
context - The list context (e.g., :ulist, :olist, :colist, :dlist)
parent - The parent Block (Block, Section, or Document) of this new list block.

Public: Creates a list node and links it to the specified parent.
def create_list parent, context, attrs = nil
  list = List.new parent, context
  list.update_attributes attrs if attrs
  list
end