lib/sass/tree/visitors/perform.rb
# Runs SassScript interpolation in the selector,
# and then parses the result into a {Sass::Selector::CommaSequence}.
Runs SassScript interpolation in the selector,
and then parses the result into a {Sass::Selector::CommaSequence}.
Runs SassScript interpolation in the selector and then parses the result into a { Sass :: Selector :: CommaSequence } .
def visit_rule(node)
    parser = Sass::SCSS::StaticParser.new(run_interp(node.rule), node.filename, node.line)
    node.parsed_rules ||= parser.parse_selector
    if node.options[:trace_selectors]
      @stack.push(:filename => node.filename, :line => node.line)
      node.stack_trace = stack_trace
      @stack.pop
    end
    yield
  end
def visit_rule ( node ) parser = Sass :: SCSS :: StaticParser . new ( run_interp ( node . rule ) , node . filename , node . line ) node . parsed_rules ||= parser . parse_selector if node . options [ :trace_selectors ] @stack . push ( :filename => node . filename , :line => node . line ) node . stack_trace = stack_trace @stack . pop end yield end
Runs SassScript interpolation in the selector,
and then parses the result into a {Sass::Selector::CommaSequence}.
Runs SassScript interpolation in the selector and then parses the result into a { Sass :: Selector :: CommaSequence } .
node