class Haml::AttributeCompiler

def compile(node)

def compile(node)
  hashes = []
  if node.value[:object_ref] != :nil || !AttributeParser.available?
    return runtime_compile(node)
  end
  [node.value[:dynamic_attributes].new, node.value[:dynamic_attributes].old].compact.each do |attribute_str|
    hash = AttributeParser.parse(attribute_str)
    return runtime_compile(node) unless hash
    hashes << hash
  end
  static_compile(node.value[:attributes], hashes)
end