class Sass::Tree::ImportNode

def perform!(environment)

Parameters:
  • environment (Sass::Environment) -- The lexical environment containing
def perform!(environment)
  environment.push_frame(:filename => @filename, :line => @line)
  options = @options.dup
  options.delete(:syntax)
  root = Sass::Files.tree_for(full_filename, options)
  @template = root.template
  self.children = root.children
  self.children = perform_children(environment)
rescue Sass::SyntaxError => e
  e.modify_backtrace(:filename => full_filename)
  e.add_backtrace(:filename => @filename, :line => @line)
  raise e
ensure
  environment.pop_frame
end