class Sass::Engine

def _to_tree

def _to_tree
  check_encoding!
  if @options[:syntax] == :scss
    root = Sass::SCSS::Parser.new(@template).parse
  else
    root = Tree::RootNode.new(@template)
    append_children(root, tree(tabulate(@template)).first, true)
  end
  root.options = @options
  root
rescue SyntaxError => e
  e.modify_backtrace(:filename => @options[:filename], :line => @line)
  e.sass_template = @template
  raise e
end