class Haml::Compiler::ScriptCompiler

def static_compile(node)

def static_compile(node)
  str = eval(node.value[:text]).to_s
  if node.value[:escape_html]
    str = Haml::Util.escape_html(str)
  elsif node.value[:preserve]
    str = ScriptCompiler.find_and_preserve(str, %w(textarea pre code))
  end
  [:multi, [:static, str], [:newline]]
end