class Sass::Tree::TraceNode

@see Sass::Tree
Its sole purpose is to wrap exceptions to add to the backtrace.
A solely static node left over after a mixin include or @content has been performed.

def self.from_node(name, node)

Returns:
  • (TraceNode) -

Parameters:
  • node (Node) -- The node to copy information from.
  • name (String) -- The name of the trace entry to add.
def self.from_node(name, node)
  trace = new(name)
  trace.line = node.line
  trace.filename = node.filename
  trace.options = node.options
  trace
end

def initialize(name)

Parameters:
  • name (String) -- The name of the trace entry to add.
def initialize(name)
  @name = name
  self.has_children = true
  super()
end