lib/sass/tree/visitors/perform.rb
def visit_debug(node)
    res = node.expr.perform(@environment)
    res = res.value if res.is_a?(Sass::Script::String)
    if node.filename
      $stderr.puts "#{node.filename}:#{node.line} DEBUG: #{res}"
    else
      $stderr.puts "Line #{node.line} DEBUG: #{res}"
    end
    []
  end
# Prints the expression to STDERR.
Prints the expression to STDERR.
Prints the expression to STDERR .
def visit_debug(node)
    res = node.expr.perform(@environment)
    res = res.value if res.is_a?(Sass::Script::String)
    if node.filename
      $stderr.puts "#{node.filename}:#{node.line} DEBUG: #{res}"
    else
      $stderr.puts "Line #{node.line} DEBUG: #{res}"
    end
    []
  end
def visit_debug ( node ) res = node . expr . perform ( @environment ) res = res . value if res . is_a? ( Sass :: Script :: String ) if node . filename $stderr . puts "#{node.filename}:#{node.line} DEBUG: #{res}" else $stderr . puts "Line #{node.line} DEBUG: #{res}" end [ ] end
Prints the expression to STDERR.
Prints the expression to STDERR .
node