class Haml::Compiler::DoctypeCompiler

def compile(node)

def compile(node)
  case node.value[:type]
  when 'xml'
    xml_doctype
  when ''
    html_doctype(node)
  else
    [:html, :doctype, node.value[:type]]
  end
end