Sha256: 6dc643dc83330b5adbe9def1c5e47a9155321b2a09c8670fa359330bcc8bf310

Contents?: true

Size: 366 Bytes

Versions: 8

Compression:

Stored size: 366 Bytes

Contents

class SCSSBeautifier::Formatters::QualifyingElement < SCSSBeautifier::Formatters::Base
  def visit_rule(node)
    check_qualifying_element(node)
    visit_children(node)
  end

  def check_qualifying_element(node)
    node.rule.each do |r|
      # What do we do when something breaks this rule?
    end

    node.send(:try_to_parse_non_interpolated_rules)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
scss_beautifier-0.1.19 lib/scss_beautifier/formatters/qualifying_element.rb
scss_beautifier-0.1.18 lib/scss_beautifier/formatters/qualifying_element.rb
scss_beautifier-0.1.17 lib/scss_beautifier/formatters/qualifying_element.rb
scss_beautifier-0.1.16 lib/scss_beautifier/formatters/qualifying_element.rb
scss_beautifier-0.1.15 lib/scss_beautifier/formatters/qualifying_element.rb
scss_beautifier-0.1.14 lib/scss_beautifier/formatters/qualifying_element.rb
scss_beautifier-0.1.13 lib/scss_beautifier/formatters/qualifying_element.rb
scss_beautifier-0.1.12 lib/scss_beautifier/formatters/qualifying_element.rb