class Sass::Tree::Visitors::Perform

def visit_root(node)

Sets the options on the environment if this is the top-level root.
def visit_root(node)
  yield
rescue Sass::SyntaxError => e
  e.sass_template ||= node.template
  raise e
end